/* =====================================================================
   SUMEDIA — brand styles.
   Restrained black / white system with amber (var(--color-1)) accents.
   ===================================================================== */

/* numbered service counter → amber */
.show-ctr .list-items__item-header::before { color: var(--color-1-dark); }

/* ---- Logo sizing (SUMEDIA wordmark is wide ~5.4:1) ------------------ */
.s-header { --logo-width: 20rem; }
.s-header__logo { transform: translate(0, -0.1em); }
.s-header__logo img { width: var(--logo-width); height: auto; }

@media screen and (max-width: 900px) {
	.s-header { --logo-width: 17.5rem; }
}

/* ---- Clean one-line header: logo + menu (left) · CTA (far right) ---- */
@media screen and (min-width: 901px) {
	.s-header__inner { flex-wrap: nowrap; align-items: center; }
	.s-header__block { flex: none; height: auto; }
	.s-header__nav {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		margin-left: clamp(2.4rem, 4vw, 6rem);
	}
	.s-header__menu-links {
		margin: 0;
		gap: clamp(1.2rem, 1.4vw, 2.2rem);
		flex-wrap: nowrap;
	}
	.s-header__menu-links li { padding: 0; }
	.s-header__menu-links a { white-space: nowrap; }
	.s-header__contact { flex: none; margin-left: auto; padding-left: 2rem; }
	.s-header__contact-btn.btn--primary {
		--btn-height: 5rem;
		height: 5rem;
		line-height: 5rem;
		padding: 0 2.2rem;
		font-size: 1.5rem;
		white-space: nowrap;
	}
}
@media screen and (min-width: 901px) and (max-width: 1200px) {
	.s-header { --logo-width: 15rem; }
	.s-header__nav { margin-left: 1.6rem; }
	.s-header__menu-links { gap: 1rem; }
	.s-header__contact-btn.btn--primary { font-size: 1.4rem; padding: 0 1.7rem; }
}

/* active-page indicator: amber underline dot */
.s-header__menu-links a { position: relative; padding-bottom: 0.4rem; }
.s-header__menu-links .current a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--color-1);
	border-radius: 2px;
}
.su-onlight .s-header__menu-links .current a::after,
.s-header.is-stuck .s-header__menu-links .current a::after { background: var(--color-1-dark); }

/* ---- Context-aware header (logo + nav adapt to the backdrop) -------
   Default backdrop = DARK (inner pages have a dark page-header).
   .su-onlight  = header sits over a light field (home amber hero).
   .is-stuck    = scrolled → solid white bar (always dark treatment). */

