/* A quiet reading surface inside the original stitched leather frame. */
.contact-item { min-height: 330px; padding: 38px 34px 30px; }
.contact-item::before { inset: 23px; border: 1px solid #d5b68b26; border-radius: 8px; background: linear-gradient(135deg,#291b12f5,#21150ff5); box-shadow: inset 0 2px 8px #10080480, 0 1px 0 #d5b68b26; }
.contact-card-label { color: #f5e6cd; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .055em; }
.contact-card-title { font-size: 38px; font-weight: 600; color: #fff8ed; text-shadow: none; margin-top: 23px; }
.contact-item > p, .contact-item > span:not(.contact-card-label,.contact-card-title,.contact-card-bottom) { color: #fff8ed; font-size: 16px; line-height: 1.65; margin-top: 18px; }
.contact-email { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #d5b68b80; }
.contact-card-bottom { color: #fff8ed; font-size: 14px; font-weight: 500; min-height: 44px; padding-top: 24px; }
.contact-note { font-size: 12px; }
.contact .contact-heading[data-reveal], .contact-details .contact-item[data-reveal] { opacity: 1; }
.contact { overflow: clip; }
.motion-enabled .contact-item.is-visible { transform: translate3d(var(--contact-x,0px),var(--contact-y,0px),0) rotateY(var(--contact-fan,0deg)); }
.motion-enabled main { position: relative; z-index: 1; background: var(--ivory); }
.motion-enabled .footer { position: sticky; bottom: 0; z-index: 0; }
.service-card > p, .why-card p { font-size: 16px; line-height: 1.65; color: #594a3e; }
.service-card-bottom > span { font-size: 12px; }

/* Controls provide a direct route through every scene, including by keyboard. */
.spatial-controls[hidden] { display: none; }
.spatial-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; }
.scene-hint { font-size: 11px; line-height: 1.5; color: #67584b; max-width: 175px; }
.scene-buttons { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.scene-button { width: 44px; height: 44px; border: 1px solid #ffffffb3; border-radius: 50%; background: var(--ivory); box-shadow: 4px 4px 10px #bca8924d,-4px -4px 10px #ffffffc7; font-size: 22px; cursor: pointer; }
.scene-button:active { box-shadow: var(--soft-inset); }
.scene-button[aria-disabled="true"] { color: #746457; box-shadow: var(--soft-inset); cursor: default; }
.scene-count { min-width: 44px; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }

/* Story: move from a photographic plane into a reading plane. */
.about { display: block; }
.about-track { display: grid; gap: 52px; }
.about-content > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; }
.about-content > .lead { font-size: 16px; }
.story-capable .about { height: 160svh; padding-block: 0; }
.story-ready .about-stage { display: flex; flex-direction: column; gap: 18px; }
.story-ready .story-window { width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #9d8366 #e6dccf; padding-block: 12px; }
.story-ready .about-track { grid-template-columns: repeat(2,100%); align-items: center; gap: 0; }
.story-ready .about-visual, .story-ready .about-content { scroll-snap-align: start; }
.story-capable .about-stage { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); padding-block: 16px; display: flex; flex-direction: column; justify-content: center; gap: 18px; overflow: clip; overflow-clip-margin: 8px; perspective: 1400px; }
.story-capable .story-window { width: 100%; overflow: clip; scroll-snap-type: none; perspective: 1400px; padding-block: 12px; }
.story-capable .about-track { grid-template-columns: repeat(2,100%); gap: 0; align-items: center; perspective: 1400px; transform: translate3d(var(--story-camera-x,0px),0,0); }
.story-capable .about-track .about-visual { margin-inline: 14px 24px; opacity: 1; transform: rotateY(var(--story-photo-turn,0deg)) scale(var(--story-photo-scale,1)); transform-origin: center; }
.story-capable .about-track .about-content { opacity: 1; padding-inline: 8px; transform: translate3d(0,var(--story-copy-y,0px),0); }
.story-capable .about-photo { max-height: 62svh; }
.story-capable .about-photo img { min-height: 0; }

/* Services: the camera travels sideways through a set of dimensional panels. */
.gallery-ready .services-layout { display: flex; flex-direction: column; gap: 18px; padding-block: 16px; }
.gallery-ready .services-heading { position: static; width: 100%; }
.gallery-ready .services-heading h2 { font-size: 43px; margin-top: 10px; }
.gallery-ready .services-heading > p:not(.eyebrow) { margin-top: 10px; max-width: 400px; font-size: 14px; line-height: 1.6; }
.gallery-ready .services-heading .text-link { margin-top: 4px; }
.gallery-ready .service-heading-detail { display: none; }
.gallery-ready .service-window { width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #9d8366 #e6dccf; padding-block: 12px; }
.gallery-ready .service-stack { display: flex; gap: 22px; width: 100%; padding: 0 8px; perspective: 1400px; }
.gallery-ready .service-card { flex: 0 0 calc(100% - 28px); min-width: 0; min-height: 0; margin: 0; position: relative; top: auto; scroll-snap-align: center; transform: none; padding: 22px 25px 16px; }
.gallery-ready .service-card h3 { font-size: 39px; margin-top: 20px; }
.gallery-ready .service-card > p { font-size: 16px; margin-top: 16px; }
.gallery-ready .service-card-bottom { margin-top: 18px; }
.gallery-capable .services { height: 310svh; padding-block: 0; }
.gallery-capable .services-layout { position: sticky; top: var(--header-height); min-height: calc(100svh - var(--header-height)); justify-content: center; }
.gallery-capable .service-window { overflow: clip; scroll-snap-type: none; perspective: 1400px; }
.gallery-capable .service-stack { transform: translate3d(var(--service-camera-x,0px),0,0); }
.gallery-capable .service-card { transform: translate3d(0,var(--service-lift,0px),var(--service-depth,0px)) rotateY(var(--service-turn,0deg)); backface-visibility: hidden; }
.gallery-capable .service-card:focus-within { transform: none; z-index: 2; }

/* Approach: four planes turn around a shallow, sculpted stage. */
.approach-ready .why-stage { display: flex; flex-direction: column; gap: 18px; padding-block: 16px; }
.approach-ready .why-stage .why-intro { opacity: 1; transform: none; }
.approach-ready .why-intro h2 { font-size: 43px; margin-top: 12px; }
.approach-ready .why-intro > p:last-child { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.approach-ready .why-canvas { width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-block: 12px; scrollbar-width: thin; scrollbar-color: #9d8366 #e6dccf; }
.approach-ready .why-grid { display: flex; align-items: stretch; gap: 22px; margin: 0; padding-inline: 8px; }
.approach-ready .why-grid .why-card { flex: 0 0 min(calc(100% - 28px),390px); min-width: 0; padding: 27px; scroll-snap-align: center; transform: none; opacity: 1; }
.approach-ready .why-card h3 { font-size: 34px; }
.approach-ready .why-card p { font-size: 16px; }
.approach-capable .why-us { height: 260svh; padding-block: 0; }
.approach-capable .why-stage { position: sticky; top: var(--header-height); min-height: calc(100svh - var(--header-height)); justify-content: center; }
.approach-capable .why-canvas { position: relative; height: calc(var(--principle-height,350px) + 40px); padding: 0; overflow: clip; perspective: 1300px; }
.approach-capable .why-canvas::before { content: ""; position: absolute; width: min(90%,620px); height: 65px; left: 50%; bottom: 0; transform: translateX(-50%); border-radius: 50%; box-shadow: var(--soft-inset); }
.approach-capable .why-grid { position: relative; display: block; height: 100%; padding: 0; transform-style: preserve-3d; }
.approach-capable .why-grid .why-card { position: absolute; left: 50%; top: 50%; width: min(calc(100% - 28px),390px); min-height: var(--principle-height,350px); transform: translate(-50%,-50%) translate3d(var(--principle-x,0px),var(--principle-y,0px),var(--principle-z,0px)) rotateY(var(--principle-turn,0deg)); opacity: var(--principle-opacity,1); z-index: var(--principle-layer,1); transition: none; backface-visibility: hidden; }
.approach-capable .why-card:not([data-front="true"]) h3, .approach-capable .why-card:not([data-front="true"]) p { opacity: 0; }
.approach-capable .why-card:not([data-front="true"]) .why-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 32px; }

@media (min-width: 900px) {
    .about-track { grid-template-columns: 1fr 1fr; gap: 95px; align-items: center; }
    .story-capable .about-track { grid-template-columns: 1fr 1fr; gap: 70px; transform: none; }
    .story-capable .about-track .about-visual { margin-left: 8px; transform: translate3d(var(--story-photo-x,0px),var(--story-photo-y,0px),var(--story-photo-depth,0px)) rotateY(var(--story-photo-turn,0deg)) scale(var(--story-photo-scale,1)); }
    .story-capable .about-track .about-content { transform: translate3d(var(--story-copy-x,0px),var(--story-copy-y,0px),0); }
    .gallery-ready .services-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; column-gap: 50px; row-gap: 8px; }
    .gallery-ready .services-heading .eyebrow { grid-column: 1; }
    .gallery-ready .services-heading h2 { grid-column: 1; margin: 0; font-size: 61px; }
    .gallery-ready .services-heading > p:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: 380px; font-size: 16px; }
    .gallery-ready .services-heading .text-link { grid-column: 2; margin: 0; justify-self: start; }
    .gallery-ready .service-card { flex-basis: calc((100% - 60px) / 2); padding: 32px; }
    .gallery-ready .service-card h3 { font-size: 48px; }
    .gallery-ready .service-card > p { font-size: 16px; }
    .approach-ready .why-intro h2 { font-size: 64px; }
    .approach-ready .why-intro > p:last-child { font-size: 16px; }
    .scene-hint { max-width: none; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .motion-enabled .footer { position: static; }
    .story-capable .about, .gallery-capable .services, .approach-capable .why-us { height: auto; }
    .story-capable .about-stage, .gallery-capable .services-layout, .approach-capable .why-stage { position: static; height: auto; min-height: 0; }
    .story-capable .about-track { display: grid; grid-template-columns: 1fr; transform: none; }
    .story-capable .about-visual, .story-capable .about-content, .gallery-capable .service-stack, .gallery-capable .service-card { transform: none; }
    .motion-enabled .contact-item.is-visible { transform: none; }
}
