/* DCardona Abogados y Consultores — front-end styles.
 * Palette and type from "Guía de uso logo DCardona" (Playfair Display;
 * 00284F, 1A4D82, 4880B5, 8BBAE8, CCE6FF, E9F5FF). */

:root {
	--navy: #00284f;
	--navy-deep: #001a35;
	--blue: #1a4d82;
	--blue-mid: #4880b5;
	--blue-soft: #8bbae8;
	--blue-pale: #cce6ff;
	--blue-mist: #e9f5ff;
	--ink: #0e1d2e;
	--muted: #4d5f73;
	--line: #d9e4ef;
	--white: #fff;

	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 18px;
	--radius-lg: 28px;
	--shadow: 0 18px 50px -20px rgba(0, 40, 79, .35);
	--section: clamp(72px, 10vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
	font-family: var(--font-body);
	font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--blue); margin-bottom: 14px;
}
.eyebrow-light { color: var(--blue-soft); }
.lead { font-size: 1.08rem; color: var(--muted); }
.section-heading { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.heading-mark img { width: 64px; margin: 0 auto 14px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
	font: 700 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-pale); }
.btn-on-dark:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; padding: 18px var(--gutter) 0; }
.header-bar {
	display: flex; align-items: center; gap: 24px;
	max-width: 1320px; margin-inline: auto; padding: 14px 18px 14px 30px;
	border-radius: 999px; background: rgba(0, 26, 53, .42);
	border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: background .3s, box-shadow .3s, padding .3s;
}
.brand { display: block; flex: none; }
.brand img { width: clamp(150px, 15vw, 200px); }
.site-header .brand-dark { display: none; }
.primary-nav { margin-inline: auto; }
.primary-nav .menu { display: flex; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; padding-block: 6px; }
.primary-nav .menu a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s; }
.primary-nav .menu a:hover::after { right: 0; }
.primary-nav .sub-menu { display: none; }
.nav-mobile-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-call { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.header-call small { display: block; font: 600 .74rem var(--font-body); opacity: .8; }
.call-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--navy); }
.call-icon .icon { width: 18px; height: 18px; }
.header-cta { min-height: 46px; padding: 0 24px; }
.nav-toggle { display: none; }

/* Solid header (inner pages, and after scrolling on the front page) */
.site-header.is-solid, .site-header.is-scrolled { position: fixed; padding-top: 10px; }
.site-header.is-solid .header-bar, .site-header.is-scrolled .header-bar {
	background: rgba(255, 255, 255, .96); border-color: var(--line); box-shadow: var(--shadow); padding-block: 10px;
}
.is-solid .brand-light, .is-scrolled .brand-light { display: none; }
.site-header.is-solid .brand-dark, .site-header.is-scrolled .brand-dark { display: block; }
.is-solid .primary-nav .menu a, .is-scrolled .primary-nav .menu a, .is-solid .header-call, .is-scrolled .header-call { color: var(--navy); }
.is-solid .call-icon, .is-scrolled .call-icon { background: var(--blue-mist); }
.site-header.is-scrolled { animation: header-in .35s ease-out; }
@keyframes header-in { from { transform: translateY(-100%); } }
body.admin-bar .site-header.is-solid, body.admin-bar .site-header.is-scrolled { top: 32px; }

