/* ==========================================================
   Estrato — corporate landing styles
   ========================================================== */

.est-wrap {
	--est-ink: #17191c;
	--est-ink-2: #20242a;
	--est-slate: #454b53;
	--est-muted: #6f757d;
	--est-line: rgba(23, 25, 28, 0.12);
	--est-line-2: rgba(23, 25, 28, 0.07);
	--est-line-light: rgba(247, 245, 240, 0.16);
	--est-paper: #f7f5f0;
	--est-paper-2: #efece4;
	--est-card: #ffffff;
	--est-accent: #a1743f;
	--est-accent-2: #c69a63;
	--est-accent-soft: rgba(161, 116, 63, 0.10);
	--est-radius: 4px;
	--est-radius-lg: 8px;
	--est-maxw: 1160px;

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--est-ink);
	background: var(--est-paper);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;

	/* Full-bleed: escape the theme container */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow-x: hidden;
}

.est-wrap * { box-sizing: border-box; }
.est-wrap img { max-width: 100%; display: block; }
.est-wrap :where(a) { text-decoration: none; color: inherit; }
.est-wrap ul { margin: 0; padding: 0; list-style: none; }
.est-wrap [id] { scroll-margin-top: 84px; }

.est-wrap :where(h1, h2, h3) {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.4em;
	color: inherit;
}
.est-wrap p { margin: 0 0 1em; }
.est-wrap p:last-child { margin-bottom: 0; }

.est-container {
	max-width: var(--est-maxw);
	margin: 0 auto;
	padding: 0 32px;
}

/* ---------- Shared bits ---------- */
.est-eyebrow,
.est-kicker {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--est-accent);
	margin: 0 0 18px;
}
.est-kicker-light { color: var(--est-accent-2); }

.est-section-head {
	max-width: 720px;
	margin: 0 0 56px;
}
.est-section-head h2 {
	font-size: clamp(30px, 4vw, 44px);
}
.est-section-sub {
	color: var(--est-muted);
	font-size: 18px;
	margin-top: 6px;
}

/* ---------- Buttons ---------- */
.est-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	border-radius: var(--est-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.est-btn-solid {
	background: var(--est-accent);
	color: #fff;
	border-color: var(--est-accent);
}
.est-btn-solid:hover { background: #8c6234; border-color: #8c6234; }
.est-btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}
.est-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.est-btn-outline {
	background: transparent;
	color: var(--est-ink);
	border-color: var(--est-line);
}
.est-btn-outline:hover { border-color: var(--est-ink); }
.est-btn-sm { padding: 10px 18px; font-size: 14px; }
.est-btn-block { width: 100%; }

/* ---------- Header ---------- */
.est-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(247, 245, 240, 0.88);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--est-line-2);
}
.est-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}
.est-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--est-ink);
}
.est-logo-img { height: 34px; width: auto; }
.est-logo-mark { width: 30px; height: 30px; color: var(--est-accent); }
.est-brand-name {
	font-family: 'Fraunces', serif;
	font-weight: 600;
	font-size: 22px;
	letter-spacing: 0.02em;
}
.est-nav {
	display: flex;
	gap: 34px;
	margin-left: auto;
	margin-right: 28px;
}
.est-nav a {
	font-size: 15px;
	font-weight: 500;
	color: var(--est-slate);
	transition: color 0.2s ease;
}
.est-nav a:hover { color: var(--est-accent); }
.est-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.est-burger span {
	width: 24px;
	height: 2px;
	background: var(--est-ink);
	transition: all 0.25s ease;
}

/* ---------- Hero ---------- */
.est-hero {
	position: relative;
	background: radial-gradient(120% 120% at 20% 0%, #23272e 0%, var(--est-ink) 55%);
	background-size: cover;
	background-position: center;
	color: #f3f1ec;
	padding: 130px 0 120px;
}
.est-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 16, 18, 0.72), rgba(15, 16, 18, 0.86));
}
.est-hero-inner { position: relative; max-width: 860px; }
.est-hero .est-eyebrow { color: var(--est-accent-2); }
.est-hero-title {
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.06;
	margin-bottom: 24px;
	color: #fbfaf7;
}
.est-hero-sub {
	font-size: clamp(18px, 2.2vw, 21px);
	color: rgba(243, 241, 236, 0.78);
	max-width: 640px;
	margin-bottom: 36px;
}
.est-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pillars ---------- */
.est-pillars {
	background: var(--est-paper);
	padding: 74px 0;
	border-bottom: 1px solid var(--est-line-2);
}
.est-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}
.est-pillar-icon {
	display: inline-flex;
	width: 46px;
	height: 46px;
	color: var(--est-accent);
	margin-bottom: 18px;
}
.est-pillar-icon svg { width: 100%; height: 100%; }
.est-pillar h3 { font-size: 23px; margin-bottom: 10px; }
.est-pillar p { color: var(--est-muted); font-size: 16px; }

