/* Homepage: workshop feature section + toast. Event page: landing + RSVP form. */

/* ----- Homepage editorial workshop block ----- */
.epc-home-event {
  background: #0b0b0b;
  color: #f2ede6;
  padding: 78px 20px;
  border-bottom: 1px solid rgba(201, 178, 127, 0.22);
}

.epc-home-event__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .epc-home-event__inner {
    grid-template-columns: 1fr;
  }
}

.epc-home-event__media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(201, 178, 127, 0.28);
  text-decoration: none;
  aspect-ratio: 4 / 3;
  max-height: 420px;
}

.epc-home-event__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.epc-home-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.82) saturate(0.95);
}

.epc-home-event__media:hover {
  border-color: rgba(201, 178, 127, 0.45);
}

.epc-home-event__media:focus-visible {
  outline: 2px solid #c9b27f;
  outline-offset: 3px;
}

.epc-home-event__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.88);
}

.epc-home-event__title {
  margin: 0 0 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: #fff;
}

.epc-home-event__sub {
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(201, 178, 127, 0.85);
}

.epc-home-event__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(242, 237, 230, 0.82);
  max-width: 52ch;
}

.epc-home-event__details {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(242, 237, 230, 0.78);
}

.epc-home-event__details li {
  margin-bottom: 8px;
}

.epc-home-event__details span {
  display: inline-block;
  min-width: 4.5rem;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.75);
}

.epc-home-event__highlights-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.82);
}

.epc-home-event__highlights {
  margin: 0 0 26px;
  padding-left: 1.1rem;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(242, 237, 230, 0.78);
}

.epc-home-event__highlights li {
  margin-bottom: 6px;
}

.epc-home-event__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid rgba(201, 178, 127, 0.55);
  background: rgba(201, 178, 127, 0.16);
  color: #f2ede6;
  text-decoration: none;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.epc-home-event__cta:hover {
  background: rgba(201, 178, 127, 0.24);
  border-color: rgba(201, 178, 127, 0.75);
}

.epc-home-event__cta:focus-visible {
  outline: 2px solid #c9b27f;
  outline-offset: 3px;
}

/* ----- Event landing page (/events/longevity-aesthetics) ----- */
.epc-event-page {
  background: #030303;
  color: #f2ede6;
  min-height: 60vh;
}

.epc-event-page__wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 120px) 24px 96px;
}

.epc-event-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(200px, 0.88fr);
  gap: clamp(40px, 5vw, 56px);
  align-items: start;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .epc-event-page__grid {
    grid-template-columns: 1fr;
    gap: 32px 24px;
  }
  .epc-event-page__sidebar {
    order: -1;
    margin-top: 0;
    width: 100%;
    gap: 20px;
    align-self: stretch;
  }
  .epc-event-page__main {
    order: 0;
  }
}

.epc-event-page__main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.epc-event-page__section--hero {
  margin-bottom: clamp(48px, 6vw, 64px);
}

.epc-event-page__section--experience {
  margin-bottom: clamp(56px, 7vw, 64px);
}

.epc-event-page__kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.9);
}

.epc-event-page__h1 {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  color: #f7f3eb;
  letter-spacing: 0.02em;
}

.epc-event-page__subtitle {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: rgba(242, 237, 230, 0.78);
  letter-spacing: 0.04em;
}

.epc-event-page__meta {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(242, 237, 230, 0.82);
}

.epc-event-page__meta li {
  margin-bottom: 12px;
}

.epc-event-page__meta li:last-child {
  margin-bottom: 0;
}

.epc-event-page__host {
  margin: 0 0 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.88);
}

.epc-event-page__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(242, 237, 230, 0.86);
  max-width: 52ch;
}

.epc-event-page__h2 {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9b27f;
}

.epc-event-page__bullets {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  max-width: 52ch;
}

.epc-event-page__bullets li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(242, 237, 230, 0.88);
}

.epc-event-page__bullets li:last-child {
  margin-bottom: 0;
}

.epc-event-page__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: linear-gradient(90deg, #c9b27f, transparent);
}

.epc-event-page__perks {
  border: 1px solid rgba(201, 178, 127, 0.22);
  border-radius: 6px;
  padding: 20px 22px;
  background: rgba(201, 178, 127, 0.04);
  margin: 0;
  max-width: 52ch;
}

.epc-event-page__sidebar .epc-event-page__perks {
  max-width: none;
  width: 100%;
}

.epc-event-page__perks h3 {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9b27f;
  font-weight: 600;
}

.epc-event-page__perks ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(242, 237, 230, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.epc-event-page__perks ul li {
  margin-bottom: 12px;
}

.epc-event-page__perks ul li:last-child {
  margin-bottom: 0;
}

.epc-event-page__featuring {
  margin: 0;
  font-size: 15px;
  color: rgba(242, 237, 230, 0.88);
}

.epc-event-page__featuring strong {
  color: #f2ede6;
  font-weight: 600;
}

/* Right column: editorial card + perks stack */
.epc-event-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: start;
  min-width: 0;
  margin-top: clamp(28px, 4vw, 40px);
}

