/* ==========================================================================
   EIGHT PALM COVE — landing page styles
   Every class is prefixed `epc-` so nothing here can affect the rest of
   govista.com.au. Mobile-first; breakpoints at 640px, 960px and 1200px.
   ========================================================================== */

:root {
  --epc-green-950: #0f1f18;
  --epc-green-900: #14281f;
  --epc-green-800: #1b3a2c;
  --epc-green-700: #24493a;
  --epc-green-600: #2f5a48;
  --epc-gold: #d6b77a;
  --epc-gold-soft: #e6d1a4;
  --epc-gold-deep: #9a7a43;
  --epc-ivory: #f7f2e9;
  --epc-ivory-2: #efe7d8;
  --epc-sand: #ded2be;
  --epc-ink: #1d2621;
  --epc-muted: #59655e;
  --epc-line: rgba(29, 38, 33, 0.14);
  --epc-line-light: rgba(247, 242, 233, 0.18);

  --epc-serif: "Cormorant Garamond", "Cormorant", Baskerville, "Libre Baskerville", "Hoefler Text", "Baskerville Old Face", Georgia, "Times New Roman", serif;
  --epc-sans: "Jost", "Inter", "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --epc-radius: 2px;
  --epc-gutter: clamp(20px, 5vw, 56px);
  --epc-section: clamp(72px, 11vw, 148px);
  --epc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base (scoped to the landing page) ---------- */
.epc-body { margin: 0; background: var(--epc-ivory); }
.epc, .epc-header, .epc-footer {
  font-family: var(--epc-sans);
  color: var(--epc-ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.epc *, .epc *::before, .epc *::after, .epc-header *, .epc-footer * { box-sizing: border-box; }
:where(.epc) img, :where(.epc) video { display: block; max-width: 100%; height: auto; }
:where(.epc) a { color: inherit; }
.epc :focus-visible, .epc-header :focus-visible { outline: 2px solid var(--epc-gold); outline-offset: 3px; }
:where(.epc) :where(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; }
:where(.epc) ul { padding: 0; list-style: none; }
html:has(.epc) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.epc) { scroll-behavior: auto; } }
#enquire, #intro, #residences { scroll-margin-top: 24px; }

.epc-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--epc-gutter); }
.epc-section { padding: var(--epc-section) 0; }

/* ---------- type ---------- */
.epc-eyebrow {
  font-family: var(--epc-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--epc-gold-deep);
  margin-bottom: 18px;
}
.epc-eyebrow--light, .epc-heading--light .epc-eyebrow { color: var(--epc-gold); }
.epc-title {
  font-family: var(--epc-serif);
  font-weight: 400;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--epc-green-900);
}
.epc-title em, .epc-hero__title em {
  font-style: italic;
  color: var(--epc-gold-deep);
}
.epc-heading--light .epc-title { color: var(--epc-ivory); }
.epc-heading--light .epc-title em { color: var(--epc-gold); }
.epc-heading { margin-bottom: 28px; }
.epc-body-lg { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: var(--epc-muted); max-width: 60ch; }
.epc-body-lg + .epc-body-lg { margin-top: 18px; }

/* ---------- buttons & links ---------- */
.epc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--epc-sans); font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--epc-radius);
  cursor: pointer; transition: background 0.3s var(--epc-ease), color 0.3s var(--epc-ease), border-color 0.3s var(--epc-ease), transform 0.3s var(--epc-ease);
}
.epc-btn:hover { transform: translateY(-1px); }
.epc-btn--gold { background: var(--epc-gold); color: var(--epc-green-950); }
.epc-btn--gold:hover { background: var(--epc-gold-soft); }
.epc-btn--ghost { background: transparent; color: var(--epc-ivory); border-color: rgba(247, 242, 233, 0.55); }
.epc-btn--ghost:hover { border-color: var(--epc-gold); color: var(--epc-gold); }
.epc-btn--green { background: var(--epc-green-800); color: var(--epc-ivory); }
.epc-btn--green:hover { background: var(--epc-green-700); }
.epc-btn--sm { min-height: 40px; padding: 0 18px; font-size: 12px; }
.epc-btn--block { width: 100%; }
.epc-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.epc-link {
  display: inline-block; margin-top: 28px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--epc-green-800); text-decoration: none;
  border-bottom: 1px solid var(--epc-gold); padding-bottom: 6px;
}
.epc-link:hover { color: var(--epc-gold-deep); }

