/* ============================================================
   TUCSON SEO CO. — main stylesheet
   v1.0.0 · Saguaro & Ochre · Playfair Display + Inter
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
	--saguaro: #2D4A2B;
	--saguaro-deep: #1F3520;
	--saguaro-soft: #4A6B47;
	--ochre: #C68E3F;
	--ochre-deep: #A67429;
	--ochre-soft: #E6B776;
	--sand: #E8DCC4;
	--sand-deep: #D9C8A4;
	--bone: #FAF7F0;
	--bone-warm: #F5EFDE;
	--ink: #1F1F1F;
	--ink-soft: #44403c;
	--muted: #78716c;
	--rule: #d8d2c0;

	--font-serif: 'Playfair Display', Georgia, serif;
	--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, monospace;

	--container-max: 1440px;
	--container-pad: 56px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--bone);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 15px;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select, button { font: inherit; color: inherit; }

/* Subtle paper grain — top layer */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 200;
	opacity: 0.04;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.serif { font-family: var(--font-serif); }
.sans { font-family: var(--font-sans); }
.mono { font-family: var(--font-mono); }
.it { font-style: italic; font-weight: 500; color: var(--ochre); }
.em { color: var(--ochre); font-style: italic; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ochre); text-transform: uppercase; font-weight: 600; }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

/* Editorial section opener (number + label + title) */
/* Clean section title (homepage) — no big numbers, no monospace labels. Those are blog-format only. */
.section-opener { margin-bottom: 56px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.section-opener .num { display: none; }
.section-opener .meta .label { display: none; }
.section-opener .meta .title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.015em; line-height: 1.1; color: var(--saguaro); }
.section-opener.on-saguaro { border-bottom-color: rgba(232,220,196,0.3); }
.section-opener.on-saguaro .meta .title { color: var(--bone); }

/* ============================================================
   NAV (sticky)
   ============================================================ */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 247, 240, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--rule);
}
.site-nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 56px; padding: 22px 0; }
.site-nav__logo { display: flex; align-items: center; gap: 14px; }
.site-nav__logo svg { width: 72px; height: auto; }
.site-nav__logo .wordmark { font-family: var(--font-serif); font-weight: 800; font-size: 26px; color: var(--saguaro); letter-spacing: -0.012em; }
.site-nav__links { display: flex; gap: 32px; justify-content: center; font-size: 14px; font-weight: 500; }
.site-nav__links a { position: relative; padding: 6px 0; transition: color 0.15s; }
.site-nav__links a:hover { color: var(--saguaro); }
.site-nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; background: var(--saguaro); color: var(--bone); font-size: 13px; font-weight: 600; transition: background 0.15s; }
.site-nav__cta:hover { background: var(--saguaro-deep); color: var(--bone); }
.site-nav__cta .phone { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }

/* Hamburger */
.site-nav__toggle { display: none; padding: 8px; }
.site-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--saguaro); margin: 4px 0; transition: all 0.2s; }

/* ============================================================
   HERO (parallax — bg image with baked-in sun drifts at slower speed)
   ============================================================ */
