/* WordPress integration layer. Keeps CMS markup aligned with the original art direction. */
.nav nav .menu,
.footer-sitemap .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav nav .menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 38px);
}

#services,
#studio,
#work,
#testimonials,
#careers,
#contact { scroll-margin-top: 88px; }

.nav nav .menu li,
.footer-sitemap .menu li { margin: 0; }

.service-row h3 a { color: inherit; text-decoration: none; }

.header-logo .custom-logo-link,
.site-map-footer .custom-logo-link { display: inline-flex; }

.header-logo .custom-logo,
.header-logo .logo img {
	display: block;
	width: clamp(116px, 10vw, 150px);
	height: auto;
}

.site-map-footer .custom-logo,
.site-map-footer .logo img {
	display: block;
	width: min(190px, 100%);
	height: auto;
}

.footer-sitemap .menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 12px 30px;
}

.form-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.project-form .form-submit p a { color: inherit; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 3px; }

.role-panel .role-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 36px;
	margin-top: 12px;
}

.role-panel .role-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 0;
}

.role-panel .role-actions a span { margin-left: 0; }

.page-editor-content,
.case-editor-content {
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1.8;
}

.page-editor-content > *,
.case-editor-content > * { max-width: 820px; }
.page-editor-content > .alignwide,
.case-editor-content > .alignwide { max-width: 1160px; }
.page-editor-content > .alignfull,
.case-editor-content > .alignfull { max-width: none; }
.page-editor-content img,
.case-editor-content img { height: auto; }

.generic-page,
.archive-page,
.job-detail {
	min-height: 70vh;
	padding: clamp(150px, 18vw, 220px) var(--pad, 5vw) clamp(80px, 10vw, 150px);
}

.job-detail {
	min-height: 100svh;
	background: var(--night);
	color: var(--paper);
}

.job-detail .kicker { color: rgba(244, 241, 233, .62); }
.job-detail .kicker > span { background: var(--cyan); }
.job-detail > p:not(.kicker),
.job-detail .entry-content { color: rgba(244, 241, 233, .76); }
.job-detail .entry-content h2,
.job-detail .entry-content h3,
.job-detail .entry-content strong { color: var(--paper); }
.job-detail .pill-link { color: var(--paper); border-color: rgba(244, 241, 233, .46); }
.job-detail .pill-link:hover { background: var(--cyan); border-color: var(--cyan); color: var(--night); }

.generic-page > *,
.job-detail > * { max-width: 900px; }
.generic-page h1,
.archive-page h1,
.job-detail h1 { max-width: 14em; font-size: clamp(2.5rem, 4.8vw, 5.1rem); line-height: .98; letter-spacing: -.05em; }
.generic-page .entry-content,
.job-detail .entry-content { margin-top: 48px; }

/* Restrained inner-page display scale. This prevents CMS titles from becoming
   billboard-sized while keeping the expressive homepage hero unchanged. */
.enquiry-copy h1 { font-size: clamp(3rem, 5.2vw, 5.9rem); line-height: .94; }
.case-title h1 { font-size: clamp(3.25rem, 6.1vw, 6.8rem); line-height: .88; }
.career-hero-copy h1 { font-size: clamp(3.1rem, 5.8vw, 6.4rem); line-height: .9; }
.reviews-hero h1 { font-size: clamp(3.2rem, 6vw, 6.6rem); line-height: .9; }

.review-feature blockquote {
	max-width: 980px;
	font: 500 clamp(1.9rem, 3.2vw, 3.25rem) / 1.32 Manrope, sans-serif;
	letter-spacing: -.035em;
}

.testimonials-page-link {
	display: inline-flex;
	align-items: center;
	gap: 32px;
	margin-top: 34px;
	padding: 13px 0 10px;
	border-bottom: 1px solid rgba(255,255,255,.32);
	color: var(--paper);
	font: 600 .7rem/1 'DM Mono', monospace;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.testimonials-page-link span { color: var(--yellow); transition: transform .25s; }
.testimonials-page-link:hover span, .testimonials-page-link:focus-visible span { transform: translate(4px, -3px); }

.role:hover b, .role:focus-visible b { color: var(--cyan); opacity: 1; }
.role:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

.contact h2 {
	max-width: 12em;
	font-size: clamp(3.125rem, 5.8vw, 5rem);
	line-height: .94;
	letter-spacing: -.065em;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2vw, 32px);
	margin-top: 60px;
}
.archive-card { color: inherit; text-decoration: none; }
.archive-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.archive-card h2 { font-size: clamp(1.4rem, 2vw, 2.2rem); margin: 18px 0 6px; }

.admin-bar .nav { top: 32px; }

