/* ════════════════════════════════════════════════════════════════════
   7Degree Marketing — Theme Stylesheet
   Aesthetic: bold corporate · electric yellow on near-black · kinetic
   ════════════════════════════════════════════════════════════════════ */

:root {
	/* ── Color ── */
	--black:      #0d0d0d;
	--ink:        #1a1a1a;
	--ink-2:      #242424;
	--ink-3:      #2e2e2e;
	--line:       rgba(255, 255, 255, 0.08);
	--line-2:     rgba(255, 255, 255, 0.14);

	--yellow:     #f5c518;
	--yellow-2:   #ffd83d;
	--yellow-dim: #c9a30f;
	--yellow-on-light: #806600; /* AA-safe yellow accent on the light --paper sections */
	--yellow-soft: rgba(245, 197, 24, 0.12);

	--white:      #ffffff;
	--cream:      #f7f5ef;
	--gray:       #a8a8a8;
	--gray-2:     #6f6f6f;
	--gray-3:     #4a4a4a;

	/* light-section tokens */
	--paper:      #f7f5ef;
	--paper-2:    #efece2;
	--paper-line: rgba(13, 13, 13, 0.08);

	/* ── Type ── */
	--display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
	--body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	/* ── Spacing ── */
	--container: 1200px;
	--gutter: clamp(20px, 5vw, 48px);

	/* ── Motion ── */
	--ease:      cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
	--t:         0.4s var(--ease);
	--t-fast:    0.22s var(--ease);

	/* ── Radius ── */
	--r:    14px;
	--r-lg: 22px;
	--r-sm: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }

body {
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--cream);
	background: var(--black);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--yellow); color: var(--black); }

/* ── Accessibility ── */
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 9999;
	background: var(--yellow); color: var(--black); padding: 12px 20px;
	font-weight: 600; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
	outline: 2px solid var(--yellow);
	outline-offset: 3px;
	border-radius: 3px;
}

/* ── Layout helpers ── */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }

/* ════════════════════════ TYPOGRAPHY ════════════════════════ */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-tag {
	display: inline-block;
	font-family: var(--display);
	font-size: 13px; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--yellow);
	margin-bottom: 20px;
	padding-left: 2px;
}
.section-tag.light { color: var(--yellow); }
.section-title {
	font-size: clamp(2rem, 5.5vw, 3.6rem);
	color: var(--white);
	margin-bottom: 22px;
}
.section-title .hl {
	color: var(--yellow);
	position: relative;
	white-space: nowrap;
}
.section-lead {
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	color: var(--gray);
	max-width: 56ch;
}

