/*
Theme Name: Kinetic Agency
Theme URI: https://example.com/
Author: Your Agency
Description: A fast, SEO-focused, creative agency theme with a built-in Projects portfolio (Shopify, WordPress, Squarespace, Custom). Brand colour #E68F32 on white.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: kinetic-agency
*/

:root {
	--brand: #E68F32;
	--brand-dark: #C9731A;
	--brand-soft: #FDF1E4;
	--ink: #17120C;
	--ink-2: #4E4439;
	--muted: #7A6F63;
	--line: #F0E3D4;
	--white: #FFFFFF;
	--cream: #FFFAF4;
	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 20px 50px -20px rgba(23, 18, 12, .25);
	--font-display: "Bricolage Grotesque", system-ui, sans-serif;
	--font-body: "DM Sans", system-ui, sans-serif;
	--font-serif: "Instrument Serif", Georgia, serif;
	--container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
em.serif, h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--brand-dark); letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1;
	transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
	cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 10px 25px -10px rgba(230, 143, 50, .8); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: .75rem 1.2rem; font-size: .92rem; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
	margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }

.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.section-head h2 { max-width: 14ch; margin: 0; }
.section-head p { max-width: 44ch; margin: 0; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); position: relative; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; inset: 9px 9px auto auto; width: 16px; height: 16px; border-radius: 50%; background: var(--white); }
.custom-logo { max-height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .55rem 1rem; border-radius: 999px; font-weight: 500; text-decoration: none; color: var(--ink); }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--brand-soft); color: var(--ink); }
.main-nav .sub-menu { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span:not(.screen-reader-text) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .3s ease, top .3s ease; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: clamp(50px, 8vw, 100px) 0 60px; overflow: hidden; position: relative; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-lead { font-size: 1.18rem; max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 2.4rem; font-size: .95rem; }
.hero-proof .stars { color: var(--brand); letter-spacing: 2px; font-size: 1.05rem; }
.hero-proof strong { color: var(--ink); }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--white); margin-left: -10px; background: var(--brand-soft); display: grid; place-items: center; font-weight: 700; font-size: .75rem; color: var(--ink); }
.avatars span:first-child { margin-left: 0; background: var(--brand); }
.avatars span:nth-child(3) { background: var(--ink); color: var(--white); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero-blob { position: absolute; inset: 8% 4% 10% 10%; background: var(--brand); border-radius: 46% 54% 40% 60% / 55% 40% 60% 45%; animation: morph 14s ease-in-out infinite; }
@keyframes morph {
	0%, 100% { border-radius: 46% 54% 40% 60% / 55% 40% 60% 45%; }
	50% { border-radius: 60% 40% 55% 45% / 40% 60% 40% 60%; }
}
.browser {
	position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
	border: 1px solid var(--line); transition: transform .5s ease;
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--cream); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar i:first-child { background: var(--brand); }
.browser-bar b { margin-left: 8px; font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.browser-body { aspect-ratio: 16 / 11; background: linear-gradient(135deg, var(--brand-soft), var(--white)); position: relative; }
.browser-body img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-body .mock { position: absolute; inset: 14px; display: grid; gap: 8px; grid-template-rows: 22px 1fr 14px 14px; }
.mock span { background: var(--line); border-radius: 6px; }
.mock span:nth-child(2) { background: linear-gradient(120deg, var(--brand) 0%, #F3B877 100%); opacity: .75; }
.mock span:nth-child(4) { width: 60%; }
.browser--1 { width: 72%; top: 4%; left: 0; transform: rotate(-6deg); z-index: 2; }
.browser--2 { width: 64%; top: 30%; right: 0; transform: rotate(5deg); z-index: 3; }
.browser--3 { width: 56%; bottom: 0; left: 12%; transform: rotate(-2deg); z-index: 4; }
.hero-visual:hover .browser--1 { transform: rotate(-9deg) translate(-10px, -6px); }
.hero-visual:hover .browser--2 { transform: rotate(8deg) translate(10px, -4px); }

.spin-badge { position: absolute; top: -10px; right: -6px; width: 130px; height: 130px; z-index: 5; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: 2.6px; fill: var(--ink); text-transform: uppercase; }
.spin-badge .core { position: absolute; inset: 34px; border-radius: 50%; background: var(--ink); color: var(--brand); display: grid; place-items: center; font-size: 1.6rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 20px -10px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: "✦"; color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
	position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line);
	transition: transform .35s ease, background .35s ease, color .35s ease; overflow: hidden; isolation: isolate;
}
.service::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--brand); z-index: -1; transform: scale(0); transition: transform .5s ease; }
.service:hover { transform: translateY(-8px); }
.service:hover::before { transform: scale(4.5); }
.service-num { font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--brand-dark); margin-bottom: 40px; display: block; transition: color .35s; }
.service:hover .service-num { color: var(--ink); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--white); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 20px -12px rgba(0,0,0,.25); }
.service-icon svg { width: 28px; height: 28px; stroke: var(--ink); }
.service h3 { margin-bottom: .6rem; }
.service p { font-size: .98rem; }
.service ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 500; color: var(--ink); }
.service li { padding: 6px 0; border-top: 1px dashed rgba(23,18,12,.15); }
.service li::before { content: "→ "; color: var(--brand-dark); }
.service:hover li::before { color: var(--ink); }

