/*
Theme Name: PushON Commerce Group
Theme URI: https://www.pushon.co.uk/
Author: PushON Commerce Limited
Description: Group website theme for PushON Commerce Group (PushON, Pixel Kicks, Connect). Content is managed with Advanced Custom Fields Pro. Extends Yoast SEO schema and supports Gravity Forms.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietary
Text Domain: pcg
*/

/* ---------- Tokens ---------- */
:root {
	--accent: #C6F432;
	--ink: #0B0C0E;
	--ink-2: #3A3D45;
	--ink-3: #4A4E58;
	--muted: #5B5F69;
	--muted-dark: #A9ADB7;
	--text-on-dark: #C3C6CE;
	--line: #E3E4E8;
	--line-dark: #2A2D34;
	--soft: #F6F7F9;
	--white: #FFFFFF;
	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--radius: 16px;
	--radius-lg: 20px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--soft { background: var(--soft); }
.section--accent { background: var(--accent); color: var(--ink); }

.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.section--dark .eyebrow { color: var(--accent); }
.h-display { font-weight: 700; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.02em; max-width: 1050px; }
.h-section { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -.01em; }
.h-card { font-size: 24px; line-height: 1.25; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 440px; }
.section--dark .lede { color: var(--text-on-dark); }
.prose { font-size: 17px; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.section--dark .prose { color: var(--text-on-dark); }
.section--dark .prose a { color: var(--white); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head__title { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s ease, background-color .25s ease; font-family: var(--font-body); }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); }
.btn--ghost { border-color: #4A4E58; color: var(--white); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { font-weight: 600; font-size: 16px; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--white); position: relative; z-index: 50; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.site-brand:hover { color: var(--white); }
.site-brand img { max-height: 40px; width: auto; }
.site-brand__mark { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; background: var(--accent); align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 18px; }
.site-brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.site-brand__name span { font-weight: 400; color: var(--muted-dark); }
.nav-toggle { display: none; background: none; border: 1px solid #4A4E58; color: var(--white); border-radius: 999px; min-height: 44px; padding: 0 18px; font: inherit; font-weight: 600; cursor: pointer; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.primary-nav a { color: #D5D7DD; text-decoration: none; font-size: 15px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--white); }
.primary-nav .menu-cta > a { background: var(--accent); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 600; }

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; align-items: center; }
	.primary-nav { display: none; width: 100%; }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0 16px; }
	.primary-nav a { display: block; padding: 10px 0; font-size: 17px; }
	.primary-nav .menu-cta > a { display: inline-block; margin-top: 8px; }
}

.breadcrumbs { font-size: 14px; color: var(--muted-dark); padding-top: 24px; }
.breadcrumbs a { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 112px; }
.hero__intro { font-size: 20px; line-height: 1.55; color: var(--text-on-dark); max-width: 680px; }
.hero__ring { position: absolute; pointer-events: none; }
.hero__ring--a { right: -180px; top: -140px; width: 640px; height: 640px; opacity: .55; animation: pcg-spin 80s linear infinite; }
.hero__ring--b { right: -40px; top: 0; width: 360px; height: 360px; opacity: .6; animation: pcg-spin 50s linear infinite reverse; }
.page-hero .hero__inner { padding-top: 72px; padding-bottom: 80px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; margin: 48px 0 0; padding: 0; }
.stats__item { background: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.stats__value { order: -1; margin: 0; font-family: var(--font-display); font-size: 44px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--white); }
.stats__label { color: var(--muted-dark); font-size: 15px; }

