/* Queen Art & Design — site styles (colors and fonts come from theme.json) */
/* Colors and fonts follow the Queen UX design system (Figma: Queen UX — Design System). */
:root {
	--qa-ink: var(--wp--preset--color--contrast);
	--qa-deep: var(--wp--preset--color--deep);
	--qa-teal: var(--wp--preset--color--teal);
	--qa-teal-soft: var(--wp--preset--color--teal-soft);
	--qa-muted: var(--wp--preset--color--muted);
	--qa-radius: 14px;
	--qa-ease: cubic-bezier(.2, .7, .2, 1);
	--qa-gutter: clamp(16px, 4vw, 48px);
}
img { max-width: 100%; height: auto; }

/* ---------- Sticky navigation (Figma: Navigation / System) ---------- */
:root { --qa-nav-h: 88px; --qa-nav-h-scrolled: 56px; --qa-nav-px: 64px; --qa-admin-bar: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 899px) { :root { --qa-nav-h: 72px; --qa-nav-px: 24px; } }
.qa-no-hero .wp-site-blocks { padding-top: var(--qa-nav-h); }

.qa-nav { position: fixed; z-index: 100; top: var(--qa-admin-bar); left: 0; right: 0;
	--nav-bg: var(--wp--preset--color--base); --nav-fg: var(--wp--preset--color--deep); --nav-hover: var(--wp--preset--color--deep); --nav-line: var(--wp--preset--color--teal-core);
	transition: transform .3s ease-out; }
.qa-nav.is-hidden { transform: translateY(calc(-100% - var(--qa-admin-bar))); }
.qa-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px;
	height: var(--qa-nav-h); padding: 0 var(--qa-nav-px); background: var(--nav-bg); color: var(--nav-fg);
	box-shadow: 0 2px 12px rgba(11, 48, 63, 0); transition: height .3s ease-out, background-color .3s ease-out, box-shadow .3s ease-out, color .3s ease-out; }
.qa-nav.is-scrolled .qa-nav__bar { height: var(--qa-nav-h-scrolled); box-shadow: 0 2px 12px rgba(11, 48, 63, .08); }

