/* =====================================================================
   Holloway Plastics — main stylesheet
   ===================================================================== */

:root {
	--brand: #0080cb;
	--brand-dark: #005f9a;
	--brand-darker: #064a76;
	--brand-tint: #e7f3fb;
	--ink: #1b2a36;
	--slate: #4e4e4e;
	--muted: #6b7785;
	--line: #e4e8ed;
	--mist: #f5f7fa;
	--white: #ffffff;
	--dark: #11212e;
	--dark-2: #16303f;

	--container: 1200px;
	--container-narrow: 800px;
	--radius: 16px;
	--radius-sm: 10px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(16, 33, 46, .06), 0 2px 8px rgba(16, 33, 46, .05);
	--shadow: 0 10px 30px -12px rgba(16, 33, 46, .22);
	--shadow-lg: 0 30px 60px -20px rgba(16, 33, 46, .35);
	--header-h: 84px;

	--font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.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: -9999px; top: 0; z-index: 1000; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* ----------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tint { background: var(--mist); }
.section--dark { background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; }
.section--dark .section__title,
.section--dark .section__intro { color: #fff; }

.eyebrow {
	font-family: var(--font-head); font-weight: 600; font-size: .8rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
	margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); display: inline-block; }
.eyebrow--light { color: rgba(255,255,255,.85); }
.eyebrow--light::before { background: rgba(255,255,255,.6); }

.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.section__intro { color: var(--muted); font-size: 1.15rem; margin-top: 16px; }
.section--dark .section__intro { color: rgba(255,255,255,.78); }
.section__cta { margin-top: 48px; text-align: center; }
.lead { font-size: 1.18rem; color: var(--slate); }
.section--dark .lead { color: rgba(255,255,255,.82); }

/* ----------------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-head); font-weight: 600; font-size: .98rem;
	padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
	transition: transform .25s var(--ease), background .25s var(--ease), color .2s, box-shadow .25s; cursor: pointer;
	line-height: 1;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(0,128,203,.6); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.section--dark .btn--ghost, .hero .btn--ghost { color: #fff; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { color: var(--brand-darker); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ----------------------------------------------------------- Header */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
	display: flex; align-items: center;
	transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.site-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.site-header__brand img, .custom-logo { height: 62px; width: auto; max-width: min(70vw, 320px); transition: filter .3s; }
.site-header__title { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; }

/* transparent over hero, solid after scroll / on inner pages */
body.is-front .site-header:not(.is-scrolled) { background: linear-gradient(to bottom, rgba(8,20,29,.55), rgba(8,20,29,0)); }
body.is-front .site-header:not(.is-scrolled) .nav-menu > li > a,
body.is-front .site-header:not(.is-scrolled) .site-header__title { color: #fff; }
body.is-front .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
.site-header.is-solid, .site-header.is-scrolled {
	background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
body:not(.is-front) .site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .site-header__brand img { filter: none; }

.site-nav { margin-left: auto; }
.nav-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
	display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 500;
	font-size: .98rem; color: var(--ink); border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a { color: var(--brand); }
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current_page_item > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--brand); border-radius: 2px;
}
/* dropdowns */
.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; padding: 8px; margin: 0;
	background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease);
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.nav-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.nav-menu .sub-menu a:hover { background: var(--brand-tint); color: var(--brand-dark); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__cta { padding: 11px 20px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; border-radius: 8px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* mobile nav */
.mobile-nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
	padding: 24px clamp(20px,5vw,48px) 40px; overflow-y: auto;
	transform: translateY(-12px); opacity: 0; transition: .25s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { transform: none; opacity: 1; }
.mobile-nav__menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav__menu li { border-bottom: 1px solid var(--line); }
.mobile-nav__menu a { display: block; padding: 16px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.mobile-nav__menu .sub-menu { list-style: none; padding-left: 12px; }
.mobile-nav__menu .sub-menu a { font-size: 1rem; font-weight: 500; color: var(--muted); }
.mobile-nav__cta { margin-top: 24px; width: 100%; justify-content: center; }

/* ----------------------------------------------------------- Hero */
.hero {
	position: relative; min-height: clamp(560px, 92vh, 880px); display: flex; align-items: center;
	color: #fff; isolation: isolate; padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--dark); }
.hero__video, .hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(115deg, rgba(8,20,29,.86) 0%, rgba(8,33,52,.66) 45%, rgba(0,95,154,.42) 100%);
}
.hero__inner { max-width: 860px; }
.hero__eyebrow { color: rgba(255,255,255,.9); }
.hero__eyebrow::before { background: var(--brand); }
.hero__title { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.4rem); font-weight: 800; color: #fff; line-height: 1.02; }
.hero__sub { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); color: rgba(255,255,255,.86); margin-top: 22px; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 16px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; translate: -50% 0; width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%,14px); } 100% { opacity: 0; } }

