/* =============================================================
   ElmsPark — shared styles
   British English, no em-dashes, never "free".
   ============================================================= */

:root {
	--paper:     #f4efe6;
	--ink:       #1a1714;
	--ink-soft:  #3d3630;
	--rule:      #1a1714;
	--accent:    #b8441f;
	--muted:     #7a6f63;
	--cream:     #ebe4d5;

	--suite-bg:     #1a1714;
	--suite-fg:     #f4efe6;
	--suite-accent: #d67355;
	--suite-rule:   rgba(244, 239, 230, 0.2);
}

[data-theme="dark"] {
	--paper:     #1a1714;
	--ink:       #f4efe6;
	--ink-soft:  #c4bcb0;
	--rule:      #3d3630;
	--accent:    #d67355;
	--muted:     #8a8077;
	--cream:     #262220;

	--suite-bg:     #0f0d0b;
	--suite-fg:     #f4efe6;
	--suite-accent: #e8866a;
	--suite-rule:   rgba(244, 239, 230, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; transition: background 0.3s ease; }
body {
	background: var(--paper);
	color: var(--ink);
	font-family: 'Inter Tight', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background 0.3s ease, color 0.3s ease;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }

.ep-header {
	border-bottom: 1px solid var(--rule);
	padding: 1.5rem 0;
	position: sticky;
	top: 0;
	background: var(--paper);
	z-index: 100;
}
.ep-nav { display: flex; justify-content: space-between; align-items: center; }
.ep-logo {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: -0.03em;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--ink);
	text-decoration: none;
}
.ep-logo svg { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.ep-logo .accent { color: var(--accent); }
.ep-nav ul { list-style: none; display: flex; gap: 2.5rem; }
.ep-nav a {
	color: var(--ink);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: color 0.2s ease;
}
.ep-nav a:hover, .ep-nav a.is-active { color: var(--accent); }
.nav-right { display: flex; align-items: center; }

.theme-toggle {
	background: transparent;
	border: 1px solid var(--rule);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	margin-left: 1.5rem;
	transition: border-color 0.2s ease, color 0.2s ease;
	padding: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.ep-section { border-bottom: 1px solid var(--rule); }
.ep-section-label {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 2rem;
	display: block;
	font-weight: 500;
}

.hero { padding: 7rem 0 6rem; position: relative; }
.hero--short { padding: 7rem 0 5rem; }
.hero-meta {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 4rem;
	color: var(--muted);
	gap: 1rem;
	flex-wrap: wrap;
}
.hero h1 {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: clamp(3rem, 8vw, 7.5rem);
	line-height: 0.95;
	font-weight: 500;
	letter-spacing: -0.035em;
	max-width: 14ch;
	margin-bottom: 3rem;
	text-transform: none;
}
.hero--short h1 {
	font-size: clamp(3rem, 7.5vw, 6.5rem);
	max-width: 16ch;
	margin-bottom: 2.5rem;
}
.hero h1 em {
	font-style: normal;
	font-weight: 500;
	color: var(--accent);
}
.hero-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: end;
	margin-top: 2rem;
}
.hero-lede {
	font-size: 1.2rem;
	line-height: 1.55;
	max-width: 42ch;
	color: var(--ink-soft);
}
.hero-lede--serif {
	font-family: 'Fraunces', serif;
	font-weight: 300;
	font-size: 1.5rem;
	line-height: 1.5;
	max-width: 50ch;
}
.hero-cta { text-align: right; }

.btn {
	display: inline-block;
	background: var(--ink);
	color: var(--paper);
	padding: 1.1rem 2.2rem;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border: 1px solid var(--ink);
	cursor: pointer;
	font-family: 'Inter Tight', sans-serif;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.manifesto { padding: 6rem 0; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; }
.manifesto h2 {
	font-family: 'Fraunces', serif;
	font-size: 2rem;
	line-height: 1.1;
	font-weight: 300;
	letter-spacing: -0.02em;
}
.manifesto-body p {
	font-size: 1.3rem;
	line-height: 1.55;
	font-family: 'Fraunces', serif;
	font-weight: 300;
	margin-bottom: 1.5rem;
	max-width: 58ch;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-body em { font-style: italic; color: var(--accent); }

.work { padding: 6rem 0; }
.work-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-bottom: 4rem;
	align-items: end;
}
.work h2 {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 0.95;
	font-weight: 500;
	letter-spacing: -0.03em;
}
.work h2 em { font-style: normal; color: var(--accent); }
.work-head p { font-size: 1.1rem; color: var(--ink-soft); max-width: 45ch; }
.work-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--rule);
}
.work-card {
	padding: 2.5rem 2rem 2.5rem 0;
	border-right: 1px solid var(--rule);
	display: flex;
	flex-direction: column;
	min-height: 280px;
	text-decoration: none;
	color: var(--ink);
	transition: background 0.25s ease;
}
.work-card:last-child { border-right: none; padding-right: 0; }
.work-card:not(:first-child) { padding-left: 2rem; }
.work-card:hover { background: var(--cream); }
.work-card[aria-disabled="true"] { cursor: default; }
.work-card[aria-disabled="true"]:hover { background: transparent; }
.work-num {
	font-family: 'Fraunces', serif;
	font-size: 0.9rem;
	font-style: italic;
	color: var(--muted);
	margin-bottom: 1.5rem;
}
.work-title {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin-bottom: 0.8rem;
	line-height: 1.05;
}
.work-desc {
	font-size: 0.95rem;
	color: var(--ink-soft);
	line-height: 1.55;
	margin-bottom: auto;
}
.work-link {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--accent);
	margin-top: 2rem;
	font-weight: 500;
}
.work-card[aria-disabled="true"] .work-link { color: var(--muted); }