.epc-play {
  display: inline-block; width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor;
}

/* ---------- wordmark ---------- */
.epc-wordmark {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 7px 14px 6px; border: 1px solid currentColor; line-height: 1;
  font-family: var(--epc-serif); text-decoration: none;
}
.epc-wordmark--light { color: var(--epc-ivory); }
.epc-wordmark--dark { color: var(--epc-green-900); }
.epc-wordmark__eight { font-size: 22px; letter-spacing: 0.32em; margin-right: -0.32em; }
.epc-wordmark__pc { font-family: var(--epc-sans); font-size: 8px; letter-spacing: 0.42em; margin-top: 5px; margin-right: -0.42em; }

/* ---------- standalone header ---------- */
.epc-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.epc-header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.epc-header__brand { text-decoration: none; }
.epc-header__nav { display: flex; align-items: center; gap: 22px; }
.epc-header__phone { display: none; color: var(--epc-ivory); text-decoration: none; font-size: 14px; letter-spacing: 0.06em; }
@media (min-width: 640px) { .epc-header__phone { display: inline; } }

/* ---------- hero ---------- */
.epc-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--epc-green-900); color: var(--epc-ivory);
}
.epc-hero__bg, .epc-hero__shade { position: absolute; inset: 0; z-index: -1; }
.epc-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); animation: epc-drift 18s var(--epc-ease) forwards; }
@keyframes epc-drift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .epc-hero__img { animation: none; transform: none; } }
.epc-hero__shade {
  background:
    linear-gradient(180deg, rgba(15, 31, 24, 0.6) 0%, rgba(15, 31, 24, 0.5) 30%, rgba(15, 31, 24, 0.72) 55%, rgba(15, 31, 24, 0.94) 100%);
}
.epc-hero__inner { padding-top: 120px; padding-bottom: clamp(72px, 12vh, 120px); display: grid; gap: 40px; align-items: end; }
.epc-hero__title {
  font-family: var(--epc-serif); font-weight: 400;
  font-size: clamp(50px, 13vw, 116px); line-height: 1; letter-spacing: -0.015em;
  margin: 0 0 30px;
}
.epc-hero__title em { color: var(--epc-gold); display: block; }
.epc-hero__lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; max-width: 46ch; color: rgba(247, 242, 233, 0.88); margin-bottom: 34px; }
.epc-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.epc-hero__ctas .epc-btn { flex: 1 1 220px; }
.epc-hero__film { display: none; }
.epc-hero__scroll { display: none; }

.epc-film-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 9 / 16; overflow: hidden; background: var(--epc-green-950);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); outline: 1px solid rgba(214, 183, 122, 0.45); outline-offset: 10px;
}
.epc-film-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--epc-ease), filter 0.8s var(--epc-ease); filter: saturate(0.9) brightness(0.82); }
.epc-film-card:hover img { transform: scale(1.04); filter: saturate(1) brightness(0.9); }
.epc-film-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247, 242, 233, 0.16); border: 1px solid rgba(247, 242, 233, 0.7); color: var(--epc-ivory);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.epc-film-card__play .epc-play { border-width: 9px 0 9px 15px; margin-left: 4px; }
.epc-film-card__label {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--epc-ivory);
}