/* Hero */
.hero {
	position: relative; min-height: min(100svh, 920px); display: grid; place-items: center;
	padding: 170px 0 120px; text-align: center; color: var(--white);
	background:
		linear-gradient(180deg, rgba(0, 26, 53, .78) 0%, rgba(0, 40, 79, .55) 45%, rgba(0, 26, 53, .9) 100%),
		var(--hero-image) center / cover no-repeat, var(--navy);
}
.hero-inner { max-width: 900px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: italic 400 1.2rem var(--font-display); color: var(--blue-pale); }
.hero-eyebrow span { width: 34px; height: 1px; background: var(--blue-soft); }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; margin-bottom: 22px; }
.hero-text { max-width: 620px; margin: 0 auto 38px; font-size: 1.1rem; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* About */
.about { position: relative; overflow: hidden; }
.about::before { content: ''; position: absolute; left: -180px; top: 80px; width: 420px; height: 420px; border-radius: 50%; background: var(--blue-mist); z-index: -1; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 230px 120px 200px; gap: 16px; }
.about-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.collage-a { grid-column: 1; grid-row: 1 / 3; }
.collage-b { grid-column: 2; grid-row: 1; }
.collage-c { grid-column: 1 / 3; grid-row: 3; border: 8px solid var(--white); margin: -60px 0 0 60px; width: calc(100% - 60px) !important; height: calc(100% + 60px) !important; box-shadow: var(--shadow); }
.collage-badge { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: var(--white); border-radius: var(--radius); font: italic 400 .98rem/1.3 var(--font-display); z-index: 1; }
.collage-badge img { width: 54px !important; height: auto !important; border-radius: 0 !important; }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list .icon { color: var(--white); background: var(--blue); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 2px; }

/* Why choose us */
.why { position: relative; background: linear-gradient(180deg, var(--white) 0 110px, var(--navy-deep) 110px); padding-bottom: 80px; overflow: hidden; color: var(--white); }
.why-grid { display: grid; grid-template-columns: 330px 1fr; position: relative; z-index: 1; box-shadow: var(--shadow); }
.why-cards { background: var(--white); color: var(--ink); }
.why-card { padding: 36px 32px; }
.why-card + .why-card { border-top: 1px solid var(--line); }
.why-card p { color: var(--muted); font-size: .95rem; }
.why-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.why-card-foot a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font: 700 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.why-card-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px 16px 16px 4px; background: var(--blue-mist); color: var(--blue); }
.why-card-icon .icon { width: 30px; height: 30px; }
.why-panel { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--navy); overflow: hidden; }
.why-panel-copy { padding: clamp(36px, 5vw, 60px); align-self: center; }
.why-panel h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.why-panel p:not(.eyebrow) { color: rgba(255, 255, 255, .82); margin-bottom: 30px; }
.why-panel-image { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.commitments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; position: relative; z-index: 1; }
.commitment { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px; border: 1px solid rgba(139, 186, 232, .25); border-radius: 999px; font: 500 1.15rem var(--font-display); color: var(--blue-pale); }
.commitment .icon { color: var(--blue-soft); width: 26px; height: 26px; }
.why-watermark { position: absolute; left: -60px; bottom: -40px; width: 380px; opacity: .05; pointer-events: none; }

/* Practice areas — staggered like the reference */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.area-card { display: flex; flex-direction: column; }
.area-card:nth-child(3n + 2) { margin-top: 56px; }
.area-card:nth-child(3n) { margin-top: 112px; }
.area-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: var(--white); margin-bottom: 20px; }
.area-icon .icon { width: 24px; height: 24px; }
.area-card h3 { font-size: 1.45rem; min-height: 2.4em; }
.area-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin: 6px 0 20px; background: var(--blue-mist); }
.area-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.area-card:hover .area-media img { transform: scale(1.06); }
.area-card p { color: var(--muted); font-size: .95rem; }
.area-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.area-link:hover { color: var(--blue-mid); }

/* Statement band */
.statement { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 520px; background: var(--navy); }
.statement-media { background: var(--statement-image) center / cover no-repeat; }
.statement-copy { padding: clamp(40px, 6vw, 80px); align-self: center; color: var(--white); }
.statement-mark { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: var(--blue); margin-bottom: 34px; box-shadow: 0 0 0 12px rgba(72, 128, 181, .22); }
.statement-mark { font: 400 4.2rem/1 var(--font-display); padding-top: 26px; }
.statement-quote { font: 400 clamp(1.5rem, 2.6vw, 2rem)/1.35 var(--font-display); }
.statement-sign { color: var(--blue-soft); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-top: 26px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card:nth-child(even) { margin-top: 32px; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue-mist); display: grid; place-items: center; margin-bottom: 18px; }
.team-photo img:not(.team-placeholder) { width: 100%; height: 100%; object-fit: cover; }
.team-placeholder { width: 45%; opacity: .25; }
.team-card h3 { margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: .9rem; }

