/* ==========================================================================
   Manari — preto, dourado e cinza. Sofisticado, sóbrio, arquitetônico.
   ========================================================================== */

@font-face {
	font-family: "Cormorant";
	src: url("../fonts/cormorant.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Cormorant";
	src: url("../fonts/cormorant-italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--black: #0b0b0b;
	--ink: #121212;
	--char: #1a1a1a;
	--steel: #2a2a2a;
	--grey: #8b8a86;
	--mist: #c9c7c1;
	--paper: #ecebe7;
	--white: #f6f5f2;
	--gold: #c6a15b;
	--gold-2: #e0c48c;
	--gold-3: #9c7a3c;

	--bg: var(--black);
	--fg: var(--white);
	--muted: #a3a19b;
	--line: rgba(255, 255, 255, .1);
	--card: var(--char);

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

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--section: clamp(84px, 11vw, 150px);
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--header-h: 84px;
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

body {
	margin: 0;
	background: var(--black);
	color: var(--fg);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--black); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 200;
	padding: 10px 16px; background: var(--gold); color: var(--black);
	transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

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

.icon { width: 20px; height: 20px; flex: none; }

/* Type ------------------------------------------------------------------- */

.eyebrow {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 22px;
	font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	color: var(--muted);
}
.eyebrow::before {
	content: ""; width: 36px; height: 1px; background: var(--gold);
}
.eyebrow-index { color: var(--gold); }

.title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.04;
	letter-spacing: -.01em;
	margin-bottom: 24px;
	text-wrap: balance;
}
.title-xl { font-size: clamp(42px, 6.4vw, 88px); }
.title em, .hero-title em {
	font-style: italic;
	color: var(--gold);
}

.lead {
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.6;
	color: var(--fg);
}

.section-text { max-width: 560px; color: var(--muted); font-size: 17px; }

.label {
	margin: 0 0 18px;
	font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
	color: var(--gold);
}

.link {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gold);
}
.link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .icon { transform: translateX(4px); }

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 54px; padding: 0 28px;
	border: 1px solid transparent; border-radius: var(--radius);
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
	cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { min-height: 62px; padding: 0 36px; }
.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	transition: background .4s, height .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.admin-bar .site-header.is-scrolled {
	--header-h: 70px;
	background: rgba(11, 11, 11, .9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}
body:not(.home) .site-header { background: var(--black); border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner {
	height: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { width: 38px; height: 38px; color: var(--gold); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
	font-family: var(--serif); font-size: 27px; font-weight: 600;
	letter-spacing: .2em; text-transform: uppercase;
}
.brand-sub {
	margin-top: 5px;
	font-size: 8.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
	color: var(--gold);
}
.brand img { display: block; height: 42px; width: auto; }
.site-header.is-scrolled .brand img { height: 36px; }
.brand-footer img { height: auto; width: 190px; }
.brand-custom img { max-height: 52px; width: auto; }
@media (max-width: 420px) { .brand img { height: 34px; } }

.main-nav { display: none; }
.nav-list { display: flex; gap: clamp(16px, 1.6vw, 30px); }
.nav-list a {
	position: relative; padding: 8px 0; white-space: nowrap;
	font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--mist);
	transition: color .3s;
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
	background: var(--gold); transition: right .4s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--white); }
.nav-list a:hover::after, .nav-list a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta {
	display: none; align-items: center; gap: 10px;
	height: 44px; padding: 0 20px;
	border: 1px solid var(--gold); border-radius: var(--radius);
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gold); white-space: nowrap;
	transition: background .3s, color .3s;
}
.header-cta .icon { width: 17px; height: 17px; }
.header-cta:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
	width: 46px; height: 46px; padding: 0;
	display: grid; place-items: center;
	background: none; border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 20px; height: 1.5px; background: var(--white);
	transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.menu-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: var(--black);
	padding-top: calc(var(--header-h) + 30px);
	overflow-y: auto;
}
.menu-overlay[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; gap: 36px; padding-bottom: 40px; }
.menu-list a {
	display: block; padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); line-height: 1.1;
}
.menu-list a:hover { color: var(--gold); }
body.menu-open { overflow: hidden; }

