/*
Theme Name: Trademark Print
Theme URI: http://localhost/tmp
Author: Raymund Hermoso
Description: Custom marketing theme for Trademark Print, implemented from the Figma homepage design. Navy brand palette, Raleway/Avenir type, full landing-page front page.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clean
Tags: custom-menu, featured-images, one-column, landing-page
*/

/* ============================================================
   Design tokens (from Figma: Trademark Print - Homepage)
============================================================ */
:root {
	--navy: #002a41;
	--navy-deep: #012030;
	--ink: #232729;
	--ink-2: #363636;
	--white: #ffffff;
	--paper: #f9f8f9;
	--line: #e6e6e6;
	--muted: #6b7280;
	--green-1: #77e870;
	--green-2: #05714d;

	--sans: "Nunito Sans", "Avenir Next", "Avenir", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--display: "Raleway", var(--sans);

	--container: 1440px;
	--radius: 14px;
	--rainbow: linear-gradient(90deg,#ff4d4d,#ff9a3d,#ffe14d,#77e870,#3db6ff,#8b5cf6,#ff4d9d);
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; }

.tp-section h2 {font-size:70px!important;}

.tp-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--navy); color:#fff; padding:.6em 1em; z-index: 100; border-radius: 6px; }

/* Section framing */
.tp-section { padding-block: 92px; }
.tp-eyebrow { font-family: var(--display); font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
	font-size: clamp(1.8rem, 4vw, 3.4rem); color: var(--navy); text-align: center; margin: 0; }
.tp-subtle { text-align: center; letter-spacing: .18em; text-transform: uppercase; font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.tp-rainbow-bar { height: 6px; width: 96px; border-radius: 6px; background: var(--rainbow); }

/* Buttons */
.tp-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--white); color: var(--navy);
	font-family: var(--sans); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
	padding: .85rem 1.8rem; border-radius: 9px; border: 0; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.tp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.tp-btn--navy { background: var(--navy); color: #fff; }
.tp-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }

/* ============================================================
   Header
============================================================ */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 60; }
.site-header .tp-container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 78px; }
.tp-logo { position: relative; display: inline-flex; align-items: center; }
.tp-logo img { height: 40px; width: auto; }
.tp-logo .tp-logo-text { color:#fff; font-family: var(--display); font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; }
.tp-logo .tp-logo-text small { display:block; font-size:.5em; letter-spacing:.5em; font-weight:600; opacity:.85; }

.tp-nav ul { list-style: none; display: flex; align-items: center; gap: 2.4rem; margin: 0; padding: 0; }
.tp-nav a { color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tp-nav a:hover, .tp-nav .current-menu-item > a { color: #fff; }
.tp-phone { display: inline-flex; align-items: center; gap: .5rem; color:#fff; font-weight: 800;
	border: 1.5px solid rgba(255,255,255,.4); border-radius: 8px; padding: .55rem 1.15rem; font-size: .9rem; }
.tp-phone:hover { background: rgba(255,255,255,.1); }
.tp-nav-toggle { display:none; background:none;border:1px solid rgba(255,255,255,.4);border-radius:8px;color:#fff;padding:.5rem .7rem;cursor:pointer; }
.tp-nav-wrap {
	display: flex; align-items: center; gap: 40px; position: relative;
}

/* ============================================================
   Hero
============================================================ */
.tp-hero { background: var(--white); color: var(--ink); position: relative;}
.tp-hero .tp-container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start;
	padding-top: 76px; padding-bottom: 320px; position: relative; z-index: 2; }
.tp-hero-text { position: relative; z-index: 3; }
.tp-hero h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
	font-size: 40px; line-height: 48px; letter-spacing: 0; color: var(--navy);  }
.tp-hero .tp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem;
	font-size: 24px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.tp-hero .tp-tags span::after { content: "•"; margin-left: 1.1rem; color: var(--muted); }
.tp-hero .tp-tags span:last-child::after { content: ""; }
.tp-hero p.lead { margin-top: 1.4rem; font-size: 1rem; color: var(--ink-2); max-width: 46ch; }
.tp-hero p.lead strong { color: var(--navy); font-weight: 800; }
.tp-hero .tp-btn { margin-top: 2rem; background: var(--navy); color: #fff; }
.tp-hero p{font-size: 20px; line-height: 24px;}

/* Slideshow */
.tp-hero-shot { position: relative; z-index: 2; }
.tp-slider { position: relative; }
.tp-slides { position: relative; border-radius: 16px; overflow: hidden;
	box-shadow: 0 30px 70px rgba(0,0,0,.28); aspect-ratio: 729 / 492; background: var(--paper); }
/* Translucent frame around the hero slider image */
.tp-hero-shot .tp-slides { border: 20px solid rgba(255,255,255,.35); background: unset; }
.tp-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity .6s ease; }
.tp-slide.is-active { opacity: 1; }
.tp-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 4;
	display: flex; gap: .5rem; justify-content: center; margin: 0; }
.tp-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	background: rgba(255,255,255,.75); box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: all .2s ease; }
.tp-dot.is-active { background: var(--navy); width: 24px; border-radius: 5px; }
.tp-hero-orb { position: absolute; right: -26px; bottom: -65px; width: 78px; height: 78px; z-index: -1;
	background: url('assets/img/hero-orb.png') center / contain no-repeat; }

