/*
Theme Name: Scandere
Theme URI: https://scanderedev.com
Author: Scandere Software & Media
Author URI: https://scanderedev.com
Description: Custom theme for Scandere Software & Media. Aim higher. Build smarter. Rise together.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: scandere
*/

/* ---------- Brand tokens ---------- */
:root {
	--obsidian: #0F1115;
	--obsidian-2: #181B21;
	--parchment: #F5EFE3;
	--parchment-2: #ECE3D2;
	--amber: #E3A23B;
	--amber-dark: #C7871F;
	--teal: #1E7C78;
	--teal-light: #2A9C96;
	--slate: #56606B;
	--line: rgba(15, 17, 21, .12);
	--line-light: rgba(245, 239, 227, .14);

	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--wrap: 1180px;
	--pad: clamp(20px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--shadow: 0 1px 2px rgba(15,17,21,.06), 0 10px 30px -12px rgba(15,17,21,.18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 300;
	color: var(--obsidian);
	background: #FBF8F2;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-light); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--obsidian); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: 780px; }

/* ---------- Type helpers ---------- */
.eyebrow {
	font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--teal); margin-bottom: 14px;
}
.eyebrow-amber { color: var(--amber); }
.section-title { font-size: clamp(34px, 4.6vw, 54px); }
.section-lede, .page-lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--slate); max-width: 62ch; }
.card-kicker { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--sans); font-size: 15.5px; font-weight: 500; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn-amber { background: var(--amber); color: var(--obsidian); }
.btn-amber:hover { background: #EDB257; color: var(--obsidian); }
.btn-dark { background: var(--obsidian); color: var(--parchment); }
.btn-dark:hover { background: var(--obsidian-2); color: #fff; }
.btn-outline { border-color: var(--obsidian); color: var(--obsidian); }
.btn-outline:hover { background: var(--obsidian); color: var(--parchment); }
.btn-ghost-light { border-color: rgba(245,239,227,.4); color: var(--parchment); }
.btn-ghost-light:hover { border-color: var(--parchment); color: #fff; background: rgba(245,239,227,.06); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--teal); }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(15,17,21,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--line-light);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--parchment); }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; color: var(--parchment); }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.brand-descriptor { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--amber); font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: rgba(245,239,227,.82); text-decoration: none; font-size: 15.5px; font-weight: 400; position: relative; padding: 6px 0; }
.nav-list a:hover, .nav-list .current-menu-item a { color: #fff; }
.nav-list .current-menu-item a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--amber); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 24px; height: 2px; background: var(--parchment); position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--obsidian); padding: 12px var(--pad) 28px; border-bottom: 1px solid var(--line-light);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
	}
	.admin-bar .site-nav { top: 122px; }
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line-light); }
	.nav-list .current-menu-item a::after { display: none; }
	.nav-cta { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--obsidian); color: var(--parchment); padding: clamp(56px, 8vw, 110px) 0 0; }