/* Method strip */
.method { padding-bottom: 0; }
.method-strip { position: relative; background: linear-gradient(180deg, rgba(0, 26, 53, .45), rgba(0, 26, 53, .92)), var(--method-image) center / cover no-repeat, var(--navy); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; min-height: 440px; }
.method-step { display: flex; flex-direction: column; justify-content: flex-end; padding: 40px clamp(20px, 2.6vw, 36px); color: var(--white); border-left: 1px solid rgba(255, 255, 255, .22); transition: background .35s; }
.method-step:first-child { border-left: 0; }
.method-step:hover { background: rgba(26, 77, 130, .55); }
.method-number { font: 400 2.6rem var(--font-display); color: var(--blue-soft); margin-bottom: auto; }
.method-step h3 { color: var(--white); margin-bottom: 8px; }
.method-step p { color: rgba(255, 255, 255, .8); font-size: .92rem; margin: 0; }

/* Testimonials */
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.testimonial-card { margin: 0; padding: 34px; background: var(--blue-mist); border-radius: var(--radius); scroll-snap-align: start; display: flex; flex-direction: column; }
.testimonial-mark { font: 400 3.6rem/.6 var(--font-display); color: var(--blue-mid); padding-top: 18px; }
.testimonial-card blockquote { margin: 16px 0 24px; color: var(--muted); }
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card strong { display: block; font: 500 1.1rem var(--font-display); color: var(--navy); }
.testimonial-card small { color: var(--muted); }