/* ----------------------------------------------------------- Intro + stats */
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__number { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); color: var(--brand); line-height: 1; }
.stat__label { display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* ----------------------------------------------------------- Card grids */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.service-card__link { display: flex; flex-direction: column; height: 100%; padding: 30px; color: var(--ink); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: var(--brand-tint); color: var(--brand); margin-bottom: 20px; transition: background .35s, color .35s; }
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card__thumb img { border-radius: 12px; margin-bottom: 18px; }
.service-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.service-card__text { color: var(--muted); font-size: .98rem; flex-grow: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--brand); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }
.service-card--feature .service-card__link { padding: 36px; }

/* ----------------------------------------------------------- Work grid */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.work-card__link { display: block; color: inherit; }
.work-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.07); }
.work-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); opacity: .35; }
.work-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,20,29,.4), transparent 55%); opacity: 0; transition: opacity .35s; }
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__body { padding: 22px 24px 26px; }
.section--dark .work-card__body { background: rgba(255,255,255,.04); }
.work-card__client { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.work-card__title { font-size: 1.2rem; margin: 6px 0 8px; color: var(--ink); }
.section--dark .work-card { background: rgba(255,255,255,.05); }
.section--dark .work-card__title { color: #fff; }
.work-card__text { color: var(--muted); font-size: .95rem; }
.section--dark .work-card__text { color: rgba(255,255,255,.7); }

/* work archive filter */
.work-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.work-filter__btn { background: #fff; border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--slate); transition: .2s; }
.work-filter__btn:hover { border-color: var(--brand); color: var(--brand); }
.work-filter__btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.work-item.is-hidden { display: none; }

/* ----------------------------------------------------------- Testimonials */
.testimonials { background: radial-gradient(120% 120% at 100% 0%, var(--brand-tint), transparent 55%), #fff; }
.testimonial-slider { position: relative; max-width: 880px; margin-inline: auto; overflow: hidden; }
.testimonial-slider__track { display: flex; transition: transform .55s var(--ease); }
.testimonial { flex: 0 0 100%; padding: 8px 8px 0; }
.testimonial blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem); line-height: 1.4; color: var(--ink); position: relative; padding-top: 40px; }
.testimonial blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -6px; font-size: 6rem; line-height: 1; color: var(--brand); opacity: .18; font-family: Georgia, serif; }
.testimonial figcaption { margin-top: 22px; font-weight: 600; color: var(--brand-dark); }
.testimonial-slider__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 34px; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; transition: .2s; }
.slider-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); transition: .2s; }
.slider-dots button.is-active { background: var(--brand); width: 26px; border-radius: 6px; }

/* ----------------------------------------------------------- Environmental */
.environmental__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.environmental__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #e7f6ec; color: #1f9d55; margin-bottom: 16px; }
.environmental__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ----------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.cta-band__title { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); }
.cta-band__text { color: rgba(255,255,255,.85); margin-top: 8px; max-width: 520px; }

/* ----------------------------------------------------------- Page hero */
.page-hero { position: relative; background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 60%, var(--brand-darker) 130%); color: #fff; padding: calc(var(--header-h) + 52px) 0 64px; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); color: #fff; }
.page-hero__sub { margin-top: 16px; font-size: 1.18rem; color: rgba(255,255,255,.8); }
.page-hero__deco { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,128,203,.5), transparent 70%); filter: blur(20px); }