@media (min-width: 640px) {
	.header-cta { display: inline-flex; }
}
@media (min-width: 1240px) {
	.main-nav { display: block; }
	.nav-toggle { display: none; }
	.menu-overlay { display: none !important; }
}

/* Sections ---------------------------------------------------------------- */

.section {
	position: relative;
	padding: var(--section) 0;
	background: var(--bg);
	color: var(--fg);
}
.section.is-light {
	--bg: var(--paper);
	--fg: var(--ink);
	--muted: #5f5d58;
	--line: rgba(0, 0, 0, .12);
	--card: #fff;
}
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-row {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
}
.section-head-row .title { margin-bottom: 0; }

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: calc(var(--header-h) + 60px) 0 0;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(120% 80% at 85% 10%, rgba(198, 161, 91, .12), transparent 60%),
		linear-gradient(180deg, #0b0b0b 0%, #111 60%, #0b0b0b 100%);
}
.hero::before {
	/* Blueprint grid. */
	content: ""; position: absolute; inset: 0; z-index: -2;
	background-image:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
	mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-image .hero-media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 11, 11, .92) 0%, rgba(11, 11, 11, .6) 50%, rgba(11, 11, 11, .25) 100%),
		linear-gradient(0deg, rgba(11, 11, 11, .95) 0%, transparent 45%);
}
.hero.has-image::before { display: none; }

.hero-drawing {
	position: absolute; right: -4%; bottom: 0;
	width: min(70vw, 900px); height: 86%;
	color: var(--gold); opacity: .38;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 88%);
	mask-image: linear-gradient(180deg, #000 55%, transparent 88%);
}
.hero-drawing .draw { stroke-dasharray: 2400; stroke-dashoffset: 0; }
.js .hero-drawing .draw { stroke-dashoffset: 2400; animation: mnr-draw 3.2s var(--ease) .2s forwards; }
.js .hero-drawing .draw-2 { animation-delay: 1s; animation-duration: 3.6s; }
.js .hero-drawing .draw-3 { stroke-dashoffset: 0; opacity: 0; animation: mnr-fade 1.4s ease 2.4s forwards; }
@keyframes mnr-draw { to { stroke-dashoffset: 0; } }
@keyframes mnr-fade { to { opacity: 1; } }

.hero-inner { padding-bottom: clamp(48px, 7vw, 90px); }
.hero-title {
	max-width: 13ch;
	margin-bottom: 28px;
	font-family: var(--serif); font-weight: 500;
	font-size: clamp(48px, 8.4vw, 124px);
	line-height: .98; letter-spacing: -.02em;
}
.hero-text { max-width: 540px; font-size: clamp(16px, 1.4vw, 19px); color: var(--mist); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
	display: grid; grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid var(--line);
}
.hero-stats li {
	padding: 26px 20px 30px 0;
	display: flex; flex-direction: column; gap: 4px;
}
.hero-stats strong {
	font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1;
	color: var(--gold);
}
.hero-stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
	.hero-stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
	.hero-stats li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* About ------------------------------------------------------------------- */

