:root {
	--night: #14110e;
	--night-2: #1c1814;
	--ivory: #f4efe6;
	--ivory-2: #ebe4d8;
	--ink: #171410;
	--mute: #6d655b;
	--brass: #c4a046;
	--brass-deep: #9a7a2c;
	--terra: #9a4e32;
	--line: rgba(23, 20, 16, 0.14);
	--line-light: rgba(244, 239, 230, 0.16);
	--max: 1180px;
	--head: 4.65rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--serif: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head) + 0.5rem);
}

body {
	margin: 0;
	font-family: var(--sans);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--ivory);
	-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,
p {
	margin: 0;
}

button,
input,
textarea {
	font: inherit;
}

::selection {
	background: var(--brass);
	color: var(--night);
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 200;
	padding: 0.6rem 0.9rem;
	background: var(--brass);
	color: var(--night);
	font-size: 0.85rem;
	font-weight: 600;
}

.skip:focus {
	top: 0.6rem;
}

.wrap {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.kicker {
	margin: 0 0 0.7rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mute);
}

.display {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(2rem, 4.6vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.lede {
	max-width: 36rem;
	color: var(--mute);
	font-size: 1.05rem;
}

.block {
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

#contacto {
	padding-bottom: clamp(1.6rem, 3.5vw, 2.5rem);
}

#voces {
	padding-bottom: 1.15rem;
}

.block--paper {
	background: var(--ivory-2);
}

/* Gazette + header */
.gazette {
	padding: 0.45rem 1.25rem;
	background: var(--night);
	color: rgba(244, 239, 230, 0.55);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.site-head {
	position: sticky;
	top: 0;
	z-index: 80;
	background: var(--night);
	border-bottom: 1px solid var(--line-light);
}

.site-head__bar {
	width: min(100% - 1.5rem, var(--max));
	margin-inline: auto;
	min-height: var(--head);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.22rem;
	color: var(--ivory);
	line-height: 1;
	flex-shrink: 0;
}

.brand__name {
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.brand__sub {
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--brass);
}

.nav {
	display: flex;
	align-items: center;
	gap: 0.15rem 1.35rem;
}

.nav a {
	color: rgba(244, 239, 230, 0.78);
	font-size: 0.82rem;
	font-weight: 500;
	transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
	color: var(--ivory);
}

.nav__cta {
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--brass);
	color: var(--brass) !important;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-light);
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 1.5px;
	margin: 5px auto;
	background: var(--ivory);
}

/* Hero */
.hero {
	padding: clamp(1.1rem, 3vw, 2rem) 0 0;
}

.hero__copy {
	padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

.hero__copy h1 {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	line-height: 0.96;
	letter-spacing: -0.035em;
	margin: 0 0 1.15rem;
}

.hero__copy h1 em {
	font-style: italic;
	color: var(--terra);
}

.hero__lead {
	max-width: 34rem;
	color: var(--mute);
	margin: 0 0 1.6rem;
	font-size: 1.05rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.stamps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	margin: 0 0 clamp(1.1rem, 3vw, 2rem);
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(1.2rem, 2.2vw, 1.65rem);
	color: var(--terra);
}

.stamps li + li::before {
	content: "·";
	margin-right: 1.25rem;
	color: var(--terra);
}

.hero__band {
	margin: 0;
	position: relative;
	width: 100%;
	min-height: 420px;
	overflow: hidden;
	background: var(--night);
	line-height: 0;
}

.hero__band img {
	width: 100%;
	height: 420px;
	max-width: none;
	object-fit: cover;
	object-position: right center;
	opacity: 0.78;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.3rem;
	border: 1px solid transparent;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--brass {
	background: var(--brass);
	color: var(--night);
}

.btn--brass:hover {
	background: var(--brass-deep);
	color: var(--ivory);
}

.btn--ghost {
	border-color: var(--ink);
	background: transparent;
}

.btn--ghost:hover {
	background: var(--ink);
	color: var(--ivory);
}

.btn--ink {
	background: var(--night);
	color: var(--ivory);
}

.btn--ink:hover {
	background: var(--terra);
}

/* Docket */
.docket {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--night);
	color: var(--ivory);
}

.docket__item {
	padding: clamp(1.75rem, 4vw, 2.6rem) clamp(1.25rem, 3vw, 2rem);
	border-right: 1px solid var(--line-light);
}

.docket__item:last-child {
	border-right: 0;
}

.docket__item strong {
	display: block;
	font-family: var(--serif);
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0.35rem;
}

.docket__item span {
	display: block;
	font-size: 0.92rem;
	font-weight: 600;
	margin-bottom: 0.45rem;
}

.docket__item p {
	margin: 0;
	color: rgba(244, 239, 230, 0.62);
	font-size: 0.88rem;
}

/* Brief + pillars */
.brief {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2rem 3rem;
	align-items: end;
	margin-bottom: 3rem;
}

.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.pillars li {
	padding-top: 1.1rem;
	border-top: 1px solid var(--ink);
}

.pillars h3 {
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.pillars p {
	color: var(--mute);
	font-size: 0.95rem;
}

.materias-label {
	margin-bottom: 0.85rem;
}

.materias {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.materias li {
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--line);
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}

/* Roster */
.roster {
	display: grid;
	gap: 0;
	margin-top: 2.5rem;
	border-top: 1px solid var(--line);
}

.counsel {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 1.5rem 2rem;
	align-items: start;
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--line);
}

.counsel img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	object-position: top center;
	background: #d8d2c6;
	border-radius: 50%;
}