@media (min-width: 960px) {
  .epc-hero { align-items: center; }
  .epc-hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 72px; align-items: center; padding-top: 140px; }
  .epc-hero__ctas .epc-btn { flex: 0 0 auto; }
  .epc-hero__film-btn { display: none; }
  .epc-hero__film { display: block; max-width: 330px; justify-self: end; width: 100%; }
  .epc-hero__shade { background: linear-gradient(90deg, rgba(15, 31, 24, 0.86) 0%, rgba(15, 31, 24, 0.55) 48%, rgba(15, 31, 24, 0.25) 100%), linear-gradient(180deg, rgba(15, 31, 24, 0.5) 0%, rgba(15, 31, 24, 0) 30%); }
  .epc-hero__scroll { display: block; position: absolute; left: 50%; bottom: 26px; width: 1px; height: 56px; background: rgba(247, 242, 233, 0.35); overflow: hidden; }
  .epc-hero__scroll span { position: absolute; inset: 0; background: var(--epc-gold); animation: epc-scroll 2.4s var(--epc-ease) infinite; }
  @keyframes epc-scroll { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
}

/* ---------- intro ---------- */
.epc-intro { background: var(--epc-ivory); }
.epc-intro__grid { display: grid; gap: 56px; }
.epc-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px; border-top: 1px solid var(--epc-line);
}
.epc-stats__item { padding: 22px 0; border-bottom: 1px solid var(--epc-line); display: flex; flex-direction: column-reverse; gap: 4px; }
.epc-stats__item:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--epc-line); }
.epc-stats__item:nth-child(even) { padding-left: 20px; }
.epc-stats dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--epc-muted); }
.epc-stats dd { font-family: var(--epc-serif); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.1; color: var(--epc-green-900); }
.epc-intro__media { position: relative; padding-bottom: 18%; }
.epc-intro__img { object-fit: cover; }
.epc-intro__img--tall { width: 74%; aspect-ratio: 3 / 4; height: auto; }
.epc-intro__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 2 / 3; height: auto; border: 8px solid var(--epc-ivory); }
@media (min-width: 960px) {
  .epc-intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
}

/* ---------- section heads ---------- */
.epc-split-head { display: grid; gap: 8px; margin-bottom: 56px; }
@media (min-width: 960px) {
  .epc-split-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: end; margin-bottom: 72px; }
  .epc-split-head .epc-heading { margin-bottom: 0; }
}

/* ---------- interiors ---------- */
.epc-interiors { background: var(--epc-ivory-2); }
.epc-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.epc-mosaic__item { position: relative; overflow: hidden; }
.epc-mosaic__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 1.2s var(--epc-ease); }
.epc-mosaic__item:hover img { transform: scale(1.03); }
.epc-mosaic__item--1, .epc-mosaic__item--4 { grid-column: 1 / -1; }
.epc-mosaic__item--1 img, .epc-mosaic__item--4 img { aspect-ratio: 16 / 10; }
.epc-mosaic__item figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--epc-ivory);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
@media (min-width: 960px) {
  .epc-mosaic { grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(70vw, 680px); }
  .epc-mosaic__item--1 { grid-column: 1; grid-row: 1 / 3; }
  .epc-mosaic__item--2 { grid-column: 2 / 4; }
  .epc-mosaic__item--4 { grid-column: auto; }
  .epc-mosaic__item img, .epc-mosaic__item--1 img { aspect-ratio: auto; }
}
.epc-features { display: grid; gap: 40px; margin-top: 64px; }
@media (min-width: 760px) { .epc-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.epc-features__title { font-family: var(--epc-serif); font-weight: 400; font-size: 28px; color: var(--epc-green-900); padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--epc-line); }
.epc-list li { position: relative; padding: 7px 0 7px 22px; color: var(--epc-muted); font-size: 15.5px; line-height: 1.55; }
.epc-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--epc-gold-deep); }
.epc-list--compact li { padding-top: 5px; padding-bottom: 5px; }