.about-grid {
	display: grid; gap: clamp(48px, 7vw, 110px);
	align-items: start;
}
@media (min-width: 960px) {
	.about-grid { grid-template-columns: 5fr 7fr; }
	.about-media { position: sticky; top: 120px; }
}
.about-media { position: relative; padding: 0 0 40px 0; }
.about-frame {
	position: relative;
	aspect-ratio: 4 / 5;
	background:
		linear-gradient(135deg, rgba(198, 161, 91, .12), transparent 55%),
		repeating-linear-gradient(90deg, transparent 0 63px, rgba(255, 255, 255, .04) 63px 64px),
		var(--char);
	overflow: hidden;
}
.about-frame::after {
	content: ""; position: absolute; inset: 18px;
	border: 1px solid rgba(198, 161, 91, .45);
	pointer-events: none;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-year {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	font-family: var(--serif); font-size: clamp(90px, 12vw, 170px); font-weight: 500; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(198, 161, 91, .7);
}
.about-badge {
	position: absolute; right: -10px; bottom: 0;
	display: flex; align-items: center; gap: 16px;
	margin: 0; padding: 22px 26px;
	background: var(--gold); color: var(--black);
}
.about-badge strong { font-family: var(--serif); font-size: 54px; line-height: .9; font-weight: 600; }
.about-badge span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
@media (min-width: 960px) { .about-badge { right: -32px; } }

.about-copy p:not(.eyebrow):not(.lead) { color: var(--muted); }
.about-quote {
	margin: 36px 0 0; padding: 4px 0 4px 26px;
	border-left: 1px solid var(--gold);
	font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35;
	color: var(--white);
}

.pillars {
	display: grid; gap: 1px;
	margin-top: clamp(70px, 9vw, 120px);
	background: var(--line);
	border: 1px solid var(--line);
}
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: clamp(28px, 3.4vw, 44px); background: var(--black); transition: background .4s; }
.pillar:hover { background: var(--char); }
.pillar-index { display: block; margin-bottom: 28px; font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.pillar h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 32px; }
.pillar p { margin: 0; color: var(--muted); }

.values { margin-top: clamp(56px, 7vw, 90px); }
.values-list { display: grid; gap: 14px 40px; }
@media (min-width: 720px) { .values-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values-list { grid-template-columns: repeat(3, 1fr); } }
.values-list li {
	position: relative; padding: 14px 0 14px 26px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
}
.values-list li::before {
	content: ""; position: absolute; left: 0; top: 24px;
	width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg);
}
.values-list strong { color: var(--fg); font-weight: 600; }

/* Services ----------------------------------------------------------------- */

.services-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.services-grid { grid-template-columns: repeat(4, 1fr); }
	.service.is-big { grid-column: span 2; }
}
.service {
	position: relative;
	padding: clamp(26px, 2.6vw, 36px);
	background: var(--card);
	border: 1px solid var(--line);
	transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); border-color: var(--gold); }