.hero {
	position: relative;
	min-height: 760px;
	background-color: var(--bone);
	overflow: hidden;
}
.hero__bg {
	position: absolute;
	top: -8%;
	left: -6%;
	right: -6%;
	bottom: -8%;
	background-image: url('../images/hero-edition.jpg');
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	z-index: 1;
	will-change: transform;
	animation: hero-ken-burns 28s ease-in-out infinite alternate !important;
	transform-origin: 65% 50%;
}
@keyframes hero-ken-burns {
	0%   { transform: scale(1) translate(0, 0); }
	100% { transform: scale(1.14) translate(-3%, -2.5%); }
}
@media (prefers-reduced-motion: reduce) {
	.hero__bg { animation: none; transform: none; }
}
.hero .container { position: relative; z-index: 3; min-height: 760px; display: flex; align-items: center; }
.hero__num { position: absolute; left: var(--container-pad); top: 48px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ochre); }
.hero__content { max-width: 580px; padding: 80px 0; }
.hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 12px;
	background: var(--bone);
	border: 1px solid var(--saguaro);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--saguaro);
	font-weight: 600;
	margin-bottom: 22px;
	transition: background 0.18s, color 0.18s, transform 0.18s;
	box-shadow: 0 1px 0 rgba(31,31,31,0.04);
}
.hero__pill:hover { background: var(--saguaro); color: var(--bone); }
.hero__pill:hover .hero__pill-dot { background: var(--ochre); box-shadow: 0 0 0 3px rgba(198,142,63,0.25); }
.hero__pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); display: inline-block; transition: box-shadow 0.18s; }
.hero__pill-arrow { font-size: 12px; opacity: 0.7; transition: transform 0.18s; }
.hero__pill:hover .hero__pill-arrow { transform: translateX(3px); opacity: 1; }
.hero__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ochre); text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.hero__h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(56px, 7vw, 104px); line-height: 0.94; letter-spacing: -0.035em; color: var(--saguaro); margin-bottom: 26px; }
.hero__h1 .it { font-style: italic; font-weight: 500; color: var(--ochre); }
.hero__lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 480px; margin-bottom: 36px; }
.hero__ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.hero__cta-primary { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--saguaro); text-transform: uppercase; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--saguaro); transition: gap 0.2s; }
.hero__cta-primary:hover { gap: 18px; color: var(--saguaro); }
.hero__cta-secondary { font-size: 14px; color: var(--ink-soft); font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--saguaro); color: var(--ochre-soft); padding: 24px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.marquee__track { display: inline-block; animation: scroll-left 90s linear infinite; font-family: var(--font-serif); font-weight: 700; font-size: 42px; letter-spacing: -0.02em; font-style: italic; }
.marquee__track .sep { color: var(--sand); margin: 0 22px; font-style: normal; font-weight: 400; }
.marquee__track .dot { color: var(--ochre); margin: 0 14px; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTION — MANIFESTO
   ============================================================ */
.manifesto { padding: 140px 0; background: var(--bone); }
.manifesto .section-opener { color: var(--saguaro); }
.manifesto__body { display: grid; grid-template-columns: 1fr 9fr 2fr; gap: 32px; }
.manifesto__text { grid-column: 2; }
.manifesto__h { font-family: var(--font-serif); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; letter-spacing: -0.012em; color: var(--saguaro); max-width: 900px; }
.manifesto__h .em { font-style: italic; font-weight: 500; color: var(--ochre); }
.manifesto__not { margin-top: 80px; display: grid; grid-template-columns: 200px 1fr; gap: 56px; padding-top: 40px; border-top: 1px solid var(--rule); }
.manifesto__not .head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre); padding-top: 6px; }
.manifesto__not .list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; }
.manifesto__not .item { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 12px 0; align-items: baseline; border-bottom: 1px solid var(--rule); }
.manifesto__not .item .x { color: var(--ochre); font-family: var(--font-mono); font-weight: 600; }
.manifesto__not .item .t { font-size: 15px; line-height: 1.5; }
.manifesto__not .item .t b { color: var(--saguaro); font-weight: 600; }

/* ============================================================
   SECTION — SERVICES
   ============================================================ */
.services { padding: 140px 0; background: var(--bone-warm); border-top: 1px solid var(--rule); }
.services .section-opener { color: var(--saguaro); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--saguaro); }
.svc-card { padding: 56px 48px; border-right: 1px solid var(--saguaro); border-bottom: 1px solid var(--saguaro); background: var(--bone); position: relative; transition: background 0.25s; min-height: 380px; display: flex; flex-direction: column; }
.svc-card:nth-child(2n) { border-right: none; }
.svc-card:nth-last-child(-n+2) { border-bottom: none; }
.svc-card:hover { background: var(--sand); }
.svc-card__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--ochre); font-weight: 600; margin-bottom: 18px; }
.svc-card__h { font-family: var(--font-serif); font-weight: 700; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; color: var(--saguaro); margin-bottom: 18px; }
.svc-card__h .it { font-style: italic; font-weight: 500; color: var(--ochre); }
.svc-card__body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 28px; }
.svc-card__deliv { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-soft); text-transform: uppercase; padding-top: 18px; border-top: 1px solid var(--rule); margin-top: auto; }
.svc-card__deliv .dl { color: var(--ochre); margin-right: 6px; font-weight: 600; }
.svc-card__arr { position: absolute; top: 56px; right: 48px; font-family: var(--font-mono); font-size: 18px; color: var(--saguaro); transition: transform 0.2s; }
.svc-card:hover .svc-card__arr { transform: translateX(8px); }

/* ============================================================
   SECTION — PROCESS (saguaro background, BOLD use of color)
   ============================================================ */
