/* Eventet page. Shared tokens, nav, buttons, form fields and footer come from styles.css. */


.ev-wrap { max-width: 1180px; margin: 0 auto; }

.ev-h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-weight: 400;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.ev-h2--light { color: #ecd3b0; }

.ev-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #c4621f;
}


/* ---------- Hero: framed card, drawing left, text right ---------- */

.ev-hero {
  display: grid;
  place-items: center;
  min-height: min(100svh, 860px);
  padding: clamp(110px, 11vw, 140px) var(--gutter) clamp(48px, 6vw, 88px);
}
.ev-hero__frame {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  padding: clamp(28px, 4vw, 56px);
}
.ev-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(43 29 22 / 0.22);
  pointer-events: none;
}
.ev-hero__art { margin: 0; }
.ev-hero__art img { display: block; width: 100%; height: auto; }
.ev-hero__title {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.35vw, 3.15rem);   /* sized so line one fits the text column */
  line-height: 1.04;
  letter-spacing: 0;
}
.ev-hero__title em { font-style: normal; color: #c4621f; }
.ev-hero__lede { max-width: 26rem; margin: 1.25rem 0 0; font-size: 1.15rem; line-height: 1.5; color: #5b4a40; }
.ev-hero .cta { margin-top: 1.75rem; }

/* Entrance: frame draws in, the sketch reveals left to right, then every word rises in turn.
   Each word carries --i (its order); the button comes last. */
@media (prefers-reduced-motion: no-preference) {
  .ev-hero__frame::before { animation: ev-frame 1.1s cubic-bezier(0.65, 0, 0.35, 1) both; }
  .ev-hero__art img { animation: ev-sketch 1.7s cubic-bezier(0.65, 0, 0.35, 1) 0.25s both; }
  .ev-hero .w {
    display: inline-block;
    animation: ev-word 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.5s + var(--i) * 70ms);
  }
  .ev-hero__btn {
    animation: ev-word 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.6s + var(--i) * 70ms);
  }
}
@keyframes ev-frame {
  from { clip-path: inset(0 100% 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes ev-sketch {
  from { clip-path: inset(0 100% 0 0); opacity: 0.2; }
  to   { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes ev-word {
  from { opacity: 0; transform: translateY(0.55em); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Event types ---------- */

.ev-types { padding: clamp(64px, 8vw, 110px) var(--gutter); background: var(--white); }
.ev-types__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.ev-type {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgb(43 29 22 / 0.14);
}
.ev-type__icon { flex: none; color: #c4621f; line-height: 0; }
.ev-type__icon svg { width: clamp(2.6rem, 3.2vw, 3.2rem); height: clamp(2.6rem, 3.2vw, 3.2rem); fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ev-type h3 { margin: 0.35rem 0 0.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.ev-type p { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #5b4a40; }


/* ---------- Space: sketch on paper + dark panel ---------- */

.ev-space {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #160d08;
  color: #ecd3b0;
}
.ev-space__art {
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vw, 72px);
  background: #efe7da;   /* the drawing's paper */
}
.ev-space__art img { width: min(100%, 520px); height: auto; }
.ev-space__text {
  align-self: center;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 96px);
}
.ev-space__text p { max-width: 30rem; margin: 1.25rem 0 0; font-size: 1.1rem; line-height: 1.55; color: rgb(236 211 176 / 0.75); }
.ev-space__list { display: grid; gap: 1.1rem; margin-top: 2rem; }
.ev-space__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: rgb(236 211 176 / 0.92);
}
.ev-space__icon { flex: none; color: #c79a64; line-height: 0; }
.ev-space__icon svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- How it works (a real sequence, so numbered) ---------- */

.ev-steps { padding: clamp(64px, 8vw, 110px) var(--gutter); background: var(--cream); }
.ev-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.ev-step { padding-top: 1.25rem; border-top: 1px solid rgb(43 29 22 / 0.18); }
.ev-step__num { display: block; font-family: var(--font-editorial); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: #c4621f; }
.ev-step h3 { margin: 0.8rem 0 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.ev-step p { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #5b4a40; }


/* ---------- Request form ---------- */

.ev-request { padding: clamp(64px, 8vw, 110px) var(--gutter); background: #1d3b2c; }
.ev-request__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.ev-request__intro p { max-width: 26rem; margin: 1.25rem 0 0; font-size: 1.1rem; line-height: 1.55; color: rgb(255 250 242 / 0.78); }
.ev-request__call a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.ev-form {
  max-width: none;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--cream);
  border-radius: 10px;
}
.ev-form .field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgb(43 29 22 / 0.25);
  background: transparent;
  font: inherit;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
}
.ev-form .field textarea::placeholder { color: rgb(43 29 22 / 0.38); }
.ev-form .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.ev-form input[type="number"] { -moz-appearance: textfield; }
.ev-form .btn--wa { margin-top: 0.75rem; }


/* ---------- Tablet and phone ---------- */

@media (max-width: 900px) {
  .ev-hero__frame { grid-template-columns: 1fr; gap: 1.75rem; }
  .ev-hero__art { max-width: 520px; }
  .ev-types__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-space { grid-template-columns: 1fr; }
  .ev-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-request__inner { grid-template-columns: 1fr; }
  /* heading and intro start on the same line as the field text inside the card */
  .ev-request__intro { padding-inline: clamp(24px, 3.5vw, 44px); }
}
@media (max-width: 640px) {
  .ev-types__list { grid-template-columns: 1fr; }
  .ev-steps__list { grid-template-columns: 1fr; }
  .ev-hero { padding-top: 100px; }
  .ev-hero__frame { padding: 20px; }
  .ev-hero__title br { display: none; }
  .ev-hero .cta { width: 100%; }
}

.fonts-pending .ev-hero__text { visibility: hidden; }
