/*
Theme Name: SMT Finance
Theme URI: https://sharemarkettraining.in/
Author: Share Market Training
Author URI: https://sharemarkettraining.in/
Description: A lightweight, classic WordPress theme built for Share Market Training. Hand-written HTML and CSS, no page builder and no framework: editorial typography, hierarchical city and state landing pages, native SEO meta and JSON-LD, and WhatsApp-first enquiry CTAs.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smt-finance
Tags: education, blog, custom-menu, featured-images, translation-ready
*/

/* Tailwind CSS Directives - Hybrid Setup */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Ink and surfaces */
	--c-ink:          #0e1a2b;
	--c-ink-soft:     #39465a;
	--c-ink-mute:     #65718a;
	--c-line:         #dfe4ec;
	--c-line-soft:    #eceff4;
	--c-paper:        #ffffff;
	--c-surface:      #f6f8fb;
	--c-surface-2:    #eef2f8;

	/* Brand: deep slate blue, the colour of a printed market report */
	--c-brand:        #16375c;
	--c-brand-dark:   #0f2742;
	--c-brand-mid:    #2a5c8f;
	--c-brand-tint:   #e7eef6;

	/* Accent: a restrained brass, used only for emphasis rules and markers */
	--c-accent:       #a87b23;
	--c-accent-tint:  #fbf4e4;

	/* WhatsApp */
	--c-wa:           #128c7e;
	--c-wa-dark:      #0d6e63;
	--c-wa-tint:      #e6f4f2;

	/* Semantic */
	--c-warn:         #8c5a12;
	--c-warn-tint:    #fdf6e8;

	/* Type */
	--f-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
	--f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--t-xs:   0.8125rem;
	--t-sm:   0.9063rem;
	--t-base: 1.0313rem;
	--t-md:   1.125rem;
	--t-lg:   clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
	--t-xl:   clamp(1.375rem, 1.25rem + 0.7vw, 1.75rem);
	--t-2xl:  clamp(1.625rem, 1.4rem + 1.1vw, 2.125rem);
	--t-3xl:  clamp(1.9375rem, 1.6rem + 1.7vw, 2.75rem);
	--t-4xl:  clamp(2.1875rem, 1.7rem + 2.4vw, 3.375rem);

	/* Space */
	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 2.75rem;
	--s-8: 3.75rem;
	--s-9: 5rem;

	/* Shape */
	--r-sm: 4px;
	--r-md: 7px;
	--r-lg: 12px;

	--shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 1px 3px rgba(14, 26, 43, .04);
	--shadow-md: 0 2px 4px rgba(14, 26, 43, .05), 0 8px 24px -12px rgba(14, 26, 43, .18);
	--shadow-lg: 0 4px 10px rgba(14, 26, 43, .06), 0 24px 48px -20px rgba(14, 26, 43, .25);

	--wrap: 1160px;
	--wrap-narrow: 760px;
	--header-h: 68px;
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-sans);
	font-size: var(--t-base);
	line-height: 1.68;
	font-feature-settings: "kern" 1, "liga" 1;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

body.smt-nav-open { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
img { background: var(--c-surface); }

a { color: var(--c-brand-mid); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-brand-dark); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--c-brand-mid);
	outline-offset: 2px;
	border-radius: var(--r-sm);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-serif);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.012em;
	color: var(--c-ink);
	margin: 0 0 var(--s-4);
	text-wrap: balance;
}

h1 { font-size: var(--t-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
h5, h6 { font-size: var(--t-md); font-family: var(--f-sans); font-weight: 650; }

p, ul, ol, dl, table, figure, blockquote, pre { margin: 0 0 var(--s-4); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }
li > ul, li > ol { margin-top: .4em; margin-bottom: .4em; }

strong, b { font-weight: 650; color: var(--c-ink); }
small { font-size: var(--t-sm); }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-7) 0; }

code, pre, kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
}
code { background: var(--c-surface-2); padding: .12em .38em; border-radius: var(--r-sm); }

::selection { background: var(--c-brand-tint); color: var(--c-brand-dark); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	position: static !important;
	width: auto; height: auto;
	clip: auto; margin: 0;
	padding: var(--s-3) var(--s-4);
	background: var(--c-paper);
}

.smt-skip-link {
	position: absolute;
	left: var(--s-4); top: -4rem;
	z-index: 999;
	background: var(--c-brand);
	color: #fff;
	padding: var(--s-3) var(--s-4);
	border-radius: 0 0 var(--r-md) var(--r-md);
	font-size: var(--t-sm);
	font-weight: 600;
	text-decoration: none;
	transition: top .15s ease;
}
.smt-skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   3. Layout
   ========================================================================== */

.smt-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--s-4);
}
@media (min-width: 640px) { .smt-wrap { padding-inline: var(--s-5); } }

.smt-wrap--narrow { max-width: var(--wrap-narrow); }