/* ---------- About ---------- */
.est-about {
	background: var(--est-paper-2);
	padding: 96px 0;
}
.est-about-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 64px;
	align-items: center;
}
.est-about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.est-about-text { color: var(--est-slate); font-size: 18px; }
.est-about-media {
	background-size: cover;
	background-position: center;
	border-radius: var(--est-radius-lg);
	min-height: 340px;
	background-color: var(--est-ink);
}
.est-about-fallback {
	width: 100%;
	height: 100%;
	min-height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #23272e, #14161a);
	border-radius: var(--est-radius-lg);
}
.est-about-fallback-mark { width: 92px; height: 92px; color: var(--est-accent-2); opacity: 0.85; }
.est-about-fallback-mark svg { width: 100%; height: 100%; }

/* ---------- Method (dark) ---------- */
.est-method {
	position: relative;
	background: var(--est-ink);
	background-size: cover;
	background-position: center;
	color: #eceae4;
	padding: 100px 0;
	overflow: hidden;
}
.est-method-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 16, 18, 0.82), rgba(15, 16, 18, 0.93));
}
.est-method .est-container { position: relative; z-index: 1; }
.est-method .est-section-head h2 { color: #fbfaf7; }
.est-method .est-section-sub { color: rgba(236, 234, 228, 0.62); }
.est-method-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--est-line-light);
	border: 1px solid var(--est-line-light);
	border-radius: var(--est-radius-lg);
	overflow: hidden;
}
.est-step {
	background: var(--est-ink);
	padding: 34px 30px 36px;
	transition: background 0.25s ease;
}
.est-step:hover { background: #1d2025; }
.est-step-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.est-step-num {
	font-family: 'Fraunces', serif;
	font-size: 30px;
	font-weight: 500;
	color: var(--est-accent-2);
}
.est-step-icon { width: 32px; height: 32px; color: rgba(236, 234, 228, 0.7); }
.est-step-icon svg { width: 100%; height: 100%; }
.est-step h3 { font-size: 20px; margin-bottom: 8px; color: #fbfaf7; }
.est-step p { color: rgba(236, 234, 228, 0.6); font-size: 15px; }

/* ---------- Projects ---------- */
.est-projects { background: var(--est-paper); padding: 96px 0; }
.est-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}
.est-project-card {
	background: var(--est-card);
	border: 1px solid var(--est-line-2);
	border-radius: var(--est-radius-lg);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.est-project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 50px -28px rgba(20, 22, 26, 0.4);
}
.est-project-media {
	position: relative;
	height: 220px;
	background-size: cover;
	background-position: center;
	background-color: var(--est-ink);
	display: flex;
	align-items: center;
	justify-content: center;
}
.est-project-media-mark {
	font-family: 'Fraunces', serif;
	font-size: 64px;
	color: var(--est-accent-2);
	opacity: 0.8;
	background: linear-gradient(135deg, #23272e, #14161a);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.est-project-status {
	position: absolute;
	top: 16px;
	left: 16px;
	background: rgba(247, 245, 240, 0.94);
	color: var(--est-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 6px 12px;
	border-radius: 100px;
}
.est-project-body { padding: 28px 28px 30px; }
.est-project-cat {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--est-accent);
	margin-bottom: 10px;
}
.est-project-body h3 { font-size: 26px; margin-bottom: 10px; }
.est-project-tag { color: var(--est-muted); font-size: 16px; margin-bottom: 18px; }
.est-project-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--est-ink);
}
.est-project-link:hover { color: var(--est-accent); }
.est-project-arrow { width: 20px; height: 20px; display: inline-flex; }
.est-project-arrow svg { width: 100%; height: 100%; }

