/* Private gatherings, presented in the Manor's editorial visual language. */
.events-page {
  --ev-paper: #f8f5ed;
  --ev-ink: #344034;
  --ev-muted: #64695d;
  --ev-wine: #743b42;
  --ev-line: #d7d6c9;
  --ev-sage: #e9ede3;
  background: var(--ev-paper);
  color: var(--ev-ink);
  font: 400 16px/1.85 var(--font-sansserif), sans-serif;
}
.events-page *, .events-page *::before, .events-page *::after { box-sizing: border-box; }
.events-page :is(h1, h2, h3) { margin: 0; color: inherit; font-family: 'Playfair Display', Georgia, serif; font-weight: 400; line-height: 1.2; text-transform: none; }
.events-page h2 { font-size: clamp(36px, 3.7vw, 52px); }
.events-page :is(p, figure, ul) { margin: 0; }
.events-page img { display: block; width: 100%; height: auto; }
.events-page a { color: inherit; text-decoration: none; }
.events-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.events-page em { font-weight: 400; }
.ev-shell { width: min(1240px, 88%); margin: 0 auto; }
.ev-section { padding-top: 90px; padding-bottom: 95px; }
.ev-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; border-bottom: 1px solid var(--ev-line); }
.ev-hero-copy { align-self: center; padding: 64px 12% 68px max(6vw, calc((100vw - 1240px) / 2)); }
.ev-hero h1 > em { display: block; color: var(--ev-wine); font-size: clamp(86px, 8.5vw, 128px); line-height: 1.02; margin-bottom: 20px; }
.ev-hero h1 > span { display: block; font-size: clamp(32px, 3.25vw, 46px); max-width: 460px; line-height: 1.18; }
.ev-hero-copy > p { max-width: 430px; margin-top: 28px; color: var(--ev-muted); font-size: 16px; line-height: 1.85; }
.ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 27px; margin-top: 28px; }
.events-page .ev-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 13px 22px; background: var(--ev-ink); border: 1px solid var(--ev-ink); color: #fffdf5; font-size: 13px; font-weight: 700; line-height: 1.6; }
.events-page .ev-button:hover { background: #4c6047; border-color: #4c6047; }
.ev-button > span { font-size: 23px; font-weight: 400; }
.events-page .ev-text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #a4aa96; }
.ev-text-link > span { font-size: 20px; }
.events-page .ev-text-link:hover { color: var(--ev-wine); border-color: currentColor; }
.ev-photo { position: relative; }
.ev-photo > img { width: 100%; height: 100%; object-fit: cover; }
.ev-hero-photo { min-width: 0; overflow: hidden; }
.ev-hero-photo > img { position: absolute; inset: 0; object-position: center 50%; }
.ev-photo figcaption { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 4px 9px; max-width: calc(100% - 24px); background: #233026d6; color: #fffdf5; font: 400 10px/1.7 'Playfair Display', Georgia, serif; }
.ev-photo figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ev-section-title { max-width: 740px; margin: 0 auto 58px; text-align: center; }
.ev-section-title h2 em { display: block; color: var(--ev-wine); }
.ev-ornament { display: inline-block; color: #9c8b6b; margin-bottom: 20px; line-height: 0; }
.ev-reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.ev-reason { padding-top: 25px; border-top: 1px solid var(--ev-line); }
.ev-reason h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.3; max-width: 320px; margin-bottom: 17px; }
.ev-reason p { color: var(--ev-muted); font-size: 15px; line-height: 1.9; }
.ev-occasions { padding: 80px 0; background: #303e34; color: #f5f1e7; }
.ev-occasions-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; }
.ev-occasions-photo { min-height: 570px; height: 100%; }
.ev-occasions-photo > img { position: absolute; inset: 0; object-position: center; }
.ev-occasions-copy h2 { max-width: 460px; }
.ev-occasions-copy h2 em { display: block; color: #d4c6a8; }
.ev-occasions-copy > p { max-width: 480px; margin-top: 24px; color: #dce1d6; font-size: 15px; }
.ev-occasion-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; list-style: none; padding: 0; margin-top: 30px !important; }
.ev-occasion-list li { padding: 18px 0 22px; border-top: 1px solid #71806b; font: 400 22px/1.45 'Playfair Display', Georgia, serif; }
.ev-occasion-list a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ev-occasion-list a:hover { color: #d4c6a8; }
.ev-availability { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12%; align-items: start; }
.ev-availability-intro > p { max-width: 410px; margin-top: 24px; color: var(--ev-muted); }
.ev-availability-list { padding: 0; list-style: none; }
.ev-availability-list li { position: relative; padding: 23px 0 23px 30px; border-bottom: 1px solid var(--ev-line); font-size: 16px; line-height: 1.8; }
.ev-availability-list li:first-child { border-top: 1px solid var(--ev-line); }
.ev-availability-list li::before { content: ''; position: absolute; top: 34px; left: 1px; width: 6px; height: 6px; border: 1px solid #859175; border-radius: 50%; }
.ev-inquiry { background: var(--ev-sage); padding: 75px 0; }
.ev-inquiry-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: center; }
.ev-inquiry-photo { aspect-ratio: .88; max-height: 535px; }
.ev-inquiry-photo > img { object-position: center 46%; }
.ev-inquiry-copy { max-width: 570px; padding: 15px 0; }
.ev-inquiry-copy h2 { max-width: 510px; font-size: clamp(40px, 4.2vw, 60px); margin-bottom: 25px; }
.ev-inquiry-copy h2 em { display: block; color: #68775f; }
.ev-inquiry-copy > p { color: #59644f; margin-top: 18px; }
.ev-inquiry-copy .ev-button { margin-top: 28px; }
/* Reveal only as an enhancement; without JS every section is readable. */
@media (prefers-reduced-motion: no-preference) {
  .ev-hero-copy { animation: ev-enter .8s ease both; }
  .ev-hero-photo > img { animation: ev-photo-enter 1.4s ease-out both; }
  .ev-reveal { transition: opacity .65s ease, translate .65s cubic-bezier(.22,.61,.36,1); }
  .ev-reveal.is-pending { opacity: 0; translate: 0 20px; }
  .ev-button, .ev-text-link { transition: color .2s ease, background .2s ease, border-color .2s ease; }
}
@keyframes ev-enter { from { opacity: 0; translate: 0 15px; } to { opacity: 1; translate: 0 0; } }
@keyframes ev-photo-enter { from { opacity: .6; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1100px) {
  .ev-hero { min-height: 610px; }
  .ev-hero-copy { padding: 50px 10% 55px 6vw; }
  .ev-hero h1 > em { font-size: 95px; }
  .ev-hero h1 > span { font-size: 35px; }
  .ev-hero-copy > p { font-size: 15px; }
  .ev-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ev-section { padding-top: 70px; padding-bottom: 75px; }
  .ev-reason-grid { gap: 26px; }
  .ev-occasions { padding: 65px 0; }
  .ev-occasions-grid { gap: 6%; }
  .ev-occasions-photo { min-height: 600px; }
  .ev-occasion-list { gap: 0 20px; }
  .ev-occasion-list li { font-size: 20px; }
  .ev-availability { gap: 8%; }
  .ev-inquiry-grid { gap: 7%; }
}
@media (max-width: 760px) {
  .ev-shell { width: 86%; }
  .ev-section { padding-top: 55px; padding-bottom: 60px; }
  .ev-hero { grid-template-columns: 1fr; }
  .ev-hero-copy { padding: 42px 7% 40px; }
  .ev-hero h1 > em { font-size: clamp(78px, 14vw, 105px); margin-bottom: 14px; }
  .ev-hero h1 > span { font-size: clamp(31px, 5vw, 39px); max-width: 470px; }
  .ev-hero-copy > p { max-width: 510px; margin-top: 22px; }
  .ev-actions { flex-direction: row; align-items: center; gap: 12px 25px; margin-top: 24px; }
  .events-page .ev-button { min-height: 50px; padding: 12px 18px; }
  .ev-hero-photo { height: 480px; min-height: 0; }
  .ev-hero-photo > img { object-position: center 58%; }
  .ev-section-title { margin-bottom: 35px; }
  .ev-section-title h2 { font-size: 35px; }
  .ev-ornament { margin-bottom: 17px; }
  .ev-reason-grid { grid-template-columns: 1fr; gap: 28px; }
  .ev-reason { padding-top: 23px; }
  .ev-reason h3 { max-width: none; font-size: 26px; margin-bottom: 13px; }
  .ev-occasions { padding: 55px 0; }
  .ev-occasions-grid { grid-template-columns: 1fr; gap: 35px; }
  .ev-occasions-photo { min-height: 0; height: auto; aspect-ratio: 1.35; }
  .ev-occasions-photo > img { position: static; }
  .ev-occasions-copy h2 { font-size: 40px; }
  .ev-occasions-copy > p { max-width: 520px; margin-top: 20px; }
  .ev-occasion-list { gap: 0 25px; margin-top: 26px !important; }
  .ev-occasion-list li { font-size: 21px; padding: 17px 0 21px; }
  .ev-availability { grid-template-columns: 1fr; gap: 30px; }
  .ev-availability-intro p { max-width: 540px; font-size: 15px; margin-top: 20px; }
  .ev-availability-list li { font-size: 15px; padding-top: 20px; padding-bottom: 20px; }
  .ev-availability-list li::before { top: 31px; }
  .ev-inquiry { padding: 50px 0 55px; }
  .ev-inquiry-grid { grid-template-columns: 1fr; gap: 35px; }
  .ev-inquiry-photo { width: 100%; aspect-ratio: 1.25; max-height: 420px; }
  .ev-inquiry-photo > img { object-position: center 52%; }
  .ev-inquiry-copy { padding: 0; }
  .ev-inquiry-copy h2 { font-size: 43px; margin-bottom: 22px; }
  .ev-inquiry-copy > p { font-size: 15px; }
}
@media (max-width: 420px) {
  .ev-hero h1 > em { font-size: 82px; }
  .ev-hero-photo { height: 370px; }
  .ev-actions { flex-direction: column; align-items: flex-start; gap: 9px; }
  .ev-section-title h2 { font-size: 31px; }
  .ev-occasions-copy h2 { font-size: 37px; }
  .ev-occasion-list { column-gap: 20px; }
  .ev-occasion-list li { font-size: 19px; }
  .ev-photo figcaption { right: 9px; bottom: 9px; font-size: 9px; }
  .ev-inquiry-copy h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .events-page *, .events-page *::before { animation: none !important; transition: none !important; }
}
@media print {
  .ev-reveal { opacity: 1 !important; translate: none !important; }
  .ev-hero, .ev-reason, .ev-inquiry-grid { break-inside: avoid; }
}