/* ---------- Logos ---------- */
.logo-slot { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; height: 48px; padding: 0 18px; border: 1.5px dashed #A3A8B2; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink-2); }
.logo-slot--lg { height: 56px; font-size: 26px; color: var(--ink); }
.logo-img { display: block; max-height: 48px; width: auto; max-width: 180px; object-fit: contain; }
.logo-img--lg { max-height: 56px; max-width: 220px; }
.logo-img--mono { filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.logo-img--mono:hover { filter: none; opacity: 1; }

.clients { border-bottom: 1px solid var(--line); }
.clients__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.marquee { flex: 1 1 600px; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: pcg-marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; margin: 0; list-style: none; padding-left: 0; }

/* ---------- Brand cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.brand-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; background: var(--soft); transition: transform .35s ease, box-shadow .35s ease; }
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 12, 14, .12); }
.brand-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-size: 13px; font-weight: 600; background: var(--ink); color: var(--white); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.brand-card__summary { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.tick-list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.brand-card__partners { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.brand-card .text-link { margin-top: auto; }

/* ---------- Process ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split__intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.split__body { flex: 2 1 560px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.process-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.process-card__num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--muted); }
.process-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.process-card--highlight { background: var(--ink); color: var(--white); }
.process-card--highlight .process-card__num { color: var(--accent); }
.process-card--highlight p { color: var(--text-on-dark); }

/* ---------- Partners ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.stile { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s ease, border-color .3s ease; }
.stile:hover { transform: translateY(-4px); border-color: var(--ink); }
.stile__num { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.stile__name { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); }
a.stile__name { text-decoration: none; }
a.stile__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ptile { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s ease, border-color .3s ease; }
.ptile:hover { transform: translateY(-4px); border-color: var(--ink); }
.ptile__status { font-size: 15px; font-weight: 600; }
.ptile__via { font-size: 13px; color: var(--muted); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.case:hover { color: inherit; }
.case__media { aspect-ratio: 4 / 3; background: var(--line); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__meta { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- About ---------- */
.about__inner { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__head, .about__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 28px; line-height: 1; transition: rotate .3s ease; }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__answer { padding: 0 0 24px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.cta__title { font-size: clamp(34px, 5vw, 64px); line-height: 1; max-width: 760px; }

/* ---------- Contact / Gravity Forms ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.contact__details { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.contact__details span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact__form { flex: 2 1 520px; background: var(--soft); border-radius: var(--radius-lg); padding: 40px; }
.form-notice { padding: 24px; border: 1.5px dashed #A3A8B2; border-radius: var(--radius); color: var(--muted); }

.gform_wrapper.gravity-theme .gfield_label, .gform_wrapper .gform-field-label { font-weight: 600; font-size: 15px; }
.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .gform_wrapper textarea, .gform_wrapper select { border: 1px solid #C9CCD3; border-radius: 10px; padding: 12px 14px; font: inherit; min-height: 48px; background: var(--white); }
.gform_wrapper input:focus, .gform_wrapper textarea:focus, .gform_wrapper select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.gform_wrapper .gform_footer .gform_button, .gform_wrapper .gform_page_footer .button { background: var(--ink) !important; color: var(--white) !important; border: 0 !important; border-radius: 999px !important; padding: 16px 30px !important; font-weight: 600 !important; font-size: 16px !important; min-height: 48px; cursor: pointer; }
.gform_wrapper .gform_validation_errors { border-radius: 10px; }
.gform_confirmation_message { font-size: 18px; font-weight: 600; }

/* ---------- Generic content ---------- */
.entry { max-width: 820px; }
.entry-figure { max-width: 820px; margin: 0 0 48px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 34px; margin-top: 1.6em; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry p, .entry li { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.entry img { border-radius: var(--radius); }

.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; padding: 0 14px; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); }
.site-footer__inner { display: flex; flex-direction: column; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.site-footer__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--white); }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 15px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--white); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer__bottom { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.site-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.social-links { display: flex; gap: 14px; flex-wrap: wrap; list-style: none; margin: 4px 0 0; padding: 0; }

/* ---------- Motion ---------- */
@keyframes pcg-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes pcg-spin { to { rotate: 360deg; } }
@keyframes pcg-marquee { to { transform: translateX(-50%); } }
.rise { animation: pcg-rise .9s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; } .d4 { animation-delay: .46s; }
.reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s ease, box-shadow .35s ease, border-color .3s ease !important; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; translate: 0 0; }
}

@media (max-width: 640px) {
	.section { padding: 80px 0; }
	.hero__inner { padding-top: 64px; padding-bottom: 80px; }
	.contact__form { padding: 24px; }
	.brand-card { padding: 28px; }
}
