/* A restrained motion layer over the original GXN visual system. */
html { scroll-behavior: smooth; }
html.motion-paused { scroll-behavior: auto; }
.word-heading .word-line { display: block; overflow: clip; color: var(--ink); padding-bottom: .08em; margin-bottom: -.08em; }
.word-heading .word { display: inline-block; }
.word-heading .accent { color: var(--brown); }
.hero-copy > #hero-title { animation: none; }
#hero-title .word { animation: word-enter .95s var(--ease) both; animation-delay: calc(100ms + var(--word-index) * 125ms); }
.hero-copy > .hero-description { animation-delay: .62s; }
.hero-copy > .hero-actions { animation-delay: .78s; }
.hero-copy > .hero-assurances { animation-delay: .9s; }
@keyframes word-enter { from { opacity: 0; transform: translate3d(0,110%,0) rotate(1.5deg); } to { opacity: 1; transform: translate3d(0,0,0) rotate(0); } }

/* Separate transforms compose image scale, scroll movement and form float. */
.hero-image { transform: translate3d(0,var(--parallax-y,0px),0); animation: hero-settle 2.8s var(--ease) both; }
@keyframes hero-settle { from { transform: translate3d(0,var(--parallax-y,0px),0) scale(1.04); } to { transform: translate3d(0,var(--parallax-y,0px),0) scale(1); } }
.quote-form { transform: translate3d(0,var(--parallax-y,0px),0); animation: form-float 9s ease-in-out infinite; animation-delay: 1.2s; }
@keyframes form-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.quote-form:hover,.quote-form:focus-within { animation-play-state: paused; }
[data-parallax] { transform: translate3d(0,var(--parallax-y,0px),0) scale(var(--reveal-scale,1)); }
[data-drift] { transform: translate3d(var(--parallax-x,0px),0,0); }