/* Transparent over a hero image until scroll (dark variant colors) */
.qa-has-hero .qa-nav:not(.is-scrolled):not(.is-open) { --nav-bg: transparent; --nav-fg: #fff; --nav-hover: var(--wp--preset--color--teal); --nav-line: var(--wp--preset--color--teal); }
.qa-has-hero .qa-nav:not(.is-scrolled):not(.is-open) .qa-nav__bar { background: linear-gradient(to bottom, rgba(11, 48, 63, .45), rgba(11, 48, 63, 0)); }
.qa-nav__logo--light { display: none; }
.qa-has-hero .qa-nav:not(.is-scrolled):not(.is-open) .qa-nav__logo--ink { display: none; }
.qa-has-hero .qa-nav:not(.is-scrolled):not(.is-open) .qa-nav__logo--light { display: block; }

.qa-nav__brand { display: flex; align-items: center; gap: 10px; color: inherit !important; text-decoration: none; flex: none; }
.qa-nav__logo { width: 48px; height: 24px; }
.qa-nav__brand span { font-family: var(--wp--preset--font-family--display); font-weight: 700; text-transform: uppercase;
	font-size: 16px; letter-spacing: .02em; transition: font-size .3s ease-out; }
.qa-nav.is-scrolled .qa-nav__brand span { font-size: 14px; }

.qa-nav__links { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.qa-nav__link { position: relative; padding: 6px 4px; font-family: var(--wp--preset--font-family--ui); font-weight: 400; font-size: 14px;
	color: inherit !important; text-decoration: none; border-radius: 4px; transition: color .15s ease, font-size .3s ease-out; }
.qa-nav.is-scrolled .qa-nav__link { font-size: 13px; }
.qa-nav__link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px; border-radius: 1px;
	background: var(--nav-line); transform: scaleX(0); transform-origin: left; transition: transform .15s ease; }
.qa-nav__link:hover { color: var(--nav-hover) !important; }
.qa-nav__link:hover::after, .qa-nav__link:active::after, .qa-nav__link.is-active::after { transform: scaleX(1); }
.qa-nav__link.is-active { font-weight: 800; }
.qa-nav a:focus-visible, .qa-nav button:focus-visible { outline: 2px solid var(--wp--preset--color--teal-core); outline-offset: 2px; }
.qa-has-hero .qa-nav:not(.is-scrolled):not(.is-open) a:focus-visible, .qa-has-hero .qa-nav:not(.is-scrolled):not(.is-open) button:focus-visible { outline-color: var(--wp--preset--color--teal); }

.qa-nav__cta, .qa-nav__toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 10px 24px; border: 0; border-radius: 999px;
	background: var(--wp--preset--color--teal); color: var(--wp--preset--color--deep) !important; text-decoration: none; cursor: pointer;
	font-family: var(--wp--preset--font-family--ui); font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.qa-nav__cta:hover, .qa-nav__toggle:hover, .qa-nav__cta:active { background: var(--wp--preset--color--deep); color: var(--wp--preset--color--teal) !important; box-shadow: 0 0 16px rgba(0, 191, 186, .35); }
.qa-nav__toggle { display: none; }
.qa-nav__toggle-close { display: none; }
.qa-nav.is-open .qa-nav__toggle-open { display: none; }
.qa-nav.is-open .qa-nav__toggle-close { display: inline; }

/* Full-screen mobile menu */
.qa-nav__menu { position: fixed; inset: calc(var(--qa-admin-bar) + var(--qa-nav-h)) 0 0 0; z-index: -1; overflow-y: auto;
	display: flex; flex-direction: column; align-items: flex-start; padding: 48px 24px 40px; background: var(--wp--preset--color--base); }
.qa-nav.is-scrolled .qa-nav__menu { top: calc(var(--qa-admin-bar) + var(--qa-nav-h-scrolled)); }
.qa-nav__menu[hidden] { display: none; }
.qa-nav.is-open .qa-nav__menu { animation: qa-menu-down .3s ease-out both; }
.qa-nav__menu nav { display: flex; flex-direction: column; width: 100%; margin-bottom: 24px; }
.qa-nav__menu-link { padding: 20px 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 32px; line-height: 1;
	color: var(--wp--preset--color--deep) !important; text-decoration: none; }
.qa-nav__menu-link.is-active { text-decoration: underline; text-decoration-color: var(--wp--preset--color--teal-core); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.qa-nav__menu-link, .qa-nav__cta--big { animation: qa-menu-item .3s ease-out both; animation-delay: calc(.08s + var(--qa-i, 0) * .05s); }
.qa-nav__cta--big { padding: 14px 32px; font-size: 13px; letter-spacing: .04em; }
@keyframes qa-menu-down { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes qa-menu-item { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qa-menu-open { overflow: hidden; }

@media (max-width: 899px) {
	.qa-nav__links, .qa-nav__bar > .qa-nav__cta { display: none; }
	.qa-nav__toggle { display: inline-flex; }
	.qa-nav__brand span { font-size: 14px; }
	.qa-nav.is-scrolled .qa-nav__brand span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.qa-nav, .qa-nav__bar, .qa-nav__link, .qa-nav__link::after { transition: none; }
	.qa-nav__menu, .qa-nav__menu-link, .qa-nav__cta--big { animation: none !important; }
}

/* Shared brand lockup (footer) and pill buttons */
.qa-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none;
	font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 19px; }
.qa-brand img { height: 40px; width: auto; }
.qa-btn {
	display: inline-block; text-decoration: none !important; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 16px; padding: 11px 22px;
	border-radius: 99px; background: var(--qa-teal); color: var(--qa-ink) !important;
	transition: transform .2s var(--qa-ease), background .2s;
}
.qa-btn:hover { transform: translateY(-2px); background: #33ccc8; }
.qa-btn-light { background: #fff; }
.qa-btn-light:hover { background: #fff; }

/* ---------- Hero slider ---------- */
.qa-hero { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: var(--qa-ink); color: #fff; margin: 0 !important; }
.qa-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--qa-ease), visibility 0s 1.1s; }
.qa-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--qa-ease); }
.qa-hero:not(.qa-ready) .qa-slide:first-child { opacity: 1; visibility: visible; } /* before JS runs */
.qa-layer { position: absolute; will-change: transform; transition: transform .9s var(--qa-ease); pointer-events: none; }
.qa-layer img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qa-layer.bg { inset: -4%; }
.qa-layer.bg img { object-fit: cover; }
.qa-slide.is-active .bg img { animation: qa-kenburns 14s linear forwards; }
@keyframes qa-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.qa-shade { position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(53,18,49,.62) 0%, rgba(53,18,49,.15) 55%, rgba(53,18,49,0) 100%), linear-gradient(0deg, rgba(53,18,49,.55) 0%, rgba(53,18,49,0) 40%); }
.qa-shade.right { background: linear-gradient(270deg, rgba(53,18,49,.7) 0%, rgba(53,18,49,.1) 60%), linear-gradient(0deg, rgba(53,18,49,.55) 0%, rgba(53,18,49,0) 40%); }

.qa-slide .pop img { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity 1s var(--qa-ease), transform 1.2s var(--qa-ease); }
.qa-slide.is-active .pop img { opacity: 1; transform: none; }
.qa-slide.is-active .pop:nth-of-type(3) img { transition-delay: .15s; }
.qa-slide.is-active .pop:nth-of-type(4) img { transition-delay: .3s; }

.qa-caption { position: absolute; z-index: 5; left: clamp(16px, 6vw, 90px); bottom: clamp(90px, 16vh, 150px); max-width: min(620px, 88vw); }
.qa-eyebrow { display: inline-block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--qa-teal); margin-bottom: 14px; }
.qa-caption .qa-title { color: #fff; font-size: clamp(46px, 9.5vw, 132px); line-height: .9; font-weight: 700; letter-spacing: -.05em; margin: 0; text-wrap: balance; }
.qa-caption p { font-weight: 300; font-size: clamp(18px, 1.8vw, 22px); margin: 18px 0 26px; max-width: 30ch; opacity: .92; }
.qa-caption > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--qa-ease), transform .9s var(--qa-ease); }
.qa-slide.is-active .qa-caption > * { opacity: 1; transform: none; }
.qa-slide.is-active .qa-caption > :nth-child(2) { transition-delay: .25s; }
.qa-slide.is-active .qa-caption > :nth-child(3) { transition-delay: .4s; }
.qa-slide.is-active .qa-caption > :nth-child(4) { transition-delay: .55s; }
.qa-slide:not(.is-active) .qa-caption > * { transition-duration: .35s; transition-delay: 0s; }
.qa-caption.right { left: auto; right: clamp(16px, 6vw, 90px); text-align: right; }
.qa-caption.right p { margin-left: auto; }

