/* ============================================================
   Web Wise Media 2026 — main stylesheet
   ============================================================
   Sections:
     1. Tokens (CSS variables)
     2. @font-face (Brandon Grotesque, self-hosted)
     3. Base reset + typography defaults
     4. Layout primitives (container, prose, sections)
     5. Components: buttons, links, tags, forms, tables, notices, cards
     6. Site chrome: nav, dropdown, mobile menu, footer
     7. Page templates: hero, services, work, testimonials, about, blog, CTA
     8. Inner templates: page, post, archive, search, 404
     9. Responsive (≤980px and ≤560px breakpoints)
   ============================================================ */

/* ============ 1. TOKENS ============ */
:root {
	--brand:        #22afc3;
	--brand-dark:   #1a8a99;
	--brand-soft:   #e8f7fa;

	--ink:          #0f1720;
	--ink-2:        #2c3a47;
	--muted:        #6b7785;

	--bg:           #ffffff;
	--bg-2:         #f7f9fa;
	--line:         #e6ebf0;

	--success:      #2c8c5b;
	--warning:      #b67500;
	--error:        #b03434;

	--tag-build:    #22afc3;
	--tag-grow:     #f08a3c;
	--tag-run:      #5a8a78;
	--tag-advise:   #2d3e6e;

	--font-display: 'Brandon Grotesque', 'Open Sans', system-ui, sans-serif;
	--font-body:    'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--fs-h1: 56px;
	--fs-h2: 42px;
	--fs-h3: 28px;
	--fs-h4: 22px;
	--fs-h5: 18px;
	--fs-h6: 13px;
	--fs-body: 16.5px;
	--fs-lede: 19px;
	--fs-small: 14px;

	--radius-sm: 8px;
	--radius:    14px;
	--radius-lg: 18px;
	--radius-pill: 999px;

	--shadow-sm: 0 2px 6px rgba(15,23,32,.06);
	--shadow:    0 8px 24px rgba(15,23,32,.08);

	--maxw: 1180px;
	--maxw-prose: 760px;
}