/* default: over a DARK backdrop → white logo + light nav */
.su-logo-light { display: block; }
.su-logo-dark  { display: none; }
.s-header__menu-links a { color: rgba(255,255,255,0.72); font-weight: 500; white-space: nowrap; }
.s-header__menu-links a:focus,
.s-header__menu-links a:hover,
.s-header__menu-links .current a { color: #fff; }
.s-header__menu-toggle span,
.s-header__menu-toggle span::before,
.s-header__menu-toggle span::after { background-color: #fff; }

/* over a LIGHT backdrop (home amber hero) → original dark logo + dark nav */
.su-onlight .su-logo-light { display: none; }
.su-onlight .su-logo-dark  { display: block; }
.su-onlight .s-header__menu-links a { color: var(--color-2-light); }
.su-onlight .s-header__menu-links a:focus,
.su-onlight .s-header__menu-links a:hover,
.su-onlight .s-header__menu-links .current a { color: var(--color-text-dark); }
.su-onlight .s-header__menu-toggle span,
.su-onlight .s-header__menu-toggle span::before,
.su-onlight .s-header__menu-toggle span::after { background-color: var(--color-text-dark); }

/* sticky white bar → always dark logo + dark nav */
.s-header.is-stuck .su-logo-light { display: none; }
.s-header.is-stuck .su-logo-dark  { display: block; }
.s-header.is-stuck .s-header__menu-links a { color: var(--color-2-light); }
.s-header.is-stuck .s-header__menu-links a:focus,
.s-header.is-stuck .s-header__menu-links a:hover,
.s-header.is-stuck .s-header__menu-links .current a { color: var(--color-text-dark); }
.s-header.is-stuck .s-header__menu-toggle span,
.s-header.is-stuck .s-header__menu-toggle span::before,
.s-header.is-stuck .s-header__menu-toggle span::after { background-color: var(--color-text-dark); }

/* header CTA: amber brand button (pops on dark page-headers + white bar),
   switched to solid black only over the amber home hero */
.su-onlight .s-header__contact-btn.btn--primary {
	background: var(--color-text-dark) !important;
	border-color: var(--color-text-dark) !important;
	color: #fff !important;
}
.s-header__contact-btn.btn--primary:hover,
.s-header__contact-btn.btn--primary:focus {
	background: var(--color-1-dark) !important;
	border-color: var(--color-1-dark) !important;
	color: var(--color-2-dark) !important;
}
.su-onlight .s-header__contact-btn.btn--primary:hover,
.su-onlight .s-header__contact-btn.btn--primary:focus {
	background: #000 !important;
	border-color: #000 !important;
	color: var(--color-1) !important;
}

/* ===================================================================
   Mobile menu — open panel polish
   =================================================================== */
/* Toggle: strip the default <button> chrome (incl. hover/focus/active states,
   which were keeping a grey box after tapping) that rendered a grey box. */
.s-header__menu-toggle,
.s-header__menu-toggle:hover,
.s-header__menu-toggle:focus,
.s-header__menu-toggle:active {
	background: none;
	border: 0;
	padding: 0;
	box-shadow: none;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
@media screen and (max-width: 900px) {
	/* The open panel is dark (--color-2-dark): force light text + amber accents
	   and the light logo, overriding the light-backdrop (.su-onlight) colours
	   used when the bar sits closed over the yellow hero. */
	body.menu-is-open .su-logo-light { display: block; }
	body.menu-is-open .su-logo-dark  { display: none; }

	body.menu-is-open .s-header__menu-links a { color: rgba(255, 255, 255, 0.82); }
	body.menu-is-open .s-header__menu-links a:hover,
	body.menu-is-open .s-header__menu-links a:focus,
	body.menu-is-open .s-header__menu-links .current a { color: #fff; }
	body.menu-is-open .s-header__menu-links .current a::after { background: var(--color-1); }

	/* Close (X) icon stays light on the dark panel. */
	body.menu-is-open .s-header__menu-toggle span::before,
	body.menu-is-open .s-header__menu-toggle span::after { background-color: #fff; }

	/* CTA: filled amber so it stands out at the foot of the panel. */
	body.menu-is-open .s-header__contact-btn.btn--primary {
		background: var(--color-1) !important;
		border-color: var(--color-1) !important;
		color: #161616 !important;
		box-shadow: none;
	}
	body.menu-is-open .s-header__contact-btn.btn--primary:hover,
	body.menu-is-open .s-header__contact-btn.btn--primary:focus {
		background: var(--color-1-dark) !important;
		border-color: var(--color-1-dark) !important;
		color: #161616 !important;
	}
}

/* ===================================================================
   Hero — amber banner + bold heading, then a full-width image slider
   that overlaps the banner's lower edge.
   =================================================================== */
.su-hero {
	position: relative;
	/* Hero/showcase backdrop is its own deep black (matches the footer band),
	   independent of the section below so About can go light without dragging
	   the hero with it. */
	--su-hero-bg: #121212;
	background: var(--su-hero-bg);
	color: rgba(255, 255, 255, 0.85);
	/* Cap the viewport-relative term so the gap above the title doesn't keep
	   growing into an empty band on very tall / 4K monitors (mirrors the
	   capped padding-bottom below). 19vh still drives small/medium screens. */
	padding-top: calc(var(--header-height, 80px) + clamp(12rem, 17.2vh, 20rem));
	/* Balance the gap below the hero text (lead → showcase) with the top gap —
	   not mathematically equal, just visually even (a touch more below is fine
	   before the visual). Keeps the slide's overlap. */
	padding-bottom: clamp(21.2rem, 31.9vh, 38.5rem);
	overflow: hidden;
}

.su-hero__head { max-width: 118rem; position: relative; z-index: 2; }

.su-hero__title {
	font-family: var(--font-2);
	font-weight: 800;
	font-size: clamp(4.32rem, 7.56vw, 8.64rem);
	line-height: 1.0;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 0 0 var(--vspace-1);
}
/* No forced nowrap: at the larger size the title fits one line on wide
   screens and wraps gracefully on narrower ones instead of clipping. */

.su-hero__lead {
	color: rgba(255,255,255,0.72);
	font-size: clamp(1.7rem, 1.4vw + 1rem, 2.1rem);
	line-height: 1.6;
	max-width: 56rem;
	margin: 0;
}

/* typewriter word + blinking caret */
.su-typed { color: #fff; }
.su-caret {
	display: inline-block;
	width: 0.5rem;
	height: 0.92em;
	background: var(--color-1-dark);
	margin-left: 0.06em;
	vertical-align: -0.12em;
	border-radius: 1px;
	animation: su-blink 1s steps(1) infinite;
}
@keyframes su-blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* inline CTA link in the hero lead */
.su-hero__link {
	color: var(--color-1);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
	white-space: nowrap;
}
.su-hero__link:hover, .su-hero__link:focus { color: #fff; }

/* ---- hero image slider (overlaps the amber banner) ---- */
/* ---- hero website coverflow (center large, sides small) ---- */
.su-hero-showcase {
	position: relative;
	z-index: 4;
	margin-top: clamp(-14rem, -11vw, -9rem);
	margin-bottom: var(--vspace-2_5);
}
/* The slide bridges two bands: its top overlaps the dark hero (transparent here,
   so the hero shows through), and from the slide's mid-point down a cream band
   takes over — matching the section below, so the lower half of the slide sits
   on the same colour as that section (no dark box, no white sliver).
   Uses var(--color-3) (a :root token that resolves here) — NOT --su-hero-bg,
   which is scoped to the sibling .su-hero and would resolve to nothing. */
.su-hero-showcase::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: clamp(9rem, 11vw, 14rem);
	bottom: calc(-1 * var(--vspace-3));
	background: var(--color-3);
}
.su-cf { outline: none; }
.su-cf__stage {
	position: relative;
	/* Stage and image height move together (same deltas) so the centred slide
	   keeps its top overlap into the header while sitting at a ~16:9 browser
	   proportion that suits real website screenshots. */
	height: clamp(32rem, 44vw, 55rem);
	max-width: 132rem;
	margin: 0 auto;
}
.su-cf__slide {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(44rem, 60vw, 88rem);
	transform: translate(-50%, -50%) scale(0.6);
	opacity: 0;
	pointer-events: none;
	transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .55s ease;
	will-change: transform, opacity;
}
.su-cf__slide[data-pos="center"] { transform: translate(-50%, -50%) scale(1);      opacity: 1; z-index: 3; pointer-events: auto; }
.su-cf__slide[data-pos="left"]   { transform: translate(-118%, -50%) scale(0.72);  opacity: 0.5; z-index: 2; pointer-events: auto; cursor: pointer; }
.su-cf__slide[data-pos="right"]  { transform: translate(18%, -50%) scale(0.72);    opacity: 0.5; z-index: 2; pointer-events: auto; cursor: pointer; }
.su-cf__slide[data-pos="left"]:hover,
.su-cf__slide[data-pos="right"]:hover { opacity: 0.78; }
/* Pre-JS state: show the first slide centred so the showcase isn't an empty gap
   before the coverflow script assigns data-pos. Once JS runs, every slide has a
   data-pos so this no longer matches and the coverflow takes over. */
.su-cf__slide:not([data-pos]):first-child {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	z-index: 3;
}

.su-cf__slide .su-shot {
	border-radius: 1.4rem;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 40px 80px -38px rgba(0,0,0,0.5);
}
.su-cf__slide .su-shot__img {
	width: 100%;
	height: clamp(28rem, 36vw, 49rem);
	object-fit: cover;
	/* centre the crop: some showcase photos have a dark band at the very top,
	   and anchoring to the top printed it as an ugly black bar under the chrome.
	   Centre avoids those edges across mixed images. */
	object-position: center;
	display: block;
}

/* prev/next button revealed on hover of a side slide */
.su-cf__nav {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%) translateY(8px);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--color-2-dark);
	background: var(--color-1);
	border: none;
	border-radius: 100px;
	padding: 1rem 1.8rem;
	cursor: pointer;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
	transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.su-cf__nav[hidden] { display: none !important; }
.su-cf__slide:hover .su-cf__nav {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) translateY(0);
}
.su-cf__nav:hover { background: var(--color-1-dark); }

@media screen and (max-width: 900px) {
	.su-hero__title { font-size: clamp(3.8rem, 10.5vw, 6.4rem); }
	.su-hero__pretitle { padding-left: 0; }
	.su-hero__pretitle::before { display: none; }
	.su-hero-showcase { margin-top: -6rem; }
	.su-cf__slide { width: 80vw; }
	.su-cf__slide[data-pos="left"]  { transform: translate(-128%, -50%) scale(0.7); }
	.su-cf__slide[data-pos="right"] { transform: translate(28%, -50%) scale(0.7); }
	.su-cf__nav { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); font-size: 1.3rem; padding: 0.8rem 1.4rem; }
}

/* ---- Sticky header: solid bg + shadow once the user scrolls -------- */
.s-header.is-stuck {
	position: fixed;
	top: 0;
	background-color: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(140%) blur(8px);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	box-shadow: var(--box-shadow);
	animation: su-slidedown 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
@keyframes su-slidedown {
	from { transform: translateY(-100%); }
	to   { transform: translateY(0); }
}

/* ---- Display headings: tighter, more elegant scale --------------- */
.text-display-title,
.s-pageheader .page-title,
.s-cta .text-display-title { font-weight: 700; letter-spacing: -0.02em; }
.text-display-title { font-size: clamp(4.2rem, 5.7vw, 7.5rem); line-height: 1.07; }
.blog-card__title { font-weight: 700; letter-spacing: -0.01em; }
/* Eyebrows: uppercase + slightly wider tracking + medium weight, so every
   section label reads as one consistent system regardless of how the text
   was typed in the editor (some were uppercase, some mixed-case). */
.su-hero__pretitle,
.text-pretitle { text-transform: uppercase; letter-spacing: 0.24em; font-weight: 400; }

/* page-header + article titles were oversized — bring them down */
.s-pageheader .page-title { font-size: clamp(4.6rem, 6.4vw, 7.4rem); line-height: 1.07; }
.entry__title { font-size: clamp(4rem, 5.4vw, 6.2rem) !important; line-height: 1.1 !important; }

/* taller page headers on inner pages for more breathing room */
.s-pageheader { padding-top: var(--vspace-8, 14rem); padding-bottom: var(--vspace-4_5); }
.entry__header { padding-top: var(--vspace-8, 14rem); padding-bottom: var(--vspace-1_5); }
@media screen and (max-width: 800px) {
	.s-pageheader { padding-top: var(--vspace-6, 9.6rem); padding-bottom: var(--vspace-2_5); }
	.entry__header { padding-top: var(--vspace-6, 9.6rem); }
}

/* a touch more breathing room between section heading and body */
.section-header { margin-bottom: var(--vspace-1_5); }
.s-cta .lead { margin-top: var(--vspace-0_75); }

/* service titles link to detail + inline "read more" link */
/* Service section item titles a touch larger (+10%) for more presence. */
.s-expertise .list-items__item-title { font-size: calc(var(--text-xl) * 1.1); }
.list-items__item-title a { color: inherit; transition: color .2s ease; }
.list-items__item-title a:hover,
.list-items__item-title a:focus { color: var(--color-1-dark); }
.su-more {
	font-family: var(--font-1);
	font-weight: 600;
	color: var(--color-1-dark);
	white-space: nowrap;
}
.su-more:hover, .su-more:focus { color: var(--color-text-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Accent helpers ----------------------------------------------- */
.text-accent { color: var(--color-1); }
.su-highlight {
	background-image: linear-gradient(transparent 62%, var(--color-1-lighter) 0);
	padding: 0 0.05em;
}

/* number badge used in the services / process lists */
.su-num {
	font-family: var(--font-2);
	color: var(--color-1);
	font-size: var(--text-lg, 2.2rem);
	margin-right: 0.6rem;
}

/* ---- Services / expertise cards: subtle hover lift ----------------- */
.grid-list-items__item { transition: transform 0.25s ease; }

/* ---- Pricing table (services page) -------------------------------- */
.su-pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.4rem;
}
.su-plan {
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius);
	padding: var(--vspace-1) var(--vspace-0_875);
	background: var(--color-white);
	display: flex;
	flex-direction: column;
}
.su-plan--featured {
	border-color: var(--color-1);
	box-shadow: 0 10px 40px rgba(0,0,0,0.06);
	position: relative;
}
.su-plan__tag {
	position: absolute;
	top: -1.2rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--color-1);
	color: var(--color-2-dark);
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.2rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.5rem 1.2rem;
	border-radius: 100px;
	white-space: nowrap;
}
.su-plan__name {
	font-family: var(--font-1);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 1.4rem;
	color: var(--color-text-light);
}
.su-plan__price {
	font-family: var(--font-2);
	font-size: clamp(3.2rem, 4vw, 4.4rem);
	line-height: 1.1;
	color: var(--color-text-dark);
	margin: 1.2rem 0 0.2rem;
}
.su-plan__price small {
	font-family: var(--font-1);
	font-size: 1.5rem;
	color: var(--color-text-light);
}
.su-plan__features {
	list-style: none;
	margin: 1.8rem 0 2.4rem;
	padding: 1.8rem 0 0;
	border-top: 1px solid var(--color-border);
}
.su-plan__features li {
	padding: 0.7rem 0 0.7rem 2.6rem;
	position: relative;
	font-size: 1.6rem;
	color: var(--color-text);
}
.su-plan__features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.25rem;
	width: 1.4rem;
	height: 0.7rem;
	border-left: 2px solid var(--color-1);
	border-bottom: 2px solid var(--color-1);
	transform: rotate(-45deg);
}
.su-plan .btn { margin-top: auto; }

@media screen and (max-width: 900px) {
	.su-pricing { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; }
}

/* ===================================================================
   Service detail — image slider (web design page)
   =================================================================== */
.su-shotslider { position: relative; border-radius: var(--border-radius); overflow: hidden; background: #111; }
.su-shotslider__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.su-shotslider__slide { flex: 0 0 100%; }
.su-shotslider__slide img {
	display: block; width: 100%;
	aspect-ratio: 16 / 9; object-fit: cover; object-position: top center;
}
.su-shotslider__btn {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 5rem; height: 5rem; border-radius: 50%; border: none; cursor: pointer;
	background: rgba(255,255,255,0.92); color: #161616;
	display: flex; align-items: center; justify-content: center;
	font-size: 2rem; line-height: 1; z-index: 2; transition: background .2s ease;
}
.su-shotslider__btn:hover { background: var(--color-1); }
.su-shotslider__btn--prev { left: 1.6rem; }
.su-shotslider__btn--next { right: 1.6rem; }
.su-shotslider__dots {
	position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
	display: flex; gap: 0.8rem; z-index: 2;
}
.su-shotslider__dots button {
	width: 1rem; height: 1rem; border-radius: 50%; border: none; cursor: pointer; padding: 0;
	background: rgba(255,255,255,0.5); transition: background .2s ease, width .2s ease;
}
.su-shotslider__dots button.is-active { background: var(--color-1); width: 2.6rem; border-radius: 0.5rem; }

/* ---- Service detail — distinguishing blocks ----------------------- */
.su-metrics {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem,3vw,4rem);
	padding: var(--vspace-1_5) 0;
}
.su-metric { text-align: center; }
.su-metric__n {
	font-family: var(--font-2); font-weight: 800;
	font-size: clamp(3.6rem, 4vw, 5.4rem); line-height: 1; color: var(--color-text-dark);
}
.su-metric__n span { color: var(--color-1-dark); }
.su-metric__l { margin-top: var(--vspace-0_5); font-size: 1.6rem; color: var(--color-text-light); }
@media screen and (max-width: 700px){ .su-metrics { grid-template-columns: 1fr; gap: 2.4rem; } }

.su-errgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.su-errgrid__item {
	display: flex; gap: 1.2rem; align-items: flex-start;
	padding: var(--vspace-1); border: 1px solid var(--color-border); border-radius: var(--border-radius);
	font-size: 1.7rem; line-height: 1.5;
}
.su-errgrid__item::before {
	content: ""; flex: none; margin-top: 0.4rem;
	width: 1.4rem; height: 1.4rem; border-radius: 50%;
	background: var(--color-1); box-shadow: 0 0 0 4px var(--color-1-lightest);
}
@media screen and (max-width: 700px){ .su-errgrid { grid-template-columns: 1fr; } }

/* ---- Contact details list ----------------------------------------- */
.su-contact-meta { list-style: none; margin: 0; padding: 0; }
.su-contact-meta li { margin-bottom: var(--vspace-0_75); }
.su-contact-meta .su-contact-meta__label {
	display: block;
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-1-dark);
	margin-bottom: 0.4rem;
}
.su-contact-meta .su-contact-meta__val {
	font-family: var(--font-2);
	font-size: 2rem;
	color: var(--color-text-dark);
}

/* ---- Blog card thumbnails ----------------------------------------- */
.blog-card { display: flex; flex-direction: column; }
.blog-card__media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
	margin-bottom: var(--vspace-0_875);
	aspect-ratio: 16 / 10;
	background: var(--color-2-light);
}
.blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.18));
	pointer-events: none;
}