/* Stats */
.stats { background: var(--ink); color: rgba(255,255,255,.75); border-radius: calc(var(--radius) * 1.6); padding: clamp(40px, 6vw, 70px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--brand); filter: blur(120px); opacity: .35; top: -150px; right: -100px; }
.stat { position: relative; z-index: 1; border-left: 1px solid rgba(255,255,255,.15); padding-left: 24px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--brand); line-height: 1; display: block; margin-bottom: 10px; }
.stat-label { font-weight: 500; color: var(--white); }

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: var(--white); padding: .6rem 1.15rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--brand); }
.filters button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-grid--home .work-card:nth-child(3n+2) { transform: translateY(40px); }
.work-card { transition: opacity .35s ease, transform .35s ease; }
.work-card.is-hidden { display: none; }
.work-card__media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--brand-soft); position: relative; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__media .placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: var(--brand); }
.work-card__media::after { content: "View project ↗"; position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--ink); font-weight: 700; font-size: .85rem; padding: .55rem 1rem; border-radius: 999px; transform: translateY(20px); opacity: 0; transition: all .35s ease; }
.work-card:hover .work-card__media::after { transform: none; opacity: 1; }
.work-card__body { padding: 18px 4px 0; }
.work-card__body h3 { margin: 8px 0 6px; }
.work-card__body h3 a { text-decoration: none; }
.work-card__body p { font-size: .96rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--brand-soft); color: var(--ink); text-decoration: none; }
.work-more { text-align: center; margin-top: 90px; }
.empty-note { padding: 40px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; }

/* Process */
.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 26px 0 0; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand); font-family: var(--font-display); font-weight: 800; color: var(--ink); margin-bottom: 24px; position: relative; z-index: 1; transition: background .3s; }
.step:hover::before { background: var(--brand); }
.step::after { content: ""; position: absolute; top: 32px; left: 64px; right: 0; border-top: 2px dashed var(--brand); opacity: .5; }
.step:last-child::after { display: none; }
.step p { font-size: .97rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.why-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.why-item .check { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; color: var(--ink); font-weight: 800; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: .95rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.quote:nth-child(2) { background: var(--brand); border-color: var(--brand); }
.quote:nth-child(2) blockquote, .quote:nth-child(2) cite { color: var(--ink); }
.quote .stars { color: var(--brand); letter-spacing: 2px; }
.quote:nth-child(2) .stars { color: var(--ink); }
.quote blockquote { margin: 0; font-size: 1.12rem; color: var(--ink); line-height: 1.55; flex: 1; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); }
.quote cite span { display: block; font-weight: 400; font-size: .9rem; opacity: .8; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.4rem; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--brand); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* CTA */
.cta { background: var(--brand); border-radius: calc(var(--radius) * 1.8); padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 80px); position: relative; overflow: hidden; color: var(--ink); }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255,255,255,.18); right: -160px; top: -200px; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; position: relative; align-items: center; }
.cta h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.cta h2 em { color: var(--white); }
.cta p { font-size: 1.12rem; color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.cta .btn--ghost { border-color: var(--ink); }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 14px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-line:first-of-type { border-top: 0; }
.contact-line .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; }
.contact-line small { display: block; font-weight: 400; color: var(--muted); }
.contact-card input, .contact-card textarea, .contact-card select { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.contact-card input[type=submit] { background: var(--ink); color: var(--white); border: 0; font-weight: 700; cursor: pointer; width: auto; padding: .9rem 1.6rem; border-radius: 999px; }

/* Page hero / single */
.page-hero { padding: 70px 0 50px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.breadcrumbs { font-size: .88rem; margin-bottom: 18px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.project-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.project-meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.project-meta dd { margin: 4px 0 0; color: var(--ink); font-weight: 600; }
.project-cover { margin-top: -10px; padding-top: 50px; }
.project-cover img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.entry { max-width: 780px; margin-inline: auto; }
.entry h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.6em; }
.entry img { border-radius: var(--radius-sm); }
.entry .alignwide { width: min(100vw - 40px, 1100px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry blockquote { border-left: 4px solid var(--brand); margin: 1.6em 0; padding: .4em 0 .4em 1.4em; font-size: 1.2rem; color: var(--ink); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 700; }
.pagination { margin-top: 50px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 90px 0 30px; margin-top: clamp(70px, 10vw, 130px); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.footer-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 12vw, 11rem); line-height: .9; color: var(--brand); letter-spacing: -0.04em; margin: 70px 0 30px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.work-grid--home .work-card.reveal.is-visible:nth-child(3n+2) { transform: translateY(40px); }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* WordPress core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky, .bypostauthor, .gallery-caption { }

/* Responsive */
@media (max-width: 1080px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.step::after { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.main-nav { position: fixed; inset: 78px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 20px 26px; transform: translateY(-120%); transition: transform .35s ease; z-index: -1; box-shadow: var(--shadow); }
	.nav-open .main-nav { transform: none; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: .9rem 1rem; font-size: 1.1rem; }
	.hero-grid, .why-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
	.hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
	.work-grid, .post-list { grid-template-columns: repeat(2, 1fr); }
	.work-grid--home .work-card:nth-child(3n+2), .work-grid--home .work-card.reveal.is-visible:nth-child(3n+2) { transform: none; }
	.work-more { margin-top: 50px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.project-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.services-grid, .process-grid, .work-grid, .post-list, .footer-grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
	.stat { padding-left: 14px; }
	.spin-badge { width: 100px; height: 100px; }
	.spin-badge .core { inset: 26px; font-size: 1.2rem; }
	.btn { padding: .95rem 1.3rem; }
}
