:root {
  --e-dark: #111317;
  --e-dark-2: #1C2028;
  --e-brass: #C88A2E;
  --e-brass-l: #E0A84C;
  --e-brass-ink: #8A560C;
  --e-brass-s: #FBF5E9;
  --e-bg: #FFFFFF;
  --e-alab: #FAF9F6;
  --e-ink: #14171D;
  --e-body: #323843;
  --e-muted: #5F6775;
  --e-line: #E3DFD7;
  --e-line-2: #CBC6BC;
  --e-head: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --e-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --e-r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--e-sans); color: var(--e-body); background: var(--e-bg);
  font-size: 16px; line-height: 1.64; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--e-head); color: var(--e-ink); font-weight: 800; letter-spacing: -0.025em; line-height: 1.13; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2rem, 3.8vw, 3.05rem); }
h2 { font-size: clamp(1.48rem, 2.45vw, 2.05rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
a { color: var(--e-brass-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
.e-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.e-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.e-num { font-variant-numeric: tabular-nums; }

/* Charcoal Header + Brass Hairline */
.e-rule { height: 3px; background: linear-gradient(90deg, var(--e-brass), var(--e-brass-l), var(--e-brass)); }
.e-hdr { position: sticky; top: 0; z-index: 40; background: var(--e-dark); border-bottom: 1px solid #262B35; }
.e-hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; }
.e-logo { font-family: var(--e-head); font-weight: 800; font-size: 1.24rem; color: #FFFFFF; letter-spacing: -0.03em; white-space: nowrap; }
.e-logo:hover { text-decoration: none; }
.e-logo span { color: var(--e-brass-l); }
.e-nav { display: flex; align-items: center; gap: 20px; }
.e-nav a { color: #D4D8E0; font-size: 0.89rem; font-weight: 600; }
.e-nav a:hover, .e-nav a[aria-current="page"] { color: var(--e-brass-l); text-decoration: none; }
.e-hact { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.e-menu { display: none; background: var(--e-dark-2); border: 1.5px solid #3A414E; border-radius: var(--e-r); padding: 7px 11px; font-weight: 700; font-size: 0.83rem; color: #FFFFFF; cursor: pointer; }

/* Buttons */
.e-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--e-r);
  font-family: var(--e-head); font-weight: 800; font-size: 0.92rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.15;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.e-btn:hover { text-decoration: none; }
.e-btn-a { background: var(--e-brass); color: #111317; }
.e-btn-a:hover { background: var(--e-brass-l); color: #111317; }
.e-btn-d { background: var(--e-dark); color: #FFFFFF; }
.e-btn-d:hover { background: #232832; color: #FFFFFF; }
.e-btn-o-dark { background: transparent; color: #FFFFFF; border-color: #525B6B; }
.e-btn-o-dark:hover { border-color: var(--e-brass-l); color: var(--e-brass-l); }
.e-btn-o { background: #FFFFFF; color: var(--e-ink); border-color: var(--e-ink); }
.e-btn-o:hover { background: var(--e-alab); }
.e-btn-sm { min-height: 38px; padding: 0 15px; font-size: 0.84rem; }

/* High-Trust Dark Charcoal Split Form-First Hero */
.e-hero {
  background: radial-gradient(circle at 12% 18%, rgba(200, 138, 46, 0.14), transparent 44%), var(--e-dark);
  color: #D4D8E0; padding: clamp(30px, 4.8vw, 56px) 0 clamp(34px, 5vw, 58px);
  border-bottom: 1px solid #262B35;
}
.e-hero h1 { color: #FFFFFF; }
.e-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.e-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--e-brass-l); border: 1px solid rgba(224, 168, 76, 0.38); background: rgba(200, 138, 46, 0.1); padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
.e-lead { font-size: clamp(1rem, 1.25vw, 1.12rem); color: #D4D8E0; max-width: 56ch; margin: 0 0 20px; }
.e-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.e-trust { font-size: 0.9rem; font-weight: 700; color: #F5F2EA; margin: 0 0 24px; }
.e-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.e-stats li { background: var(--e-dark-2); border: 1px solid #2C323E; border-left: 3px solid var(--e-brass); border-radius: var(--e-r); padding: 13px 14px; }
.e-stats strong { display: block; font-family: var(--e-head); font-size: clamp(1.16rem, 1.55vw, 1.38rem); font-weight: 800; color: #FFFFFF; line-height: 1.15; }
.e-stats span { display: block; font-size: 0.8rem; color: #A6B0BF; margin-top: 4px; line-height: 1.35; }

/* Subpage Dark Header */
.e-subhero { background: var(--e-dark); color: #D4D8E0; padding: clamp(28px, 4.2vw, 48px) 0; border-bottom: 1px solid #262B35; }
.e-subhero h1 { color: #FFFFFF; }
.e-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.83rem; color: #9CA5B5; margin-bottom: 12px; }
.e-crumbs a { color: #CBD2DE; }

/* Embedded Interactive Dublin Cost Estimator Card */
.e-calc { background: #FFFFFF; color: var(--e-body); border: 2px solid var(--e-brass); border-radius: 8px; padding: clamp(18px, 2.5vw, 25px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38); }
.e-calc.light-shadow { box-shadow: 0 12px 32px rgba(17, 19, 23, 0.08); }
.e-calc-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.e-calc-t { font-family: var(--e-head); font-size: 1.08rem; font-weight: 800; color: var(--e-ink); }
.e-step-pill { font-size: 0.76rem; font-weight: 700; color: var(--e-brass-ink); background: var(--e-brass-s); border: 1px solid #EBD4AA; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.e-prog { height: 6px; background: #EAE6DE; border-radius: 99px; overflow: hidden; margin-bottom: 15px; }
.e-prog i { display: block; height: 100%; background: var(--e-brass); transition: width .22s ease; }
.e-step { display: none; }
.e-step.on { display: block; }
.e-step h3 { font-size: 1.12rem; margin: 0 0 4px; color: var(--e-ink); }
.e-help { font-size: 0.85rem; color: var(--e-muted); margin: 0 0 12px; }
.e-pic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.e-pic-btn {
  text-align: left; padding: 0; border: 1.5px solid var(--e-line-2); border-radius: var(--e-r);
  background: #FFFFFF; overflow: hidden; cursor: pointer; font-family: var(--e-sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.e-pic-btn:hover, .e-pic-btn.picked { border-color: var(--e-brass); box-shadow: inset 0 0 0 1px var(--e-brass); }
.e-pic-btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--e-line); }
.e-pic-cap { display: block; padding: 8px 10px; font-weight: 700; font-size: 0.84rem; color: var(--e-ink); line-height: 1.25; }
.e-pic-cap small { display: block; font-weight: 600; font-size: 0.76rem; color: var(--e-brass-ink); margin-top: 2px; }
.e-opt-list { display: grid; gap: 8px; }
.e-opt {
  width: 100%; text-align: left; padding: 11px 13px; border: 1.5px solid var(--e-line-2);
  border-radius: var(--e-r); background: #FFFFFF; cursor: pointer; font-family: var(--e-sans);
  font-size: 0.9rem; font-weight: 700; color: var(--e-ink);
}
.e-opt:hover, .e-opt.picked { border-color: var(--e-brass); background: var(--e-brass-s); }
.e-opt small { display: block; font-weight: 400; font-size: 0.79rem; color: var(--e-muted); margin-top: 2px; }
.e-est-box { background: var(--e-dark); color: #E2E6EE; border-radius: var(--e-r); padding: 14px 16px; margin-bottom: 14px; border-left: 4px solid var(--e-brass-l); }
.e-est-k { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--e-brass-l); }
.e-est-p { font-family: var(--e-head); font-size: 1.46rem; font-weight: 800; color: #FFFFFF; line-height: 1.2; margin: 2px 0 4px; }
.e-est-s { font-size: 0.81rem; color: #C2C8D4; margin: 0; }
.e-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.e-field { margin-bottom: 9px; }
.e-field label { display: block; font-size: 0.81rem; font-weight: 700; color: var(--e-ink); margin-bottom: 4px; }
.e-field input, .e-field select, .e-field textarea {
  width: 100%; min-height: 43px; padding: 9px 11px; border: 1.5px solid var(--e-line-2);
  border-radius: 5px; font-family: var(--e-sans); font-size: 0.96rem; color: var(--e-ink); background: #FFFFFF;
}
.e-field input:focus, .e-field select:focus, .e-field textarea:focus { outline: none; border-color: var(--e-brass); }
.e-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.e-consent { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border: 1px solid var(--e-line); border-radius: 5px; background: var(--e-alab); font-size: 0.79rem; color: var(--e-body); margin: 6px 0 11px; line-height: 1.42; }
.e-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--e-dark); flex: none; }
.e-fnav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.e-back { background: transparent; border: 0; color: var(--e-muted); font-family: var(--e-sans); font-size: 0.87rem; font-weight: 700; cursor: pointer; padding: 6px 2px; }
.e-err { color: #B91C1C; font-size: 0.85rem; font-weight: 700; min-height: 1.1em; margin: 5px 0 0; }

/* Sections */
.e-sec { padding: clamp(44px, 6vw, 68px) 0; background: #FFFFFF; }
.e-sec.alab { background: var(--e-alab); }
.e-sec.dark { background: var(--e-dark); color: #D4D8E0; }
.e-sec.dark h2, .e-sec.dark h3 { color: #FFFFFF; }
.e-sec + .e-sec { border-top: 1px solid var(--e-line); }
.e-sec.dark + .e-sec { border-top: 0; }
.e-sh { max-width: 720px; margin-bottom: 26px; }
.e-sh p { color: var(--e-muted); margin: 0; font-size: 0.99rem; }
.e-sec.dark .e-sh p { color: #A6B0BF; }

/* Grids & Cards */
.e-g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.e-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.e-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.e-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; align-items: center; }
.e-pcard { border: 1px solid var(--e-line); border-radius: var(--e-r); overflow: hidden; background: #FFFFFF; display: flex; flex-direction: column; }
.e-pcard-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--e-alab); border-bottom: 1px solid var(--e-line); }
.e-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.e-pcard:hover .e-pcard-img img { transform: scale(1.03); }
.e-pcard-in { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.e-pcard-p { font-family: var(--e-head); font-weight: 800; color: var(--e-brass-ink); font-size: 1rem; margin: 2px 0 8px; }
.e-pcard-in p { font-size: 0.86rem; color: var(--e-muted); margin: 0 0 12px; flex: 1; }
.e-card { border: 1px solid var(--e-line); border-radius: var(--e-r); padding: 20px; background: #FFFFFF; }
.e-card p:last-child { margin-bottom: 0; }
.e-card.brass { border-top: 3px solid var(--e-brass); }
.e-dcard { border: 1px solid #2C323E; border-top: 3px solid var(--e-brass); border-radius: var(--e-r); padding: 20px; background: var(--e-dark-2); }
.e-dcard p { color: #C2C8D4; font-size: 0.92rem; }
.e-dcard p:last-child { margin-bottom: 0; }

/* Tables */
.e-tbl { overflow-x: auto; border: 1px solid var(--e-line); border-radius: var(--e-r); background: #FFFFFF; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--e-line); vertical-align: top; }
th { background: var(--e-alab); font-family: var(--e-head); font-weight: 800; color: var(--e-ink); font-size: 0.84rem; }
tr:last-child td { border-bottom: 0; }

/* Suburb Chips */
.e-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.e-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--e-line-2); border-radius: 5px; background: #FFFFFF; color: var(--e-ink); font-weight: 600; font-size: 0.86rem; }
.e-chips a:hover { border-color: var(--e-brass); background: var(--e-brass-s); color: var(--e-brass-ink); text-decoration: none; }
.e-chips small { font-size: 0.74rem; color: var(--e-muted); font-weight: 700; }

/* Notes, Prose, Band, FAQ */
.e-note { border-left: 4px solid var(--e-brass); background: var(--e-brass-s); padding: 15px 18px; border-radius: 0 var(--e-r) var(--e-r) 0; margin: 20px 0; color: var(--e-ink); }
.e-prose h2 { margin-top: 2rem; }
.e-prose ul, .e-prose ol { padding-left: 20px; margin: 0 0 1.15rem; }
.e-prose li { margin-bottom: 0.45rem; }
.e-band { background: var(--e-dark); color: #D4D8E0; border: 1px solid #2C323E; border-left: 5px solid var(--e-brass); border-radius: 8px; padding: clamp(24px, 4vw, 38px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.e-band h2 { color: #FFFFFF; margin-bottom: 6px; }
.e-band p { color: #C2C8D4; margin: 0; max-width: 58ch; }
.e-faqs { max-width: 860px; border-top: 1px solid var(--e-line); }
details.e-faq { border-bottom: 1px solid var(--e-line); padding: 15px 0; }
details.e-faq summary { font-family: var(--e-head); font-weight: 700; font-size: 1.02rem; color: var(--e-ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
details.e-faq summary::-webkit-details-marker { display: none; }
details.e-faq summary::after { content: '+'; font-size: 1.25rem; color: var(--e-brass-ink); flex: none; }
details.e-faq[open] summary::after { content: '-'; }
details.e-faq p { margin: 10px 0 0; font-size: 0.95rem; }

/* Thanks Photo Uploader */
.e-more { max-width: 680px; border: 1.5px solid var(--e-line-2); border-radius: 8px; padding: clamp(20px, 3vw, 28px); background: #FFFFFF; }
.e-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px 16px; border: 2px dashed var(--e-line-2); border-radius: var(--e-r); background: var(--e-alab); cursor: pointer; text-align: center; }
.e-drop:hover { border-color: var(--e-brass); }
.e-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.e-th { position: relative; aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; border: 1px solid var(--e-line); }
.e-th img { width: 100%; height: 100%; object-fit: cover; }
.e-th button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(17, 19, 23, 0.85); color: #fff; font-weight: 700; cursor: pointer; }

/* Footer */
.e-foot { background: var(--e-dark); color: #A6B0BF; padding: 48px 0 28px; font-size: 0.88rem; border-top: 3px solid var(--e-brass); }
.e-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.e-foot h4 { color: #FFFFFF; font-size: 0.89rem; margin: 0 0 10px; }
.e-foot a { display: block; color: #C2C8D4; margin-bottom: 7px; }
.e-foot a:hover { color: var(--e-brass-l); }
.e-foot-btm { border-top: 1px solid #262B35; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: #8B95A6; }
.e-foot-btm a { display: inline; color: #CBD2DE; }

@media (max-width: 960px) {
  .e-hero-grid, .e-split, .e-foot-grid { grid-template-columns: 1fr; }
  .e-g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-g3 { grid-template-columns: 1fr; }
  .e-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--e-dark-2); border-bottom: 1px solid #2C323E; flex-direction: column; align-items: stretch; padding: 14px 20px; gap: 10px; }
  .e-nav.open { display: flex; }
  .e-menu { display: inline-flex; }
}
@media (max-width: 620px) {
  .e-g4, .e-g2, .e-fgrid { grid-template-columns: 1fr; }
  .e-stats, .e-pic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