/* ===================================================================
   Article reading progress bar + table of contents (single.html)
   =================================================================== */
.su-progress {
	position: fixed;
	top: 0; left: 0;
	height: 4px;
	width: 100%;
	background: transparent;
	z-index: 1200;
	pointer-events: none;
}
.su-progress__bar {
	height: 100%;
	width: 0;
	background: var(--color-1);
	transition: width .1s linear;
}

.su-toc {
	margin: 0 0 var(--vspace-1_75);
	padding: 1.6rem 2rem;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: var(--border-radius);
}
/* compact when collapsed: tight box that hugs the title */
.su-toc.is-collapsible:not(.is-open) { padding: 1.4rem 2rem; }
.su-toc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	height: auto;
	min-height: 0;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	text-align: left;
	line-height: 1.2 !important;
	font: inherit;
	color: inherit;
}
.su-toc__title {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-1-darker);
	margin: 0;
}
.su-toc__title svg { width: 1.8rem; height: 1.8rem; }
.su-toc__toggle {
	display: none; /* shown by JS only when collapsible */
	align-items: center;
	justify-content: center;
	width: 2.4rem; height: 2.4rem;
	color: var(--color-text-light);
	flex: none;
	transition: transform .3s ease;
}
.su-toc__toggle svg { width: 1.8rem; height: 1.8rem; }
.su-toc.is-collapsible .su-toc__toggle { display: flex; }
.su-toc.is-open .su-toc__toggle { transform: rotate(180deg); }