/* Editorial card */
.epc-event-page__visual {
  border-radius: 6px;
  border: 1px solid rgba(201, 178, 127, 0.26);
  min-height: 200px;
  margin-top: 0;
  background:
    radial-gradient(ellipse 85% 65% at 50% 18%, rgba(201, 178, 127, 0.08), transparent 52%),
    linear-gradient(165deg, rgba(20, 20, 22, 0.98), rgba(6, 6, 8, 0.99));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.epc-event-page__visual-inner {
  padding: 22px 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.45;
  color: rgba(242, 237, 230, 0.88);
  text-align: center;
}

@media (max-width: 480px) {
  .epc-event-page__sidebar .epc-event-page__perks {
    padding: 18px 16px;
  }

  .epc-event-page__visual-inner {
    padding: 20px 16px;
    font-size: 1.05rem;
  }
}

.epc-event-page__visual-tag {
  display: block;
  margin-top: 16px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.85);
}

/* Form region — event page only */
.epc-event-page .epc-workshop__form-wrap.epc-event-page__form-wrap {
  margin-top: clamp(64px, 8vw, 80px);
  padding-top: clamp(48px, 5vw, 56px);
  border-top: 1px solid rgba(201, 178, 127, 0.16);
  background: linear-gradient(180deg, rgba(201, 178, 127, 0.04) 0%, transparent 48px);
}

.epc-event-page .epc-workshop__form-head h2 {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #f2ede6;
}

.epc-event-page .epc-workshop__form-head p {
  margin: 0 0 48px;
  font-size: 14px;
  color: rgba(242, 237, 230, 0.62);
  line-height: 1.55;
  max-width: 52ch;
}

.epc-event-page .epc-workshop-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  max-width: 720px;
}

@media (max-width: 640px) {
  .epc-workshop-form {
    grid-template-columns: 1fr;
  }

  .epc-event-page .epc-workshop-form {
    grid-template-columns: 1fr;
  }
}

.epc-event-page .epc-workshop-form label {
  margin-bottom: 10px;
}

.epc-event-page .epc-workshop-form input[type='text'],
.epc-event-page .epc-workshop-form input[type='email'],
.epc-event-page .epc-workshop-form input[type='tel'],
.epc-event-page .epc-workshop-form select,
.epc-event-page .epc-workshop-form textarea {
  padding: 15px 16px;
  min-height: 52px;
  border-radius: 6px;
}

.epc-event-page .epc-workshop-form textarea {
  min-height: 112px;
}

.epc-event-page .epc-workshop-form input:focus,
.epc-event-page .epc-workshop-form select:focus,
.epc-event-page .epc-workshop-form textarea:focus {
  outline: none;
  border-color: rgba(201, 178, 127, 0.65);
  box-shadow: 0 0 0 2px rgba(201, 178, 127, 0.14);
}

.epc-event-page .epc-workshop-form__submit {
  margin-top: 16px;
}

.epc-event-page .epc-workshop-form__submit button {
  padding: 16px 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 6px;
  border: 1px solid rgba(201, 178, 127, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.epc-workshop-form__full {
  grid-column: 1 / -1;
}

.epc-workshop-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 178, 127, 0.85);
  margin-bottom: 8px;
  font-weight: 600;
}

.epc-workshop-form input[type='text'],
.epc-workshop-form input[type='email'],
.epc-workshop-form input[type='tel'],
.epc-workshop-form select,
.epc-workshop-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid rgba(201, 178, 127, 0.22);
  background: rgba(10, 10, 12, 0.85);
  color: #f2ede6;
  font-family: inherit;
}

.epc-workshop-form input:focus,
.epc-workshop-form select:focus,
.epc-workshop-form textarea:focus {
  outline: none;
  border-color: rgba(201, 178, 127, 0.55);
  box-shadow: 0 0 0 1px rgba(201, 178, 127, 0.15);
}

.epc-workshop-form textarea {
  min-height: 96px;
  resize: vertical;
}

.epc-workshop-form__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(242, 237, 230, 0.78);
}

.epc-workshop-form__check input {
  margin-top: 4px;
  accent-color: #c9b27f;
}

.epc-workshop-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 4px;
}

.epc-workshop-form__submit button {
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #0a0a0a;
  background: linear-gradient(180deg, rgba(214, 196, 145, 0.98), rgba(180, 158, 108, 0.95));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.epc-workshop-form__submit button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

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

.epc-workshop-form-msg {
  grid-column: 1 / -1;
  min-height: 1.25em;
  font-size: 14px;
  line-height: 1.5;
}

.epc-workshop-form-msg--error {
  color: #fca5a5;
}

.epc-workshop-form-msg--success {
  color: #86efac;
}

.epc-workshop-form__optional {
  font-weight: 400;
  opacity: 0.65;
  text-transform: none;
  letter-spacing: 0;
}

.epc-workshop-form__consent-label {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: rgba(242, 237, 230, 0.82);
}

/* Floating invite (homepage) */
.epc-workshop-toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(201, 178, 127, 0.35);
  background: linear-gradient(165deg, rgba(22, 22, 24, 0.97), rgba(8, 8, 10, 0.98));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(201, 178, 127, 0.1);
  display: none;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.epc-workshop-toast.is-visible {
  display: flex;
}

.epc-workshop-toast__text {
  flex: 1;
  min-width: 160px;
}

.epc-workshop-toast__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f2ede6;
}

.epc-workshop-toast__sub {
  margin: 0;
  font-size: 12px;
  color: rgba(242, 237, 230, 0.65);
}

.epc-workshop-toast__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.epc-workshop-toast__cta {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(180deg, rgba(214, 196, 145, 0.98), rgba(180, 158, 108, 0.95));
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.epc-workshop-toast__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(201, 178, 127, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(242, 237, 230, 0.85);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.epc-workshop-toast__close:hover {
  border-color: rgba(201, 178, 127, 0.45);
  color: #fff;
}