.qa-hero-ui { position: absolute; z-index: 10; left: clamp(16px, 6vw, 90px); right: clamp(16px, 6vw, 90px); bottom: 34px;
	display: flex; align-items: center; gap: 18px; font-size: 14px; font-variant-numeric: tabular-nums; }
.qa-count { font-weight: 600; letter-spacing: .08em; min-width: 54px; }
.qa-bars { display: flex; gap: 8px; flex: 1; max-width: 260px; }
.qa-bar { flex: 1; height: 3px; background: rgba(255,255,255,.3); border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden; border-radius: 3px; }
.qa-bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.qa-bar.done::after { transform: scaleX(1); }
.qa-bar.is-active::after { animation: qa-fill var(--dur, 7s) linear forwards; }
.qa-hero.paused .qa-bar.is-active::after { animation-play-state: paused; }
@keyframes qa-fill { to { transform: scaleX(1); } }
.qa-arrows { margin-left: auto; display: flex; gap: 10px; }
.qa-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(0,0,0,.15);
	color: #fff; font-size: 20px; cursor: pointer; transition: background .2s, border-color .2s; }
.qa-arrow:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.s1 .person { width: clamp(180px, 24vw, 360px); aspect-ratio: 694/1179; left: 52%; bottom: -14%; }
.s2 .cliffs { left: -2%; right: -2%; bottom: 13%; aspect-ratio: 1920/254; }
.s2 .land { left: -3%; right: -3%; bottom: -2%; aspect-ratio: 1920/254; }
.s2 .walker { width: clamp(150px, 20vw, 300px); aspect-ratio: 488/335; left: 58%; bottom: 3%; }
.s3 .pop img { filter: drop-shadow(0 24px 34px rgba(0,0,0,.55)); }
.s3 .bg img { filter: blur(28px) brightness(.42) saturate(1.2); }
.s3 .face-l { width: clamp(150px, 21vw, 330px); aspect-ratio: 785/1396; left: 8%; top: 12%; rotate: -4deg; }
.s3 .face-r { width: clamp(190px, 26vw, 400px); aspect-ratio: 1; left: 30%; top: 5%; }
.s3 .rose { width: clamp(200px, 30vw, 460px); aspect-ratio: 1232/914; left: 22%; bottom: -6%; }
@media (max-width: 760px) {
	.qa-arrows { display: none; }
	.qa-bars { max-width: none; }
	.qa-caption { bottom: 96px; }
	.s1 .person { left: 50%; width: 46vw; }
	.s2 .walker { left: 52%; width: 42vw; }
	.s3 .face-l { left: -4%; top: 10%; width: 40vw; }
	.s3 .face-r { left: auto; right: -8%; top: 7%; width: 54vw; }
	.s3 .rose { left: auto; right: -10%; bottom: 30%; width: 62vw; }
	.qa-caption.right { left: clamp(16px, 6vw, 90px); right: auto; text-align: left; }
	.qa-caption.right p { margin-left: 0; }
}

/* ---------- Homepage sections ---------- */
.qa-front > * { margin-block-start: 0 !important; }
.qa-section { padding: clamp(64px, 9vw, 120px) var(--qa-gutter) !important; }
.qa-kicker { font-size: 13px !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--qa-deep); margin: 0 0 16px !important; }
.qa-intro h2 { font-size: clamp(34px, 4.6vw, 58px); }
.qa-intro h2 em { font-style: normal; color: var(--wp--preset--color--rose); }
.qa-intro p:not(.qa-kicker) { color: var(--qa-muted); font-size: 18px; }
.qa-link-arrow a, a.qa-link-arrow { font-weight: 600; text-decoration: none; color: var(--qa-deep); border-bottom: 2px solid var(--qa-teal); padding-bottom: 2px; }