.su-toc__list {
	list-style: none;
	margin: var(--vspace-0_875) 0 0;
	padding: 0;
	overflow: hidden;
}
/* collapsed state: hide the list until opened */
.su-toc.is-collapsible:not(.is-open) .su-toc__list {
	max-height: 0;
	margin-top: 0;
}
.su-toc__list li { margin: 0; }
.su-toc__list a {
	display: flex;
	gap: 0.7rem;
	padding: 0.6rem 0;
	font-size: 1.6rem;
	line-height: 1.45;
	color: var(--color-text);
	transition: color .2s ease;
}
.su-toc__n { flex: none; color: inherit; font-variant-numeric: tabular-nums; }
.su-toc__list a:hover { color: var(--color-1-dark); }
.su-toc__list li.is-sub a { padding-left: 1.8rem; font-size: 1.5rem; color: var(--color-text-light); }
.su-toc__list a.is-active { color: var(--color-1-darker); font-weight: 600; }

/* offset anchored headings so the fixed bar/header doesn't cover them */
.entry__content :is(h2, h3)[id] { scroll-margin-top: 10rem; }

/* Article footer terms — category + tags as an info card: a rounded box with
   a round icon badge + stacked label/value per term, split by a thin divider. */
.entry__terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vspace-1) var(--vspace-1_5);
	margin-top: var(--vspace-2);
	padding: var(--vspace-1_25) var(--vspace-2);
	background: rgba(0, 0, 0, 0.015);
	border-radius: 1.6rem;
}
.entry__terms-row {
	display: flex;
	align-items: center;
	gap: 1.2rem;
}
/* thin divider between the two groups */
.entry__terms-row + .entry__terms-row {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	padding-left: var(--vspace-1_5);
}
.entry__terms-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.05);
	color: var(--color-text-dark);
}
.entry__terms-icon svg { width: 2.1rem; height: 2.1rem; }
.entry__terms-text {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}
.entry__terms-label {
	font-family: var(--font-1);
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.01em;
	color: var(--color-text-light);
}
.entry__terms-value {
	font-family: var(--font-1);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.1;
	color: var(--color-text);
}
.entry__terms-value a {
	color: inherit;
	transition: color 0.2s ease;
}
.entry__terms-value a:hover,
.entry__terms-value a:focus { color: var(--color-1-dark); }
@media screen and (max-width: 520px) {
	.entry__terms { flex-direction: column; align-items: stretch; gap: var(--vspace-1); }
	.entry__terms-row + .entry__terms-row {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		padding-top: var(--vspace-1);
	}
}

/* Prev/next post nav — drop the boxy bottom border + centre divider, tighten
   spacing, add arrowed labels and right-align "next" so it reads as a clean
   two-column nav instead of an empty grid. */
.post-nav {
	margin-top: var(--vspace-1_5);
	padding: var(--vspace-1_5) 0 0;
	border-bottom: none;
	gap: var(--vspace-2);
}
.post-nav::before { display: none; }
.post-nav__prev,
.post-nav__next { padding: 0; }
.post-nav__next { text-align: right; }
.post-nav a {
	display: inline-flex;
	flex-direction: column;
	gap: 0.4rem;
	font-weight: 600;
	color: var(--color-text-dark);
	transition: color 0.2s ease;
}
.post-nav__next a { align-items: flex-end; }
.post-nav a:hover,
.post-nav a:focus { color: var(--color-1-dark); }
.post-nav span {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-light);
}
.post-nav__prev span::before { content: "←"; margin-right: 0.5rem; color: var(--color-1); }
.post-nav__next span::after { content: "→"; margin-left: 0.5rem; color: var(--color-1); }

/* ===================================================================
   Services page — clean, minimal grid (no icons)
   =================================================================== */
.su-svc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(2.4rem, 4vw, 6rem);
	row-gap: clamp(3.4rem, 4vw, 5.2rem);
	grid-column: 1 / -1;
	width: 100%;
}
.su-svc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-top: var(--vspace-1);
	border-top: 2px solid var(--color-text-dark);
}
.su-svc-num {
	font-family: var(--font-2);
	font-weight: 700;
	font-size: 1.6rem;
	letter-spacing: 0.04em;
	color: var(--color-1-darker);
	margin-bottom: var(--vspace-0_875);
}
.su-svc-title {
	font-family: var(--font-2);
	font-weight: 700;
	font-size: clamp(2.4rem, 1vw + 2rem, 3rem);
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 var(--vspace-0_625);
	color: var(--color-text-dark);
}
.su-svc-title a { color: inherit; transition: color .2s ease; }
.su-svc-title a:hover { color: var(--color-1-dark); }
.su-svc-desc {
	font-size: 1.7rem;
	line-height: 1.65;
	color: var(--color-text-light);
	margin: 0 0 var(--vspace-1);
}
.su-svc-more {
	margin-top: auto;
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--color-1-dark);
	transition: color .2s ease;
}
.su-svc-more:hover { color: var(--color-text-dark); }

@media screen and (max-width: 1000px) {
	.su-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 600px) {
	.su-svc-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Clients — horizontal marquee strip (replaces the bordered grid)
   =================================================================== */
.su-marquee {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.su-marquee__track {
	display: flex;
	align-items: center;
	gap: clamp(4rem, 6vw, 8rem);
	width: max-content;
	animation: su-marquee-scroll 38s linear infinite;
}
.su-marquee:hover .su-marquee__track { animation-play-state: paused; }
.su-marquee__item { flex: none; }
.su-marquee__item img {
	height: 3.4rem;
	width: auto;
	display: block;
	opacity: 0.5;
	filter: saturate(0);
	transition: opacity .25s ease, filter .25s ease;
}
.su-marquee__item:hover img { opacity: 1; filter: none; }
@keyframes su-marquee-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.su-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; gap: 4rem 6rem; }
}

/* ===================================================================
   Clients — clean "trusted by" cluster on the original background
   =================================================================== */
.su-clients .su-marquee { display: none; }
.su-trust {
	background: transparent;
	color: var(--color-text-dark);
	padding: 0;
}
.su-trust__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(2rem, 4vw, 5rem);
	padding-bottom: var(--vspace-1_5);
	margin-bottom: var(--vspace-2);
}
.su-trust__intro { flex: 1 1 32rem; }
.su-trust__intro .text-pretitle { color: var(--color-1-dark); }
.su-trust__title {
	font-family: var(--font-2);
	font-weight: 700;
	/* Shares one scale with the Portfolio title (caps at 6rem) so the two
	   split-row section headings read as the same family as the full-width
	   display titles, just a touch smaller because they share their row. */
	font-size: clamp(3.7rem, 4.8vw, 6.6rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--color-text-dark);
	margin: var(--vspace-0_5) 0 0;
}
.su-trust__title .su-title-break,
.su-pf__title .su-title-break {
	display: inline-block;
}
.su-trust__stat { flex: 0 1 40rem; }
.su-trust__num {
	font-family: var(--font-2);
	font-weight: 800;
	font-size: clamp(5rem, 5vw, 7.2rem);
	line-height: 0.95;
	letter-spacing: -0.03em;
	color: var(--color-1-dark);
}
.su-trust__num span { color: var(--color-text-dark); }
.su-trust__stat p {
	margin: var(--vspace-0_5) 0 0;
	color: var(--color-text-light);
	font-size: 1.6rem;
	line-height: 1.6;
}