.counsel__seat {
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--terra);
	margin-bottom: 0.35rem;
}

.counsel h3 {
	font-family: var(--serif);
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1.1;
}

.counsel__role {
	margin: 0.2rem 0 0.7rem;
	font-size: 0.88rem;
	color: var(--brass-deep);
	font-weight: 600;
}

.counsel p:last-child {
	max-width: 42rem;
	color: var(--mute);
	font-size: 0.95rem;
}

/* Voices */
.voices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-top: 2.2rem;
	border-top: 1px solid var(--line);
}

.voice {
	margin: 0;
	padding: 1.6rem 1.4rem 1.6rem 0;
	border-bottom: 1px solid var(--line);
}

.voice:nth-child(odd) {
	padding-right: 1.8rem;
	border-right: 1px solid var(--line);
}

.voice:nth-child(even) {
	padding-left: 1.8rem;
}

.voice p {
	font-family: var(--serif);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 500;
	line-height: 1.35;
	margin-bottom: 1rem;
}

.voice p::before {
	content: "“";
	color: var(--brass);
	margin-right: 0.15rem;
}

.voice cite {
	font-style: normal;
	font-size: 0.82rem;
	color: var(--mute);
}

.fineprint {
	margin-top: 1.5rem;
	margin-bottom: 0;
	font-size: 0.73rem;
	color: var(--mute);
	text-align: center;
}

/* Foros */
.foros {
	padding-top: 1.5rem;
}

.foros__head {
	margin-bottom: 2rem;
}

.foros__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.foro {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	color: var(--ivory);
	background: var(--night);
}

.foro img {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	object-fit: cover;
	opacity: 0.78;
	transition: transform 0.7s var(--ease), opacity 0.35s;
}

.foro:hover img,
.foro:focus-visible img {
	transform: scale(1.05);
	opacity: 0.55;
}

.foro span {
	position: absolute;
	left: 1.15rem;
	right: 1.15rem;
	bottom: 1.15rem;
	z-index: 1;
}

.foro strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 600;
}

.foro em {
	font-style: normal;
	font-size: 0.85rem;
	color: rgba(244, 239, 230, 0.78);
}

/* News */
.news {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem 2rem;
	align-items: start;
}

.news .lede {
	margin: 0.75rem 0 0;
}

.fb-frame {
	background: #fff;
	border: 1px solid var(--line);
	padding: 0.6rem;
	min-height: 480px;
}

.fb-frame iframe {
	display: block;
	width: 100%;
	max-width: 500px;
	height: 480px;
	border: 0;
	margin-inline: auto;
}

/* Contact */
.contact-board {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 1.5rem;
	margin-top: 2.4rem;
	align-items: stretch;
}

.ficha__card {
	padding: 0.35rem 1.4rem 0.5rem;
	background: var(--night);
	color: var(--ivory);
}

.ficha__card dl {
	margin: 0;
}

.ficha__card dl > div {
	display: grid;
	grid-template-columns: 6.2rem 1fr;
	gap: 0.6rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--line-light);
	font-size: 0.95rem;
}

.ficha__card dl > div:last-child {
	border-bottom: 0;
}

.ficha__card dt {
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brass);
	padding-top: 0.25rem;
}