/* ============ 2. @FONT-FACE — Brandon Grotesque ============ */
@font-face {
	font-family: 'Brandon Grotesque';
	src: url('../fonts/BrandonGrotesque-Regular.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Brandon Grotesque';
	src: url('../fonts/BrandonGrotesque-Medium.woff2') format('woff2');
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Brandon Grotesque';
	src: url('../fonts/BrandonGrotesque-Bold.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;
}

/* ============ 3. BASE RESET + TYPE DEFAULTS ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	font-size: var(--fs-body);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--ink);
	margin: 0 0 .5em;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); line-height: 1.25; }
h5 { font-size: var(--fs-h5); line-height: 1.35; }
h6 {
	font-size: var(--fs-h6);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--brand-dark);
	line-height: 1.4;
}

p { margin: 0 0 1em; }
.lede { font-size: var(--fs-lede); color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.small, small { font-size: var(--fs-small); color: var(--muted); }

a {
	color: var(--brand-dark);
	text-decoration: none;
	transition: color .15s ease;
}
a:hover { color: var(--ink); }

strong, b { font-weight: 700; color: var(--ink); }
em, i { font-style: italic; }
mark { background: rgba(34,175,195,.25); color: var(--ink); padding: 0 .15em; border-radius: 3px; }
abbr[title] { text-decoration: underline dotted; cursor: help; }

code, kbd, samp {
	font-family: var(--font-mono);
	font-size: 0.9em;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 1px 6px;
}
kbd { box-shadow: 0 1px 0 rgba(0,0,0,.08); }
pre {
	font-family: var(--font-mono);
	font-size: 14px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 16px 18px;
	overflow-x: auto;
	margin: 0 0 1em;
	line-height: 1.5;
}
pre code { background: transparent; border: 0; padding: 0; }

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 32px 0;
}

ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
li { margin-bottom: .35em; }
ul ul, ol ol, ul ol, ol ul { margin: .35em 0 .35em; }

dl { margin: 0 0 1em; }
dl dt { font-weight: 700; margin-top: 12px; }
dl dd { margin: 0 0 .5em; color: var(--ink-2); }

blockquote {
	margin: 24px 0;
	border-left: 3px solid var(--brand);
	padding: 4px 0 4px 22px;
	font-size: 18px;
	color: var(--ink);
}
blockquote p:last-child { margin-bottom: 0; }
blockquote cite {
	display: block;
	font-style: normal;
	font-size: var(--fs-small);
	color: var(--muted);
	margin-top: 10px;
}

/* ============ 4. LAYOUT PRIMITIVES ============ */
.container       { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-wide  { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head .num {
	font-family: var(--font-display);
	font-size: 14px; letter-spacing: 0.16em;
	color: var(--brand-dark);
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 14px;
}
.section-head h2 {
	font-size: 46px; line-height: 1.06;
	font-weight: 700; letter-spacing: -0.01em;
	margin: 0 0 14px;
}
.section-head .kicker { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 0; line-height: 1.55; }

.eyebrow {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand-dark);
	display: inline-block;
}

/* Skip link (a11y) */
.skip-link {
	position: absolute; left: -9999px;
	top: 0; padding: 8px 14px; background: var(--brand); color: #fff;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; z-index: 999; }

.visually-hidden {
	position: absolute !important;
	clip: rect(1px,1px,1px,1px); width: 1px; height: 1px;
	overflow: hidden; padding: 0; border: 0;
}

/* ============ 5. COMPONENTS ============ */

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-display);
	background: var(--brand);
	color: #fff;
	padding: 12px 24px;
	border-radius: var(--radius-pill);
	border: 0;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
}
.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: 3px solid rgba(34,175,195,.4); outline-offset: 2px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.lg { padding: 16px 30px; font-size: 16px; }
.btn.outline {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--ink);
}
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: var(--brand-soft); color: var(--brand-dark); }
.btn.ghost:hover { background: var(--brand); color: #fff; }
.btn.on-dark { background: #fff; color: var(--brand-dark); }
.btn.on-dark:hover { background: var(--ink); color: #fff; }

/* Arrow-style link */
.link-arrow {
	font-family: var(--font-display);
	font-weight: 700; font-size: 14px;
	letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--brand-dark);
	display: inline-flex; align-items: center; gap: 6px;
	transition: gap .15s ease, color .15s ease;
}
.link-arrow:hover { color: var(--ink); gap: 12px; text-decoration: none; }

/* Tags */
.tag {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: var(--radius-pill);
	color: #fff;
	background: var(--ink-2);
}
.tag.build  { background: var(--tag-build); }
.tag.grow   { background: var(--tag-grow); }
.tag.run    { background: var(--tag-run); }
.tag.advise { background: var(--tag-advise); }
.tag.outline {
	background: transparent;
	color: var(--ink-2);
	border: 1px solid var(--line);
}

/* Forms — raw HTML and Gravity Forms */
label, .label,
.gform_wrapper .gfield_label {
	display: block; font-weight: 600;
	font-size: var(--fs-small); color: var(--ink);
	margin-bottom: 6px;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="password"], input[type="date"],
textarea, select,
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"], .gform_wrapper input[type="url"],
.gform_wrapper textarea, .gform_wrapper select {
	width: 100%;
	font-family: var(--font-body); font-size: 16px;
	color: var(--ink); background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
	outline: 0;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(34,175,195,.18);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input[type="checkbox"], input[type="radio"] {
	width: 18px; height: 18px;
	accent-color: var(--brand); vertical-align: middle;
	margin-right: 8px;
}
.gform_wrapper .gform_button { /* picks up .btn styles via class on submit, or just default cyan */
	background: var(--brand) !important; color: #fff !important;
	border: 0 !important;
	border-radius: var(--radius-pill) !important;
	padding: 14px 28px !important;
	font-family: var(--font-display) !important;
	font-weight: 700 !important; font-size: 15px !important;
	letter-spacing: 0.02em !important; text-transform: uppercase !important;
	cursor: pointer; transition: background .15s ease;
}
.gform_wrapper .gform_button:hover { background: var(--brand-dark) !important; }

/* Tables */
table {
	width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 1em;
}
th, td {
	text-align: left; padding: 12px 14px;
	border-bottom: 1px solid var(--line); vertical-align: top;
}
th {
	font-family: var(--font-display);
	font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--ink-2); background: var(--bg-2);
}
tbody tr:hover { background: rgba(34,175,195,.04); }

/* Notices */
.notice {
	border: 1px solid var(--line); border-left-width: 4px;
	border-radius: var(--radius-sm);
	padding: 12px 16px; margin: 0 0 16px;
	font-size: 15px; background: #fff;
}
.notice.info    { border-left-color: var(--brand);   background: var(--brand-soft); }
.notice.success { border-left-color: var(--success); background: #eaf6ef; }
.notice.warning { border-left-color: var(--warning); background: #fbf3e1; }
.notice.error   { border-left-color: var(--error);   background: #fbeaea; }

/* Figure */
figure { margin: 28px 0; }
figure img { width: 100%; border-radius: var(--radius); }
figcaption {
	font-size: var(--fs-small); color: var(--muted);
	margin-top: 10px; text-align: center;
}

/* ============ 6. SITE CHROME ============ */

/* Nav */
nav.top {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
nav.top .inner {
	max-width: var(--maxw); margin: 0 auto;
	padding: 14px 28px;
	display: flex; align-items: center; justify-content: space-between;
}
nav.top .brand img { height: 46px; width: auto; }
nav.top .nav-right { display: flex; align-items: center; gap: 28px; position: relative; }

/* Cover both raw <a> children AND wp_nav_menu's <li><a> structure.
   Exclude .btn so the button keeps its own colour/hover treatment from the
   .btn rules — otherwise its hover text colour gets dragged to brand-dark
   and disappears against the brand-dark hover background. */
nav.top .nav-right > a:not(.btn),
nav.top .nav-right .has-dropdown > a,
nav.top .nav-right > li > a,
nav.top .nav-right ul > li > a {
	color: var(--ink-2); font-weight: 500; font-size: 15px;
	letter-spacing: 0.03em;
	display: inline-flex; align-items: center; gap: 4px;
	text-decoration: none;
}
nav.top .nav-right > a:not(.btn):hover,
nav.top .nav-right .has-dropdown > a:hover,
nav.top .nav-right > li > a:hover,
nav.top .nav-right ul > li > a:hover { color: var(--brand-dark); }
nav.top .nav-right > a.btn { gap: 0; }

/* Strip WordPress menu list styling so items sit inline like raw anchors */
nav.top .nav-right ul,
nav.top .nav-right li {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav.top .nav-right ul {
	display: flex;
	align-items: center;
	gap: 28px;
}
nav.top .nav-right > li {
	display: inline-flex;
	align-items: center;
}

/* Services dropdown */
.has-dropdown { position: static; }
.has-dropdown > a { cursor: pointer; user-select: none; }
.has-dropdown > a .caret { font-size: 10px; transition: transform .2s ease; }
.has-dropdown.open > a .caret { transform: rotate(180deg); }
.has-dropdown.open > a { color: var(--brand-dark); }
.has-dropdown .dropdown {
	position: absolute;
	top: 100%; right: 0;
	padding-top: 14px;
	width: min(760px, calc(100vw - 40px));
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
	pointer-events: none;
	z-index: 60;
}
.has-dropdown.open .dropdown {
	opacity: 1; visibility: visible;
	transform: translateY(0);
	transition: opacity .15s ease, transform .15s ease;
	pointer-events: auto;
}
.dropdown-panel {
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: 0 12px 36px rgba(15,23,32,.10);
	padding: 22px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.dropdown-col h5 {
	font-family: var(--font-display);
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	font-weight: 700; color: #fff;
	display: inline-block;
	padding: 4px 10px; border-radius: var(--radius-pill);
	margin: 0 0 12px;
}
.dropdown-col h5.build  { background: var(--tag-build); }
.dropdown-col h5.grow   { background: var(--tag-grow); }
.dropdown-col h5.run    { background: var(--tag-run); }
.dropdown-col h5.advise { background: var(--tag-advise); }
.dropdown-col a {
	display: block; padding: 8px 10px; margin: 0 -10px;
	border-radius: 8px;
	color: var(--ink); font-weight: 600; font-size: 14.5px;
	line-height: 1.3;
	transition: background .12s ease, color .12s ease;
}
.dropdown-col a span {
	display: block; color: var(--muted);
	font-size: 12.5px; font-weight: 400; margin-top: 2px;
}
.dropdown-col a:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* Mobile menu hamburger button */
nav.top .menu-toggle {
	display: none; background: transparent; border: 0;
	padding: 8px; cursor: pointer;
	width: 44px; height: 44px;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
nav.top .menu-toggle span {
	display: block; width: 24px; height: 2px;
	background: var(--ink); border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

/* Mobile menu — full-screen */
.mobile-menu {
	position: fixed; inset: 0;
	background: #fff;
	z-index: 200;
	opacity: 0; visibility: hidden;
	transform: translateY(-12px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
	opacity: 1; visibility: visible; transform: translateY(0);
	transition: opacity .2s ease, transform .2s ease;
}
body.menu-open { overflow: hidden; }

.mobile-menu-inner { max-width: 560px; margin: 0 auto; padding: 22px 28px 60px; }
.mobile-menu-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 4px 0 28px;
	border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.mobile-menu-head img { height: 42px; width: auto; display: block; }
.mobile-menu-brand { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.mobile-menu .close {
	background: transparent; border: 0;
	font-size: 32px; line-height: 1; color: var(--ink);
	cursor: pointer; padding: 8px 12px;
	font-family: var(--font-display); font-weight: 400;
}
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav ul, .mobile-nav li { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav > a,
.mobile-nav > .m-services > .m-services-trigger,
.mobile-nav > li > a,
.mobile-nav ul > li > a {
	font-family: var(--font-display);
	font-weight: 700; font-size: 26px;
	color: var(--ink);
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	display: flex; align-items: center; justify-content: space-between;
	background: transparent; border-left: 0; border-right: 0; border-top: 0;
	width: 100%; text-align: left; cursor: pointer;
	letter-spacing: -0.005em;
}
.mobile-nav > a:hover,
.mobile-nav > .m-services > .m-services-trigger:hover,
.mobile-nav > li > a:hover,
.mobile-nav ul > li > a:hover { color: var(--brand-dark); }
.mobile-nav .m-services-trigger .caret { font-size: 14px; transition: transform .2s ease; }
.mobile-nav .m-services.open .m-services-trigger .caret { transform: rotate(180deg); }
.mobile-nav .m-services-list {
	max-height: 0; overflow: hidden; transition: max-height .25s ease;
}
.mobile-nav .m-services.open .m-services-list { max-height: 800px; }
.mobile-nav .m-services-list a {
	display: block; padding: 12px 0 12px 14px;
	font-size: 17px; color: var(--ink-2);
	border-left: 2px solid var(--brand-soft);
	margin-left: 4px;
}
.mobile-nav .m-services-list a:hover {
	color: var(--brand-dark); border-left-color: var(--brand);
}
.mobile-nav .m-services-list a:last-child { padding-bottom: 18px; }
.mobile-nav > a.btn {
	margin-top: 22px; justify-content: center;
	border: 0; font-size: 16px; padding: 16px 24px;
}

/* Footer */
.site-footer {
	background: var(--ink); color: #c8d2dc; padding: 60px 0 36px;
}
.site-footer .row {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
	padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer .brand img { height: 40px; }
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .links a { color: #c8d2dc; font-size: 14.5px; }
.site-footer .links a:hover { color: #fff; }
.site-footer .copy {
	padding-top: 24px; color: #8a98a4; font-size: 13.5px;
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}

/* ============ 7. HOMEPAGE TEMPLATES ============ */

/* Hero */
.hero { padding: 80px 0 0; position: relative; overflow: visible; }
.hero-grid {
	display: grid; grid-template-columns: 1.1fr .9fr;
	gap: 40px; align-items: end;
}
.hero h1 {
	font-size: 60px; line-height: 1.02;
	font-weight: 700; letter-spacing: -0.01em;
	margin: 0 0 22px; color: var(--ink);
}
.hero h1 em {
	font-style: normal;
	background: linear-gradient(180deg, transparent 62%, rgba(34,175,195,.30) 62%);
}
.hero .lede { font-size: 18px; max-width: 560px; margin: 0 0 32px; line-height: 1.55; }
.cta-row {
	display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
	padding-bottom: 60px;
}
.hero-text-col { padding-bottom: 0; }
.hero-art {
	position: relative; display: flex; align-items: flex-end; justify-content: center;
	margin-bottom: -80px; z-index: 5; pointer-events: none;
}
.hero-art img.character {
	height: 620px; width: auto; max-width: 100%;
}

/* Trust strip */
.logos {
	padding: 44px 0 38px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.logos .label {
	text-transform: uppercase; font-weight: 700;
	font-family: var(--font-display);
	font-size: 13px; letter-spacing: 0.16em;
	color: var(--muted); margin-bottom: 26px; text-align: center;
}
.logo-row {
	display: grid; grid-template-columns: repeat(6, 1fr);
	gap: 36px; align-items: center;
}
.logo-row img {
	max-height: 44px; width: auto; max-width: 100%; margin: 0 auto;
	filter: grayscale(1); opacity: .6;
	transition: filter .2s ease, opacity .2s ease;
}
.logo-row img.invert {
	filter: grayscale(1) invert(1) brightness(0.55);
	opacity: .8;
}
.logo-row img:hover { filter: grayscale(0); opacity: 1; }
.logo-row img.invert:hover { filter: invert(1) brightness(0); opacity: 1; }

/* Service grid */
.service-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	padding: 26px 26px 24px;
	display: flex; flex-direction: column;
	text-decoration: none; color: inherit;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-card:hover {
	border-color: var(--brand);
	box-shadow: 0 8px 28px rgba(34,175,195,.14);
	transform: translateY(-3px);
}
.service-card .head-row {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 16px;
}
.service-card .icon {
	width: 38px; height: 38px;
	background: var(--brand-soft);
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	color: var(--brand-dark);
}
.service-card .icon svg {
	width: 22px; height: 22px;
	stroke: currentColor; fill: none; stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round;
}
.service-card .icon.brand-logo { background: transparent; width: auto; height: 36px; }
.service-card .icon.brand-logo img { height: 100%; width: auto; }
.service-card h3 {
	font-size: 22px; line-height: 1.22;
	margin: 0 0 10px;
}
.service-card p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 18px; flex: 1; }
.service-card .more {
	font-family: var(--font-display);
	font-weight: 700; font-size: 13px;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--brand-dark);
	display: inline-flex; align-items: center; gap: 6px;
	transition: gap .15s ease;
}
.service-card:hover .more { gap: 12px; }

/* Selected work */
.project-list { display: flex; flex-direction: column; }
.project {
	display: grid; grid-template-columns: 80px 1fr auto;
	gap: 28px; padding: 32px 0;
	border-top: 1px solid var(--line);
	align-items: start;
	color: inherit; text-decoration: none;
	transition: background .15s ease;
}
.project:last-child { border-bottom: 1px solid var(--line); }
.project:hover { background: rgba(34,175,195,.04); }
.project:hover h3 { color: var(--brand-dark); }
.project:hover .arrow { transform: translateX(6px); }
.project .emoji { font-size: 44px; line-height: 1; }
.project .client-logo {
	width: 80px;
	height: 44px;
	display: flex; align-items: flex-start; justify-content: flex-start;
}
.project .client-logo img {
	max-width: 100%; max-height: 100%;
	width: auto; height: auto;
	object-fit: contain; object-position: left center;
	display: block;
}
.project .client-logo.invert img {
	filter: grayscale(1) invert(1) brightness(0.18);
}
.project .meta {
	color: var(--muted); font-size: 13px; margin-bottom: 6px;
	display: flex; gap: 14px;
	text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.project .meta .role { color: var(--brand-dark); }
.project h3 {
	font-size: 26px; margin: 0 0 8px;
	line-height: 1.22; transition: color .15s ease;
}
.project p { color: var(--ink-2); margin: 0 0 12px; max-width: 720px; }
.project .tags { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.project .tags li {
	font-size: 12px; color: var(--ink-2);
	border: 1px solid var(--line); border-radius: var(--radius-pill);
	padding: 4px 11px; background: #fff;
	font-weight: 600;
}
.project .arrow {
	font-size: 26px; color: var(--brand-dark);
	padding-top: 6px; transition: transform .15s ease;
}

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; border-left: 3px solid var(--brand); padding: 4px 0 4px 22px; }
.quote blockquote {
	margin: 0 0 14px; font-size: 17px; line-height: 1.55; color: var(--ink);
	border: 0; padding: 0;
}
.quote .who .name { font-weight: 700; font-size: 16px; }
.quote .who .role { color: var(--muted); font-size: 14px; }

/* About / network */
.about-grid {
	display: grid; grid-template-columns: 1.1fr 1fr;
	gap: 56px; align-items: center;
}
.about-photo {
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: linear-gradient(135deg, var(--brand-soft), #d6eef3);
	aspect-ratio: 1/1.08;
	position: relative;
}
.about-photo img {
	width: 100%; height: 100%;
	object-fit: cover; object-position: center top;
}
.about-photo .badge {
	position: absolute; bottom: 18px; left: 18px;
	background: rgba(255,255,255,.94);
	border-radius: var(--radius-pill);
	padding: 8px 16px;
	font-size: 13px; font-weight: 700; color: var(--ink);
	font-family: var(--font-display); letter-spacing: 0.04em;
}
.about-text h3 { font-size: 30px; line-height: 1.15; margin: 0 0 14px; }
.about-text p { color: var(--ink-2); margin: 0 0 14px; font-size: 17px; }

/* Blog grid (homepage + archives) */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
	color: inherit; display: block;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.post .cover {
	aspect-ratio: 16/10;
	background: linear-gradient(135deg, var(--brand-soft), #c9eaf0);
	position: relative;
}
.post .body { padding: 22px 22px 24px; }
.post .cat {
	font-size: 12px; color: var(--brand-dark);
	font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.post h3 { font-size: 20px; line-height: 1.28; margin: 8px 0 10px; }
.post p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* Final CTA */
.section-cta {
	background: linear-gradient(135deg, #22afc3 0%, #1a8a99 100%);
	color: #fff; text-align: center;
	padding: 100px 0;
}
.section-cta h2 { color: #fff; font-size: 48px; line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.01em; }
.section-cta p { font-size: 19px; max-width: 620px; margin: 0 auto 30px; opacity: .95; }
.section-cta .num { color: rgba(255,255,255,.75); font-weight: 700; }

/* ============ 8. INNER TEMPLATES ============ */

/* Page title (used on page.php, single.php, archive.php, search.php, 404.php) */
.page-title {
	font-size: 44px; line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 0.4em;
}

/* Page article (page.php) */
.page-article { padding: 60px 0 80px; }
.page-header { margin-bottom: 40px; }

/* Post article (single.php) */
.post-article { padding: 60px 0 60px; }
.post-header  { margin-bottom: 32px; }
.post-header .eyebrow { margin-bottom: 14px; }
.post-meta {
	color: var(--muted); font-size: 14.5px;
	display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.post-cover { margin: 0 auto 40px; max-width: 1320px; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.post-body { padding-bottom: 40px; }
.post-tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; }

/* Share buttons (single.php) */
.post-share {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.post-tags + .post-share { border-top: 0; padding-top: 4px; margin-top: 20px; }
.post-share-label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.post-share-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 13px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: #fff;
	color: var(--ink-2);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.share-btn:hover,
.share-btn:focus-visible {
	color: var(--brand-dark);
	border-color: var(--brand);
	background: var(--brand-soft);
	text-decoration: none;
}
.share-btn svg { display: block; flex-shrink: 0; }

@media (max-width: 560px) {
	.share-btn { padding: 9px; }
	.share-btn .share-name { display: none; }
}

/* Prose — the main content area for editorial / WP content */
.prose {
	max-width: var(--maxw-prose);
	font-size: 17px; line-height: 1.7;
	color: var(--ink-2);
}
.prose > * { margin-left: 0; margin-right: 0; }
.prose h2 { font-size: 32px; line-height: 1.15; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 24px; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h4 { font-size: 20px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose h5 { font-size: 17px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose p  { margin: 0 0 1.1em; }
.prose a  {
	color: var(--brand-dark);
	text-decoration: underline;
	text-decoration-color: rgba(34,175,195,.35);
	text-underline-offset: 3px;
}
.prose a:hover { color: var(--ink); text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose figure { margin: 2em 0; }
.prose blockquote { font-size: 19px; }
.prose hr { margin: 2em 0; }
.prose table { margin: 1.5em 0; }
.prose .alignleft  { float: left; margin: 0 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose .alignwide { max-width: 1024px; margin-left: -132px; margin-right: -132px; }
.prose .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* Archive */
.archive-header { padding: 60px 0 24px; }
.archive-body   { padding: 24px 0 80px; }

/* Pagination */
.pagination {
	margin-top: 56px;
	display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-weight: 600; font-size: 14px;
	color: var(--ink-2); background: #fff;
	text-decoration: none;
}
.pagination .page-numbers:hover { background: var(--brand-soft); color: var(--brand-dark); border-color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Search results */
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { border-top: 1px solid var(--line); padding: 24px 0; }
.search-results li:last-child { border-bottom: 1px solid var(--line); }
.search-results a { color: inherit; display: block; }
.search-results a:hover h3 { color: var(--brand-dark); }
.search-results h3 { font-size: 22px; margin: 0 0 6px; transition: color .15s ease; }
.search-results small { color: var(--muted); }

/* ============ PORTFOLIO PAGE ============ */
.portfolio-hero {
	padding: 80px 0 64px;
	border-bottom: 1px solid var(--line);
	background: var(--bg-2);
}
.portfolio-hero .eyebrow { margin-bottom: 14px; }
.portfolio-hero .page-title { font-size: 56px; max-width: 16ch; margin: 0 0 18px; }
.portfolio-hero .lede { max-width: 640px; }

/* Scaled-up "selected work" list pattern, for the dedicated portfolio page */
.portfolio-list-section { padding: 24px 0 96px; background: var(--bg); }
.portfolio-list { display: flex; flex-direction: column; }
.p-row {
	display: grid;
	grid-template-columns: 120px 1fr auto;
	gap: 40px;
	padding: 56px 0;
	border-top: 1px solid var(--line);
	align-items: center;
	color: inherit; text-decoration: none;
	transition: background .15s ease;
}
.p-row:last-child { border-bottom: 1px solid var(--line); }
.p-row:hover { background: rgba(34,175,195,.04); }
.p-row:hover h3 { color: var(--brand-dark); }
.p-row:hover .arrow { transform: translateX(6px); }
.p-row > div:nth-child(2) { align-self: center; }
.p-row .emoji {
	font-size: 72px; line-height: 1;
	align-self: center;
}
.p-row .client-logo {
	width: 120px;
	height: 76px;
	display: flex; align-items: center; justify-content: flex-start;
	align-self: center;
}
.p-row .client-logo img {
	max-width: 100%; max-height: 100%;
	width: auto; height: auto;
	object-fit: contain; object-position: left center;
	display: block;
}
.p-row .client-logo.invert img {
	filter: grayscale(1) invert(1) brightness(0.18);
}
.p-row .meta {
	color: var(--muted); font-size: 13px; margin-bottom: 10px;
	display: flex; gap: 16px; flex-wrap: wrap;
	text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.p-row .meta .role { color: var(--brand-dark); }
.p-row h3 {
	font-size: 36px;
	margin: 0 0 12px;
	line-height: 1.15;
	letter-spacing: -0.01em;
	transition: color .15s ease;
	font-weight: 700;
}
.p-row p {
	color: var(--ink-2);
	margin: 0 0 18px;
	max-width: 660px;
	font-size: 17px;
	line-height: 1.6;
}
.p-row .tags {
	list-style: none; padding: 0; margin: 0;
	display: flex; gap: 8px; flex-wrap: wrap;
}
.p-row .tags li {
	font-size: 12px; color: var(--ink-2);
	border: 1px solid var(--line); border-radius: var(--radius-pill);
	padding: 5px 12px; background: #fff;
	font-weight: 600; letter-spacing: 0.02em;
}
.p-row .arrow {
	font-size: 32px;
	color: var(--brand-dark);
	padding-top: 18px;
	transition: transform .15s ease;
	line-height: 1;
}

/* ============ CONTACT PAGE ============ */

/* Hero — brand-dark gradient strip with the headline + 2-up contact tiles */
.contact-hero {
	background: linear-gradient(135deg, #0f1720 0%, #1a2a35 100%);
	color: #fff;
	padding: 80px 0 64px;
	position: relative;
}
.contact-hero-inner { max-width: 1080px; }
.contact-hero .eyebrow {
	color: rgba(255,255,255,.7);
	text-transform: uppercase;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.16em;
	margin-bottom: 18px;
}
.contact-hero h1 {
	color: #fff;
	font-size: 64px; line-height: 1.02;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
}
.contact-hero .lede {
	color: rgba(255,255,255,.88);
	font-size: 19px; line-height: 1.55;
	max-width: 620px;
	margin: 0 0 44px;
}

.contact-tiles {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
	max-width: 880px;
}
.contact-tile {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 18px; align-items: flex-start;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius);
	padding: 22px 24px;
	color: #fff;
	transition: background .15s ease, border-color .15s ease;
}
.contact-tile:hover {
	background: rgba(34,175,195,.10);
	border-color: rgba(34,175,195,.35);
}
.contact-tile .ct-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: rgba(34,175,195,.22);
	color: #6fdce8;
	display: flex; align-items: center; justify-content: center;
}
.contact-tile .ct-icon svg { width: 24px; height: 24px; }
.contact-tile .ct-body { min-width: 0; }
.contact-tile .ct-label {
	font-family: var(--font-display);
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: rgba(255,255,255,.65);
	margin-bottom: 4px;
}
a.ct-value,
.contact-tile .ct-value {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 22px; line-height: 1.2;
	font-weight: 700; color: #fff;
	margin-bottom: 6px;
	letter-spacing: -0.005em;
	word-break: break-word;
	text-decoration: none;
	transition: color .15s ease;
}
a.ct-value:hover { color: #6fdce8; }
.contact-tile .ct-note {
	font-size: 14px; line-height: 1.45;
	color: rgba(255,255,255,.78);
}
.contact-tile .ct-note a {
	color: #6fdce8;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.contact-tile .ct-note a:hover { color: #fff; }

/* ============ 9. RESPONSIVE ============ */
@media (max-width: 980px) {
	:root {
		--fs-h1: 40px;
		--fs-h2: 32px;
		--fs-h3: 24px;
	}
	.hero { padding: 56px 0 40px; }
	.hero-grid { grid-template-columns: 1fr; gap: 30px; }
	.hero h1 { font-size: 42px; }
	.hero-art { display: none; }

	.section { padding: 72px 0; }
	.section-cta { padding: 72px 0; }
	.section-cta h2 { font-size: 34px; }
	.section-head h2 { font-size: 34px; }

	.page-title { font-size: 32px; }

	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.quote-grid   { grid-template-columns: 1fr; }
	.about-grid   { grid-template-columns: 1fr; gap: 32px; }
	.about-photo  { aspect-ratio: 4/3; max-width: 420px; margin: 0 auto; }
	.blog-grid    { grid-template-columns: 1fr; }
	.logo-row     { grid-template-columns: repeat(3, 1fr); gap: 22px; }

	.project { grid-template-columns: 1fr; }
	.project .arrow { display: none; }
	.project .emoji,
	.project .client-logo { display: none; }

	.prose .alignwide,
	.prose .alignfull { margin-left: 0; margin-right: 0; max-width: 100%; }
	.prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 1em 0; }

	nav.top .nav-right > a:not(.btn),
	nav.top .nav-right > a.btn,
	nav.top .nav-right > li,
	nav.top .nav-right .has-dropdown { display: none; }
	nav.top .menu-toggle { display: inline-flex; }

	/* Portfolio */
	.portfolio-hero { padding: 56px 0 40px; }
	.portfolio-hero .page-title { font-size: 36px; }
	.portfolio-list-section { padding: 8px 0 64px; }
	.p-row {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 36px 0;
	}
	.p-row .emoji,
	.p-row .client-logo { display: none; }
	.p-row h3 { font-size: 24px; }
	.p-row p { font-size: 16px; }
	.p-row .arrow { display: none; }

}
@media (max-width: 560px) {
	.hero h1 { font-size: 34px; }
	.service-grid { grid-template-columns: 1fr; }
	.container, .container-wide { padding: 0 20px; }
	.section-cta h2 { font-size: 28px; }
	.page-title { font-size: 28px; }

	.contact-hero h1 { font-size: 34px; }
	.contact-tile { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 18px; }
	.contact-tile .ct-icon { width: 44px; height: 44px; }
	.contact-tile .ct-value { font-size: 18px; }
}

/* ---------------------------------------------------------------------------
 * Case study pages (parts/case-study.php)
 * ------------------------------------------------------------------------- */

/* Hero */
.cs-hero {
	background: var(--cs-hero-bg, #0f1720);
	color: #fff;
	padding: 96px 0 80px;
	position: relative;
	overflow: hidden;
}
.cs-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(80% 60% at 80% 20%, rgba(34,175,195,.18), transparent 60%);
	pointer-events: none;
}
.cs-hero .container { position: relative; }
.cs-hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	align-items: center;
}
.cs-hero-text { max-width: 560px; }
.cs-hero-eyebrow {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255,255,255,.65);
	margin-bottom: 22px;
}
.cs-hero-title {
	color: #fff;
	font-size: 52px;
	line-height: 1.05;
	letter-spacing: -0.015em;
	margin: 0 0 22px;
}
.cs-hero-title em { font-style: normal; color: var(--brand); }
.cs-hero-lede {
	color: rgba(255,255,255,.85);
	font-size: 19px;
	line-height: 1.55;
	margin: 0 0 28px;
	max-width: 56ch;
}
.cs-hero-lede em { font-style: italic; color: #fff; }

.cs-tags {
	list-style: none; padding: 0; margin: 0 0 32px;
	display: flex; gap: 8px; flex-wrap: wrap;
}
.cs-tags li {
	font-family: var(--font-display);
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.08em;
	padding: 6px 13px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: var(--radius-pill);
	color: rgba(255,255,255,.95);
}
.cs-hero-cta .btn.on-dark { background: #fff; color: var(--ink); }
.cs-hero-cta .btn.on-dark:hover { background: var(--brand); color: #fff; }

.cs-hero-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0,0,0,.35);
	background: #fff;
	aspect-ratio: 16/10;
}
.cs-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Stats strip */
.cs-stats {
	background: var(--bg);
	padding: 64px 0 24px;
	border-bottom: 1px solid var(--line);
}
.cs-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
	text-align: center;
}
.cs-stat-value {
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	color: var(--brand-dark);
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}
.cs-stat-label {
	font-size: 14px;
	color: var(--muted);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Content rows */
.cs-sections { background: var(--bg); }
.cs-row { padding: 84px 0; border-top: 1px solid var(--line); }
.cs-row:first-child { border-top: 0; }
.cs-row:nth-child(even) { background: var(--bg-2); }

.cs-row-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.cs-row.image-left  .cs-row-grid { grid-template-areas: "image text"; }
.cs-row.image-right .cs-row-grid { grid-template-areas: "text image"; }
.cs-row .cs-row-text  { grid-area: text;  max-width: 520px; }
.cs-row .cs-row-image { grid-area: image; }

.cs-row-num {
	font-family: var(--font-display);
	font-size: 13px; font-weight: 700;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--brand-dark);
	margin-bottom: 14px;
}
.cs-row-text h2 {
	font-size: 36px;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}
.cs-row-body { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.cs-row-body p { margin: 0 0 1em; }
.cs-row-body p:last-child { margin-bottom: 0; }

.cs-row-image img {
	width: 100%; height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	background: #fff;
	display: block;
}
.cs-row.img-mobile .cs-row-image {
	display: flex; justify-content: center;
}
.cs-row.img-mobile .cs-row-image img {
	max-width: 320px;
	box-shadow: 0 24px 48px rgba(15,23,32,.18);
	border-radius: 28px;
}

/* Footer nav between case studies */
.cs-footer-nav {
	background: var(--bg);
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.cs-footer-nav-grid {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.cs-back,
.cs-next {
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--ink);
	transition: gap .15s ease, color .15s ease;
}
.cs-back:hover, .cs-next:hover { color: var(--brand-dark); gap: 14px; text-decoration: none; }
.cs-back .arrow,
.cs-next .arrow { font-size: 20px; }
.cs-next { flex-direction: column; align-items: flex-end; gap: 4px; }
.cs-next:hover { gap: 6px; }
.cs-next .meta {
	font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted); font-weight: 700;
}
.cs-next .label { font-size: 17px; }

/* Responsive */
@media (max-width: 980px) {
	.cs-hero { padding: 64px 0 56px; }
	.cs-hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.cs-hero-title { font-size: 36px; }
	.cs-hero-lede { font-size: 17px; }
	.cs-hero-image { aspect-ratio: 16/10; }

	.cs-stats { padding: 48px 0 16px; }
	.cs-stat-value { font-size: 34px; }

	.cs-row { padding: 56px 0; }
	.cs-row-grid,
	.cs-row.image-left .cs-row-grid,
	.cs-row.image-right .cs-row-grid {
		grid-template-columns: 1fr;
		grid-template-areas: "image" "text";
		gap: 32px;
	}
	.cs-row-text h2 { font-size: 26px; }
	.cs-row.img-mobile .cs-row-image img { max-width: 240px; }
}

/* ---------------------------------------------------------------------------
 * Blog category filter (above the post grid on /blog/ and category archives)
 * ------------------------------------------------------------------------- */
.blog-cats {
	margin: 24px auto 28px;
	padding: 0 24px;
}
.blog-cats-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.blog-cats-chip {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--ink-2);
	border: 1px solid var(--line);
	text-decoration: none;
	line-height: 1;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
	white-space: nowrap;
}
.blog-cats-chip:hover {
	background: var(--brand-soft);
	color: var(--brand-dark);
	border-color: var(--brand);
}
.blog-cats-chip.is-active {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
}
.blog-cats-chip.is-active:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
	color: #fff;
}
@media ( max-width: 720px ) {
	.blog-cats { margin: 18px auto 22px; }
	.blog-cats-chip {
		font-size: 11px;
		padding: 7px 12px;
		letter-spacing: 0.08em;
	}
}

/* ===========================================================
   Single post prev/next navigation
   =========================================================== */
.post-nav {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}
.post-nav-link {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--ink);
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface, #fff);
	transition: border-color .15s ease, transform .15s ease, color .15s ease, box-shadow .15s ease;
	min-height: 76px;
}
.post-nav-link:hover {
	color: var(--brand-dark);
	border-color: var(--brand-dark);
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.post-nav-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.post-nav-link .meta {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
	font-family: var(--font-display);
}
.post-nav-link .label {
	font-size: 17px;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-nav-link .arrow {
	font-size: 22px;
	line-height: 1;
	color: var(--muted);
	transition: color .15s ease, transform .15s ease;
	flex: 0 0 auto;
}
.post-nav-link:hover .arrow { color: var(--brand-dark); }
.post-nav-prev:hover .arrow { transform: translateX(-3px); }
.post-nav-next:hover .arrow { transform: translateX(3px); }
.post-nav-next {
	text-align: right;
	justify-content: flex-end;
}
.post-nav-next .post-nav-text { align-items: flex-end; }
.post-nav-spacer { display: block; }

@media (max-width: 640px) {
	.post-nav { grid-template-columns: 1fr; gap: 12px; }
	.post-nav-next, .post-nav-next .post-nav-text { text-align: left; align-items: flex-start; justify-content: flex-start; }
	.post-nav-spacer { display: none; }
}

/* ---------------------------------------------------------------------------
 * Service pages (page-responsive-website-design.php and similar)
 * All scoped under .svc-page so they don't bleed into the homepage hero etc.
 * ------------------------------------------------------------------------- */

/* Breadcrumb strip */
.svc-page .page-eyebrow-bar {
	background: var(--bg-2);
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
	font-size: 13px;
	color: var(--muted);
	letter-spacing: 0.02em;
}
.svc-page .page-eyebrow-bar a { color: var(--ink-2); }
.svc-page .page-eyebrow-bar a:hover { color: var(--brand-dark); text-decoration: none; }
.svc-page .page-eyebrow-bar .sep { margin: 0 8px; color: var(--line); }

/* Hero — override homepage hero for service pages */
.svc-page .hero {
	padding: 90px 0 100px;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(800px 400px at 85% 0%, rgba(34,175,195,.10), transparent 60%),
		radial-gradient(700px 360px at 10% 110%, rgba(34,175,195,.06), transparent 65%);
}
.svc-page .hero-grid {
	grid-template-columns: 1.05fr .95fr;
	gap: 60px;
	align-items: center;
}
.svc-page .cta-row { padding-bottom: 0; }

/* "Build" pill inside the eyebrow */
.svc-page .eyebrow .build-pill {
	background: var(--tag-build);
	color: #fff;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	font-size: 11px;
	margin-right: 10px;
}

/* Hero visual — laptop + phone (responsive proof) */
.svc-page .hero-art {
	display: block;
	position: relative;
	aspect-ratio: 5/4;
	margin: 0;
	padding: 0 0 30px 0;
	z-index: auto;
	pointer-events: auto;
	justify-content: initial;
	align-items: initial;
}
.svc-page .hero-art .laptop {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	z-index: 1;
	filter: drop-shadow(0 24px 50px rgba(15,23,32,.18));
}
.svc-page .hero-art .phone {
	position: absolute;
	bottom: -4%;
	right: -2%;
	width: 26%;
	height: auto;
	z-index: 2;
	filter: drop-shadow(0 18px 40px rgba(15,23,32,.22));
}
.svc-page .hero-art .badge {
	position: absolute;
	top: 6%;
	left: -6%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 16px;
	box-shadow: 0 12px 30px rgba(15,23,32,.10);
	display: flex; align-items: center; gap: 12px;
	font-family: var(--font-display);
	z-index: 3;
}
.svc-page .hero-art .badge .dot {
	width: 36px; height: 36px;
	border-radius: 10px;
	background: var(--brand-soft);
	display: flex; align-items: center; justify-content: center;
	color: var(--brand-dark);
}
.svc-page .hero-art .badge .dot svg { width: 20px; height: 20px; }
.svc-page .hero-art .badge .copy { font-size: 13px; line-height: 1.2; }
.svc-page .hero-art .badge .copy b { display: block; font-weight: 700; color: var(--ink); font-size: 14px; }
.svc-page .hero-art .badge .copy span { color: var(--muted); font-size: 12px; }

/* Section 01 — AI-first card grid */
.svc-page .ai-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.svc-page .ai-card {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px 26px;
	background: #fff;
	display: flex; flex-direction: column;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc-page .ai-card:hover {
	border-color: var(--brand);
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(34,175,195,.14);
}
.svc-page .ai-card .num-tag {
	font-family: var(--font-display);
	font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--brand-dark); font-weight: 700;
	margin-bottom: 14px;
}
.svc-page .ai-card .icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--brand-dark);
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 18px;
}
.svc-page .ai-card .icon svg { width: 24px; height: 24px; }
.svc-page .ai-card h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; font-weight: 700; }
.svc-page .ai-card p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* Section 02 — Platforms (two big cards) */
.svc-page .platform-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.svc-page .platform-card {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 38px 36px 34px;
	position: relative;
	overflow: hidden;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
	color: inherit;
	text-decoration: none;
}
.svc-page .platform-card:hover {
	border-color: var(--brand);
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(34,175,195,.14);
	text-decoration: none;
}
.svc-page .platform-card .head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 22px;
}
.svc-page .platform-card .logo-block { height: 40px; }
.svc-page .platform-card .logo-block img { height: 100%; width: auto; }
.svc-page .platform-card h3 { font-size: 30px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.svc-page .platform-card p { color: var(--ink-2); font-size: 16px; margin: 0 0 18px; }
.svc-page .platform-card ul.list {
	list-style: none; padding: 0; margin: 0 0 24px;
	display: grid; gap: 6px;
}
.svc-page .platform-card ul.list li {
	font-size: 14.5px;
	color: var(--ink-2);
	padding-left: 22px;
	position: relative;
}
.svc-page .platform-card ul.list li::before {
	content: "";
	position: absolute;
	left: 0; top: 9px;
	width: 12px; height: 6px;
	border-left: 2px solid var(--brand);
	border-bottom: 2px solid var(--brand);
	transform: rotate(-45deg);
}
.svc-page .platform-card .more {
	font-family: var(--font-display);
	font-weight: 700; font-size: 13px;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--brand-dark);
	display: inline-flex; align-items: center; gap: 6px;
	transition: gap .15s ease;
}
.svc-page .platform-card:hover .more { gap: 12px; }

/* Section 03 — Included (6-card grid) */
.svc-page .included-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.svc-page .inc-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px 24px;
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.svc-page .inc-card:hover {
	border-color: var(--brand);
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(34,175,195,.10);
}
.svc-page .inc-card .icon {
	width: 40px; height: 40px;
	background: var(--brand-soft);
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	color: var(--brand-dark);
	margin-bottom: 16px;
}
.svc-page .inc-card .icon svg { width: 22px; height: 22px; }
.svc-page .inc-card h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.25; }
.svc-page .inc-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* Section 04 — Process (4 numbered steps) */
.svc-page .process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.svc-page .proc-step {
	padding: 36px 28px 36px;
	border-right: 1px solid var(--line);
	position: relative;
}
.svc-page .proc-step:last-child { border-right: 0; }
.svc-page .proc-step .step-num {
	font-family: var(--font-display);
	font-size: 12px; letter-spacing: 0.16em;
	color: var(--brand-dark);
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 12px;
}
.svc-page .proc-step .big {
	font-family: var(--font-display);
	font-size: 60px; line-height: 1;
	font-weight: 700;
	color: var(--brand-soft);
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}
.svc-page .proc-step h3 { font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.svc-page .proc-step p { color: var(--ink-2); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* Pricing strip (dark callout band) */
.svc-page .pricing-strip {
	background: var(--ink);
	color: #fff;
	padding: 56px 0;
}
.svc-page .pricing-strip .container {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px; align-items: center;
}
.svc-page .pricing-strip h2 { color: #fff; font-size: 36px; line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.01em; }
.svc-page .pricing-strip p { color: rgba(255,255,255,.78); font-size: 17px; margin: 0; max-width: 520px; }
.svc-page .pricing-strip .price-row {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.svc-page .pricing-strip .price-box {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: var(--radius);
	padding: 18px 18px;
	text-align: center;
}
.svc-page .pricing-strip .price-box .lbl {
	font-family: var(--font-display);
	font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
	color: rgba(255,255,255,.6); font-weight: 700;
	margin-bottom: 6px;
}
.svc-page .pricing-strip .price-box .val {
	font-family: var(--font-display);
	font-size: 22px; font-weight: 700; color: #fff;
	letter-spacing: -0.005em;
}
.svc-page .pricing-strip .price-box .val small { display: block; margin-top: 6px; color: rgba(255,255,255,.55); font-size: 14px; font-weight: 500; }

/* Section 06 — FAQ */
.svc-page .faq-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px;
}
.svc-page .faq-item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	padding: 0;
	transition: border-color .15s ease;
}
.svc-page .faq-item[open] { border-color: var(--brand); }
.svc-page .faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	font-family: var(--font-display);
	font-weight: 700; font-size: 17px;
	color: var(--ink);
	display: flex; align-items: center; justify-content: space-between;
	gap: 18px;
}
.svc-page .faq-item summary::-webkit-details-marker { display: none; }
.svc-page .faq-item summary::after {
	content: "+";
	font-size: 26px; font-weight: 400;
	color: var(--brand-dark);
	line-height: 1;
	transition: transform .15s ease;
}
.svc-page .faq-item[open] summary::after { content: "\2212"; }
.svc-page .faq-item .a {
	padding: 0 24px 22px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.6;
}
.svc-page .faq-item .a p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
	.svc-page .hero { padding: 56px 0 60px; }
	.svc-page .hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.svc-page .hero-art { display: block; }
	.svc-page .ai-grid { grid-template-columns: repeat(2, 1fr); }
	.svc-page .platform-grid { grid-template-columns: 1fr; }
	.svc-page .included-grid { grid-template-columns: repeat(2, 1fr); }
	.svc-page .process-grid { grid-template-columns: 1fr 1fr; }
	.svc-page .proc-step:nth-child(2) { border-right: 0; }
	.svc-page .proc-