/* ---------- amenities ---------- */
.epc-amenities { background: var(--epc-green-900); color: var(--epc-ivory); padding-bottom: 0; }
.epc-amenities .epc-body-lg { color: rgba(247, 242, 233, 0.78); }
.epc-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  margin: 0 calc(var(--epc-gutter) * -1); padding-left: var(--epc-gutter); padding-right: var(--epc-gutter);
  scroll-padding-inline: var(--epc-gutter);
  scrollbar-width: none;
}
.epc-cards::-webkit-scrollbar { display: none; }
.epc-card { scroll-snap-align: start; }
.epc-card__media { overflow: hidden; margin-bottom: 20px; }
.epc-card__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--epc-ease); }
.epc-card:hover .epc-card__media img { transform: scale(1.04); }
.epc-card__title { font-family: var(--epc-serif); font-weight: 400; font-size: 26px; color: var(--epc-ivory); margin-bottom: 8px; }
.epc-card__text { color: rgba(247, 242, 233, 0.72); font-size: 15px; line-height: 1.6; }
@media (min-width: 640px) { .epc-cards { grid-auto-columns: 46%; } }
@media (min-width: 1100px) {
  .epc-cards { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 24px; }
}
.epc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.epc-chips li { border: 1px solid var(--epc-line-light); padding: 9px 16px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--epc-gold-soft); }
.epc-band { margin-top: var(--epc-section); }
.epc-band img { width: 100%; height: clamp(260px, 52vw, 640px); object-fit: cover; }

/* ---------- location ---------- */
.epc-location { background: var(--epc-ivory); }
.epc-location__grid { display: grid; gap: 56px; }
.epc-facts { margin-top: 36px; border-top: 1px solid var(--epc-line); }
.epc-facts__row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--epc-line); }
.epc-facts dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--epc-muted); }
.epc-facts dd { font-family: var(--epc-serif); font-size: 22px; color: var(--epc-green-900); }
@media (min-width: 640px) { .epc-facts__row { grid-template-columns: 180px 1fr; align-items: baseline; } }
.epc-location__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.epc-location__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.epc-location__img--1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .epc-location__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 88px; align-items: center; }
  .epc-location__media { gap: 16px; }
  .epc-location__img--1 { aspect-ratio: 5 / 4; }
}

/* ---------- residences ---------- */
.epc-apartments { background: var(--epc-sand); }
.epc-apartments .epc-body-lg { color: #4c5852; }
.epc-types { display: grid; gap: 28px; }
@media (min-width: 960px) { .epc-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.epc-type { background: var(--epc-ivory); display: flex; flex-direction: column; }
.epc-type__media { overflow: hidden; }
.epc-type__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--epc-ease); }
.epc-type:hover .epc-type__media img { transform: scale(1.03); }
.epc-type__body { padding: 28px clamp(22px, 3vw, 40px) 36px; }
.epc-type__title { font-family: var(--epc-serif); font-weight: 400; font-size: clamp(28px, 3vw, 34px); color: var(--epc-green-900); margin-bottom: 12px; }
.epc-type .epc-link { margin-top: 22px; }
.epc-availability {
  margin-top: 40px; padding: 32px clamp(22px, 3vw, 40px);
  border: 1px solid rgba(29, 38, 33, 0.2);
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.epc-availability p { font-family: var(--epc-serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.35; color: var(--epc-green-900); max-width: 34ch; }
@media (min-width: 960px) { .epc-availability { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- ownership ---------- */
.epc-ownership { background: var(--epc-ivory); }
.epc-ownership__grid { display: grid; gap: 40px; }
.epc-ownership__note { font-size: 13px; line-height: 1.6; color: var(--epc-muted); max-width: 40ch; }
.epc-ownership__list { border-top: 1px solid var(--epc-line); }
.epc-ownership__row { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--epc-line); }
.epc-ownership__row dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--epc-gold-deep); font-weight: 500; }
.epc-ownership__row dd { font-family: var(--epc-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.4; color: var(--epc-green-900); }
@media (min-width: 760px) { .epc-ownership__row { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; } }
@media (min-width: 960px) { .epc-ownership__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 96px; } }

/* ---------- enquiry ---------- */
.epc-enquiry { background: var(--epc-green-800); color: var(--epc-ivory); position: relative; }
.epc-enquiry .epc-body-lg { color: rgba(247, 242, 233, 0.8); }
.epc-enquiry__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .epc-enquiry__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 88px; align-items: start; } .epc-enquiry__copy { position: sticky; top: 40px; } }
.epc-contact { margin-top: 34px; border-top: 1px solid var(--epc-line-light); }
.epc-contact li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--epc-line-light); }
.epc-contact span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--epc-gold); }
.epc-contact a { text-decoration: none; color: var(--epc-ivory); word-break: break-word; text-align: right; }
.epc-contact a:hover { color: var(--epc-gold); }
.epc-contact__primary { align-items: center; }
.epc-contact__primary a { font-family: var(--epc-serif); font-size: 24px; line-height: 1.2; color: var(--epc-gold); white-space: nowrap; }
.epc-enquiry__privacy { margin-top: 26px; font-size: 13px; line-height: 1.6; color: rgba(247, 242, 233, 0.6); max-width: 52ch; }