.services { padding: 6rem 0; }
.services-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-bottom: 5rem;
	align-items: end;
}
.services h2 {
	font-family: 'Fraunces', serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 0.95;
	font-weight: 300;
	letter-spacing: -0.03em;
}
.services-head p { font-size: 1.1rem; color: var(--ink-soft); max-width: 45ch; }
.service-list { border-top: 1px solid var(--rule); }
.service {
	border-bottom: 1px solid var(--rule);
	padding: 2.5rem 0;
	display: grid;
	grid-template-columns: 80px 1fr 2fr 180px;
	gap: 2rem;
	align-items: baseline;
	transition: background 0.25s ease, padding 0.25s ease;
	cursor: pointer;
}
.service:hover { background: var(--cream); padding-left: 1rem; padding-right: 1rem; }
.service-num {
	font-family: 'Fraunces', serif;
	font-size: 1rem;
	font-style: italic;
	color: var(--muted);
}
.service-name {
	font-family: 'Fraunces', serif;
	font-size: 2rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1;
}
.service-desc { font-size: 1rem; color: var(--ink-soft); line-height: 1.5; }
.service-price {
	font-family: 'Fraunces', serif;
	font-size: 1.1rem;
	text-align: right;
	color: var(--ink);
}
.service-price span {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	font-family: 'Inter Tight', sans-serif;
	margin-bottom: 0.3rem;
	font-weight: 500;
}

.suite {
	padding: 6rem 0;
	background: var(--suite-bg);
	color: var(--suite-fg);
	transition: background 0.3s ease, color 0.3s ease;
	border-bottom: 1px solid var(--rule);
}
.suite .ep-section-label { color: var(--suite-accent); }
.suite-head { margin-bottom: 4rem; max-width: 60ch; }
.suite h2 {
	font-family: 'Fraunces', serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1;
	font-weight: 300;
	letter-spacing: -0.03em;
	margin-bottom: 2rem;
}
.suite h2 em { font-style: italic; color: var(--suite-accent); }
.suite-head p { font-size: 1.15rem; line-height: 1.6; opacity: 0.85; }
.suite-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--suite-rule);
}
.suite-item {
	padding: 2.5rem 2rem;
	border-bottom: 1px solid var(--suite-rule);
	border-right: 1px solid var(--suite-rule);
}
.suite-item:nth-child(3n) { border-right: none; padding-right: 0; }
.suite-item:nth-child(3n+1) { padding-left: 0; }
.suite-item h3 {
	font-family: 'Fraunces', serif;
	font-size: 1.4rem;
	font-weight: 400;
	margin-bottom: 0.6rem;
}
.suite-item h3 span { color: var(--suite-accent); font-style: italic; font-weight: 300; }
.suite-item p { font-size: 0.95rem; opacity: 0.75; line-height: 1.55; }

.pull { padding: 8rem 0; text-align: center; border-bottom: 1px solid var(--rule); }
.pull--cream { background: var(--cream); padding: 7rem 0; }
.pull blockquote {
	font-family: 'Fraunces', serif;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.2;
	font-weight: 300;
	font-style: italic;
	letter-spacing: -0.02em;
	max-width: 22ch;
	margin: 0 auto;
}
.pull--cream blockquote { max-width: 26ch; }
.pull blockquote::before { content: '"'; color: var(--accent); }
.pull blockquote::after  { content: '"'; color: var(--accent); }