.process { padding: 140px 0; background: var(--saguaro); color: var(--bone); }
.process .section-opener { color: var(--sand); border-bottom-color: rgba(232,220,196,0.3); }
.process .section-opener .num { color: var(--ochre); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(232,220,196,0.3); margin-top: 24px; }
.step { padding: 64px 32px 48px 28px; border-right: 1px solid rgba(232,220,196,0.2); position: relative; }
.step:last-child { border-right: none; }
.step__n { font-family: var(--font-serif); font-weight: 700; font-style: italic; font-size: 44px; line-height: 1; color: var(--ochre); margin-bottom: 22px; letter-spacing: -0.02em; }
.step__h { font-family: var(--font-serif); font-weight: 700; font-size: 30px; color: var(--bone); margin-bottom: 12px; letter-spacing: -0.015em; line-height: 1.1; }
.step__body { font-size: 14px; color: var(--sand); line-height: 1.6; margin-bottom: 24px; }
.step__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--ochre); text-transform: uppercase; padding-top: 16px; border-top: 1px solid rgba(232,220,196,0.2); }

/* ============================================================
   SECTION — DEEP DIVE (4-card grid; visual but not blog format)
   ============================================================ */
.deepdive { padding: 120px 0; background: var(--bone); border-top: 1px solid var(--rule); }
.deepdive__intro { max-width: 760px; margin: 0 0 56px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.deepdive__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dd-card {
	background: var(--bone-warm);
	border: 1px solid var(--rule);
	border-top: 4px solid var(--ochre);
	padding: 40px 36px 36px;
	transition: background 0.2s, transform 0.2s, border-top-color 0.2s;
}
.dd-card:hover {
	background: var(--sand);
	border-top-color: var(--saguaro);
	transform: translateY(-2px);
}
.dd-card h3 {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.012em;
	color: var(--saguaro);
	margin-bottom: 16px;
}
.dd-card p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin: 0;
}
@media (max-width: 900px) {
	.deepdive__cards { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION — PULL QUOTE (simplified, no editorial attribution)
   ============================================================ */
.pullquote { padding: 100px 0; background: var(--sand); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.pullquote__inner { max-width: 1000px; padding: 0 var(--container-pad); margin: 0 auto; position: relative; text-align: center; }
.pullquote__quote { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.25; letter-spacing: -0.015em; color: var(--saguaro); font-style: italic; }
.pullquote__quote .em { color: var(--ochre); }

/* ============================================================
   SECTION — JOURNAL
   ============================================================ */
.journal { padding: 140px 0; background: var(--bone); }
.journal .section-opener { color: var(--saguaro); }
.journal__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 56px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.journal__head .ttl { font-family: var(--font-serif); font-weight: 700; font-size: 32px; color: var(--saguaro); letter-spacing: -0.015em; }
.journal__head .more { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--saguaro); text-transform: uppercase; font-weight: 600; padding-bottom: 4px; border-bottom: 2px solid var(--saguaro); }
.journal__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 0; border: 1px solid var(--rule); }
.feature-article { border-right: 1px solid var(--rule); background: var(--bone-warm); display: flex; flex-direction: column; }
.feature-article__img { display: block; width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; border-bottom: 1px solid var(--rule); }
.feature-article__body { padding: 40px 48px 48px; }
.feature-article__meta { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ochre); margin-bottom: 24px; flex-wrap: wrap; }
.feature-article__meta .dot { color: var(--ink-soft); }
.feature-article__h { font-family: var(--font-serif); font-weight: 700; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; color: var(--saguaro); margin-bottom: 20px; }
.feature-article__h .it { font-style: italic; font-weight: 500; color: var(--ochre); }
.feature-article__dek { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 32px; max-width: 540px; }
.feature-article__read { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--saguaro); text-transform: uppercase; font-weight: 600; padding-bottom: 4px; border-bottom: 2px solid var(--saguaro); display: inline-block; }
.side-articles { display: flex; flex-direction: column; }
.side-article { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 28px 32px; border-bottom: 1px solid var(--rule); flex: 1; align-items: center; }
.side-article:last-child { border-bottom: none; }
.side-article__img { display: block; width: 100%; height: 100%; min-height: 110px; background-size: cover; background-position: center; }
.side-article__body { display: flex; flex-direction: column; }
.side-article__meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ochre); margin-bottom: 14px; flex-wrap: wrap; }
.side-article__meta .dot { color: var(--ink-soft); }
.side-article__h { font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; color: var(--saguaro); margin-bottom: 14px; }
.side-article__dek { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================================
   SECTION — PARTNER
   ============================================================ */
.partner { padding: 140px 0; background: var(--ink); color: var(--bone); }
.partner .section-opener { color: var(--sand); border-bottom-color: rgba(232,220,196,0.3); }
.partner .section-opener .num { color: var(--ochre); }
.partner__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.partner__mark { padding: 64px 48px; border: 1px solid rgba(232,220,196,0.3); text-align: center; }
.partner__mark .pre { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ochre); text-transform: uppercase; margin-bottom: 24px; }
.partner__mark .name { font-family: var(--font-serif); font-weight: 800; font-size: 56px; color: var(--bone); letter-spacing: -0.025em; line-height: 1; }
.partner__mark .sub { font-size: 12px; color: var(--sand); margin-top: 16px; letter-spacing: 0.05em; }
.partner__text h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; color: var(--bone); margin-bottom: 24px; }
.partner__text h2 .it { font-style: italic; font-weight: 500; color: var(--ochre); }
.partner__text p { font-size: 17px; line-height: 1.65; color: var(--sand); margin-bottom: 16px; }
.partner__text .link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--ochre); text-transform: uppercase; font-weight: 600; padding-bottom: 4px; border-bottom: 2px solid var(--ochre); display: inline-block; margin-top: 16px; }