/* Keep job navigation on the same dark glass surface from the first frame. */
.job-page .inner-nav {
	background: rgba(7, 6, 38, .9);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

/* Legal pages */
.legal-main { min-height: 100vh; background: var(--paper); color: var(--night); }
.legal-hero { padding: clamp(160px, 17vw, 230px) var(--pad, 5vw) clamp(75px, 9vw, 120px); background: var(--night); color: var(--paper); }
.legal-hero h1 { max-width: 12em; margin: 28px 0; font-size: clamp(3.2rem, 6vw, 6.7rem); line-height: .92; letter-spacing: -.065em; }
.legal-hero > p:last-child { max-width: 700px; color: rgba(244,241,233,.68); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.65; }
.legal-layout { display: grid; grid-template-columns: minmax(190px, .35fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 150px); max-width: 1280px; margin: auto; padding: clamp(80px, 10vw, 150px) var(--pad, 5vw); }
.legal-layout aside { align-self: start; position: sticky; top: 115px; }
.legal-layout aside > p { margin: 0 0 20px; color: #6d6b7c; font: 500 .72rem/1 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.legal-layout aside nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.legal-layout aside a { padding: 13px 0; border-bottom: 1px solid var(--line); color: #747287; font-size: .9rem; }
.legal-layout aside a.active, .legal-layout aside a:hover { color: var(--night); }
.legal-layout aside a.active::before { content: '→'; margin-right: 9px; color: var(--cyan); }
.legal-content { max-width: 780px; font-size: 1.05rem; line-height: 1.8; }
.legal-content h2 { margin: 2.2em 0 .6em; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -.045em; }
.legal-content h3 { margin: 1.8em 0 .4em; font-size: 1.25rem; }
.legal-content a { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.legal-content li + li { margin-top: .55em; }
.legal-content code { padding: 2px 6px; border-radius: 4px; background: rgba(11,10,54,.08); }
.legal-review-note { margin-top: 55px; padding: 24px; border-left: 4px solid var(--yellow); background: rgba(255,194,28,.16); }
.legal-review-note p { margin-bottom: 0; font-size: .9rem; }

/* Human-readable sitemap */
.sitemap-main { min-height: 100vh; background: var(--paper); color: var(--night); }
.sitemap-hero { padding: clamp(160px, 17vw, 230px) var(--pad, 5vw) clamp(70px, 8vw, 110px); background: var(--night); color: var(--paper); }
.sitemap-hero h1 { margin: 28px 0; font-size: clamp(3.2rem, 6vw, 6.7rem); line-height: .92; letter-spacing: -.065em; }
.sitemap-hero > p:last-child { max-width: 720px; color: rgba(244,241,233,.68); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.65; }
.sitemap-directory { max-width: 1500px; margin: auto; padding: clamp(80px, 10vw, 150px) var(--pad, 5vw); }
.sitemap-intro { max-width: 780px; margin-bottom: 65px; font-size: 1.05rem; line-height: 1.8; }
.sitemap-group-wide { margin-bottom: clamp(65px, 9vw, 120px); }
.sitemap-label { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; color: #6d6b7c; font: 500 .72rem/1 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.sitemap-label span { display: grid; place-items: center; width: 40px; aspect-ratio: 1; border: 1px solid rgba(11,10,54,.28); border-radius: 50%; color: var(--night); }
.sitemap-card-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sitemap-card { position: relative; min-height: 210px; padding: 25px 52px 25px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; transition: background .25s, color .25s; }
.sitemap-card > span { display: block; font-size: clamp(1.3rem, 1.7vw, 2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.sitemap-card small { display: block; margin-top: 18px; color: #747287; font-size: .84rem; line-height: 1.55; transition: color .25s; }
.sitemap-card i { position: absolute; top: 24px; right: 24px; color: var(--cyan); font: normal 1rem/1 'DM Mono', monospace; }
.sitemap-card:hover { background: var(--night); color: var(--paper); }
.sitemap-card:hover small { color: rgba(244,241,233,.64); }
.sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(55px, 8vw, 110px) clamp(45px, 7vw, 100px); }
.sitemap-group nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sitemap-group nav a { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 58px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: inherit; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.sitemap-group nav a i { color: var(--cyan); font: normal .82rem/1 'DM Mono', monospace; transition: transform .25s; }
.sitemap-group nav a:hover i { transform: translate(3px, -3px); }
.sitemap-group nav a:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px; }
.sitemap-policies { grid-column: 1 / -1; }
.sitemap-policies nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.sitemap-policies nav a { padding: 18px; border-right: 1px solid var(--line); }

/* Consent manager */
.consent-banner { position: fixed; z-index: 10000; right: 24px; bottom: 24px; width: min(620px, calc(100vw - 48px)); padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(7,6,38,.97); box-shadow: 0 28px 90px rgba(0,0,0,.4); color: var(--paper); backdrop-filter: blur(24px); transition: opacity .25s, transform .25s; }
.consent-banner.is-hidden { display: none; }
.consent-banner h2 { margin: 12px 0; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1; letter-spacing: -.045em; }
.consent-summary > p:last-child { margin: 0; color: rgba(244,241,233,.68); font-size: .9rem; line-height: 1.6; }
.consent-summary a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.consent-preferences { margin: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.consent-preferences label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.consent-preferences span { display: flex; flex-direction: column; gap: 4px; }
.consent-preferences small { color: rgba(244,241,233,.54); }
.consent-preferences input { width: 20px; height: 20px; accent-color: var(--cyan); }
.consent-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.consent-actions button, .footer-legal button { border: 1px solid rgba(255,255,255,.25); border-radius: 100px; background: transparent; color: inherit; cursor: pointer; font: 600 .66rem/1 'DM Mono', monospace; letter-spacing: .05em; text-transform: uppercase; }
.consent-actions button { padding: 12px 15px; }
.consent-actions .consent-primary { border-color: var(--yellow); background: var(--yellow); color: var(--night); }
.footer-legal nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
.footer-legal nav a, .footer-legal nav button { color: rgba(255,255,255,.56); font: 500 .64rem/1 'DM Mono', monospace; text-transform: uppercase; }
.footer-legal nav button { padding: 0; border: 0; }

/* Creative Team */
.team-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
	align-items: center;
	min-height: 100svh;
	padding: clamp(150px, 16vw, 210px) var(--pad, 5vw) clamp(80px, 8vw, 120px);
	background: var(--night);
	color: var(--paper);
	overflow: hidden;
}
.team-hero-copy { position: relative; z-index: 2; max-width: 920px; }
.team-hero-copy h1 { max-width: 11em; margin: 28px 0 32px; font-size: clamp(3rem, 5.8vw, 6.4rem); line-height: .9; letter-spacing: -.065em; }
.team-hero-copy > p:not(.kicker) { max-width: 650px; color: rgba(244,241,233,.72); font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.65; }
.team-hero-copy .career-scroll { margin-top: 38px; }
.team-hero-art { position: relative; min-height: min(70vw, 720px); display: grid; place-items: center; }
.team-hero-art img { position: relative; z-index: 2; width: min(100%, 660px); height: min(66vw, 680px); object-fit: contain; filter: drop-shadow(0 30px 70px rgba(0,0,0,.28)); animation: teamFloat 7s ease-in-out infinite; }
.team-hero-art > span { position: absolute; right: 0; bottom: 7%; z-index: 3; padding: 10px 14px; background: var(--yellow); color: var(--night); font: 500 .72rem/1 'DM Mono', monospace; letter-spacing: .08em; transform: rotate(-3deg); }
.team-orbit { position: absolute; inset: 10%; border: 1px solid rgba(15,197,243,.42); border-radius: 50%; animation: spin 24s linear infinite; }
.team-orbit i { position: absolute; top: 7%; left: 16%; width: 18px; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 34px var(--cyan); }
.team-orbit.orbit-b { inset: 24%; border-color: rgba(255,194,28,.5); animation-direction: reverse; animation-duration: 17s; }
.team-orbit.orbit-b i { top: auto; left: auto; right: 4%; bottom: 20%; width: 13px; background: var(--yellow); box-shadow: 0 0 28px var(--yellow); }
@keyframes teamFloat { 50% { transform: translateY(-20px) rotate(1.5deg); } }

.team-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 8vw; background: var(--yellow); color: var(--night); }
.team-section-head > p { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; font: 500 .75rem/1 'DM Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.team-section-head > p span { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.team-section-head h2 { max-width: 12em; font-size: clamp(3.2rem, 6.6vw, 8rem); line-height: .9; letter-spacing: -.065em; }
.team-overview .team-section-head h2 { max-width: 13em; font-size: clamp(2.5rem, 4.5vw, 5.4rem); line-height: .96; letter-spacing: -.055em; }
.team-overview-copy { align-self: end; max-width: 620px; font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.65; }
.team-overview-copy .page-editor-content { margin-top: 28px; }
.team-principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid rgba(11,10,54,.25); }
.team-principles span { display: flex; gap: 18px; padding: 22px 0; font: 500 .8rem/1.4 'DM Mono', monospace; text-transform: uppercase; }
.team-principles span + span { padding-left: 28px; border-left: 1px solid rgba(11,10,54,.25); }

.team-roster { background: var(--paper); color: var(--night); }
.team-roster .team-section-head { display: grid; grid-template-columns: .6fr 1.4fr; align-items: start; margin-bottom: clamp(50px, 8vw, 110px); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(38px, 5vw, 72px) clamp(16px, 2.2vw, 34px); }
.team-card:nth-child(even) { margin-top: 4vw; }
.team-card figure { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin: 0; background: var(--cyan); overflow: hidden; }
.team-card:nth-child(4n+2) figure { background: var(--yellow); }
.team-card:nth-child(4n+3) figure { background: var(--violet); }
.team-card:nth-child(4n+4) figure { background: var(--ink); }
.team-card figure img { width: 82%; height: 82%; object-fit: contain; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.team-card:hover figure img { transform: scale(1.055) translateY(-1.5%); }
.team-card figure i { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 50%; background: var(--night); color: white; font: 500 .72rem/1 'DM Mono', monospace; }
.team-card-copy { padding-top: 22px; border-top: 1px solid rgba(11,10,54,.24); }
.team-card-copy > p { margin: 0 0 8px; color: #625f7c; font: 500 .72rem/1.3 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.team-card-copy h3 { margin: 0 0 8px; font-size: clamp(1.55rem, 2.2vw, 2.7rem); line-height: 1; letter-spacing: -.055em; }
.team-card-copy > span { color: #625f7c; font-size: .95rem; }
.team-bio { max-width: 560px; margin-top: 18px; line-height: 1.65; }
.team-card-copy nav { display: flex; gap: 20px; margin-top: 20px; }
.team-card-copy nav a { color: inherit; font: 500 .75rem/1 'DM Mono', monospace; text-transform: uppercase; }

.team-cta { position: relative; min-height: min(86vh, 880px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px var(--pad, 5vw); background: var(--cyan); color: var(--night); text-align: center; overflow: hidden; }
.team-cta h2 { position: relative; z-index: 2; max-width: 12em; margin: 28px auto 46px; font-size: clamp(2.6rem, 5.4vw, 6.3rem); line-height: .94; letter-spacing: -.06em; }
.team-cta .kicker, .team-cta .submit-orbit { position: relative; z-index: 3; }
.team-cta-orbit { position: absolute; width: min(70vw, 760px); aspect-ratio: 1; border: 1px solid rgba(11,10,54,.25); border-radius: 50%; animation: spin 26s linear infinite; }
.team-cta-orbit i, .team-cta-orbit b { position: absolute; width: 18px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.team-cta-orbit i { top: 5%; left: 25%; }.team-cta-orbit b { right: 7%; bottom: 25%; background: var(--night); }

@media (max-width: 1100px) {
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team-card:nth-child(even) { margin-top: 5vw; }
	.sitemap-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sitemap-policies nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.nav nav, .nav-talk { display: none; }
	.menu-toggle { display: flex; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
	.menu-toggle span:not(.sr-only) { width: 17px; height: 1px; background: #fff; transition: .25s; }
	.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.menu-toggle[aria-expanded=true] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
	.mobile-menu { display: flex; visibility: hidden; opacity: 0; position: fixed; inset: 77px 0 auto; max-height: calc(100svh - 77px); overflow-y: auto; background: var(--deep); padding: 35px 20px; flex-direction: column; gap: 20px; font: 700 clamp(1.45rem, 4vw, 2rem) Manrope; transform: translateY(-15px); transition: .3s; }
	.mobile-menu.open { visibility: visible; opacity: 1; transform: none; }
}

@media (max-width: 782px) {
	.admin-bar .nav { top: 46px; }
	.archive-grid { grid-template-columns: 1fr; }
	.footer-sitemap .menu { grid-template-columns: 1fr 1fr; }
	.team-hero { grid-template-columns: 1fr; padding-top: 135px; }
	.team-hero-art { min-height: 520px; margin-top: 20px; }
	.team-hero-art img { height: 520px; }
	.team-overview { grid-template-columns: 1fr; }
	.team-principles { grid-template-columns: 1fr; }
	.team-principles span + span { padding-left: 0; border-left: 0; border-top: 1px solid rgba(11,10,54,.25); }
	.team-roster .team-section-head { grid-template-columns: 1fr; gap: 25px; }
	.legal-layout { grid-template-columns: 1fr; }
	.legal-layout aside { position: static; }
	.sitemap-card-grid, .sitemap-policies nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sitemap-grid { grid-template-columns: 1fr; }
	.sitemap-policies { grid-column: auto; }
}

@media (max-width: 520px) {
	.footer-sitemap .menu { grid-template-columns: 1fr; }
	.role-panel .role-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
	.team-hero-copy h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
	.team-hero-art { min-height: 400px; }
	.team-hero-art img { height: 400px; }
	.team-grid { grid-template-columns: 1fr; }
	.team-card:nth-child(even) { margin-top: 0; }
	.consent-banner { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 20px; border-radius: 16px; }
	.consent-actions { align-items: stretch; flex-direction: column; }
	.consent-actions button { width: 100%; }
	.sitemap-card-grid, .sitemap-policies nav { grid-template-columns: 1fr; }
	.sitemap-card { min-height: 160px; }
}
