/*
Theme Name: A2Z Media
Theme URI: https://a2z.media
Description: A2Z.MEDIA site theme, built from the A2Z.Media Figma file.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: a2z-media
*/

@font-face { font-family: 'Milker'; src: url('assets/fonts/Milker.otf') format('opentype'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Miller Display'; src: url('assets/fonts/MillerDisplay.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }

/* ---------- Tokens (Figma variables) ---------- */
:root {
	--a2z-accent: #ED0A73;
	--a2z-black: #141414;
	--a2z-ink-2: #2A2A2C;
	--a2z-text-2: #555452;
	--a2z-muted: #6E6D6A;
	--a2z-line: #D6D5D2;
	--a2z-sand: #F2F1EF;
	--a2z-grey-20: #333335;
	--a2z-grey-34: #55555A;
	--a2z-grey-53: #8A8986;
	--a2z-grey-60: #9C9B98;
	--a2z-grey-70: #B5B4B1;
	--a2z-radius: 24px;
	--a2z-gutter: clamp(20px, 8.333vw, 120px); /* 120px at 1440, 20px on phones */
	--a2z-wrap: 1440px;
	--a2z-serif: 'Miller Display', Georgia, serif;
	--a2z-sans: 'Public Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--a2z-black); font-family: var(--a2z-sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--a2z-accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--a2z-wrap); margin: 0 auto; padding-left: var(--a2z-gutter); padding-right: var(--a2z-gutter); }
.logo { font-family: 'Milker', sans-serif; text-transform: uppercase; font-size: 28px; line-height: 42px; white-space: nowrap; }
.serif { font-family: var(--a2z-serif); font-weight: 600; }
.dot { color: var(--a2z-accent); }
.icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; }

/* Pixel rule under headings: six 8px squares, 4px apart */
.px { display: block; width: 68px; height: 8px; background: repeating-linear-gradient(90deg, var(--a2z-accent) 0 8px, transparent 8px 12px); }

/* Section heading */
.sec-head { display: flex; flex-direction: column; gap: 24px; }
.sec-head h2 { margin: 0; font-size: 60px; line-height: 63px; letter-spacing: -0.6px; }

/* Pill button: outline, pink dot, label, arrow */
.btn { display: inline-flex; align-items: center; gap: 7px; min-height: 52px; padding: 0 30px; border: 1.5px solid var(--a2z-black); border-radius: 999px; background: transparent; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--a2z-black); transition: background .2s, color .2s; }
.btn .pip { width: 8px; height: 8px; border-radius: 4px; background: var(--a2z-accent); flex: 0 0 auto; }
.btn:hover { background: var(--a2z-black); color: #FFFFFF; }
.btn:hover .icon { filter: invert(1); }
.btn-white { background: #FFFFFF; }
.btn-dark { min-height: 40px; height: 40px; gap: 10px; padding: 0 24px; border: 1px solid #FFFFFF; background: var(--a2z-black); color: #FFFFFF; font-size: 14px; line-height: 21px; }
.btn-dark:hover { background: #FFFFFF; color: var(--a2z-black); }

/* ---------- Header ---------- */
.site-header .wrap { height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; font-size: 16px; font-weight: 700; line-height: 21px; cursor: pointer; }

/* ---------- Full-screen menu ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 200; background: var(--a2z-black); color: #FFFFFF; overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
.menu-overlay .wrap { padding-top: 56px; padding-bottom: 56px; min-height: 100%; display: flex; flex-direction: column; }
.menu-top { height: 44px; display: flex; align-items: center; justify-content: space-between; }
.menu-top .logo { font-size: 27.44px; line-height: 41.16px; }
.menu-close { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; font-size: 14px; font-weight: 700; line-height: 20px; color: #FFFFFF; cursor: pointer; }
.menu-close span.box { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.menu-body { flex: 1; display: flex; align-items: center; gap: 72px; padding-top: 64px; padding-bottom: 32px; }
.menu-nav { flex: 0 0 540px; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
.menu-nav a { display: inline-block; font-family: var(--a2z-serif); font-weight: 600; font-size: 88px; line-height: 99px; letter-spacing: -2.6px; color: #FFFFFF; transition: color .2s; }
.menu-nav a:hover, .menu-nav a:focus-visible { color: var(--a2z-accent); }
.menu-contact { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.label { font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: 2.42px; text-transform: uppercase; color: var(--a2z-grey-60); }
.menu-contact > .label:first-child { color: var(--a2z-grey-70); }
.menu-contact .email { font-size: 44px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; }
.menu-contact .label + .btn-dark, .menu-contact .careers { margin-top: 0; }
.menu-contact .careers { padding-top: 28px; }
.menu-offices { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .15); }

/* Offices grid (menu + footer) */
.offices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; width: 100%; }
.offices > div { display: flex; flex-direction: column; gap: 8px; }
.offices .label { color: var(--a2z-grey-60); }
.offices .hq .label { color: var(--a2z-accent); }
.offices .addr { font-size: 14px; line-height: 22.4px; color: var(--a2z-grey-70); }
.offices .hq .addr { color: #FFFFFF; }
.menu-offices .offices { padding-top: 35px; }
.menu-offices .offices .label { color: var(--a2z-grey-70); }
.menu-offices .offices .hq .label { color: var(--a2z-accent); }
.offices.center > div { text-align: center; }

/* ---------- Spinning ring link ---------- */
.ring { position: relative; flex: 0 0 auto; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; }
.ring svg.spin { position: absolute; inset: 0; width: 100%; height: 100%; animation: a2zspin 22s linear infinite; }
.ring text { font: 600 10.5px var(--a2z-sans); }
.ring text.sep { font: 700 14px var(--a2z-sans); }
@keyframes a2zspin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero .wrap { padding-top: 96px; padding-bottom: 110px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero-copy { flex: 0 1 990px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero-copy .eyebrow { margin: 0; font-size: 12px; font-weight: 700; line-height: 16.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--a2z-text-2); }
.hero h1 { margin: 0; font-size: clamp(48px, 7.36vw, 106px); line-height: 1; color: var(--a2z-black); }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.partners img { display: block; width: auto; max-width: none; }
.hero .ring { margin-bottom: -37px; }

/* ---------- Selected work ---------- */
.work .wrap { display: flex; flex-direction: column; align-items: center; gap: 65px; padding-bottom: 90px; }
.work-inner { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.media-box { position: relative; width: 100%; overflow: hidden; border-radius: var(--a2z-radius); background: var(--a2z-ink-2); }
body .media-box > img, body .media-box > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card .media-box { transition: transform .4s ease; }
.card:hover .media-box { transform: scale(.985); }
.card-caption { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; font-weight: 700; }
.card-eyebrow { font-size: 14px; line-height: 18px; text-transform: uppercase; color: var(--a2z-text-2); }
.card-title { font-size: 20px; line-height: 1.2; color: var(--a2z-black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-feature .media-box { height: 590px; }
.work-feature .card-eyebrow { font-size: 16px; }
.work-feature .card-title, .work-big .card-title { font-size: 24px; }

.work-grid { display: grid; grid-template-columns: minmax(0, 566fr) minmax(0, 293fr) minmax(0, 293fr); column-gap: 24px; row-gap: 32px; }
.work-big { grid-row: span 2; }
.work-big .media-box { flex: 1 1 auto; min-height: 300px; }
.work-tile .media-box { height: 300px; }

.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; background: #E6E5E3; color: var(--a2z-black); }
.placeholder.dark { background: var(--a2z-ink-2); color: #FFFFFF; }
.placeholder .serif { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.placeholder small { font-size: 11px; font-weight: 600; letter-spacing: 1.98px; text-transform: uppercase; color: var(--a2z-text-2); }
.placeholder.dark small { color: var(--a2z-grey-70); }

/* ---------- Who we are ---------- */
.agency { position: relative; background: var(--a2z-sand); overflow: hidden; }
.agency .corner { position: absolute; right: 0; bottom: 0; width: 198px; height: 192px; background: var(--a2z-accent); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.agency .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.agency .sec-head h2 { font-size: 64px; line-height: 1; letter-spacing: 0; }
.agency-cols { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.agency-cols > div { display: flex; flex-direction: column; gap: 16px; }
.agency-cols p { margin: 0; max-width: 558px; font-size: 16px; line-height: 28px; color: var(--a2z-ink-2); }
.agency-cols .tagline { font-size: 18px; font-weight: 700; line-height: 29.75px; }
.stats { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--a2z-line); }
.stats > div { display: flex; flex-direction: column; gap: 8px; }
.stats .num { font-size: 80px; font-weight: 700; line-height: 80px; letter-spacing: -4px; white-space: nowrap; }
.stats .num .plus { font-size: .5em; vertical-align: .9em; letter-spacing: 0; margin-left: 2px; }
.stats .label { font-size: 16px; line-height: 24px; letter-spacing: 1.4px; color: var(--a2z-black); }

/* ---------- What we do ---------- */
.services .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.svc-list { width: 100%; border-bottom: 1px solid var(--a2z-line); }
.svc { border-bottom: 1px solid var(--a2z-line); transition: border-color .2s; }
.svc:last-child { border-bottom: 0; }
.svc.is-open { border-bottom: 1px solid var(--a2z-black); padding: 12px 0 24px; }
.svc.is-open:last-child { border-bottom: 1px solid var(--a2z-black); }
.svc-toggle { width: 100%; display: grid; grid-template-columns: 356px minmax(0, 1fr) 48px; align-items: center; gap: 56px; padding: 30px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.svc.is-open .svc-toggle { padding: 30px 0 18px; }
.svc-head { display: flex; align-items: flex-start; }
.svc-n { font-size: 14px; font-weight: 600; line-height: 19.5px; letter-spacing: 1.82px; color: var(--a2z-muted); }
.svc-title { font-size: 48px; font-weight: 800; line-height: 68px; letter-spacing: -2.72px; color: var(--a2z-black); }
.svc-summary { font-size: 17px; line-height: 27px; color: var(--a2z-black); }
.svc-icon { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--a2z-black); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.svc-icon .i-open { display: none; }
.svc.is-open .svc-icon { background: var(--a2z-black); }
.svc.is-open .svc-icon .i-closed { display: none; }
.svc.is-open .svc-icon .i-open { display: block; }
.svc-items { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 3), auto); }
.svc-items[hidden] { display: none; }
.svc-items li { position: relative; padding: 6px 0 6px 21px; font-size: 17px; line-height: 27px; }
.svc-items li::before { content: ''; position: absolute; left: 0; top: 16.5px; width: 7px; height: 7px; background: var(--a2z-accent); }
.svc-items a { text-decoration: underline; text-underline-offset: 3px; }
.svc-items a:hover { color: var(--a2z-accent); }

/* ---------- Brands that trust us (marquee unchanged) ---------- */
.clients { background: var(--a2z-sand); overflow: hidden; padding: 120px 0; }
.clients .wrap { padding-bottom: 40px; }
.marquees { display: flex; flex-direction: column; gap: 20px; }
.marquees > div { overflow: hidden; }
.mq { display: flex; width: max-content; animation: a2zmq 70s linear infinite; }
.mq.rev { animation-direction: reverse; }
.mq span { display: inline-flex; align-items: center; justify-content: center; height: 72px; padding: 0 36px; flex: 0 0 auto; }
body .mq span img { display: block; width: auto; max-width: none; height: var(--h); }
@keyframes a2zmq { to { transform: translateX(-50%); } }

/* ---------- Let's talk / footer ---------- */
.contact { position: relative; background: var(--a2z-black); color: #FFFFFF; overflow: hidden; }
.contact .corner { position: absolute; left: 0; top: 0; width: 200px; height: 200px; background: var(--a2z-accent); clip-path: polygon(0 0, 100% 0, 0 100%); }
.dust-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dust { position: absolute; border-radius: 50%; background: #FFFFFF; opacity: 0; animation: a2zdust var(--d) linear var(--delay) infinite; }
@keyframes a2zdust { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: var(--o); } 50% { opacity: calc(var(--o) * .35); } 65% { opacity: var(--o); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
.contact .wrap { position: relative; padding-top: 120px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; }
.contact h2 { margin: 0; font-family: var(--a2z-serif); font-weight: 400; font-size: 124px; line-height: 121.52px; letter-spacing: -1.86px; }
.contact-block { width: 100%; border-top: 1px solid var(--a2z-grey-20); padding-top: 65px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-email { font-size: 48px; font-weight: 700; letter-spacing: -0.48px; text-decoration: underline; text-decoration-thickness: 2%; text-underline-offset: 6px; }
.contact-email:hover { color: var(--a2z-accent); }
.contact-block .offices { margin-top: 28px; padding-top: 36px; border-top: 1px solid var(--a2z-grey-20); }
.contact-block .careers-label { margin-top: 28px; }
.footer-bottom { width: 100%; border-top: 1px solid var(--a2z-grey-20); padding-top: 49px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border: 1px solid var(--a2z-grey-34); border-radius: 23px; display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.socials a:hover { border-color: var(--a2z-accent); background: var(--a2z-accent); }
.socials img { width: 16px; height: 16px; display: block; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 11px; font-weight: 600; letter-spacing: 1.76px; text-transform: uppercase; color: var(--a2z-grey-60); }
.legal-links a:hover { color: #FFFFFF; }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; width: 100%; padding-top: 29px; border-top: 1px solid var(--a2z-grey-20); font-size: 12px; color: var(--a2z-grey-53); }
.copyright span:last-child { letter-spacing: 1.92px; text-transform: uppercase; }

/* Floating CTA */
.float-cta { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20; display: inline-flex; align-items: center; gap: 10px; min-height: 49px; padding: 0 24px; border-radius: 999px; background: var(--a2z-black); color: #FFFFFF; font-size: 14px; font-weight: 700; line-height: 21px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .85); }
.float-cta .pip { width: 8px; height: 8px; border-radius: 4px; background: var(--a2z-accent); }
body.menu-open { overflow: hidden; }
body.menu-open .float-cta { display: none; }

/* ---------- Listings / single project ---------- */
.listing .wrap { padding-top: 48px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.listing h1 { margin: 0; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -0.015em; }
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-list .media-box { height: auto; aspect-ratio: 1 / 1; }
.service-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 32px 0; border-top: 1px solid var(--a2z-line); }
.service-group h2 { margin: 0; }
.service-group .svc-items { flex: 1 1 100%; padding-top: 12px; grid-auto-flow: row; grid-template-rows: none; }
.project-single .wrap { padding-top: 48px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 22px; }
.project-single .card-eyebrow { margin: 0; }
.project-single h1 { margin: 0 0 24px; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.015em; }
.project-single .media-box { aspect-ratio: 16 / 8; }
.project-body { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--a2z-ink-2); padding: 32px 0; }
.page-plain { padding-top: 48px; padding-bottom: 120px; font-size: 17px; line-height: 1.75; }
.page-plain h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.05; margin: 0 0 32px; }

/* ================= Responsive ================= */

/* Laptop */
@media (max-width: 1200px) {
	.menu-nav { flex-basis: 420px; }
	.menu-nav a { font-size: 72px; line-height: 84px; }
	.menu-contact .email { font-size: 36px; }
	.svc-toggle { grid-template-columns: 300px minmax(0, 1fr) 48px; gap: 40px; }
	.contact h2 { font-size: 104px; line-height: 1; }
}

/* Tablet */
@media (max-width: 1023px) {
	.hero .wrap { padding-top: 64px; padding-bottom: 80px; }
	.hero .ring { width: 130px; height: 130px; margin-bottom: 0; }

	.work-feature .media-box { height: auto; aspect-ratio: 16 / 9; }
	.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.work-big { grid-column: 1 / -1; grid-row: auto; }
	.work-big .media-box { flex: none; height: auto; aspect-ratio: 16 / 10; }
	.work-tile .media-box { height: auto; aspect-ratio: 1 / 1; }

	.agency .wrap, .services .wrap { padding-top: 88px; padding-bottom: 88px; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.stats .num { font-size: 64px; line-height: 64px; letter-spacing: -3px; }

	.svc-toggle { grid-template-columns: minmax(0, 1fr) 48px; gap: 12px 24px; }
	.svc-head { grid-column: 1; }
	.svc-icon { grid-column: 2; grid-row: 1; }
	.svc-summary { grid-column: 1 / -1; color: var(--a2z-text-2); }

	.menu-body { flex-direction: column; align-items: flex-start; gap: 48px; }
	.menu-nav { flex-basis: auto; }
	.offices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact h2 { font-size: 88px; }
	.clients { padding: 88px 0; }
}

/* Mobile (Figma 390px frame) */
@media (max-width: 767px) {
	:root { --a2z-radius: 16px; --a2z-gutter: 20px; }
	.site-header .wrap { height: 72px; padding-left: 16px; padding-right: 16px; }

	.hero .wrap { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
	.hero-copy { flex: none; width: 100%; }
	.hero-copy .eyebrow { letter-spacing: 1px; }
	.hero h1 { font-size: 48px; }
	.hero h1 br { display: none; }
	.partners { gap: 16px 24px; }
	.hero .ring { width: 120px; height: 120px; align-self: center; }

	.work .wrap { gap: 32px; padding-bottom: 60px; }
	.work-inner { gap: 16px; }
	.work-grid { column-gap: 16px; row-gap: 8px; }
	.card-caption { gap: 12px; padding: 20px 0; }
	.card-eyebrow { font-size: 11px; line-height: 16.5px; letter-spacing: 2.2px; color: var(--a2z-muted); }
	.card-title { font-size: 14px; line-height: 20.25px; }
	.work-feature .card-eyebrow { font-size: 12px; }
	.work-feature .card-title { font-size: 20px; line-height: 27.27px; }
	.work-big .card-title { font-size: 18px; line-height: 24.3px; }
	.work-big .media-box { aspect-ratio: 350 / 429; }
	.work-tile .media-box { aspect-ratio: auto; height: 150px; }
	.placeholder .serif { font-size: 28px; }
	.btn { min-height: 48px; padding: 0 20px; font-size: 14px; line-height: 21px; }
	.btn .icon { width: 16px; height: 16px; }

	.sec-head h2, .agency .sec-head h2 { font-size: 36px; line-height: 37.8px; }
	.agency .wrap { padding-top: 40px; padding-bottom: 120px; gap: 32px; }
	.agency-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.agency-cols p { font-size: 16px; line-height: 26.4px; max-width: none; }
	.agency-cols .tagline { font-size: 17px; }
	.agency .corner { width: 120px; height: 116px; }
	.stats { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 20px; }
	.stats > div { gap: 12px; }
	.stats .num { font-size: 40px; line-height: 42px; letter-spacing: 0; }
	.stats .label { font-size: 14px; font-weight: 600; line-height: 21px; }

	.services .wrap { padding-top: 40px; padding-bottom: 40px; }
	.svc, .svc.is-open { padding: 0; }
	.svc { border-bottom: 0; border-top: 1px solid var(--a2z-line); }
	.svc.is-open, .svc.is-open:last-child { border-bottom: 0; padding-bottom: 24px; }
	.svc-toggle, .svc.is-open .svc-toggle { padding: 20px 0; gap: 12px; grid-template-columns: minmax(0, 1fr) 36px; }
	.svc-n { flex: 0 0 20px; }
	.svc-title { font-size: 32px; font-weight: 900; line-height: 37.8px; letter-spacing: 0; }
	.svc-summary { font-size: 16px; line-height: 26.4px; }
	.svc-icon { width: 36px; height: 36px; }
	.svc-icon .icon { width: 20px; height: 20px; }
	.svc-items { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; gap: 8px; }
	.svc-items li { padding: 7.5px 0 7.5px 23px; font-size: 16px; line-height: 26.4px; }
	.svc-items li::before { top: 17px; }
	.svc-items a { text-decoration: none; }

	.clients { padding: 32px 0; }
	.clients .wrap { padding-bottom: 24px; }

	.contact .corner { width: 96px; height: 96px; }
	.contact .wrap { padding-top: 64px; padding-bottom: 96px; gap: 32px; }
	.contact h2 { font-size: 56px; line-height: 58.8px; }
	.contact .ring { width: 120px; height: 120px; }
	.contact-block { padding-top: 40px; }
	.contact-email { font-size: 32px; text-decoration: none; }
	.contact-block .offices { margin-top: 20px; padding-top: 20px; }
	.offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 24px; }
	.offices .hq { grid-column: 1 / -1; order: -1; }
	.offices.center > div:not(.hq) { text-align: left; }
	.contact-block .offices .hq .label { font-size: 14px; }
	.footer-bottom { padding-top: 20px; }
	.copyright { flex-direction: column; align-items: center; text-align: center; padding-top: 20px; gap: 32px; }

	.menu-overlay .wrap { padding-top: 24px; padding-bottom: 40px; }
	.menu-body { padding-top: 40px; gap: 40px; }
	.menu-nav a { font-size: 52px; line-height: 62px; letter-spacing: -1.5px; }
	.menu-contact .email { font-size: 28px; }

	.project-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
	.logo { font-size: 23px; }
	.menu-top .logo { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
	.ring svg.spin, .mq { animation: none; }
	.dust { animation: none; opacity: var(--o); }
	.card .media-box { transition: none; }
}

/* =================================================================
   Inner pages (About us) — Figma frame "About us" + mobile 390px
   ================================================================= */
.icon-16 { width: 16px; height: 16px; }
.btn-solid { background: var(--a2z-black); color: #FFFFFF; }
.btn-solid:hover { background: var(--a2z-accent); border-color: var(--a2z-accent); }
.btn-solid:hover .icon { filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ph-label { font-size: 12px; font-weight: 600; letter-spacing: 2.16px; text-transform: uppercase; text-align: center; color: var(--a2z-text-2); padding: 16px; }

/* Breadcrumb */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 2.42px; text-transform: uppercase; color: var(--a2z-text-2); }
.breadcrumb a { color: var(--a2z-muted); }
.breadcrumb a:hover { color: var(--a2z-accent); }
/* The page you're on: pink (the darker pink keeps small text readable on light backgrounds). */
.breadcrumb li[aria-current], .breadcrumb .is-current { color: #C4005C; }

/* Page hero */
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 21px; }
.page-hero h1 { margin: 0; font-size: clamp(44px, 7.36vw, 106px); line-height: 1; color: var(--a2z-black); }
.page-hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; }
.page-hero-intro { flex: 1 1 520px; max-width: 763px; margin: 0; font-size: 21px; line-height: 33.6px; color: var(--a2z-ink-2); }

/* Full-width photo */
.wide-image { position: relative; height: clamp(320px, 34.46vw, 496px); background: var(--a2z-ink-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
body .wide-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wide-image .ph-label { color: var(--a2z-grey-70); }

/* Numbers */
.numbers .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; }
.numbers-item { display: flex; flex-direction: column; gap: 8px; padding: 30px 0 28px; border-top: 2px solid var(--a2z-black); }
.numbers-num { font-size: 64px; font-weight: 800; line-height: 64px; letter-spacing: -2.56px; white-space: nowrap; }
.numbers-label { font-size: 13px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: var(--a2z-ink-2); }

/* Story (Who we are, About) */
.story { position: relative; background: var(--a2z-sand); overflow: hidden; }
.story .corner { position: absolute; right: 0; bottom: 0; width: 220px; height: 220px; background: var(--a2z-accent); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.story .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.story .sec-head, .values .sec-head, .group .sec-head, .recognition .sec-head { gap: 18px; }
.story .sec-head h2, .values .sec-head h2, .group .sec-head h2, .recognition .sec-head h2, .clients-white .sec-head h2 { font-size: 64px; line-height: 1; letter-spacing: 0; }
.story-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.story-cols > div { display: flex; flex-direction: column; gap: 16px; }
.story-cols p { margin: 0; max-width: 500px; font-size: 16px; line-height: 26.4px; color: var(--a2z-ink-2); }
.story-cols .tagline { font-size: 17px; font-weight: 700; line-height: 29.75px; color: var(--a2z-black); }
.story-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-photo { position: relative; height: 327px; border-radius: var(--a2z-radius); background: #E6E5E3; overflow: hidden; display: flex; align-items: center; justify-content: center; }
body .story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.story-quote { margin: 0; display: flex; align-items: center; gap: 32px 56px; }
.story-portrait { position: relative; flex: 0 0 282px; height: 381px; border-radius: var(--a2z-radius); background: var(--a2z-ink-2); overflow: hidden; }
body .story-portrait img { position: absolute; left: -6.16%; top: 16.87%; width: 112.31%; height: 83.13%; max-width: none; object-fit: cover; object-position: top center; }
.story-quote-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.story-quote blockquote { margin: 0; max-width: 825px; font-family: var(--a2z-serif); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.4px; color: var(--a2z-black); }
.story-quote figcaption { font-size: 15px; color: var(--a2z-text-2); }
.story-quote figcaption strong { color: var(--a2z-black); }

/* Values */
.values .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 56px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.values-item { display: flex; flex-direction: column; gap: 15px; padding-top: 29px; border-top: 1px solid var(--a2z-line); }
.values-n { font-size: 13px; font-weight: 600; letter-spacing: 1.82px; color: var(--a2z-muted); }
.values-item h3 { margin: 0; font-size: 34px; font-weight: 900; line-height: 37.4px; letter-spacing: -1.02px; }
.values-item p { margin: 0; font-size: 17px; line-height: 28.9px; color: var(--a2z-ink-2); }

/* Group */
.group { background: var(--a2z-sand); }
.group .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 56px; }
.group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.group-head p { margin: 0; max-width: 460px; font-size: 17px; line-height: 28.9px; color: var(--a2z-ink-2); }
.group-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.group-card { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; border-radius: 16px; background: #FFFFFF; transition: transform .2s, box-shadow .2s; }
a.group-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20, 20, 20, .08); }
.group-cat { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--a2z-muted); }
.group-name.logo { font-size: 24px; line-height: normal; margin-bottom: -8px; }
.group-desc { font-size: 16px; line-height: 1.2; color: var(--a2z-ink-2); }
.group-link { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; color: #000000; }

/* Recognition */
.recognition .wrap { padding-top: 112px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 48px; }
.awards { list-style: none; margin: 0; padding: 0; width: 100%; border-bottom: 1px solid var(--a2z-line); }
.awards li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 27px 0 26px; border-top: 1px solid var(--a2z-line); }
.award-title { font-size: 30px; font-weight: 700; letter-spacing: -0.3px; }
.award-meta { font-size: 15px; color: var(--a2z-text-2); }

/* Client logos on white */
.clients-white { background: #FFFFFF; padding-top: 96px; }

@media (max-width: 1200px) {
	.numbers .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
	.group-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.story .wrap { padding-top: 88px; padding-bottom: 120px; }
	.story-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.story-photo:last-child { grid-column: 1 / -1; }
	.values-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.recognition .wrap { padding-top: 88px; padding-bottom: 88px; }
}
@media (max-width: 767px) {
	.page-hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.page-hero h1 { font-size: 44px; line-height: 1.2; }
	.page-hero h1 br { display: none; }
	.page-hero-foot { gap: 32px; }
	.page-hero-intro { flex-basis: auto; font-size: 20px; line-height: 32px; }
	.btn-row .btn .icon { display: none; }

	.numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; padding-bottom: 40px; gap: 24px; }
	.numbers-item { padding: 20px 0; }
	.numbers-num { font-size: 36px; line-height: 37.8px; }

	.story .wrap { padding-top: 24px; padding-bottom: 134px; gap: 32px; }
	.story .sec-head h2, .values .sec-head h2, .group .sec-head h2, .recognition .sec-head h2, .clients-white .sec-head h2 { font-size: 36px; }
	.story-cols { grid-template-columns: minmax(0, 1fr); }
	.story-cols p { max-width: none; }
	.story-photos { grid-template-columns: minmax(0, 1fr); }
	.story-photo { height: auto; aspect-ratio: 4 / 3; }
	.story-quote { flex-direction: column; align-items: stretch; }
	.story-portrait { flex: none; height: 286px; }
	body .story-portrait img { left: 50%; transform: translateX(-50%); width: auto; height: 100%; top: 0; aspect-ratio: 1 / 1; }
	.story-quote blockquote { font-weight: 600; font-size: 28px; line-height: 35.18px; }

	.values .wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.values-item { padding-top: 20px; }
	.values-item h3 { font-size: 24px; line-height: 26.4px; }

	.group .wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.group-head { flex-direction: column; align-items: flex-start; gap: 32px; }
	.group-cards { grid-template-columns: minmax(0, 1fr); }
	.group-card { padding: 20px; gap: 12px; border-radius: 12px; }
	.group-cat { letter-spacing: 2.42px; }
	.group-name.logo { font-size: 20px; margin-bottom: 0; }
	.group-desc { line-height: 25.6px; }

	.recognition .wrap { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
	.awards li { flex-direction: column; gap: 8px; padding: 20px 0; }
	.award-title { font-size: 24px; }
	.clients-white { padding-top: 32px; }
}

/* =================================================================
   Services page — Figma frame "Services" + mobile 390px
   ================================================================= */
.services-hero .wrap { padding-top: 64px; padding-bottom: 64px; gap: 30px; }
.services-hero-intro { margin: 0; max-width: 600px; font-size: 16px; line-height: 26.4px; color: var(--a2z-ink-2); }
.pill-nav { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.pill-nav a { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 23px; border: 1px solid var(--a2z-black); border-radius: 999px; font-size: 15px; font-weight: 700; transition: background .2s, color .2s; }
.pill-nav a span { font-size: 12px; color: var(--a2z-muted); }
.pill-nav a:hover { background: var(--a2z-black); color: #FFFFFF; }
.pill-nav a:hover span { color: var(--a2z-grey-70); }

.wide-image.is-light { background: #E6E5E3; height: clamp(303px, 34.72vw, 500px); }
.wide-image.is-light .ph-label { color: var(--a2z-text-2); }

.svc-group { scroll-margin-top: 24px; }
.svc-group.is-sand { background: var(--a2z-sand); }
.svc-group.is-white { background: #FFFFFF; }
.svc-group .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 56px; }
.svc-group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.svc-group-title { display: flex; flex-direction: column; gap: 18px; }
.svc-group-n { font-size: 14px; font-weight: 700; letter-spacing: 1.96px; color: #C4005C; }
.svc-group-title h2 { margin: 0; font-family: var(--a2z-serif); font-weight: 400; font-size: 84px; line-height: 84px; letter-spacing: -1.26px; }
.svc-group-intro { flex: 0 1 480px; display: flex; flex-direction: column; gap: 11px; }
.svc-group-intro p { margin: 0; font-size: 17px; line-height: 28.9px; color: var(--a2z-ink-2); }
.svc-group-intro p.lead { font-size: 21px; font-weight: 600; line-height: 31.5px; color: var(--a2z-black); }
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.svc-card { min-height: 191px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px 28px; border-radius: 16px; background: #FFFFFF; transition: transform .2s, box-shadow .2s; }
.svc-group.is-white .svc-card { background: var(--a2z-sand); }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20, 20, 20, .08); }
.svc-card-body { display: flex; flex-direction: column; gap: 8px; }
.svc-card-title { font-size: 19px; font-weight: 800; line-height: 23.75px; letter-spacing: -0.38px; }
.svc-card-text { font-size: 16px; line-height: 1.2; color: var(--a2z-ink-2); }
.svc-card-link { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; color: #C4005C; }
.related-work { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding-top: 33px; border-top: 1px solid var(--a2z-line); }
.related-img { position: relative; flex: 0 0 180px; height: 135px; border-radius: 12px; overflow: hidden; background: var(--a2z-ink-2); }
body .related-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s; }
.related-work:hover .related-img img { transform: scale(1.05); }
.related-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.related-label { font-size: 11px; font-weight: 700; letter-spacing: 2.42px; text-transform: uppercase; color: var(--a2z-muted); }
.related-title { font-size: 22px; font-weight: 700; line-height: 28.6px; }
.related-cta { font-size: 14px; font-weight: 700; white-space: nowrap; }
.related-work:hover .related-cta { color: var(--a2z-accent); }

.steps .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.steps .sec-head { gap: 18px; }
.steps .sec-head h2 { font-family: var(--a2z-serif); font-weight: 400; font-size: 60px; line-height: 63px; letter-spacing: 0; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps-list li { border-top: 2px solid var(--a2z-black); padding: 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.steps-n { font-size: 13px; font-weight: 600; letter-spacing: 1.82px; color: var(--a2z-muted); }
.steps-list h3 { margin: 4px 0 0; font-size: 26px; font-weight: 900; letter-spacing: -0.78px; }
.steps-list p { margin: 4px 0 0; max-width: 256px; font-size: 16px; line-height: 26.4px; color: var(--a2z-ink-2); }

.group-dark { background: #000000; color: #FFFFFF; }
.group-dark .wrap { flex-direction: row; align-items: center; gap: 0; }
.group-dark .group-head { flex: 0 0 497px; flex-direction: column; align-items: flex-start; gap: 16px; }
.group-dark .group-head h2 { margin: 0; max-width: 300px; font-family: var(--a2z-serif); font-weight: 400; font-size: 46px; line-height: 50.6px; }
.group-dark .group-head p { max-width: 360px; font-size: 16px; line-height: 27.2px; color: var(--a2z-grey-70); }
.group-dark .group-cards { flex: 1 1 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.group-dark .group-card { gap: 10px; padding: 29px; border-radius: 12px; border: 1px solid var(--a2z-grey-20); background: transparent; }
.group-dark .group-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.group-dark a.group-card:hover { border-color: var(--a2z-accent); transform: none; box-shadow: none; }
.group-dark .group-cat { letter-spacing: 2.42px; color: var(--a2z-grey-60); }
.group-dark .group-name.logo { color: #FFFFFF; margin: 0; }
.group-dark .group-desc { font-size: 15px; color: var(--a2z-grey-70); }

@media (max-width: 1200px) {
	.svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.svc-group-title h2 { font-size: 68px; line-height: 1; }
	.group-dark .group-head { flex-basis: 380px; padding-right: 32px; }
}
@media (max-width: 1023px) {
	.svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.group-dark .wrap { flex-direction: column; align-items: stretch; gap: 32px; }
	.group-dark .group-head { flex-basis: auto; padding-right: 0; }
}
@media (max-width: 767px) {
	.services-hero .wrap { padding-top: 40px; padding-bottom: 40px; }
	.pill-nav { padding-top: 8px; }
	.svc-group .wrap { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	.svc-group.is-sand:first-of-type .wrap { padding-top: 56px; }
	.svc-group-head { flex-direction: column; align-items: flex-start; }
	.svc-group-intro { flex-basis: auto; }
	.svc-group-title h2 { font-size: 40px; line-height: 42px; letter-spacing: -0.6px; }
	.svc-group-intro p.lead { font-size: 20px; line-height: 30px; }
	.svc-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.svc-card { min-height: 0; padding: 20px; gap: 10px; }
	.related-work { flex-direction: column; align-items: stretch; gap: 32px; padding-top: 20px; }
	.related-img { flex: none; width: 100%; height: 262px; }
	.related-text { flex: none; }
	.related-title { font-size: 20px; line-height: 26px; }
	.steps .wrap { padding-top: 40px; padding-bottom: 40px; }
	.steps .sec-head h2 { font-size: 36px; line-height: 38px; }
	.steps-list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.steps-list li { padding-bottom: 24px; }
	.steps-list h3 { font-size: 24px; }
	.steps-list p { max-width: none; }
	.group-dark .wrap { padding-top: 40px; padding-bottom: 40px; gap: 20px; }
	.group-dark .group-head h2 { max-width: none; font-size: 28px; line-height: 31px; }
	.group-dark .group-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.group-dark .group-card { padding: 20px; }
	.group-dark .group-name.logo { font-size: 19px; }
}

/* =================================================================
   Service detail — Figma frame "Service · Brand Identity"
   ================================================================= */
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 2.42px; text-transform: uppercase; color: #C4005C; }
.svc-sec-head { display: flex; flex-direction: column; gap: 16px; }
.svc-sec-head h2 { margin: 0; font-family: var(--a2z-serif); font-weight: 400; font-size: 60px; line-height: 63px; letter-spacing: -0.6px; }
.svc-split { display: flex; gap: 64px; align-items: flex-start; }
.svc-split > .svc-sec-head { flex: 0 0 321px; }
.svc-split > :last-child { flex: 1 1 auto; min-width: 0; }
.btn-thin { min-height: 54px; padding: 0 29px; border-width: 1px; font-size: 15px; }
.btn-cta { min-height: 52px; padding: 0 28px; font-size: 15px; border-width: 0; }
.btn-cta .icon { display: none; }

/* Hero */
.svc-hero { position: relative; min-height: 892px; display: flex; align-items: center; padding-top: 348px; background: var(--a2z-black); color: #FFFFFF; overflow: hidden; }
body .svc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1); }
.svc-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, #000000 100%); }
.svc-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 20px; }
.breadcrumb-light ol { gap: 10px; color: var(--a2z-grey-70); }
.breadcrumb-light a { color: var(--a2z-grey-70); }
.breadcrumb-light li[aria-current] { color: var(--a2z-accent); }
.svc-hero-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 2.42px; text-transform: uppercase; color: var(--a2z-grey-70); }
.svc-hero h1 { margin: 0; max-width: 940px; font-size: 64px; line-height: 1; color: #FFFFFF; }
.svc-hero-scroll { position: absolute; right: 31px; bottom: 74px; font-size: 11px; font-weight: 700; letter-spacing: 2.2px; color: var(--a2z-grey-70); transform: rotate(90deg); transform-origin: right bottom; white-space: nowrap; }

/* Intro + stats */
.svc-intro .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 64px; }
.svc-intro-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.svc-intro-lead { flex: 0 1 520px; margin: 0; font-size: 32px; font-weight: 600; line-height: 43.2px; letter-spacing: -0.32px; }
.svc-intro-side { flex: 0 1 482px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 32px; }
.svc-intro-side p { margin: 0; align-self: stretch; font-size: 16px; line-height: 26.4px; color: var(--a2z-ink-2); }
.svc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.svc-stats > div { display: flex; flex-direction: column; gap: 9px; padding-top: 26px; border-top: 2px solid var(--a2z-black); }
.svc-stat-num { font-size: 72px; font-weight: 800; line-height: 72px; letter-spacing: -2.88px; }
.svc-stat-label { font-size: 15px; line-height: 22.5px; color: var(--a2z-ink-2); }

/* Introduction rows */
.svc-why .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.svc-why-rows { border-bottom: 1px solid var(--a2z-line); }
.svc-why-row { display: grid; grid-template-columns: 350px minmax(0, 558px); justify-content: space-between; align-items: center; gap: 24px; min-height: 200px; padding: 40px 0; border-top: 1px solid var(--a2z-line); }
.svc-why-row h3 { margin: 0; font-size: 28px; font-weight: 800; line-height: 35px; letter-spacing: -0.56px; }
.svc-why-row p { margin: 0; font-size: 16px; line-height: 26.4px; color: var(--a2z-ink-2); }

/* Accordion (Services in detail + FAQ) */
.svc-detail { background: var(--a2z-sand); }
.svc-detail .wrap { padding-top: 62px; padding-bottom: 62px; }
.acc { border-bottom: 1px solid var(--a2z-line); }
.acc details { border-top: 1px solid var(--a2z-line); }
.acc-static { border-top: 1px solid var(--a2z-line); display: flex; align-items: center; min-height: 94px; padding: 26px 0; font-size: 24px; font-weight: 800; letter-spacing: -0.48px; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 26px 0; cursor: pointer; font-size: 24px; font-weight: 800; letter-spacing: -0.48px; }
.acc summary::-webkit-details-marker { display: none; }
.acc-icon { flex: 0 0 42px; height: 42px; border-radius: 21px; border: 1px solid var(--a2z-black); background: url('assets/icons/plus.svg') center / 14px no-repeat; transition: transform .25s, background-color .2s; }
.acc details[open] .acc-icon { background: var(--a2z-black) url('assets/icons/plus-white.svg') center / 14px no-repeat; transform: rotate(45deg); }
.acc summary:hover .acc-icon { border-color: var(--a2z-accent); }
.acc details p { margin: 0; padding: 0 64px 28px 0; font-size: 17px; line-height: 28.9px; color: var(--a2z-ink-2); }

/* Why A2Z reasons */
.svc-reasons .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 48px; }
.svc-reasons-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 180px; }
.svc-reasons-head > * { flex: 1 1 400px; }
.svc-reasons-head > p { margin: 0; font-size: 17px; line-height: 29.75px; color: var(--a2z-ink-2); }
.svc-reasons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 16px; background: var(--a2z-sand); }
.svc-reasons-grid > div { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: #FFFFFF; }
.svc-reasons-grid h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.4px; }
.svc-reasons-grid p { margin: 0; font-size: 15px; line-height: 24px; color: var(--a2z-ink-2); }

/* Approach (dark) */
.svc-approach { background: var(--a2z-black); color: #FFFFFF; }
.svc-approach .wrap { padding-top: 120px; padding-bottom: 120px; }
.svc-approach .svc-sec-head { flex-basis: 400px; }
.svc-sticky { position: sticky; top: 32px; }
.svc-steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--a2z-grey-20); }
.svc-steps li { display: flex; align-items: flex-start; gap: 24px; padding: 29px 0 28px; border-top: 1px solid var(--a2z-grey-20); }
.svc-step-n { flex: 0 0 57px; font-size: 32px; font-weight: 800; letter-spacing: -1.28px; color: var(--a2z-accent); }
.svc-steps h3 { margin: 0 0 7px; font-size: 21px; font-weight: 800; letter-spacing: -0.42px; }
.svc-steps p { margin: 0; font-size: 16px; line-height: 26.4px; color: var(--a2z-grey-70); }

/* FAQ */
.svc-faq .wrap { padding-top: 72px; padding-bottom: 72px; }
.svc-split-half { gap: 0; }
.svc-split-half > .svc-sec-head { flex: 0 0 50%; padding-right: 48px; }
.svc-split-half > .svc-sec-head h2 { max-width: 420px; }

/* Consultation CTA */
.svc-cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 48px; }
.svc-cta-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.svc-cta-head h2 { max-width: 846px; font-family: var(--a2z-serif); font-weight: 600; font-size: 64px; line-height: 1; letter-spacing: 0; }
.svc-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.svc-facts > div { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border-radius: 8px; background: #F7F7F7; }
.svc-facts p { margin: 0; display: flex; flex-direction: column; gap: 1px; }
.svc-facts strong { font-size: 28px; font-weight: 700; line-height: 36px; }
.svc-facts p span { font-size: 14px; line-height: 22.4px; color: var(--a2z-text-2); }
.svc-more { display: flex; flex-direction: column; gap: 16px; padding: 32px 0; border-top: 1px solid var(--a2z-line); }
.svc-more .label { color: var(--a2z-muted); }
.svc-more-links { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-more-links a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid var(--a2z-black); border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.svc-more-links a:hover { background: var(--a2z-black); color: #FFFFFF; }

@media (max-width: 1200px) {
	.svc-why-row { grid-template-columns: 300px minmax(0, 1fr); }
	.svc-reasons-head { gap: 24px 64px; }
	.svc-more-links a { flex: 0 1 auto; }
}
@media (max-width: 1023px) {
	.svc-hero { min-height: 720px; padding-top: 240px; }
	.svc-split { flex-direction: column; gap: 32px; }
	.svc-split > .svc-sec-head, .svc-split-half > .svc-sec-head, .svc-approach .svc-sec-head { flex: none; padding-right: 0; }
	.svc-sticky { position: static; }
	.svc-stats, .svc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-why-row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.svc-approach .wrap { padding-top: 88px; padding-bottom: 88px; }
}
@media (max-width: 767px) {
	.svc-hero { min-height: 600px; padding-top: 220px; padding-bottom: 56px; }
	.svc-hero h1 { font-size: 40px; line-height: 1.1; }
	.svc-hero-scroll { display: none; }
	.svc-sec-head h2, .svc-cta-head h2 { font-size: 36px; line-height: 40px; }
	.svc-intro .wrap, .svc-why .wrap, .svc-reasons .wrap, .svc-faq .wrap, .svc-cta .wrap { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
	.svc-detail .wrap { padding-top: 48px; padding-bottom: 48px; }
	.svc-approach .wrap { padding-top: 56px; padding-bottom: 56px; }
	.svc-intro-lead { font-size: 24px; line-height: 32px; }
	.svc-intro-side { align-items: flex-start; }
	.svc-stats { gap: 24px; }
	.svc-stat-num { font-size: 44px; line-height: 48px; letter-spacing: -1.5px; }
	.svc-why-row { padding: 28px 0; gap: 12px; }
	.svc-why-row h3 { font-size: 22px; line-height: 28px; }
	.acc summary, .acc-static { font-size: 19px; padding: 20px 0; min-height: 0; }
	.acc-icon { flex-basis: 36px; height: 36px; }
	.acc details p { padding-right: 0; font-size: 16px; line-height: 26px; }
	.svc-reasons-grid { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; }
	.svc-steps li { gap: 16px; }
	.svc-step-n { flex-basis: 44px; font-size: 26px; }
	.svc-steps h3 { font-size: 19px; }
	.svc-facts { gap: 12px; }
	.svc-facts strong { font-size: 24px; }
	.svc-more-links a { flex: 0 0 auto; }
}

/* =================================================================
   Insights — Figma frame "Insights."
   ================================================================= */
.insights .wrap { padding-bottom: 88px; }
.insights-head { display: flex; flex-direction: column; gap: 23px; padding: 96px 24px 48px 0; }
.insights-head h1 { margin: 0; font-size: clamp(44px, 7.36vw, 106px); line-height: 1; }
.insights-head p { margin: 0; max-width: 620px; font-size: 21px; line-height: 33.6px; color: var(--a2z-ink-2); }
.insights-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--a2z-line); scroll-margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--a2z-black); border-radius: 999px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.chip span { font-size: 12px; font-weight: 600; opacity: .6; }
.chip.is-active, .chip:hover { background: var(--a2z-black); color: #FFFFFF; }
.insights-sort { font-size: 14px; color: var(--a2z-text-2); }
.insights-empty { padding: 48px 0; color: var(--a2z-text-2); }

.insight-feature { display: grid; grid-template-columns: minmax(0, 642px) minmax(0, 1fr); align-items: center; gap: 32px 48px; padding-top: 48px; }
.insight-feature-img { position: relative; display: block; aspect-ratio: 642 / 360; border-radius: var(--a2z-radius); overflow: hidden; background: var(--a2z-ink-2); }
body .insight-feature-img img, body .insight-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s ease; }
.insight-feature:hover img, .insight-card:hover img { transform: scale(1.03); }
.insight-feature-text { display: flex; flex-direction: column; gap: 8px; }
.insight-feature-title { font-family: var(--a2z-serif); font-size: 44px; line-height: 49.28px; letter-spacing: -0.44px; }
.insight-feature-excerpt { font-size: 17px; line-height: 28px; color: var(--a2z-ink-2); }
.insight-feature-text .insight-meta { font-size: 14px; }
.insight-more { padding-top: 8px; font-size: 14px; font-weight: 700; }
.insight-feature:hover .insight-more { color: var(--a2z-accent); }

.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-top: 88px; }
.insight-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.insight-card-img { position: relative; display: block; height: 348px; border-radius: var(--a2z-radius); overflow: hidden; background: var(--a2z-ink-2); }
.insight-tag { position: absolute; top: 24px; left: 24px; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--a2z-black); }
.insight-meta { font-size: 16px; color: var(--a2z-muted); }
.insight-card-title { font-size: 22px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card:hover .insight-card-title { color: var(--a2z-accent); }
.insights-pages { display: flex; justify-content: center; gap: 10px; padding-top: 64px; }

@media (max-width: 1023px) {
	.insight-feature { grid-template-columns: minmax(0, 1fr); }
	.insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-top: 64px; }
	.insight-card-img { height: auto; aspect-ratio: 4 / 3.6; }
}
@media (max-width: 767px) {
	.insights-head { padding: 40px 0 32px; gap: 20px; }
	.insights-head h1 { font-size: 44px; }
	.insights-head p { font-size: 18px; line-height: 28px; }
	.insights-filter { padding-bottom: 24px; }
	.chip { min-height: 40px; padding: 0 16px; }
	.insight-feature { padding-top: 32px; gap: 20px; }
	.insight-feature-title { font-size: 32px; line-height: 36px; }
	.insight-feature-excerpt { font-size: 16px; line-height: 26px; }
	.insight-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; }
	.insight-card-img { aspect-ratio: auto; height: 280px; }
	.insight-tag { top: 16px; left: 16px; }
	.insight-meta { font-size: 14px; }
	.insight-card-title { font-size: 20px; }
	.insights .wrap { padding-bottom: 56px; }
}

/* =================================================================
   Case study (project detail) — Figma "Snoonu." / "Makarem launch"
   ================================================================= */
.case-hero { background: var(--a2z-sand); }
.case-hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-top: 64px; padding-bottom: 136px; }
.case-hero.has-cover .wrap { padding-bottom: 200px; }
.case-logo { align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 240px; max-width: 397px; padding: 24px 49.5px 24px 9.5px; border-right: 1px solid #C9C8C5; }
body .case-logo img { display: block; width: auto; max-width: 100%; max-height: 260px; height: auto; }
.case-logo img[src$=".svg"] { width: 180px; }
.case-logo-text p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--a2z-black); }
.case-logo-text span[dir] { text-align: start; }
.case-hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.case-hero .breadcrumb ol { gap: 10px; color: var(--a2z-muted); }
.case-hero .breadcrumb .is-current { color: #C4005C; }
.case-hero h1 { margin: 0; max-width: 780px; font-size: 64px; line-height: 1; }
.case-meta { margin: 22px 0 0; font-size: 15px; color: var(--a2z-text-2); }

.case-cover { margin-top: -136px; }
.case-cover .media-box { aspect-ratio: 1200 / 560; }

.case-body .wrap { display: flex; align-items: flex-start; gap: 48px 72px; padding-top: 96px; padding-bottom: 96px; }
.case-aside { position: sticky; top: 32px; flex: 0 0 240px; display: flex; flex-direction: column; gap: 28px; }
.case-facts { margin: 0; }
.case-facts > div { display: flex; flex-direction: column; gap: 3px; padding: 15px 0 14px; border-top: 1px solid var(--a2z-line); }
.case-facts dt { font-size: 10px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--a2z-muted); }
.case-facts dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 22.5px; }
.case-share { display: flex; flex-direction: column; gap: 12px; padding-top: 15px; border-top: 1px solid var(--a2z-line); }
.case-share > span { font-size: 10px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--a2z-muted); }
.case-share div { display: flex; gap: 10px; }
.case-share a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--a2z-black); border-radius: 21px; font-size: 12px; font-weight: 800; transition: background .2s, color .2s; }
.case-share a:hover { background: var(--a2z-black); color: #FFFFFF; }

/* Article typography (editor content) */
.case-article { flex: 1 1 auto; min-width: 0; max-width: 888px; color: var(--a2z-ink-2); }
.case-article > * { margin-top: 0; margin-bottom: 22px; }
.case-article > p { font-size: 18px; line-height: 31.5px; }
.case-article > p:first-child, .case-article > p.case-lead { font-size: 22px; font-weight: 500; line-height: 35.2px; color: var(--a2z-black); }
.case-images { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; margin: 34px 0; }
body .case-images img { width: 100%; height: 420px; max-width: none; object-fit: cover; border-radius: var(--a2z-radius); }
.case-article ul, .case-article ol { padding-left: 22px; font-size: 18px; line-height: 34.2px; }
.case-article li::marker { color: var(--a2z-black); }
.case-article strong { color: var(--a2z-black); }
.case-article h2 { margin-top: 32px; margin-bottom: 22px; font-family: var(--a2z-serif); font-weight: 400; font-size: 40px; line-height: 46px; letter-spacing: -0.4px; color: var(--a2z-black); }
.case-article h3 { margin-top: 28px; font-size: 22px; font-weight: 800; color: var(--a2z-black); }
.case-article a { color: var(--a2z-black); text-decoration: underline; text-underline-offset: 3px; }
.case-article figure { margin-left: 0; margin-right: 0; }
.case-article .wp-block-gallery, .case-article .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; margin: 34px 0; }
.case-article .wp-block-gallery.columns-2 { --cols: 2; }
.case-article .wp-block-gallery figure.wp-block-image { width: auto !important; margin: 0 !important; }
body .case-article .wp-block-gallery img { width: 100%; height: 420px; max-width: none; object-fit: cover; border-radius: var(--a2z-radius); }
body .case-article .wp-block-image > img, body .case-article > figure > img { border-radius: var(--a2z-radius); height: auto; }
.case-article blockquote, .case-article .wp-block-quote { margin: 24px 0 32px; padding: 7px 0 7px 28px; border-left: 4px solid var(--a2z-accent); }
.case-article blockquote p { margin: 0; font-family: var(--a2z-serif); font-size: 28px; line-height: 1.2; color: var(--a2z-black); }
.case-article blockquote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--a2z-black); }

/* Results (dark) */
.case-results { background: var(--a2z-black); color: #FFFFFF; }
.case-results .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.case-results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.case-results-head h2 { margin: 0; font-family: var(--a2z-serif); font-weight: 400; font-size: 60px; line-height: 63px; }
.case-results-head p { margin: 0; max-width: 420px; font-size: 17px; line-height: 28.9px; color: var(--a2z-grey-70); }
.case-results-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; }
.case-results-grid > div { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 2px solid #FFFFFF; }
.case-results-grid strong { font-size: 48px; font-weight: 800; line-height: 48px; letter-spacing: -1.92px; }
.case-results-grid span { font-size: 12px; font-weight: 600; letter-spacing: 1.44px; text-transform: uppercase; color: var(--a2z-grey-70); }

/* More insights */
.case-more .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 48px; }
.case-more-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.case-more .svc-sec-head { gap: 18px; }
.btn-plain .pip, .btn-plain .icon { display: none; }
.btn-plain { min-height: 50px; padding: 0 27px; font-size: 14px; }
.case-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-more-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-more-grid.count-1 { grid-template-columns: minmax(0, 588px); }
.case-more-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.case-more-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--a2z-radius); overflow: hidden; background: #E6E5E3; }
body .case-more-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s; }
.case-more-card:hover img { transform: scale(1.03); }
.case-more-label { font-size: 11px; font-weight: 700; letter-spacing: 2.42px; text-transform: uppercase; color: var(--a2z-muted); }
.case-more-title { font-size: 20px; font-weight: 700; line-height: 26px; }
.case-more-card:hover .case-more-title { color: var(--a2z-accent); }

@media (max-width: 1023px) {
	.case-hero h1 { font-size: 52px; }
	.case-body .wrap { flex-direction: column; }
	.case-aside { position: static; flex: none; width: 100%; }
	.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.case-results-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case-more-grid, .case-more-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.case-hero .wrap { padding-top: 40px; padding-bottom: 56px; gap: 28px; }
	.case-hero.has-cover .wrap { padding-bottom: 96px; }
	.case-logo { min-width: 0; padding: 0 0 24px; border-right: 0; border-bottom: 1px solid #C9C8C5; width: 100%; justify-content: flex-start; }
	body .case-logo img { max-height: 120px; }
	.case-hero h1 { font-size: 40px; line-height: 1.1; }
	.case-meta { margin-top: 8px; }
	.case-cover { margin-top: -64px; }
	.case-cover .media-box { aspect-ratio: 4 / 3; }
	.case-body .wrap { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
	.case-facts { grid-template-columns: minmax(0, 1fr); }
	.case-article > p:first-child, .case-article > p.case-lead { font-size: 19px; line-height: 30px; }
	.case-images { grid-template-columns: repeat(var(--cols, 3), 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.case-images img { scroll-snap-align: start; }
	body .case-images img { height: 360px; }
	.case-article > p, .case-article ul, .case-article ol { font-size: 16px; line-height: 27px; }
	.case-article h2 { font-size: 30px; line-height: 36px; }
	.case-article .wp-block-gallery, .case-article .wp-block-gallery.has-nested-images { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.case-article .wp-block-gallery figure.wp-block-image { scroll-snap-align: start; }
	body .case-article .wp-block-gallery img { height: 360px; }
	.case-results .wrap, .case-more .wrap { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
	.case-results-head h2 { font-size: 40px; line-height: 44px; }
	.case-results-grid { gap: 24px; }
	.case-results-grid strong { font-size: 36px; line-height: 40px; }
	.case-more-grid, .case-more-grid.count-2 { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Contact page (Figma: Contact)
   ========================================================================== */
.contact-hero .wrap { padding-top: 97px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-hero h1 { margin: 32px 0 0; font-size: 64px; line-height: 1; letter-spacing: -0.64px; color: var(--a2z-black); }
.contact-hero-intro { margin: 50px 0 0; max-width: 820px; font-size: 22px; line-height: 33px; color: var(--a2z-ink-2); }
.contact-jump { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px 0 15px; border-bottom: 2px solid var(--a2z-black); font-size: 15px; font-weight: 700; color: var(--a2z-black); }
.contact-jump .icon { width: 14px; height: 14px; transition: transform .2s; }
.contact-jump:hover .icon { transform: translateY(3px); }

.office-finder .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 96px; }
.office-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.office-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.office-filter > span { margin-right: 4px; font-size: 13px; color: var(--a2z-muted); }
.chip { min-height: 41px; padding: 0 18px; border: 1px solid var(--a2z-black); border-radius: 999px; background: transparent; font: 700 13px/16px var(--a2z-sans); color: var(--a2z-black); cursor: pointer; transition: background .2s, color .2s; }
.chip.is-active { background: var(--a2z-black); color: #FFFFFF; }
.office-acc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--a2z-line); }
.office-item { border-top: 1px solid var(--a2z-line); }
.office-btn { display: flex; align-items: center; gap: 18px; width: 100%; padding: 16px 0; border: 0; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.office-photo { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: var(--a2z-sand); }
body .office-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.office-name { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.office-name strong { font-size: 19px; font-weight: 800; line-height: 23px; letter-spacing: -0.19px; color: var(--a2z-black); }
.office-name span { font-size: 14px; line-height: 17px; color: var(--a2z-text-2); }
.office-hq { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; background: var(--a2z-accent); font-size: 11px; font-weight: 700; line-height: 13px; letter-spacing: 1.1px; text-transform: uppercase; color: #FFFFFF; }
body .office-chev { flex: 0 0 auto; width: 20px; height: 20px; margin-right: 4px; transition: transform .25s; }
.office-item.is-open .office-chev { transform: rotate(180deg); }
.office-btn:hover .office-name strong { color: var(--a2z-accent); }
.office-panel { display: flex; gap: 16px 40px; padding: 0 0 22px 102px; }
.office-panel[hidden], .office-item[hidden] { display: none; }
.office-panel p { margin: 0; font-size: 15px; line-height: 24.75px; color: var(--a2z-ink-2); }
.office-address { flex: 1 1 auto; max-width: 314px; }
.office-reach { display: flex; flex-direction: column; flex: 0 0 auto; }
.office-reach a { color: var(--a2z-ink-2); }
.office-reach a.is-phone { font-weight: 700; }
.office-reach a:hover { color: var(--a2z-accent); }
.office-time { color: var(--a2z-muted); }

.office-map { position: relative; min-height: 600px; border-radius: 20px; overflow: hidden; background: #E7E5E1; isolation: isolate; }
.office-map-canvas { position: absolute; inset: 0; background: #E7E5E1; }
.office-map-canvas .leaflet-tile-pane { filter: grayscale(1) contrast(.92); }
.office-map.no-map .office-map-tools { display: none; }
.office-map-tools { position: absolute; top: 16px; right: 16px; z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.office-map-tools button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(20, 20, 20, .12); font: 600 20px/1 var(--a2z-sans); color: var(--a2z-black); cursor: pointer; }
.office-map-tools button:hover { background: var(--a2z-black); color: #FFFFFF; }
.office-map-tools button:hover .icon { filter: invert(1); }
body .office-map-tools .icon { width: 16px; height: 16px; }
.office-directions { position: absolute; left: 14px; bottom: 28px; z-index: 500; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--a2z-black); font-size: 13px; font-weight: 700; color: #FFFFFF; }
.office-directions:hover { background: var(--a2z-accent); }
.office-map .leaflet-control-attribution { font-size: 9px; background: rgba(255, 255, 255, .7); }
.office-pin { background: none; border: 0; }
.office-pin-dot { position: absolute; inset: 4px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(20, 20, 20, .15), 0 2px 6px rgba(20, 20, 20, .2); }
.office-pin-dot::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--a2z-black); }
.office-pin-label { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--a2z-accent); font: 700 11px/13px var(--a2z-sans); color: #FFFFFF; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.office-pin:hover .office-pin-label, .office-pin.is-active .office-pin-label { opacity: 1; }
.office-pin.is-active .office-pin-dot { box-shadow: 0 0 0 10px rgba(237, 10, 115, .18), 0 2px 6px rgba(20, 20, 20, .2); }
.office-pin.is-active .office-pin-dot::after { background: var(--a2z-accent); }

.office-list-card { display: grid; grid-template-columns: minmax(0, 428px) minmax(0, 528px); justify-content: space-between; gap: 32px 64px; padding: 56px 60px; border-radius: var(--a2z-radius); background: var(--a2z-black); color: #FFFFFF; }
.office-list-head h2 { margin: 0; font-weight: 400; font-size: 42px; line-height: 46.2px; color: #FFFFFF; }
.office-list-head p { max-width: 380px; margin: 14px 0 0; font-size: 16px; line-height: 27.2px; color: var(--a2z-grey-70); }
.office-list-card ul { list-style: none; margin: 0; padding: 0; }
.office-list-card li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 19px; border-bottom: 1px solid var(--a2z-grey-20); }
.office-list-card li > div { display: flex; flex-direction: column; gap: 4px; }
.office-list-card strong { font-size: 16px; line-height: 19px; }
.office-list-card li span { font-size: 13px; line-height: 16px; color: var(--a2z-grey-60); }
.office-list-card li b { color: #FFFFFF; }
.office-list-card li a { font-size: 14px; color: var(--a2z-grey-70); white-space: nowrap; }
.office-list-card li a:hover { color: #FFFFFF; }

.contact-form .wrap { padding-top: 112px; padding-bottom: 120px; }
.contact-form-intro { margin: 22px 0 0; font-size: 18px; line-height: 22px; color: var(--a2z-ink-2); }
.contact-form-grid { display: grid; grid-template-columns: minmax(0, 712fr) minmax(0, 444fr); gap: 24px; margin-top: 40px; align-items: start; }
.cf-card { padding: 41px 21px 41px; border: 1px solid var(--a2z-line); border-radius: var(--a2z-radius); }
.cf-error { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #FDE7F1; font-size: 14px; color: #A3004C; }
.cf-cards { display: flex; flex-direction: column; gap: 16px; }
.cf-info { min-height: 207px; padding: 46px 24px 30px; border-radius: var(--a2z-radius); background: var(--a2z-sand); }
.cf-info h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 24px; color: var(--a2z-black); }
.cf-info p { margin: 8px 0 0; font-size: 14px; line-height: 19px; color: var(--a2z-ink-2); }
.cf-info a { display: inline-flex; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 700; color: #C4005C; }
body .cf-info a .icon { width: 16px; height: 16px; }
.cf-info a:hover { text-decoration: underline; }

@media (max-width: 1023px) {
	.office-finder .wrap { grid-template-columns: 1fr; }
	.office-map { min-height: 520px; }
	.office-list-card { grid-template-columns: 1fr; }
	.contact-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.contact-hero .wrap { padding-top: 40px; padding-bottom: 40px; }
	.contact-hero h1 { margin-top: 24px; font-size: 44px; line-height: 1.1; }
	.contact-hero-intro { margin-top: 24px; font-size: 19px; line-height: 29px; }
	.office-finder .wrap { padding-bottom: 40px; }
	.office-filter > span { flex: 0 0 auto; }
	.office-btn { gap: 14px; }
	.office-photo { flex-basis: 64px; width: 64px; height: 64px; border-radius: 12px; }
	.office-name strong { font-size: 17px; }
	.office-hq { padding: 5px 9px; font-size: 10px; letter-spacing: .8px; }
	.office-panel { flex-direction: column; padding-left: 78px; }
	.office-map { min-height: 420px; }
	.office-list-card { padding: 40px 20px; border-radius: 24px; }
	.office-list-head h2 { font-size: 34px; line-height: 40px; }
	.office-list-head p { font-size: 16px; }
	.office-list-card li { align-items: flex-start; }
	.office-list-card li a { font-size: 13px; }
	.contact-form .wrap { padding-top: 80px; padding-bottom: 80px; }
	.contact-form .svc-sec-head h2 { font-size: 40px; line-height: 46px; }
	.contact-form-intro { font-size: 18px; line-height: 23px; }
	.cf-card { padding: 28px 20px; }
	.cf-info { min-height: 0; padding: 32px 20px; border-radius: 0; }
}

/* ==========================================================================
   Page loader and 404 (Figma: loader, Error 404)
   ========================================================================== */
.loader { --loader-time: 5s; position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #FFFFFF; transition: opacity .35s ease; }
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease .2s, visibility 0s linear .65s; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.loader .logo { font-size: 32.444px; line-height: 48.667px; }
.loader .logo .dot { display: inline-block; animation: loader-dot var(--loader-time) linear infinite; }
.loader.is-done .logo .dot { animation-play-state: paused; }
.loader-bar { display: block; width: 191px; height: 4px; background: #CFCFCF; overflow: hidden; }
/* The bar creeps towards the end while the page loads and jumps to full when it has. */
.loader-bar span { display: block; width: 6px; height: 100%; background: var(--a2z-accent); animation: loader-bar var(--loader-time) cubic-bezier(.1, .6, .3, 1) both; }
.loader.is-done .loader-bar span { width: 100% !important; animation: none; transition: width .2s ease; }
html.is-loading, html.is-loading body { overflow: hidden; }
@keyframes loader-bar { from { width: 5.679px; } to { width: 90%; } }
@keyframes loader-dot {
	0%, 21%, 40.333%, 60%, 80%, 100% { transform: translateY(0); }
	10.667% { transform: translateY(-15px); }
	30%, 49.667%, 70%, 90.667% { transform: translateY(-15.5px); }
}
@media (prefers-reduced-motion: reduce) { .loader .logo .dot { animation: none; } }

.e404 { display: flex; align-items: center; min-height: calc(100vh - 79px); min-height: calc(100svh - 79px); padding: 40px 0 80px; background: #E6E5E3; overflow: hidden; }
.e404-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 6%; }
.e404-num { margin: 0; font-family: 'Milker', sans-serif; font-size: min(40.3vw, 580px); line-height: .86; text-transform: uppercase; color: var(--a2z-black); text-align: center; white-space: nowrap; letter-spacing: -0.01em; }
.e404-zero { position: relative; display: inline-block; }
.e404-dot { position: absolute; left: 50%; top: 50%; width: .083em; height: .083em; margin: -.0415em 0 0 -.0415em; border-radius: 50%; background: var(--a2z-accent); animation: e404-dot 5.58s linear infinite; }
@keyframes e404-dot {
	0% { translate: 0 0; }
	17.891% { translate: .041em -.076em; }
	35.784% { translate: -.041em -.095em; }
	53.727% { translate: -.062em .013em; }
	71.69% { translate: 0 .096em; }
	89.496% { translate: .068em -.014em; }
	100% { translate: 0 -.006em; }
}
.e404-foot { max-width: 520px; margin: 28px 0 0 17.6%; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.e404-foot p { margin: 0; font-size: 20px; font-weight: 700; line-height: 33.6px; color: var(--a2z-ink-2); }
@media (max-width: 767px) {
	.e404 { min-height: calc(100svh - 64px); }
	.e404-num { font-size: 42vw; }
	.e404-foot { margin: 32px 0 0; }
	.e404-foot p { font-size: 18px; line-height: 29px; }
}
@media (prefers-reduced-motion: reduce) { .e404-dot { animation: none; } }

/* ==========================================================================
   Plain pages: Privacy policy, Terms (no Figma frame; follows the case study type scale)
   ========================================================================== */
.legal-hero { background: var(--a2z-sand); }
.legal-hero .wrap { display: flex; flex-direction: column; gap: 18px; padding-top: 64px; padding-bottom: 64px; }
.legal-hero h1 { margin: 6px 0 0; font-size: 64px; line-height: 1; color: var(--a2z-black); }
.legal-updated { margin: 0; font-size: 15px; color: var(--a2z-muted); }
.legal-body .wrap { display: flex; align-items: flex-start; gap: 48px 72px; padding-top: 80px; padding-bottom: 120px; }
.legal-toc { position: sticky; top: 32px; flex: 0 0 240px; display: flex; flex-direction: column; gap: 14px; padding-top: 15px; border-top: 1px solid var(--a2z-line); }
.legal-toc > span { font-size: 10px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--a2z-muted); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-toc a { font-size: 14px; line-height: 20px; color: var(--a2z-ink-2); }
.legal-toc a:hover { color: var(--a2z-accent); }
.legal-article > p:first-child { font-size: 18px; font-weight: 400; line-height: 31.5px; color: var(--a2z-ink-2); }
.legal-article h2 { font-size: 32px; line-height: 38px; scroll-margin-top: 100px; }
.legal-article h3 { font-size: 19px; }
.legal-article > p, .legal-article li { font-size: 17px; line-height: 29px; }
.post-hero h1 { max-width: 980px; }
@media (max-width: 1023px) {
	.legal-body .wrap { flex-direction: column; }
	.legal-toc { position: static; flex-basis: auto; width: 100%; }
}
@media (max-width: 767px) {
	.legal-hero .wrap { padding-top: 40px; padding-bottom: 40px; }
	.legal-hero h1 { font-size: 44px; line-height: 1.1; }
	.legal-body .wrap { padding-top: 40px; padding-bottom: 80px; }
	.legal-article h2 { font-size: 28px; line-height: 34px; }
}
/* Article covers from the old site are mostly square portraits: keep faces in frame. */
body .post-hero + .case-cover img { object-position: 50% 22%; }

/* Home project grid with fewer than four small tiles: no empty cells. */
.work-grid:has(> :nth-child(4):last-child) > :last-child { grid-column: span 2; }
.work-grid:has(> :nth-child(3):last-child) > .work-tile { grid-row: span 2; }
.work-grid:has(> :nth-child(3):last-child) > .work-tile .media-box, .work-grid:has(> :nth-child(4):last-child) > :last-child .media-box { flex: 1 1 auto; }
@media (max-width: 1023px) {
	.work-grid:has(> :nth-child(4):last-child) > :last-child { grid-column: 1 / -1; }
	.work-grid:has(> :nth-child(4):last-child) > :last-child .media-box { aspect-ratio: 16 / 9; }
	.work-grid:has(> :nth-child(3):last-child) > .work-tile { grid-row: auto; }
}
@media (max-width: 767px) { .work-grid:has(> :nth-child(4):last-child) > :last-child .media-box { aspect-ratio: auto; } }

/* ---------- Contact form (Ninja Forms "Contact page" form) ---------- */
.a2z-contact-form .nf-form-title, .a2z-contact-form .nf-form-fields-required, .a2z-contact-form .hidden-container, .a2z-contact-form .nf-input-limit { display: none; }
.a2z-contact-form nf-fields-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.a2z-contact-form nf-field { display: contents; }
.a2z-contact-form .nf-field-container { margin: 0; min-width: 0; }
.a2z-contact-form .cf-full { grid-column: 1 / -1; }
/* Phone: country code sits inside the number box, as in Figma. */
.a2z-contact-form .cf-code { grid-column: 2; grid-row: 2; align-self: end; z-index: 1; width: 107px; margin: 0 0 4px 4px; }
.a2z-contact-form .cf-code .nf-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a2z-contact-form .cf-phone { grid-column: 2; grid-row: 2; }
.a2z-contact-form .cf-phone input.nf-element:not([type="submit"]) { padding-left: 123px; } /* room for the country code pill */
.a2z-contact-form .nf-field-label { margin: 0 0 12px; }
.a2z-contact-form .nf-field-label label { font-size: 14px; font-weight: 600; color: var(--a2z-black); }
.a2z-contact-form .ninja-forms-req-symbol { color: var(--a2z-accent); }
.a2z-contact-form input.nf-element:not([type="submit"]), .a2z-contact-form select.nf-element, .a2z-contact-form textarea.nf-element { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--a2z-line); border-radius: 24px; background: #FFFFFF; font: 400 15px/1.4 var(--a2z-sans); color: var(--a2z-black); box-shadow: none; }
.a2z-contact-form textarea.nf-element { height: 125px; padding: 16px; resize: vertical; }
.a2z-contact-form .nf-element:focus { outline: none; border-color: var(--a2z-black); }
.a2z-contact-form select.nf-element { appearance: none; -webkit-appearance: none; padding-right: 48px; background: #FFFFFF url("assets/icons/chevron-down.svg") right 16px center / 24px no-repeat; cursor: pointer; }
.a2z-contact-form .cf-code select.nf-element { height: 48px; padding: 0 30px 0 24px; border: 0; border-radius: 20px; background-color: var(--a2z-sand); background-size: 16px; background-position: right 16px center; font-weight: 700; font-size: 14px; }
.a2z-contact-form .cf-legal { margin-top: -1px; }
.a2z-contact-form .cf-legal .nf-field-label { display: none; }
.a2z-contact-form .cf-legal .nf-field-element { font-size: 13px; line-height: 16px; color: var(--a2z-muted); }
.a2z-contact-form .cf-legal a { color: var(--a2z-black); text-decoration: underline; }
.a2z-contact-form .cf-send { margin-top: -8px; }
.a2z-contact-form input[type="submit"] { min-height: 53px; padding: 0 30px 0 48px; border: 0; border-radius: 999px; background: var(--a2z-black) radial-gradient(circle at 34px 50%, var(--a2z-accent) 0 4px, transparent 4.5px) no-repeat; font: 700 15px/18px var(--a2z-sans); color: #FFFFFF; cursor: pointer; transition: background-color .2s; }
.a2z-contact-form input[type="submit"]:hover { background-color: var(--a2z-accent); background-image: radial-gradient(circle at 34px 50%, #FFFFFF 0 4px, transparent 4.5px); }
.a2z-contact-form input[type="submit"]:disabled { opacity: .6; cursor: wait; }
/* Errors */
.a2z-contact-form .nf-error .nf-element { border-color: var(--a2z-accent) !important; }
.a2z-contact-form .nf-error-msg, .a2z-contact-form .nf-error-required-error { margin-top: 6px; font-size: 13px; color: #C4005C; }
.a2z-contact-form .nf-after-form-content .nf-error-msg { margin-top: 16px; }
.a2z-contact-form .nf-pass .nf-element { border-color: var(--a2z-line); }
/* Thank-you message (Ninja Forms › Contact page › Success Message) */
.a2z-contact-form .nf-response-msg { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.a2z-contact-form .nf-response-msg:not(:empty) { min-height: 420px; padding: 0 20px; }
.a2z-contact-form .nf-response-msg:not(:empty)::before { content: ''; width: 68px; height: 8px; background: repeating-linear-gradient(90deg, var(--a2z-accent) 0 8px, transparent 8px 12px); }
.a2z-contact-form .nf-response-msg h3 { margin: 0; font-family: var(--a2z-serif); font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--a2z-black); }
.a2z-contact-form .nf-response-msg p { margin: 0; font-size: 17px; line-height: 27px; color: var(--a2z-ink-2); }
@media (max-width: 767px) {
	.a2z-contact-form nf-fields-wrap { grid-template-columns: 1fr; }
	.a2z-contact-form .cf-code, .a2z-contact-form .cf-phone { grid-column: 1; grid-row: 4; }
	.a2z-contact-form .nf-response-msg h3 { font-size: 32px; }
}

/* Contact form dropdowns (Figma: Market / "How can we help?", open state) */
.a2z-contact-form select.a2z-dd-native { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.a2z-dd { position: relative; }
.a2z-dd-btn, .a2z-dd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--a2z-line); border-radius: 24px; background: #FFFFFF; font: 400 14px/1.4 var(--a2z-sans); color: var(--a2z-black); text-align: left; cursor: pointer; }
.a2z-dd-btn::after, .a2z-dd-head::after { content: ''; flex: 0 0 24px; height: 24px; background: url("assets/icons/chevron-down.svg") center / 24px no-repeat; transition: transform .2s; }
.a2z-dd.is-empty .a2z-dd-value { opacity: .7; }
.a2z-dd-btn:focus-visible { outline: none; border-color: var(--a2z-black); }
.a2z-contact-form .nf-error .a2z-dd-btn { border-color: var(--a2z-accent); }
.a2z-dd-panel { position: absolute; top: 0; left: 0; right: 0; z-index: 30; display: flex; flex-direction: column; padding: 24px 16px; border: 1px solid var(--a2z-line); border-radius: 24px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(20, 20, 20, .08); }
.a2z-dd-panel[hidden] { display: none; }
.a2z-dd-head { height: auto; padding: 0; border: 0; border-radius: 0; background: none; }
.a2z-dd-head::after { transform: rotate(180deg); }
.a2z-dd-list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--a2z-line); max-height: 260px; overflow-y: auto; outline: none; }
.a2z-dd-list li { margin: 0 -8px; padding: 4px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: rgba(20, 20, 20, .7); cursor: pointer; }
.a2z-dd-list li + li { margin-top: 4px; }
.a2z-dd-list li.is-active { background: var(--a2z-sand); color: var(--a2z-black); }
.a2z-dd-list li[aria-selected="true"] { color: var(--a2z-black); }
.a2z-dd-list li[aria-selected="true"]::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 3px; background: var(--a2z-accent); vertical-align: middle; }
/* Ninja Forms hides every div inside a select field (.list-select-wrap div div). */
.a2z-contact-form .list-select-wrap div.a2z-dd { display: block; width: 100%; }
.a2z-contact-form .list-select-wrap .nf-field-element { width: 100%; }
.a2z-contact-form .list-select-wrap div.a2z-dd-panel { display: flex; }
.a2z-contact-form .list-select-wrap div.a2z-dd-panel[hidden] { display: none; }
.a2z-contact-form .field-wrap button.a2z-dd-btn, .a2z-contact-form .field-wrap button.a2z-dd-head { width: 100%; }
/* Country code: same dropdown, as the sand pill inside the phone box. */
.a2z-contact-form .field-wrap button.a2z-dd-btn { position: relative; }
.a2z-dd--code .a2z-dd-btn { height: 48px; padding: 0 16px 0 22px; border: 0; border-radius: 20px; background: var(--a2z-sand); font-weight: 700; justify-content: center; gap: 6px; }
.a2z-dd--code .a2z-dd-btn::after, .a2z-dd--code .a2z-dd-head::after { flex-basis: 16px; height: 16px; background-size: 16px; filter: invert(17%) sepia(97%) saturate(6000%) hue-rotate(320deg); }
.a2z-dd--code .a2z-dd-panel { right: auto; width: 180px; top: -4px; left: -4px; }
.a2z-dd--code .a2z-dd-head { font-weight: 700; }
.a2z-dd--code .a2z-dd-list { max-height: 220px; }
.a2z-contact-form .cf-phone .nf-field-element { cursor: text; }
/* Cloudflare Turnstile box above the Send button */
.a2z-contact-form .cf-turnstile { grid-column: 1 / -1; min-height: 65px; margin-top: -8px; }
/* Each field shows its own error, so Ninja Forms' general "Please correct errors…" line is not needed. */
.a2z-contact-form .nf-error-field-errors { display: none; }

/* ==========================================================================
   Privacy Policy Manager plugin (Techlab): cookie banner and policy pages in the site's colours.
   The plugin's own accent setting is the site black; links, switches and hovers use the site pink.
   ========================================================================== */
body #ppm-consent, body .ppm-reopen { --ppm-accent: var(--a2z-black); font-family: var(--a2z-sans); }
body #ppm-consent .ppm-consent__box, body #ppm-consent [class*="__box"], body #ppm-consent [class*="__card"], body #ppm-consent [class*="__panel"] { border-radius: var(--a2z-radius); }
body #ppm-consent h2, body #ppm-consent h3 { font-family: var(--a2z-serif); font-weight: 400; color: var(--a2z-black); }
body #ppm-consent p { color: var(--a2z-ink-2); }
body #ppm-consent p a, body #ppm-consent .ppm-consent__back, body #ppm-consent .ppm-consent__back:hover { color: #C4005C; }
body #ppm-consent .ppm-cbtn, body .ppm-cbtn.ppm-cbtn { border-radius: 999px; border-width: 1.5px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
body #ppm-consent .ppm-cbtn:hover, body #ppm-consent .ppm-cbtn:focus, body .ppm-cbtn.ppm-cbtn:hover { background: var(--a2z-accent); border-color: var(--a2z-accent); color: #FFFFFF; filter: none; }
body #ppm-consent .ppm-cbtn.ppm-cbtn--ghost { background: #FFFFFF; color: var(--a2z-black); border-color: var(--a2z-black); }
body #ppm-consent .ppm-cbtn.ppm-cbtn--ghost:hover { background: var(--a2z-black); border-color: var(--a2z-black); color: #FFFFFF; }
body #ppm-consent .ppm-cc input:checked + .ppm-switch { background: var(--a2z-accent); }
body #ppm-consent .ppm-cc__fixed { color: #C4005C; }
body .ppm-reopen:hover, body button.ppm-reopen:hover { color: var(--a2z-accent); }
/* Policy pages ([ppm_privacy_policy], cookie policy) */
body .ppm-policy { --ppm-accent: var(--a2z-accent); }
body .ppm-policy .ppm-effective { background: #FDE7F1; color: #C4005C; }
body .ppm-policy a { color: #C4005C; }
body .ppm-open-deletion, body .ppm-submit { border-radius: 999px; background: var(--a2z-black); box-shadow: none; font-weight: 700; }
body .ppm-open-deletion:hover, body .ppm-submit:hover:not(:disabled) { background: var(--a2z-accent); transform: none; }
body .ppm-form input[type=email]:focus { border-color: var(--a2z-black); box-shadow: 0 0 0 3px rgba(237, 10, 115, .15); }

/* Phones: rows of pill buttons stay on one line and scroll sideways instead of wrapping
   (Insights filter, Services jump links, Contact office filter, "More … services"). */
@media (max-width: 767px) {
	.chips, .pill-nav, .office-filter, .svc-more-links {
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		/* Run to the screen edges while the first pill still lines up with the page text. */
		margin-left: calc(-1 * var(--a2z-gutter));
		margin-right: calc(-1 * var(--a2z-gutter));
		padding-left: var(--a2z-gutter);
		padding-right: var(--a2z-gutter);
		scroll-padding-left: var(--a2z-gutter);
		scroll-snap-type: x proximity;
	}
	.chips::-webkit-scrollbar, .pill-nav::-webkit-scrollbar, .office-filter::-webkit-scrollbar, .svc-more-links::-webkit-scrollbar { display: none; }
	.chips > *, .pill-nav > *, .office-filter > *, .svc-more-links > * { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
	.insights-filter .chips { flex: 1 1 100%; min-width: 0; }
}

/* Outline pill buttons share one hover, as on the Services page: solid black, white text, grey count. */
.chip:hover, .chip.is-active { background: var(--a2z-black); border-color: var(--a2z-black); color: #FFFFFF; }
.chip:hover span, .chip.is-active span { color: var(--a2z-grey-70); opacity: 1; }