/* Client brand wall — text-only names in an even bordered grid */
.su-trust__grid {
	/* Flex so every row — incl. a short last row — is centred. A FIXED column
	   count (--logo-cols) keeps the same layout on every screen: logos scale
	   with width instead of the column count dropping on narrower laptops. */
	--logo-cols: 8;
	--logo-colgap: 1.6rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(1rem, 1.6vw, 2.2rem) var(--logo-colgap);
	margin-top: clamp(1.8rem, 2.6vw, 3.4rem);
}
.su-trust__cell {
	/* grow 0 so the last row's items keep their column width (don't stretch);
	   basis = an exact 1/cols share, so full rows fill edge-to-edge */
	flex: 0 1 calc((100% - (var(--logo-cols) - 1) * var(--logo-colgap)) / var(--logo-cols));
	max-width: calc((100% - (var(--logo-cols) - 1) * var(--logo-colgap)) / var(--logo-cols));
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(6.4rem, 5.8vw, 8.2rem);
	padding: clamp(0.6rem, 0.8vw, 1.1rem);
}
/* client logos: greyscale wall, full colour on hover. Bounded box keeps mixed
   shapes balanced; sized for the denser multi-column grid. */
.su-trust__logo {
	max-width: 92%;
	max-height: clamp(5rem, 4.8vw, 6.8rem);
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.72;
	transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.su-trust__cell:hover .su-trust__logo {
	filter: grayscale(0);
	opacity: 1;
	transform: translateY(-0.2rem);
}
@media screen and (max-width: 900px) {
	.su-trust__grid { --logo-cols: 4; }
}
@media screen and (max-width: 520px) {
	.su-trust__grid { --logo-cols: 3; }
}

/* ===================================================================
   Portfolio — project cards with browser-window frames (dark section)
   =================================================================== */
.su-pf {
	background-color: var(--color-2-dark);
	color: #fff;
	padding-top: var(--vspace-5);
	padding-bottom: var(--vspace-5);
}
.su-pf__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(2rem, 4vw, 6rem);
	padding-bottom: var(--vspace-1_5);
	margin-bottom: var(--vspace-2_5);
	border-bottom: 1px solid rgba(255,255,255,0.14);
}
.su-pf__head-main { flex: 1 1 36rem; }
.su-pf__head .text-pretitle { color: var(--color-1); }
.su-pf__title {
	font-family: var(--font-2);
	font-weight: 700;
	font-size: clamp(3.7rem, 4.8vw, 6.6rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: #fff;
	margin: var(--vspace-0_5) 0 0;
}
.su-pf__desc {
	flex: 0 1 42rem;
	margin: 0;
	color: rgba(255,255,255,0.62);
	font-size: 1.7rem;
	line-height: 1.65;
}

.su-pf__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2.4rem, 3vw, 4rem);
}
.su-pf-card { display: block; }

/* browser-window frame */
.su-shot {
	border-radius: 1.2rem;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 50px -28px rgba(0,0,0,0.6);
	transition: transform .3s ease, box-shadow .3s ease;
}
.su-pf-card:hover .su-shot {
	transform: translateY(-6px);
	box-shadow: 0 40px 70px -30px rgba(0,0,0,0.7);
}
.su-shot__bar {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	height: 3.4rem;
	padding: 0 1.4rem;
	background: #f1f1f3;
	border-bottom: 1px solid #e3e3e6;
}
.su-shot__dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #d4d4d8; }
.su-shot__dot--r { background: #f0635c; }
.su-shot__dot--y { background: #f6be3f; }
.su-shot__dot--g { background: #5cc26e; }
.su-shot__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
}

.su-pf__cta { text-align: center; margin-top: var(--vspace-2_5); }
.su-pf__cta .btn--stroke {
	--color-btn-stroke: rgba(255,255,255,0.4);
	--color-btn-stroke-text: #fff;
	--color-btn-stroke-hover: var(--color-1);
	--color-btn-stroke-hover-text: var(--color-2-dark);
	margin: 0;
}

@media screen and (max-width: 900px) { .su-pf__grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 560px) { .su-pf__grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Article author box (single.html)
   =================================================================== */
.su-author-row { margin-top: var(--vspace-2); }
.su-author {
	display: flex;
	gap: clamp(1.6rem, 2.5vw, 2.8rem);
	align-items: flex-start;
	padding: clamp(2.2rem, 3vw, 3.2rem);
	background: #f3f4f6;
	border-radius: var(--border-radius);
}
.su-author__avatar {
	width: 8rem; height: 8rem;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.su-author__label {
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.3rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-1-dark);
}
.su-author__name {
	font-family: var(--font-2);
	font-weight: 700;
	font-size: 2.2rem;
	letter-spacing: -0.01em;
	color: var(--color-text-dark);
	margin: 0.4rem 0 0.6rem;
}
.su-author__name a { color: inherit; transition: color .2s ease; }
.su-author__name a:hover { color: var(--color-1-dark); }
.su-author__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem 2rem;
	margin-top: var(--vspace-0_75);
}
.su-author__socials { display: flex; gap: 0.8rem; list-style: none; margin: 0; padding: 0; }
.su-author__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.6rem; height: 3.6rem;
	border-radius: 50%;
	background: #fff;
	color: var(--color-2-dark);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.su-author__socials a:hover { background: var(--color-1); transform: translateY(-2px); }

/* ---- Author detail page (author.html) ---- */
.su-author-head .page-title,
.su-author-head .page-title__small-type { text-align: left; }
.su-author-head .page-title__small-type { justify-content: flex-start; }

/* clean single intro: portrait left + narrative right */
.su-author-content { padding-top: var(--vspace-3); }
.su-authintro {
	display: grid;
	grid-template-columns: 0.8fr 1.6fr;
	gap: clamp(2.4rem, 5vw, 6rem);
	align-items: start;
	padding-bottom: var(--vspace-2_5);
	margin-bottom: var(--vspace-2_5);
	border-bottom: 1px solid var(--color-border);
}
.su-authintro__photo img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--border-radius);
}
.su-authintro__text .su-authprofile__role { margin-bottom: var(--vspace-1); }
.su-authintro__text p {
	font-size: 1.8rem;
	line-height: 1.75;
	color: var(--color-text);
	margin: 0 0 var(--vspace-1);
}
.su-authintro__text .su-author__socials { margin-top: var(--vspace-1); }
.su-authintro__text .su-author__socials a { background: #f3f4f6; width: 4rem; height: 4rem; }
@media screen and (max-width: 700px) {
	.su-authintro { grid-template-columns: 1fr; }
	.su-authintro__photo { max-width: 28rem; }
}

.su-authprofile__role {
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--color-1-dark);
}
.su-authbio__works-title { margin-bottom: var(--vspace-1_5); }
.su-author__bio {
	color: var(--color-text-light);
	font-size: 1.6rem;
	line-height: 1.65;
	margin: 0;
	max-width: 62rem;
}
.su-author__link {
	display: inline-block;
	margin-top: 0;
	font-family: var(--font-1);
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--color-1-dark);
}
.su-author__link:hover { color: var(--color-text-dark); }
@media screen and (max-width: 600px) {
	.su-author { flex-direction: column; }
	.su-author__avatar { width: 6.4rem; height: 6.4rem; }
}