/* Rainbow wave band + accent dot */
.tp-hero-wave { position: absolute; left: 0; right: 0; bottom: -190px; width: 100%; pointer-events: none; z-index: 1; }
.tp-hero-wave img { width: 100%; }
.tp-hero-dot { position: absolute; left: 12%; bottom: 40px; width: 30px; height: 30px; z-index: 2;
	background: url('assets/img/blue-green.png') center / contain no-repeat; }

/* ============================================================
   Who We Are
============================================================ */
.tp-who .tp-heading p {color: #000; font-size: 20px; line-height: 24px;}
#who {padding-top:0;}
.tp-who .tp-heading { text-align: center; margin-bottom: 3rem; }

/* Full-bleed van photo anchored to the right viewport edge */
.tp-who-stage { position: relative; }
.tp-who-photo { width: 66%; margin-left: auto; }
.tp-who-photo img { width: 100%; display: block; }

/* Card floats over the photo, aligned to the centered container's left column */
.tp-who-cardwrap { position: absolute; inset: 0; z-index: 2; }
.tp-who-cardwrap .tp-container {position: relative; height: 100%; display: flex; align-items: center; }
.tp-who-card { position: relative; width: 65%; min-width: 360px;
	background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,.55); box-shadow: 0 26px 60px rgba(0,0,0,.14);
	padding: 2.6rem 2.8rem; }
.tp-who-card p { color: var(--ink-2); font-size: 16px; }
.tp-who-card p.lead { color: var(--navy); font-weight: 800; font-size: 1rem; }
.tp-who-card p:last-of-type { margin-bottom: 0; }
.tp-who-rule { display: block; width: 108px; height: 5px; background: var(--navy); margin-top: 1.5rem; }
.tp-blob { position: absolute; left: -29px; bottom: 75px; width: 140px; height: 140px; z-index: -3;
	background: url('assets/img/who-circle.png') center / contain no-repeat;
	filter: drop-shadow(0 14px 26px rgba(44,125,18,.28)); }