.ficha__card dd {
	margin: 0;
}

.ficha__card a {
	color: var(--ivory);
	border-bottom: 1px solid transparent;
}

.ficha__card a:hover {
	border-bottom-color: var(--brass);
	color: var(--brass);
}

.consulta {
	position: relative;
	display: grid;
	gap: 0.85rem;
	margin-top: 2rem;
}

.consulta .btn {
	justify-self: start;
	margin-top: 0.35rem;
}

.consulta__note {
	font-size: 0.73rem;
	color: var(--mute);
	white-space: nowrap;
}

.consulta label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mute);
}

.consulta input,
.consulta textarea {
	width: 100%;
	padding: 0.75rem 0.8rem;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	font-size: 1rem;
}

.consulta input:focus,
.consulta textarea:focus {
	outline: 2px solid var(--brass);
	outline-offset: 1px;
}

.consulta__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.consulta .btn {
	justify-self: start;
	margin-top: 0.35rem;
}

.consulta__status {
	min-height: 0;
	font-size: 0.85rem;
	color: var(--terra);
}

.consulta__status:empty {
	display: none;
}

.map {
	border: 1px solid var(--line);
	line-height: 0;
	background: var(--ivory-2);
	min-height: 100%;
}

.map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	border: 0;
}

/* Footer */
.site-foot {
	background: var(--night);
	color: rgba(244, 239, 230, 0.7);
	padding: 2rem 0;
	font-size: 0.85rem;
}

.site-foot__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.site-foot p {
	width: 100%;
	margin: 0;
	text-align: right;
}

.site-foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.15rem;
}

.site-foot a:hover {
	color: var(--ivory);
}

/* Lightbox */
.lightbox {
	width: min(92vw, 960px);
	max-height: 92vh;
	padding: 0;
	border: 0;
	background: var(--night);
	color: var(--ivory);
}

.lightbox::backdrop {
	background: rgba(10, 8, 6, 0.84);
}

.lightbox figure {
	margin: 0;
}

.lightbox img {
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.lightbox figcaption {
	padding: 0.8rem 1rem 1.1rem;
	font-size: 0.9rem;
}

.lightbox__close {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	border: 1px solid var(--line-light);
	background: rgba(20, 17, 14, 0.7);
	color: var(--ivory);
	padding: 0.4rem 0.7rem;
	cursor: pointer;
}

/* Motion */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Responsive */
@media (max-width: 980px) {
	.brief,
	.pillars,
	.voices,
	.news,
	.contact-board,
	.foros__grid {
		grid-template-columns: 1fr;
	}

	.docket {
		grid-template-columns: 1fr;
	}

	.docket__item {
		border-right: 0;
		border-bottom: 1px solid var(--line-light);
	}

	.docket__item:last-child {
		border-bottom: 0;
	}

	.hero__band,
	.hero__band img,
	.foro {
		min-height: 280px;
	}

	.hero__band img {
		height: 280px;
	}

	.voice:nth-child(odd),
	.voice:nth-child(even) {
		padding-left: 0;
		padding-right: 0;
		border-right: 0;
	}
}

@media (max-width: 820px) {
	.nav-toggle {
		display: block;
	}

	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.4rem 1rem 1rem;
		background: var(--night);
		border-bottom: 1px solid var(--line-light);
	}

	.nav.is-open {
		display: flex;
	}

	.nav a {
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--line-light);
	}

	.nav__cta {
		margin-top: 0.6rem;
		text-align: center;
		justify-content: center;
	}

	.counsel {
		grid-template-columns: 96px 1fr;
		gap: 1rem;
	}

	.counsel img {
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 600px) {
	.wrap,
	.site-head__bar {
		width: min(100% - 1.25rem, var(--max));
	}

	.brand__name {
		font-size: 1.28rem;
		letter-spacing: 0.14em;
	}

	.brand__sub {
		letter-spacing: 0.18em;
	}

	.hero__copy h1 {
		font-size: 2.15rem;
	}

	.ficha__card dl > div {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.map iframe {
		height: 260px;
	}

	.fb-frame,
	.fb-frame iframe {
		min-height: 420px;
		height: 420px;
	}
}

@media (max-width: 900px) {
	.consulta__note {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.gazette,
	.site-head,
	.hero__actions,
	.consulta,
	.fb-frame,
	.map,
	.nav-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