/* ---------- Offices (dark) ---------- */
.est-offices { background: var(--est-ink-2); color: #eceae4; padding: 90px 0; }
.est-offices .est-section-head h2 { color: #fbfaf7; }
.est-offices-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.est-office {
	border: 1px solid var(--est-line-light);
	border-radius: var(--est-radius-lg);
	padding: 30px 28px;
}
.est-office-icon { display: inline-flex; width: 30px; height: 30px; color: var(--est-accent-2); margin-bottom: 14px; }
.est-office-icon svg { width: 100%; height: 100%; }
.est-office h3 { font-size: 22px; margin-bottom: 6px; color: #fbfaf7; }
.est-office p { color: rgba(236, 234, 228, 0.6); font-size: 15px; }

/* ---------- Contact ---------- */
.est-contact { background: var(--est-paper-2); padding: 96px 0; }
.est-contact-inner {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 64px;
	align-items: start;
}
.est-contact-copy h2 { font-size: clamp(28px, 3.6vw, 40px); }
.est-contact-copy > p { color: var(--est-slate); font-size: 18px; }
.est-contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.est-contact-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.est-contact-list li span { display: inline-flex; width: 24px; height: 24px; color: var(--est-accent); flex-shrink: 0; }
.est-contact-list li span svg { width: 100%; height: 100%; }
.est-contact-list a:hover { color: var(--est-accent); }

.est-form {
	background: var(--est-card);
	border: 1px solid var(--est-line-2);
	border-radius: var(--est-radius-lg);
	padding: 36px;
	box-shadow: 0 24px 50px -34px rgba(20, 22, 26, 0.35);
}
.est-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.est-form-group { margin-bottom: 18px; }
.est-form-group label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--est-slate);
	margin-bottom: 7px;
}
.est-form-group input,
.est-form-group textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	color: var(--est-ink);
	background: var(--est-paper);
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius);
	transition: border-color 0.2s ease, background 0.2s ease;
}
.est-form-group input:focus,
.est-form-group textarea:focus {
	outline: none;
	border-color: var(--est-accent);
	background: #fff;
}
.est-form-group textarea { resize: vertical; }
.est-form-msg { margin-top: 14px; font-size: 14.5px; text-align: center; min-height: 1em; }
.est-form-msg.is-success { color: #2f7d55; }
.est-form-msg.is-error { color: #b23b3b; }

/* ---------- Footer ---------- */
.est-footer { background: var(--est-ink); color: rgba(236, 234, 228, 0.72); padding: 60px 0 28px; }
.est-footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	gap: 40px;
	align-items: start;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--est-line-light);
}
.est-footer-brand .est-logo-mark { color: var(--est-accent-2); margin-bottom: 12px; }
.est-footer-brand .est-brand-name { color: #fbfaf7; display: block; margin-bottom: 10px; }
.est-footer-brand p { font-size: 15px; }
.est-footer-nav { display: flex; flex-direction: column; gap: 12px; }
.est-footer-nav a { font-size: 15px; color: rgba(236, 234, 228, 0.72); }
.est-footer-nav a:hover { color: var(--est-accent-2); }
.est-footer-social { display: flex; gap: 12px; }
.est-footer-social a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--est-line-light);
	border-radius: 100px;
	color: rgba(236, 234, 228, 0.72);
	transition: all 0.2s ease;
}
.est-footer-social a:hover { color: var(--est-accent-2); border-color: var(--est-accent-2); }
.est-footer-social svg { width: 20px; height: 20px; }
.est-footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	font-size: 13.5px;
	color: rgba(236, 234, 228, 0.5);
	flex-wrap: wrap;
}

/* ---------- Sticky mobile CTA ---------- */
.est-sticky-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	padding: 12px 16px;
	background: rgba(247, 245, 240, 0.95);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--est-line);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.est-pillars-grid { grid-template-columns: 1fr; gap: 34px; }
	.est-about-inner { grid-template-columns: 1fr; gap: 40px; }
	.est-about-media, .est-about-fallback { min-height: 260px; }
	.est-method-grid { grid-template-columns: 1fr 1fr; }
	.est-projects-grid { grid-template-columns: 1fr; }
	.est-offices-grid { grid-template-columns: 1fr; }
	.est-contact-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
	.est-wrap { font-size: 16px; }
	.est-container { padding: 0 22px; }
	.est-nav { display: none; }
	.est-header .est-btn-sm { display: none; }
	.est-burger { display: flex; }
	.est-nav.is-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--est-paper);
		padding: 20px 22px;
		gap: 18px;
		border-bottom: 1px solid var(--est-line);
		margin: 0;
	}
	.est-hero { padding: 96px 0 84px; }
	.est-method-grid { grid-template-columns: 1fr; }
	.est-form-row { grid-template-columns: 1fr; gap: 0; }
	.est-form { padding: 26px 22px; }
	.est-footer-inner { grid-template-columns: 1fr; gap: 30px; }
	.est-sticky-cta { display: block; }
	.est-footer { padding-bottom: 96px; }
	.est-hero-cta .est-btn { flex: 1; }
}
