/* A personal story beside the artist's gesture. */
main > .home-window {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  padding-top: 90px;
  padding-bottom: 90px;
}
.home-window-copy { max-width: 580px; }
.home-window h2 { max-width: 11ch; text-wrap: balance; }
.home-window p { margin: 25px 0 30px; }
.home-window small { max-width: 47ch; margin-top: 22px; }
.home-window .button { background: #024767; border-radius: 999px; }
.home-window-photo { margin: 0; min-width: 0; }
.home-window-photo > .motion-media {
  height: clamp(380px, 38vw, 570px);
  aspect-ratio: auto;
  border-radius: 24px;
  --parallax-strength: .13;
}
body main .home-window-photo .motion-media > img {
  top: -17%;
  height: 134%;
  object-position: 52% center;
}
.home-window-photo figcaption { margin-top: 16px; color: #4c5b60; font-size: 12px; }

/* Two short brush gestures, painted once when each invitation comes into view. */
.cta { position: relative; isolation: isolate; overflow: hidden; }
.cta > :not(.qsc-brush) { position: relative; z-index: 1; }
.cta > .qsc-brush {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  display: block;
  width: clamp(360px, 43vw, 720px);
  height: clamp(100px, 13vw, 180px);
  background: url('/assets/blue-brush-stroke.svg') center / 100% 100% no-repeat;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}
.qsc-brush-one { left: -140px; top: 65px; transform: rotate(-15deg); }
.qsc-brush-two { right: -150px; bottom: 55px; transform: rotate(167deg); }
.cta.brush-revealed > .qsc-brush { animation: qsc-paint-in 1.9s cubic-bezier(.2,.65,.2,1) both; }
.cta.brush-revealed > .qsc-brush-two { animation-delay: .45s; }
@keyframes qsc-paint-in {
  0% { clip-path: inset(0 100% 0 0); opacity: 0; }
  25% { opacity: .13; }
  100% { clip-path: inset(0 0 0 0); opacity: .10; }
}
@media (max-width: 760px) {
  main > .home-window { grid-template-columns: 1fr; gap: 38px; padding: 65px 24px; }
  .home-window h2 { max-width: 16ch; }
  .home-window-photo > .motion-media { height: auto; aspect-ratio: 5 / 4; border-radius: 20px; --parallax-strength: .08; }
  .cta > .qsc-brush { width: 330px; height: 110px; }
  .qsc-brush-one { left: -215px; top: 45px; }
  .qsc-brush-two { right: -210px; bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .cta > .qsc-brush,
  .cta.brush-revealed > .qsc-brush { animation: none; clip-path: none; opacity: .07; }
  body main .home-window-photo .motion-media > img { transform: none; will-change: auto; }
}

/* Keep the complete main menu comfortable before switching to its mobile form. */
@media(min-width:1051px){body>header{gap:20px;padding-left:3%;padding-right:3%}body>header>.logo,body>header>a>.logo{width:195px}body>header>nav{gap:clamp(12px,1.3vw,21px)}body>header>nav>a{white-space:nowrap;font-size:12px}body>header>nav>.button{gap:12px;padding:13px 14px}}
@media(min-width:1051px) and (max-width:1230px){body>header{flex-wrap:wrap}body>header>.menu-toggle{display:block;background:#fff;border:1px solid #d9d3ca;padding:10px 14px;color:#024767;min-height:44px}body>header>nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding:18px 0;gap:20px}body>header>nav.open{display:flex}}

/* The actual paintings emerge through the blue, following the visitor's hand. */
.home-story-links .story-reveal { position:relative; isolation:isolate; overflow:hidden; user-select:none; background:#719cb6; min-height:240px; --cursor-x:50%; --cursor-y:50%; }
.home-story-links .story-reveal::before,.home-story-links .story-reveal::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background-image:var(--story-image); background-size:cover; background-position:center; opacity:0; transition:opacity .45s ease; }
.home-story-links .story-reveal::before { mix-blend-mode:multiply; }
.home-story-links .story-reveal::after { mask-image:radial-gradient(ellipse 210px 165px at var(--cursor-x) var(--cursor-y),rgba(0,0,0,.7) 0%,rgba(0,0,0,.4) 30%,rgba(0,0,0,.12) 60%,transparent 90%); }
.home-story-links .story-reveal .project-copy { position:relative; z-index:2; padding:28px 24px; background:transparent; }
.home-story-links .story-reveal .project-copy p { max-width:31ch; }
.home-story-links .story-reveal:hover::before,.home-story-links .story-reveal:focus-visible::before { opacity:.66; }
.home-story-links .story-reveal:hover::after,.home-story-links .story-reveal:focus-visible::after { opacity:.32; }
.home-story-links .story-reveal:hover .project-copy,.home-story-links .story-reveal:focus-visible .project-copy { background:linear-gradient(180deg,rgba(2,45,65,.60),rgba(2,45,65,.12)); }
.home-story-links .story-reveal:is(:hover,:focus-visible) :is(h3,p,.eyebrow) { color:white; text-shadow:0 1px 9px rgba(0,25,40,.5); }
.story-cursor { position:absolute; width:360px; height:290px; left:var(--cursor-x); top:var(--cursor-y); transform:translate(-50%,-50%); border-radius:50%; z-index:1; pointer-events:none; opacity:0; background:radial-gradient(ellipse,rgba(255,250,238,.1),rgba(255,250,238,.035) 40%,transparent 72%); mix-blend-mode:soft-light; filter:blur(18px); transition:opacity .6s; }
.story-reveal:hover .story-cursor { opacity:.45; }
.story-reveal:focus-visible { outline:3px solid #024767; outline-offset:5px; }
.home-story-links .story-reveal:nth-child(3)::before,
.home-story-links .story-reveal:nth-child(3)::after { background-position:center 20%; }

/* Full artworks, with enough room around each canvas to read its composition. */
.blog-archive .blog-project-stories .blog-story-links>a>img { aspect-ratio:4/3; object-fit:cover; object-position:center; background:#ebe8e2; padding:0; border-radius:14px; box-sizing:border-box; }
.blog-archive .blog-story-links>a:nth-child(1)>img { object-position:52% 35%; }
.blog-archive .blog-story-links>a:nth-child(2)>img { object-position:50% 16%; }
.blog-archive .blog-story-links>a:nth-child(3)>img { object-position:50% 18%; }
.blog-archive .blog-card { align-items:stretch; }
.blog-archive .blog-card>.motion-media { height:100%; min-height:360px; aspect-ratio:auto!important; }
body main .blog-archive .blog-card>.motion-media>img { top:0; height:100%; width:100%; min-height:0; object-fit:cover; object-position:45% 45%; transform:none!important; }
.blog-archive .blog-card-copy { align-self:center; }
body main figure.artist-cover { aspect-ratio:2.65!important; }
body main figure.artist-cover>.cover-media-r9>img { top:0; height:100%; object-position:center 24%; transform:none!important; }
body main figure.artist-cover .cover-overlay-r9 { right:44%; padding-right:0; padding-bottom:4vw; }
body main figure.artist-cover h1 { font-size:clamp(34px,3.65vw,62px); max-width:17ch; }
body main figure.artist-cover::after { background:linear-gradient(90deg,rgba(3,21,33,.85),rgba(3,21,33,.25) 60%,transparent); }

.finestra-test-invitation { display:grid; grid-template-columns:100px 1fr; gap:36px; align-items:start; background:#edf3f5; border:1px solid #d0e0e6; padding:clamp(28px,5vw,65px); border-radius:24px; margin:0 0 65px; }
.finestra-box-icon { width:90px; height:90px; color:#719cb6; }
.finestra-test-invitation h2 { margin:15px 0 20px; }
.finestra-test-invitation p { max-width:62ch; margin-bottom:28px; }
.finestra-test-invitation .button { gap:22px; }
.finestra-test-invitation small { display:block; margin-top:18px; font-size:12px; }

/* Google-source reviews: readable cards, arrows and native touch scrolling. */
.google-reviews { background:#f7f5f2; overflow:hidden; padding-top:85px; padding-bottom:75px; }
.reviews-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:34px; }
.reviews-heading h2 { max-width:16ch; margin:18px 0; }
.reviews-heading p { margin-bottom:0; }
.review-controls { display:flex; gap:10px; flex:none; padding-bottom:8px; }
.review-controls button { display:grid; place-items:center; width:48px; height:48px; border:1px solid #bfd0d9; border-radius:50%; background:transparent; color:#024767; cursor:pointer; font:inherit; font-size:24px; }
.review-controls button:hover { background:#024767; color:white; }
.review-controls button:disabled { opacity:.3; cursor:default; }
.google-reviews-track { display:flex; gap:22px; overflow-x:auto; padding:3px 3px 24px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#719cb6 #e2e9eb; }
.google-reviews-track:focus-visible { outline:2px solid #719cb6; outline-offset:5px; }
.google-review { flex:0 0 350px; padding:28px; background:white; border:1px solid #e2e5e4; border-radius:20px; scroll-snap-align:start; }
.review-person { display:flex; gap:12px; align-items:center; }
.review-person strong { font-size:14px; color:#024767; }
.review-person time { display:block; font-size:11px; color:#76746e; margin-top:3px; }
.review-avatar { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#e8eff2; color:#024767; font-size:12px; flex:none; }
.review-google { margin-left:auto; width:22px; height:22px; object-fit:contain; flex:none; }
.review-rating { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:20px 0; }
.review-stars { color:#b38b3e; font-size:19px; letter-spacing:2px; }
.review-source { display:inline-flex; gap:4px; align-items:center; color:#477486; font-size:10px; }
.review-verified { width:16px; height:16px; }
.google-review blockquote { margin:0; font-size:15px; line-height:1.75; }
.reviews-link { display:inline-block; margin-top:24px; color:#024767; font-size:14px; text-underline-offset:5px; }

/* Press belongs to the artist's story, immediately before the final invitation. */
.press-section { padding:75px 0 80px; border-top:1px solid #e5dfd7; overflow:hidden; }
.press-heading { margin:0 6% 42px; display:flex; align-items:center; justify-content:space-between; gap:25px; }
.press-heading h2 { margin:14px 0 0; }
.press-pause { border:1px solid #d0dee5; border-radius:30px; background:transparent; color:#024767; padding:10px 18px; cursor:pointer; font:inherit; font-size:12px; }
.press-pause span { margin-left:8px; }
.press-marquee { overflow:hidden; }
.press-logo-track { display:flex; width:max-content; animation:press-drift 52s linear infinite; }
.press-logo-group { display:flex; align-items:center; gap:70px; padding:0 35px; flex:none; }
.press-logo-group>* { display:flex; align-items:center; justify-content:center; width:200px; height:100px; flex:none; }
.press-logo-group img { object-fit:contain; width:auto; max-width:200px; height:auto; max-height:75px; }
.press-section.is-paused .press-logo-track,
.press-marquee:is(:hover,:focus-within) .press-logo-track { animation-play-state:paused; }
@keyframes press-drift { to { transform:translateX(-50%); } }
@media(max-width:760px) {
  .home-story-links .story-reveal { min-height:220px; }
  .blog-archive .blog-card>.motion-media { height:320px; min-height:0; aspect-ratio:4/3!important; }
  body main figure.artist-cover { aspect-ratio:auto!important; min-height:520px; }
  body main figure.artist-cover>.cover-media-r9>img { object-position:55% 30%; }
  body main figure.artist-cover .cover-overlay-r9 { right:0; padding:30px 24px; }
  body main figure.artist-cover h1 { font-size:38px; max-width:21ch; }
  body main figure.artist-cover::after { background:linear-gradient(0deg,rgba(3,21,33,.94),transparent 80%); }
  .finestra-test-invitation { grid-template-columns:1fr; gap:18px; padding:30px 24px; }
  .finestra-box-icon { width:64px; height:64px; }
  .reviews-heading { align-items:start; flex-direction:column; gap:20px; }
  .google-review { flex-basis:min(320px,82vw); padding:22px; }
  .google-reviews { padding-top:60px; padding-bottom:55px; }
  .press-section { padding:55px 0; }
  .press-heading { margin:0 24px 30px; }
  .press-logo-group { gap:34px; padding:0 17px; }
  .press-logo-group>* { width:160px; }
  .press-logo-group img { max-width:160px; max-height:65px; }
}
@media(hover:none) {
  .home-story-links .story-reveal::before { opacity:.38; }
  .home-story-links .story-reveal .project-copy { background:rgba(2,45,65,.48); }
  .home-story-links .story-reveal .project-copy :is(h3,p,.eyebrow) { color:white; }
  .story-cursor { display:none; }
}
@media(prefers-reduced-motion:reduce) {
  .press-logo-track { animation:none; transform:none; width:auto; }
  .press-marquee { overflow-x:auto; }
  .press-logo-group[aria-hidden] { display:none; }
  .press-pause { display:none; }
  .story-cursor { display:none; }
  .home-story-links .story-reveal::after { mask-image:none; opacity:0!important; }
  .home-story-links .story-reveal::before { transition:none; }
}

/* A balanced interior photograph, aligned to the consultation copy. */
.consultation-presentation { align-items:stretch; gap:clamp(32px,5vw,70px); padding:44px 36px; background:linear-gradient(135deg,#f7f5f2,#f2f0ec); }
.consultation-presentation>.process-copy { align-self:center; }
.consultation-presentation>figure { align-self:stretch; min-width:0; }
.consultation-presentation>figure>.motion-media { position:relative; height:100%; min-height:480px; aspect-ratio:auto; border-radius:22px; box-shadow:0 14px 35px #263e4610; }
body main .consultation-presentation>figure>.motion-media>img { top:0; width:100%; height:100%; max-height:none; aspect-ratio:auto; object-fit:cover; object-position:50% 53%; transform:none!important; filter:brightness(1.035) contrast(1.025) saturate(.94); }
.consultation-presentation>figure>.motion-media::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(145deg,#fff7e914,transparent 45%,#02476705); mix-blend-mode:soft-light; }

/* A more compact brief gives the artist's introduction a useful counterpart. */
.contact-grid { align-items:stretch; gap:clamp(40px,6vw,90px); }
.contact-copy-panel { display:flex; flex-direction:column; align-items:flex-start; padding:10px 0 12px; }
.contact-copy-panel .contact-portrait-r8 { width:150px; height:150px; margin:0 0 30px; }
.contact-copy-panel>p { max-width:48ch; margin:8px 0 20px; }
.contact-copy-panel .contact-direct { width:100%; margin:28px 0 36px; padding-top:28px; border-top:1px solid #ded9d1; }
.contact-copy-panel .contact-direct h3 { font-size:31px; }
.contact-copy-panel .contact-line { margin:20px 0; }
.contact-preparation { margin-top:auto; width:100%; padding:30px; background:#edf3f5; border-radius:22px; }
.contact-preparation .eyebrow { font-size:10px; margin-bottom:16px; }
.contact-preparation h3 { font-size:32px; }
.contact-preparation ol { padding:0; margin:24px 0; list-style:none; }
.contact-preparation li { display:flex; align-items:baseline; gap:14px; margin:17px 0; font-size:14px; line-height:1.6; }
.contact-preparation li>span { color:#719cb6; font-size:11px; flex:none; }
.contact-preparation p { font-size:12px; line-height:1.7; margin:20px 0 0; }
.contact-grid>form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; column-gap:18px; row-gap:22px; padding:36px; border-radius:24px; }
.contact-grid>form>.eyebrow,.contact-grid>form>h2,.contact-grid>form>small,.contact-grid>form>div,.contact-grid>form>p { grid-column:1/-1; }
.contact-grid>form>.eyebrow { margin-bottom:0; }
.contact-grid>form>h2 { margin:0 0 4px; }
.contact-grid>form>label { min-width:0; margin:0; line-height:1.6; font-size:13px; }
.contact-grid>form>label:has(textarea),.contact-grid>form>label:has(input[type="date"]) { grid-column:1/-1; }
.contact-grid>form :is(input,select,textarea) { min-width:0; width:100%; font-size:14px; padding:12px 11px; }
.contact-grid>form>small { margin-top:-10px; }
.contact-grid>form .contact-channel-actions { margin-top:0; }
.contact-grid>form .contact-channel-actions button { margin-top:0; }
.contact-grid>form .form-note { margin:0; }
.contact-grid>form .form-status:empty { display:none; }
@media(max-width:950px) {
  .contact-grid { gap:40px; }
  .contact-copy-panel { display:block; padding:0; }
  .contact-preparation { margin-top:24px; }
}
@media(max-width:700px) {
  .consultation-presentation { padding:32px 22px; gap:30px; }
  .consultation-presentation>figure>.motion-media { height:auto; min-height:0; aspect-ratio:4/5; }
  .contact-grid>form { padding:26px 22px; grid-template-columns:1fr; gap:22px; }
  .contact-preparation { padding:26px 22px; }
  .contact-copy-panel .contact-portrait-r8 { width:120px; height:120px; margin-bottom:26px; }
}

/* Revision 22: exact frame coverage in the catalogue, without a parallax bottom gap. */
.catalogue-selection .catalogue-gallery figure{margin:0;aspect-ratio:1;overflow:hidden;border-radius:22px;background:#e7e4df}
.catalogue-selection .catalogue-gallery figure>.motion-media{width:100%;height:100%;aspect-ratio:1;border-radius:inherit}
body main .catalogue-selection .catalogue-gallery figure>.motion-media>img{inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover!important;object-position:var(--catalogue-focus,50% 50%);transform:scale(var(--catalogue-scale,1));will-change:auto}
.catalogue-selection .catalogue-gallery figure:nth-child(3){--catalogue-focus:50% 46%;--catalogue-scale:1.10}
.catalogue-selection .catalogue-gallery figure:nth-child(4){--catalogue-focus:50% 50%;--catalogue-scale:1.48}
.catalogue-selection .catalogue-gallery figure:nth-child(5){--catalogue-focus:50% 40%;--catalogue-scale:1.30}
.listening-project>figure>.motion-media{aspect-ratio:1.12;--parallax-strength:.025}
body main .listening-project>figure>.motion-media>img{inset:-3% 0 auto;height:106%;object-position:50% 50%}
.blog-archive .blog-card>.motion-media{min-height:390px}
body main .blog-archive .blog-card>.motion-media>img{object-position:50% 42%}
@media(max-width:760px){.blog-archive .blog-card>.motion-media{height:auto;min-height:0;aspect-ratio:4/3!important}.listening-project>figure>.motion-media{aspect-ratio:1.25}}

/* Cala Goloritzé fills the place-inspired panel, with its rock spire and shoreline in view. */
.process-row.wonderful-place > figure > .motion-media { aspect-ratio: 1; }
body main .wonderful-place > figure > .motion-media > img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: none; will-change: auto; }
body > header > nav > .nav-shop { display: inline-flex; align-items: center; gap: 4px; }
