/*
Theme Name: Shehzad Timber
Theme URI: https://shehzadtimber.com
Author: Shehzad Timber
Description: One-page business theme for Shehzad Timber — wood and plastic pallets, raw materials and imported wood in Karachi and Hub Chowki. Floating glass header, animated pallet hero, client grid, services, filterable product list, locations and a working free-quote form.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shehzad-timber
Tags: one-column, custom-logo, custom-menu, business, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--st-accent: #f0542d;
	--st-accent-hover: #d94729;
	--st-surface: #ffffff;
	--st-surface-soft: #f5f6f8;
	--st-ink: #2b2f34;
	--st-heading: #4a4f55;
	--st-heading-strong: #364352;
	--st-text: #767676;
	--st-text-subtle: #6a6a6a;
	--st-slate: #5c6268;
	--st-steel: #7c8a8d;
	--st-border: #d8d8d8;
	--st-topbar-text: #ccd0d0;
	--st-footer-text: #afafaf;
	--st-font: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--st-wrap: 1320px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--st-surface);
	font-family: var(--st-font);
	font-size: 15px;
	line-height: 24px;
	color: var(--st-text);
	-webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; height: auto; }
a { color: var(--st-ink); }
a:hover { color: var(--st-slate); }
h1, h2, h3, h4, h5, h6 { font-family: var(--st-font); color: var(--st-heading); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto;
	display: block; left: 8px; top: 8px; z-index: 100000;
	padding: 12px 20px; background: #fff; color: var(--st-ink); font-weight: 700;
}
.st-page { width: 100%; min-height: 100vh; overflow-x: hidden; }
.st-wrap { max-width: var(--st-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.st-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--st-ink); text-transform: uppercase; }
.st-eyebrow--light { color: var(--st-topbar-text); }
.st-display {
	margin: 0; font-size: clamp(40px, 5.4vw, 80px); line-height: 1;
	font-weight: 800; letter-spacing: -2px; color: var(--st-heading-strong);
}
.st-display--light { color: #fff; }
.st-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.st-stack { display: flex; flex-direction: column; gap: 16px; }
.st-photo-bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-position: center; background-size: cover; background-repeat: no-repeat;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

/* ---------- Buttons ---------- */
.st-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 1px;
	text-decoration: none; border-radius: 0; cursor: pointer;
	transition: background-color .3s, color .3s, border-color .3s;
}
.st-solid {
	position: relative; overflow: hidden; height: 56px; padding: 0 28px;
	border: 0; background: var(--st-accent); color: #fff;
}
.st-solid:hover, .st-solid:focus-visible { background: var(--st-accent-hover); color: #fff; }
.st-solid::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
	transform: skewX(-20deg); transition: left .7s ease;
}
.st-solid:hover::after { left: 130%; }
.st-line { height: 52px; padding: 0 24px; border: 1px solid var(--st-ink); color: var(--st-ink); background: transparent; }
.st-line:hover { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
.st-textlink { font-size: 14px; font-weight: 700; letter-spacing: .5px; color: var(--st-ink); text-decoration: none; border-bottom: 2px solid var(--st-accent); padding-bottom: 4px; }

/* ---------- Floating header ---------- */
.st-head-spacer { height: 96px; background: var(--st-ink); }
.st-fhead {
	position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
	width: min(1240px, calc(100% - 32px)); border-radius: 999px;
	background: rgba(43,47,52,.78);
	-webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
	border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 40px -14px rgba(0,0,0,.55);
	transition: background-color .5s ease, box-shadow .5s ease;
}
.admin-bar .st-fhead { top: 48px; }
@media (max-width: 782px) { .admin-bar .st-fhead { top: 56px; } }
.st-fhead:hover { background: rgba(43,47,52,.92); }
.st-fhead__inner {
	margin: 0 auto; padding: 10px 12px 10px 26px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.st-brand { display: flex; align-items: center; }
.st-brand img { height: 44px; width: auto; display: block; }
.st-brand__text { color: #fff; font-weight: 800; font-size: 18px; letter-spacing: .5px; text-decoration: none; }
.st-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 32px; }
.st-fhead .st-nav ul { font-size: 13px; font-weight: 600; letter-spacing: .65px; text-transform: uppercase; }
.st-fhead .st-nav a {
	display: block; padding: 12px 0; text-decoration: none; color: var(--st-topbar-text);
	border-bottom: 2px solid transparent; transition: color .4s ease, border-color .4s ease;
}
.st-fhead .st-nav a:hover { color: var(--st-accent); }
.st-fhead .st-nav a.is-active,
.st-fhead .st-nav .current-menu-item > a { color: #fff; border-bottom-color: var(--st-accent); }
.st-head-actions { display: flex; align-items: center; gap: 12px; }
.st-circle {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
	display: flex; align-items: center; justify-content: center; color: var(--st-topbar-text);
	transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .4s cubic-bezier(.22,.8,.2,1), box-shadow .4s ease;
}
.st-circle--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(24,119,242,.7); }
.st-circle--call:hover { background: #25a244; border-color: #25a244; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgba(37,162,68,.7); }
@media (max-width: 760px) {
	.st-fhead { border-radius: 28px; top: 10px; width: calc(100% - 20px); }
	.st-fhead .st-nav ul { gap: 2px 18px; font-size: 12px; }
	.st-head-spacer { height: 150px; }
}

/* ---------- Hero ---------- */
.st-hero {
	position: relative; overflow: hidden; background-color: var(--st-ink);
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 64px 64px;
}
.st-hero__inner {
	position: relative; padding-top: 120px; padding-bottom: 48px; min-height: 780px;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
}
.st-badge {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 8px 12px;
	border: 1px solid var(--st-steel); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: 1.4px; text-transform: uppercase;
}
.st-badge::before { content: ""; width: 8px; height: 8px; background: var(--st-accent); display: block; }
.st-hero h1 {
	position: relative; z-index: 3; margin: 0; max-width: 900px;
	text-shadow: 0 2px 28px rgba(0,0,0,.55);
	font-size: clamp(52px, 7vw, 112px); line-height: .95; font-weight: 800; letter-spacing: -3px; color: #fff;
}
.st-hero h1 em { font-style: normal; color: var(--st-accent); }
@media (min-width: 761px) { .st-hero h1 { max-width: 58%; } }
.st-hero__foot {
	position: relative; z-index: 1; isolation: isolate;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
	padding-top: 32px; border-top: 1px solid var(--st-heading);
}
.st-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.st-featured { display: flex; flex-direction: column; gap: 4px; }
.st-featured__label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--st-footer-text); }
.st-featured__text { font-size: 15px; line-height: 22px; color: #fff; font-weight: 600; }
.st-scrollbtn {
	width: 48px; height: 48px; border: 1px solid var(--st-steel);
	display: flex; align-items: center; justify-content: center; color: #fff;
}
.st-scrollbtn:hover { color: var(--st-accent); }
.st-pallet3d {
	position: absolute; right: -9%; bottom: calc(100% - 30px); z-index: -1;
	width: min(775px, 54vw); pointer-events: none;
}
.st-pshadow {
	position: absolute; left: 6%; right: 6%; bottom: 0; height: 16%;
	background: radial-gradient(ellipse at center, rgba(0,0,0,.6), rgba(0,0,0,0) 70%);
}
.st-pstage { position: relative; }
.st-pslide { opacity: 0; }
.st-pslide:first-child { opacity: 1; }
.st-pimg { width: 100%; height: auto; display: block; filter: drop-shadow(0 28px 26px rgba(0,0,0,.5)); }
.st-pimg.st-pslide:first-child { position: relative; }
.st-pimg.st-pslide:not(:first-child) { position: absolute; inset: 0; }
.st-pcard {
	position: absolute; left: 14%; width: 72%; top: 50%; aspect-ratio: 4 / 3;
	transform: translateY(-50%) rotate(-3deg); border-radius: 22px; overflow: hidden;
	box-shadow: 0 34px 60px -12px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.9);
}
.st-pcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
	.st-pallet3d { position: relative; right: auto; bottom: auto; width: 86vw; flex: 0 0 100%; margin: -12px auto -8px; }
}

