/* Shared layout for the light agency pages (agency, events, staffing, about, contact).
   Rules: agency/design-system/MASTER.md. Mobile first; 768 / 1024 / 1440.
   One container (--a-max, --a-side), one vertical rhythm (--a-y); no full-bleed content sections. */

.g-agency {
	--a-x: var(--g-gutter);
	--a-y: 64px;
	--a-head: 32px;
	--a-gap: 32px;
	--a-max: 1280px;
	--a-side: max(var(--a-x), calc((100% - var(--a-max)) / 2));
}

/* ---------- Hero: video on top, text on light grey below (phone); two columns from 1024 ----------
   The first screen (under the light top bar) ends just below the buttons. */
.a-hero {
	position: relative; isolation: isolate;
	display: flex; flex-direction: column;
	min-height: calc(100svh - var(--g-top-h) - var(--g-banner-h));
	background: var(--g-mist); color: var(--g-ink);
}
.a-hero__media { position: relative; flex: 1 1 auto; min-height: 260px; overflow: hidden; background: #33363a; }
.a-hero__img, .a-hero__video, .a-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-hero__img, .a-hero__video { object-fit: cover; object-position: 50% 40%; }
.a-hero__video { z-index: 1; opacity: 0; transition: opacity .6s var(--g-ease); }
.g-video-on .a-hero__video { opacity: 1; }
.a-hero__body { padding: 28px var(--a-side) calc(36px + env(safe-area-inset-bottom)); }
.a-hero .g-eyebrow { color: var(--g-muted); }
.a-hero__title {
	margin: 0; max-width: 13ch;
	font-size: clamp(36px, 9.6vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.a-hero__text { margin: 16px 0 0; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--g-text); }

/* ---------- Rate line ---------- */
.a-rate {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px;
	padding: 16px var(--a-side); background: var(--g-paper); color: var(--g-ink);
	border-top: 1px solid var(--g-gold); border-bottom: 1px solid var(--g-line);
}
.a-rate__text { margin: 0; font-size: 18px; font-weight: 600; }
.a-rate__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-underline-offset: 4px; }

/* ---------- Sections ---------- */
.a-sec { padding: var(--a-y) var(--a-side); }
.a-sec--mist { background: var(--g-mist); }
.a-head { max-width: 62ch; margin-bottom: var(--a-head); }
.a-h2 { margin: 0; font-size: clamp(30px, 7.5vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.a-h2--center { text-align: center; margin: 0 auto var(--a-head); max-width: 22ch; }
.a-lead { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--g-text); }
.a-h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.a-sec p { line-height: 1.6; }
.a-sec__cta { margin-top: var(--a-head); }
.a-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.a-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Cards with a photo (what we bring, service standards) */
.a-bring { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.a-bring__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-mist); margin-bottom: 20px; }
.a-bring__media img { width: 100%; height: 100%; object-fit: cover; }
.a-bring p { margin: 0; color: var(--g-text); }

/* Recent events */
.a-events { background: var(--g-paper); }
.a-events__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-event figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-line); }
.a-event img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--g-ease); }
.a-event:hover img { transform: scale(1.04); }
.a-event figcaption {
	position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 40px 12px 12px;
	background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,0) 100%); color: var(--g-on-dark);
}
.a-event__name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.a-event__date { font-size: 13px; color: var(--g-on-dark-muted); }

/* Roles: every front-of-house role, not only bars */
.a-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--g-line); border: 1px solid var(--g-line); }
.a-role { padding: 24px 22px; background: var(--g-paper); }
.a-role p { margin: 0; color: var(--g-text); }
.a-sec--mist .a-role { background: var(--g-paper); }

/* Clients */
.a-logos { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--g-line); border: 1px solid var(--g-line); }
.a-logo { display: grid; place-items: center; padding: 26px 22px; background: var(--g-paper); min-height: 110px; }
.a-logo img { width: 100%; max-width: 150px; height: auto; max-height: 64px; object-fit: contain; opacity: .85; }
.a-logo:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Reviews */
.a-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.a-review { margin: 0; padding: 26px 22px; background: var(--g-paper); border: 1px solid var(--g-line); border-top: 1px solid var(--g-gold); display: flex; flex-direction: column; }
.a-review blockquote { margin: 0; flex: 1; }
.a-review blockquote p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--g-ink); }
.a-review blockquote p::before { content: "“"; }
.a-review blockquote p::after { content: "”"; }
.a-review__name { margin: 18px 0 0; font-weight: 600; font-size: 15px; color: var(--g-muted); }