/* ════════════════════════ BUTTONS ════════════════════════ */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--display); font-weight: 600; font-size: 15px;
	padding: 14px 26px; border-radius: 100px;
	transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
	white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { transition: transform var(--t-fast); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary { background: var(--yellow); color: var(--black); box-shadow: 0 6px 24px -8px rgba(245,197,24,0.5); }
.btn-primary:hover { background: var(--yellow-2); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(245,197,24,0.6); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

.btn-nav { background: var(--yellow); color: var(--black); padding: 11px 22px; font-size: 14px; }
.btn-nav:hover { background: var(--yellow-2); transform: translateY(-1px); }

/* ════════════════════════ HEADER ════════════════════════ */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 1000;
	transition: background var(--t), backdrop-filter var(--t), border-color var(--t), padding var(--t);
	border-bottom: 1px solid transparent;
}
.site-header.scrolled {
	background: rgba(13, 13, 13, 0.82);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	border-bottom-color: var(--line);
}
.header-inner {
	max-width: var(--container); margin-inline: auto;
	padding: 20px var(--gutter);
	display: flex; align-items: center; gap: 32px;
	transition: padding var(--t);
}
.site-header.scrolled .header-inner { padding-block: 13px; }

.header-brand { display: flex; align-items: center; flex-shrink: 0; }
.header-brand img, .site-logo img, .custom-logo { height: 42px; width: auto; }
.header-brand a { display: inline-flex; }

.site-nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
	display: inline-block; padding: 9px 16px;
	font-family: var(--display); font-weight: 500; font-size: 15px;
	color: var(--cream); border-radius: 100px;
	position: relative; transition: color var(--t-fast);
}
.nav-menu a::after {
	content: ''; position: absolute; left: 16px; right: 16px; bottom: 5px;
	height: 2px; background: var(--yellow);
	transform: scaleX(0); transform-origin: left;
	transition: transform var(--t-fast);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu .current-menu-item > a { color: var(--yellow); }

.btn-nav { flex-shrink: 0; }

/* hamburger */
.nav-toggle {
	display: none; flex-direction: column; gap: 5px;
	width: 44px; height: 44px; align-items: center; justify-content: center;
	margin-left: auto; flex-shrink: 0;
}
.nav-toggle span {
	display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px;
	transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
	position: fixed; inset: 0; z-index: 999;
	background: var(--black);
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	gap: 8px; padding: 80px var(--gutter) 40px;
	opacity: 0; visibility: hidden; transform: translateY(-12px);
	transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 4px; text-align: center; width: 100%; max-width: 360px; }
.mobile-nav-menu a {
	display: block; padding: 16px; font-family: var(--display); font-weight: 600;
	font-size: 1.6rem; color: var(--white); transition: color var(--t-fast);
}
.mobile-nav-menu a:hover { color: var(--yellow); }
.mobile-cta { margin-top: 24px; }

/* ════════════════════════ HERO ════════════════════════ */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center;
	padding-top: 100px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid-lines {
	position: absolute; inset: 0;
	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 90% 70% at 70% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 40%, #000 30%, transparent 75%);
	opacity: 0.6;
}
.hero-orb {
	position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
	animation: float 14s ease-in-out infinite;
}
.hero-orb-1 {
	width: 520px; height: 520px; top: -120px; right: -80px;
	background: radial-gradient(circle, rgba(245,197,24,0.35), transparent 70%);
}
.hero-orb-2 {
	width: 400px; height: 400px; bottom: -100px; left: -60px;
	background: radial-gradient(circle, rgba(245,197,24,0.16), transparent 70%);
	animation-delay: -7s;
}
.hero-noise {
	position: absolute; inset: 0; opacity: 0.035; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 2; padding-block: 60px; }
.hero-content { max-width: 880px; }

.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.04em; color: var(--gray);
	padding: 8px 16px 8px 14px; border: 1px solid var(--line-2);
	border-radius: 100px; margin-bottom: 28px;
	background: rgba(255,255,255,0.02);
}
.eyebrow-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
	box-shadow: 0 0 0 4px var(--yellow-soft);
	animation: pulse 2.2s ease-in-out infinite;
}

.hero-title {
	font-size: clamp(2.6rem, 8vw, 5.6rem);
	color: var(--white); line-height: 1.02; letter-spacing: -0.03em;
	margin-bottom: 28px;
}
.hero-title .hl { color: var(--yellow); }

.hero-subtitle {
	font-size: clamp(1.1rem, 2.2vw, 1.4rem);
	color: var(--gray); max-width: 60ch; line-height: 1.6;
	margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px); }
.stat { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 2px; align-items: baseline; }
.stat-num, .stat-suffix {
	font-family: var(--display); font-weight: 800;
	font-size: clamp(2rem, 5vw, 3rem); line-height: 1;
}
.stat-num { color: var(--white); grid-column: 1; grid-row: 1; }
.stat-suffix { color: var(--yellow); grid-column: 2; grid-row: 1; }
.stat-label {
	grid-column: 1 / -1; grid-row: 2;
	font-size: 14px; color: var(--gray); margin-top: 10px;
	font-weight: 500; white-space: nowrap;
}