.qa-work-head { margin-bottom: 34px !important; }

/* Project cards (condition grid) with the Figma arrow button */
.qa-pgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.qa-pcard { position: relative; grid-column: span var(--qa-span, 6); height: clamp(260px, 30vw, 440px); overflow: hidden; border-radius: 12px;
	background: var(--wp--preset--color--neutral-100); text-decoration: none !important; isolation: isolate; }
.qa-pcard > img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.qa-pcard:hover > img { transform: scale(1.04); }
.qa-pcard__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
@media (min-width: 1024px) { .qa-pcard__bar { bottom: 8px; } }
.qa-pcard__title { padding: 8px 16px; border-radius: 12px; background: var(--wp--preset--color--deep); color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(14px, 1.5vw, 20px); line-height: 1.2; letter-spacing: -.01em; }
.qa-pcard__arrow { position: relative; flex: none; width: 48px; height: 48px; }
.qa-pcard__arrow img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; max-width: none; height: auto; transition: opacity .15s ease; }
.qa-pcard__arrow-default { width: 48px; }
.qa-pcard__arrow-hover { width: 88px; opacity: 0; }   /* includes the teal glow */
.qa-pcard__arrow-focus { width: 58px; opacity: 0; }   /* includes the focus ring */
.qa-pcard:hover .qa-pcard__arrow-hover { opacity: 1; }
.qa-pcard:hover .qa-pcard__arrow-default { opacity: 0; }
.qa-pcard:focus-visible { outline: none; }
.qa-pcard:focus-visible .qa-pcard__arrow-focus { opacity: 1; }
.qa-pcard:focus-visible .qa-pcard__arrow-default { opacity: 0; }
.qa-pcard:focus-visible .qa-pcard__title { box-shadow: 0 0 0 2px var(--wp--preset--color--base), 0 0 0 4px var(--wp--preset--color--teal-core); }
@media (max-width: 1023px) { .qa-pcard__arrow { width: 40px; height: 40px; } .qa-pcard__arrow-default { width: 40px; } .qa-pcard__arrow-hover { width: 73px; } .qa-pcard__arrow-focus { width: 48px; } }
@media (max-width: 639px) { .qa-pcard { grid-column: span 12; height: 280px; } }

/* Scroll reveal (rise 50px and fade in) */
.qa-reveal-ready .qa-reveal-on-scroll { opacity: 0; transform: translateY(50px); transition: opacity .5s ease-out, transform .5s ease-out; }
.qa-reveal-ready .qa-reveal-on-scroll.is-in { opacity: 1; transform: none; }