/* ---------- Clients ---------- */
.st-clients { background: #fff; border-bottom: 1px solid var(--st-border); }
.st-clients__inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.st-clients__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.st-clients__head p { margin: 0; font-size: 14px; color: var(--st-text); }
.st-client-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1px; background: var(--st-border); border: 1px solid var(--st-border);
}
.st-client {
	background: #fff; padding: 24px; min-height: 120px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
	transition: background-color .3s, color .3s;
}
.st-client__name { font-size: 17px; line-height: 22px; font-weight: 800; color: var(--st-ink); letter-spacing: -.2px; }
.st-client__place { font-size: 12px; font-weight: 600; letter-spacing: .8px; color: var(--st-text-subtle); text-transform: uppercase; }
.st-client:hover { background: var(--st-ink); }
.st-client:hover span { color: #fff; }
.st-client--cta, .st-client--cta:hover { background: var(--st-accent); }
.st-client--cta .st-client__name { color: #fff; }
.st-client--cta a { font-size: 12px; font-weight: 700; letter-spacing: .8px; color: #fff; text-decoration: none; }

/* ---------- About ---------- */
.st-about { position: relative; overflow: hidden; isolation: isolate; background: #fff; }
.st-about .st-photo-bg { filter: grayscale(1) contrast(1.05); opacity: .13; }
.st-cube { position: absolute; left: 3%; top: 64px; width: 56px; }
.st-cube svg { width: 100%; height: auto; display: block; }
.st-about__inner { padding-top: 128px; padding-bottom: 128px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.st-about__copy { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.st-about__lead {
	margin: 0; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; font-weight: 300;
	letter-spacing: -1px; color: var(--st-ink);
}
.st-about__lead strong { font-weight: 800; }
.st-about__lead em { font-style: normal; color: var(--st-accent); font-weight: 800; }
.st-signature { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; color: var(--st-ink); letter-spacing: .5px; }
.st-signature::before { content: ""; width: 48px; height: 1px; background: var(--st-ink); display: block; }
.st-collage {
	flex: 2 1 420px; min-width: 0; display: grid;
	grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, 150px); gap: 12px;
}
.st-collage img { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid var(--st-border); }
.st-collage img:first-child { grid-row: 1 / 3; }
@media (max-width: 520px) { .st-collage { grid-template-rows: repeat(3, 110px); } }

/* ---------- Services ---------- */
.st-services { background: var(--st-surface-soft); }
.st-services__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.st-card {
	background: #fff; border: 1px solid var(--st-border); padding: 36px;
	display: flex; flex-direction: column; gap: 18px; transition: box-shadow .3s, border-color .3s;
}
.st-card:hover { box-shadow: 0 2px 4px 0 rgba(0,0,0,.12); border-color: var(--st-accent); }
.st-ico {
	width: 56px; height: 56px; border: 1px solid var(--st-ink);
	display: flex; align-items: center; justify-content: center; color: var(--st-ink);
	transition: background-color .3s, color .3s, transform .4s, border-color .3s;
}
.st-card:hover .st-ico { background: var(--st-accent); color: #fff; border-color: var(--st-accent); transform: rotate(-8deg); }
.st-card h3 { margin: 0; font-size: 26px; line-height: 32px; font-weight: 800; color: var(--st-ink); }
.st-card p { margin: 0; font-size: 15px; line-height: 24px; color: var(--st-text); }
.st-card__link { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .8px; color: var(--st-ink); text-decoration: none; }
.st-card__link span, .st-row__view span { color: var(--st-accent); }

/* ---------- Products ---------- */
.st-products { background: #fff; border-top: 1px solid var(--st-border); }
.st-products__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 40px; }
.st-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.st-pills[hidden] { display: none; }
.st-pill {
	height: 44px; padding: 0 18px; border: 1px solid var(--st-border); border-radius: 0;
	background: #fff; color: var(--st-heading); font-family: inherit; font-size: 13px; font-weight: 700;
	letter-spacing: .8px; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.st-pill:hover { border-color: var(--st-ink); }
.st-pill[aria-pressed="true"] { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.st-rows { display: flex; flex-direction: column; border-top: 1px solid var(--st-ink); }
.st-row {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 28px 8px;
	border-bottom: 1px solid var(--st-border); text-decoration: none; transition: background-color .3s;
}
.st-row[hidden] { display: none; }
.st-row:hover { background: var(--st-surface-soft); }
.st-row__no { flex: 0 0 56px; font-size: 14px; font-weight: 700; color: var(--st-text-subtle); }
.st-row__name { flex: 1 1 320px; min-width: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.5px; color: var(--st-ink); }
.st-row__desc { flex: 1 1 280px; min-width: 0; font-size: 15px; line-height: 24px; color: var(--st-text); }
.st-row__tag { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--st-border); font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--st-heading); }
.st-row__view { flex: 0 0 auto; display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .8px; color: var(--st-ink); transition: transform .3s; }
.st-row:hover .st-row__view { transform: translateX(8px); }

/* ---------- Locations ---------- */
.st-locations { position: relative; overflow: hidden; isolation: isolate; background: var(--st-ink); }
.st-locations .st-photo-bg { filter: grayscale(1) contrast(1.1); opacity: .17; }
.st-locations__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.st-cities {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1px; background: var(--st-heading); border: 1px solid var(--st-heading);
}
.st-city { background: var(--st-ink); padding: 40px 32px; display: flex; flex-direction: column; gap: 16px; }
.st-city__label { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--st-topbar-text); }
.st-city__label--accent { color: var(--st-accent); }
.st-city h3 { margin: 0; font-size: 48px; line-height: 1; font-weight: 800; color: #fff; letter-spacing: -1px; transition: color .3s; }
.st-city:hover h3 { color: var(--st-accent); }
.st-city p { margin: 0; font-size: 15px; line-height: 24px; color: var(--st-footer-text); }

/* ---------- Quote ---------- */
.st-quote { background: var(--st-surface-soft); }
.st-quote__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.st-quote__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.st-quote__copy h2 { margin: 0; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -1.5px; color: var(--st-heading-strong); }
.st-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; font-weight: 600; color: var(--st-ink); }
.st-checks li { display: flex; align-items: center; gap: 12px; }
.st-phone { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.st-phone__label { font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; color: var(--st-text-subtle); text-transform: uppercase; }
.st-phone__num { font-size: 26px; line-height: 32px; font-weight: 800; color: var(--st-ink); }
.st-form {
	flex: 1 1 480px; min-width: 0; background: #fff; border: 1px solid var(--st-border);
	padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 520px) { .st-form { padding: 24px; } }
.st-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.st-field { display: flex; flex-direction: column; gap: 8px; }
.st-label, .st-form legend { font-size: 12px; font-weight: 700; letter-spacing: .8px; color: var(--st-ink); text-transform: uppercase; }
.st-input {
	height: 52px; padding: 0 17px; border: 1px solid rgba(43,47,52,.2); border-radius: 0;
	font-family: inherit; font-size: 15px; color: var(--st-ink); background: #fff; width: 100%;
}
.st-input:focus { outline: 2px solid var(--st-accent); outline-offset: 0; }
.st-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.st-form legend { padding: 0; margin-bottom: 10px; }
.st-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.st-radio {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
	border: 1px solid var(--st-border); font-size: 14px; font-weight: 600; color: var(--st-ink); cursor: pointer;
}
.st-radio input { accent-color: var(--st-accent); margin: 0; }
.st-radio:has(input:checked) { border-color: var(--st-ink); }
.st-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-notice { padding: 14px 18px; font-size: 14px; font-weight: 600; border: 1px solid; }
.st-notice--ok { border-color: #25a244; color: #1d7f36; background: #eef8f1; }
.st-notice--err { border-color: var(--st-accent); color: #b03a1c; background: #fdf0ec; }

/* ---------- Footer ---------- */
.st-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--st-ink); color: var(--st-footer-text); }
.st-footer__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .2; }
.st-footer__inner { padding-top: 80px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.st-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.st-footer__about { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.st-footer__about p { margin: 0; font-size: 15px; line-height: 24px; }
.st-footer__about span { font-size: 14px; line-height: 22px; }
.st-footer__title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: #fff; line-height: 30px; text-transform: uppercase; }
.st-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.st-footer__col { display: flex; flex-direction: column; gap: 10px; }
.st-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.st-footer a { color: var(--st-footer-text); text-decoration: none; font-size: 14px; transition: color .3s; }
.st-footer a:hover { color: var(--st-accent); }
.st-wordmark {
	font-size: clamp(30px, 8.4vw, 124px); line-height: .9; font-weight: 800; letter-spacing: -.04em;
	color: #fff; white-space: nowrap; overflow: hidden;
}
.st-wordmark span { color: var(--st-accent); }
.st-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--st-heading); font-size: 12px; }
.st-footer__bottom a { font-size: 12px; }

/* ---------- Inner pages / blog ---------- */
.st-content { padding-top: 80px; padding-bottom: 112px; }
.st-content__title { margin: 0 0 32px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -1.5px; color: var(--st-heading-strong); }
.st-entry { max-width: 820px; color: var(--st-text); }
.st-entry h2, .st-entry h3 { color: var(--st-heading-strong); font-weight: 800; }
.st-entry a { color: var(--st-accent-hover); }
.st-entry img { height: auto; }
.st-post-list { display: flex; flex-direction: column; border-top: 1px solid var(--st-ink); }
.st-post-item { padding: 28px 8px; border-bottom: 1px solid var(--st-border); }
.st-post-item h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; }
.st-post-item h2 a { color: var(--st-ink); text-decoration: none; }
.st-post-item h2 a:hover { color: var(--st-accent); }
.st-meta { font-size: 12px; font-weight: 700; letter-spacing: .8px; color: var(--st-text-subtle); text-transform: uppercase; }
.st-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.st-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--st-border); text-decoration: none; font-weight: 700; color: var(--st-ink); }
.st-pagination .current { background: var(--st-ink); border-color: var(--st-ink); color: #fff; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--st-text-subtle); }
.sticky, .bypostauthor { }

/* ---------- Motion ---------- */
@keyframes stRise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes stPalIn { from { opacity: 0; transform: translateY(-90px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes stPal {
	0%, 100% { transform: perspective(1000px) rotateX(2deg) rotateY(-5deg) translateY(0); }
	50% { transform: perspective(1000px) rotateX(6deg) rotateY(5deg) translateY(-16px); }
}
@keyframes stPsh { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.84); opacity: .6; } }
@keyframes stSlide { 0% { opacity: 0; } 6% { opacity: 1; } 20% { opacity: 1; } 26% { opacity: 0; } 100% { opacity: 0; } }
@keyframes stSlide0 { 0%, 20% { opacity: 1; } 26%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes stHead { from { opacity: 0; transform: translate(-50%, -30px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes stArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes stFloatA { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.st-motion .st-fhead { animation: stHead 1.1s cubic-bezier(.22,.8,.2,1) .2s both; }
.st-motion .st-pallet3d { animation: stPalIn 1.6s cubic-bezier(.34,1.25,.64,1) .7s both; }
.st-motion .st-pfloat { transform-origin: 50% 85%; animation: stPal 8s cubic-bezier(.45,0,.55,1) 2.3s infinite; }
.st-motion .st-pshadow { animation: stPsh 8s cubic-bezier(.45,0,.55,1) 2.3s infinite; }
.st-motion .st-pslide { animation: stSlide 35s ease-in-out infinite; animation-delay: calc(.9s + var(--i) * 7s); }
.st-motion .st-pslide:first-child { animation-name: stSlide0; animation-delay: 2.3s; }
.st-motion .st-rise { animation: stRise .9s cubic-bezier(.2,.7,.2,1) both; }
.st-motion .st-d1 { animation-delay: .05s; }
.st-motion .st-d2 { animation-delay: .18s; }
.st-motion .st-d3 { animation-delay: .31s; }
.st-motion .st-scrollbtn { animation: stArrow 1.8s ease-in-out infinite; }
.st-motion .st-cube { animation: stFloatA 7s ease-in-out infinite; }
@supports (animation-timeline: view()) {
	.st-motion .st-reveal { animation: stRise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@media (prefers-reduced-motion: reduce) {
	.st-motion *, .st-motion *::after { animation: none !important; }
	.st-pslide:not(:first-child) { display: none; }
}
