:root {
  color-scheme: dark;
  --paper: #101112;
  --paper-dark: #191b1f;
  --ink: #f2f1ec;
  --ink-soft: #a4a7ab;
  --line: rgba(255, 255, 255, .13);
  --white: #ffffff;
  --accent: #a78bfa;
  --radius-card: 16px;
  --radius-control: 10px;
  --panel: #1a1d21;
  --font-body: "Montserrat", sans-serif;
  --font-display: "Syne", sans-serif;
  --page-pad: clamp(1.2rem, 6.4vw, 6.5rem);
  --content-width: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .8rem 1rem; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 84px; padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; background: rgba(16,17,18,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.wordmark { display: inline-flex; align-items: baseline; gap: .045em; font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; letter-spacing: -.07em; white-space: nowrap; transition: color .25s ease, text-shadow .25s ease, transform .25s ease; }
.wordmark:hover { transform: translateY(-1px); text-shadow: 0 0 24px rgba(167,139,250,.24); }
.wordmark-base { color: var(--ink); }
.wordmark-accent { color: var(--accent); }
.wordmark-header { flex: 0 0 auto; }
.social-header-link { min-height: 40px; padding: .45rem .75rem; display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; border: 1px solid rgba(167,139,250,.32); border-radius: 999px; color: var(--ink-soft); font-size: .66rem; font-weight: 700; letter-spacing: .06em; transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.social-header-link:hover, .social-header-link:focus-visible { color: var(--white); border-color: rgba(167,139,250,.72); transform: translateY(-1px); box-shadow: 0 0 20px rgba(167,139,250,.16); }
.social-header-link svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.1rem); }
.site-nav a, .header-cta { font-size: .76rem; font-weight: 600; letter-spacing: .04em; }
.site-nav a { color: var(--ink-soft); transition: color .2s ease; }
.site-nav a:hover { color: var(--accent); }
.header-cta { min-height: 44px; padding: .65rem 1.05rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid rgba(196,181,253,.4); border-radius: 999px; background: var(--accent); color: #17131f; box-shadow: 0 6px 22px rgba(167,139,250,.22); white-space: nowrap; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.header-cta:hover { transform: translateY(-1px); border-color: #c4b5fd; background: #c4b5fd; color: #17131f; box-shadow: 0 8px 24px rgba(167,139,250,.3); }
.header-cta-label-compact { display: none; }
.header-cta-arrow { color: inherit; margin-left: .1rem; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; min-height: min(760px, calc(100svh - 84px)); min-height: clamp(620px, 80svh, 860px); display: flex; align-items: center; overflow: hidden; background: #17131f; color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 47%; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08); will-change: transform; }
.hero-shade { z-index: 0; background: linear-gradient(90deg, rgba(8, 12, 20, .83) 0%, rgba(8, 12, 20, .52) 49%, rgba(8, 12, 20, .12) 100%), linear-gradient(0deg, rgba(8, 12, 20, .45), transparent 35%); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 18%, rgba(167,139,250,.2), transparent 36%); animation: violet-breathe 9s ease-in-out infinite alternate; }
.hero-content { position: relative; z-index: 2; width: min(750px, 75%); padding: 7rem var(--page-pad) 8rem; }
.eyebrow { margin: 0 0 1.1rem; color: var(--accent); font-size: .67rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-light { color: #c4b5fd; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 .5rem .02rem 0; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); }
.hero h1 { max-width: 780px; margin: 0 0 1.25rem; font-size: clamp(4.2rem, 10.5vw, 9rem); line-height: .91; letter-spacing: -.085em; font-weight: 600; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 460px; color: rgba(255, 254, 250, .8); font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.1rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; border: 0; border-radius: 999px; min-height: 52px; padding: 0 1.45rem; font-size: .76rem; font-weight: 700; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1rem; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #f0ebff; }
.button-dark { background: var(--accent); color: #17131f; box-shadow: 0 8px 25px rgba(167,139,250,.12); }
.button-dark:hover { background: #c4b5fd; box-shadow: 0 10px 32px rgba(167,139,250,.34), 0 0 22px rgba(196,181,253,.22); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; padding-bottom: .4rem; border-bottom: 1px solid currentColor; font-size: .75rem; font-weight: 600; }
.text-link-light { color: var(--white); }
.text-link span { color: var(--accent); font-size: 1rem; }
.hero-index { position: absolute; z-index: 2; right: var(--page-pad); bottom: 2.4rem; margin: 0; font-size: .7rem; letter-spacing: .1em; }
.hero-index span { color: var(--accent); margin: 0 .35rem; }
.hero-scroll { position: absolute; z-index: 2; left: var(--page-pad); bottom: 2.25rem; display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.75); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll span { width: 1px; height: 28px; background: var(--accent); }

.trust-strip { min-height: 88px; padding: 1.1rem var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: linear-gradient(90deg, rgba(167,139,250,.045), rgba(255,255,255,.018) 48%, rgba(167,139,250,.035)); border-bottom: 1px solid var(--line); }
.trust-strip-label { margin: 0; color: var(--ink-soft); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.trust-marks { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1.2rem, 4vw, 3.4rem); }
.trust-mark { display: inline-flex; align-items: center; gap: .65rem; color: rgba(242,241,236,.66); white-space: nowrap; }
.trust-mark strong { color: rgba(242,241,236,.82); font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -.065em; }
.trust-mark span { font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.trust-mark-eusa { gap: .6rem; }
.trust-divider { width: 1px; height: 30px; background: rgba(255,255,255,.18); }

.intro-band { min-height: 112px; padding: 1.2rem var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.intro-band > p { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -.04em; }
.specialties { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.25rem; max-width: 100%; min-width: 0; color: var(--ink-soft); font-size: .68rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.specialties span { white-space: nowrap; }
.specialties i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.section { padding: clamp(5.5rem, 10vw, 9rem) var(--page-pad); }
.portfolio-section { max-width: calc(var(--content-width) + 2 * var(--page-pad)); margin: 0 auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: .99; letter-spacing: -.075em; font-weight: 600; }
.section-note { max-width: 335px; margin: 0 0 .4rem; color: var(--ink-soft); font-size: .86rem; line-height: 1.7; }
.portfolio-grid { display: block; column-count: 3; column-gap: clamp(.65rem, 1.4vw, 1.1rem); }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2rem; }
.portfolio-filter { min-height: 40px; padding: .55rem 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--ink-soft); font: 600 .69rem/1 var(--font-body); transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.portfolio-filter:hover { border-color: rgba(167,139,250,.65); color: #e9ddff; transform: translateY(-1px); }
.portfolio-filter.is-active { border-color: rgba(167,139,250,.86); background: linear-gradient(110deg, rgba(167,139,250,.25), rgba(124,58,237,.22)); color: #f6f1ff; box-shadow: 0 0 22px rgba(124,58,237,.15), inset 0 0 0 1px rgba(167,139,250,.12); }
.portfolio-filter-status { margin: -.9rem 0 1.7rem; color: #c4b5fd; font-size: .78rem; line-height: 1.6; }
.portfolio-grid .project-card { display: inline-block; width: 100%; margin: 0 0 clamp(.65rem, 1.4vw, 1.1rem); break-inside: avoid; transform-origin: center; transition: opacity .24s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.project-card[hidden] { display: none !important; }
.project-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.project-image-wrap { display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: #17141d; box-shadow: 0 18px 42px rgba(0,0,0,.26); }
.project-image-wrap img { display: block; width: 100%; height: auto; object-fit: contain; image-rendering: auto; backface-visibility: hidden; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease, box-shadow .4s ease; }
.project-open:hover .project-image-wrap, .project-open:focus-visible .project-image-wrap { box-shadow: 0 12px 38px rgba(167,139,250,.2), 0 0 0 1px rgba(196,181,253,.25); }
.project-open:hover .project-image-wrap img, .project-open:focus-visible .project-image-wrap img { transform: scale(1.035); filter: saturate(1.04) contrast(1.025); }
@media (max-width: 900px) {
  .portfolio-grid { column-count: 2; }
}
@media (max-width: 620px) {
  .portfolio-grid { column-count: 2; column-gap: .55rem; }
  .portfolio-grid .project-card { margin-bottom: .55rem; }
  .portfolio-filter { min-height: 38px; padding: .5rem .8rem; font-size: .65rem; }
  .project-image-wrap { border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-image-wrap img, .portfolio-grid .project-card { transition: none; }
}
.portfolio-footnote { margin: 3rem 0 0; color: var(--ink-soft); font-size: .7rem; }

.services-section { background: var(--panel); color: var(--white); }
.services-inner { max-width: var(--content-width); margin: 0 auto; padding: clamp(5.5rem, 9vw, 8rem) var(--page-pad); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); }
.services-intro h2 { margin-bottom: 1.6rem; }
.services-intro > p:not(.eyebrow) { max-width: 390px; margin-bottom: 2rem; color: rgba(255,254,250,.65); font-size: .86rem; line-height: 1.8; }
.services-intro .text-link { margin-top: .7rem; }
.service-list { align-self: center; border-top: 1px solid rgba(255,255,255,.22); }
.service-item { min-height: 135px; padding: 1.5rem 0; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.22); transition: padding-left .25s ease, border-color .25s ease; }
.service-item:hover { padding-left: .45rem; border-color: rgba(167,139,250,.55); }
.service-number { align-self: start; padding-top: .4rem; color: #c4b5fd; font-size: .67rem; }
.service-item h3 { margin: 0 0 .45rem; font-family: var(--font-display); font-size: clamp(1.55rem, 2.8vw, 2.1rem); font-weight: 500; letter-spacing: -.06em; }
.service-item p { max-width: 510px; margin: 0; color: rgba(255,254,250,.7); font-size: .78rem; line-height: 1.7; }

.booking-section { max-width: calc(var(--content-width) + 2 * var(--page-pad)); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.booking-copy h2 { margin-bottom: 1.4rem; }
.booking-copy > p:not(.eyebrow) { max-width: 390px; margin-bottom: 1.6rem; color: var(--ink-soft); font-size: .87rem; line-height: 1.8; }
.booking-cta-card { position: relative; isolation: isolate; min-height: 330px; padding: clamp(1.7rem, 3.8vw, 3.2rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; border: 1px solid rgba(167,139,250,.16); border-radius: var(--radius-card); background: linear-gradient(135deg, #1a1d21 0%, #211a30 100%); box-shadow: 0 24px 70px rgba(0,0,0,.24), 0 0 38px rgba(167,139,250,.07); }
.booking-cta-card::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -90px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.22), rgba(167,139,250,0) 70%); }
.booking-cta-card h3 { margin: .5rem 0 1rem; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: .98; letter-spacing: -.06em; }
.booking-cta-card > p:not(.eyebrow) { max-width: 420px; margin: 0 0 1.6rem; color: var(--ink-soft); font-size: .82rem; line-height: 1.7; }

.reviews-section { position: relative; isolation: isolate; max-width: calc(var(--content-width) + 2 * var(--page-pad)); margin: 0 auto; overflow: hidden; }
.reviews-section::before { content: ""; position: absolute; z-index: -1; width: min(52vw, 700px); height: min(52vw, 700px); right: -20%; top: -24%; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,196,.15), rgba(124,92,196,0) 68%); pointer-events: none; }
.reviews-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.reviews-feed-column { min-width: 0; }
.review-overview { min-height: 122px; margin: 0 0 1.3rem; padding: 1.2rem 1.5rem; display: flex; align-items: center; gap: 1.35rem; border: 1px solid rgba(167,139,250,.28); border-radius: var(--radius-card); background: linear-gradient(120deg, rgba(38,30,57,.8), rgba(22,24,30,.92)); box-shadow: 0 14px 38px rgba(0,0,0,.2), 0 0 28px rgba(167,139,250,.07); }
.review-score { display: flex; align-items: baseline; gap: .45rem; white-space: nowrap; }
.review-score strong { font-family: var(--font-display); font-size: clamp(2.65rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.08em; }
.review-score > span { color: var(--ink-soft); font-size: .85rem; font-weight: 600; }
.review-overview-meta { display: flex; flex-direction: column; gap: .3rem; }
.review-average-stars { color: #c4b5fd; font-size: clamp(1.2rem, 2.2vw, 1.55rem); letter-spacing: .11em; line-height: 1; text-shadow: 0 0 18px rgba(167,139,250,.38); white-space: nowrap; }
.review-average-stars.is-empty { color: rgba(196,181,253,.42); text-shadow: none; }
.review-summary { margin: 0; color: var(--ink-soft); font-size: .67rem; font-weight: 600; letter-spacing: .04em; }
.reviews-list { display: grid; gap: 1rem; }
.review-card { padding: 1.45rem 1.55rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: linear-gradient(140deg, rgba(25,30,39,.92), rgba(18,20,24,.94)); box-shadow: 0 14px 40px rgba(0,0,0,.16), 0 0 22px rgba(167,139,250,.035); }
.review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.review-author { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.review-stars { color: #c4b5fd; font-size: .9rem; letter-spacing: .14em; white-space: nowrap; }
.review-text { margin: 0; color: rgba(255,255,255,.77); font-size: .82rem; line-height: 1.75; overflow-wrap: anywhere; }
.review-reply { margin: 1.15rem 0 0; padding: .95rem 0 0 1rem; border-top: 1px solid rgba(167,139,250,.3); border-left: 2px solid var(--accent); color: rgba(255,255,255,.75); font-size: .79rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-reply-badge { display: inline-flex; align-items: center; margin: 0 .55rem .45rem 0; padding: .2rem .55rem; border: 1px solid rgba(196,181,253,.5); border-radius: 999px; background: rgba(124,92,196,.2); color: #c4b5fd; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.review-state { margin: 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.7; }
.review-form { display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.45rem, 3.2vw, 2.15rem); border: 1px solid rgba(167,139,250,.25); border-radius: var(--radius-card); background: linear-gradient(140deg, rgba(30,33,43,.92), rgba(21,22,30,.92)); box-shadow: 0 22px 62px rgba(0,0,0,.22), 0 0 30px rgba(92,60,166,.12); }
.review-form h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.05; letter-spacing: -.04em; }
.review-form > label, .rating-fieldset legend { color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 600; }
.review-form input[type="text"], .review-form textarea { width: 100%; padding: .85rem .95rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-control); background: #11151c; color: var(--white); font-size: .83rem; line-height: 1.5; transition: border-color .18s ease, box-shadow .18s ease; }
.review-form input[type="text"]:focus, .review-form textarea:focus { border-color: var(--accent); outline: 2px solid rgba(167,139,250,.18); }
.review-form input[aria-invalid="true"], .review-form textarea[aria-invalid="true"] { border-color: rgba(232,141,157,.7); box-shadow: 0 0 0 3px rgba(232,141,157,.08); }
.review-form textarea { min-height: 120px; resize: vertical; }
.rating-fieldset { margin: .2rem 0; padding: 0; border: 0; }
.rating-fieldset legend { margin-bottom: .45rem; }
.rating-options { display: flex; flex-direction: row-reverse; justify-content: flex-end; width: max-content; }
.rating-options label { position: relative; z-index: 1; display: grid; place-items: center; min-width: 2.2rem; min-height: 2.45rem; padding: .1rem .12rem; color: #c4b5fd; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: .42; transition: opacity .18s ease, transform .18s ease, color .18s ease; }
.rating-options label span[aria-hidden="true"] { pointer-events: none; }
.rating-options label:has(input:checked) span[aria-hidden="true"], .rating-options label:has(input:checked) ~ label span[aria-hidden="true"], .rating-options label:hover span[aria-hidden="true"], .rating-options label:hover ~ label span[aria-hidden="true"] { opacity: 1; }
.rating-options label:has(input:checked), .rating-options label:hover, .rating-options label:hover ~ label { color: #c4b5fd; opacity: 1; }
.rating-options label:hover { transform: scale(1.12); }
.rating-options input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rating-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.rating-fieldset.is-invalid .rating-options { padding: 0 .2rem; border: 1px solid rgba(232,141,157,.58); border-radius: 10px; background: rgba(232,141,157,.045); }
.review-field-error { margin: -.35rem 0 .1rem; color: #e8a3af; font-size: .68rem; line-height: 1.5; }
.review-field-error[hidden] { display: none; }
.review-form-status { min-height: 1.2rem; margin: 0; color: #c4b5fd; font-size: .72rem; line-height: 1.55; }
.review-submit { position: relative; align-self: flex-start; min-width: 12rem; }
.review-submit:disabled { cursor: wait; opacity: .78; }
.review-spinner { display: none; width: .9rem; height: .9rem; margin-left: .55rem; vertical-align: -.1rem; border: 2px solid rgba(255,255,255,.3); border-top-color: #c4b5fd; border-radius: 50%; animation: review-spin .7s linear infinite; }
.review-submit.is-loading .review-spinner { display: inline-block; }
@keyframes review-spin { to { transform: rotate(360deg); } }
.review-toast { position: fixed; z-index: 12000; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); width: min(26rem, calc(100vw - 2rem)); padding: 1rem 1.15rem; border: 1px solid rgba(196,181,253,.42); border-radius: 14px; background: rgba(24,22,34,.96); color: #f5f2ff; box-shadow: 0 14px 44px rgba(0,0,0,.42), 0 0 28px rgba(167,139,250,.22); font-size: .82rem; line-height: 1.55; opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease; backdrop-filter: blur(16px); }
.review-toast.is-visible { opacity: 1; transform: translateY(0); }
.review-toast.is-error { border-color: rgba(232,141,157,.55); box-shadow: 0 14px 44px rgba(0,0,0,.42), 0 0 25px rgba(232,141,157,.12); }
.review-toast[hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.social-section { max-width: calc(var(--content-width) + 2 * var(--page-pad)); margin: 0 auto; }
.social-heading { margin-bottom: 2.2rem; }
.backstage-carousel { position: relative; overflow: hidden; padding: .8rem 0; border: 1px solid rgba(167,139,250,.24); border-radius: calc(var(--radius-card) + 3px); background: linear-gradient(115deg, rgba(25,27,34,.98), rgba(30,23,45,.82), rgba(20,23,29,.98)); box-shadow: 0 20px 56px rgba(0,0,0,.28), 0 0 42px rgba(167,139,250,.08); }
.backstage-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.backstage-track { display: flex; width: max-content; animation: backstage-scroll 48s linear infinite; will-change: transform; }
.backstage-track-group { display: flex; flex: 0 0 auto; gap: .9rem; padding-right: .9rem; }
.backstage-card { position: relative; width: clamp(15rem, 25vw, 23rem); aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #121318; box-shadow: 0 10px 30px rgba(0,0,0,.26); }
.backstage-card img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; backface-visibility: hidden; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.backstage-card:hover img { transform: scale(1.04); filter: saturate(1.05) contrast(1.03); }
.backstage-toggle { position: absolute; z-index: 2; top: 1.05rem; right: 1.05rem; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(220,208,255,.65); border-radius: 50%; background: rgba(20,15,31,.78); color: #e8defe; font-size: .8rem; box-shadow: 0 5px 20px rgba(0,0,0,.24), 0 0 18px rgba(167,139,250,.2); backdrop-filter: blur(10px); cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.backstage-toggle:hover { transform: scale(1.06); background: rgba(91,65,141,.9); box-shadow: 0 8px 24px rgba(167,139,250,.3); }
.backstage-carousel.is-paused .backstage-track { animation-play-state: paused; }
@keyframes backstage-scroll { to { transform: translateX(-50%); } }
.social-feed { min-height: 170px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.social-empty { grid-column: 1 / -1; min-height: 170px; display: flex; align-items: center; justify-content: center; gap: 1.2rem; border: 1px solid var(--line); color: var(--ink-soft); }
.social-mark { color: var(--accent); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.09em; }
.social-empty p { max-width: 330px; margin: 0; font-size: .77rem; line-height: 1.6; }
.social-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--paper-dark); box-shadow: 0 12px 34px rgba(0,0,0,.17); }
.social-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.social-card-detail { display: flex; flex-direction: column; gap: .4rem; padding: .9rem; }
.social-card-detail small { color: var(--accent); font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.social-card-detail > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--ink); font-size: .7rem; line-height: 1.5; }
.social-feed-error { grid-column: 1 / -1; align-self: center; color: var(--ink-soft); font-size: .78rem; }
.social-links { min-height: 54px; margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.social-links a { min-height: 46px; padding: .65rem .95rem; display: inline-flex; align-items: center; gap: .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .7rem; font-weight: 700; transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.social-links a:hover { color: var(--white); border-color: rgba(167,139,250,.65); transform: translateY(-2px); box-shadow: 0 0 22px rgba(167,139,250,.15); }
.social-links svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent); }

.js [data-reveal] { opacity: 0; transform: translateY(24px); filter: drop-shadow(0 0 0 rgba(167,139,250,0)); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1), filter .75s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); filter: drop-shadow(0 0 10px rgba(167,139,250,.1)); }
@keyframes violet-breathe { from { opacity: .54; transform: scale(1); } to { opacity: 1; transform: scale(1.04); } }

.site-footer { min-height: 132px; padding: 1.8rem var(--page-pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; border-top: 1px solid var(--line); background: #0b0b0e; }
.wordmark-footer { font-size: 1.45rem; justify-self: start; }
.site-footer p { margin: 0; color: var(--ink-soft); font-size: .68rem; line-height: 1.8; text-align: center; }
.site-footer p span { font-size: .61rem; }
.back-to-top { justify-self: end; font-size: .68rem; font-weight: 600; transition: color .2s ease; }
.back-to-top:hover { color: var(--accent); }
.back-to-top span { margin-left: .5rem; color: var(--accent); font-size: 1rem; }

.gallery-dialog { width: min(1120px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; border: 0; background: #121211; color: var(--white); }
.gallery-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.gallery-shell { min-height: min(760px, calc(100dvh - 2rem)); display: flex; flex-direction: column; }
.gallery-topbar { min-height: 58px; padding: 0 1.2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); }
.gallery-topbar p { margin: 0; color: rgba(255,255,255,.76); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: white; font-size: 1.8rem; cursor: pointer; }
.gallery-close:hover { background: rgba(255,255,255,.12); }
.gallery-stage { position: relative; flex: 1; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.gallery-stage img { max-width: 100%; max-height: min(68dvh, 640px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.portfolio-section img, .gallery-dialog img, .project-page-carousel img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.gallery-arrow { position: absolute; z-index: 1; top: 50%; display: grid; width: 46px; height: 46px; place-items: center; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.18); color: white; font-size: 1.25rem; cursor: pointer; }
.gallery-arrow:hover { background: var(--accent); border-color: var(--accent); }
.gallery-prev { left: clamp(.65rem, 3vw, 2rem); }
.gallery-next { right: clamp(.65rem, 3vw, 2rem); }

[hidden] { display: none !important; }

@media (min-width: 1500px) {
  .hero-content { padding-left: calc((100vw - var(--content-width)) / 2); }
}
@media (max-width: 900px) {
  .site-header { height: 72px; gap: 1rem; }
  .wordmark-header { font-size: 1.5rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .68rem; }
  .header-cta { min-height: 40px; padding: .55rem .72rem; font-size: .64rem; }
  .hero { min-height: 700px; min-height: 78svh; }
  .hero-content { width: 90%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .section-note { max-width: 500px; }
  .services-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .services-inner { padding-left: var(--page-pad); padding-right: var(--page-pad); }
  .services-intro h2 br { display: none; }
  .service-list { width: 100%; }
  .booking-section { grid-template-columns: 1fr; gap: 2.4rem; }
  .booking-copy h2 br { display: none; }
  .booking-cta-card { min-height: 280px; }
  .reviews-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  :root { --page-pad: 1.2rem; }
  .site-header { height: 68px; gap: .45rem; }
  .wordmark-header { font-size: 1.4rem; }
  .social-header-link { min-height: 38px; padding: .45rem; gap: .35rem; }
  .social-header-link span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .header-cta { min-height: 38px; padding: .45rem .55rem; gap: .3rem; font-size: .62rem; }
  .header-cta-label { display: none; }
  .header-cta-label-compact { display: inline; }
  .menu-toggle { display: flex; width: 42px; height: 42px; margin-left: auto; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 21px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; padding: .3rem var(--page-pad) 1rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; border-top: 1px solid var(--line); }
  .hero { min-height: 720px; min-height: calc(88svh - 68px); align-items: flex-end; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(15,15,14,.82) 0%, rgba(15,15,14,.56) 48%, rgba(15,15,14,.05) 100%); }
  .hero-content { width: 100%; padding: 4rem var(--page-pad) 7rem; }
  .hero h1 { font-size: clamp(4.25rem, 18vw, 6.5rem); }
  .hero-copy { max-width: 335px; font-size: .88rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .hero-scroll { bottom: 1.5rem; font-size: .56rem; }
  .hero-index { bottom: 1.5rem; font-size: .62rem; }
  .trust-strip { min-height: 0; padding-top: 1rem; padding-bottom: 1rem; align-items: flex-start; flex-direction: column; gap: .75rem; }
  .trust-marks { width: 100%; display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; gap: .8rem; }
  .trust-divider { display: none; }
  .trust-mark, .trust-mark-eusa { min-width: 0; align-items: flex-start; flex-direction: column; gap: .15rem; }
  .trust-mark strong { font-size: 1.15rem; }
  .trust-mark span { font-size: .47rem; letter-spacing: .08em; white-space: normal; }
  .intro-band { min-height: 120px; align-items: flex-start; justify-content: center; flex-direction: column; gap: .8rem; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  h2 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .section-heading { margin-bottom: 2rem; }
  .portfolio-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .project-card:nth-child(2), .project-card:nth-child(3) { grid-column: auto; width: 100%; margin: 0; }
  .project-image-wrap img, .project-card:nth-child(2) .project-image-wrap img, .project-card:nth-child(3) .project-image-wrap img { height: auto; aspect-ratio: 4 / 4.6; }
  .project-card:nth-child(2) { width: 88%; margin-left: auto; }
  .portfolio-footnote { margin-top: 2rem; line-height: 1.6; }
  .services-inner { padding-top: 5rem; padding-bottom: 5rem; }
  .services-intro h2 { font-size: clamp(3.1rem, 14vw, 4.5rem); }
  .service-item { min-height: 120px; grid-template-columns: 30px 1fr; gap: .7rem; }
  .service-item p { max-width: 290px; }
  .booking-section { padding-top: 5rem; padding-bottom: 5rem; }
  .booking-copy h2 { font-size: clamp(3.3rem, 16vw, 4.7rem); }
  .booking-cta-card { min-height: 270px; padding: 1.3rem; }
  .reviews-layout { gap: 1.7rem; }
  .review-overview { min-height: 104px; padding: 1rem 1.1rem; gap: 1rem; }
  .review-score strong { font-size: 2.7rem; }
  .review-average-stars { font-size: 1.22rem; }
  .review-form { padding: 1.25rem; }
  .backstage-carousel { padding: .55rem 0; border-radius: 13px; }
  .backstage-track-group { gap: .65rem; padding-right: .65rem; }
  .backstage-card { width: 78vw; max-width: 21rem; border-radius: 10px; }
  .backstage-toggle { top: .75rem; right: .75rem; width: 38px; height: 38px; }
  .social-feed { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .social-empty { min-height: 150px; padding: 1.2rem; justify-content: flex-start; }
  .social-links { justify-content: flex-start; }
  .site-footer { min-height: 150px; grid-template-columns: 1fr auto; gap: .8rem 1rem; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .gallery-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; }
  .gallery-shell { min-height: 78dvh; }
  .gallery-stage { min-height: 55dvh; }
  .gallery-stage img { max-width: 100vw; max-height: 60dvh; }
  .gallery-arrow { width: 40px; height: 40px; }
}
@media (min-width: 621px) and (max-width: 760px) {
  .site-header { gap: .55rem; }
  .wordmark-header { font-size: 1.35rem; }
  .social-header-link { min-height: 38px; padding: .4rem .45rem; gap: .3rem; }
  .social-header-link span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .site-nav { gap: .55rem; }
  .site-nav a { font-size: .58rem; }
  .header-cta { min-height: 38px; padding: .45rem .5rem; gap: .25rem; font-size: .57rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .backstage-track { animation: backstage-scroll 80s linear infinite !important; }
}

.faq-section { border-top: 1px solid var(--line); }
.faq-list { width: min(100%, 980px); margin: 0 auto; border-top: 1px solid rgba(167,139,250,.28); }
.faq-item { border-bottom: 1px solid rgba(167,139,250,.22); background: linear-gradient(100deg, rgba(167,139,250,.025), transparent 70%); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.faq-item:hover, .faq-item[open] { border-color: rgba(167,139,250,.62); background: linear-gradient(100deg, rgba(167,139,250,.09), rgba(167,139,250,.015) 75%); box-shadow: inset 3px 0 0 rgba(167,139,250,.72); }
.faq-item summary { position: relative; display: flex; align-items: center; min-height: 78px; padding: 1.2rem 4.2rem 1.2rem 1.35rem; color: var(--ink); font-family: var(--font-display); font-size: clamp(1rem, 1.7vw, 1.2rem); font-weight: 600; line-height: 1.45; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; top: 50%; right: 1.35rem; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(167,139,250,.42); border-radius: 50%; color: #c4b5fd; font-family: var(--font-body); font-size: 1.2rem; font-weight: 400; line-height: 1; transform: translateY(-50%); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.faq-item[open] summary::after { content: "−"; border-color: var(--accent); background: rgba(167,139,250,.16); color: var(--white); box-shadow: 0 0 18px rgba(167,139,250,.2); }
.faq-item summary:hover, .faq-item summary:focus-visible { color: #e2d8ff; }
.faq-item summary:focus-visible { outline-offset: -4px; }
.faq-answer { padding: 0 4.2rem 1.45rem 1.35rem; }
.faq-answer p { max-width: 800px; margin: 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.8; }
@media (max-width: 620px) {
  .faq-item summary { min-height: 70px; padding: 1rem 3.5rem 1rem 1rem; font-size: .98rem; }
  .faq-item summary::after { right: .8rem; width: 29px; height: 29px; }
  .faq-answer { padding: 0 1rem 1.2rem; }
  .faq-answer p { font-size: .8rem; line-height: 1.75; }
}

/* Site-wide interaction polish: scroll progress, fine-pointer cursor, social toast and immersive galleries. */
.scroll-progress { position: fixed; z-index: 10000; top: 0; right: 0; left: 0; height: 3px; pointer-events: none; background: rgba(255,255,255,.035); }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, #c4b5fd 0%, #a78bfa 48%, #7c3aed 100%); box-shadow: 0 0 12px rgba(167,139,250,.52); will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  body { cursor: url("assets/cursor-arrow.svg") 4 2, auto; }
  a, a *, button, button *, [role="button"], summary, .backstage-card { cursor: url("assets/cursor-hand.svg") 7 5, pointer; }
  .button, .project-open, .portfolio-filter, .backstage-card, .backstage-toggle,
  .gallery-arrow, .gallery-close, .social-announcement-close, .menu-toggle,
  .faq-item summary, .project-page-control, .project-lightbox-arrow, .project-lightbox-close {
    cursor: url("assets/cursor-hand.svg") 7 5, pointer;
  }
  input, textarea, select, [contenteditable="true"] { cursor: text; }
}
.social-announcement { position: fixed; z-index: 9998; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); width: min(22rem, calc(100vw - 2rem)); padding: 1px; border: 1px solid rgba(196,181,253,.4); border-radius: 16px; background: linear-gradient(135deg, rgba(196,181,253,.72), rgba(124,58,237,.28)); box-shadow: 0 16px 54px rgba(0,0,0,.48), 0 0 36px rgba(124,58,237,.18); animation: announcement-in .45s cubic-bezier(.2,.8,.2,1) both; }
.social-announcement-link { display: grid; gap: .42rem; min-height: 125px; padding: 1.05rem 3rem 1.05rem 1.1rem; border-radius: 15px; background: rgba(18,16,25,.96); color: #f8f6ff; text-decoration: none; }
.social-announcement-kicker { color: #c4b5fd; font: 700 .67rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.social-announcement-copy { display: -webkit-box; overflow: hidden; color: rgba(255,255,255,.82); font-size: .83rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.social-announcement-action { color: #c4b5fd; font-size: .68rem; font-weight: 700; }
.social-announcement-close { position: absolute; top: .65rem; right: .65rem; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(196,181,253,.24); border-radius: 50%; background: rgba(255,255,255,.055); color: white; font-size: 1.15rem; cursor: pointer; }
.social-announcement-close:hover { border-color: #a78bfa; background: rgba(167,139,250,.2); }
@keyframes announcement-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.gallery-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; overflow: hidden; border: 0; background: transparent; }
.gallery-dialog::backdrop { background: rgba(5,4,8,.88); backdrop-filter: blur(14px); }
.gallery-shell { width: 100%; height: 100%; min-height: 0; padding: clamp(.7rem, 2vw, 1.5rem); background: radial-gradient(ellipse at 50% 55%, rgba(124,58,237,.12), transparent 56%), rgba(12,11,17,.34); backdrop-filter: blur(4px); }
.gallery-topbar { flex: 0 0 auto; min-height: 52px; border-bottom-color: rgba(196,181,253,.17); }
.gallery-stage { flex: 1 1 auto; min-height: 0; }
.gallery-stage img { max-width: min(100%, 1600px); max-height: 78dvh; filter: drop-shadow(0 0 30px rgba(124,58,237,.15)); }
.gallery-arrow { border-color: rgba(220,208,255,.44); background: rgba(18,15,27,.54); backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.gallery-arrow:hover { transform: translateY(-50%) scale(1.06); background: #7c3aed; border-color: #a78bfa; color: white; }
.gallery-close { border: 1px solid transparent; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.gallery-close:hover { border-color: rgba(196,181,253,.4); background: rgba(167,139,250,.18); transform: rotate(90deg); }
.backstage-card { appearance: none; flex: 0 0 auto; display: block; padding: 0; overflow: hidden; text-align: left; color: inherit; cursor: pointer; }
.backstage-card img { display: block; }
.backstage-card:hover img, .backstage-card:focus-visible img { transform: scale(1.04); filter: saturate(1.05) contrast(1.03); }
.backstage-card:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; }
img.is-image-loading { opacity: .16; filter: blur(12px) saturate(.72); background: linear-gradient(105deg, rgba(50,43,65,.8) 20%, rgba(167,139,250,.26) 38%, rgba(50,43,65,.8) 56%); background-size: 220% 100%; animation: image-sheen 1.25s ease-in-out infinite; }
img.is-image-ready { opacity: 1; filter: blur(0) saturate(1); animation: none; transition: opacity .45s ease, filter .55s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
img.is-image-error { opacity: .2; filter: none; animation: none; }
@keyframes image-sheen { to { background-position-x: -220%; } }
.portfolio-grid .project-card { transition: opacity .22s ease, transform .22s ease; }
.hero-image.is-image-loading { opacity: .6; }
@media (prefers-reduced-motion: reduce) {
  .hero-image { transform: none !important; will-change: auto; }
  img.is-image-loading { animation: none; }
}
@media (max-width: 620px) {
  .portfolio-filters { gap: .42rem; margin-bottom: 1.5rem; }
  .portfolio-filter { min-height: 38px; padding: .5rem .8rem; font-size: .65rem; }
}
@media (max-width: 620px) {
  .gallery-dialog { inset: 0; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; }
  .gallery-shell { min-height: 0; padding: .55rem; }
  .gallery-stage { min-height: 0; }
  .gallery-stage img { max-width: 100%; max-height: 76dvh; }
  .social-announcement { right: .8rem; bottom: .8rem; width: min(20rem, calc(100vw - 1.6rem)); }
}

/* Optional image banners can opt into parallax with <img data-parallax> inside .parallax-banner. */
.parallax-banner { position: relative; overflow: hidden; isolation: isolate; }
.parallax-banner [data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.06); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .parallax-banner [data-parallax] { transform: none !important; will-change: auto; }
}

/* Bandiera hero, refined glass surfaces and scroll controls. */
.site-header {
  background: rgba(15, 12, 21, .68);
  border-bottom-color: rgba(196, 181, 253, .16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.hero {
  min-height: calc(100svh - 84px);
  min-height: calc(100dvh - 84px);
  background: #0b0910;
}
.hero-image { object-position: center 50%; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 6, 12, .18) 0%, rgba(8, 6, 12, .24) 42%, rgba(8, 6, 12, .68) 100%),
    linear-gradient(0deg, rgba(8, 6, 12, .9) 0%, rgba(8, 6, 12, .44) 30%, rgba(8, 6, 12, .08) 78%, rgba(8, 6, 12, .2) 100%);
}
.hero-content { width: min(780px, 68%); margin-left: auto; text-align: right; }
.hero h1 { max-width: none; }
.hero-line { display: block; overflow: hidden; padding: 0 .08em .08em 0; }
.hero-line > span { display: block; transform: translateY(115%); animation: hero-line-rise .9s cubic-bezier(.2, .78, .18, 1) forwards; }
.hero-line:nth-child(2) > span { animation-delay: .16s; }
.hero-content > .eyebrow { animation: hero-copy-rise .7s ease .08s both; }
.hero-copy { margin-left: auto; }
.hero-actions { justify-content: flex-end; }
.hero-actions > * { animation: hero-copy-rise .7s ease .42s both; }
.hero-actions > * + * { animation-delay: .52s; }
.portfolio-section { padding-top: clamp(5.5rem, 9vw, 9rem); padding-bottom: clamp(5.5rem, 9vw, 9rem); }
.portfolio-filters {
  width: fit-content;
  max-width: 100%;
  padding: .5rem;
  gap: .4rem;
  border: 1px solid rgba(196, 181, 253, .18);
  border-radius: 999px;
  background: rgba(24, 19, 33, .62);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.portfolio-filter { border-color: transparent; background: rgba(255, 255, 255, .035); }
.portfolio-filter.is-active { border-color: rgba(196, 181, 253, .48); }
.footer-back-to-top { justify-self: end; color: var(--ink-soft); font-size: .68rem; font-weight: 600; transition: color .2s ease; }
.footer-back-to-top:hover { color: var(--accent); }
.footer-back-to-top span { margin-left: .5rem; color: var(--accent); font-size: 1rem; }
.back-to-top[hidden] { display: none; }
button.back-to-top {
  position: fixed;
  z-index: 45;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(196, 181, 253, .58);
  border-radius: 50%;
  background: rgba(24, 19, 33, .72);
  color: #d8caff;
  font: 500 1.3rem/1 var(--font-body);
  box-shadow: 0 8px 28px rgba(124, 58, 237, .2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(9px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
button.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
button.back-to-top:hover { background: rgba(124, 58, 237, .34); box-shadow: 0 10px 32px rgba(124, 58, 237, .32); }
@keyframes hero-line-rise { to { transform: translateY(0); } }
@keyframes hero-copy-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .site-header { background: rgba(15, 12, 21, .82); }
  .hero { min-height: calc(100svh - 68px); min-height: calc(100dvh - 68px); align-items: flex-end; }
  .hero-image { object-position: 72% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 12, .16), rgba(8, 6, 12, .38)),
      linear-gradient(0deg, rgba(8, 6, 12, .92) 0%, rgba(8, 6, 12, .58) 38%, rgba(8, 6, 12, .08) 100%);
  }
  .hero-content { width: 100%; padding: 4rem var(--page-pad) 7rem; text-align: right; }
  .hero h1 { font-size: clamp(3.8rem, 14vw, 6.2rem); }
  .hero-copy { max-width: 350px; margin-left: auto; }
  .hero-actions { align-items: flex-end; flex-direction: column; gap: 1.15rem; }
  .portfolio-filters { width: 100%; justify-content: center; border-radius: 24px; padding: .45rem; }
  .portfolio-filter { padding-inline: .8rem; }
  button.back-to-top { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-line > span, .hero-content > .eyebrow, .hero-actions > * { animation: none !important; transform: none !important; opacity: 1 !important; }
  .hero-image { transform: none !important; will-change: auto; }
}


