/* Sahil Light — main stylesheet
   Change the look from the variables below. --accent is the muted gold; --accent-ink is the darker gold used for small text. */

:root {
	--bg: #FAF9F6;
	--surface: #ffffff;
	--soft: #F1EEE7;
	--ink: #171717;
	--ink-2: #4a4a4a;
	--muted: #777777;
	--line: #e7e3da;
	--accent: #B69A68;
	--accent-ink: #7f6535;
	--accent-soft: #f1eadb;
	--wa: #0f7a41;
	--radius: 12px;
	--max: 1180px;
	--pad: clamp(1.25rem, 5vw, 3rem);
	--font-h: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-b);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); letter-spacing: -.03em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -.04em; line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.25; font-weight: 700; }
h1 em, h2 em { font-style: normal; color: var(--accent-ink); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; line-height: 1.7; }
.muted { color: var(--muted); }
.eyebrow {
	font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
	display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid var(--ink);
	background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1;
	transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.5); }
.btn:not(.btn-outline):not(.btn-wa):not(.btn-light):not(.btn-ghost-light):hover { background: #2b2b2b; border-color: #2b2b2b; }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover .ic:not(.ic-fill) { transform: translateX(3px); }
.btn-sm { padding: .7rem 1.25rem; font-size: .88rem; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.wa-green { color: var(--wa); display: inline-flex; }
.btn-outline:hover .wa-green { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.link-arrow .ic { width: 1.05em; height: 1.05em; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(250,249,246,.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-h); font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
	width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
	display: grid; place-items: center; font-size: .8rem; letter-spacing: .02em;
}
.brand-name { font-size: 1.05rem; }
.custom-logo { max-height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: .25rem; }
.nav li a { display: block; padding: .5rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav li a:hover { background: var(--soft); color: var(--ink); }
.nav li a.is-current { color: var(--ink); background: var(--soft); font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tight { padding-top: clamp(2rem, 4vw, 3rem); }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { max-width: 18em; }
.empty { color: var(--muted); padding: 2rem 0; }

.page-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16em; }
.page-hero .lead { margin-top: 1.25rem; }
.page-hero .btn { margin-top: 1.5rem; }
.back { display: inline-block; font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; font-weight: 500; }
.back:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; z-index: 1; }
.eyebrow-pill {
	display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
	font-size: .82rem; font-weight: 500; color: var(--ink-2); background: #fff; margin-bottom: 1.5rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(182,154,104,.22); }
.hero-text { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--ink-2); max-width: 32em; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts .ic { color: var(--accent-ink); width: 1.1em; height: 1.1em; }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.portrait {
	aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--soft);
	border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 30px 60px -40px rgba(23,23,23,.35);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.portrait-ph { font-family: var(--font-h); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); letter-spacing: -.05em; color: var(--accent-ink); opacity: .55; }
.portrait-tag {
	position: absolute; left: -1.25rem; bottom: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: .85rem 1.15rem; box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); display: flex; flex-direction: column; line-height: 1.3;
}
.portrait-tag strong { font-family: var(--font-h); font-size: .98rem; }
.portrait-tag span { font-size: .8rem; color: var(--muted); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
	display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(0,0,0,.35); border-color: #d9d3c4; }
.card-media { aspect-ratio: 2 / 1; background: var(--tint, var(--soft)); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-initial { font-family: var(--font-h); font-weight: 800; font-size: 4.5rem; letter-spacing: -.05em; color: var(--accent-ink); opacity: .5; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-meta { display: flex; gap: .6rem; align-items: center; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.pill { background: var(--accent-soft); color: var(--accent-ink); padding: .15rem .6rem; border-radius: 999px; letter-spacing: .04em; text-transform: none; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--ink-2); font-size: .95rem; line-height: 1.6; }
.card-link { margin-top: auto; padding-top: .75rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; }
.card-link .ic { width: 1.05em; height: 1.05em; transition: transform .2s; }
.card:hover .card-link .ic { transform: translateX(5px); }
.reveal > .card { height: 100%; }
.grid > .reveal { height: 100%; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 70px 1.3fr 1fr; gap: 1.5rem; align-items: start; padding: 2rem .5rem; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.svc-row:hover { background: #fff; padding-left: 1.25rem; padding-right: 1.25rem; }
.svc-num { font-family: var(--font-h); font-weight: 800; font-size: 1rem; color: var(--accent-ink); letter-spacing: .04em; padding-top: .25rem; }
.svc-main h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.svc-main p { color: var(--ink-2); max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; align-content: flex-start; }
.tags li { font-size: .8rem; font-weight: 500; padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.section-soft .tags li { background: #fff; }

.svc-detail { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
.svc-detail:first-child { border-top: 0; }
.svc-detail-head { display: flex; flex-direction: column; gap: .75rem; }
.svc-detail-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc-detail-body { display: flex; flex-direction: column; gap: 1.5rem; }
.ticks { display: grid; gap: .75rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.ticks .ic { color: var(--accent-ink); margin-top: .22rem; width: 1.1em; height: 1.1em; }

/* ---------- Split sections, steps ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split .lead { margin: 1.25rem 0 1.75rem; }
.split-faq { grid-template-columns: 1fr 1.4fr; }
.split-faq .lead { margin-bottom: 1.25rem; }
.steps { display: grid; gap: 1.1rem; counter-reset: s; }
.steps li { display: flex; gap: 1.1rem; padding: 1.4rem 1.5rem; background: var(--soft); border-radius: var(--radius); }
.steps li p { color: var(--ink-2); font-size: .95rem; margin-top: .3rem; }
.step-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; font-size: .9rem; }
.section-soft .steps li { background: #fff; }
.steps-row { grid-template-columns: repeat(4, 1fr); }
.steps-row li { flex-direction: column; }

.toolkit { display: grid; gap: 1.5rem; }
.toolkit h3 { font-size: 1rem; margin-bottom: .75rem; }

.about-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-hero .prose { margin-top: 1.5rem; }
.about-hero .hero-actions { margin-top: 1.75rem; }
.portrait-sm { max-width: 400px; justify-self: end; width: 100%; }

.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: .5rem; }
.timeline li { position: relative; padding: 0 0 2rem 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff; }
.when { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.timeline h3 { margin: .25rem 0 .4rem; }
.timeline p { color: var(--ink-2); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; height: 100%; }
.quote blockquote { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.quote blockquote::before { content: '\201C'; display: block; font-family: var(--font-h); font-size: 3rem; line-height: .6; color: var(--accent-ink); margin-bottom: .5rem; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .92rem; }
.quote figcaption span { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 0; position: relative;
	font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
	border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 1.1rem; font-weight: 500; transition: all .25s;
}
.faq-item[open] summary::after { content: '\2212'; background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-a { padding: 0 3rem 1.4rem 0; color: var(--ink-2); max-width: 40em; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 0; }
.cta {
	background: var(--ink); color: #fff; border-radius: 20px; padding: clamp(2rem, 6vw, 4.5rem);
	display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta h2 { color: #fff; max-width: 14em; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { color: rgba(255,255,255,.72); margin-top: .9rem; max-width: 30em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list > li > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--soft); color: var(--ink); }
.contact-list > li > .ic-fill { color: var(--wa); }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list strong { font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent-ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 30px 60px -50px rgba(0,0,0,.4); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,14,14,.07); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; font-weight: 500; }
.form-note-ok { background: #e7f5ec; color: #0b5c31; }
.form-note-bad { background: #fbeaea; color: #8a1f1f; }

/* ---------- Project page, prose ---------- */
.project-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project-cover { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 2rem; }
.project-ph { aspect-ratio: 4 / 3; background: var(--tint, var(--soft)); display: grid; place-items: center; }
.project-ph span { font-family: var(--font-h); font-weight: 800; font-size: clamp(6rem, 16vw, 11rem); letter-spacing: -.05em; color: var(--accent-ink); opacity: .45; }
.project-side { background: var(--soft); border-radius: 14px; padding: 1.75rem; position: sticky; top: 100px; }
.side-title { font-size: 1.1rem; margin-bottom: 1.1rem; }
.side-note { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.prose { color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.8em; color: var(--ink); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 16px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 3rem; }
.pager .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; padding: 0 .7rem; }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }


/* ---------- Work grid, gallery ---------- */
.grid-work .card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gallery { align-items: start; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.5rem); margin-top: 1.25rem; }
.gallery-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.gallery-item img { width: 100%; height: auto; }
.admin-hint { font-size: .85rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: .75rem 1rem; margin-top: 1rem; max-width: 40em; }

/* ---------- Training and experience ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.cred { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cred-kind { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.cred h3 { font-size: 1.3rem; }
.cred-meta { margin: 0; display: grid; gap: .6rem; width: 100%; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cred-meta div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; font-size: .93rem; }
.cred-meta dt { color: var(--muted); }
.cred-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.cred-detail { color: var(--ink-2); font-size: .95rem; }
.cert-dialog { border: 0; padding: 0; border-radius: 14px; max-width: min(92vw, 860px); max-height: 92vh; background: #fff; overflow: auto; }
.cert-dialog::backdrop { background: rgba(23,23,23,.6); }
.cert-dialog img { width: 100%; height: auto; display: block; }
.cert-close { position: absolute; top: .6rem; right: .6rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.3rem; line-height: 1; }
.empty-state { max-width: 36em; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.empty-state h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .75rem; }
.empty-state p { color: var(--ink-2); }

/* ---------- Hero entrance ---------- */
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .hero-copy > :nth-child(5) { animation-delay: .32s; }
.js .hero-visual { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .15s both; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.foot-brand p { margin-top: 1rem; color: var(--ink-2); font-size: .93rem; max-width: 22em; }
.foot-col { display: flex; flex-direction: column; gap: .55rem; font-size: .93rem; color: var(--ink-2); }
.foot-col h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .5rem; font-family: var(--font-b); font-weight: 600; }
.foot-col a:hover { color: var(--accent-ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; color: var(--muted); }
.foot-socials { display: flex; gap: 1.25rem; }
.foot-socials a:hover { color: var(--ink); }

.wa-fab {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
	display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(15,122,65,.6); transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab .ic { width: 28px; height: 28px; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.hero-grid, .about-hero, .split, .split-faq, .contact-grid, .project-layout, .svc-detail { grid-template-columns: 1fr; }
	.hero-visual, .portrait-sm { justify-self: start; max-width: 340px; }
	.portrait-tag { left: 1rem; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.cred-grid { grid-template-columns: 1fr; }
	.steps-row { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.project-side { position: static; }
	.svc-row { grid-template-columns: 50px 1fr; }
	.svc-row .tags { grid-column: 2; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav {
		position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 1rem;
		padding: 1rem var(--pad) 2rem; border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav.open { transform: none; opacity: 1; visibility: visible; }
	.nav ul { flex-direction: column; }
	.nav li a { padding: .9rem .5rem; font-size: 1.05rem; border-radius: 10px; }
	.nav-cta { align-self: stretch; padding: 1rem; }
}
@media (max-width: 620px) {
	.grid-3, .steps-row, .form-row, .foot-grid, .gallery { grid-template-columns: 1fr; }
	.cred-meta div { grid-template-columns: 1fr; gap: .1rem; }
	.hero-actions .btn, .cta-actions .btn { width: 100%; }
	.cta-actions { width: 100%; }
	.faq-item summary { font-size: 1rem; }
	.faq-a { padding-right: 0; }
	.svc-row:hover { padding-left: .5rem; padding-right: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Education timeline, social row ---------- */
.edu-timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: .5rem; }
.edu-timeline li { position: relative; padding: 0 0 2rem 2rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.edu-timeline li:last-child { padding-bottom: 0; }
.edu-timeline li::before { content: ''; position: absolute; left: -7px; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.edu-timeline h3 { font-size: 1.15rem; }
.edu-timeline p { color: var(--ink-2); font-size: .95rem; }
.edu-timeline .edu-org { color: var(--ink); font-weight: 500; }
.edu-timeline .btn { margin-top: .6rem; }
.elsewhere { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; margin-top: 1.5rem; font-size: .92rem; color: var(--muted); }
.elsewhere a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.elsewhere a:hover { border-color: var(--ink); }