/* ===================================================================
   CTA → amber brand band (breaks the run of dark sections, echoes hero)
   =================================================================== */
.s-cta {
	background-color: var(--color-1) !important;
	color: #161616 !important;
}
.s-cta .text-pretitle { color: rgba(0,0,0,0.55) !important; }
.s-cta .text-display-title { color: #161616 !important; }
.s-cta .attention-getter,
.s-cta .lead { color: rgba(0,0,0,0.72) !important; }
.s-cta .btn--primary {
	display: inline-block !important;
	width: auto !important;
	min-width: 22rem;
	padding-left: 4rem !important;
	padding-right: 4rem !important;
	background: #161616 !important;
	border-color: #161616 !important;
	color: #fff !important;
}
.s-cta .btn--primary:hover,
.s-cta .btn--primary:focus {
	background: #000 !important;
	border-color: #000 !important;
	color: var(--color-1) !important;
}

/* ===================================================================
   Section colour harmonisation (home)
   - unify all dark sections to one black (#181818)
   - blog/journal switched to warm cream (matches clients)
   =================================================================== */
.su-pf { background-color: #181818 !important; }

/* ---- #1 Grain/noise overlay for atmosphere (subtle) ---- */
.su-hero, .su-pf, .s-journal, .s-cta { position: relative; }
.su-hero::before,
.su-pf::before,
.s-journal::before,
.s-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 160px 160px;
	opacity: 0.04;
	mix-blend-mode: overlay;
}
.su-hero > *, .su-pf > *, .s-journal > *, .s-cta > * { position: relative; z-index: 1; }
/* darker grain reads better on the black sections */
.su-pf::before, .s-journal::before { opacity: 0.06; mix-blend-mode: soft-light; }

/* Skip the preloader overlay entirely on repeat navigation within a
   session — the inline guard in header.php sets .su-revisit before paint. */
.su-revisit #preloader { display: none !important; }

/* ===================================================================
   #4 Staggered hero page-load reveal
   =================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.su-hero__title,
	.su-hero__lead,
	.su-hero-showcase {
		opacity: 0;
		transform: translateY(24px);
		animation: su-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	}
	.su-hero__title { animation-delay: 0.15s; }
	.su-hero__lead { animation-delay: 0.38s; }
	.su-hero-showcase { animation-delay: 0.58s; transform: translateY(40px); }
	.s-header__inner { opacity: 0; animation: su-fade 0.7s ease 0.05s forwards; }
}
@keyframes su-rise {
	to { opacity: 1; transform: translateY(0); }
}
@keyframes su-fade {
	to { opacity: 1; }
}

/* ===================================================================
   #5 Brand motif — the "ш" mark as a repeating decorative element
   =================================================================== */
.su-motif {
	display: inline-block;
	width: 1.1em; height: 0.72em;
	vertical-align: -0.04em;
	background: currentColor;
	-webkit-mask: url("../images/su-mark.svg") center / contain no-repeat;
	        mask: url("../images/su-mark.svg") center / contain no-repeat;
}
/* giant faded mark behind dark section heads */
.su-motif-bg {
	position: absolute;
	top: 50%; right: 5%;
	transform: translateY(-50%);
	width: clamp(16rem, 22vw, 30rem);
	height: clamp(16rem, 22vw, 30rem);
	opacity: 0.07;
	z-index: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cg fill='%23FAB60A'%3E%3Crect x='2' y='4' width='7' height='24'/%3E%3Crect x='13.5' y='10' width='7' height='18'/%3E%3Crect x='25' y='2' width='7' height='26'/%3E%3Crect x='36.5' y='8' width='7' height='20'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* ===================================================================
   Home: the lone "Về SUMEDIA" section (services list) on a cream surface.
   It now also carries the social row and the sunken brand mark, relocated
   here when the standalone About section was removed.
   =================================================================== */
.s-expertise {
	position: relative;
	background-color: var(--color-3) !important;
	/* trim the gap below the slide so the cream band isn't an empty void */
	padding-top: var(--vspace-5);
}
/* lift real content above the sunken brand mark — but exclude the mark itself,
   or this would override its position:absolute and collapse it to nothing. */
.s-expertise > *:not(.su-motif-bg) { position: relative; z-index: 1; }
/* soft amber (brand) watermark — sunken into the cream, present but not loud.
   Keeps the base amber SVG; just lifts opacity enough to read on the light bg. */
.s-expertise .su-motif-bg { opacity: 0.2; }

/* light accent in the empty cream gap between the slide and the heading: a thin,
   faint grey divider close to the cream background — a wide rule reads as a
   deliberate separator rather than a stray hairline. */
.s-expertise::before {
	content: "";
	position: absolute;
	/* centred in the cream gap: slide→rule ≈ rule→heading
	   (showcase margin-bottom 2.5u + this 1.25u ≈ padding-top 5u − 1.25u) */
	top: var(--vspace-1_25);
	left: 50%;
	transform: translateX(-50%);
	width: min(64%, 86rem);
	height: 1px;
	background: rgba(20, 20, 20, 0.05);
	z-index: 1;
}

/* social row under the "Xem tất cả dịch vụ" button — dark ink on cream */
.s-expertise__social { margin-top: var(--vspace-1); justify-content: flex-start; }
.s-expertise__social svg path,
.s-expertise__social svg circle { fill: var(--color-2-dark); }

/* Blog/journal → same black as the other dark sections, light text */
.s-journal,
.s-journal__content-main {
	background-color: #181818 !important;
	color: rgba(255,255,255,0.6) !important;
	border-bottom: none !important;
}
.s-journal .text-pretitle { color: var(--color-1) !important; }
.s-journal .text-display-title,
.s-journal h3,
.s-journal h3 a,
.s-journal .blog-card__title a { color: #fff !important; }
.s-journal .blog-card__text p { color: rgba(255,255,255,0.6) !important; }
.s-journal .blog-card__cat-links a { color: var(--color-1) !important; }

/* footer one shade deeper so blog→footer reads as two bands */
.s-footer { background-color: #121212 !important; }

/* "Đã thông báo Bộ Công Thương" badge: the official mark is a solid blue
   graphic with white text on a transparent background, so it reads cleanly
   on the dark footer as-is — no card or background box needed. */
.s-footer__bct {
	display: inline-block;
	align-self: flex-start;   /* footer column is a flex container — don't stretch */
	margin-top: var(--vspace-0_75);
	line-height: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.s-footer__bct:hover,
.s-footer__bct:focus-visible { opacity: 0.88; transform: translateY(-1px); }
.s-footer__bct img { display: block; width: 180px; height: auto; }

/* Footer contact block (under the About description): icon + value rows. */
.s-footer__contact-list {
	list-style: none;
	margin: var(--vspace-0_75) 0 var(--vspace-1);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--vspace-0_5);
}
.s-footer__contact-list li {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.5;
}
.s-footer__contact-list svg {
	width: 1.7rem;
	height: 1.7rem;
	flex: none;
	margin-top: 0.25rem;
	color: rgba(255, 255, 255, 0.38);
}
.s-footer__contact-list a {
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.2s ease;
}
.s-footer__contact-list a:hover,
.s-footer__contact-list a:focus { color: #fff; }

/* white logo band at the foot of the footer */
.su-foot-logo-band {
	margin-top: var(--vspace-1_5);
	padding-top: var(--vspace-1_5);
	border-top: 1px solid rgba(255,255,255,0.1);
	text-align: center;
}
.su-foot-logo-link { display: inline-block; }
.su-foot-logo-link img { width: 22rem; max-width: 60%; height: auto; opacity: 0.92; }

/* ===================================================================
   Footer polish
   =================================================================== */
.s-footer { padding-top: var(--vspace-2_5); padding-bottom: var(--vspace-2_5); }

/* column headings → large display titles (restored to original scale) */
.s-footer__block h3 {
	font-family: var(--font-2);
	font-weight: 700;
	font-size: clamp(2.8rem, 2.2vw + 1.4rem, 3.6rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: none;
	color: #fff;
	margin-bottom: var(--vspace-0_75);
	padding-bottom: 0;
	position: relative;
}
.s-footer__block h3::after { content: none; }

.s-footer__about p {
	color: rgba(255,255,255,0.62);
	font-size: 1.8rem;
	line-height: 1.75;
	max-width: 44rem;
}
.s-footer__site-links .link-list a {
	color: rgba(255,255,255,0.7);
	font-size: 1.8rem;
	transition: color .2s ease, padding-left .2s ease;
}
.s-footer__site-links .link-list a:hover {
	color: #fff;
	padding-left: 0.5rem;
}
.s-footer__site-links .link-list li { margin-bottom: var(--vspace-0_5); }
.s-footer__newsletter p { color: rgba(255,255,255,0.62); font-size: 1.8rem; line-height: 1.7; }

/* newsletter form: stack input + button, left-aligned, branded */
.s-footer .subscribe-form .mc-form { display: flex; flex-direction: column; gap: 1rem; }
.s-footer .subscribe-form input[type="email"] {
	text-align: left;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.16);
	color: #fff;
	font-size: 1.6rem;
	height: 5.4rem;
	border-radius: var(--border-radius);
	padding: 0 1.6rem;
}
.s-footer .subscribe-form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.s-footer .subscribe-form input[type="email"]:focus {
	border-color: var(--color-1);
	background: rgba(255,255,255,0.1);
}
.s-footer .subscribe-form input[type="submit"] {
	--btn-height: 5.2rem;
	height: 5.2rem;
	line-height: 5.2rem;
}

/* social icons → light, circular, amber hover (were near-invisible black) */
.s-footer__social { gap: 1rem; }
.s-footer__social li { margin: 0; }
.s-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem; height: 4rem;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	transition: background .25s ease, transform .25s ease;
}
.s-footer__social svg { width: 2rem; height: 2rem; fill: rgba(255,255,255,0.78) !important; transition: fill .25s ease; }
.s-footer__social a:hover { background: var(--color-1); transform: translateY(-2px); }
.s-footer__social a:hover svg { fill: var(--color-2-dark) !important; }

.s-footer .ss-copyright span { color: rgba(255,255,255,0.5); font-size: 1.55rem; }

/* footer bottom bar: hairline divider + right-aligned credit */
.s-footer__bottom {
	margin-top: var(--vspace-1);
	padding-top: var(--vspace-1_25);
	border-top: 1px solid rgba(255,255,255,0.07);
	align-items: center;
}
.s-footer .ss-copyright { text-align: right; }
@media screen and (max-width: 800px) {
	.s-footer .ss-copyright { text-align: left; margin-top: var(--vspace-1); }
}

/* go-to-top → tidy circular button */
.s-footer .ss-go-top a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.6rem; height: 4.6rem;
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 50%;
	transition: background .25s ease, border-color .25s ease;
}
.s-footer .ss-go-top a:hover { background: var(--color-1); border-color: var(--color-1); }
.s-footer .ss-go-top svg { width: 2rem; height: 2rem; }
.s-footer .ss-go-top a:hover svg { stroke: var(--color-2-dark); }

/* -------------------------------------------------------------------------
 * WordPress theme additions (skip-link a11y, pricing section spacing that
 * replaces former inline styles, empty state). Layout values as classes.
 * ------------------------------------------------------------------------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	padding: .8rem 1.6rem;
	background: var(--color-1, #EA9010);
	color: var(--color-2-dark, #1F2329);
	border-radius: 6px;
	font-weight: 600;
	clip: auto;
	clip-path: none;
}

.su-pricing-section { margin-top: var(--vspace-2); }
.su-pricing-section__header { margin-bottom: var(--vspace-1_5); }

.su-no-results {
	text-align: center;
	max-width: 60rem;
	margin: var(--vspace-2) auto;
}
.su-no-results .search-form { margin-top: var(--vspace-1); justify-content: center; }

/* -------------------------------------------------------------------------
 * WordPress core / editor required classes (alignments, captions, post
 * states, screen-reader-text). Needed by the block/classic editor and a11y.
 * ------------------------------------------------------------------------- */
.alignwide { max-width: 1320px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; margin-bottom: 1.5rem; }
.wp-caption img { display: block; }
.wp-caption-text,
.gallery-caption { font-size: 1.4rem; line-height: 1.5; text-align: center; color: var(--color-text-light, #6b7280); margin-top: .5rem; }
.sticky {}
.bypostauthor {}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #1F2329;
	display: block;
	font-size: 1.4rem;
	height: auto;
	left: 1rem;
	top: 1rem;
	padding: .8rem 1.6rem;
	width: auto;
	z-index: 100000;
	border-radius: 6px;
}

/* ===================================================================
   Comments — blog single discussion list + threaded reply form
   =================================================================== */
.comments-area {
	margin-top: 4rem;
	padding-top: 3rem;
	border-top: 1px solid var(--color-gray-4);
}
.comments-title,
.comment-respond .comment-reply-title {
	font-family: var(--font-2);
	font-size: 2.4rem;
	line-height: 1.3;
	margin-bottom: 2.4rem;
}
.comment-list {
	list-style: none;
	margin: 0 0 3rem;
	padding: 0;
}
.comment-list .children {
	list-style: none;
	margin: 1.6rem 0 0;
	padding-left: 2.4rem;
}
.comment-list li.comment {
	margin: 0 0 1.6rem;
}
.comment-body {
	padding: 2rem 2.4rem;
	background: var(--color-gray-1);
	border: 1px solid var(--color-gray-4);
	border-radius: 0.8rem;
}
.comment-list .bypostauthor > .comment-body {
	border-color: var(--color-1);
	background: var(--color-1-lightest);
}
.comment-author {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.6rem;
}
.comment-author .avatar {
	width: 4.8rem;
	height: 4.8rem;
	border-radius: 50%;
}
.comment-author .fn {
	font-style: normal;
	font-weight: 600;
	font-family: var(--font-2);
}
.comment-author .says {
	display: none;
}
.comment-metadata {
	margin-bottom: 1rem;
	font-size: 1.3rem;
}
.comment-metadata a {
	color: var(--color-gray-13);
}
.comment-content {
	font-size: 1.5rem;
	line-height: 1.6;
}
.comment-content p:last-child {
	margin-bottom: 0;
}
.comment-awaiting-moderation {
	display: inline-block;
	margin: 0.4rem 0;
	font-size: 1.3rem;
	color: var(--color-notice-content);
}
.reply {
	margin-top: 1rem;
}
.comment-reply-link {
	display: inline-block;
	font-family: var(--font-2);
	font-weight: 600;
	font-size: 1.3rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-1-darker);
}
.comment-reply-link:hover,
.comment-reply-link:focus {
	color: var(--color-2);
}
.comment-respond {
	margin-top: 3rem;
}
.comment-notes,
.comment-form label {
	display: block;
	margin-bottom: 0.6rem;
	font-size: 1.4rem;
}
.comment-form .required {
	color: var(--color-error-content);
}
.comment-form p {
	margin-bottom: 1.6rem;
}
.comment-form .form-submit {
	margin-bottom: 0;
}
.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
}
.comment-form-cookies-consent label {
	margin: 0;
}
.no-comments {
	font-size: 1.4rem;
	color: var(--color-gray-13);
}
.comment-navigation {
	margin: 2rem 0 3rem;
}
.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

/* Related posts — force a tidy 3-up row */
.related-posts .grid-list-items--three {
	grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 900px) {
	.related-posts .grid-list-items--three { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 600px) {
	.related-posts .grid-list-items--three { grid-template-columns: 1fr; }
}

/* Page intro — simplified single column (replaced the old 2-col display band) */
.s-pagecontent .pageintro--simple .pageintro__title {
	font-family: var(--font-2);
	font-size: clamp(2.4rem, 3.4vw, 3.6rem);
	line-height: 1.15;
	margin-bottom: 1.6rem;
}
.s-pagecontent .pageintro--simple .lead {
	font-size: clamp(1.7rem, 2vw, 2rem);
	line-height: 1.6;
	color: var(--color-2-light);
	margin: 0;
}

/* Gutenberg contact page */
.entry-content .su-contact-page {
	--su-contact-border: rgba(31, 35, 41, 0.12);
	--su-contact-muted: rgba(31, 35, 41, 0.68);
	margin-top: 0;
	overflow-wrap: break-word;
}

.entry-content .su-contact-kicker {
	margin: 0 0 1.2rem;
	font-family: var(--font-2);
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-1-dark);
}

.entry-content .su-contact-title {
	max-width: 62rem;
	margin: 0 0 2rem;
	font-size: clamp(3.8rem, 4.5vw, 5.6rem);
	line-height: 1.04;
	letter-spacing: 0;
}

.entry-content .su-contact-grid.wp-block-columns {
	align-items: center !important;
	gap: clamp(4rem, 6vw, 7rem);
	margin-top: 0;
	margin-bottom: 0;
}

.entry-content .su-contact-grid > .wp-block-column {
	min-width: 0;
}

.entry-content .su-contact-panel {
	padding-left: 2.4rem;
	border-left: 4px solid var(--color-1);
}

.entry-content .su-contact-panel p {
	max-width: 58rem;
	color: var(--su-contact-muted);
}

.entry-content .su-contact-hint {
	margin-top: 2rem;
	padding: 1.4rem 1.8rem;
	border-radius: 0.8rem;
	background: rgba(234, 144, 16, 0.1);
	color: rgba(31, 35, 41, 0.78);
	font-size: 1.6rem;
}

.entry-content .su-contact-page .wp-block-buttons {
	margin-top: 2.8rem;
	gap: 1.2rem;
}

.entry-content .su-contact-page .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 4.8rem;
	border-radius: 999px;
	padding: 0 2.4rem;
	font-size: 1.6rem;
	font-weight: 700;
}

.entry-content .su-contact-panel .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--color-text-dark);
	border-color: var(--color-text-dark);
	color: #fff;
}