/* ============================================================
   SECTION — FINAL CTA
   ============================================================ */
.final-cta { padding: 160px 0; background: var(--ochre); color: var(--ink); position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(31,31,31,0.1); }
.final-cta::before { content: ""; position: absolute; bottom: -200px; left: -200px; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(31,31,31,0.1); }
.final-cta__inner { position: relative; max-width: 1100px; padding: 0 var(--container-pad); margin: 0 auto; }
.final-cta .pre { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--saguaro); text-transform: uppercase; margin-bottom: 32px; font-weight: 600; }
.final-cta h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: var(--saguaro); margin-bottom: 32px; }
.final-cta h2 .it { font-style: italic; font-weight: 500; color: var(--ink); }
.final-cta p { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 620px; margin-bottom: 48px; }
.final-cta__buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.final-cta__btn-primary { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--saguaro); color: var(--bone); font-size: 15px; font-weight: 600; transition: background 0.15s; }
.final-cta__btn-primary:hover { background: var(--saguaro-deep); color: var(--bone); }
.final-cta__btn-ghost { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; color: var(--ink); font-size: 15px; font-weight: 500; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--bone); padding: 100px 0 40px; }
.site-footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-bottom: 80px; border-bottom: 1px solid rgba(232,220,196,0.2); }
.site-footer__brand .logo-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.site-footer__brand .logo-row svg { width: 96px; height: auto; }
.site-footer__brand .logo-row .wordmark { font-family: var(--font-serif); font-weight: 800; font-size: 38px; color: var(--bone); letter-spacing: -0.015em; }
.site-footer__brand .pitch { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--sand); margin-bottom: 32px; max-width: 380px; }
.site-footer__brand .pitch .em { color: var(--ochre); font-style: italic; }
.site-footer__brand .contact { font-family: var(--font-mono); font-size: 12px; line-height: 1.9; color: var(--sand); letter-spacing: 0.05em; }
.site-footer__brand .contact .lbl { color: var(--ochre); display: inline-block; width: 50px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site-footer__col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ochre); text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.site-footer__col li { padding: 6px 0; }
.site-footer__col a { font-size: 14px; color: var(--sand); }
.site-footer__col a:hover { color: var(--ochre); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; flex-wrap: wrap; gap: 16px; }
.site-footer__bottom .l { display: flex; gap: 24px; }
.site-footer__bottom a:hover { color: var(--ochre); }

/* ============================================================
   PAGE TEMPLATES — Generic page.php
   ============================================================ */
.page-hero { padding: 140px 0 80px; background: var(--bone); border-bottom: 1px solid var(--rule); }
.page-hero .pre { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ochre); text-transform: uppercase; margin-bottom: 24px; font-weight: 600; }
.page-hero h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.035em; color: var(--saguaro); max-width: 1000px; }
.page-hero h1 .it { font-style: italic; font-weight: 500; color: var(--ochre); }
.page-hero .dek { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 700px; margin-top: 24px; }