.service-icon { width: 34px; height: 34px; color: var(--gold-3); margin-bottom: 26px; }
.service h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.service.is-big {
	background: var(--ink); color: var(--white); border-color: var(--ink);
	display: flex; flex-direction: column;
	min-height: 320px;
}
.service.is-big::after {
	content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 120px;
	background:
		linear-gradient(var(--gold), var(--gold)) right top / 100% 1px no-repeat,
		linear-gradient(var(--gold), var(--gold)) right top / 1px 100% no-repeat;
	opacity: .7;
}
.service.is-big .service-icon { color: var(--gold); width: 42px; height: 42px; }
.service.is-big h3 { font-size: clamp(32px, 3vw, 42px); }
.service.is-big p { color: #a8a6a0; font-size: 16px; max-width: 420px; }
.service.is-big .link { margin-top: auto; padding-top: 28px; }

.sectors { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sectors .label { margin: 0; }
.sectors-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors-list li {
	padding: 8px 16px; border: 1px solid var(--line); border-radius: 40px;
	font-size: 13px; font-weight: 600; color: var(--fg); background: var(--card);
}

/* Obras --------------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
	padding: 10px 18px;
	background: none; border: 1px solid var(--line); border-radius: 40px;
	font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--muted);
	transition: border-color .3s, color .3s, background .3s;
}
.filter:hover { border-color: var(--gold); color: var(--white); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--black); }

.obras-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .obras-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .obras-grid { grid-template-columns: repeat(3, 1fr); } }
.obra[hidden] { display: none; }

.obra-card {
	display: flex; flex-direction: column;
	width: 100%; height: 100%; padding: 0;
	background: var(--char); border: 1px solid var(--line);
	text-align: left; color: inherit;
	transition: border-color .4s;
}
.obra-card:not([disabled]):hover { border-color: var(--gold); }
.obra-card[disabled] { cursor: default; }
.obra-media {
	position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
	background:
		repeating-linear-gradient(45deg, transparent 0 22px, rgba(198, 161, 91, .06) 22px 23px),
		linear-gradient(160deg, #222, #151515);
}
.obra-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9); }
.obra-card:not([disabled]):hover .obra-media img { transform: scale(1.05); filter: none; }
.obra-count {
	position: absolute; right: 14px; bottom: 14px;
	padding: 6px 10px; background: rgba(11, 11, 11, .78);
	font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.obra-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 26px; }
.obra-type { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.obra-title { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.obra-meta { font-size: 13px; color: var(--muted); }
.obra-summary { margin-top: 6px; font-size: 14px; color: var(--muted); }
.obras-empty { margin-top: 30px; color: var(--muted); }

.obras-grid.is-placeholder .obra-card { opacity: .5; }
.obras-admin-hint {
	margin-bottom: 26px; padding: 18px 22px;
	border: 1px dashed var(--gold); color: var(--mist); font-size: 14px;
}
.obras-admin-hint p { margin: 0; }
.obras-admin-hint a { color: var(--gold); text-decoration: underline; }
.obras-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--line);
	background: linear-gradient(120deg, rgba(198, 161, 91, .1), transparent 60%), var(--char);
}
.obras-cta p { margin: 0; max-width: 560px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }

.lightbox {
	width: 100vw; max-width: none; height: 100vh; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: rgba(8, 8, 8, .97); color: var(--white);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox-inner {
	position: relative; height: 100%;
	display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
	padding: 22px clamp(16px, 6vw, 90px);
}
.lightbox-title { margin: 0; padding-right: 60px; font-family: var(--serif); font-size: 26px; }
.lightbox-figure { margin: 0; min-height: 0; display: grid; place-items: center; }
.lightbox-figure img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox-count { margin: 0; text-align: center; font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.lightbox-btn {
	position: absolute; width: 48px; height: 48px;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 50%;
	transition: background .3s, border-color .3s;
}
.lightbox-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next { display: none; }

/* Differentials ------------------------------------------------------------- */

.differentials { background: var(--ink); }
.diff-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .diff-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .diff-list { grid-template-columns: repeat(5, 1fr); } }
.diff { position: relative; padding: 34px 28px 38px; background: var(--ink); transition: background .4s; }
.diff:hover { background: var(--char); }
.diff-index { position: absolute; top: 24px; right: 24px; font-size: 12px; letter-spacing: .14em; color: var(--grey); }
.diff-icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 30px; }
.diff h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.diff p { margin: 0; font-size: 14.5px; color: var(--muted); }

.payments { margin-top: clamp(56px, 7vw, 90px); }
.payments-list { display: grid; gap: 18px; }
@media (min-width: 820px) { .payments-list { grid-template-columns: repeat(3, 1fr); } }
.payments-list li {
	display: flex; gap: 18px; align-items: flex-start;
	padding: 24px 0; border-top: 1px solid var(--gold-3);
}
.payments-list .icon { width: 30px; height: 30px; color: var(--gold); margin-top: 2px; }
.payments-list strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.payments-list span { color: var(--muted); font-size: 15px; }

/* Forms --------------------------------------------------------------------- */

.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend {
	padding: 0;
	font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--muted);
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px;
	background: transparent; color: var(--fg);
	border: 1px solid var(--line); border-radius: var(--radius);
	font: inherit; font-size: 16px;
	transition: border-color .3s, background .3s;
	-webkit-appearance: none; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6a15b' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
	padding-right: 44px;
}
.field select option { color: #111; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(198, 161, 91, .04); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px; gap: 4px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
	display: grid; place-items: center; min-height: 42px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em;
	color: var(--muted); cursor: pointer; transition: background .3s, color .3s;
}
.segmented input:checked + span { background: var(--ink); color: var(--gold); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); }