/* Photo strip: contained, three photos */
.a-strip { list-style: none; margin: var(--a-gap) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-strip__item { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--g-line); }
.a-strip__item:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.a-strip__item img { width: 100%; height: 100%; object-fit: cover; }

/* Two ways in: events / staffing (agency hub) */
.a-fork__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.a-fork__link { display: grid; height: 100%; background: var(--g-paper); color: inherit; text-decoration: none; border: 1px solid var(--g-line); }
.a-fork__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.a-fork__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--g-ease); }
.a-fork__link:hover .a-fork__media img { transform: scale(1.03); }
.a-fork__body { display: grid; gap: 8px; padding: 22px 22px 24px; border-top: 1px solid var(--g-gold); }
.a-fork__body .g-eyebrow { margin: 0; }
.a-fork__title { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.a-fork__text { font-size: 17px; line-height: 1.55; color: var(--g-text); }
.a-fork__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-weight: 600; }
.a-fork__link:hover .a-fork__more { text-decoration: underline; text-underline-offset: 4px; }

/* Large statement paragraph */
.ab-statement {
	margin: 0; max-width: 34ch;
	font-size: clamp(24px, 6.2vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; text-wrap: pretty; color: var(--g-ink);
}

/* ---------- Split: contained photo + text (--flip = photo right from 1024) ---------- */
.x-split { display: grid; gap: var(--a-gap); align-items: center; }
.x-split__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--g-line); }
.x-split__media img { width: 100%; height: 100%; object-fit: cover; }
.x-split__media--portrait { aspect-ratio: 4 / 5; }
.x-split__body > .g-eyebrow { margin-bottom: 12px; }
.x-split__body p:not(.g-eyebrow) { margin: 16px 0 0; max-width: 56ch; font-size: 17px; line-height: 1.65; color: var(--g-text); }
.x-split__body p.x-split__lead { font-size: 21px; font-weight: 500; line-height: 1.4; color: var(--g-ink); }
.x-split__body .g-actions, .x-split__body .a-sec__cta { margin-top: 28px; }

/* ---------- Proof: award / recognition card ---------- */
.x-proof {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center;
	padding: 24px; background: var(--g-paper); border: 1px solid var(--g-line); border-top: 1px solid var(--g-gold);
}
.x-proof__media { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--g-mist); }
.x-proof__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.x-proof__label { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--g-gold); }
.x-proof__title { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--g-ink); }
.x-proof__source { margin: 6px 0 0; font-size: 15px; color: var(--g-muted); }

/* ---------- FAQ: stacked on phones; head left (sticky) + questions right from 1024 ---------- */
.x-faq { display: grid; gap: var(--a-gap); }
.x-faq__aside .a-lead { max-width: 40ch; }
.x-faq__aside .a-sec__cta { margin-top: 24px; }
.a-faq__list { border-top: 1px solid var(--g-line); }
.a-q { border-bottom: 1px solid var(--g-line); }
.a-q summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
	font-size: 18px; font-weight: 600; line-height: 1.35;
}
.a-q summary::-webkit-details-marker { display: none; }
.a-q summary .g-icon { flex: none; transition: transform .2s var(--g-ease); }
.a-q[open] summary .g-icon { transform: rotate(45deg); }
.a-q p { margin: 0 0 22px; max-width: 64ch; color: var(--g-text); font-size: 17px; }