.header { transition: background .65s var(--ease),box-shadow .65s var(--ease); }
.header.scrolled { box-shadow: 0 1px 0 #7a6a5e20,0 7px 26px #1f1a1705; }
.button > span,.text-link > span { transition: transform .55s var(--ease); }
.button:hover > span,.button:focus-visible > span { transform: translateX(5px); }
.text-link:hover > span { transform: translate(3px,-2px); }
.service-heading h3 { transition: transform .6s var(--ease); }
.service-link:hover .service-heading h3 { transform: translateX(4px); }
.service-photo { transition: box-shadow .6s var(--ease); }
.service-link:hover .service-photo { box-shadow: 0 12px 24px #1f1a1708; }
.service-photo img { transition: transform .85s var(--ease),filter .8s; }
.service-link:hover .service-photo img { transform: scale(1.06); }
.service-link:hover .round-arrow { transform: translateY(0) rotate(8deg); }

/* Two quiet, static wave edges; the content supplies the motion. */
.trust-strip { border-bottom: 0; }
.trust-strip:focus-within .marquee-track { animation-play-state: paused; }
.wave-divider { height: 36px; overflow: hidden; position: relative; margin-top: -1px; }
.wave-divider svg { width: 100%; height: 100%; display: block; }
.wave-cream { background: var(--sand); }
.wave-cream path { fill: var(--bg); }
.wave-review { background: var(--bg); height: 40px; }
.wave-review path { fill: var(--sand); }
.testimonials,.testimonials.in-view { background: var(--sand); }
.services { padding-top: 100px; }

/* Reveal families: type, prose, actions, and photographic masks. */
.js-motion .reveal-title { transform: translateY(50px); transition-duration: .95s; }
.js-motion .reveal-copy { transform: translateY(18px); transition-duration: .85s; transition-delay: var(--delay,120ms); }
.js-motion .reveal-button { transform: translateY(16px); transition-duration: .7s; }
.js-motion .reveal.visible { transform: translateY(0); }
.js-motion .reveal-mask { transform: translateY(20px); --reveal-scale: 1.06; transition: opacity .9s var(--ease) var(--delay,0ms),transform 1.15s var(--ease) var(--delay,0ms); }
.js-motion .reveal-mask.visible { transform: translateY(0); --reveal-scale: 1; }
/* Observe an unclipped parent; clipping the observed element prevents its entrance. */
.js-motion .reveal-mask > .parallax-frame,.js-motion .reveal-mask .editorial-tilt { clip-path: inset(0 0 100% 0 round 6px); transition: clip-path 1.15s var(--ease) var(--delay,0ms),transform .65s var(--ease); }
.js-motion .reveal-mask.visible > .parallax-frame,.js-motion .reveal-mask.visible .editorial-tilt { clip-path: inset(-5% -5% -5% -5% round 6px); }
.reveal-mask img { transition: transform 1.5s var(--ease); }
.js-motion .word-heading.reveal { opacity: 1; transform: none; }
.js-motion .word-heading.reveal .word { opacity: 0; transform: translateY(110%); transition: transform .95s var(--ease),opacity .75s var(--ease); transition-delay: calc(var(--word-index) * 100ms); }
.js-motion .word-heading.reveal.visible .word { opacity: 1; transform: translateY(0); }
.step-top span { display: inline-block; transform-origin: left center; }
.step.visible .step-top span { animation: number-accent 1.1s var(--ease) both; animation-delay: var(--delay,0ms); }
@keyframes number-accent { 0% { opacity: .3; transform: scale(.85); } 40% { color: #fff; transform: scale(1.16); } 100% { color: var(--accent); opacity: 1; transform: scale(1); } }
.step-top i { transform: scaleX(.15); transform-origin: left; transition: transform 1.1s var(--ease) var(--delay,0ms); }
.step.visible .step-top i { transform: scaleX(1); }
.about { overflow: clip; }
.about-copy { position: relative; isolation: isolate; }
.quality-word { position: absolute; top: 75px; left: -10%; font-size: clamp(130px,15vw,245px); line-height: 1; letter-spacing: -.065em; color: #e7dacb55; z-index: -1; pointer-events: none; }

/* The only rotated content is this editorial photography collection. */
.editorial { overflow: clip; padding-top: 50px; padding-bottom: 100px; }
.editorial-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.editorial-intro h2 { margin-top: 22px; }
.editorial-intro > p { max-width: 370px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.editorial-grid { display: grid; grid-template-columns: .9fr 1.18fr .7fr; align-items: start; column-gap: 28px; margin-top: 64px; padding: 0 8px; }
.editorial-item { margin: 0; min-width: 0; }
.editorial-office { --editorial-angle: -1deg; }
.editorial-home { --editorial-angle: 1.3deg; margin-top: 86px; margin-left: -9px; }
.editorial-detail { --editorial-angle: -1.2deg; margin-top: 18px; margin-left: -7px; }
.editorial-drift { transform: translate3d(0,var(--parallax-y,0px),0); }
.editorial-tilt { transform: perspective(1100px) rotate(var(--editorial-angle,0deg)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .65s var(--ease); }
.editorial-photo { overflow: hidden; border-radius: 5px; background: var(--sand); }
.editorial-photo img { height: 390px; transform: scale(var(--reveal-scale,1)); filter: saturate(.8); }
.editorial-home img { height: 430px; }
.editorial-detail img { height: 285px; }
.editorial-item figcaption { display: flex; flex-direction: column; gap: 7px; padding: 17px 2px 0; }
.editorial-item figcaption > span:first-child { font-size: 19px; letter-spacing: -.5px; }
.editorial-item figcaption > span:last-child { font-size: 10px; letter-spacing: 1.4px; color: var(--muted); }
.editorial-note { text-align: right; font-size: 12px; color: var(--muted); margin-top: 40px; }
.review-progress-group { display: flex; align-items: center; gap: 20px; }
.review-progress { height: 2px; width: 145px; overflow: hidden; background: #8a5a3325; }
#review-progress-fill { display: block; width: 100%; height: 100%; background: var(--brown); transform: scaleX(0); transform-origin: left; }
.contact-word { left: 50%; bottom: 35px; font-size: clamp(250px,40vw,650px); letter-spacing: -.06em; translate: -50% 0; color: #e6d6c44d; }
.contact-brand-mark { animation: brand-mark-drift 16s ease-in-out infinite; animation-play-state: paused; }
.contact.in-view .contact-brand-mark { animation-play-state: running; }
@keyframes brand-mark-drift { 0%,100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.motion-paused .word,.motion-paused .reveal-mask { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.motion-paused .hero-image,.motion-paused .quote-form,.motion-paused .step-top span,.motion-paused .contact-brand-mark { animation: none !important; translate: none !important; }
.motion-paused .editorial-drift,.motion-paused .editorial-tilt { transform: none !important; }
.motion-paused .reveal-mask img { transform: none !important; }
.motion-paused .reveal-mask > .parallax-frame,.motion-paused .reveal-mask .editorial-tilt { clip-path: none !important; }
.motion-paused .review-slide { transform: none !important; opacity: 1 !important; }
.motion-paused .word,.motion-paused .review-slide,.motion-paused .reveal-mask * { animation: none !important; transition: none !important; }
.motion-paused .service-link:hover,.motion-paused .service-link:hover img,.motion-paused .service-link:hover h3,.motion-paused .button:hover > span { transform: none; }

@media (max-width: 850px) {
  .editorial-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .editorial-detail { grid-column: 2; margin-top: -50px; width: 82%; justify-self: end; }
  .editorial-office img { height: 350px; }.editorial-home img { height: 400px; }.editorial-detail img { height: 240px; }
  .editorial-home { margin-top: 60px; }
  .editorial-intro { align-items: start; }.editorial-intro > p { max-width: 270px; font-size: 15px; }
  .quote-form { animation: none; }
  .quality-word { font-size: 140px; }
}
@media (max-width: 600px) {
  .nav-cta { display: inline-flex; font-size: 11px; padding: 12px 13px; gap: 13px; margin-left: auto; }
  .nav-cta > span { font-size: 18px; }.menu-toggle { margin-left: 0; }.nav-shell { gap: 13px; }
  .nav-cta { max-width: 180px; }.header.scrolled .nav-shell { padding-top: 13px; padding-bottom: 13px; }
  .hero-copy .hero-actions .button { min-height: 54px; }
  .wave-divider { height: 24px; }.wave-review { height: 30px; }.services { padding-top: 60px; }
  .editorial { padding-top: 10px; padding-bottom: 60px; }
  .editorial-intro { display: block; }.editorial-intro h2 { font-size: 47px; }.editorial-intro > p { max-width: none; margin-top: 22px; }
  .editorial-grid { margin-top: 40px; gap: 25px 17px; padding: 0 4px; }
  .editorial-office img { height: 240px; }.editorial-home img { height: 280px; }.editorial-detail img { height: 210px; }
  .editorial-home { margin-left: 0; margin-top: 42px; }.editorial-detail { margin-top: -26px; grid-column: 1 / -1; width: 54%; margin-right: 16px; }
  .editorial-item figcaption > span:first-child { font-size: 16px; line-height: 1.3; }.editorial-item figcaption > span:last-child { font-size: 9px; letter-spacing: .8px; }
  .editorial-note { margin-top: 25px; }.editorial-tilt { transform: rotate(var(--editorial-angle,0deg)); }
  .review-progress { width: 74px; }.review-progress-group { gap: 13px; }.review-controls { gap: 8px; }.review-controls .review-pause { margin-right: 0; }
  .review-controls button { width: 42px; height: 42px; }
  input,select,textarea { font-size: 16px; } /* Avoid mobile focus zoom. */
  .quote-form { bottom: 0; }.hero-visual { min-height: 835px; }
}
@media (max-width: 360px) {
  .nav-cta { font-size: 10px; padding: 11px 10px; gap: 8px; }.nav-shell { gap: 8px; }.nav-cta > span { font-size: 15px; }
  .word-heading .word-line { letter-spacing: -.075em; }
  .editorial-grid { grid-template-columns: 1fr; gap: 36px; }.editorial-home,.editorial-detail { margin: 0; width: auto; grid-column: auto; }.editorial-item img { height: 300px; }
  .review-progress { width: 45px; }.review-progress-group { gap: 10px; }.review-controls button { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .js-motion .reveal,.js-motion .reveal-mask,.js-motion .word-heading.reveal .word,#hero-title .word { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero-image,.quote-form,[data-parallax],[data-drift],.editorial-drift,.editorial-tilt,.reveal-mask img { transform: none !important; translate: none !important; }
  .service-link:hover,.service-link:hover img,.service-link:hover h3,.button:hover > span,.text-link:hover > span { transform: none !important; }
  .step-top i { transform: none; }
  .review-slide { opacity: 1 !important; transform: none !important; }
  .js-motion .reveal-mask > .parallax-frame,.js-motion .reveal-mask .editorial-tilt { clip-path: none !important; }
}