.hero-scroll {
	position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
	z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
	color: var(--gray); font-family: var(--display); font-size: 12px;
	letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line {
	width: 1px; height: 44px;
	background: linear-gradient(var(--yellow), transparent);
	position: relative; overflow: hidden;
}
.scroll-line::after {
	content: ''; position: absolute; top: -44px; left: 0; width: 1px; height: 44px;
	background: var(--yellow); animation: scrollDown 2s ease-in-out infinite;
}

/* ════════════════════════ MARQUEE ════════════════════════ */
.marquee-section {
	border-block: 1px solid var(--line);
	background: var(--ink);
	overflow: hidden; padding-block: 26px;
}
.marquee { display: flex; overflow: hidden; }
.marquee-track {
	display: flex; align-items: center; gap: 0; flex-shrink: 0;
	animation: marquee 32s linear infinite;
	will-change: transform;
}
.marquee-item {
	display: inline-flex; align-items: center; gap: 28px;
	padding-inline: 28px;
	font-family: var(--display); font-weight: 600;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	color: var(--white); white-space: nowrap;
}
.marquee-star { color: var(--yellow); font-size: 0.7em; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ════════════════════════ ANIMATIONS ════════════════════════ */
@keyframes float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-30px, 30px); }
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 4px var(--yellow-soft); }
	50% { box-shadow: 0 0 0 8px rgba(245,197,24,0.04); }
}
@keyframes scrollDown {
	0% { top: -44px; } 60%, 100% { top: 44px; }
}
@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* reveal-on-scroll */
.reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
	opacity: 1; transform: translateY(0);
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ════════════════════════ SERVICES ════════════════════════ */
.services { background: var(--black); }
.services-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
	position: relative; padding: 36px 32px 40px;
	background: var(--ink); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
	transition: transform var(--t), border-color var(--t), background var(--t);
}
.service-card::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 50% 0%, var(--yellow-soft), transparent 60%);
	opacity: 0; transition: opacity var(--t);
}
.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(245,197,24,0.3);
	background: var(--ink-2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
	width: 56px; height: 56px; border-radius: var(--r);
	display: grid; place-items: center;
	background: var(--yellow-soft); color: var(--yellow);
	margin-bottom: 24px; position: relative; z-index: 1;
	transition: background var(--t), transform var(--t);
}
.service-card:hover .service-icon { background: var(--yellow); color: var(--black); transform: scale(1.05) rotate(-4deg); }
.service-card h3 { font-size: 1.35rem; color: var(--white); margin-bottom: 12px; position: relative; z-index: 1; }
.service-card p { color: var(--gray); font-size: 0.98rem; position: relative; z-index: 1; }
.service-num {
	position: absolute; top: 28px; right: 30px;
	font-family: var(--display); font-weight: 800; font-size: 1rem;
	color: var(--gray); transition: color var(--t);
}
.service-card:hover .service-num { color: var(--yellow); }

/* ════════════════════════ WORK ════════════════════════ */
.work { background: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
	border-radius: var(--r-lg); overflow: hidden;
	background: var(--black); border: 1px solid var(--line);
	transition: transform var(--t), border-color var(--t);
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.work-visual {
	position: relative; aspect-ratio: 16 / 10;
	display: flex; align-items: flex-end; padding: 32px;
	overflow: hidden;
}
.work-visual::before {
	content: ''; position: absolute; inset: 0;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 32px 32px; opacity: 0.4;
}
.work-metric { position: relative; z-index: 1; }
.work-metric-num {
	display: block; font-family: var(--display); font-weight: 800;
	font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--yellow); line-height: 1;
}
.work-metric-label { display: block; color: var(--cream); font-size: 0.95rem; margin-top: 6px; font-weight: 500; }
.work-shine {
	position: absolute; top: 0; left: -60%; width: 50%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,0.06), transparent);
	transform: skewX(-18deg); transition: left 0.7s var(--ease);
}
.work-card:hover .work-shine { left: 130%; }
.work-meta {
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px 28px; gap: 16px;
}
.work-meta h3 { font-size: 1.25rem; color: var(--white); }
.work-cat { font-size: 0.85rem; color: var(--gray); font-weight: 500; text-align: right; }

/* ════════════════════════ PROCESS ════════════════════════ */
.process { background: var(--black); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step {
	padding: 32px 26px; border-top: 2px solid var(--line-2);
	position: relative; transition: border-color var(--t);
}
.process-step::before {
	content: ''; position: absolute; top: -2px; left: 0; width: 0; height: 2px;
	background: var(--yellow); transition: width 0.6s var(--ease);
}
.process-step:hover::before { width: 100%; }
.process-num {
	font-family: var(--display); font-weight: 800; font-size: 2.4rem;
	color: var(--yellow); line-height: 1; display: block; margin-bottom: 18px;
}
.process-step h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.process-step p { color: var(--gray); font-size: 0.96rem; }

/* ════════════════════════ REFERENCES ════════════════════════ */
.references { background: var(--paper); color: var(--ink); }
.references .section-title { color: var(--ink); }
.references .section-tag { color: var(--yellow-on-light); }
.references .section-title .hl { color: var(--yellow-on-light); }
.references .section-lead { color: var(--gray-2); }

.logo-wall {
	display: grid; grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--paper-line); border-radius: var(--r-lg);
	overflow: hidden; margin-bottom: 64px; background: rgba(255,255,255,0.4);
}
.client-logo {
	display: grid; place-items: center; padding: 38px 20px;
	font-family: var(--display); font-weight: 800; font-size: 1.15rem;
	letter-spacing: 0.06em; color: var(--gray-2);
	border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line);
	transition: color var(--t-fast), background var(--t-fast);
}
.client-logo:hover { color: var(--ink); background: rgba(245,197,24,0.14); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
	padding: 34px 30px; background: var(--white);
	border: 1px solid var(--paper-line); border-radius: var(--r-lg);
	display: flex; flex-direction: column; gap: 20px;
	box-shadow: 0 1px 2px rgba(13,13,13,0.04);
	transition: transform var(--t), box-shadow var(--t);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -20px rgba(13,13,13,0.25); }