/* ---------- Family: cross-sell to the 19/29 Cocktail Shop and AKI (text cards, no photos) ---------- */
.x-family__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.x-family__link {
	display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
	background: var(--g-paper); border: 1px solid var(--g-line);
	transition: border-color .2s var(--g-ease);
}
.x-family__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--g-line); }
.x-family__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--g-ease); }
.x-family__link:hover .x-family__media img { transform: scale(1.03); }
.x-family__body { display: grid; gap: 8px; padding: 26px 24px 24px; border-top: 1px solid var(--g-gold); }
.x-family__link:hover { border-color: var(--g-grey); }
.x-family__name { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.x-family__text { font-size: 17px; line-height: 1.55; color: var(--g-text); }
.x-family__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-weight: 600; }
.x-family__link:hover .x-family__more { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- CTA: contained mist panel, centred ---------- */
.x-cta { padding: var(--a-y) var(--a-side); background: var(--g-paper); }
.x-cta__panel { padding: 48px 24px 52px; background: var(--g-mist); text-align: center; }
.x-cta__panel::before { content: ""; display: block; width: 48px; height: 1px; margin: 0 auto 22px; background: var(--g-gold); }
.x-cta .g-eyebrow { margin-bottom: 12px; }
.x-cta .a-h2 { max-width: 18ch; margin: 0 auto; }
.x-cta__text { margin: 16px auto 0; max-width: 52ch; font-size: 18px; line-height: 1.55; color: var(--g-text); }
.x-cta .g-actions { justify-content: center; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
	.g-agency { --a-y: 88px; --a-head: 40px; --a-gap: 40px; }
	.a-hero__body { padding-top: 40px; padding-bottom: 56px; }
	.a-hero__text { font-size: 19px; }
	.a-bring { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	/* Professional staff is first on phones and in the middle from tablet up. */
	.a-bring__item--drinks { order: 1; }
	.a-bring__item--staff { order: 2; }
	.a-bring__item--exec { order: 3; }
	.a-roles { grid-template-columns: 1fr 1fr; }
	.a-role { padding: 28px 26px; }
	.a-events__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.a-event figcaption { padding: 56px 18px 18px; }
	.a-event__name { font-size: 17px; }
	.a-event__date { font-size: 14px; }
	.a-logos { grid-template-columns: repeat(4, 1fr); }
	.a-logo:last-child:nth-child(odd) { grid-column: auto; }
	.a-reviews { grid-template-columns: repeat(3, 1fr); }
	.a-fork__list { grid-template-columns: 1fr 1fr; gap: 24px; }
	.a-fork__body { padding: 28px 30px 30px; }
	.a-fork__title { font-size: 30px; }
	.a-strip { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.a-strip__item:last-child { grid-column: auto; aspect-ratio: 4 / 5; }
	.x-proof { grid-template-columns: 140px minmax(0, 1fr); gap: 32px; padding: 32px; }
	.x-proof__title { font-size: 28px; }
	.x-family__list { grid-template-columns: 1fr 1fr; gap: 24px; }
	.x-family__body { padding: 32px 32px 30px; }
	.x-cta__panel { padding: 72px 48px 76px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	.g-agency { --a-x: 56px; --a-y: 112px; --a-head: 48px; --a-gap: 72px; }
	/* Two columns: text left, the vertically shot video on the right in its own 9:16 shape,
	   so the whole frame shows on any screen (no heads cut off on short laptop screens). */
	.a-hero {
		--hero-h: min(calc(100svh - var(--g-top-h) - var(--g-banner-h)), 860px);
		display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--hero-h) * 9 / 16);
		min-height: var(--hero-h);
	}
	.a-hero__body { grid-column: 1; grid-row: 1; align-self: center; padding: 72px 56px 72px var(--a-side); }
	.a-hero__media { grid-column: 2; grid-row: 1; min-height: 0; height: var(--hero-h); align-self: start; }
	.a-hero__img, .a-hero__video { object-position: 50% 50%; }
	/* With a desktop cut (6 Nov 2026): the video takes the bigger column and fills it. */
	.a-hero--wide {
		--hero-h: min(calc(100svh - var(--g-top-h) - var(--g-banner-h)), 1000px);
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
	.a-hero__title { font-size: clamp(56px, 5.4vw, 88px); }
	.a-events__grid { gap: 16px; }
	.a-roles { grid-template-columns: repeat(4, 1fr); }
	.a-logos { grid-template-columns: repeat(7, 1fr); }
	.a-strip { gap: 16px; }
	.x-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.x-split__media { aspect-ratio: 5 / 4; }
	.x-split__media--portrait { aspect-ratio: 4 / 5; }
	.x-split--flip .x-split__media { order: 2; }
	.x-faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.x-faq__aside { position: sticky; top: 32px; }
	.x-faq__aside .a-head { margin-bottom: 0; }
	.x-proof { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 36px 40px; }
	.x-proof__title { font-size: 26px; }
	.x-cta__panel { padding: 96px 64px 100px; }
}
@media (min-width: 1440px) {
	.g-agency { --a-x: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	.a-q summary .g-icon { transition: none; }
	.a-hero__video { display: none; }
	.a-event:hover img, .a-fork__link:hover .a-fork__media img, .x-family__link:hover .x-family__media img { transform: none; }
}

/* ---------- Film: click-to-play, self-hosted (About: Angel's interview) ---------- */
.x-film { position: relative; background: #1c1d1f; }
.x-film__poster, .x-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.x-film video { object-fit: contain; background: #1c1d1f; }
.x-film__play {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px;
	padding: 24px; border: 0; cursor: pointer; text-align: left; color: #fff;
	background: linear-gradient(0deg, rgba(28, 29, 31, .72) 0%, rgba(28, 29, 31, 0) 55%);
	font: 600 18px/1.3 var(--g-font);
}
.x-film__icon {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px;
	background: rgba(255, 255, 255, .95); color: var(--g-ink); transition: transform .2s var(--g-ease);
}
.x-film__icon .g-icon { margin-left: 3px; fill: currentColor; }
.x-film__play:hover .x-film__icon { transform: scale(1.06); }
.x-film__label { display: grid; gap: 2px; }
.x-film__time { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85); }

/* Pull quote */
.x-quote { margin: 32px 0 0; padding-left: 20px; border-left: 1px solid var(--g-gold); border-radius: 0; }
.x-split__body .x-quote p { margin: 0; max-width: 30ch; font-size: 24px; font-weight: 500; line-height: 1.3; color: var(--g-ink); }
.x-quote footer { margin-top: 10px; font-size: 15px; color: var(--g-muted); }
@media (prefers-reduced-motion: reduce) { .x-film__icon { transition: none; } }

/* Proof row: award + one guest review side by side (Events) */
.x-proofs { display: grid; gap: 16px; }
.x-proofs .a-review { margin: 0; justify-content: center; }
.x-proofs .a-review blockquote p { font-size: 20px; line-height: 1.45; font-weight: 500; }
@media (min-width: 1024px) {
	.x-proofs { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
	.x-proofs .a-review { padding: 36px 40px; }
}

/* ---------- Hero on phones and tablets: the video fills the first screen, text over it ----------
   (option A, chosen 2026-10-20; desktop keeps text left / video right) */
@media (max-width: 1023px) {
	.a-hero { justify-content: flex-end; min-height: calc(100svh - var(--g-top-h) - var(--g-banner-h)); }
	.a-hero__media { position: absolute; inset: 0; min-height: 0; }
	.a-hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(20, 21, 23, .86) 0%, rgba(20, 21, 23, .55) 38%, rgba(20, 21, 23, 0) 66%); }
	.a-hero__body { position: relative; z-index: 3; padding-top: 160px; color: #fff; }
	.a-hero .g-eyebrow { color: rgba(255, 255, 255, .86); }
	.a-hero__text { color: rgba(255, 255, 255, .9); }
	.a-hero .g-btn--dark { background: #fff; color: var(--g-ink); border-color: #fff; }
	.a-hero .g-btn--dark:hover { background: transparent; color: #fff; border-color: #fff; }
	.a-hero .g-btn--outline { color: #fff; border-color: #fff; }
	.a-hero .g-btn--outline:hover { background: #fff; color: var(--g-ink); }
	.a-hero .c-direct .g-icon { color: rgba(255, 255, 255, .8); }
	.a-hero__img, .a-hero__video { object-position: 50% 50%; }
}

/* Award without a photo (Poptop): text only, same card. */
.x-proof.x-proof--text { grid-template-columns: minmax(0, 1fr); align-content: center; }

/* One review on its own (until Angel sends more event/staffing reviews): a wide quote, not a lone card. */
.a-reviews:has(> .a-review:only-child) { grid-template-columns: minmax(0, 1fr); }
.a-reviews > .a-review:only-child { max-width: 860px; }
.a-reviews > .a-review:only-child blockquote p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: var(--g-ink); }

/* Award with a logo instead of a photo (Poptop): logo centred in the square. */
.x-proof__media--logo { display: grid; place-items: center; padding: 14%; background: var(--g-paper); border: 1px solid var(--g-line); }
.x-proof__media--logo img { width: 100%; height: auto; object-fit: contain; }