/* ============================================================
   Services
============================================================ */
.tp-services .tp-heading { text-align:center; margin-bottom: 3.5rem; }
.tp-service-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 65vh; }
.tp-service-copy { background: var(--navy); color:#fff; padding: 3rem 3.4rem; display:flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
/* flowing wave graphic (per-box: --corner image, --corner-pos placement, --corner-size, --corner-blend, --corner-op) */
.tp-service-copy::after { content:""; position:absolute; inset:0;
	background: var(--corner, url('assets/img/wave-hero.png')) var(--corner-pos, right bottom) / var(--corner-size, 100%) no-repeat;
	mix-blend-mode: var(--corner-blend, normal); opacity: var(--corner-op, .5); pointer-events: none; }
.tp-service-copy h3 { text-transform: uppercase; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.2; max-width: 65%; position: relative; z-index: 1; }
.tp-service-rule { display: block; width: 84px; height: 4px; background: #fff; margin: 1.2rem 0; position: relative; z-index: 1; }
.tp-service-copy p { color: rgba(255,255,255,.8); max-width: 42ch; position: relative; z-index: 1; }
/* Service photo cell = full-bleed slideshow */
.tp-service-photo { position: relative; min-height: 50vh; overflow: hidden; }
.tp-service-photo .tp-slider { position: absolute; inset: 0; }
.tp-service-photo .tp-slides { position: absolute; inset: 0; height: 100%;
	border-radius: 0; box-shadow: none; aspect-ratio: auto; background: none; }
.tp-service-photo .tp-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-service-photo .tp-dots { left: 0; right: 0; bottom: 22px; justify-content: center; }

/* ============================================================
   Catalogues
============================================================ */
.tp-cats .tp-heading { margin-bottom: 3rem; }
.tp-cats .tp-heading h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.6rem,3.5vw,2.6rem); color: var(--navy); }
.tp-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tp-cat-card { background: #fff; border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; }
.tp-cat-card .tp-cat-label { position:absolute; top:1.5rem; left:1.8rem; z-index:2;
	color: var(--navy); font-weight:400; font-size:40px; text-transform:uppercase; }
.tp-cat-card .tp-cat-label::after { content:""; display:block; width:70px; height:6px; background: var(--navy); margin-top:.55rem; }
.tp-cat-card .tp-cat-img { aspect-ratio: 705 / 460; background-size: cover; background-position: center; transition: transform .5s ease; }
/* Hover: navy overlay fades in, label centers into a bordered box */
.tp-cat-card { cursor: pointer; }
.tp-cat-card::after { content: ""; position: absolute; inset: 0; z-index: 3;
	background: rgba(0,42,65,.6); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.tp-cat-card:hover::after { opacity: 1; }
.tp-cat-card:hover .tp-cat-img { transform: scale(1.05); }
.tp-cat-card .tp-cat-label { border: 1.5px solid transparent;
	transition: top .35s ease, left .35s ease, transform .35s ease, color .35s ease, border-color .35s ease, padding .35s ease; }
.tp-cat-card:hover .tp-cat-label { top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 4;
	color: #fff; border-color: rgba(255,255,255,.75); padding: .75rem 1.9rem; }
.tp-cat-card:hover .tp-cat-label::after { display: none; }

/* ============================================================
   Stat / highlight banner
============================================================ */
.tp-statban { background: var(--navy); color: #fff; overflow: hidden; }
.tp-statban-inner { display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 3rem; padding-block: 20px; }
.tp-statban-ico { display: inline-flex; color: rgba(255,255,255,.9); margin-bottom: 1.4rem; }
.tp-statban-ico svg { width: 40px; height: 40px; }
.tp-statban-text h2 { font-family: var(--display); font-size: 40px; font-weight: 400; text-transform: uppercase;
	letter-spacing: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; }
.tp-statban-text p { color: #fff; margin-top: .9rem; font-size: 20px; }
.tp-statban-map { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.tp-statban-map img { width: 100%; display: block; margin-left: auto; opacity: .5; }
.tp-statban-map-label { position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%);
	text-align: center; letter-spacing: .28em; text-transform: uppercase; font-size: .8rem;
	color: #fff; white-space: nowrap; }
.tp-statban-map-label::after { content: ""; display: block; width: 60px; height: 1px;
	background: #fff; margin: .7rem auto 0; }

/* ============================================================
   Why choose us
============================================================ */
.tp-why { padding-bottom: 100px; }
.tp-why .tp-heading { text-align: left; margin-bottom: 3.5rem; }
.tp-why .tp-eyebrow { text-align: left; }
.tp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 4rem; align-items: start; }
.tp-why-head { grid-column: span 2; }
.tp-why-head .tp-eyebrow { text-align: left; letter-spacing: 0;}
.tp-feature { border-left: 5px solid var(--navy); padding-left: 1.5rem; }
.tp-feature .ico { display: block; color: var(--navy); margin-bottom: 1rem; }
.tp-feature .ico svg { width: 30px; height: 30px; }
.tp-feature p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.tp-feature p strong { color: var(--ink); font-weight: 800; }


#img-wave {
	position: relative; z-index: -1;
	top: 888px;
}
#img-wave img {
	width: 100%; position: absolute; left: 0; bottom: 0; z-index: -1;
}
/* ============================================================
   FAQ
============================================================ */
.tp-faq { position: relative; overflow: hidden; padding-bottom: 100px;}
.tp-faq .tp-container { display: block; }
.tp-faq h2 { width: 60%; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(2rem,4vw,3.2rem); color: var(--navy); margin-bottom: 2.5rem; }
/* accordion sits in a subtle panel */
.tp-accordion { display: flex; flex-direction: column; width: 60%; margin-left: auto;
	background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: var(--radius);
	padding: .4rem 2.4rem; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.tp-accordion .tp-acc-item:last-child { border-bottom: 0; }
.tp-acc-item { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; position: relative; }
/* short navy accent under the open item */
.tp-acc-item.open::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 2px; background: var(--navy); }
.tp-acc-q { width:100%; text-align:left; background:none; border:0; cursor:pointer;
	display:flex; align-items:center; justify-content:space-between; gap:1rem;
	padding: 1.2rem 0 1rem; font-family: var(--sans); font-weight: 800; font-size: 24px; color: var(--navy); }
/* +/- toggle drawn with pseudo-elements */
.tp-acc-q .tp-acc-ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.tp-acc-q .tp-acc-ico::before,
.tp-acc-q .tp-acc-ico::after { content: ""; position: absolute; background: var(--navy); transition: opacity .2s ease; }
.tp-acc-q .tp-acc-ico::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.tp-acc-q .tp-acc-ico::after { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); }
.tp-acc-item.open .tp-acc-ico::after { opacity: 0; }   /* minus when open */
.tp-acc-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.tp-acc-item.open .tp-acc-a { max-height: 240px; }
.tp-acc-a p { margin: 0; padding: 0 0 1.3rem; color: var(--muted); font-size: 16px; }

/* ============================================================
   Testimonials
============================================================ */
.tp-testi .tp-heading { text-align:center; margin-bottom: 3.5rem; }
.tp-testi-slider { position: relative; }
.tp-testi-track { display: flex; gap: 1.8rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px; margin: -6px; scrollbar-width: none; -ms-overflow-style: none; }
.tp-testi-track::-webkit-scrollbar { display: none; }
.tp-testi-card { flex: 0 0 calc((100% - 3.6rem) / 3); scroll-snap-align: start; margin: 0;
	background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: 4px;
	box-shadow: 0 10px 28px rgba(0,0,0,.06); padding: 2.2rem 2rem; display: flex; flex-direction: column; }
.tp-testi-card .quote { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.tp-testi-card .who { margin-top: auto; padding-top: 1.6rem; }
.tp-testi-card .who .name { font-weight: 800; color: var(--ink); font-size: 14px; }
.tp-testi-card .who .role { font-size: 13px; color: var(--muted); }
.tp-testi-logo { margin-top: 1.6rem; }
.tp-testi-logo img { height: 26px; width: auto; }
/* pagination dots */
.tp-testi-dots { display: flex; justify-content: center; gap: 7px; margin-top: 2.5rem; }
.tp-testi-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
	background: var(--line); cursor: pointer; transition: all .2s ease; }
.tp-testi-dots button.is-active { width: 22px; border-radius: 5px; background: var(--navy); }
@media (max-width: 900px) { .tp-testi-card { flex: 0 0 78%; } .tp-slider {  width:  100%; height: 100%; }}
@media (max-width: 640px) { .tp-testi-card { flex: 0 0 100%; } }

/* ============================================================
   CTA banner
============================================================ */
/* CTA: full-bleed image right, white card floating over its left */
.tp-cta { border-bottom: 1px solid var(--navy); }
.tp-cta-stage { position: relative; }
.tp-cta-photo { width: 68%; margin-left: auto; }
.tp-cta-photo img { width: 100%; display: block; }
.tp-cta-cardwrap { position: absolute; inset: 0; z-index: 2; }
.tp-cta-cardwrap .tp-container { height: 100%; display: flex; align-items: center; }
.tp-cta-card { width: 46%; min-width: 360px; background: rgba(255, 255, 255, .72);
	box-shadow: 0 26px 60px rgba(0,0,0,.14); padding: 3rem 3.2rem; }
.tp-cta-card h2 { font-family: var(--sans); font-weight: 900; color: var(--ink);
	font-size: 36px; line-height: 1.25; margin-bottom: 1.1rem; }
.tp-cta-card p { color: var(--muted); font-size: 16px; margin: 0; }
.tp-cta-rule { display: block; width: 108px; height: 5px; background: var(--navy); margin-top: 1.6rem; }

/* ============================================================
   Footer / Get in touch
============================================================ */
.site-footer { background: #fff; }
/* navy "Get in touch" block */
.tp-footer-hero { background: var(--navy); color:#fff; position: relative; overflow: hidden; }
.tp-footer-top { padding-block: 80px; display:grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; position: relative; z-index: 2; }
.tp-footer-top h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing:.04em; font-size: clamp(1.8rem,3.5vw,2.6rem); }
.tp-footer-top .sub { color: rgba(255,255,255,.7); margin-top: .4rem; margin-bottom: 2rem; font-size: .9rem; }

/* white-boxed fields with label inside */
.tp-form { display:grid; grid-template-columns: 1fr; gap: 1rem; max-width: 520px; }
.tp-form .full { grid-column: 1 / -1; }
.tp-field { background: #fff; border-radius: 2px; padding: .5rem .8rem; }
.tp-field label { display:block; font-size: .68rem; color: #9a9a9a; margin-bottom: .1rem; }
.tp-field label::first-letter { text-transform: none; }
.tp-field input, .tp-field textarea { width:100%; border:0; outline:none; background:transparent;
	color: var(--ink); font: inherit; font-size: .9rem; padding: 0; resize: vertical; }
.tp-field textarea { min-height: 84px; }
.tp-field input::placeholder, .tp-field textarea::placeholder { color: #9a9a9a; opacity: 1; }
.tp-form .tp-btn--outline { background: transparent; border: 1px solid rgba(255,255,255,.5); color:#fff;
	letter-spacing: .12em; border-radius: 2px; width: 100%; justify-content: center; }
.tp-form .tp-btn--outline:hover { background: rgba(255,255,255,.08); }
/* Contact Form 7 integration: keep CF7's own wrappers from breaking the grid. */
.tp-form .hidden-fields-container { display: none; }
.tp-form .wpcf7-form-control-wrap { display: block; }
.tp-form .wpcf7-not-valid-tip { font-size: .68rem; margin-top: .2rem; }
.tp-form .wpcf7-spinner { margin: 0 0 0 .5rem; }

.tp-contact { display:flex; flex-direction: column; gap: 2rem; align-self: center;}
.tp-contact .row { display:flex; gap: 1rem; align-items:flex-start; }
.tp-contact .ico { flex:0 0 auto; margin-top: 2px; }
.tp-contact .k { font-family: var(--sans); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.tp-contact .v { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: .2rem; }
.tp-footer-wave { position:absolute; right: 0; bottom: -120px; width: 44%; max-width: 560px; z-index: 1; pointer-events: none; }

/* white bottom bar */
.tp-footer-bar { background: #fff; }
.tp-footer-bar .tp-container { display:flex; align-items:center; gap: 1.4rem;
	flex-wrap: wrap; padding-block: 1.6rem; }
.tp-footer-bar__logo { height: 38px; width: auto; margin-right: auto; filter: brightness(0) saturate(100%) invert(11%) sepia(38%) saturate(2000%) hue-rotate(170deg) brightness(95%); }
.tp-footer-bar__right { display:flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
.tp-footer-bar .social { display:flex; gap: 1rem; color: var(--navy); }
.tp-footer-bar .social a { color: var(--navy); display:grid; place-items:center; }
.tp-footer-bar .social a:hover { opacity: .65; }
.tp-footer-bar .copy { color: var(--muted); font-size: .82rem; }

/* ============================================================
   Generic pages (blog/single) inheriting header/footer
============================================================ */
.tp-page { max-width: 760px; margin-inline: auto; padding: 64px 32px; }
.tp-page .entry-title { font-family: var(--display); color: var(--navy); margin-bottom: 1rem; }
.tp-page a { color: var(--green-2); text-decoration: underline; }
.pagination { display:flex; gap:.5rem; margin-top:2rem; }
.pagination .page-numbers { padding:.4rem .7rem; border:1px solid var(--line); border-radius:6px; }
.pagination .current { background: var(--navy); color:#fff; border-color: var(--navy); }

.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 960px) {
	.tp-hero .tp-container,
	.tp-cat-grid,
	.tp-faq .tp-container,
	.tp-footer-top { grid-template-columns: 1fr; }
	/* CTA stacks: photo on top, white card below */
	.tp-cta-photo { width: 100%; }
	.tp-cta-cardwrap { position: static; }
	.tp-cta-cardwrap .tp-container { display: block; }
	.tp-cta-card { width: 100%; min-width: 0; margin-top: -48px; }
	.tp-hero .tp-container { padding-bottom: 40px; }
	/* Wave flows in-line on mobile so it never overlaps the "Who We Are" heading. */
	.tp-hero-wave { position: static; }
	#who { padding-top: 40px; }
	/* Who We Are stacks: photo on top, card below */

	.tp-who-photo { width: 100%; }
	.tp-who-cardwrap { position: static; }
	.tp-who-cardwrap .tp-container { display: block; }
	.tp-who-card { width: 100%; min-width: 0; margin-top: -48px;
		background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.12); }
	.tp-blob { left: auto; right: 20px; bottom: -30px; width: 84px; height: 84px; }
	.tp-service-row { grid-template-columns: 1fr; }
	.tp-service-row .tp-service-photo { min-height: 240px; order: 2; }
	.tp-service-row.reverse .tp-service-copy { order: 1; }
	.tp-why-grid { grid-template-columns: 1fr 1fr; }
	/* FAQ: full-width heading + accordion; drop the desktop-positioned wave. */
	.tp-faq h2 { width: 100%; }
	.tp-accordion { width: 100%; }
	#img-wave { display: none; }
	/* Stat banner stacks: text on top, map below */
	.tp-statban-inner { grid-template-columns: 1fr; gap: 2rem; }
	.tp-statban-map { justify-self: center; max-width: 340px; }
}
@media (max-width: 1520px) {
	.tp-hero-wave {bottom: -120px;}
}
@media (max-width: 640px) {
	.tp-nav, .tp-phone { display: none; }
	.tp-nav-toggle { display: block; margin-left: auto; }
	/* Let the dropdown span the full-width sticky header, not the tiny nav-wrap. */
	.tp-nav-wrap { position: static; }
	.tp-nav.is-open { display:block; position:absolute; top:78px; left:0; right:0; background:var(--navy); padding:1rem 32px; box-shadow: 0 14px 30px rgba(0,0,0,.25); z-index: 59; }
	.tp-nav.is-open ul { flex-direction: column; align-items: flex-start; gap:1rem; }
	.tp-nav.is-open a { display: block; padding: .35rem 0; }
	.tp-section { padding-block: 60px; }
	.tp-why-grid { grid-template-columns: 1fr; }
	.tp-form { grid-template-columns: 1fr; }
	.tp-container { padding-inline: 20px; }
	/* Bottom footer bar: stack logo, then social + copyright, all centered. */
	.tp-footer-bar .tp-container { flex-direction: column; text-align: center; gap: 1.1rem; }
	.tp-footer-bar__logo { margin-right: 0; }
	.tp-footer-bar__right { align-items: center; }
}
