/* Shared interaction, accessibility and dialog infrastructure.
   The scoped editorial composition at the end owns the public page's visual design. */
/* Hide only the page scrollbar, not scrolling or nested gallery/dialog rails. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
[hidden] { display: none !important; }
body { min-width: 0; }
.services-layout > *, .service-item > *, .hero-meta > * { min-width: 0; }
.service-preview { margin: 0; overflow: hidden; } /* Contain the service photo's frame reveal. */
.portfolio-word { color: var(--ink); mix-blend-mode: normal; }
.portfolio-head { position: static; top: auto; z-index: auto; padding: clamp(64px, 6vw, 96px) 24px 0; }
.portfolio-word { line-height: 1.05; max-width: 100%; } /* Reserve room for Vietnamese accents as well as the glyph body. */
.portfolio-copy { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.portfolio-copy > * { min-width: 0; }
.portfolio-copy .section-heading { line-height: 1.05; }
.service-item strong { overflow-wrap: anywhere; }
section[id] { scroll-margin-top: 72px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; margin-top: clamp(32px, 3vw, 48px); margin-bottom: 40px; }
.gallery-filters button { background: white; border: 1px solid #c2c2c2; padding: 10px 20px; min-height: 44px; cursor: pointer; transition: background .2s,color .2s; }
.gallery-filters button[aria-pressed="true"] { background: #131313; color: white; border-color: #131313; }
.project-grid.is-filtered { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: none; gap: 32px; }
.project-grid.is-filtered .project-card { grid-column: auto; grid-row: auto; height: auto; }
.project-grid.is-filtered .project-media { height: auto; aspect-ratio: 4/5; }
.project-grid.dynamic-gallery:not(.is-filtered) { grid-template-rows: none; align-items: start; }
.project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(n) { grid-column: span 6; grid-row: auto; height: auto; }
.project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(4n+1),.project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(4n+4) { grid-column: span 7; }
.project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(4n+2),.project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(4n+3) { grid-column: span 5; }
.project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(even) { margin-top: 80px; }
.project-grid.dynamic-gallery:not(.is-filtered) .project-media { height: auto; aspect-ratio: 4/5; }
.project-grid.is-empty { display: block; }
.empty-gallery { grid-column: 1/-1; padding: 60px 0; font-size: 1.4rem; }
.project-meta { grid-template-columns: minmax(0,1fr) minmax(0,auto); overflow-wrap: anywhere; }
.project-meta span { max-width: 180px; text-align: right; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.image-error { background: #eaeaea; color: #131313; }
.preview-banner { background: #2453ff; color: white; padding: 12px 24px; position: fixed; bottom: 0; inset-inline: 0; z-index: 90; font: 14px Arial,sans-serif; display: flex; justify-content: space-between; gap: 16px; }
.hero-title { max-width: 100%; }
.brand,.footer-brand,.project-meta,.hero-summary { overflow-wrap: anywhere; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media(max-width:1024px) { .project-grid.dynamic-gallery:not(.is-filtered) { grid-template-columns: repeat(12,minmax(0,1fr)); } }
@media(max-width:760px) { .portfolio-copy { grid-template-columns: minmax(0, 1fr); } .portfolio-head { padding-inline: 16px; } .portfolio-word { font-size: clamp(2.5rem, 19vw, 9rem); } .project-grid.is-filtered { grid-template-columns: 1fr; } .project-grid.dynamic-gallery:not(.is-filtered) .project-card:nth-child(n) { grid-column: 1/-1; margin-top: 0; } .preview-banner { flex-direction: column; font-size: 12px; } }

/* Motion Lab vocabulary, adapted to real states rather than perpetual demos. */
:root { --motion-fast: 160ms; --motion-state: 320ms; --motion-enter: 560ms; }
.reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
.motion-letter { display: inline-block; font-style: normal; white-space: pre; }
.motion-curtain, .motion-split { position: absolute; inset: 0; display: flex; z-index: 5; pointer-events: none; overflow: hidden; }
.motion-curtain > i { flex: 1; background: var(--ink); }
.motion-split { flex-direction: column; }
.motion-split > i { flex: 1; background: var(--surface); }
.project-grid, .project-media { position: relative; }
.motion-pixels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); pointer-events: none; z-index: 2; }
.motion-pixels > i { background: var(--surface); }
[data-motion-pointer] { transition: transform var(--motion-state) var(--ease); }
.hero-stage .motion-halo { position: absolute; top: var(--focus-y); left: var(--focus-x); width: 80px; height: 80px; border: 1px solid white; border-radius: 50%; z-index: 4; pointer-events: none; }
[data-motion-loading]::after { content: ''; position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 12px; height: 10px; background: repeating-linear-gradient(90deg, #f4f4f0 0 2px, transparent 2px 5px); box-shadow: 0 0 0 6px rgb(21 22 22 / .25); animation: media-loading-pulse 900ms ease-in-out infinite alternate; pointer-events: none; }
.album-stage { position: relative; }
/* Image geometry stays in place while full pixels are decoded off screen. */
.media-enhanced img[data-media-image]:not([data-media-state="ready"]) { visibility: hidden; }
.media-frame { position: relative; overflow: hidden; }
.media-frame[data-media-state="pending"], .media-frame[data-media-state="error"] { background-color: #e7e8e2; }
.experience-poster.media-frame[data-media-state="pending"], .experience-poster.media-frame[data-media-state="error"] { background-color: #282b28; }
.media-preview { position: absolute; inset: 0; background-repeat: no-repeat; filter: blur(8px); transform: scale(1.04); opacity: 0; transition: opacity 240ms ease-out; pointer-events: none; }
.media-frame[data-media-preview="ready"] > .media-preview { opacity: 1; }
.media-frame[data-media-state="ready"] > .media-preview { opacity: 0; }
.media-status { position: absolute; z-index: 2; inset: auto 12px 12px; width: fit-content; max-width: calc(100% - 24px); margin: 0; padding: 6px 10px; background: #f2f3ee; color: #494d48; font: .6875rem/1.4 var(--mono, monospace); pointer-events: none; }
.media-frame[data-media-state="pending"] > .media-status { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.media-load-signal { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 3px; height: 20px; padding: 4px 6px; background: rgb(21 22 22 / .25); color: #f4f4f0; pointer-events: none; }
.media-load-signal > i { width: 2px; height: 10px; background: currentColor; animation: media-loading-pulse 900ms ease-in-out infinite alternate; }
.media-load-signal > i:nth-child(2) { animation-delay: 150ms; }
.media-load-signal > i:nth-child(3) { animation-delay: 300ms; }
@keyframes media-loading-pulse { from { transform: scaleY(.35); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
.media-frame[data-media-state="ready"] > .media-load-signal, .album-thumb .media-load-signal { display: none; }
.motion-page-hidden .media-load-signal > i, .motion-page-hidden [data-motion-loading]::after { animation-play-state: paused; }
.album-thumb .media-status { display: none; }
.media-status[hidden] { display: none; }
.motion-load-status { position: absolute; z-index: 3; inset: auto 12px 12px; width: fit-content; max-width: calc(100% - 24px); padding: 8px 12px; background: #f2f3ee; color: #151716; font: .75rem/1.4 var(--mono, monospace); }
.motion-load-status button { min-height: 44px; padding: 4px 10px; border: 0; background: transparent; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
.album-play { position: relative; min-width: 144px; overflow: hidden; isolation: isolate; }
.album-play .album-play-fill { display: block; position: absolute; inset: 0; background: currentColor; opacity: 0; transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.album-play[data-countdown] .album-play-fill { opacity: .22; }
.album-play > :is(svg, #album-play-label) { position: relative; z-index: 1; }
.motion-reduced .album-play-fill { display: none; }
@media (prefers-reduced-motion: reduce) { .album-play .album-play-fill { display: none; } }
.album-photo { grid-template-rows: minmax(0, 1fr); } /* Don't let the image's intrinsic height grow an implicit track. */
.motion-toggle { justify-self: start; padding: 8px 12px; min-height: 44px; color: var(--ink); background: transparent; border: 1px solid var(--grey-200); font: inherit; cursor: pointer; }
.motion-toggle:disabled { color: var(--grey-400); cursor: default; }
.motion-submit-wrap { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.motion-bars { display: inline-flex; visibility: hidden; order: -1; flex: none; gap: 3px; align-items: center; height: 24px; }
.motion-bars.is-busy { visibility: visible; }
.motion-bars > i { display: block; width: 3px; height: 18px; background: var(--blue); animation: motion-bar 650ms ease-in-out infinite alternate; }
.motion-bars > i:nth-child(2) { animation-delay: 80ms; }
.motion-bars > i:nth-child(3) { animation-delay: 160ms; }
.motion-bars > i:nth-child(4) { animation-delay: 240ms; }
.motion-bars > i:nth-child(5) { animation-delay: 320ms; }
.motion-signal { display: inline-block; white-space: pre; animation: motion-signal 900ms ease-in-out infinite alternate; animation-delay: calc(var(--letter) * 45ms); }
@media (max-width:480px) { .motion-submit-wrap { width: 100%; } .motion-submit-wrap .form-submit { flex: 1; min-width: 0; } }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 6px; inset-inline: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--motion-state) var(--ease); }
/* Hover vocabulary: ink inversion, directional arrows and restrained photo zoom.
   Animate children, not magnetic/tilt surfaces; no padding/size changes on hover. */
:is(.brand, .mobile-nav a, .footer-column a, .preview-banner a) {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size var(--motion-state) var(--ease), color var(--motion-fast) ease-out;
}
:is(.text-button, .icon-button, .menu-button, .dialog-button, .album-control, .form-submit, .motion-toggle, .gallery-filters button) {
  transition: background-color var(--motion-fast) ease-out, color var(--motion-fast) ease-out,
    border-color var(--motion-fast) ease-out, box-shadow var(--motion-fast) ease-out,
    transform var(--motion-state) var(--ease);
}
:is(.text-button, .icon-button, .dialog-button, .album-control, .testimonial-nav, .service-item) svg {
  transition: transform var(--motion-state) var(--ease);
}
#lightbox-prev, #album-prev, .testimonial-nav:first-child { --arrow-shift: -4px; }
.hero-meta .text-button { --arrow-shift: 0px; --arrow-drop: 4px; }
.service-item, .service-item[aria-pressed="true"] { padding-inline: 16px; }
.service-item { transition: background-color var(--motion-fast) ease-out, color var(--motion-fast) ease-out, border-color var(--motion-fast) ease-out; }
.service-item strong { transition: transform var(--motion-state) var(--ease); }
.project-media img { transition: transform 480ms var(--ease), filter 480ms var(--ease); }
.about-images img { transition: transform 400ms var(--ease); }
.testimonial-portrait img { transition: transform 400ms var(--ease); }
.testimonial-word { display: inline-block; animation: testimonial-wave 4.8s ease-in-out infinite; animation-delay: calc(var(--word) * 70ms); animation-play-state: paused; }
html:not(.motion-reduced):not(.motion-page-hidden) [data-testimonial]:not([hidden]) .testimonial-quote.is-loop-visible .testimonial-word { animation-play-state: running; }
@keyframes testimonial-wave {
  0%, 22%, 100% { transform: translateY(0); opacity: 1; }
  10% { transform: translateY(-3px); opacity: .8; }
}
.project-meta strong { transition: color var(--motion-fast) ease-out; }
.album-thumb { transition: opacity var(--motion-fast) ease-out, border-color var(--motion-fast) ease-out; }
.album-thumb img { transition: transform var(--motion-state) var(--ease); }
.testimonial-nav { transition: color var(--motion-fast) ease-out; }
.footer-note a { transition: color var(--motion-fast) ease-out; }
.field :is(input, textarea) { transition: border-color var(--motion-fast) ease-out, box-shadow var(--motion-fast) ease-out; }

/* Keyboard parity is independent of pointer capabilities. */
:is(.brand, .mobile-nav a, .footer-column a, .preview-banner a):focus-visible { background-size: 100% 1px; }
.desktop-nav a:focus-visible::after { transform: scaleX(1); }
:is(.text-button, .icon-button, .menu-button, .dialog-button, .album-control, .motion-toggle):not(:disabled):focus-visible { background: var(--ink); color: var(--white); border-color: var(--ink); }
.text-button.is-dark:focus-visible, .services .icon-button:focus-visible { background: var(--white); color: var(--ink); border-color: var(--white); }
.form-submit:not(:disabled):focus-visible { background: var(--blue); border-color: var(--blue); }
.gallery-filters button:not(:disabled):focus-visible { border-color: var(--blue); box-shadow: inset 0 -3px var(--blue); }
:is(.text-button, .icon-button, .dialog-button, .album-control, .testimonial-nav):not(:disabled):focus-visible svg { transform: translate(var(--arrow-shift, 4px), var(--arrow-drop, 0px)); }
.service-item:focus-visible { background: #ffffff0d; color: var(--white); border-color: #888; }
.service-item:focus-visible strong { transform: translateX(6px); }
.service-item:focus-visible svg { transform: translateX(3px) rotate(-30deg); }
.project-card:focus-visible img { transform: scale(1.045); }
.project-card:focus-visible .project-meta strong { color: var(--blue); }
.album-thumb:focus-visible { opacity: 1; border-color: var(--ink); }
.album-thumb:focus-visible img { transform: scale(1.09); }
.testimonial-nav:focus-visible { color: var(--ink); }
.footer-note a:focus-visible { color: var(--blue); }
.field :is(input, textarea):focus-visible { border-color: var(--blue); box-shadow: 0 1px var(--blue); }

@media (hover: hover) and (pointer: fine) {
  :is(.brand, .mobile-nav a, .footer-column a, .preview-banner a):hover { background-size: 100% 1px; }
  .desktop-nav a:hover::after { transform: scaleX(1); }
  :is(.text-button, .icon-button, .menu-button, .dialog-button, .album-control, .motion-toggle):not(:disabled):hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .text-button.is-dark:hover, .services .icon-button:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
  .form-submit:not(:disabled):hover { background: var(--blue); border-color: var(--blue); }
  .gallery-filters button:not(:disabled):hover { border-color: var(--blue); box-shadow: inset 0 -3px var(--blue); }
  :is(.text-button, .icon-button, .dialog-button, .album-control, .testimonial-nav):not(:disabled):hover svg { transform: translate(var(--arrow-shift, 4px), var(--arrow-drop, 0px)); }
  .service-item:hover { padding-inline: 16px; background: #ffffff0d; color: var(--white); border-color: #888; }
  .service-item:hover strong { transform: translateX(6px); }
  .service-item:hover svg { transform: translateX(3px) rotate(-30deg); }
  .project-card:hover img { transform: scale(1.045); }
  .about-images figure:hover img { transform: scale(1.055); }
  .testimonial-portrait:hover img { transform: scale(1.04); }
  .project-card:hover .project-meta strong { color: var(--blue); }
  .album-thumb:hover { opacity: 1; border-color: var(--ink); }
  .album-thumb:hover img { transform: scale(1.09); }
  .testimonial-nav:hover { color: var(--ink); }
  .footer-note a:hover { color: var(--blue); }
  .field :is(input, textarea):not(:disabled):not(:focus):hover { border-color: var(--ink); }
}
/* Pausing motion retains colour/outline feedback, without spatial movement. */
.motion-reduced :is(.text-button, .icon-button, .dialog-button, .album-control, .testimonial-nav, .service-item) svg,
.motion-reduced .service-item strong, .motion-reduced .project-card img, .motion-reduced .album-thumb img,
.motion-reduced .about-images img, .motion-reduced .testimonial-portrait img { transform: none !important; }
@keyframes motion-orbit { to { transform: rotate(360deg); } }
@keyframes motion-bar { from { transform: scaleY(.35); opacity: .5; } to { transform: scaleY(1); opacity: 1; } }
@keyframes motion-signal { from { opacity: .5; transform: translateY(1px); } to { opacity: 1; transform: translateY(-1px); } }
.motion-reduced *, .motion-reduced *::before, .motion-reduced *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.motion-reduced { scroll-behavior: auto !important; }
.motion-reduced .hero-image-base { filter: none; }
.motion-reduced .hero-image-focus,.motion-reduced .hero-focus-frame { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  :is(.text-button, .icon-button, .dialog-button, .album-control, .testimonial-nav, .service-item) svg,
  .service-item strong, .project-card img, .album-thumb img, .about-images img, .testimonial-portrait img { transform: none !important; }
}

/* Mobile composition, not a scaled-down desktop. Keep the template's content,
   anchors and motion, with deliberate type, controls and reading order. */
@media (max-width:768px) {
  .shell { width: calc(100% - 32px); }
  .section { padding-block: 64px; }
  .section-heading, .portfolio-copy .section-heading { font-size: clamp(2rem, 9.8vw, 2.75rem); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
  .section-intro, .testimonial-intro, .portfolio-copy p { font-size: 1rem; line-height: 1.65; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand { font-size: 1rem; }
  .menu-button { min-height: 48px; padding-inline: 16px; font-size: .75rem; letter-spacing: .04em; }
  .mobile-nav { padding: 4px 16px 16px; max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-nav a { min-height: 52px; font-size: 1rem; }
  .text-button { width: 100%; min-height: 48px; padding: 12px 16px; justify-content: space-between; font-size: .875rem; letter-spacing: -.02em; white-space: nowrap; }
  .hero { min-height: auto; grid-template-rows: auto auto auto; }
  .hero-meta { gap: 8px; font-size: .61rem; letter-spacing: .04em; padding-block: 12px; }
  .hero-stage { min-height: 0; height: clamp(250px, 44svh, 420px); padding: 0; cursor: auto; }
  .hero-stage::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 35%, #0008); pointer-events: none; }
  .hero-image-base { filter: none; }
  .hero-image-focus, .hero-focus-frame, .hero-stage .motion-halo { display: none !important; }
  .hero-title { inset: auto 20px 24px; width: auto; font-size: clamp(4.5rem, 25vw, 7rem); line-height: .9; gap: 8px; mix-blend-mode: normal; text-shadow: 0 2px 16px #0003; }
  .hero-bottom { gap: 20px; padding-block: 24px; }
  .hero-summary { font-size: .9375rem; line-height: 1.6; }
  .about-head { gap: 16px; }
  .about-copy { font-size: clamp(1.625rem, 7.8vw, 2rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: pretty; }
  .principles { gap: 0; margin-top: 32px; }
  .principle { grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-block: 16px; align-items: start; border-bottom: 1px solid var(--grey-100); }
  .principle span { max-width: none; font-size: .9375rem; line-height: 1.6; }
  .about-images { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; margin-top: 32px; }
  .about-images figure:nth-child(n) { margin: 0; width: 100%; height: auto; aspect-ratio: 3 / 4; }
  .about-images figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; max-height: 480px; }
  .services-top { gap: 24px; padding-bottom: 28px; }
  .services-layout { gap: 24px; }
  .service-preview { width: 100%; aspect-ratio: 4 / 3; max-height: 400px; }
  .service-preview img { height: 100%; aspect-ratio: auto; object-position: 50% 28%; }
  .service-item, .service-item[aria-pressed="true"], .service-item:hover { grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 10px; padding: 18px 12px; }
  .service-item strong { font-size: clamp(1.25rem, 5.9vw, 1.625rem); line-height: 1.25; letter-spacing: -.025em; overflow-wrap: break-word; }
  .service-item svg { display: block; width: 18px; height: 18px; }
  .service-description { margin-top: 20px; font-size: .9375rem; line-height: 1.6; }
  .portfolio-head { padding-top: 48px; }
  .portfolio-copy { grid-template-columns: minmax(0, 1fr); margin-top: 28px; gap: 20px; }
  .portfolio-copy .portfolio-index { font-size: .625rem; line-height: 1.6; }
  .gallery-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; margin-bottom: 0; }
  .gallery-filters button { min-width: 0; min-height: 48px; padding: 10px 6px; font-size: .875rem; white-space: nowrap; }
  .project-grid, .project-grid.is-filtered { margin-top: 32px; gap: 32px; padding-bottom: 64px; }
  .project-meta { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .project-meta strong { font-size: 1.125rem; line-height: 1.3; }
  .project-meta span { max-width: none; text-align: left; font-size: .75rem; line-height: 1.5; }
  .testimonial-header { gap: 20px; }
  .testimonial-slide { gap: 24px; padding-block: 28px; }
  .testimonial-copy { gap: 20px; }
  .testimonial-portrait img { aspect-ratio: 1; }
  .testimonial-quote { font-size: clamp(1.625rem, 7.4vw, 2rem); line-height: 1.25; letter-spacing: -.035em; }
  .testimonial-word { max-width: 100%; overflow-wrap: anywhere; }
  .testimonial-controls { gap: 8px; padding-top: 16px; }
  .testimonial-nav { min-width: 48px; min-height: 48px; padding: 10px; gap: 6px; border: 1px solid var(--grey-200); font-size: .625rem; white-space: nowrap; }
  .testimonial-nav span { display: inline; }
  .testimonial-nav svg { width: 18px; height: 18px; }
  .contact-cta { min-height: 0; padding-block: 64px; }
  .contact-cta h2 { font-size: clamp(2.25rem, 10.5vw, 2.875rem); line-height: 1.08; letter-spacing: -.045em; margin-block: 20px 28px; text-wrap: balance; }
  .contact-cta-inner { width: calc(100% - 32px); }
  .site-footer { padding-block: 32px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-brand { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.08; letter-spacing: -.04em; }
  .footer-column { gap: 0; min-width: 0; }
  .footer-column a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
  .footer-column span { font-size: .8125rem; line-height: 1.6; margin-top: 8px; }
  .footer-note { grid-template-columns: minmax(0, 1fr); margin-top: 0; gap: 16px; font-size: .75rem; line-height: 1.65; }
  .footer-note > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .footer-note > div a { display: inline-flex; align-items: center; min-height: 44px; }
  .motion-toggle { width: 100%; font-size: .875rem; min-height: 48px; }
  /* Dialog headers stay available; only the intended body scrolls. */
  .dialog-header, .dialog-footer { padding-inline: 12px; gap: 12px; }
  .dialog-title, .album-heading { min-width: 0; overflow-wrap: break-word; }
  .dialog-button { flex: none; min-height: 48px; min-width: 48px; }
  .contact-dialog { width: calc(100% - 24px); height: min(760px, calc(100dvh - 24px)); max-height: calc(100dvh - 24px); }
  .contact-dialog .dialog-shell { height: 100%; max-height: 100%; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
  .contact-form { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px; gap: 20px; }
  .contact-form .section-heading { font-size: clamp(1.75rem, 7.6vw, 2rem); line-height: 1.15; }
  .contact-form > div:first-child > p { margin-top: 12px; font-size: .875rem; line-height: 1.6; }
  .form-row { gap: 16px; }
  .field { gap: 6px; }
  .field label { font-size: .8125rem; }
  .field input, .field textarea { font-size: 16px; }
  .field-error { min-height: 16px; line-height: 1.4; }
  .form-actions { gap: 12px; }
  .motion-submit-wrap { width: 100%; position: relative; }
  .motion-submit-wrap .motion-bars { position: absolute; left: 12px; pointer-events: none; }
  .motion-submit-wrap .motion-bars > i { background: var(--white); }
  .motion-submit-wrap .form-submit { flex: 1; min-width: 0; padding-inline: 48px; }
  .form-submit { min-height: 48px; font-size: .9375rem; white-space: nowrap; }
  .lightbox { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .lightbox .dialog-shell { max-height: calc(100dvh - 18px); }
  .lightbox-figure img { max-height: calc(100dvh - 180px); }
  .album-dialog { height: calc(100dvh - 16px); }
  .album-dialog-footer { grid-template-columns: minmax(0, 1fr); min-height: 124px; padding: 8px 12px; gap: 8px; }
  .album-thumbnails { width: 100%; min-width: 0; }
  .album-thumb { flex-basis: 44px; width: 44px; height: 52px; }
  .album-controls { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; }
  .album-control { min-height: 48px; min-width: 48px; font-size: .8125rem; white-space: nowrap; }
  .album-play span { display: inline; }
  .album-story { max-height: 32dvh; overflow-y: auto; padding: 16px; gap: 12px; }
  .album-story h2 { font-size: clamp(1.625rem, 7vw, 2rem); line-height: 1.15; }
  .album-story p:last-child { font-size: .8125rem; line-height: 1.55; }
}
@media (max-height:600px) and (min-width:769px) {
  .album-story { overflow-y: auto; }
}
/* Booking fields make the form taller: keep its close control outside body scrolling. */
@media(min-width:769px) { .contact-dialog { height:min(900px,calc(100dvh - 32px)); } }
.contact-dialog .dialog-shell { height:100%; max-height:100%; grid-template-rows:auto minmax(0,1fr); overflow:hidden; }
.contact-form { min-height:0; overflow-y:auto; overscroll-behavior:contain; grid-auto-rows:max-content; align-content:start; }
.contact-form .field { min-width:0; }
.contact-form input[type="date"] { min-width:0; width:100%; max-width:100%; }
.consent-field { min-width: 0; border-top: 1px solid #d4d4ce; padding-top: 20px; }
.consent-label { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; min-height: 44px; padding-block: 6px; cursor: pointer; color: #151616; font-size: .875rem; line-height: 1.7; }
.consent-label input { appearance: auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #151616; cursor: pointer; }
.consent-label input:focus-visible { outline: 2px solid #2453ff; outline-offset: 4px; }
.consent-label input[aria-invalid="true"] { outline: 2px solid #a12d25; outline-offset: 3px; }
.consent-link { display: inline-block; margin-left: 36px; padding-block: 8px; color: #151616; font-size: .8125rem; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.consent-link:focus-visible { outline: 2px solid #2453ff; outline-offset: 3px; }
.consent-field .field-error { margin-left: 36px; }
/* Preserve mode: Geist, paper/ink, thin rules, square controls; quiet inline calendar. */
.date-field { align-content: start; }
.booking-detail-row { align-items: start; }
.booking-detail-row .field-optional { display: block; margin-top: 4px; color: #63635f; font-size: .6875rem; font-weight: 400; }
.date-widget { min-width: 0; }
.date-widget[hidden], .date-calendar[hidden], .date-field input[hidden] { display: none !important; }
.date-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule, #d4d4ce); border-radius: 0; background: transparent; color: #63635f; font: inherit; text-align: left; cursor: pointer; }
.date-trigger.has-date, .date-trigger[aria-expanded="true"] { color: var(--ink, #151616); border-color: currentColor; }
.date-value { font-size: .875rem; }
.date-trigger.has-date .date-value { font-family: var(--mono, monospace); font-size: .8125rem; }
.date-trigger-mark { color: var(--ink, #151616); font-size: 1.25rem; font-weight: 300; line-height: 1; }
.date-trigger[aria-expanded="true"] .date-trigger-mark { transform: rotate(45deg); }
.date-calendar { min-width: 0; margin-top: 12px; padding: 12px; border: 1px solid var(--rule, #d4d4ce); border-radius: 0; background: var(--paper, #f4f4f0); color: var(--ink, #151616); }
.date-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--rule, #d4d4ce); }
.date-month { margin: 0; font-size: .8125rem; font-weight: 500; line-height: 1.4; }
.date-month-controls { display: flex; gap: 4px; flex: none; }
.date-month-controls button { width: 36px; min-height: 44px; padding: 0; border: 1px solid var(--rule, #d4d4ce); border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.date-grid { width: 100%; margin-top: 8px; border-collapse: collapse; table-layout: fixed; }
.date-grid th { height: 28px; padding: 0; color: #63635f; font: .625rem/1 var(--mono, monospace); text-align: center; }
.date-grid td { height: 44px; padding: 0; text-align: center; }
.date-day { width: 100%; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: .75rem/1 var(--mono, monospace); cursor: pointer; }
.date-day[aria-current="date"] { text-decoration: underline; text-underline-offset: 5px; }
.date-grid [aria-selected="true"] .date-day { background: var(--night, #151616); color: var(--chalk, #f5f5f2); }
.date-calendar-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; border-top: 1px solid var(--rule, #d4d4ce); }
.date-calendar-foot button { min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: .6875rem/1.4 var(--mono, monospace); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.date-calendar button:disabled { opacity: .4; cursor: default; }
.editorial .date-widget button:focus-visible { outline: 2px solid var(--ink, #151616); outline-offset: 2px; }
.editorial .date-widget .date-day:focus-visible { outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .date-day:hover, .date-month-controls button:not(:disabled):hover { background: var(--rule, #d4d4ce); color: var(--ink, #151616); }
  .date-grid [aria-selected="true"] .date-day:hover { background: var(--night, #151616); color: var(--chalk, #f5f5f2); }
}

/* ========================================================================
   EDITORIAL / BEO ART
   One public composition layer. Template, CMS data, interaction selectors and
   motion-owned transforms remain intact. Decoded originals stay sharp.
   ======================================================================== */
.editorial {
  --paper: #f4f4f0;
  --night: #151616;
  --chalk: #f5f5f2;
  --soft-ink: #63635f;
  --rule: #d4d4ce;
  --dark-rule: #41423f;
  --page-gutter: clamp(24px, 4.45vw, 72px);
  --container: 1536px;
  --surface: var(--paper);
  --blue: #2453ff;
  --stage-height: calc(100svh - 72px);
  --stage-pad: clamp(20px, 3svh, 40px);
  background: var(--paper);
  color: var(--night);
}
.editorial .shell { width: min(calc(100% - var(--page-gutter) * 2), var(--container)); }
.editorial main, .editorial section, .editorial .shell > * { min-width: 0; }
.editorial section[id] { scroll-margin-top: 72px; }
.editorial .section { min-height: var(--stage-height); display: grid; align-content: center; padding-block: var(--stage-pad); }
.editorial .kicker { margin: 0 0 12px; color: inherit; font-size: .6875rem; font-weight: 400; letter-spacing: .11em; line-height: 1.5; }
.editorial .section-heading { margin: 0; font-size: clamp(2rem, min(4.2vw, 6.2svh), 4rem); font-weight: 400; line-height: 1.08; letter-spacing: -.055em; text-wrap: pretty; }
.editorial .text-button { width: fit-content; min-height: 48px; padding: 12px 18px; gap: 32px; border: 1px solid currentColor; border-radius: 0; font-size: .875rem; font-weight: 400; line-height: 1.25; letter-spacing: -.015em; white-space: normal; text-align: left; }
.editorial .text-button svg { width: 20px; height: 20px; }
.editorial :is(a, button, input, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.editorial :is(.hero, .about, .contact-cta, .site-footer, .site-header) :is(a, button):focus-visible { outline-color: var(--chalk); }

/* A quiet navigation rail, not a competing masthead. */
.editorial .site-header { background: var(--night); color: var(--chalk); border-bottom: 1px solid var(--dark-rule); }
.editorial .header-inner { min-height: 72px; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); gap: 24px; }
.editorial .brand { width: fit-content; padding-block: 12px; color: var(--chalk); font-size: 1.375rem; font-weight: 500; letter-spacing: -.055em; white-space: nowrap; }
.editorial .brand.has-logo { display: flex; align-items: center; width: fit-content; max-width: 100%; padding-block: 4px; }
.editorial .brand-logo { display: block; width: auto; max-width: min(176px, 100%); height: 64px; object-fit: contain; object-position: center; background: transparent; }
.editorial .footer-logo { display: block; width: auto; max-width: min(260px, 100%); height: 144px; object-fit: contain; object-position: center; background: transparent; }
.editorial .desktop-nav { gap: clamp(16px, 2.1vw, 34px); }
.editorial .desktop-nav a { color: #cecec8; font-size: .75rem; letter-spacing: .015em; white-space: nowrap; }
.editorial .header-cta { justify-self: end; color: var(--chalk); min-height: 44px; font-size: .75rem; padding: 10px 14px; gap: 24px; border-color: #666761; }
.editorial .menu-button { color: var(--chalk); border-color: #666761; min-height: 44px; padding-inline: 16px; font-size: .6875rem; }
.editorial .mobile-nav { background: var(--night); color: var(--chalk); border-color: var(--dark-rule); padding-inline: var(--page-gutter); }
.editorial .mobile-nav a { color: var(--chalk); border-color: var(--dark-rule); min-height: 52px; }

/* Exhibition cover: one dominant photograph, a masthead at its quiet edge,
   and a separate reading rail. No extra imagery or scroll/motion controller. */
.editorial .hero { display: block; min-height: 0; padding: 72px 0 0; color: var(--chalk); background: var(--night); border: 0; }
.editorial .hero-stage { display: block; position: relative; min-height: 0; height: auto; width: 100%; padding: 0; cursor: auto; }
.editorial .hero-stage::after { display: none; }
.editorial .hero-composition { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(300px, 1fr) auto; gap: 0; align-items: stretch; width: 100%; min-height: var(--stage-height); padding: 0; }
.editorial .hero-copy { display: contents; }
.editorial .hero-meta { grid-column: 1 / 6; grid-row: 1; z-index: 2; display: flex; flex-wrap: wrap; margin: 0; padding: 28px 20px 0 var(--page-gutter); gap: 6px 24px; color: #cecec8; font-size: .625rem; letter-spacing: .08em; line-height: 1.6; }
.editorial .hero-meta span { display: block; text-align: left; }
.editorial .hero-meta span:first-child { flex-basis: 100%; color: var(--chalk); }
.editorial .hero-meta span:nth-child(2), .editorial .hero-meta span:last-child { text-align: left; }
.editorial .hero-title { position: relative; inset: auto; grid-column: 1 / 8; grid-row: 2; z-index: 2; align-self: center; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; min-width: 0; max-width: 100%; margin: 0; padding: 28px 24px 36px var(--page-gutter); gap: .055em; color: var(--chalk); font-size: clamp(6rem, min(20vw, 31svh), 20rem); font-weight: 500; line-height: .8; letter-spacing: -.075em; mix-blend-mode: normal; text-shadow: none; white-space: normal; overflow-wrap: anywhere; }
.editorial .hero-title > span { display: block; max-width: 100%; align-self: flex-start; }
.editorial .hero-title > span:last-child { align-self: flex-start; }
.editorial .hero-title--long { grid-column: 1 / 7; font-size: clamp(2.5rem, 5vw, 5.5rem); line-height: .98; letter-spacing: -.055em; gap: .12em; }
@supports (-webkit-text-stroke: 1px currentColor) {
  .editorial .hero-title > span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--chalk); }
}
@media (forced-colors: active) {
  .editorial .hero-title > span:last-child { color: CanvasText; -webkit-text-stroke: 0 !important; }
}
.editorial .hero-bottom { grid-column: 1 / -1; grid-row: 3; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin: 0; padding: 22px var(--page-gutter); gap: 32px; border-top: 1px solid var(--dark-rule); background: var(--night); }
.editorial .hero-summary { max-width: 520px; margin: 0; color: #cecec8; font-size: .875rem; line-height: 1.7; letter-spacing: -.01em; }
.editorial .hero-bottom .text-button { width: fit-content; min-height: 56px; padding: 16px 24px; gap: 32px; border: 1px solid var(--chalk); background: var(--chalk); color: var(--night); }
.editorial .hero-bottom .text-button:hover { background: var(--night); color: var(--chalk); }
.editorial .hero-image-wrap { position: relative; grid-column: 4 / -1; grid-row: 1 / 3; inset: auto; width: 100%; height: 100%; min-height: 0; z-index: 0; aspect-ratio: auto; background: #45483f; }
.editorial .hero-image-wrap::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--night), rgb(21 22 22 / .55) 18%, transparent 50%); }
.editorial .hero-image-wrap .hero-image-base { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 51%; filter: none; transform: none; }
.editorial .hero-image-focus, .editorial .hero-focus-frame, .editorial .hero-stage .motion-halo { display: none !important; }
.editorial .hero .motion-curtain > i { background: var(--night); }

/* A single photographic rail. All covers share a horizon; none are cut from the catalogue. */
.editorial .portfolio { --gallery-cover-height: clamp(180px, calc(100svh - 300px), 680px); min-height: var(--stage-height); display: flex; flex-direction: column; justify-content: center; padding: var(--stage-pad) 0; background: var(--paper); color: var(--night); overflow: visible; }
.editorial .portfolio-head { display: none; }
.editorial .portfolio-copy { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; margin-top: 0; gap: 32px; }
.editorial .portfolio-copy .section-heading { max-width: 20ch; }
.editorial .portfolio-copy .kicker { margin-bottom: 12px; color: var(--soft-ink); }
.editorial .portfolio-intro { justify-self: end; padding: 0; max-width: 350px; }
.editorial .portfolio-copy p { color: var(--soft-ink); font-size: .8125rem; line-height: 1.6; }
.editorial .portfolio-copy .portfolio-index { margin-top: 8px; color: var(--night); font-size: .625rem; letter-spacing: .05em; line-height: 1.6; }
.editorial .gallery-filters { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 16px; margin-bottom: 0; padding: 0; border-block: 1px solid var(--rule); }
.editorial .gallery-filters button { min-height: 44px; min-width: 44px; padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--soft-ink); background: transparent; font-family: var(--mono); font-size: .6875rem; letter-spacing: .035em; }
.editorial .gallery-filters button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); background: transparent; }
.editorial #project-grid { display: flex; width: min(calc(100% - var(--page-gutter) * 2), var(--container)); align-items: stretch; gap: 24px; margin: 16px auto 0; padding: 6px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 6px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #a8aaa1 transparent; }
.editorial #project-grid .project-card:nth-child(n) { display: flex; align-items: flex-start; flex: 0 0 auto; width: calc(var(--gallery-cover-height) * var(--cover-ratio, 1)); max-width: calc(100% - 12px); grid-column: auto; grid-row: auto; height: auto; min-width: 160px; margin: 0; color: var(--night); cursor: pointer; scroll-snap-align: start; }
.editorial #project-grid .project-card figure { display: block; width: 100%; height: auto; margin: 0; }
.editorial #project-grid .project-media { height: var(--gallery-cover-height); aspect-ratio: auto; overflow: hidden; background: var(--paper); }
.editorial #project-grid .project-media img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: 50% 50%; transform: none; }
.editorial .project-meta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-items: start; padding: 12px 0 0; border: 0; }
.editorial .project-meta strong { font-size: clamp(1.125rem, 1.8vw, 1.75rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.2; }
.editorial .project-meta span { max-width: none; color: var(--soft-ink); font-family: var(--mono); font-size: .625rem; letter-spacing: .02em; line-height: 1.6; text-align: left; }
.editorial #project-grid.is-empty { display: block; }
.editorial .gallery-navigation { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.editorial .gallery-hint { flex: 1; margin: 0; font: .625rem/1.5 var(--mono); color: var(--soft-ink); }
.editorial .gallery-hint > span { display: block; }
.editorial .gallery-count { margin-bottom: 4px; color: var(--night); }
.editorial .gallery-control { display: grid; place-items: center; width: 48px; height: 44px; color: var(--night); border: 1px solid var(--rule); background: transparent; }
.editorial .gallery-control svg { width: 20px; height: 20px; }
.editorial .gallery-control:disabled { opacity: .3; cursor: default; }
.editorial .gallery-control:not(:disabled):hover { background: var(--night); color: var(--chalk); }
.editorial .empty-gallery { max-width: 580px; margin: 0; padding: 64px 0; color: var(--soft-ink); font-size: 1.375rem; line-height: 1.5; }

/* The photographer's point of view, paced like a short magazine essay. */
.editorial .about { background: var(--night); color: var(--chalk); }
.editorial .about > .shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 24px clamp(32px, 5vw, 80px); }
.editorial .about-head { display: block; grid-column: 1; }
.editorial .about-head .kicker { color: #a8aaa1; }
.editorial .about-copy { margin: 0; font-size: clamp(1.5rem, min(2.8vw, 4.3svh), 2.875rem); font-weight: 400; line-height: 1.22; letter-spacing: -.04em; text-wrap: pretty; }
.editorial .principles { display: grid; grid-template-columns: minmax(0, 1fr); grid-column: 1; align-self: end; gap: 14px; margin: 0; padding-top: 16px; border-color: var(--dark-rule); }
.editorial .principle { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 16px; padding: 0; border: 0; }
.editorial .principle strong { color: #989c90; font-family: var(--mono); font-size: .6875rem; font-weight: 400; line-height: 1.8; }
.editorial .principle span { max-width: 440px; color: #c4c7ba; font-size: .8125rem; line-height: 1.6; }
.editorial .about-images { display: grid; grid-column: 2; grid-row: 1 / 3; height: min(64svh, 660px); grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; margin: 0; }
.editorial .about-images figure:nth-child(n) { width: 100%; height: 100%; min-height: 0; margin: 0; overflow: hidden; aspect-ratio: auto; }
.editorial .about-images figure:first-child { grid-row: 1 / 3; }
.editorial .about-images figure:nth-child(2), .editorial .about-images figure:nth-child(3) { grid-column: 2; }
.editorial .about-images img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Service index: names on the left, a generous unframed preview on the right. */
.editorial .services { background: var(--paper); color: var(--night); }
.editorial .service-composition { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr; align-items: start; gap: 24px clamp(32px, 6vw, 96px); }
.editorial .services-top { display: grid; grid-column: 1; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; padding: 0; }
.editorial .services-top .section-heading { max-width: 18ch; }
.editorial .services-top .text-button { padding: 8px 0; border: 0; border-bottom: 1px solid var(--rule); min-height: 44px; }
.editorial .service-index { grid-column: 1; align-self: end; min-width: 0; }
.editorial .services .text-button.is-dark { color: var(--night); }
.editorial .services-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: clamp(40px, 7vw, 112px); }
.editorial .services-layout > div { grid-column: 1; grid-row: 1; }
.editorial .service-preview { grid-column: 2; grid-row: 1 / 3; position: relative; top: auto; width: 100%; height: min(68svh, 720px); min-height: 0; max-height: none; aspect-ratio: auto; margin: 0; background: #deded7; }
.editorial .service-preview img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 28%; }
.editorial .service-list { border-top: 1px solid var(--rule); }
.editorial .service-item, .editorial .service-item[aria-pressed="true"] { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px; align-items: center; gap: 12px; min-height: 60px; padding: 12px 0; color: var(--soft-ink); border-bottom: 1px solid var(--rule); }
.editorial .service-item strong { font-size: clamp(1.125rem, min(2.2vw, 3svh), 2rem); font-weight: 400; line-height: 1.25; letter-spacing: -.04em; overflow-wrap: break-word; }
.editorial .service-item span:first-child { color: var(--soft-ink); font-size: .625rem; }
.editorial .service-item svg { display: block; width: 24px; height: 24px; }
.editorial .service-item[aria-pressed="true"] { color: var(--night); }
.editorial .service-item[aria-pressed="true"] svg { color: var(--blue); }
.editorial .service-descriptions { display: grid; }
.editorial .service-descriptions > .service-description { grid-area: 1 / 1; min-width: 0; }
.editorial .service-description-reserve { visibility: hidden; pointer-events: none; user-select: none; }
.editorial .service-description { max-width: 460px; margin: 16px 0 0; color: var(--soft-ink); font-size: .8125rem; line-height: 1.6; }

/* Human voices, with the photograph as punctuation rather than a card. */
.editorial .testimonials { background: #e8e9e3; color: var(--night); }
.editorial .testimonial-layout { gap: 24px; }
.editorial .testimonial-header { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; gap: 48px; }
.editorial .testimonial-header .section-heading { max-width: 20ch; }
.editorial .testimonial-intro { max-width: 350px; margin: 0; color: var(--soft-ink); font-size: .8125rem; line-height: 1.6; }
.editorial .testimonial-slide { grid-template-columns: minmax(0, 1.6fr) minmax(0, .65fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: 24px 0; border-color: #c6c8bc; }
.editorial .testimonial-copy { min-height: 0; gap: 20px; }
.editorial .testimonial-eyebrow { color: var(--soft-ink); font-size: .625rem; letter-spacing: .07em; }
.editorial .testimonial-quote { max-width: 28ch; margin: 0; font-size: clamp(1.75rem, min(3.3vw, 4.7svh), 3.5rem); font-weight: 400; line-height: 1.23; letter-spacing: -.045em; }
.editorial .testimonial-portrait { order: 0; width: 100%; height: min(38svh, 400px); aspect-ratio: auto; }
.editorial .testimonial-portrait img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.editorial .testimonial-byline { font-size: .625rem; line-height: 1.8; }
.editorial .testimonial-byline span { color: var(--soft-ink); }
.editorial .testimonial-controls { padding-top: 8px; gap: 16px; }
.editorial .testimonial-nav { min-width: 48px; min-height: 48px; padding: 12px 0; gap: 12px; color: var(--night); font-size: .625rem; border: 0; }
.editorial .testimonial-nav span { display: inline; }
.editorial .testimonial-count { color: var(--soft-ink); font-size: .625rem; }

/* One invitation. Large type, open space and a decisive blue action. */
.editorial .contact-cta { display: grid; align-content: center; min-height: var(--stage-height); padding-block: var(--stage-pad); background: var(--night); color: var(--chalk); text-align: left; }
.editorial .contact-cta-inner { display: grid; justify-items: start; }
.editorial .contact-cta .kicker { color: #a8aaa1; }
.editorial .contact-cta h2 { max-width: 17ch; margin: 12px 0 32px; font-size: clamp(3rem, min(8vw, 12svh), 8.5rem); font-weight: 400; line-height: 1.06; letter-spacing: -.065em; text-wrap: pretty; }
.editorial .contact-cta .text-button { padding: 20px 24px; min-height: 64px; gap: 64px; color: white; border-color: var(--blue); background: var(--blue); font-size: 1rem; }
.editorial .site-footer { padding: 64px 0 32px; background: var(--night); color: var(--chalk); border-top: 1px solid var(--dark-rule); }
.editorial .footer-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.editorial .footer-brand { max-width: 100%; font-size: clamp(2.25rem, 4.5vw, 4.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -.055em; }
.editorial .footer-brand > span { display: block; margin-top: 20px; font: .6875rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.editorial .footer-column { gap: 0; }
.editorial .footer-column strong { margin-bottom: 16px; color: #989c90; font-size: .625rem; font-weight: 400; letter-spacing: .08em; }
.editorial .footer-column a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; color: #e1e3d9; font-size: .875rem; overflow-wrap: anywhere; }
.editorial .footer-column span { margin-top: 12px; color: #a8aaa1; font-size: .8125rem; line-height: 1.7; }
.editorial .footer-note { grid-column: 1 / -1; grid-template-columns: inherit; align-items: start; column-gap: inherit; row-gap: 20px; margin: 0; padding-top: 28px; border: 0; border-top: 1px solid var(--dark-rule); color: #b7b9b0; font-size: .8125rem; line-height: 1.85; overflow-wrap: anywhere; }
.editorial .footer-note .footer-note-heading { display: flex; align-items: flex-start; gap: 14px; max-width: 36ch; color: var(--chalk); font: .6875rem/1.8 var(--mono); letter-spacing: .025em; }
.editorial .footer-note-mark { flex: none; font-size: 1.75rem; line-height: 1; letter-spacing: -.04em; }
.editorial .footer-note-copy { display: grid; grid-column: 2 / -1; gap: 14px; max-width: 72ch; }
.editorial .footer-note-copy p { max-width: none; white-space: pre-line; }
.editorial .footer-note--plain .footer-note-copy { grid-column: 1 / -1; }
.editorial .footer-note a { color: #cecec8; }
.editorial .footer-note > div a { display: inline-flex; align-items: center; min-height: 44px; }
.editorial .motion-toggle { color: #cecec8; border-color: #666761; min-height: 44px; font-size: .6875rem; }
.editorial .motion-toggle:disabled { color: #a8aaa1; }

/* Keyboard parity and hover colour never change the layout's geometry. */
.editorial :is(.site-header, .hero) .text-button:focus-visible,
.editorial .menu-button:focus-visible, .editorial .motion-toggle:not(:disabled):focus-visible { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
.editorial .services .text-button:focus-visible { background: var(--night); color: var(--chalk); border-color: var(--night); }
.editorial .service-item:focus-visible { background: #e5e5df; color: var(--night); border-color: var(--rule); }
.editorial .contact-cta .text-button:focus-visible { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
.editorial .gallery-filters button:focus-visible { color: var(--blue); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .editorial :is(.desktop-nav a, .mobile-nav a, .footer-column a, .footer-note a):hover { color: white; }
  .editorial :is(.site-header, .hero) .text-button:hover,
  .editorial .menu-button:hover, .editorial .motion-toggle:not(:disabled):hover { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
  .editorial .hero-bottom .text-button:hover { background: var(--night); color: var(--chalk); }
  .editorial .services .text-button:hover { background: var(--night); color: var(--chalk); border-color: var(--night); }
  .editorial .service-item:hover { background: #e5e5df; color: var(--night); border-color: var(--rule); }
  .editorial .gallery-filters button:hover { color: var(--blue); border-color: transparent; box-shadow: none; }
  .editorial .gallery-filters button[aria-pressed="true"]:hover { border-bottom-color: var(--blue); }
  .editorial .contact-cta .text-button:hover { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
}

/* Original dark artwork sits on a continuous paper surface, without a separate tile. */
.editorial .brand-surface { background: var(--paper); color: var(--night); border-color: var(--rule); }
.editorial .brand-surface :is(.brand, .desktop-nav a, .header-cta, .menu-button, .mobile-nav a, .footer-column a, .footer-note a, .motion-toggle) { color: var(--night); }
.editorial .brand-surface :is(.header-cta, .menu-button, .motion-toggle) { border-color: var(--rule); }
.editorial .brand-surface .mobile-nav { background: var(--paper); color: var(--night); border-color: var(--rule); }
.editorial .brand-surface .mobile-nav a { border-color: var(--rule); }
.editorial .brand-surface :is(.footer-column strong, .footer-column span, .footer-note, .motion-toggle:disabled) { color: var(--soft-ink); }
.editorial .brand-surface .footer-note { border-color: var(--rule); }
.editorial .brand-surface .footer-note .footer-note-heading { color: var(--night); }
.editorial .brand-surface :is(a, button):focus-visible { outline-color: var(--blue); }
.editorial .brand-surface :is(.header-cta, .menu-button, .motion-toggle:not(:disabled)):focus-visible { background: var(--night); color: var(--paper); border-color: var(--night); }
@media (hover: hover) and (pointer: fine) {
  .editorial .brand-surface :is(.desktop-nav a, .mobile-nav a, .footer-column a, .footer-note a):hover { color: var(--blue); }
  .editorial .brand-surface :is(.header-cta, .menu-button, .motion-toggle:not(:disabled)):hover { background: var(--night); color: var(--paper); border-color: var(--night); }
}

/* Tablet keeps the same paired alignment, with a two-cover exhibition rail. */
@media (max-width: 1024px) {
  .editorial .header-inner { grid-template-columns: minmax(100px, 1fr) auto; }
  .editorial .desktop-nav, .editorial .header-cta { display: none; }
  .editorial .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .editorial .footer-grid { gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* Mobile is art-directed, not a stack of reduced desktop columns.
   Grid areas give copy, layered photographs and controls their own space. */
@media (max-width: 768px) {
  .editorial { --page-gutter: 24px; --stage-pad: 24px; }
  .editorial .section-heading { font-size: clamp(1.875rem, min(7.5vw, 4.8svh), 3rem); line-height: 1.12; }
  .editorial .kicker { margin-bottom: 10px; font-size: .625rem; }
  .editorial .header-inner { min-height: 72px; }
  .editorial .brand { font-size: 1.25rem; }
  .editorial .mobile-nav { max-height: calc(100dvh - 72px); }
  .editorial .hero-composition { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(300px, 1fr) auto; min-height: var(--stage-height); gap: 0; }
  .editorial .hero-copy { display: contents; }
  .editorial .hero-meta { grid-column: 1; grid-row: 1; display: flex; gap: 6px 16px; padding: 20px var(--page-gutter) 0; font-size: .5625rem; }
  .editorial .hero-meta span:first-child { flex-basis: auto; }
  .editorial .hero-meta span:nth-child(2) { display: none; }
  .editorial .hero-meta span:last-child { margin-left: auto; }
  .editorial .hero-title { grid-column: 1; grid-row: 2; align-self: end; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: flex-start; gap: .14em; margin: 0; padding: 24px var(--page-gutter); font-size: clamp(3.5rem, 23vw, 10rem); line-height: .9; letter-spacing: -.075em; }
  .editorial .hero-title > span { min-width: 0; }
  .editorial .hero-title > span:last-child { -webkit-text-stroke-width: 1px; }
  .editorial .hero-title--long { font-size: clamp(2rem, 8.5vw, 4rem); flex-direction: column; line-height: .98; letter-spacing: -.055em; }
  .editorial .hero-bottom { grid-column: 1; grid-row: 3; grid-template-columns: minmax(0, 1fr) 124px; gap: 20px; padding: 20px var(--page-gutter); align-items: center; }
  .editorial .hero-summary { max-width: 480px; font-size: .75rem; line-height: 1.6; }
  .editorial .hero-bottom .text-button { min-height: 56px; padding: 12px; gap: 10px; font-size: .75rem; }
  .editorial .hero-image-wrap { grid-column: 1; grid-row: 1 / 3; height: 100%; min-height: 0; aspect-ratio: auto; width: 100%; }
  .editorial .hero-image-wrap::after { background: linear-gradient(180deg, rgb(21 22 22 / .75), transparent 20%, transparent 65%, rgb(21 22 22 / .85)); }
  .editorial .hero-image-wrap .hero-image-base { object-position: 50% 49%; }
  .editorial .portfolio-copy { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .editorial .portfolio-copy .section-heading { max-width: 20ch; }
  .editorial .portfolio-intro { justify-self: start; max-width: 560px; padding: 0; }
  .editorial .portfolio-copy p { font-size: .75rem; line-height: 1.5; }
  .editorial .portfolio-copy .portfolio-index { margin-top: 6px; font-size: .5625rem; }
  .editorial .gallery-filters { flex-wrap: nowrap; gap: 0 24px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
  .editorial .gallery-filters button { min-height: 48px; font-size: .6875rem; }
  .editorial #project-grid { gap: 16px; margin-top: 12px; }
  .editorial #project-grid .project-card:nth-child(n) { max-width: 86%; }
  .editorial .project-meta { gap: 6px; padding-top: 10px; }
  .editorial .project-meta strong { font-size: 1.25rem; line-height: 1.3; }
  .editorial .project-meta span { max-width: none; font-size: .5625rem; }
  .editorial .gallery-navigation { margin-top: 4px; }
  .editorial .gallery-control { height: 48px; }
  .editorial .about > .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 20px; }
  .editorial .about-head { grid-column: 1; grid-row: 1; }
  .editorial .about-copy { max-width: 40ch; font-size: clamp(1.25rem, min(5.2vw, 3.2svh), 2rem); line-height: 1.25; }
  .editorial .principles { grid-row: 3; padding-top: 12px; gap: 10px; }
  .editorial .principle { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 0; }
  .editorial .principle span { max-width: 600px; font-size: .75rem; line-height: 1.5; }
  .editorial .about-images { grid-column: 1; grid-row: 2; grid-template-columns: 1fr 1.3fr 1fr; grid-template-rows: minmax(0, 1fr); height: clamp(140px, 25svh, 280px); gap: 8px; }
  .editorial .about-images figure:nth-child(n) { grid-column: auto; grid-row: 1; }
  .editorial .service-composition { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 16px; }
  .editorial .services-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; }
  .editorial .services-top .section-heading { max-width: 16ch; }
  .editorial .services-top .text-button { max-width: 88px; gap: 8px; font-size: .6875rem; }
  .editorial .service-preview { grid-column: 1; grid-row: 2; height: clamp(150px, calc(100svh - 470px), 390px); }
  .editorial .service-preview img { object-position: 50% 34%; }
  .editorial .service-index { grid-row: 3; }
  .editorial .service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .editorial .service-item, .editorial .service-item[aria-pressed="true"] { grid-template-columns: 18px minmax(0, 1fr); gap: 6px; padding: 10px 0; min-height: 56px; }
  .editorial .service-item strong { font-size: .8125rem; line-height: 1.3; letter-spacing: -.025em; }
  .editorial .service-item svg { display: none; }
  .editorial .service-item[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); }
  .editorial .service-description { margin: 12px 0 0; font-size: .75rem; line-height: 1.5; }
  .editorial .testimonial-header { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .editorial .testimonial-intro { max-width: 560px; font-size: .75rem; line-height: 1.5; }
  .editorial .testimonial-layout { gap: 20px; }
  .editorial .testimonial-slide { grid-template-columns: minmax(0, 1fr) 80px; align-items: end; gap: 16px; padding: 20px 0; }
  .editorial .testimonial-copy { display: contents; }
  .editorial .testimonial-eyebrow { grid-column: 1 / -1; }
  .editorial .testimonial-quote { grid-column: 1 / -1; max-width: 30ch; font-size: clamp(1.5rem, min(6.5vw, 4.1svh), 2.5rem); line-height: 1.3; }
  .editorial .testimonial-byline { grid-column: 1; align-self: center; }
  .editorial .testimonial-portrait { grid-column: 2; grid-row: 3; width: 80px; height: 96px; margin: 0; }
  .editorial .testimonial-nav { font-size: .625rem; padding: 10px 0; gap: 8px; }
  .editorial .contact-cta h2 { max-width: 14ch; font-size: clamp(2.75rem, min(11.5vw, 8.5svh), 5rem); line-height: 1.08; }
  .editorial .contact-cta .text-button { width: fit-content; gap: 40px; min-height: 56px; padding: 16px 20px; font-size: .875rem; }
  .editorial .site-footer { padding: 48px 0 28px; }
  .editorial .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .editorial .footer-brand { grid-column: 1 / -1; font-size: clamp(2.5rem, 7.5vw, 4.5rem); line-height: 1.1; }
  .editorial .footer-column a { font-size: .8125rem; }
  .editorial .footer-column span { font-size: .75rem; }
  .editorial .footer-note { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; font-size: .75rem; }
  .editorial .footer-note-copy { grid-column: 1 / -1; gap: 12px; }
  .editorial .motion-toggle { width: fit-content; min-height: 48px; }
}
@media (max-width: 480px) {
  .editorial { --page-gutter: 20px; --stage-pad: 20px; }
  .editorial .hero-meta { gap: 4px 12px; font-size: .5rem; letter-spacing: .055em; }
  .editorial .footer-grid { column-gap: 16px; }
  .editorial .footer-column a { font-size: .75rem; }
}

/* Low-height windows and large text use natural document flow, never clipping
   meaningful copy to simulate a screen fit. No nested vertical scrollers. */
@media (max-height: 600px) {
  .editorial { --stage-pad: 24px; }
  .editorial .section, .editorial .portfolio, .editorial .contact-cta { min-height: var(--stage-height); }
  .editorial .hero-composition { min-height: 440px; }
  .editorial .hero-image-wrap { min-height: 240px; }
  .editorial .about-images, .editorial .service-preview { min-height: 240px; }
}

/* The previous floating CSS planes are retired. The viewing room is isolated
   in experience.css / experience.js, with the same 3D scene on every viewport. */
