/* Events page — same quiet light look as the yacht page (tokens come from yacht.css) */
.events-page { padding-bottom: 0; }

/* Opening photo */
.ev-hero { position: relative; isolation: isolate; overflow: hidden; }
.ev-hero-photo { position: absolute; inset: 0; z-index: -2; background: url("../images/deck.jpg") 65% 45% / cover no-repeat; }
.ev-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13, 18, 27, 0.78) 0%, rgba(13, 18, 27, 0.45) 45%, rgba(13, 18, 27, 0) 75%);
}
.ev-hero-inner { padding-block: 110px 120px; color: #fff; }
.ev-hero .eyebrow-sm { color: var(--gold-2); }
.ev-hero h1 { margin: 14px 0 16px; max-width: 12ch; font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--display); text-wrap: balance; }
.ev-lead { margin: 0 0 30px; max-width: 46ch; font-size: 1.08rem; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.ev-cta { display: inline-flex; }

/* Body */
.ev-body { display: flex; flex-direction: column; gap: 72px; padding-block: 64px 80px; }
.ev-head { margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ev-head h2 { margin: 0; font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--display); color: var(--brown); }
.ev-head p { margin: 8px 0 0; color: var(--muted); font-weight: 300; }

/* Occasion cards */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.ev-card img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ev-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.ev-card h3 { margin: 0; font: 500 1.6rem/1.1 var(--display); color: var(--fg); }
.ev-card p { margin: 0; color: var(--muted); font-size: 0.93rem; font-weight: 300; line-height: 1.55; flex: 1; }
.ev-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--champagne); font: 600 0.75rem var(--body); letter-spacing: 0.2em; text-transform: uppercase;
}
.ev-link svg { transition: transform .2s; }
.ev-link:hover svg { transform: translateX(4px); }
.ev-link:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

/* Signature nights */
.nights-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.night { padding: 6px 28px; display: flex; flex-direction: column; gap: 10px; }
.night:first-child { padding-left: 0; }
.night + .night { border-inline-start: 1px solid var(--line); }
.night h3 { margin: 0; font: 400 1.7rem/1.1 var(--display); font-style: italic; color: var(--champagne); }
.night p { margin: 0; color: var(--muted); font-weight: 300; line-height: 1.55; flex: 1; }

/* Add-ons + steps */
.ev-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.ev-prices { list-style: none; margin: 0; padding: 0; }
.ev-prices li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.ev-prices b { font-weight: 600; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ev-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }
.ev-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 22px; }
.ev-steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
.ev-steps li::before { content: "0" counter(step); grid-row: span 2; font: 400 1.4rem/1 var(--display); font-style: italic; color: var(--champagne); }
.ev-steps b { font-weight: 600; }
.ev-steps span { color: var(--muted); font-weight: 300; font-size: 0.93rem; }

/* Planner */
.ev-plan { display: block; }
.ev-plan-head h2 { margin: 0; font: 400 clamp(1.9rem, 3vw, 2.4rem)/1.1 var(--display); color: var(--brown); }
.ev-plan-head p { margin: 6px 0 24px; color: var(--muted); font-weight: 300; }
.ev-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr auto; gap: 22px; align-items: end; }
.ev-form input[type="date"] { cursor: pointer; }
.ev-form input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.ev-send { white-space: nowrap; }
.ev-plan .form-err { text-align: left; margin-top: 12px; }
.ev-plan .form-err a { color: var(--champagne); }

/* Responsive */
@media (max-width: 1100px) {
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-form { grid-template-columns: 1fr 1fr; }
  .ev-send { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body.events-page { padding-bottom: 0; }
  .ev-hero-inner { padding-block: 70px 60px; }
  .ev-hero::before { background: linear-gradient(180deg, rgba(13, 18, 27, 0.35) 0%, rgba(13, 18, 27, 0.75) 100%); }
  .ev-hero-photo { background-position: 62% center; }
  .ev-body { gap: 52px; padding-block: 44px 56px; }
  .ev-grid { grid-template-columns: 1fr; gap: 18px; }
  .nights-row { grid-template-columns: 1fr; }
  .night { padding: 18px 0; }
  .night + .night { border-inline-start: 0; border-top: 1px solid var(--line); }
  .ev-split { grid-template-columns: 1fr; gap: 44px; }
  .ev-form { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .ev-form .when-field:first-child, .ev-form .when-field:nth-child(4) { grid-column: 1 / -1; }
  .ev-plan { padding: 24px 18px; text-align: left; }
}