.testimonial-stars { display: flex; gap: 3px; color: var(--yellow-dim); }
.testimonial blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
	width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
	display: grid; place-items: center; background: var(--ink); color: var(--yellow);
	font-family: var(--display); font-weight: 700; font-size: 0.95rem;
}
.testimonial-person { display: flex; flex-direction: column; line-height: 1.35; }
.testimonial-person strong { font-family: var(--display); color: var(--ink); font-size: 0.98rem; }
.testimonial-person small { color: var(--gray-2); font-size: 0.85rem; }

/* ════════════════════════ ABOUT ════════════════════════ */
.about { background: var(--ink); }
.about-inner {
	display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 96px);
	align-items: center;
}
.about-content .section-title { margin-bottom: 24px; }
.about-content p { color: var(--gray); margin-bottom: 18px; font-size: 1.05rem; }
.about-content .btn { margin-top: 14px; }

.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card {
	padding: 30px 26px; border-radius: var(--r-lg);
	border: 1px solid var(--line); background: var(--black);
	display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
	column-gap: 2px; align-items: baseline; justify-content: start;
	transition: transform var(--t), border-color var(--t);
}
.about-card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,0.3); }
.about-card-1 { grid-column: 1 / -1; background: var(--yellow); border-color: var(--yellow); }
.about-card-num, .about-card-suffix {
	font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1;
}
.about-card-num { color: var(--white); grid-column: 1; grid-row: 1; }
.about-card-1 .about-card-num { color: var(--black); }
.about-card-suffix { color: var(--yellow); grid-column: 2; grid-row: 1; }
.about-card-1 .about-card-suffix { color: var(--ink); }
.about-card-label { grid-column: 1 / -1; grid-row: 2; font-size: 0.9rem; color: var(--gray); font-weight: 500; margin-top: 8px; }
.about-card-1 .about-card-label { color: rgba(13,13,13,0.7); }

/* ════════════════════════ CONTACT ════════════════════════ */
.contact { background: var(--black); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact-orb {
	position: absolute; top: 10%; right: -10%;
	width: 600px; height: 600px; border-radius: 50%;
	background: radial-gradient(circle, rgba(245,197,24,0.14), transparent 70%);
	filter: blur(60px);
}
.contact-inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 80px);
	align-items: start;
}
.contact-intro .section-title { margin-bottom: 20px; }
.contact-lead { color: var(--gray); font-size: 1.1rem; margin-bottom: 40px; max-width: 44ch; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; align-items: center; gap: 16px; color: var(--cream); font-size: 1.05rem; }
.contact-details a { transition: color var(--t-fast); }
.contact-details a:hover { color: var(--yellow); }
.contact-icon {
	width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r-sm);
	display: grid; place-items: center;
	background: var(--yellow-soft); color: var(--yellow);
	border: 1px solid var(--line);
}

/* form */
.contact-form-wrap {
	background: var(--ink); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
	font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--cream);
}
.form-field label span { color: var(--yellow); }
.form-field input, .form-field textarea, .form-field select {
	width: 100%; padding: 14px 16px;
	background: var(--black); border: 1.5px solid var(--line-2);
	border-radius: var(--r-sm); color: var(--white);
	font-family: var(--body); font-size: 15px;
	transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #909090; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
	outline: none; border-color: var(--yellow);
	box-shadow: 0 0 0 4px var(--yellow-soft); background: var(--ink-2);
}
.form-field select { appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a8a8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.form-field input.error, .form-field textarea.error { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,0.12); }

.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