/* Contact */
.contact { background: var(--blue-mist); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-info { background: var(--navy); color: var(--white); padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.contact-info::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(139, 186, 232, .08); }
.contact-info h2 { color: var(--white); }
.contact-info > p { color: rgba(255, 255, 255, .8); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { display: block; color: var(--blue-soft); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.contact-list a { color: var(--white); text-decoration: none; font-family: var(--font-display); font-size: 1.1rem; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(139, 186, 232, .14); color: var(--blue-soft); }
.contact-form-card { background: var(--white); padding: clamp(32px, 5vw, 56px); }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff;
	font: 400 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 4px rgba(72, 128, 181, .18); }
.field textarea { resize: vertical; min-height: 120px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.form-notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; background: #fdecec; color: #8a1c1c; }
.form-notice.is-recibida { background: #e6f6ec; color: #135b2f; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-media { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 18px; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-card time { color: var(--blue-mid); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2, .post-card h3 { font-size: 1.35rem; margin: 6px 0 10px; }
.post-card h2 a, .post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .95rem; }

/* Inner pages */
.page-hero { padding: 180px 0 90px; color: var(--white); background: linear-gradient(rgba(0, 26, 53, .82), rgba(0, 26, 53, .9)), var(--hero-image) center / cover, var(--navy); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.page-content { padding-block: 72px; }
.entry { max-width: 760px; margin-inline: auto; font-size: 1.05rem; }
.entry-meta { color: var(--blue-mid); font-weight: 700; }
.nav-links { display: flex; gap: 12px; justify-content: center; margin-top: 48px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .74); padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 220px; margin-bottom: 22px; }
.footer-title { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--blue-soft); margin-top: 4px; width: 18px; height: 18px; }
.social { grid-auto-flow: column; justify-content: start; gap: 18px; margin-top: 18px; }
.social a { font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transition: transform .25s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Reveal on scroll (only when JS is available and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
	.header-call { display: none; }
	.why-grid { grid-template-columns: 1fr; }
	.why-cards { display: grid; grid-template-columns: 1fr 1fr; }
	.why-card + .why-card { border-top: 0; border-left: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); cursor: pointer; }
	.nav-toggle-close { display: none; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: block; }
	.header-cta { display: none; }
	/* backdrop-filter would turn the bar into the containing block of the
	   fixed menu panel (trapping it inside the bar), so mobile uses an
	   opaque bar instead. */
	.header-bar { padding-left: 22px; gap: 12px; justify-content: space-between; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 26, 53, .72); }
	.site-header.is-scrolled { animation: none; }
	.primary-nav {
		position: fixed; inset: 0; z-index: -1; margin: 0; padding: 110px var(--gutter) 32px;
		background: radial-gradient(120% 60% at 100% 0%, rgba(26, 77, 130, .55), transparent 60%), var(--navy-deep);
		display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
		opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, visibility .3s, transform .3s;
	}
	.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .menu { flex-direction: column; gap: 0; border-top: 1px solid rgba(139, 186, 232, .18); }
	.primary-nav .menu li { border-bottom: 1px solid rgba(139, 186, 232, .18); }
	.primary-nav .menu a, .is-scrolled .primary-nav .menu a, .is-solid .primary-nav .menu a {
		display: flex; align-items: center; justify-content: space-between; padding: 18px 4px;
		color: var(--white); font: 400 1.6rem/1.2 var(--font-display);
	}
	.primary-nav .menu a::after { position: static; content: '→'; width: auto; height: auto; background: none; font: 400 1.1rem var(--font-body); color: var(--blue-soft); transition: transform .25s; }
	.primary-nav .menu a:hover::after { transform: translateX(4px); }
	.nav-mobile-foot { margin-top: auto; padding-top: 36px; display: grid; gap: 18px; justify-items: start; position: relative; }
	.nav-mobile-cta { display: inline-flex; width: 100%; }
	.nav-mobile-call { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-pale); text-decoration: none; font: 400 1.15rem var(--font-display); }
	.nav-mobile-call .icon { color: var(--blue-soft); }
	.nav-mobile-mark { position: absolute; right: -10px; bottom: -6px; width: 120px; opacity: .08; pointer-events: none; }
	.is-solid .nav-toggle, .is-scrolled .nav-toggle { background: var(--blue-mist); }
	.is-solid .header-bar, .is-scrolled .header-bar { background: rgba(255, 255, 255, .98); }
	.site-header.nav-open .header-bar { background: transparent; border-color: transparent; box-shadow: none; }
	.nav-open .nav-toggle { background: var(--white) !important; }
	.nav-open .brand-dark { display: none !important; }
	.nav-open .brand-light { display: block !important; }

	.about-grid, .contact-grid, .statement { grid-template-columns: 1fr; }
	.statement-media { min-height: 320px; }
	.areas-grid { grid-template-columns: 1fr 1fr; }
	.area-card:nth-child(n) { margin-top: 0; }
	.area-card:nth-child(even) { margin-top: 48px; }
	.team-grid { grid-template-columns: 1fr 1fr; }
	.method-steps { grid-template-columns: 1fr 1fr; }
	.method-step { min-height: 240px; border-top: 1px solid rgba(255, 255, 255, .22); }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.commitments { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.site-header { padding-top: 12px; }
	.header-bar { padding: 8px 8px 8px 18px; }
	.brand img { width: 150px; }
	.hero { padding-top: 140px; }
	.hero-actions .btn { width: 100%; }
	.about-collage { grid-template-rows: 180px 100px 160px; gap: 10px; }
	.collage-c { margin: -40px 0 0 30px; width: calc(100% - 30px) !important; height: calc(100% + 40px) !important; border-width: 6px; }
	.collage-badge { font-size: .82rem; padding: 10px 12px; }
	.collage-badge img { width: 36px !important; }
	.why-cards { grid-template-columns: 1fr; }
	.why-card + .why-card { border-left: 0; border-top: 1px solid var(--line); }
	.why-panel { grid-template-columns: 1fr; }
	.why-panel-image { min-height: 220px; max-height: 260px; }
	.commitments { grid-template-columns: 1fr; gap: 12px; }
	.areas-grid, .team-grid, .post-grid, .field-row, .method-steps { grid-template-columns: 1fr; }
	.area-card:nth-child(n), .team-card:nth-child(n) { margin-top: 0; }
	.area-card h3 { min-height: 0; }
	.method-step { min-height: 0; padding-block: 30px; border-left: 0; }
	.method-number { margin-bottom: 12px; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header.is-solid, body.admin-bar .site-header.is-scrolled { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