.hero-grid-lines {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(48px, 7.4vw, 96px); font-weight: 600; line-height: .98; margin-bottom: 28px; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--amber); font-style: italic; font-weight: 500; }
.hero-lede { font-size: clamp(17px, 1.7vw, 20px); color: rgba(245,239,227,.78); max-width: 54ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { max-width: 460px; justify-self: end; width: 100%; }
.climb-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: climb 2.4s .4s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes climb { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .climb-line { animation: none; stroke-dashoffset: 0; } }
.hero-strip {
	position: relative; display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: space-between;
	margin-top: clamp(48px, 7vw, 90px); padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line-light);
	font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,239,227,.55);
}
@media (max-width: 860px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { max-width: 300px; justify-self: start; order: -1; }
	.hero-strip { justify-content: flex-start; }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--obsidian); color: var(--parchment); padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero::after {
	content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(30,124,120,.35), transparent 65%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-sm { padding: clamp(48px, 7vw, 90px) 0 clamp(40px, 5vw, 64px); }
.page-title { font-size: clamp(40px, 6vw, 76px); max-width: 18ch; }
.page-hero .page-lede { color: rgba(245,239,227,.75); }
.back-link { display: inline-block; color: rgba(245,239,227,.7); text-decoration: none; margin-bottom: 18px; font-size: 15px; }
.back-link:hover { color: var(--amber); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump-links a {
	color: var(--parchment); text-decoration: none; font-size: 14.5px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-light);
}
.jump-links a:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-parchment { background: var(--parchment); }
.section-dark { background: var(--obsidian); color: var(--parchment); }
.section-dark .section-lede { color: rgba(245,239,227,.72); }
.section-dark .card-kicker { color: rgba(245,239,227,.55); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .card-grid-3 { grid-template-columns: 1fr; } }
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
	display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-title { font-size: 34px; }
.card p { color: var(--slate); }
.mini-list { list-style: none; padding: 18px 0 0; margin: 4px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.mini-list li { display: flex; align-items: center; gap: 12px; font-weight: 400; }
.mini-list .icon { width: 22px; height: 22px; color: var(--teal); flex: none; }
.card .text-link { margin-top: auto; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 34px 32px 10px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar h3 { font-size: 34px; }
.pillar p { color: var(--slate); }
.pillar-num { display: block; font-size: 13px; letter-spacing: .2em; color: var(--amber-dark); font-weight: 500; margin-bottom: 18px; }
@media (max-width: 860px) {
	.pillars { grid-template-columns: 1fr; }
	.pillar, .pillar + .pillar { padding: 28px 0 8px; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { border-top: 1px solid var(--line-light); padding-top: 26px; }
.steps h3 { font-size: 28px; color: var(--parchment); }
.steps p { color: rgba(245,239,227,.68); font-size: 16px; }
.step-num {
	display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 1.5px solid var(--amber); color: var(--amber); font-weight: 500; margin-bottom: 18px;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.service-group-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.service-group-head { position: sticky; top: 110px; }
.service-list { display: grid; gap: 18px; }
.service {
	display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px; border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line);
}
.section-parchment .service { background: #FBF8F2; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(30,124,120,.1); color: var(--teal); display: grid; place-items: center; }
.service-icon .icon { width: 28px; height: 28px; }
.service-title { font-size: 30px; }
.service p { color: var(--slate); }
.tick-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.tick-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15.5px; }
.tick-list .icon { width: 18px; height: 18px; color: var(--amber-dark); flex: none; margin-top: 4px; }
.tick-list-lg li { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
	.service-group-inner { grid-template-columns: 1fr; }
	.service-group-head { position: static; }
	.service { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px; }
}

.bundle {
	border: 1px solid var(--line-light); border-radius: var(--radius); padding: 34px 30px;
	display: flex; flex-direction: column; background: var(--obsidian-2);
}
.bundle-featured { border-color: var(--amber); background: linear-gradient(180deg, rgba(227,162,59,.1), rgba(227,162,59,0) 60%), var(--obsidian-2); }
.bundle-title { font-size: 32px; color: var(--parchment); }
.bundle p { color: rgba(245,239,227,.72); }
.bundle .tick-list { margin-bottom: 30px; color: var(--parchment); }
.bundle .tick-list .icon { color: var(--amber); }
.bundle .btn { margin-top: auto; align-self: flex-start; }

.support { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.support .btn { margin-top: 10px; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
	font-family: var(--sans); font-size: 14.5px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: #fff; color: var(--obsidian);
}
.filter:hover { border-color: var(--obsidian); }
.filter.is-active { background: var(--obsidian); color: var(--parchment); border-color: var(--obsidian); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }
.work-card[hidden] { display: none; }
.work-card-link { text-decoration: none; color: inherit; display: block; }
.work-thumb { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--parchment-2); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card-link:hover .work-thumb img { transform: scale(1.04); }
.work-thumb-empty { width: 100%; height: 100%; display: grid; place-items: center; background: var(--obsidian); }
.work-thumb-mark { width: 64px; height: 64px; color: rgba(245,239,227,.4); }
.work-meta { padding: 18px 2px 0; }
.work-title { font-size: 28px; margin-bottom: 6px; }
.work-title a { color: inherit; text-decoration: none; }
.work-excerpt { color: var(--slate); font-size: 16px; }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.empty-state .hero-actions { justify-content: center; }
.empty-mark { width: 72px; height: 72px; margin: 0 auto 24px; color: var(--obsidian); }
.empty-state h2 { font-size: 40px; }
.empty-state p { color: var(--slate); margin-bottom: 28px; }
.project-cover { margin-top: -40px; position: relative; z-index: 2; }
.project-cover img { border-radius: var(--radius); width: 100%; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(32px, 6vw, 90px); }
.about-story p { font-size: 18.5px; }
.about-story p:first-of-type::first-letter {
	font-family: var(--serif); float: left; font-size: 78px; line-height: .8; padding: 8px 12px 0 0; color: var(--teal); font-weight: 600;
}
.about-facts { display: grid; gap: 0; align-content: start; border-top: 2px solid var(--obsidian); }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.fact-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.fact-value { font-family: var(--serif); font-size: 24px; font-weight: 600; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.quote-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 14.5px; font-weight: 500; padding: 0; margin-bottom: 8px; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-weight: 400; color: var(--obsidian); background: #fff;
	border: 1px solid rgba(15,17,21,.2); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,124,120,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(15,17,21,.2); font-size: 14.5px; font-weight: 400; background: #fff; transition: all .15s; }
.chip input:checked + span { background: var(--obsidian); color: var(--parchment); border-color: var(--obsidian); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.notice-success { background: rgba(30,124,120,.1); border: 1px solid rgba(30,124,120,.35); }
.notice-error { background: rgba(200,70,50,.08); border: 1px solid rgba(200,70,50,.35); }
.contact-aside { background: var(--obsidian); color: var(--parchment); border-radius: var(--radius); padding: 34px 30px; position: sticky; top: 110px; }
.aside-title { font-size: 32px; }
.contact-method { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; color: var(--parchment); }
a.contact-method:hover .contact-method-value { color: var(--amber); }
.contact-method-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,239,227,.55); }
.contact-method-value { font-size: 17px; font-weight: 400; word-break: break-word; transition: color .2s; }
.aside-note { margin-top: 26px; }
.aside-note h3 { font-size: 22px; color: var(--amber); }
.aside-note ol { margin: 0; padding-left: 20px; color: rgba(245,239,227,.75); font-size: 15.5px; display: grid; gap: 8px; }
@media (max-width: 900px) { .contact-aside { position: static; } }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--teal); color: var(--parchment); padding: clamp(56px, 7vw, 90px) 0; position: relative; overflow: hidden; }
.cta-band::before {
	content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
	background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(245,239,227,.5) 22px 23px);
}
.cta-band-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .eyebrow-amber { color: #F6CB86; }
.cta-title { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
.cta-text { color: rgba(245,239,227,.85); max-width: 52ch; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.site-footer { background: var(--obsidian); color: rgba(245,239,227,.72); padding: 72px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-promise { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--parchment); margin-top: 22px; max-width: 22ch; line-height: 1.3; }
.footer-heading { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: rgba(245,239,227,.78); text-decoration: none; }
.footer-list a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-light); font-size: 14px; }
.footer-base p { margin: 0; }
.to-top { color: rgba(245,239,227,.6); text-decoration: none; }
.to-top:hover { color: var(--amber); }

/* ---------- Content from the editor ---------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 38px; margin-top: 1.6em; }
.entry-content h3 { font-size: 28px; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 3px solid var(--amber); font-family: var(--serif); font-size: 26px; font-style: italic; }
.post-item { padding: 28px 0; border-bottom: 1px solid var(--line); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