#cf-submit { margin-top: 4px; position: relative; }
#cf-submit .btn-spinner {
	display: none; width: 18px; height: 18px;
	border: 2px solid rgba(13,13,13,0.25); border-top-color: var(--black);
	border-radius: 50%; animation: spin 0.7s linear infinite;
}
#cf-submit.loading .btn-label, #cf-submit.loading .btn-icon { display: none; }
#cf-submit.loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { font-size: 0.95rem; text-align: center; min-height: 1px; margin: 0; }
.form-status.success { color: var(--yellow); }
.form-status.error { color: #ff6b6f; }

/* ════════════════════════ FOOTER ════════════════════════ */
.site-footer { position: relative; background: var(--ink); padding-top: 80px; overflow: hidden; }
.footer-glow {
	position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
	width: 700px; height: 400px;
	background: radial-gradient(ellipse, rgba(245,197,24,0.08), transparent 70%);
	pointer-events: none;
}
.footer-grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
	padding-bottom: 56px; border-bottom: 1px solid var(--line);
	position: relative;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 18px; }
.footer-tagline { color: var(--gray); max-width: 32ch; margin-bottom: 24px; font-size: 0.98rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
	width: 42px; height: 42px; border-radius: var(--r-sm);
	display: grid; place-items: center; color: var(--gray);
	border: 1px solid var(--line-2); transition: all var(--t-fast);
}
.footer-social a:hover { color: var(--black); background: var(--yellow); border-color: var(--yellow); transform: translateY(-3px); }
.footer-col h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-contact li { color: var(--gray); font-size: 0.96rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
	display: flex; justify-content: space-between; align-items: center;
	padding-block: 28px; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { color: var(--gray); font-size: 0.9rem; }
.footer-credit { color: var(--gray); }

/* back to top */
.back-to-top {
	position: fixed; bottom: 28px; right: 28px; z-index: 900;
	width: 50px; height: 50px; border-radius: 50%;
	background: var(--yellow); color: var(--black);
	display: grid; place-items: center;
	box-shadow: 0 8px 24px -8px rgba(245,197,24,0.6);
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
	transition: all var(--t);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--yellow-2); transform: translateY(-3px) scale(1.05); }

/* ════════════════════════ RESPONSIVE ════════════════════════ */
@media (max-width: 980px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.process-steps { grid-template-columns: repeat(2, 1fr); }
	.logo-wall { grid-template-columns: repeat(2, 1fr); }
	.testimonials { grid-template-columns: 1fr; }
	.about-inner { grid-template-columns: 1fr; }
	.contact-inner { grid-template-columns: 1fr; gap: 48px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	.site-nav, .btn-nav { display: none; }
	.nav-toggle { display: flex; }
	.header-inner { gap: 0; justify-content: space-between; }
	.services-grid, .work-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.hero-stats { gap: 24px 36px; }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { justify-content: center; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.process-steps { grid-template-columns: 1fr; }
	.logo-wall { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.about-visual { grid-template-columns: 1fr; }
	.about-card-1 { grid-column: 1; }
}

/* ════════════════════════ BLOG / PAGES / SINGLE ════════════════════════ */
.container-narrow { max-width: 780px; }
.archive-section, .single-section, .error-404 { background: var(--black); min-height: 70vh; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
	background: var(--ink); border: 1px solid var(--line);
	border-radius: var(--r-lg); overflow: hidden;
	transition: transform var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(245,197,24,0.3); }
.post-card-thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 26px 24px 28px; }
.post-card-date { font-size: 0.82rem; color: var(--yellow); font-weight: 600; letter-spacing: 0.04em; }
.post-card-title { font-size: 1.25rem; color: var(--white); margin: 10px 0 12px; line-height: 1.25; }
.post-card-excerpt { color: var(--gray); font-size: 0.95rem; margin-bottom: 16px; }
.post-card-more { font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--yellow); }

.pagination-wrap { margin-top: 56px; }
.pagination-wrap .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination-wrap .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line-2); border-radius: var(--r-sm);
	font-family: var(--display); font-weight: 600; color: var(--cream);
	transition: all var(--t-fast);
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* single / page content */
.single-head { margin-bottom: 40px; }
.single-cats, .single-cats a { color: var(--gray); font-size: 0.92rem; }
.single-cats a:hover { color: var(--yellow); }
.single-thumb { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 44px; }
.single-content { font-size: 1.1rem; line-height: 1.8; color: var(--cream); }
.single-content > * + * { margin-top: 1.4em; }
.single-content h2 { font-size: 1.9rem; color: var(--white); margin-top: 1.8em; }
.single-content h3 { font-size: 1.4rem; color: var(--white); margin-top: 1.6em; }
.single-content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.single-content blockquote {
	border-left: 3px solid var(--yellow); padding-left: 24px; margin-left: 0;
	color: var(--gray); font-style: italic; font-size: 1.2rem;
}
.single-content ul, .single-content ol { padding-left: 1.4em; }
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { margin-top: 0.5em; }
.single-content img { border-radius: var(--r); }
.single-content code {
	background: var(--ink-2); padding: 2px 7px; border-radius: 5px;
	font-size: 0.9em; color: var(--yellow);
}
.single-content pre {
	background: var(--ink-2); padding: 20px; border-radius: var(--r-sm);
	overflow-x: auto; border: 1px solid var(--line);
}