/* ----------------------------------------------------------- Entry content (CMS body) */
.page-content { padding-block: clamp(48px, 6vw, 84px); }
.page-content--tight { padding-bottom: 24px; }
.entry-content { font-size: 1.08rem; color: var(--slate); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h1 { font-size: clamp(1.8rem,1.3rem+1.6vw,2.4rem); margin-top: 1.4em; }
.entry-content h2 { font-size: clamp(1.5rem,1.2rem+1vw,2rem); margin-top: 1.5em; color: var(--ink); }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.3em; color: var(--ink); }
.entry-content h2 span[style], .entry-content h3 span[style] { color: var(--brand) !important; }
.entry-content p { line-height: 1.75; }
.entry-content a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,128,203,.4); }
.entry-content a:hover { text-decoration-color: var(--brand); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-block: .4em; }
.entry-content ul li::marker { color: var(--brand); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 4px solid var(--brand); padding: 4px 0 4px 22px; color: var(--ink); font-style: italic; }
.entry-content figure { margin-block: 1.6em; }
.entry-content .wp-block-image img { box-shadow: var(--shadow-sm); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
/* gallery */
.entry-content .wp-block-gallery { gap: 14px; }
.entry-content .wp-block-gallery img { border-radius: var(--radius-sm); }

/* ----------------------------------------------------------- Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 1/1; background: var(--brand-tint); display: grid; place-items: center; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--brand); opacity: .5; }
.team-card__body { padding: 24px; }
.team-card__name { font-size: 1.25rem; }
.team-card__role { color: var(--brand); font-weight: 600; font-size: .92rem; margin-top: 4px; }
.team-card__bio { color: var(--muted); font-size: .96rem; margin-top: 12px; }
.team-card__contact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.team-card__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-size: .9rem; }
.team-card__contact a:hover { color: var(--brand); }
.team-card__contact .icon { color: var(--brand); flex-shrink: 0; }

/* ----------------------------------------------------------- News grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__link { color: inherit; display: block; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--mist); position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); opacity: .3; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__date { color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.post-card__title { font-size: 1.25rem; margin: 8px 0 10px; color: var(--ink); }
.post-card__excerpt { color: var(--muted); font-size: .96rem; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }

/* ----------------------------------------------------------- Single post / project */
.single-post__media, .project-single__hero, .service-single__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.project-single__hero img, .single-post__media img, .service-single__media img { width: 100%; }
.single-post__meta { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }
.single-post__meta a { background: var(--mist); padding: 5px 14px; border-radius: 999px; font-size: .85rem; }
.single-post__nav, .project-single__nav { margin-top: 44px; }
.project-single__hero { margin-inline: auto; max-width: var(--container); }

/* ----------------------------------------------------------- Contact */
.contact__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.contact-card__title { color: #fff; font-size: 1.4rem; margin-bottom: 22px; }
.contact-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-card__list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.85); }
.contact-card__list a { color: rgba(255,255,255,.92); }
.contact-card__list a:hover { color: #fff; text-decoration: underline; }
.contact-card__ic { flex-shrink: 0; display: inline-flex; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; align-items: center; justify-content: center; }
.contact__map { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact__map iframe { display: block; }

/* Contact Form 7 styling */
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel],
.wpcf7-form input[type=url], .wpcf7-form textarea, .wpcf7-form select {
	width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
	outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,128,203,.15);
}
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
	background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 15px 32px;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; cursor: pointer; transition: .25s var(--ease);
	box-shadow: 0 10px 24px -8px rgba(0,128,203,.6);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }
.wpcf7-form .wpcf7-not-valid-tip { color: #d8332a; font-size: .85rem; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { border-radius: var(--radius-sm); margin: 12px 0 0; padding: 12px 16px; font-size: .92rem; }

/* ----------------------------------------------------------- Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 88px); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 56px; }
.site-footer__logo img, .site-footer .custom-logo { height: 44px; filter: brightness(0) invert(1); }
.site-footer__brand { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; }
.site-footer__tagline { margin-top: 16px; max-width: 320px; font-size: .96rem; }
.site-footer__heading { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-menu a { color: rgba(255,255,255,.72); font-size: .96rem; }
.footer-menu a:hover { color: #fff; }
.site-footer__contact { font-style: normal; font-size: .95rem; line-height: 1.7; display: grid; gap: 10px; }
.site-footer__contact a { color: rgba(255,255,255,.85); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__erdf { margin-top: 22px; background: #fff; padding: 12px; border-radius: 10px; display: inline-block; }
.site-footer__erdf img { max-height: 60px; width: auto; }
.social-links { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 12px; }
.social-links a { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center; transition: .25s var(--ease); }
.social-links a:hover { background: var(--brand); transform: translateY(-3px); }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ----------------------------------------------------------- Pagination / misc */
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers, .nav-links .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; font-size: 1.1rem; }
.search-bar { max-width: 520px; margin: 0 auto 36px; }
.search-form { display: flex; gap: 10px; }
.search-form input[type=search] { flex: 1; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.search-form button { background: var(--brand); color: #fff; border: 0; padding: 0 22px; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; }
.error-404__inner { text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.error-404__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 11rem); line-height: 1; color: var(--brand-tint); }
.error-404 .section__title { margin-top: -20px; }
.error-404 .search-bar { margin-block: 28px; }

/* ----------------------------------------------------------- Reveal animations */
/* Reveal-on-scroll disabled: all content is visible immediately on load (no
   fade/translate), which prevents the "blank until you scroll" and the small
   settle that looked like an auto-scroll. */
[data-reveal],
[data-reveal-stagger] > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	.hero__scroll span { animation: none; }
}

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
	.card-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.work-grid, .post-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.site-nav, .site-header__cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.intro__grid, .environmental__grid, .contact__grid { grid-template-columns: 1fr; }
	.card-grid--3 { grid-template-columns: 1fr; }
	.environmental__media { order: -1; }
}
@media (max-width: 640px) {
	:root { --header-h: 76px; }
	.site-header__brand img, .custom-logo { height: 52px; }
	.card-grid--4, .work-grid, .post-grid, .team-grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero { min-height: 88vh; }
}