.entry-content .su-contact-page .is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--color-text-dark);
	color: var(--color-text-dark);
}

.entry-content .su-contact-card {
	padding-left: 3.6rem;
	border-left: 1px solid var(--su-contact-border);
}

.entry-content .su-contact-card h3 {
	margin-top: 0;
	margin-bottom: 2.2rem;
	font-size: 3.6rem;
	line-height: 1.15;
}

.entry-content .su-contact-card p {
	margin: 0 0 1.4rem;
	line-height: 1.55;
}

.entry-content .su-contact-card a {
	overflow-wrap: anywhere;
}

.entry-content .su-contact-card strong {
	color: var(--color-text-dark);
	font-weight: 700;
}

.entry-content .su-contact-separator {
	width: 7.2rem;
	margin: 2.4rem 0;
	border-color: var(--su-contact-border);
}

.entry-content .su-contact-legal,
.entry-content .su-contact-hours {
	color: var(--su-contact-muted);
	font-size: 1.55rem;
}

@media screen and (max-width: 800px) {
	.entry-content .su-contact-kicker,
	.entry-content .su-contact-title {
		text-align: left;
	}

	.entry-content .su-contact-grid.wp-block-columns {
		gap: 3.2rem;
	}

	.entry-content .su-contact-panel {
		padding-left: 1.8rem;
	}

	.entry-content .su-contact-card {
		padding-left: 0;
		border-left: 0;
	}

	.entry-content .su-contact-card h3 {
		font-size: 3.2rem;
	}
}

