/* Portfolio photography carries the visual story; the site's established type and palette stay intact. */
.av-explorer, .av-story, .av-work-controls { --av-paper: #f9f9f9; --av-ink: #0f0f0f; color: var(--av-ink); font: 400 1rem/1.6 "Inter", Arial, sans-serif; min-width: 0; }
.av-explorer *, .av-story *, .av-work-controls * { box-sizing: border-box; }
.av-explorer [hidden], .av-story [hidden] { display: none !important; }
.av-explorer figure, .av-explorer p, .av-explorer h3, .av-story figure, .av-story p, .av-story h2, .av-story h3 { margin: 0; }
.av-explorer button, .av-work-controls button { appearance: none; cursor: pointer; font: inherit; }
.av-explorer button:focus-visible, .av-work-controls button:focus-visible, .av-story a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.av-explorer { margin-inline: auto; max-width: 1184px; padding-bottom: 24px; width: 100%; }
.av-stage { position: relative; }
.av-depth-plane { display: none; }
.av-view figure { background: #e8e8e8; border-radius: 24px; overflow: hidden; }
.av-view figure img { display: block; height: auto; width: 100%; }
.av-view-caption { padding: 22px 4px; }
.av-view-caption h3 { font: 500 1.55rem/1.2 "Raleway", Arial, sans-serif; letter-spacing: -.025em; }
.av-view-caption p { color: #777; font-size: 1rem; margin-top: 8px; max-width: 680px; }
.av-view + .av-view { margin-top: 40px; }
.av-explorer-controls { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin: 18px auto 0; max-width: 910px; }
.av-view-tabs { background: #0f0f0f08; border: 1px solid #0f0f0f0b; border-radius: 100px; display: flex; gap: 4px; padding: 5px; }
.av-view-tabs button { background: transparent; border: 0; border-radius: 100px; color: inherit; font-size: .875rem; min-height: 44px; padding: 10px 22px; transition: background 250ms ease, color 250ms ease, box-shadow 250ms ease; }
.av-view-tabs button[aria-selected="true"] { background: var(--av-ink); box-shadow: 0 5px 14px #00000012; color: var(--av-paper); }
.av-zoom { background: transparent; border: 1px solid #0f0f0f24; border-radius: 100px; color: inherit; flex: none; font-size: .875rem !important; min-height: 44px; padding: 10px 20px; }
.av-zoom:hover, .av-zoom[aria-pressed="true"] { background: #0f0f0f08; }
.av-image-note { color: #777; font-size: .75rem; margin-top: 14px !important; text-align: center; }
.av-explorer.is-enhanced .av-stage { perspective: 1600px; }
.av-explorer.is-enhanced .av-view-window { margin-inline: auto; max-width: 910px; position: relative; width: 82%; }
.av-explorer.is-enhanced .av-view + .av-view { margin-top: 0; }
.av-explorer.is-enhanced .av-view:not([hidden]) { animation: av-view-in 550ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes av-view-in { from { opacity: .35; } to { opacity: 1; } }
.av-explorer.is-enhanced .av-view figure { aspect-ratio: 1.58; border: 1px solid #00000015; box-shadow: 0 35px 60px #0000001c; transform: rotateX(calc((1 - var(--av-progress, .5)) * 7deg)) rotateY(calc((.5 - var(--av-progress, .5)) * -12deg)); transform-origin: 50% 70%; }
.av-explorer.is-enhanced .av-view figure img { height: 100%; object-fit: cover; object-position: center 43%; transform: scale(var(--av-zoom-scale, 1)); transition: transform 850ms cubic-bezier(.2,.7,.2,1); }
.av-explorer.is-zoomed { --av-zoom-scale: 1.55; }
.av-explorer.is-enhanced .av-view-caption { min-height: 115px; text-align: center; }
.av-explorer.is-enhanced .av-view-caption p { margin-inline: auto; }
.av-explorer.is-enhanced .av-depth-plane { background: var(--av-paper); border: 1px solid #00000015; border-radius: 22px; display: block; height: 68%; overflow: hidden; position: absolute; top: 6%; width: 57%; }
.av-depth-plane img { display: block; height: 100%; object-fit: cover; width: 100%; }
.av-depth-plane--left { left: 2%; transform: translateX(calc((1 - var(--av-progress, .5)) * -25px)) rotateY(12deg) rotate(-5deg) scale(.92); }
.av-depth-plane--right { right: 2%; transform: translateX(calc((1 - var(--av-progress, .5)) * 25px)) rotateY(-12deg) rotate(5deg) scale(.92); }
.av-explorer--hero { padding-inline: 48px; padding-top: 20px; }
.av-dark { --av-ink: #f9f9f9; --av-paper: #0f0f0f; color: #f9f9f9; }
.av-dark .av-view-caption p, .av-dark .av-image-note { color: #f9f9f9a6; }
.av-dark .av-view-tabs { background: #f9f9f914; border-color: #f9f9f917; }
.av-dark .av-zoom { border-color: #f9f9f936; }
.av-dark .av-zoom:hover, .av-dark .av-zoom[aria-pressed="true"] { background: #f9f9f914; }
.av-dark .av-view figure { border-color: #f9f9f924; box-shadow: 0 35px 70px #00000050; }

/* The process unfolds as a photographic story, using the page's ordinary vertical scroll. */
.av-story { background: var(--av-paper); width: 100%; }
.av-story-shell { margin-inline: auto; max-width: 1280px; padding-inline: 48px; width: 100%; }
.av-story h2 { font: 500 clamp(2.6rem, 4.5vw, 3.9rem)/1.08 "Raleway", Arial, sans-serif; letter-spacing: -.045em; }
.av-story em { font: italic 400 1em/1.08 "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
.av-kicker { font-size: .875rem; font-weight: 500; letter-spacing: .12em; margin-bottom: 18px !important; }
.av-intro { color: #777; font-size: 1.05rem; max-width: 390px; }
.av-work-story { padding-block: 90px; }
.av-work-story > .av-story-shell > h2, .av-work-story > .av-story-shell > .av-kicker, .av-work-story > .av-story-shell > .av-intro { text-align: center; }
.av-work-story > .av-story-shell > .av-intro { margin: 24px auto 48px; max-width: 510px; }
.av-story--dark { --av-paper: #0f0f0f; --av-ink: #f9f9f9; background: #0f0f0f; color: #f9f9f9; }
.av-story--dark .av-intro { color: #f9f9f9a6; }
.av-gallery { padding-block: 88px; }
.av-gallery-heading { align-items: end; display: flex; gap: 48px; justify-content: space-between; margin-bottom: 32px; }
.av-gallery-track { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.av-gallery-card { background: #f9f9f908; border: 1px solid #f9f9f922; border-radius: 24px; overflow: hidden; }
.av-gallery-card > img { display: block; height: 270px; object-fit: cover; object-position: center; width: 100%; }
.av-gallery-card figcaption { padding: 22px 28px; }
.av-gallery-card h3 { font: 500 1.65rem/1.2 "Raleway", Arial, sans-serif; letter-spacing: -.025em; }
.av-gallery-card p { color: #f9f9f9a6; font-size: 1rem; margin-top: 8px; }
.av-gallery[data-av-ready] .av-gallery-window { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; }
.av-gallery[data-av-ready] .av-gallery-window::-webkit-scrollbar { display: none; }
.av-gallery[data-av-ready] .av-gallery-track { display: flex; transform: translateX(var(--av-gallery-shift, 0px)); }
.av-gallery[data-av-ready] .av-gallery-card { flex: 0 0 min(760px, 78vw); scroll-snap-align: start; }
.av-gallery[data-av-ready] .av-gallery-card > img { height: min(42vh, 390px); }
.av-gallery-controls { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.av-gallery-controls button { background: transparent; border: 1px solid #f9f9f936; border-radius: 100px; color: inherit; cursor: pointer; font: 400 .875rem/1.3 "Inter", Arial, sans-serif; min-height: 44px; padding: 10px 22px; transition: background 250ms ease, color 250ms ease; }
.av-gallery-controls button[aria-current] { background: #f9f9f9; color: #0f0f0f; }
.av-gallery-window:focus-visible, .av-gallery-controls button:focus-visible { outline: 2px solid #f9f9f9; outline-offset: 4px; }
.av-gallery.is-pinned { height: calc(100svh + 1100px); padding-block: 0; }
.av-gallery.is-pinned .av-gallery-pin { align-items: center; display: flex; height: 100svh; position: sticky; top: 0; }
.av-gallery.is-pinned .av-gallery-window { overflow-x: clip; }
.av-gallery.is-pinned .av-gallery-heading h2 { font-size: clamp(2.6rem, 3.5vw, 3.3rem); }
.av-gallery.is-pinned .av-gallery-heading { margin-bottom: 24px; }
.av-gallery.is-pinned .av-gallery-card figcaption { padding-block: 16px; }

/* A real interface preview makes an aftercare request tangible. */
.av-care-preview { background: #f9f9f9; border-radius: 24px; color: #0f0f0f; overflow: hidden; }
.av-care-image { height: 280px; overflow: hidden; position: relative; }
.av-care-image img { display: block; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 850ms cubic-bezier(.2,.7,.2,1); width: 100%; }
.av-care-tag { background: #f9f9f9ed; border: 1px solid #0f0f0f10; border-radius: 100px; font-size: .75rem; left: 20px; letter-spacing: .04em; padding: 9px 14px; position: absolute; top: 20px; }
.av-care-update { padding: 28px; }
.av-care-request { font: 500 1.4rem/1.4 "Raleway", Arial, sans-serif; letter-spacing: -.02em; }
.av-care-hours { align-items: baseline; background: #0f0f0f06; border: 1px solid #0f0f0f0d; border-radius: 16px; display: grid; gap: 8px 16px; grid-template-columns: 1fr auto; margin-block: 24px; padding: 20px; transition: background 350ms ease; }
.av-care-hours > strong { font-size: 1.1rem; font-weight: 500; }
.av-care-status { color: #777; font-size: .875rem; grid-column: 1 / -1; }
.av-care-update > button { background: #0f0f0f; border: 1px solid #0f0f0f; border-radius: 12px; color: #f9f9f9; cursor: pointer; font: 500 1rem/1.5 "Inter", Arial, sans-serif; min-height: 48px; padding: 12px 20px; }
.av-care-update > button:focus-visible { outline: 2px solid #0f0f0f; outline-offset: 5px; }
.av-care-terms { color: #777; font-size: .875rem; line-height: 1.5; margin-top: 20px !important; }
.av-care-preview.is-updated .av-care-hours { background: #0f0f0f10; }
.av-care-preview.is-updated .av-care-image img { transform: scale(1.06); }

/* Layered build imagery and image-backed scenes extend the process's existing pinned narrative. */
.ac-process-hero__visual.av-build-stack { perspective: 1500px; }
.ac-process-hero__visual.av-build-stack .av-build-back { height: 78%; left: -3%; position: absolute; top: 10%; transform: rotate(-7deg) translateY(calc((.5 - var(--av-progress, .5)) * 55px)); width: 93%; }
.ac-process-hero__visual.av-build-stack .av-build-front { height: 82%; left: 4%; position: absolute; top: 2%; transform: rotateY(calc((.5 - var(--av-progress, .5)) * -16deg)) rotate(3deg) translateY(calc((.5 - var(--av-progress, .5)) * -60px)); width: 96%; }
.av-build-stack .ac-floating-note { z-index: 2; }
.av-scene-photo { background: #0f0f0f; color: #f9f9f9; }
.av-scene-photo .av-scene-background { height: 100%; inset: 0; object-fit: cover; opacity: .4; position: absolute; transform: scale(1.12); transition: transform 1400ms cubic-bezier(.2,.7,.2,1); width: 100%; }
.av-scene-photo.is-active .av-scene-background { transform: scale(1); }
.av-scene-photo::before { background: linear-gradient(#0f0f0f60, #0f0f0fa6); content: ""; inset: 0; position: absolute; z-index: 1; }
.av-scene-photo > :not(.av-scene-background) { position: relative; z-index: 2; }
.av-scene-photo .ac-conversation-card { color: #0f0f0f; }
.av-plan-image { border-radius: 14px; height: 180px; margin: 0 0 24px !important; overflow: hidden; }
.av-plan-image img { height: 100%; object-fit: cover; object-position: center; transform: scale(calc(1.02 + var(--av-progress, .5) * .08)) translateY(calc((.5 - var(--av-progress, .5)) * 15px)); width: 100%; }
.av-original-plane { perspective: 1400px; }
.av-original-plane .av-original-image { transform: scale(1.035) translateY(calc((.5 - var(--av-progress, .5)) * 24px * var(--av-direction, 1))); transition: filter 300ms ease; }

@media (max-width: 760px) {
  .av-explorer--hero { padding-inline: 22px; padding-top: 4px; }
  .av-explorer.is-enhanced .av-view-window { width: 94%; }
  .av-explorer.is-enhanced .av-view figure { aspect-ratio: 1.08; border-radius: 18px; transform: rotateY(calc((.5 - var(--av-progress, .5)) * -6deg)); }
  .av-explorer.is-enhanced .av-depth-plane { height: 62%; top: 4%; width: 70%; }
  .av-depth-plane--left { left: -1%; transform: rotate(-4deg) scale(.94); }
  .av-depth-plane--right { right: -1%; transform: rotate(4deg) scale(.94); }
  .av-explorer.is-enhanced .av-view-caption { min-height: 120px; padding: 22px 0 8px; }
  .av-view-caption h3 { font-size: 1.35rem; }
  .av-explorer-controls { align-items: center; flex-direction: column; gap: 12px; margin-top: 8px; }
  .av-view-tabs { max-width: 100%; width: 100%; }
  .av-view-tabs button { flex: 1; line-height: 1.35; padding-inline: 10px; }
  .av-zoom { min-height: 44px; }
  .av-story-shell { padding-inline: 22px; }
  .av-work-story { padding-block: 64px; }
  .av-gallery { padding-block: 64px; }
  .av-gallery-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 32px; }
  .av-gallery-track { grid-template-columns: 1fr; }
  .av-gallery[data-av-ready] .av-gallery-card { flex-basis: 92%; }
  .av-gallery[data-av-ready] .av-gallery-card > img { height: 260px; }
  .av-gallery-card figcaption { padding: 20px; }
  .av-gallery-card h3 { font-size: 1.4rem; }
  .av-gallery-controls { gap: 6px; }
  .av-gallery-controls button { flex: 1; padding-inline: 10px; }
  .av-care-image { height: 230px; }
  .ac-service-panel .av-care-preview { order: -1; }
  .av-care-update { padding: 24px; }
  .av-care-request { font-size: 1.3rem; }
  .av-care-hours { padding: 16px; }
  .av-plan-image { height: 175px; }
  .av-original-plane .av-original-image { transform: scale(1.025); }
}
@media (min-width: 761px) and (max-height: 800px) {
  .av-gallery.is-pinned .av-gallery-heading h2 { font-size: 2.5rem; }
  .av-gallery.is-pinned .av-gallery-heading { margin-bottom: 18px; }
  .av-gallery.is-pinned .av-gallery-card > img { height: 36vh; }
  .av-gallery.is-pinned .av-gallery-controls { margin-top: 16px; }
}
@media (max-width: 390px) {
  .av-explorer--hero { padding-inline: 20px; }
  .av-view-tabs button { padding-inline: 7px; }
  .av-story-shell { padding-inline: 20px; }
  .av-care-hours { grid-template-columns: 1fr; }
  .av-care-status { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .av-explorer.is-enhanced .av-view figure, .av-depth-plane--left, .av-depth-plane--right { transform: none; }
  .av-explorer *, .av-story * { animation: none !important; transition: none !important; }
  .av-original-plane .av-original-image, .av-plan-image img, .ac-process-hero__visual.av-build-stack .av-build-front, .ac-process-hero__visual.av-build-stack .av-build-back { transform: none; }
  .av-care-preview *, .av-scene-photo .av-scene-background { transition: none !important; }
}