.page-content { padding: 80px 0 140px; background: var(--bone); }
.page-content__inner { max-width: 800px; margin: 0 auto; padding: 0 var(--container-pad); }
.page-content__inner h2 { font-family: var(--font-serif); font-weight: 700; font-size: 40px; color: var(--saguaro); margin: 56px 0 20px; letter-spacing: -0.02em; line-height: 1.1; }
.page-content__inner h3 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; color: var(--saguaro); margin: 40px 0 14px; letter-spacing: -0.015em; }
.page-content__inner p { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 20px; }
.page-content__inner ul, .page-content__inner ol { margin: 20px 0; padding-left: 24px; }
.page-content__inner ul li, .page-content__inner ol li { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 8px; list-style: disc; padding-left: 8px; }
.page-content__inner ol li { list-style: decimal; }
.page-content__inner a { color: var(--saguaro); border-bottom: 1px solid var(--ochre); }
.page-content__inner a:hover { background: var(--sand); }
.page-content__inner blockquote { border-left: 3px solid var(--ochre); padding: 20px 0 20px 24px; margin: 32px 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.4; color: var(--saguaro); }
.page-content__inner img { margin: 32px 0; }
.page-content__inner pre { background: var(--bone-warm); padding: 24px; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; margin: 24px 0; border-left: 3px solid var(--saguaro); }
.page-content__inner code { font-family: var(--font-mono); font-size: 0.92em; background: var(--bone-warm); padding: 2px 6px; }

/* ============================================================
   BLOG SINGLE — Editorial format per mcpscraper reference
   ============================================================ */
.post-hero { padding: 100px 0 60px; background: var(--bone); border-bottom: 1px solid var(--rule); }
.post-hero__inner { max-width: 800px; margin: 0 auto; padding: 0 var(--container-pad); }
.post-hero__meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ochre); margin-bottom: 32px; flex-wrap: wrap; align-items: center; }
.post-hero__meta .dot { color: var(--ink-soft); }
.post-hero h1 { font-family: var(--font-serif); font-weight: 800; font-size: clamp(40px, 6vw, 88px); line-height: 1.0; letter-spacing: -0.035em; color: var(--saguaro); margin-bottom: 24px; }
.post-hero h1 .it { font-style: italic; font-weight: 500; color: var(--ochre); }
.post-hero__lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); }

.post-content { padding: 60px 0 140px; background: var(--bone); }
.post-content__inner { max-width: 720px; margin: 0 auto; padding: 0 var(--container-pad); }
.post-content__inner h2 { font-family: var(--font-serif); font-weight: 700; font-size: 36px; color: var(--saguaro); margin: 64px 0 18px; letter-spacing: -0.02em; line-height: 1.1; }
.post-content__inner h2::before { content: counter(section, decimal-leading-zero) ". "; counter-increment: section; font-family: var(--font-mono); font-size: 14px; color: var(--ochre); font-weight: 600; letter-spacing: 0.15em; display: block; margin-bottom: 6px; }
.post-content__inner h3 { font-family: var(--font-serif); font-weight: 700; font-size: 24px; color: var(--saguaro); margin: 40px 0 14px; }
.post-content__inner p { font-size: 17px; line-height: 1.75; color: var(--ink); margin-bottom: 18px; }
.post-content__inner p strong { color: var(--saguaro); font-weight: 700; }
.post-content__inner p em { color: var(--saguaro); font-style: italic; }
.post-content__inner ul, .post-content__inner ol { margin: 20px 0; padding-left: 24px; }
.post-content__inner ul li, .post-content__inner ol li { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 10px; list-style: disc; padding-left: 8px; }
.post-content__inner ol li { list-style: decimal; }
.post-content__inner a { color: var(--saguaro); border-bottom: 1px solid var(--ochre); }
.post-content__inner blockquote { background: var(--saguaro); color: var(--bone); padding: 28px 32px; margin: 32px 0; position: relative; font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.3; font-weight: 500; }
.post-content__inner blockquote::before { content: "PULL QUOTE"; position: absolute; top: -10px; left: 20px; background: var(--saguaro); padding: 0 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--ochre); text-transform: uppercase; font-style: normal; font-weight: 600; }

/* Editorial callout block style — applied via "Editorial Callout" block style */
.is-style-tsc-callout { background: var(--saguaro); color: var(--bone) !important; padding: 28px 32px; margin: 32px 0; position: relative; }
.is-style-tsc-callout::before { content: "CALLOUT"; position: absolute; top: -10px; left: 20px; background: var(--saguaro); padding: 0 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--ochre); text-transform: uppercase; }
.is-style-tsc-callout * { color: var(--bone) !important; }