.smt-section { padding-block: var(--s-8); }
.smt-section--tight { padding-block: var(--s-7); }
.smt-section--surface { background: var(--c-surface); }
.smt-section--tint { background: var(--c-brand-tint); }
.smt-section--ink { background: var(--c-brand-dark); color: #e7eef6; }
.smt-section--ink h2, .smt-section--ink h3 { color: #fff; }
.smt-section--line { border-top: 1px solid var(--c-line); }

.smt-grid { display: grid; gap: var(--s-5); }
@media (min-width: 620px)  { .smt-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 620px)  { .smt-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px)  { .smt-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px)  { .smt-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px)  { .smt-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.smt-layout { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 1000px) {
	.smt-layout--sidebar { grid-template-columns: minmax(0, 1fr) 316px; gap: var(--s-8); }
}

.smt-section-head { max-width: 46rem; margin-bottom: var(--s-6); }
.smt-section-head p { color: var(--c-ink-soft); font-size: var(--t-md); margin-bottom: 0; }
.smt-section-head--center { margin-inline: auto; text-align: center; }

.smt-eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--f-sans);
	font-size: var(--t-xs);
	font-weight: 650;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--c-accent);
	margin-bottom: var(--s-3);
}
.smt-eyebrow::before {
	content: ""; width: 1.6rem; height: 2px;
	background: var(--c-accent); border-radius: 2px;
}
.smt-section--ink .smt-eyebrow { color: #e0b659; }
.smt-section--ink .smt-eyebrow::before { background: #e0b659; }
.smt-section--ink p { color: #b9c9db; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.smt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	font-family: var(--f-sans);
	font-size: var(--t-sm);
	font-weight: 600;
	line-height: 1.2;
	padding: .82em 1.35em;
	border: 1px solid transparent;
	border-radius: var(--r-md);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.smt-btn:active { transform: translateY(1px); }
.smt-btn svg { width: 1.05em; height: 1.05em; flex: none; }

.smt-btn--wa { background: var(--c-wa); color: #fff; }
.smt-btn--wa:hover { background: var(--c-wa-dark); color: #fff; }

.smt-btn--primary { background: var(--c-brand); color: #fff; }
.smt-btn--primary:hover { background: var(--c-brand-dark); color: #fff; }

.smt-btn--ghost { background: transparent; color: var(--c-brand); border-color: var(--c-line); }
.smt-btn--ghost:hover { background: var(--c-surface); border-color: var(--c-brand-mid); color: var(--c-brand-dark); }

.smt-btn--light { background: #fff; color: var(--c-brand-dark); }
.smt-btn--light:hover { background: #f1f5fa; color: var(--c-brand-dark); }

.smt-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.smt-btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }

.smt-btn--lg { font-size: var(--t-base); padding: .95em 1.7em; }
.smt-btn--sm { font-size: var(--t-xs); padding: .6em 1em; }
.smt-btn--block { width: 100%; }

/* ==========================================================================
   Premium animated typography and button gradients
   ========================================================================== */

@keyframes smt-heading-shift {
	0%   { background-position: 0% 50%; }
	45%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes smt-button-fill {
	0%   { background-position: 0% 50%; }
	100% { background-position: 210% 50%; }
}

@keyframes smt-button-flash {
	0%, 38%, 100% { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
	50%           { transform: translateX(130%) skewX(-18deg); opacity: 1; }
}

/* Big H1s in the dark hero use a bright, moving gold/white gradient. */
.smt-hero h1,
.smt-404__code {
	font-size: clamp(2.55rem, 2rem + 3vw, 4.15rem);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.smt-hero h1 {
	background-image: linear-gradient(
		110deg,
		#ffffff 0%,
		#f4d78a 16%,
		#d5a74a 30%,
		#ffffff 46%,
		#ffedb8 60%,
		#e0b659 76%,
		#ffffff 100%
	);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: smt-heading-shift 4.5s ease-in-out infinite;
}

/* Normal headings: rich blue/gold on light, bright tones on dark. */
h2, h3, h4 {
	background-image: linear-gradient(
		110deg,
		#0f2742 0%,
		#3c5878 16%,
		#a87b23 31%,
		#d6ad62 43%,
		#8a6a19 52%,
		#0f2742 66%,
		#3c5878 82%,
		#0f2742 100%
	);
	background-size: 220% 100%;
	background-position: 0% 50%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: smt-heading-shift 7s ease-in-out infinite;
}

.smt-section--ink h2,
.smt-section--ink h3,
.smt-section--ink h4,
.smt-hero h2,
.smt-hero h3,
.smt-hero h4,
.smt-footer h2,
.smt-cta h2,
.smt-cta h3 {
	background-image: linear-gradient(
		110deg,
		#ffffff 0%,
		#f4d78a 16%,
		#d5a74a 30%,
		#ffffff 46%,
		#ffedb8 60%,
		#e0b659 76%,
		#ffffff 100%
	);
}

/* Every CTA button: moving gradient background plus a passing light flash. */
.smt-btn {
	--smt-btn-a: #16375c;
	--smt-btn-b: #2a5c8f;
	--smt-btn-c: #526f8e;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: transparent;
	background-image: linear-gradient(
		118deg,
		var(--smt-btn-a) 0%,
		var(--smt-btn-b) 38%,
		var(--smt-btn-c) 54%,
		var(--smt-btn-b) 66%,
		var(--smt-btn-a) 100%
	);
	background-size: 220% 100%;
	background-position: 0% 50%;
	border-color: transparent;
	animation: smt-button-fill 4.8s linear infinite;
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.smt-btn::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -80% -50%;
	background: linear-gradient(
		96deg,
		transparent 0%,
		transparent 30%,
		rgba(255, 255, 255, .18) 39%,
		rgba(255, 255, 255, .75) 48%,
		rgba(255, 255, 255, .2) 57%,
		transparent 68%,
		transparent 100%
	);
	transform: translateX(-130%) skewX(-18deg);
	animation: smt-button-flash 3.6s ease-in-out infinite;
	pointer-events: none;
}

.smt-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -12px rgba(15, 39, 66, .65), 0 0 0 1px rgba(255,255,255,.12) inset;
	filter: brightness(1.06) saturate(1.08);
}

.smt-btn:active { transform: translateY(0); filter: brightness(.94); }
.smt-btn:focus-visible {
	animation: smt-button-fill 4.8s linear infinite;
	outline: 2px solid #e0b659;
	outline-offset: 3px;
}

.smt-btn > * { position: relative; z-index: 1; }

.smt-btn--primary { --smt-btn-a: #16375c; --smt-btn-b: #2a5c8f; --smt-btn-c: #526f8e; color: #fff; }
.smt-btn--wa { --smt-btn-a: #0d6e63; --smt-btn-b: #128c7e; --smt-btn-c: #1fb19d; color: #fff; }
.smt-btn--wa:hover { color: #fff; }
.smt-btn--ghost { --smt-btn-a: #f2f5f9; --smt-btn-b: #dfe8f0; --smt-btn-c: #ffffff; color: var(--c-brand-dark); }
.smt-btn--ghost:hover { color: var(--c-brand-dark); }
.smt-btn--light { --smt-btn-a: #ffffff; --smt-btn-b: #eef3f8; --smt-btn-c: #d8e4ef; color: var(--c-brand-dark); }
.smt-btn--outline-light { --smt-btn-a: rgba(255,255,255,.12); --smt-btn-b: rgba(255,255,255,.28); --smt-btn-c: rgba(255,255,255,.18); color:#fff; }
.smt-btn--outline-light:hover { color:#fff; }

/* Keep the sticky mobile CTAs on the same treatment. */
.smt-sticky a {
	background-image: linear-gradient(120deg, #ffffff 0%, #f4d78a 38%, #ffffff 58%, #e8edf3 74%, #ffffff 100%);
	background-size: 220% 100%;
	background-position: 0% 50%;
	animation: smt-button-fill 4.2s linear infinite;
}
.smt-sticky a.is-wa {
	background-image: linear-gradient(120deg, #0d6e63 0%, #128c7e 38%, #24b79f 54%, #128c7e 68%, #0d6e63 100%);
}

.smt-btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

@media (prefers-reduced-motion: reduce) {
	h1, h2, h3, h4, .smt-btn, .smt-sticky a { animation: none !important; }
}

/* ==========================================================================
   5. Site header
   ========================================================================== */

.smt-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255,255,255,.94);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--c-line);
}

.smt-topbar { background: var(--c-brand-dark); color: #c7d6e6; font-size: var(--t-xs); }
.smt-topbar .smt-wrap {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--s-4); min-height: 34px;
}
.smt-topbar p { margin: 0; }
.smt-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.smt-topbar a:hover { text-decoration: underline; }
.smt-topbar__note { display: none; }
@media (min-width: 760px) { .smt-topbar__note { display: block; } }

.smt-header__inner { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }

.smt-brand {
	display: inline-flex; align-items: center; gap: .65rem;
	text-decoration: none; color: var(--c-ink);
	margin-right: auto; flex: none;
}
.smt-brand__mark { width: 36px; height: 36px; flex: none; }
.smt-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.smt-brand__name { font-family: var(--f-serif); font-size: 1.1rem; font-weight: 650; letter-spacing: -.015em; }
.smt-brand__tag {
	font-size: .625rem; font-weight: 650;
	letter-spacing: .13em; text-transform: uppercase;
	color: var(--c-ink-mute);
}

/* Primary navigation (desktop) */
.smt-nav { display: none; }
@media (min-width: 1060px) { .smt-nav { display: block; overflow-x: auto; white-space: nowrap; } }

.smt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--s-1); }
.smt-nav li { margin: 0; position: relative; }
.smt-nav a {
	display: block;
	padding: .55rem .7rem;
	font-size: var(--t-sm); font-weight: 550;
	color: var(--c-ink-soft);
	text-decoration: none;
	border-radius: var(--r-sm);
	white-space: nowrap;
}
.smt-nav a:hover { color: var(--c-brand-dark); background: var(--c-surface); }
.smt-nav .current-menu-item > a,
.smt-nav .current-menu-ancestor > a,
.smt-nav .current-page-ancestor > a { color: var(--c-brand-dark); font-weight: 650; }

.smt-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block;
	width: .4em; height: .4em; margin-left: .45em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.smt-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0;
	display: block;
	min-width: 248px;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	padding: var(--s-2);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.smt-nav li:hover > .sub-menu,
.smt-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.smt-nav .sub-menu a { padding: .5rem .7rem; white-space: normal; }
.smt-nav .sub-menu .sub-menu { top: -.5rem; left: 100%; }

.smt-header__actions { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.smt-header__actions .smt-brand { flex-shrink: 0; }
.smt-header__condensed { display: none; }
@media (max-width: 1059px) { .smt-header__condensed { display: block; } }
@media (min-width: 1060px) { .smt-header__condensed { display: none; } }
.smt-header__condensed-cta { width: 100%; justify-content: center; }

/* Hamburger */
.smt-burger {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
	width: 42px; height: 42px; padding: 0 9px;
	background: transparent; border: 1px solid var(--c-line); border-radius: var(--r-md);
	cursor: pointer;
}
@media (min-width: 1060px) { .smt-burger { display: none; } }
.smt-burger span { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.smt-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.smt-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.smt-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.smt-drawer {
	position: fixed; inset: 0; z-index: 95;
	background: rgba(14,26,43,.5);
	opacity: 0; visibility: hidden;
	transition: opacity .2s ease, visibility .2s;
}
.smt-drawer[data-open="true"] { opacity: 1; visibility: visible; }
.smt-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(400px, 90vw);
	background: var(--c-paper);
	box-shadow: var(--shadow-lg);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateX(100%);
	transition: transform .24s cubic-bezier(.4,0,.2,1);
	padding: var(--s-4) var(--s-4) var(--s-9);
}
.smt-drawer[data-open="true"] .smt-drawer__panel { transform: translateX(0); }
.smt-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.smt-drawer__close {
	width: 40px; height: 40px; border: 1px solid var(--c-line);
	background: transparent; border-radius: var(--r-md); cursor: pointer;
	font-size: 1.3rem; line-height: 1; color: var(--c-ink-soft);
}
.smt-drawer ul { list-style: none; margin: 0; padding: 0; }
.smt-drawer li { margin: 0; border-bottom: 1px solid var(--c-line-soft); }
.smt-drawer a {
	display: block; padding: .78rem .25rem;
	font-size: var(--t-sm); font-weight: 600;
	color: var(--c-ink); text-decoration: none;
}
.smt-drawer .sub-menu { padding-left: var(--s-4); border-left: 2px solid var(--c-brand-tint); margin-bottom: var(--s-3); }
.smt-drawer .sub-menu a { font-weight: 450; color: var(--c-ink-soft); padding-block: .6rem; }
.smt-drawer__cta { margin-top: var(--s-5); display: grid; gap: var(--s-3); }

/* ==========================================================================
   6. Hero
   ========================================================================== */

.smt-hero {
	position: relative;
	background: var(--c-brand-dark);
	color: #dbe6f2;
	overflow: hidden;
	isolation: isolate;
}
.smt-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(90rem 40rem at 88% -10%, rgba(42,92,143,.55), transparent 60%),
		linear-gradient(180deg, #0f2742 0%, #122e4e 100%);
}
.smt-hero__grid-lines {
	position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
	mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.smt-hero__inner { display: grid; gap: var(--s-7); padding-block: var(--s-8); align-items: center; }
@media (min-width: 980px) {
	.smt-hero__inner { grid-template-columns: 1.08fr .92fr; gap: var(--s-8); padding-block: var(--s-9); }
}
.smt-hero h1 { color: #fff; margin-bottom: var(--s-4); }
.smt-hero__lede { font-size: var(--t-md); color: #c3d4e6; max-width: 36rem; }
.smt-hero .smt-eyebrow { color: #e0b659; }
.smt-hero .smt-eyebrow::before { background: #e0b659; }

.smt-hero__points { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); display: grid; gap: .55rem; }
.smt-hero__points li { position: relative; padding-left: 1.6rem; font-size: var(--t-sm); color: #cfdcea; margin: 0; }
.smt-hero__points li::before {
	content: ""; position: absolute; left: 0; top: .52em;
	width: .5rem; height: .5rem; border-radius: 50%;
	background: #e0b659;
	box-shadow: 0 0 0 4px rgba(224,182,89,.16);
}

.smt-hero__note { font-size: var(--t-xs); color: #93a8be; margin-top: var(--s-4); margin-bottom: 0; }
.smt-hero__note a { color: #cfe0f1; }

.smt-hero__figure {
	background: rgba(255,255,255,.055);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--r-lg);
	padding: var(--s-5);
	box-shadow: var(--shadow-lg);
}
.smt-hero__figure figcaption { font-size: var(--t-xs); color: #93a8be; margin-top: var(--s-3); }

.smt-hero__stats {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: var(--s-4); margin: var(--s-5) 0 0;
	padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.14);
}
.smt-hero__stat dt { font-size: var(--t-xs); color: #93a8be; letter-spacing: .04em; text-transform: uppercase; }
.smt-hero__stat dd { margin: .2rem 0 0; font-family: var(--f-serif); font-size: var(--t-lg); color: #fff; font-weight: 600; }

/* Interior hero: same dark home-page visual, with an enquiry panel on the right */
.smt-hero--inner {
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.smt-hero__inner--form {
	display: grid;
	gap: var(--s-6);
	padding-block: var(--s-7) var(--s-8);
	align-items: center;
}
@media (min-width: 980px) {
	.smt-hero__inner--form {
		grid-template-columns: 1.08fr .92fr;
		gap: var(--s-8);
		padding-block: var(--s-9);
	}
}
.smt-hero__copy { max-width: 38rem; }
.smt-hero__copy h1 { margin-bottom: var(--s-4); }
.smt-hero__meta {
	display: flex; flex-wrap: wrap;
	gap: var(--s-2) var(--s-3);
	margin-block: var(--s-5);
	padding-top: var(--s-5);
	border-top: 1px solid rgba(255,255,255,.14);
	font-size: var(--t-xs);
	color: #93a8be;
}
.smt-hero__meta span {
	display: inline-flex; align-items: center;
	gap: .45em;
	color: #cfdcea;
}
.smt-hero__meta span::before {
	content: "";
	width: .45rem; height: .45rem; border-radius: 50%;
	background: #e0b659;
}
.smt-hero__points--inner {
	display: flex; flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0 0 var(--s-6);
	padding: 0;
	list-style: none;
}
.smt-hero__point {
	display: inline-flex; align-items: center; gap: .45em;
	padding: .45rem .8rem;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	background: rgba(255,255,255,.06);
	font-size: var(--t-xs);
	color: #cfdcea;
}
.smt-hero__point::before {
	content: "";
	width: .4rem; height: .4rem; border-radius: 50%;
	background: #e0b659;
}
.smt-hero__form-col { display: grid; justify-items: end; }
.smt-hero__form-card {
	width: min(100%, 380px);
	display: grid;
	gap: var(--s-2);
	padding: var(--s-4);
	background: #fff;
	color: var(--c-ink);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--r-lg);
	box-shadow: 0 20px 50px -18px rgba(0,0,0,.58);
}
.smt-hero__form-kicker {
	display: inline-flex;
	padding: .28rem .56rem;
	margin-bottom: 0;
	border-radius: 999px;
	background: var(--c-surface);
	color: var(--c-brand-dark);
	font-family: var(--f-sans);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.smt-hero__form-card h2 {
	margin-bottom: 0;
	font-size: var(--t-lg);
	line-height: 1.15;
	letter-spacing: -.02em;
	background-image: linear-gradient(
		110deg,
		#0f2742 0%,
		#24364f 18%,
		#0a1627 32%,
		#2a5c8f 48%,
		#0f2742 64%,
		#365273 80%,
		#0f2742 100%
	);
	background-size: 220% 100%;
	background-position: 0% 50%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: smt-heading-shift 5.2s ease-in-out infinite;
}
.smt-hero__form-card > p {
	margin-bottom: var(--s-2);
	font-size: var(--t-xs);
	line-height: 1.35;
	color: var(--c-ink-soft);
}
.smt-hero__form-card .smt-panel {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}
.smt-hero__form-card .smt-form { gap: .42rem; }
.smt-hero__form-card .smt-form input[type="text"],
.smt-hero__form-card .smt-form input[type="tel"],
.smt-hero__form-card .smt-form input[type="email"],
.smt-hero__form-card .smt-form select,
.smt-hero__form-card .smt-form textarea {
	background: #f8fafd;
	border-color: var(--c-line);
	font-size: .78rem;
	padding: .42rem .55rem;
	border-radius: 6px;
}
.smt-hero__form-card .smt-form select { padding-right: 1.6rem; }
.smt-hero__form-card .smt-form textarea {
	min-height: 3.35rem;
	line-height: 1.32;
}
.smt-hero__form-card .smt-consent {
	gap: .42rem;
	margin-bottom: 0;
	font-size: .68rem;
	line-height: 1.28;
}
.smt-hero__form-card .smt-consent input { width: .82rem; height: .82rem; margin-top: .12rem; }
.smt-hero__form-card .smt-consent a { text-decoration: none; }
.smt-hero__form-card .smt-btn-row { margin-top: .15rem; gap: .35rem; }
.smt-hero__form-card .smt-btn { font-size: var(--t-xs); padding: .38em .62em; }
.smt-hero__form-card .smt-btn--lg { font-size: var(--t-xs); padding: .38em .62em; }
.smt-hero__form-card .smt-btn--ghost { color: var(--c-brand); border-color: var(--c-line); }
.smt-hero__form-card .smt-btn--ghost:hover { color: var(--c-brand-dark); }

@media (max-width: 979px) {
	.smt-hero__form-col { justify-items: stretch; }
	.smt-hero__form-card { width: 100%; }
}

/* ==========================================================================
   7. Breadcrumbs
   ========================================================================== */

.smt-crumbs { font-size: var(--t-xs); color: var(--c-ink-mute); padding-block: var(--s-3); }
.smt-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3em .5em; }
.smt-crumbs li { margin: 0; display: inline-flex; align-items: center; gap: .5em; }
.smt-crumbs li + li::before { content: "/"; color: var(--c-line); }
.smt-crumbs a { color: var(--c-ink-mute); text-decoration: none; }
.smt-crumbs a:hover { color: var(--c-brand); text-decoration: underline; }
.smt-crumbs [aria-current="page"] { color: var(--c-ink-soft); font-weight: 550; }

/* ==========================================================================
   8. Cards
   ========================================================================== */

.smt-card {
	display: flex; flex-direction: column;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	padding: var(--s-5);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.smt-card, .smt-card--link { text-decoration: none; color: inherit; }
.smt-card:hover { border-color: var(--c-brand-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.smt-card h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.smt-card p { color: var(--c-ink-soft); font-size: var(--t-sm); margin-bottom: var(--s-4); }
.smt-card > :last-child { margin-bottom: 0; }
.smt-card__foot { margin-top: auto; padding-top: var(--s-3); }

.smt-card__icon {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: var(--c-brand-tint); color: var(--c-brand);
	border-radius: var(--r-md);
	margin-bottom: var(--s-4);
}
.smt-card__icon svg { width: 20px; height: 20px; }

.smt-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: var(--s-3); }
.smt-pill {
	display: inline-block;
	font-size: .6875rem; font-weight: 600;
	letter-spacing: .03em;
	padding: .25em .6em;
	border-radius: 999px;
	background: var(--c-surface-2); color: var(--c-ink-soft);
}
.smt-pill--level { background: var(--c-accent-tint); color: var(--c-accent); }
.smt-pill--mode  { background: var(--c-wa-tint); color: var(--c-wa-dark); }

.smt-arrow-link {
	display: inline-flex; align-items: center; gap: .4em;
	font-size: var(--t-sm); font-weight: 600;
	color: var(--c-brand); text-decoration: none;
}
.smt-arrow-link::after { content: "\2192"; transition: transform .15s ease; }
.smt-card:hover .smt-arrow-link::after,
.smt-arrow-link:hover::after { transform: translateX(3px); }

/* Post cards */
.smt-post-card { padding: 0; overflow: hidden; }
.smt-post-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.smt-post-card__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-2); }
.smt-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.smt-post-card__meta { font-size: var(--t-xs); color: var(--c-ink-mute); margin-bottom: var(--s-2); display: flex; gap: .5em; flex-wrap: wrap; }
.smt-post-card h3 { font-size: var(--t-md); }
.smt-post-card h3 a { color: inherit; text-decoration: none; }
.smt-post-card h3 a:hover { color: var(--c-brand); }

.smt-cover {
	display: grid; place-items: center;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--c-brand-dark), var(--c-brand-mid));
	color: #fff;
	padding: var(--s-5);
	text-align: center;
}
.smt-cover span {
	font-family: var(--f-serif); font-size: var(--t-md);
	letter-spacing: -.01em; line-height: 1.3;
	opacity: .95;
}

/* ==========================================================================
   9. Prose (page and post content)
   ========================================================================== */

.smt-prose { font-size: var(--t-md); }
.smt-prose > :first-child { margin-top: 0; }
.smt-prose > :last-child { margin-bottom: 0; }

.smt-prose h2 {
	font-size: var(--t-2xl);
	margin-top: var(--s-8); margin-bottom: var(--s-4);
	padding-top: var(--s-5);
	border-top: 1px solid var(--c-line-soft);
}
.smt-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.smt-prose h3 { font-size: var(--t-xl); margin-top: var(--s-6); }
.smt-prose h4 { margin-top: var(--s-5); font-family: var(--f-sans); font-weight: 650; font-size: var(--t-md); }
.smt-prose p, .smt-prose li { color: var(--c-ink-soft); }
.smt-prose li { margin-bottom: .55em; }
.smt-prose strong { color: var(--c-ink); }
.smt-prose a { color: var(--c-brand-mid); font-weight: 500; }

.smt-prose ul { list-style: none; padding-left: 0; }
.smt-prose ul > li { position: relative; padding-left: 1.5rem; }
.smt-prose ul > li::before {
	content: ""; position: absolute; left: .25rem; top: .68em;
	width: .375rem; height: .375rem; border-radius: 50%;
	background: var(--c-brand-mid);
}
.smt-prose ol { padding-left: 1.4rem; }
.smt-prose ol > li::marker { color: var(--c-brand-mid); font-weight: 650; }

.smt-prose blockquote {
	margin: var(--s-6) 0;
	padding: var(--s-4) var(--s-5);
	border-left: 3px solid var(--c-accent);
	background: var(--c-accent-tint);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	font-family: var(--f-serif);
	font-size: var(--t-lg);
	color: var(--c-ink);
}
.smt-prose blockquote p:last-child { margin-bottom: 0; }

.smt-prose figure { margin: var(--s-6) 0; }
.smt-prose figcaption { font-size: var(--t-xs); color: var(--c-ink-mute); margin-top: var(--s-2); }

/* Tables */
.smt-table-scroll { overflow-x: auto; margin: var(--s-5) 0; -webkit-overflow-scrolling: touch; }
.smt-prose table, .smt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--t-sm);
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	overflow: hidden;
}
.smt-prose th, .smt-table th {
	text-align: left;
	background: var(--c-surface);
	font-weight: 650; color: var(--c-ink);
	padding: .7rem .85rem;
	border-bottom: 1px solid var(--c-line);
}
.smt-prose td, .smt-table td {
	padding: .7rem .85rem;
	border-bottom: 1px solid var(--c-line-soft);
	color: var(--c-ink-soft);
	vertical-align: top;
}
.smt-prose tbody tr:last-child td, .smt-table tbody tr:last-child td { border-bottom: 0; }
.smt-prose tbody tr:hover td { background: var(--c-surface); }

/* Callouts */
.smt-note {
	margin: var(--s-6) 0;
	padding: var(--s-4) var(--s-5);
	border: 1px solid var(--c-line);
	border-left: 3px solid var(--c-brand-mid);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: var(--c-surface);
	font-size: var(--t-sm);
}
.smt-note > :last-child { margin-bottom: 0; }
.smt-note__title {
	display: block;
	font-family: var(--f-sans); font-weight: 650;
	font-size: var(--t-sm);
	color: var(--c-ink);
	margin-bottom: var(--s-2);
}
.smt-note--risk { border-left-color: var(--c-warn); background: var(--c-warn-tint); }
.smt-note--risk .smt-note__title { color: var(--c-warn); }
.smt-note--key { border-left-color: var(--c-accent); background: var(--c-accent-tint); }

.smt-takeaways {
	margin: var(--s-6) 0;
	padding: var(--s-5);
	background: var(--c-brand-tint);
	border-radius: var(--r-lg);
}
.smt-takeaways h3 { font-size: var(--t-md); font-family: var(--f-sans); font-weight: 650; margin-bottom: var(--s-3); }
.smt-takeaways ul { margin-bottom: 0; }
.smt-takeaways li { color: var(--c-brand-dark); }
.smt-takeaways li::before { background: var(--c-brand) !important; }

/* ==========================================================================
   10. FAQ
   ========================================================================== */

.smt-faq { display: grid; gap: var(--s-3); margin: var(--s-5) 0; }
.smt-faq details {
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	background: var(--c-paper);
	overflow: hidden;
}
.smt-faq details[open] { border-color: var(--c-brand-mid); }
.smt-faq summary {
	display: flex; align-items: flex-start; gap: var(--s-3);
	padding: var(--s-4);
	cursor: pointer;
	font-family: var(--f-sans);
	font-weight: 600; font-size: var(--t-base);
	color: var(--c-ink);
	list-style: none;
}
.smt-faq summary::-webkit-details-marker { display: none; }
.smt-faq summary::after {
	content: "+";
	margin-left: auto;
	font-size: 1.3rem; line-height: 1;
	color: var(--c-brand-mid);
	flex: none;
}
.smt-faq details[open] summary::after { content: "\2212"; }
.smt-faq summary:hover { background: var(--c-surface); }
.smt-faq__answer { padding: 0 var(--s-4) var(--s-4); font-size: var(--t-sm); color: var(--c-ink-soft); }
.smt-faq__answer > :last-child { margin-bottom: 0; }

/* ==========================================================================
   11. CTA bands
   ========================================================================== */

.smt-cta {
	background: var(--c-brand-dark);
	color: #d7e3f0;
	border-radius: var(--r-lg);
	padding: var(--s-6);
	margin: var(--s-7) 0;
	position: relative; overflow: hidden;
}
.smt-cta::after {
	content: ""; position: absolute; right: -4rem; top: -6rem;
	width: 22rem; height: 22rem; border-radius: 50%;
	background: radial-gradient(circle, rgba(42,92,143,.5), transparent 68%);
	pointer-events: none;
}
.smt-cta__inner { position: relative; display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 820px) { .smt-cta__inner { grid-template-columns: 1fr auto; gap: var(--s-6); } }
.smt-cta h2, .smt-cta h3 { color: #fff; font-size: var(--t-xl); margin-bottom: var(--s-2); }
.smt-cta p { margin-bottom: 0; font-size: var(--t-sm); color: #b9c9db; max-width: 44rem; }
.smt-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.smt-cta--inline { padding: var(--s-5); }
.smt-cta--plain {
	background: var(--c-wa-tint);
	color: var(--c-ink-soft);
	border: 1px solid #c9e3df;
}
.smt-cta--plain::after { display: none; }
.smt-cta--plain h2, .smt-cta--plain h3 { color: var(--c-ink); }
.smt-cta--plain p { color: var(--c-ink-soft); }

/* ==========================================================================
   12. Link grids (cities, states, courses, localities)
   ========================================================================== */

.smt-linkgrid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
@media (min-width: 540px) { .smt-linkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .smt-linkgrid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .smt-linkgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.smt-linkgrid li { margin: 0; }
.smt-linkgrid a {
	display: flex; align-items: baseline; gap: .5em;
	padding: .6rem .8rem;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	font-size: var(--t-sm);
	color: var(--c-ink-soft);
	text-decoration: none;
	transition: border-color .14s ease, background-color .14s ease, color .14s ease;
	height: 100%;
}
.smt-linkgrid a:hover { border-color: var(--c-brand-mid); background: var(--c-brand-tint); color: var(--c-brand-dark); }
.smt-linkgrid a strong { font-weight: 600; color: var(--c-ink); }
.smt-linkgrid a:hover strong { color: var(--c-brand-dark); }
.smt-linkgrid a small { color: var(--c-ink-mute); font-size: var(--t-xs); margin-left: auto; text-align: right; }

.smt-chips { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: .4rem; }
.smt-chips li { margin: 0; }
.smt-chips a, .smt-chips span {
	display: inline-block;
	padding: .35em .75em;
	font-size: var(--t-xs); font-weight: 550;
	background: var(--c-surface-2);
	border-radius: 999px;
	color: var(--c-ink-soft);
	text-decoration: none;
}
.smt-chips a:hover { background: var(--c-brand-tint); color: var(--c-brand-dark); }

/* State directory accordion */
.smt-directory { display: grid; gap: var(--s-3); }
.smt-directory details {
	border: 1px solid var(--c-line); border-radius: var(--r-md);
	background: var(--c-paper);
}
.smt-directory summary {
	display: flex; align-items: center; gap: var(--s-3);
	padding: var(--s-4); cursor: pointer; list-style: none;
	font-family: var(--f-sans); font-weight: 650;
}
.smt-directory summary::-webkit-details-marker { display: none; }
.smt-directory summary::after {
	content: "+"; margin-left: auto; color: var(--c-brand-mid);
	font-size: 1.25rem; line-height: 1;
}
.smt-directory details[open] summary::after { content: "\2212"; }
.smt-directory summary small { font-weight: 450; color: var(--c-ink-mute); font-size: var(--t-xs); }
.smt-directory__body { padding: 0 var(--s-4) var(--s-4); }

.smt-az { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: var(--s-5); }
.smt-az a {
	display: grid; place-items: center;
	width: 2.1rem; height: 2.1rem;
	border: 1px solid var(--c-line); border-radius: var(--r-sm);
	font-size: var(--t-xs); font-weight: 650;
	text-decoration: none; color: var(--c-ink-soft);
}
.smt-az a:hover { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

/* ==========================================================================
   13. Sidebar / panels
   ========================================================================== */

.smt-aside { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .smt-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.smt-panel {
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	padding: var(--s-5);
	background: var(--c-paper);
}
.smt-panel--tint { background: var(--c-surface); }
.smt-panel h2, .smt-panel h3 {
	font-family: var(--f-sans);
	font-size: var(--t-sm); font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase;
	color: var(--c-ink-mute);
	margin-bottom: var(--s-4);
}
.smt-panel ul { list-style: none; padding: 0; margin: 0; }
.smt-panel li { margin: 0; border-bottom: 1px solid var(--c-line-soft); }
.smt-panel li:last-child { border-bottom: 0; }
.smt-panel li a { display: block; padding: .6rem 0; font-size: var(--t-sm); color: var(--c-ink-soft); text-decoration: none; }
.smt-panel li a:hover { color: var(--c-brand); }
.smt-panel__wa { display: grid; gap: var(--s-3); }
.smt-panel__wa p { font-size: var(--t-sm); color: var(--c-ink-soft); margin: 0; }

.smt-toc { font-size: var(--t-sm); }
.smt-toc ol { list-style: none; padding: 0; margin: 0; }
.smt-toc li { border: 0; margin-bottom: .1rem; }
.smt-toc a { display: block; padding: .3rem 0; color: var(--c-ink-soft); text-decoration: none; }
.smt-toc a:hover { color: var(--c-brand); }

/* ==========================================================================
   14. Forms
   ========================================================================== */

.smt-form { display: grid; gap: var(--s-4); }
.smt-form--compact { display: grid; gap: .42rem; }
.smt-form--compact input,
.smt-form--compact select,
.smt-form--compact textarea { padding: .36rem .5rem; font-size: .78rem; border-radius: 6px; }
.smt-form--compact select { padding-right: 1.6rem; }
.smt-form--compact textarea { min-height: 3.35rem; line-height: 1.32; }

.smt-field { display: grid; gap: .35rem; font-size: var(--t-sm); }
.smt-field label { font-size: var(--t-sm); font-weight: 600; color: var(--c-ink); }
.smt-field .req { color: #b3261e; }
.smt-field__hint { font-size: var(--t-xs); color: var(--c-ink-mute); }
.smt-form input[type="text"],
.smt-form input[type="tel"],
.smt-form input[type="email"],
.smt-form select,
.smt-form textarea {
	width: 100%;
	font-family: inherit; font-size: var(--t-sm);
	color: var(--c-ink);
	padding: .7rem .85rem;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	transition: border-color .14s ease, box-shadow .14s ease;
}
.smt-form input:focus, .smt-form select:focus, .smt-form textarea:focus {
	border-color: var(--c-brand-mid);
	box-shadow: 0 0 0 3px var(--c-brand-tint);
	outline: none;
}
.smt-form textarea { min-height: 7rem; resize: vertical; }
.smt-form select {
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2365718a' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .9rem center; background-size: 11px;
	padding-right: 2.2rem;
}
.smt-field--2 { display: grid; gap: var(--s-4); }
@media (min-width: 560px) { .smt-field--2 { grid-template-columns: 1fr 1fr; } }

.smt-consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-xs); color: var(--c-ink-mute); }
.smt-consent input { margin-top: .25rem; flex: none; width: 1rem; height: 1rem; accent-color: var(--c-brand); }

.smt-alert { padding: var(--s-4); border-radius: var(--r-md); font-size: var(--t-sm); border: 1px solid; }
.smt-alert--ok   { background: var(--c-wa-tint); border-color: #b8ddd7; color: var(--c-wa-dark); }
.smt-alert--err  { background: #fdeceb; border-color: #f3c9c6; color: #9b2820; }
.smt-alert > :last-child { margin-bottom: 0; }
.smt-hp { position: absolute; left: -9999px; }

/* ==========================================================================
   15. Pagination, archives, search, author
   ========================================================================== */

.smt-pagination { margin-top: var(--s-7); }
.smt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: center; }
.smt-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 2.4rem; height: 2.4rem; padding: 0 .6rem;
	border: 1px solid var(--c-line); border-radius: var(--r-md);
	font-size: var(--t-sm); font-weight: 600;
	color: var(--c-ink-soft); text-decoration: none;
}
.smt-pagination .page-numbers:hover { border-color: var(--c-brand-mid); color: var(--c-brand); }
.smt-pagination .page-numbers.current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.smt-pagination .dots { border: 0; }

.smt-archive-head { padding-block: var(--s-7) var(--s-5); }
.smt-archive-head h1 { font-size: var(--t-3xl); }
.smt-archive-head p { color: var(--c-ink-soft); font-size: var(--t-md); max-width: 46rem; }

.smt-postnav { display: grid; gap: var(--s-4); margin-top: var(--s-7); }
@media (min-width: 680px) { .smt-postnav { grid-template-columns: 1fr 1fr; } }
.smt-postnav a {
	display: block; padding: var(--s-4);
	border: 1px solid var(--c-line); border-radius: var(--r-md);
	text-decoration: none;
}
.smt-postnav a:hover { border-color: var(--c-brand-mid); background: var(--c-surface); }
.smt-postnav small { display: block; font-size: var(--t-xs); color: var(--c-ink-mute); margin-bottom: .25rem; }
.smt-postnav strong { font-family: var(--f-serif); font-weight: 600; font-size: var(--t-base); color: var(--c-ink); }
.smt-postnav .is-next { text-align: right; }

.smt-search-form { display: flex; gap: .5rem; }
.smt-search-form input[type="search"] {
	flex: 1; min-width: 0;
	font-family: inherit; font-size: var(--t-sm);
	padding: .7rem .85rem;
	border: 1px solid var(--c-line); border-radius: var(--r-md);
}

.smt-byline {
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
	font-size: var(--t-xs); color: var(--c-ink-mute);
	padding-bottom: var(--s-5);
	margin-bottom: var(--s-5);
	border-bottom: 1px solid var(--c-line);
}
.smt-byline strong { color: var(--c-ink); font-weight: 650; }

.smt-authorbox {
	display: grid; gap: var(--s-4);
	margin-top: var(--s-7);
	padding: var(--s-5);
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
}
@media (min-width: 620px) { .smt-authorbox { grid-template-columns: auto 1fr; } }
.smt-authorbox__avatar {
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--c-brand); color: #fff;
	display: grid; place-items: center;
	font-family: var(--f-serif); font-size: 1.3rem; font-weight: 600;
}
.smt-authorbox h2 { font-size: var(--t-md); margin-bottom: .25rem; }
.smt-authorbox p { font-size: var(--t-sm); color: var(--c-ink-soft); margin-bottom: 0; }
.smt-authorbox p + p { margin-top: var(--s-2); }

/* ==========================================================================
   16. Footer
   ========================================================================== */

.smt-footer { background: var(--c-brand-dark); color: #a9bdd1; font-size: var(--t-sm); margin-top: var(--s-8); }
.smt-footer__top { padding-block: var(--s-8) var(--s-6); }
.smt-footer__cols { display: grid; gap: var(--s-6); }
@media (min-width: 640px)  { .smt-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .smt-footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-7); } }
.smt-footer h2 {
	font-family: var(--f-sans);
	font-size: var(--t-xs); font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: #e0b659; margin-bottom: var(--s-4);
}
.smt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.smt-footer li { margin: 0; }
.smt-footer a { color: #c3d4e6; text-decoration: none; }
.smt-footer a:hover { color: #fff; text-decoration: underline; }
.smt-footer p { color: #93a8be; }
.smt-footer__brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--s-4); color: #fff; text-decoration: none; }
.smt-footer__brand .smt-brand__name { color: #fff; }
.smt-footer__brand .smt-brand__tag { color: #7e95ad; }
.smt-footer__wa {
	display: inline-flex; align-items: center; gap: .55rem;
	margin-top: var(--s-4);
	padding: .7rem 1.1rem;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--r-md);
	color: #fff !important; text-decoration: none !important;
	font-weight: 650;
}
.smt-footer__wa:hover { background: var(--c-wa); border-color: var(--c-wa); }
.smt-footer__risk {
	border-top: 1px solid rgba(255,255,255,.12);
	padding-block: var(--s-5);
	font-size: var(--t-xs); color: #8aa0b7;
}
.smt-footer__risk strong { color: #c3d4e6; }
.smt-footer__bar {
	border-top: 1px solid rgba(255,255,255,.12);
	padding-block: var(--s-4) var(--s-5);
	display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
	justify-content: space-between; align-items: center;
	font-size: var(--t-xs);
}
.smt-footer__bar ul { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ==========================================================================
   17. Sticky mobile enquiry bar
   ========================================================================== */

.smt-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--c-line);
	border-top: 1px solid var(--c-line);
	box-shadow: 0 -4px 18px rgba(14,26,43,.1);
	padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1060px) { .smt-sticky { display: none; } }
.smt-sticky a {
	display: flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9rem .5rem;
	background-color: var(--c-paper);
	font-size: var(--t-sm); font-weight: 650;
	color: var(--c-brand-dark); text-decoration: none;
}
.smt-sticky a svg { width: 1.1em; height: 1.1em; }
.smt-sticky a.is-wa { background-color: var(--c-wa); color: #fff; }
.smt-sticky a.is-wa:active { background: var(--c-wa-dark); }
@media (max-width: 1059px) { body { padding-bottom: 3.6rem; } }

/* ==========================================================================
   18. Utilities and misc
   ========================================================================== */

.smt-mb-0 { margin-bottom: 0 !important; }
.smt-mt-6 { margin-top: var(--s-6); }
.smt-center { text-align: center; }
.smt-muted { color: var(--c-ink-mute); }
.smt-small { font-size: var(--t-sm); }
.smt-xs { font-size: var(--t-xs); }

.smt-404 { padding-block: var(--s-9); text-align: center; }
.smt-404__code { font-family: var(--f-serif); font-size: 5rem; line-height: 1; color: var(--c-brand-tint); margin-bottom: var(--s-4); }
.smt-404__lede { font-size: var(--t-md); color: var(--c-ink-soft); max-width: 36rem; margin-inline: auto; }

/* WordPress core classes */
.alignleft  { float: left; margin: .4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--t-xs); color: var(--c-ink-mute); }

/* The tap-to-enquiry twin of the WhatsApp button */
.smt-sticky button {
	display: flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9rem .5rem;
	font-size: var(--t-sm); font-weight: 650;
	color: var(--c-brand-dark); text-decoration: none;
	cursor: pointer;
	border: 0;
	background-image: linear-gradient(120deg, #16375c 0%, #2a5c8f 38%, #e0b659 54%, #16375c 78%, #16375c 100%);
	background-size: 220% 100%;
	background-position: 0% 50%;
	animation: smt-button-fill 4.6s linear infinite;
	color: #fff;
}
.smt-sticky button svg { width: 1.1em; height: 1.1em; }
.smt-sticky button.is-enquiry { display: flex; }

/* Quick enquiry popup */
body.smt-quick-open { overflow: hidden; }
.smt-quick-enquiry {
	position: fixed; inset: 0; z-index: 110;
	display: grid; place-items: center;
	padding: var(--s-4);
	border: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .18s ease, visibility .18s;
}
.smt-quick-enquiry[data-open="true"] { opacity: 1; visibility: visible; }
.smt-quick-enquiry__backdrop {
	position: absolute; inset: 0;
	background: rgba(8, 16, 28, .68);
	backdrop-filter: blur(2px);
}
.smt-quick-enquiry__panel {
	position: relative;
	width: min(480px, 100%);
	max-height: min(760px, calc(100dvh - 1rem));
	overflow-y: auto;
	background: var(--c-paper);
	border-radius: var(--r-lg);
	box-shadow: 0 28px 72px -24px rgba(0,0,0,.82);
	padding: var(--s-5);
}
.smt-quick-enquiry__head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4);
	margin-bottom: var(--s-3);
}
.smt-quick-enquiry__kicker {
	font-size: .68rem; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--c-accent);
	margin-bottom: .25rem;
}
.smt-quick-enquiry__panel h2 {
	font-size: var(--t-xl);
	margin-bottom: .25rem;
}
.smt-quick-enquiry__close {
	display: grid; place-items: center;
	width: 40px; height: 40px; flex: none;
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	background: transparent;
	color: var(--c-ink-soft);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}
.smt-quick-enquiry__close:hover { background: var(--c-surface); color: var(--c-ink); }
.smt-quick-enquiry__body .smt-panel {
	padding: 0;
	border: 0;
	background: transparent;
}
.smt-quick-enquiry__body .smt-consent { font-size: .7rem; line-height: 1.35; }
.smt-quick-enquiry__body .smt-form { gap: .55rem; }
.smt-quick-enquiry__body .smt-btn--lg { font-size: var(--t-sm); padding: .75em 1.15em; }

@media print {
	.smt-header, .smt-footer, .smt-sticky, .smt-quick-enquiry, .smt-cta, .smt-drawer, .smt-aside { display: none !important; }
	body { font-size: 11pt; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Featured image on single articles */
.smt-featured{margin:0 0 var(--s-5,1.5rem);border-radius:var(--r-md,10px);overflow:hidden;background:#16375c}
.smt-featured img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover}