.epc-form-card { background: var(--epc-ivory); color: var(--epc-ink); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.epc-form { display: grid; gap: 20px; }
.epc-form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .epc-form__row { grid-template-columns: 1fr 1fr; } }
.epc-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.epc-field > label, .epc-field legend { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--epc-green-800); padding: 0; margin-bottom: 0; }
.epc-field input[type="text"], .epc-field input[type="email"], .epc-field input[type="tel"], .epc-field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--epc-ink);
  background: #fff; border: 1px solid rgba(29, 38, 33, 0.22); border-radius: var(--epc-radius);
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.epc-field select { background-image: linear-gradient(45deg, transparent 50%, var(--epc-green-800) 50%), linear-gradient(135deg, var(--epc-green-800) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.epc-field input:focus, .epc-field select:focus { outline: none; border-color: var(--epc-gold-deep); box-shadow: 0 0 0 3px rgba(214, 183, 122, 0.35); }
.epc-field__error { display: none; font-size: 13px; color: #a3392b; }
.epc-field--error .epc-field__error { display: block; }
.epc-field--error input, .epc-field--error select { border-color: #a3392b; }
.epc-choice__options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.epc-pill { position: relative; cursor: pointer; }
.epc-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.epc-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(29, 38, 33, 0.25); border-radius: 999px; font-size: 14px; transition: all 0.2s; background: #fff; }
.epc-pill input:checked + span { background: var(--epc-green-800); color: var(--epc-ivory); border-color: var(--epc-green-800); }
.epc-pill input:focus-visible + span { outline: 2px solid var(--epc-gold); outline-offset: 2px; }
.epc-field--error .epc-pill span { border-color: #a3392b; }
.epc-consent label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; line-height: 1.55; color: var(--epc-muted); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; }
.epc-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--epc-green-800); }
.epc-consent a { color: var(--epc-green-800); }
.epc-form__status { font-size: 14px; min-height: 1em; }
.epc-form__status.is-error { color: #a3392b; }
.epc-form__status.is-info { color: var(--epc-green-700); background: rgba(214, 183, 122, 0.22); padding: 12px 14px; }
.epc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.epc-form-success { text-align: left; padding: 24px 0; }
.epc-form-success h3 { font-family: var(--epc-serif); font-weight: 400; font-size: 42px; color: var(--epc-green-900); margin-bottom: 12px; }
.epc-form-success p:last-child { color: var(--epc-muted); }

/* ---------- legal ---------- */
.epc-legal { background: var(--epc-green-950); color: rgba(247, 242, 233, 0.55); padding: 36px 0 120px; font-size: 12px; line-height: 1.7; }
.epc-legal p + p { margin-top: 10px; }
.epc-legal a { color: var(--epc-gold); }
@media (min-width: 960px) { .epc-legal { padding-bottom: 40px; } }

/* ---------- standalone footer ---------- */
.epc-footer { background: var(--epc-green-950); color: rgba(247, 242, 233, 0.7); border-top: 1px solid var(--epc-line-light); }
.epc-footer__inner { padding-top: 40px; padding-bottom: 110px; display: grid; gap: 14px; justify-items: start; font-size: 14px; }
.epc-footer a { color: var(--epc-ivory); text-decoration: none; }
.epc-footer__small { font-size: 12px; color: rgba(247, 242, 233, 0.5); }
@media (min-width: 960px) { .epc-footer__inner { padding-bottom: 40px; } }

/* ---------- sticky mobile CTA ---------- */
.epc-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 31, 24, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(214, 183, 122, 0.3);
  transition: transform 0.35s var(--epc-ease);
}
.epc-sticky.is-hidden { transform: translateY(110%); }
.epc-sticky__btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: var(--epc-ivory); border: 1px solid rgba(247, 242, 233, 0.4); border-radius: var(--epc-radius);
}
.epc-sticky__btn--primary { background: var(--epc-gold); color: var(--epc-green-950); border-color: var(--epc-gold); }
.epc-sticky__btn { white-space: nowrap; }
@media (max-width: 430px) { .epc-sticky { grid-template-columns: 1fr 1fr; } .epc-sticky__btn { padding: 0 10px; letter-spacing: 0.08em; font-size: 12px; } }
@media (min-width: 960px) { .epc-sticky { display: none; } }

/* ---------- film modal ---------- */
.epc-film { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.epc-film::backdrop { background: rgba(10, 20, 15, 0.92); }
.epc-film[open] { display: grid; place-items: center; }
.epc-film__frame { position: relative; height: min(88vh, 900px); aspect-ratio: 9 / 16; max-width: 94vw; }
.epc-film__frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.epc-film__close {
  position: absolute; top: -6px; right: -6px; transform: translate(0, -100%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 242, 233, 0.5);
  background: transparent; color: var(--epc-ivory); font-size: 26px; line-height: 1; cursor: pointer;
}
@media (max-width: 640px) { .epc-film__frame { height: 100%; max-width: 100vw; } .epc-film__close { top: 14px; right: 14px; transform: none; background: rgba(0, 0, 0, 0.4); z-index: 2; } }

/* ---------- reveal on scroll ---------- */
.epc-js .epc-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--epc-ease), transform 0.9s var(--epc-ease); }
.epc-js .epc-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- thank-you page ---------- */
.epc-thanks { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: var(--epc-ivory); }
.epc-thanks__card { max-width: 560px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.epc-thanks .epc-wordmark { margin-bottom: 24px; }
.epc-thanks .epc-eyebrow { margin-bottom: 0; }
.epc-thanks .epc-body-lg { margin: 0 auto; }
.epc-thanks .epc-body a { color: var(--epc-green-800); }
.epc-thanks .epc-btn { margin-top: 12px; }

/* ---------- buyer-enquiry privacy notice ---------- */
.epc-privacy { background: var(--epc-ivory); padding: clamp(40px, 8vw, 96px) var(--epc-gutter); }
.epc-privacy__inner { max-width: 760px; margin: 0 auto; }
.epc-privacy__brand { display: inline-block; margin-bottom: 40px; text-decoration: none; }
.epc-privacy .epc-title { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.epc-privacy__updated { font-size: 13px; color: var(--epc-muted); margin-bottom: 28px; }
.epc-privacy__section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--epc-line); }
.epc-privacy__section h2 { font-family: var(--epc-serif); font-weight: 400; font-size: 26px; color: var(--epc-green-900); margin-bottom: 12px; }
.epc-privacy__section p { color: var(--epc-muted); line-height: 1.75; margin-top: 10px; }
.epc-privacy a:not(.epc-btn) { color: var(--epc-green-800); }
.epc-privacy .epc-btn { margin-top: 48px; }
.epc-thanks__ref { font-size: 15px; color: var(--epc-green-800); background: rgba(214, 183, 122, 0.22); padding: 10px 16px; }