/* TOC block for posts (rendered via TOC plugin or manually) */
.post-toc { background: var(--bone-warm); padding: 32px 36px; margin: 40px 0; border: 1px solid var(--rule); counter-reset: toc-section; }
.post-toc .head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ochre); text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.post-toc ol { list-style: none; padding: 0; counter-reset: toc-section; }
.post-toc ol li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); align-items: baseline; counter-increment: toc-section; font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--saguaro); }
.post-toc ol li::before { content: counter(toc-section, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--ochre); font-weight: 600; }
.post-toc ol li a { color: inherit; }

/* Initial counter for post sections */
.post-content__inner { counter-reset: section; }

/* ============================================================
   404
   ============================================================ */
.error-404 { padding: 200px 0; text-align: center; background: var(--bone); min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-404 .big { font-family: var(--font-serif); font-weight: 800; font-style: italic; font-size: clamp(120px, 20vw, 240px); line-height: 1; color: var(--ochre); letter-spacing: -0.04em; }
.error-404 h1 { font-family: var(--font-serif); font-weight: 800; font-size: 48px; color: var(--saguaro); margin: 24px 0 16px; letter-spacing: -0.02em; }
.error-404 p { font-size: 17px; color: var(--ink-soft); max-width: 460px; margin-bottom: 32px; padding: 0 24px; }
.error-404 .back { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.15em; color: var(--saguaro); text-transform: uppercase; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--saguaro); }

/* ============================================================
   CONTACT FORM — Web3Forms styling
   ============================================================ */
.tsc-form { display: grid; gap: 20px; max-width: 640px; margin-top: 32px; }
.tsc-form label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--saguaro); text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.tsc-form input[type="text"], .tsc-form input[type="email"], .tsc-form input[type="tel"], .tsc-form input[type="url"], .tsc-form textarea, .tsc-form select { width: 100%; padding: 14px 18px; background: var(--bone-warm); border: 1px solid var(--rule); font-family: var(--font-sans); font-size: 16px; color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.tsc-form input:focus, .tsc-form textarea:focus, .tsc-form select:focus { outline: none; border-color: var(--saguaro); background: var(--bone); }
.tsc-form textarea { resize: vertical; min-height: 140px; }
.tsc-form button[type="submit"] { padding: 16px 28px; background: var(--saguaro); color: var(--bone); border: none; font-family: var(--font-sans); font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.15s; justify-self: start; }
.tsc-form button[type="submit"]:hover { background: var(--saguaro-deep); }
.tsc-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tsc-form-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; padding: 12px 16px; margin-top: 12px; display: none; }
.tsc-form-status.success { display: block; background: var(--saguaro); color: var(--bone); }
.tsc-form-status.error { display: block; background: var(--ochre); color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
	:root { --container-pad: 32px; }
}
@media (max-width: 1000px) {
	.site-nav__inner { grid-template-columns: auto auto; }
	.site-nav__links { display: none; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bone); padding: 20px 32px; border-bottom: 1px solid var(--rule); }
	.site-nav__links.open { display: flex; }
	.site-nav__links a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
	.site-nav__toggle { display: block; }
	.hero { min-height: 560px; }
	.hero .container { min-height: 560px; }
	.hero__h1 { font-size: 56px; }
	.manifesto__body { grid-template-columns: 1fr; }
	.manifesto__text { grid-column: 1; }
	.manifesto__not { grid-template-columns: 1fr; gap: 24px; }
	.manifesto__not .list { grid-template-columns: 1fr; }
	.services__grid { grid-template-columns: 1fr; }
	.svc-card { border-right: none !important; border-bottom: 1px solid var(--saguaro) !important; }
	.svc-card:last-child { border-bottom: none !important; }
	.process__steps { grid-template-columns: 1fr 1fr; }
	.step { border-right: none !important; border-bottom: 1px solid rgba(232,220,196,0.2); padding: 32px 24px 40px 0; }
	.deepdive__grid { grid-template-columns: 1fr; }
	.deepdive__toc { position: static; }
	.journal__grid { grid-template-columns: 1fr; }
	.feature-article { border-right: none; border-bottom: 1px solid var(--rule); }
	.partner__grid { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__nav { grid-template-columns: repeat(3, 1fr); }
	.marquee__track { font-size: 28px; }
	.tsc-form .form-row { grid-template-columns: 1fr; }
	.manifesto, .services, .process, .deepdive, .pullquote, .journal, .partner, .final-cta { padding: 80px 0; }
}
@media (max-width: 600px) {
	.process__steps { grid-template-columns: 1fr; }
	.step { border-bottom: 1px solid rgba(232,220,196,0.2); }
	.site-footer__nav { grid-template-columns: 1fr 1fr; }
}