@media screen and (max-width: 600px) {
	.entry-content .su-contact-title {
		font-size: 3.2rem;
		line-height: 1.14;
	}

	.entry-content .su-contact-panel {
		padding-left: 1.4rem;
	}

	.entry-content .su-contact-page .wp-block-button,
	.entry-content .su-contact-page .wp-block-button__link {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
 * Container width: 1200px tier (token existed, class did not) — used by the
 * Contact page so its two-column layout has room to breathe.
 * ------------------------------------------------------------------------- */
.width-narrow { --width-grid-max: var(--width-narrow); }

/* -------------------------------------------------------------------------
 * Comment form fields — base theme left these as flat grey boxes; give them
 * the same bordered, white, focus-ring treatment as the rest of the site.
 * ------------------------------------------------------------------------- */
.comment-respond { max-width: 76rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 1.2rem 1.4rem;
	background: #fff;
	border: 1px solid rgba(31, 35, 41, 0.18);
	border-radius: 0.8rem;
	font-family: var(--font-1);
	font-size: 1.6rem;
	line-height: 1.5;
	color: var(--color-text-dark);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.comment-form textarea {
	min-height: 16rem;
	resize: vertical;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--color-1);
	box-shadow: 0 0 0 3px rgba(234, 144, 16, 0.18);
}
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: rgba(31, 35, 41, 0.45); }
.comment-notes { color: rgba(31, 35, 41, 0.62); }

/* Contact grid: opt out of the 1000px constrained contentSize so the two
 * columns use the full width-narrow (1200px) row → more breathing room. */
.entry-content .su-contact-grid.wp-block-columns { max-width: none; }

/* -------------------------------------------------------------------------
 * Featured-image slot hardening — fixed 16:9 box + object-fit:cover so ANY
 * uploaded image fills consistently, including sources too small for the
 * sumedia-hero (1600x900) crop (which WP serves un-cropped → undersized/offset).
 * Covers blog single (.entry__media) and page featured media (.page-media).
 * ------------------------------------------------------------------------- */
.entry__media .featured-image,
.pagemedia .page-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-2-dark, #1a1d21);
}
.entry__media .featured-image img,
.pagemedia .page-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* -------------------------------------------------------------------------
 * Breadcrumbs (Rank Math) — rendered above page/entry titles
 * ---------------------------------------------------------------------- */
/* Breadcrumbs sit inside the dark page/entry headers only, so the palette is
   light-on-dark. Centered to match both header layouts (.s-pageheader centers
   itself; .entry__header does not). */
.su-breadcrumbs {
	margin-bottom: var(--vspace-0_75, 2.4rem);
	font-size: var(--text-sm, 1.4rem);
	line-height: 1.6;
	text-align: center;
}
.su-breadcrumbs .rank-math-breadcrumb p { margin: 0; }
.su-breadcrumbs a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.2s ease;
}
.su-breadcrumbs a:hover,
.su-breadcrumbs a:focus { color: var(--primary, #EA9010); }
.su-breadcrumbs .separator {
	margin: 0 0.6em;
	color: rgba(255, 255, 255, 0.3);
}
.su-breadcrumbs .last {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
}

/* MailChimp honeypot — parked off-screen, not display:none (bots skip those) */
.su-hp { position: absolute; left: -5000px; }