@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* ════════════════════════ SCROLL PROGRESS ════════════════════════ */
.scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100;
	pointer-events: none; background: transparent;
}
.scroll-progress span {
	display: block; height: 100%; transform: scaleX(0); transform-origin: left;
	background: linear-gradient(90deg, var(--yellow), var(--yellow-2));
	will-change: transform;
}

/* ════════════════════════ MARQUEE EDGE FADE ════════════════════════ */
.marquee {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* ════════════════════════ FORM A11Y / STATES ════════════════════════ */
.form-note { font-size: 0.85rem; color: var(--gray); margin: 0; }
.form-note span { color: var(--yellow); }
.field-error {
	display: flex; align-items: center; gap: 6px;
	margin-top: 6px; font-size: 0.82rem; line-height: 1.3; color: #ff8a8d;
}
.field-error::before {
	content: ""; flex: none; width: 14px; height: 14px;
	background: no-repeat center / contain
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a8d' stroke-width='2.2'%3E%3Cpath d='M12 9v4M12 17h.01M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E");
}
.contact-form.is-sent { position: relative; }

/* ════════════════════════ LOGO WALL (IMAGES) ════════════════════════ */
.client-logo img {
	max-width: 140px; max-height: 40px; width: auto; height: auto;
	filter: grayscale(1) opacity(0.65); transition: filter var(--t-fast);
}
.client-logo:hover img { filter: grayscale(0) opacity(1); }

/* avatar image variant */
.testimonial-avatar-img { object-fit: cover; }

/* ════════════════════════ FAQ ════════════════════════ */
.faq { background: var(--ink); }
.faq-list {
	display: flex; flex-direction: column; gap: 14px;
	max-width: 820px;
}
.faq-item {
	background: var(--black); border: 1px solid var(--line);
	border-radius: var(--r); overflow: hidden;
	transition: border-color var(--t-fast);
}
.faq-item[open] { border-color: rgba(245, 197, 24, 0.3); }
.faq-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 26px; cursor: pointer; list-style: none;
	font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--yellow); }
.faq-icon {
	position: relative; flex: none; width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 14px; height: 2px; background: var(--yellow); border-radius: 2px;
	transform: translate(-50%, -50%); transition: transform var(--t-fast);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 26px 24px; color: var(--gray); font-size: 1rem; line-height: 1.7; }
.faq-answer p { margin: 0; }

/* ════════════════════════ SEARCH FORM ════════════════════════ */
.search-form { margin-top: 28px; max-width: 520px; }
.search-form-inner { display: flex; gap: 10px; }
.search-field {
	flex: 1; padding: 14px 16px;
	background: var(--ink); border: 1.5px solid var(--line-2);
	border-radius: var(--r-sm); color: var(--white);
	font-family: var(--body); font-size: 15px;
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-field::placeholder { color: #909090; }
.search-field:focus {
	outline: none; border-color: var(--yellow);
	box-shadow: 0 0 0 4px var(--yellow-soft);
}
.search-submit { flex: none; }

/* ════════════════════════ INNER PAGE SPACING / 404 ════════════════════════ */
.archive-section, .single-section, .error-404 { padding-top: clamp(140px, 16vw, 200px); }
.error-404 { text-align: center; }
.error-404 .section-tag { display: block; }
.error-404-code {
	font-family: var(--display); font-weight: 800; line-height: 1;
	font-size: clamp(4rem, 14vw, 9rem); color: var(--yellow);
	margin-bottom: 22px; letter-spacing: -0.02em;
}
.error-404 .section-lead { margin-inline: auto; }
.error-404-btn { margin-top: 32px; }

/* ════════════════════════ PAGINATED POSTS (wp_link_pages) ════════════════════════ */
.page-links {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin-top: 40px; font-family: var(--display); font-weight: 600; color: var(--cream);
}
.page-links a, .page-links > span {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--line-2); border-radius: var(--r-sm);
	transition: all var(--t-fast);
}
.page-links a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.page-links > span:not(.page-links-title) { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.page-links-title { border: 0; min-width: 0; padding: 0; margin-right: 6px; color: var(--gray); }