.file {
	display: flex !important; align-items: center; gap: 14px;
	min-height: 60px; padding: 14px 18px;
	border: 1px dashed var(--line); border-radius: var(--radius);
	text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 500 !important;
	cursor: pointer; transition: border-color .3s;
}
.file:hover, .file.has-file { border-color: var(--gold); }
.file .icon { color: var(--gold); }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--gold); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-notice { margin: 0 0 22px; padding: 14px 18px; font-size: 14px; border-left: 2px solid; }
.form-notice.is-ok { border-color: var(--gold); background: rgba(198, 161, 91, .1); }
.form-notice.is-error { border-color: #d9534f; background: rgba(217, 83, 79, .1); }

/* Simulator ------------------------------------------------------------------ */

.sim-grid { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 960px) { .sim-grid { grid-template-columns: 5fr 6fr; } }
.sim-note { font-size: 13px; color: var(--muted); border-left: 1px solid var(--gold); padding-left: 14px; }
.sim-card {
	padding: clamp(24px, 3.4vw, 44px);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .35);
}
.sim-result {
	display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
	margin: 8px 0 24px;
	background: var(--line); border: 1px solid var(--line);
}
.sim-result div { padding: 16px 18px; background: #fff; }
.sim-result div.is-main { background: var(--ink); color: var(--white); }
.sim-result div[hidden] { display: none; }
.sim-result dt { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sim-result .is-main dt { color: var(--gold); }
.sim-result dd { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }

/* Careers -------------------------------------------------------------------- */

.careers-grid { display: grid; gap: clamp(40px, 6vw, 90px); }
@media (min-width: 960px) { .careers-grid { grid-template-columns: 5fr 6fr; } .careers-copy { position: sticky; top: 120px; align-self: start; } }
.careers-form { padding: clamp(24px, 3.4vw, 44px); background: var(--char); border: 1px solid var(--line); }

/* Contact -------------------------------------------------------------------- */

.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 6fr 5fr; align-items: stretch; } }
.contact-copy .btn { margin: 10px 0 40px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--mist); }
.contact-list .icon { color: var(--gold); margin-top: 4px; }
.contact-list a { transition: color .3s; }
.contact-list a:hover { color: var(--gold); }
.contact-map { position: relative; min-height: 380px; border: 1px solid var(--line); background: var(--char); }
.contact-map iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
	filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}

/* Footer --------------------------------------------------------------------- */

.site-footer { background: #080808; border-top: 1px solid var(--line); padding-top: clamp(60px, 8vw, 100px); }
.footer-top { display: grid; gap: 40px; padding-bottom: 60px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 2fr 1fr 1.3fr 1.5fr; } }
.footer-tagline { margin: 24px 0 0; max-width: 320px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--mist); }
.footer-links { display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.footer-address { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.footer-legal {
	position: relative;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
	padding-top: 26px; padding-bottom: 30px;
	font-size: 12.5px; color: var(--grey);
}
.footer-legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer-legal p { margin: 0; }
.footer-legal a { display: inline-flex; align-items: center; gap: 6px; }
.footer-legal a:hover { color: var(--gold); }
.footer-legal .icon { width: 14px; height: 14px; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 80;
	width: 58px; height: 58px; display: grid; place-items: center;
	background: var(--gold); color: var(--black); border-radius: 50%;
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
	transition: transform .3s var(--ease), background .3s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); background: var(--gold-2); }

/* Inner pages ------------------------------------------------------------------ */

.page-plain { padding-top: calc(var(--header-h) + 80px); min-height: 70vh; }
.prose { color: var(--mist); }
.prose a { color: var(--gold); text-decoration: underline; }
.post-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.post-list span { color: var(--grey); font-size: 13px; }

/* Reveal ------------------------------------------------------------------------ */

.mnr-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.mnr-js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mnr-js .reveal { opacity: 1; transform: none; transition: none; }
	.js .hero-drawing .draw, .js .hero-drawing .draw-3 { animation: none; stroke-dashoffset: 0; opacity: 1; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