.cta { padding: 7rem 0; border-bottom: 1px solid var(--rule); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.cta h2 {
	font-family: 'Fraunces', serif;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 0.95;
	font-weight: 300;
	letter-spacing: -0.03em;
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta-body p {
	font-size: 1.15rem;
	color: var(--ink-soft);
	margin-bottom: 2rem;
	max-width: 42ch;
}
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.body-section { padding: 6rem 0; border-bottom: 1px solid var(--rule); }
.body-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; }
.body-section h2 {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 1.75rem;
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -0.02em;
	position: sticky;
	top: 6rem;
}
.body-text p {
	font-family: 'Fraunces', serif;
	font-weight: 300;
	font-size: 1.3rem;
	line-height: 1.55;
	margin-bottom: 1.5rem;
	max-width: 58ch;
}
.body-text p:last-child { margin-bottom: 0; }
.body-text em { font-style: italic; color: var(--accent); }

.form-section { padding: 6rem 0; border-bottom: 1px solid var(--rule); }
.form-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; }
.form-side h2 {
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 2rem;
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}
.form-side p {
	font-family: 'Fraunces', serif;
	font-weight: 300;
	font-size: 1.2rem;
	line-height: 1.55;
	margin-bottom: 1.2rem;
	color: var(--ink-soft);
}
.form-side em { font-style: italic; color: var(--accent); }
.direct {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--rule);
	font-size: 0.95rem;
	color: var(--ink-soft);
}
.direct strong {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--accent);
	margin-bottom: 0.4rem;
	font-weight: 500;
}
.direct a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.direct a:hover { color: var(--accent); }

form.ep-form { display: flex; flex-direction: column; gap: 1.8rem; }
.field { display: flex; flex-direction: column; }
.field label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	margin-bottom: 0.6rem;
	font-weight: 500;
}
.field .required { color: var(--accent); }
.field input,
.field textarea,
.field select {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--ink);
	padding: 0.8rem 0;
	font-family: 'Inter Tight', sans-serif;
	font-size: 1.1rem;
	color: var(--ink);
	resize: vertical;
	border-radius: 0;
	width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: none;
	border-bottom-color: var(--accent);
}
.field textarea { min-height: 140px; line-height: 1.6; }
.field select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231a1714' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.2rem center;
	padding-right: 1.5rem;
}
[data-theme="dark"] .field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23f4efe6' stroke-width='1.5'/></svg>");
}
.field .help {
	font-size: 0.8rem;
	color: var(--muted);
	margin-top: 0.4rem;
	font-family: 'Inter Tight', sans-serif;
}
.form-submit { margin-top: 0.5rem; align-self: flex-start; }

.smallprint { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.smallprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.smallprint-item h4 {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--accent);
	margin-bottom: 0.8rem;
	font-weight: 500;
}
.smallprint-item p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }

.ep-footer { padding: 4rem 0 2rem; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
}
.footer-brand .ep-logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); max-width: 30ch; }
.footer-col h4 {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 1rem;
	color: var(--accent);
	font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
	border-top: 1px solid var(--rule);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: var(--muted);
	gap: 1rem;
	flex-wrap: wrap;
}

@media (max-width: 900px) {
	.wrap { padding: 0 1.5rem; }
	.ep-nav ul { display: none; }
	.hero-foot,
	.manifesto-grid,
	.services-head,
	.work-head,
	.cta-grid,
	.body-grid,
	.form-grid { grid-template-columns: 1fr; gap: 2rem; }
	.work-grid { grid-template-columns: 1fr; }
	.work-card { border-right: none; border-bottom: 1px solid var(--rule); padding: 2rem 0 !important; min-height: auto; }
	.work-card:last-child { border-bottom: none; }
	.hero-cta { text-align: left; }
	.suite-grid { grid-template-columns: 1fr; }
	.suite-item { border-right: none; padding-left: 0 !important; padding-right: 0 !important; }
	.service { grid-template-columns: 1fr; gap: 0.8rem; padding: 2rem 0; }
	.service-price { text-align: left; }
	.body-section h2 { position: static; }
	.smallprint-grid { grid-template-columns: 1fr; gap: 2rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-bottom { flex-direction: column; }
}