.qa-services { color: #e1dbe0; }
.qa-services h2 { color: #fff; margin-bottom: 40px !important; }
.qa-services .qa-kicker { color: var(--qa-teal); }
.qa-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.qa-menu-item { display: flex; align-items: center; gap: 22px; }
.qa-menu-item img { width: 118px; height: 118px; flex: none; border-radius: 50%; object-fit: cover;
	box-shadow: 0 0 0 3px rgba(255,255,255,.08); transition: transform .4s var(--qa-ease), box-shadow .4s; }
.qa-menu-item:hover img { transform: scale(1.06) rotate(-2deg); box-shadow: 0 0 0 3px var(--qa-teal); }
.qa-menu-item span { font-size: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; line-height: 1.5; }
.qa-menu-note { margin-top: 48px !important; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: #c2b8c1; max-width: 70ch; }
@media (max-width: 960px) { .qa-menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .qa-menu-grid { grid-template-columns: 1fr; gap: 20px; } .qa-menu-item img { width: 92px; height: 92px; } }

.qa-cta h2 { max-width: 18ch; margin-inline: auto !important; text-wrap: balance; }
.qa-cta p:not(.qa-kicker) { color: var(--qa-muted); max-width: 46ch; margin-inline: auto !important; }

/* ---------- Inner pages ---------- */
.qa-landing .wp-block-post-content > * { margin-block-start: 0; }
.qa-landing .wp-block-post-content > .qa-section + .qa-section { padding-top: 0 !important; }
.qa-page-hero { min-height: clamp(300px, 42vw, 520px) !important; padding: clamp(40px, 6vw, 80px) var(--qa-gutter) !important; }
.qa-page-hero .wp-block-cover__inner-container { width: min(1180px, 100%); margin-inline: auto; }
.qa-page-hero h1 { color: #fff; font-size: clamp(48px, 8vw, 104px); line-height: .9; letter-spacing: -.05em; margin: 0; }
.qa-page-hero .qa-kicker { color: var(--qa-teal); }
.qa-portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--qa-teal); }
.qa-lede { font-family: var(--wp--preset--font-family--body); font-weight: 300; font-size: clamp(23px, 2.7vw, 32px) !important; line-height: 1.3; letter-spacing: 0; color: var(--qa-ink); text-wrap: pretty; }
.qa-pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.qa-pill-links a { display: inline-block; padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--qa-deep); text-decoration: none; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 15px; }
.qa-pill-links a:hover { background: var(--qa-deep); color: #fff; }
.qa-info-card { background: #fff; border-radius: var(--qa-radius); padding: clamp(24px, 3vw, 36px) !important; box-shadow: 0 1px 0 rgba(53,18,49,.06), 0 12px 32px rgba(53,18,49,.06); }
.qa-info-card h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-family: var(--wp--preset--font-family--body); color: var(--qa-deep); margin-bottom: 10px; }
.qa-info-card p { font-size: clamp(18px, 1.8vw, 21px); margin: 0; overflow-wrap: anywhere; }
.qa-form-wrap { background: #fff; border-radius: var(--qa-radius); padding: clamp(8px, 2vw, 24px); box-shadow: 0 12px 32px rgba(53,18,49,.06); }
.qa-form-wrap iframe { display: block; width: 100%; max-width: 100%; border: 0; }

/* Portfolio items */
.qa-project .wp-block-post-title { margin: 6px 0 22px !important; text-wrap: balance; }
.qa-project .qa-kicker a { color: inherit; text-decoration: none; }
.qa-project .wp-block-post-content > p { max-width: 70ch; }
.qa-project-client { color: var(--qa-muted); }
.qa-project .wp-block-embed { max-width: 900px; margin-block: 28px; }

/* About hero (Minimalist Hero layout) */
.qa-about-hero { box-sizing: border-box; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	min-height: 100vh; min-height: 100svh; padding: calc(var(--qa-nav-h) + 24px) clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
	background: var(--wp--preset--color--contrast); color: #f6f2f5; }
.qa-about-hero__grid { flex: 1; display: grid; grid-template-columns: 1fr; align-items: center; gap: 28px; width: min(1280px, 100%); margin-inline: auto; }
.qa-about-hero { --qa-c: min(clamp(280px, 34vw, 500px), 52vh); }
.qa-about-hero__art { order: 1; position: relative; width: 100%; height: calc(var(--qa-c) * 1.12); }
.qa-about-hero__circle { position: absolute; left: 50%; top: 0; translate: -50% 0; width: var(--qa-c); aspect-ratio: 1; border-radius: 50%;
	background: rgba(0, 191, 186, .9); animation: qa-hero-circle .8s cubic-bezier(.22, 1, .36, 1) .2s both; }
.qa-about-hero__photo { position: absolute; z-index: 1; left: 50%; bottom: 0; translate: -50% 0; width: auto; max-width: none; height: calc(var(--qa-c) * 1.04);
	-webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent);
	animation: qa-hero-rise 1s cubic-bezier(.22, 1, .36, 1) .4s both; }
@media (max-width: 899px) {
	.qa-about-hero { --qa-c: min(76vw, 340px); min-height: 0; gap: 28px; }
	.qa-about-hero__grid { gap: 20px; }
}
.qa-about-hero__intro { order: 2; text-align: center; }
.qa-about-hero__intro p { max-width: 20rem; margin: 0 auto; font-size: 16px; line-height: 1.65; color: rgba(246, 242, 245, .82); }
.qa-about-hero__intro a { display: inline-block; margin-top: 16px; font-family: var(--wp--preset--font-family--ui); font-weight: 800; font-size: 13px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--teal) !important; text-underline-offset: 5px; }
.qa-about-hero__title { order: 3; margin: 0; text-align: center; color: #f6f2f5; font-family: var(--wp--preset--font-family--display); font-weight: 700;
	font-size: clamp(64px, 9vw, 136px); line-height: .9; letter-spacing: -.05em; animation: qa-hero-fade .6s ease 1.2s both; }
.qa-about-hero__intro { animation: qa-hero-fade .6s ease 1s both; }
.qa-about-hero__foot { display: flex; align-items: center; justify-content: space-between; width: min(1280px, 100%); margin-inline: auto; animation: qa-hero-fade .5s ease 1.2s both; }
.qa-about-hero__foot p { margin: 0; font-family: var(--wp--preset--font-family--ui); font-size: 14px; color: rgba(246, 242, 245, .8); }
.qa-about-hero__social { display: flex; gap: 18px; }
.qa-about-hero__social a { display: flex; opacity: .65; transition: opacity .15s ease; }
.qa-about-hero__social a:hover, .qa-about-hero__social a:focus-visible { opacity: 1; }
.qa-about-hero a:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 3px; border-radius: 4px; }
@keyframes qa-hero-circle { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes qa-hero-rise { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes qa-hero-fade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
	.qa-about-hero__grid { grid-template-columns: 1fr 1.25fr 1fr; gap: 24px; }
	.qa-about-hero__intro { order: 1; text-align: left; }
	.qa-about-hero__intro p { margin: 0; }
	.qa-about-hero__art { order: 2; }
	.qa-about-hero__title { order: 3; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
	.qa-about-hero__circle, .qa-about-hero__photo, .qa-about-hero__title, .qa-about-hero__intro, .qa-about-hero__foot { animation: none; }
}
#story { scroll-margin-top: 80px; }

/* Artwork page */
.qa-art-band { min-height: clamp(280px, 34vw, 420px) !important; }
.qa-art-band h2 { color: #fff; margin-bottom: 20px !important; }
.qa-art-band .wp-block-button__link { background: #fff; color: var(--wp--preset--color--deep); }
.qa-art-band .wp-block-button__link:hover { background: var(--wp--preset--color--teal); color: var(--wp--preset--color--deep); }
@media (hover: none) { .qa-art-band .wp-block-cover__image-background.has-parallax { background-attachment: scroll !important; } }
.qa-art-gallery { padding-top: clamp(32px, 4vw, 56px) !important; padding-bottom: clamp(40px, 5vw, 72px) !important; }
.qa-art-gallery .wp-block-gallery.qa-masonry { margin-block: 0; }

/* Project scroll choreography */
.qa-project:not(.qa-project-body) { padding-bottom: clamp(24px, 4vw, 48px) !important; }
.qa-project-body { padding-top: clamp(40px, 6vw, 80px) !important; }
.qa-choreo { position: relative; height: 300vh; margin: 0 !important; }
.qa-choreo__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.qa-choreo__tile { position: absolute; left: 50%; top: 50%; width: 36vw; height: 24vh; margin: 0; overflow: hidden; border-radius: 6px;
	background: var(--wp--preset--color--neutral-100); box-shadow: 0 25px 50px -12px rgba(53, 18, 49, .3); will-change: transform; }
.qa-choreo__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Starting positions (match the script's first frame, so nothing jumps on load) */
.qa-choreo__tile--tl { z-index: 10; transform: translate(calc(-50% - 20vw), calc(-50% - 14vh)); }
.qa-choreo__tile--br { z-index: 20; transform: translate(calc(-50% + 20vw), calc(-50% + 14vh)); }
.qa-choreo__tile--bl { z-index: 30; transform: translate(calc(-50% - 20vw), calc(-50% + 14vh)); }
.qa-choreo__tile--tr { z-index: 40; transform: translate(calc(-50% + 20vw), calc(-50% - 14vh)); }
@media (max-width: 600px) { .qa-choreo { height: 260vh; } }
@media (prefers-reduced-motion: reduce) {
	.qa-choreo { height: auto; }
	.qa-choreo__stage { position: static; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(1180px, 100% - 32px); margin-inline: auto; }
	.qa-choreo__tile { position: static; width: auto; height: auto; aspect-ratio: 3 / 2; transform: none !important; }
	.qa-choreo__tile--tr { order: -1; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* Galleries: uncropped masonry columns */
.wp-block-gallery.qa-masonry { display: block !important; columns: 3 260px; column-gap: 14px; margin-block: 28px 56px; }
.wp-block-gallery.qa-masonry:not(:has(img)) { display: none !important; }
.wp-block-gallery.qa-masonry > .wp-block-image { display: block; width: 100% !important; margin: 0 0 14px !important; break-inside: avoid; }
.wp-block-gallery.qa-masonry img { width: 100%; height: auto !important; border-radius: 10px; }
.qa-landing h2.has-x-large-font-size { margin-top: 40px; }

.qa-events table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--qa-radius); overflow: hidden; font-size: 16px; }
.qa-events th { text-align: left; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--qa-deep); background: var(--qa-teal-soft); }
.qa-events th, .qa-events td { padding: 14px 18px; border: 0; border-bottom: 1px solid rgba(53,18,49,.08); }

.qa-post-grid .wp-block-post-template { gap: 22px; }
.qa-post-grid .wp-block-post-featured-image img { border-radius: 10px; }
.qa-post-grid .wp-block-post-title { margin-top: 10px; }
.qa-post-grid .wp-block-post-title a { text-decoration: none; color: var(--qa-ink); }
.qa-post-grid .wp-block-post-title a:hover { color: var(--qa-deep); }
.qa-post-date { color: var(--qa-muted); margin-top: 12px !important; margin-bottom: 0 !important; }
.qa-pagination { margin-top: 48px !important; font-weight: 600; gap: 14px; }
@media (max-width: 760px) { .qa-post-grid .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr !important; } }

/* ---------- Blog post hero (Hero 07 layout) ---------- */
.qa-single > * { margin-block-start: 0 !important; }
.qa-post-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--wp--preset--color--base); }
.qa-post-hero__media { position: relative; overflow: hidden; border-radius: 4px 4px 0 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 95%); mask-image: linear-gradient(to bottom, #000 80%, transparent 95%); }
.qa-post-hero__img { display: block; width: 100%; height: auto !important; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; }
@media (min-width: 640px) { .qa-post-hero__img { aspect-ratio: 9 / 4; } }
.qa-post-hero__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(246, 242, 245, .15); mix-blend-mode: overlay; }
.qa-post-hero__copy { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 32px;
	width: min(1280px, 100%); margin-inline: auto; padding: 40px 24px 80px; }
@media (min-width: 640px) { .qa-post-hero__copy { padding: 48px 24px 112px; } }
@media (min-width: 1024px) {
	.qa-post-hero__copy { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-bottom: 128px; }
	.qa-post-hero__tagline { grid-column: 1 / span 4; }
	.qa-post-hero__main { grid-column: 7 / span 6; }
}
.qa-post-hero--no-image .qa-post-hero__copy { padding-top: clamp(56px, 8vw, 96px); }
.qa-post-hero__tagline { margin: 0; max-width: 20rem; color: var(--qa-muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.6; letter-spacing: -.01em; text-wrap: balance; }
.qa-post-hero__tagline a { color: inherit; text-decoration-color: var(--qa-teal); text-underline-offset: 3px; }
.qa-post-hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 3vw, 32px); }
.qa-post-hero__title { margin: 0; font-family: var(--wp--preset--font-family--body); font-weight: 400; color: var(--qa-ink);
	font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.qa-post-hero__desc { max-width: 36rem; color: var(--qa-muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.65; text-wrap: balance; }
.qa-post-hero__desc p { margin: 0; }

/* Subtle staggered reveal: fade up and un-blur */
@keyframes qa-reveal { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes qa-reveal-media { from { opacity: 0; transform: translateY(-20px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.qa-reveal { animation: qa-reveal .28s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(.05s + var(--qa-i, 0) * .1s); }
.qa-reveal--media { animation-name: qa-reveal-media; animation-duration: .32s; animation-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .qa-reveal { animation: none; } }

.qa-post-body { padding-top: 0 !important; }
.qa-post-body .wp-block-post-content img { border-radius: 8px; height: auto; }
.qa-post-tags { margin-top: 40px !important; color: var(--qa-muted); font-size: 15px; }
.qa-post-nav { margin-top: 12px !important; font-family: var(--wp--preset--font-family--display); font-weight: 700; }

/* ---------- Business-card link page (/card/) ---------- */
.page-template-page-card .wp-site-blocks { padding-top: 0 !important; }
.page-template-page-card { background: var(--wp--preset--color--contrast); }
.qa-card-wrap { margin: 0 !important; }
.qa-bcard { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; padding: max(40px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
	display: flex; flex-direction: column; align-items: center; background: var(--wp--preset--color--contrast); color: #f6f2f5; overflow: hidden; }
.qa-bcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; z-index: -1; background: var(--qa-band-mesh) 0 0 / 100% 100% no-repeat; opacity: .55;
	-webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }
.qa-bcard__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 28px; }
.qa-bcard__photo { width: 112px; height: 112px; border-radius: 50%; border: 3px solid #f6f2f5; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.qa-bcard__crown { width: 40px; height: 20px; margin: 18px 0 8px; }
.qa-bcard__head h1 { margin: 0; color: #f6f2f5; font-family: var(--wp--preset--font-family--display); font-size: 38px; line-height: 1; letter-spacing: -.03em; }
.qa-bcard__head p { margin: 10px 0 0; font-family: var(--wp--preset--font-family--ui); font-size: 15px; color: rgba(246, 242, 245, .75); }
.qa-bcard__links { display: flex; flex-direction: column; gap: 12px; width: min(520px, 100%); }
.qa-bcard__tile { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px; border-radius: 18px; text-decoration: none !important;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #f6f2f5 !important;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease; -webkit-tap-highlight-color: transparent;
	animation: qa-reveal .35s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(.05s + var(--qa-i, 0) * .05s); }
.qa-bcard__tile:hover { background: rgba(255, 255, 255, .12); border-color: rgba(0, 191, 186, .6); }
.qa-bcard__tile:active { transform: scale(.98); }
.qa-bcard__tile:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 3px; }
.qa-bcard__tile--primary { min-height: 88px; background: var(--wp--preset--color--teal); border-color: var(--wp--preset--color--teal); color: var(--wp--preset--color--deep) !important; box-shadow: 0 10px 30px rgba(0, 191, 186, .3); }
.qa-bcard__tile--primary:hover { background: #33ccc8; border-color: #33ccc8; }
.qa-bcard__icon { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.qa-bcard__tile--primary .qa-bcard__icon { background: rgba(11, 48, 63, .12); }
.qa-bcard__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.qa-bcard__text strong { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.qa-bcard__tile--primary .qa-bcard__text strong { font-size: 22px; }
.qa-bcard__text small { font-family: var(--wp--preset--font-family--ui); font-size: 14px; opacity: .72; }
.qa-bcard__arrow { flex: none; font-size: 20px; opacity: .6; transition: transform .15s ease; }
.qa-bcard__tile:hover .qa-bcard__arrow { transform: translateX(3px); opacity: 1; }
.qa-bcard__foot { margin: 28px 0 0; font-family: var(--wp--preset--font-family--ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 242, 245, .45); }
@media (prefers-reduced-motion: reduce) { .qa-bcard__tile { animation: none; } }

/* ---------- Footer (Figma: footer-expressive) ---------- */
.qa-foot2 { margin-top: 0 !important; }
.qa-foot2__band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
	min-height: 400px; padding: 64px 80px; background: #938491; color: #f6f2f5; }
.qa-foot2__band::before, .qa-foot2__band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.qa-foot2__band::before { background: var(--qa-band-texture) center / cover no-repeat; opacity: .2; }
.qa-foot2__band::after { background: var(--qa-band-mesh) 0 0 / 100% 100% no-repeat; opacity: .6; }
.qa-foot2__cta { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.qa-foot2__title-row { display: flex; align-items: center; gap: 20px; }
.qa-foot2__pill { flex: none; }
.qa-foot2__title { margin: 0; color: #f6f2f5; font-family: var(--wp--preset--font-family--display); font-weight: 700;
	font-size: clamp(36px, 4.7vw, 72px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.qa-foot2__pill { display: inline-flex; padding: 8px 16px; border-radius: 100px; background: #6f596c; }
.qa-foot2__pill span { width: 8px; height: 8px; border-radius: 4px; background: #f6f2f5; }
.qa-foot2__email { font-family: var(--wp--preset--font-family--ui); font-size: 20px; color: #f6f2f5 !important;
	text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.qa-foot2__email:hover { text-decoration-thickness: 2px; }
.qa-foot2__portrait { flex: none; width: 120px; height: 120px; border-radius: 60px; border: 3px solid #f6f2f5; object-fit: cover; }

.qa-foot2__main { display: flex; flex-direction: column; gap: 48px; min-height: 300px; padding: 64px 80px 32px; background: var(--wp--preset--color--deep); color: #f5f0eb; }
.qa-foot2__cols { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.qa-foot2__profile { display: flex; flex-direction: column; gap: 12px; width: 320px; max-width: 100%; }
.qa-foot2__profile p { margin: 0; }
.qa-foot2__name { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 30px; line-height: 1.2; color: #f5f0eb; }
.qa-foot2__meta { font-family: var(--wp--preset--font-family--ui); font-size: 15px; line-height: 1.4; color: rgba(245, 240, 235, .6); }
.qa-foot2__nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.qa-foot2__nav a { font-family: var(--wp--preset--font-family--ui); font-size: 13px; text-transform: uppercase; color: #f5f0eb !important; text-decoration: none;
	background: linear-gradient(var(--wp--preset--color--teal), var(--wp--preset--color--teal)) left bottom / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .15s ease; }
.qa-foot2__nav a:hover { background-size: 100% 1px; }
.qa-foot2__social { display: flex; gap: 12px; }
.qa-foot2__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px;
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .15s ease, border-color .15s ease; }
.qa-foot2__icon:hover { background: rgba(0, 191, 186, .15); border-color: var(--wp--preset--color--teal); }
.qa-foot2__icon img { width: 20px; height: 20px; }
.qa-foot2 a:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 2px; }
.qa-foot2__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(245, 240, 235, .1);
	font-family: var(--wp--preset--font-family--ui); font-size: 11px; color: rgba(245, 240, 235, .4); }

@media (max-width: 760px) {
	.qa-foot2__band { flex-direction: column-reverse; align-items: flex-start; min-height: 0; padding: 56px 24px; }
	.qa-foot2__portrait { width: 96px; height: 96px; }
	.qa-foot2__title-row { flex-wrap: wrap; gap: 16px; }
	.qa-foot2__main { padding: 48px 24px 28px; gap: 36px; }
	.qa-foot2__cols { flex-direction: column; gap: 32px; }
	.qa-foot2__nav { gap: 20px 24px; }
}

.qa-ux-band { display: flex !important; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 14px 16px;
	background: #082531; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--wp--preset--font-family--ui); font-size: 13px; color: rgba(245, 240, 235, .6) !important; text-align: center; text-decoration: none; }
.qa-ux-band strong { color: var(--qa-teal); font-weight: 800; }
.qa-ux-band:hover strong { text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
	.qa-hero *, .qa-hero *::before, .qa-hero *::after, .qa-card img, .qa-menu-item img { animation: none !important; transition: none !important; }
}
