:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --ink: #172435;
  --night: #0e1c31;
  --amber: #efc37c;
  --warm-ink: #784c22;
  --line: #d8c6aa;
  font: 18px/1.65 Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
em { color: var(--warm-ink); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #9b642a; outline-offset: 4px;
}
.shell { width: min(1190px, calc(100% - 80px)); margin-inline: auto; }
.skip {
  position: fixed; top: 8px; left: 12px; padding: 9px 14px;
  transform: translateY(-150%); background: var(--night); color: var(--paper); z-index: 6;
}
.skip:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 4px 0; text-decoration: none; }
.brand img { width: 52px; height: 38px; object-fit: contain; }
.brand span { font: 21px/1.12 Georgia, 'Times New Roman', serif; }
.brand small { display: block; margin-top: 4px; font: 12px/1.2 Arial, Helvetica, sans-serif; color: var(--warm-ink); }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(24px, 5vw, 78px); padding-block: 55px 62px;
}
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--warm-ink); font-size: 14px; font-weight: 700; letter-spacing: .08em;
  line-height: 1.4; text-transform: uppercase;
}
.zoom-wordmark { width: 80px; height: auto; }
.live-dot {
  position: relative; flex: none; width: 8px; height: 8px; margin-inline: 2px;
  border-radius: 50%; background: #b72b38;
}
.live-dot::after {
  content: ''; position: absolute; inset: -4px; border: 1px solid #b72b38;
  border-radius: 50%; animation: diretta 2.6s ease-out infinite;
}
@keyframes diretta {
  0% { transform: scale(.7); opacity: .75; }
  74%, 100% { transform: scale(1.65); opacity: 0; }
}
.hero h1 {
  font-size: clamp(42px, 5.35vw, 79px); letter-spacing: -.055em; line-height: .94;
  text-transform: uppercase; margin: 24px 0 22px;
}
.hero h1 em { display: block; font-size: 1.42em; font-weight: 400; line-height: 1; }
.hero-opening { max-width: 33ch; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; }
.hero-action { display: grid; justify-items: start; gap: 19px; margin-top: 27px; }
.replay-note { max-width: 45ch; color: #4b5158; line-height: 1.5; }
.event-date { display: grid; gap: 1px; border-left: 2px solid #b37636; padding-left: 13px; line-height: 1.45; }
.event-date time { font-weight: 700; }
.event-date span { color: #4b5158; font-size: 17px; }
.button {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 17px;
  min-height: 54px; padding: 11px 18px; border: 1px solid transparent;
  border-radius: 11px; background: var(--night); color: #fffaef;
  font: 700 18px/1.25 Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.button span { font-size: 24px; line-height: 1; flex: none; }
.header-cta { min-height: 46px; text-align: center; justify-content: center; }
@media (hover: hover) {
  .button:hover { background: #253b58; transform: translateY(-2px); }
}
.hero-picture {
  position: relative; overflow: hidden; min-width: 0; min-height: 0;
  border-radius: 28px 28px 128px 28px; background: var(--night);
  box-shadow: 0 20px 45px #2a2e4228; isolation: isolate;
}
.hero-scene { aspect-ratio: 800 / 895; height: auto; object-fit: cover; object-position: center 70%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-scene { transition: transform 1.15s cubic-bezier(.25, .65, .35, 1); }
  .hero-picture:hover .hero-scene { transform: scale(1.065); }
}
.hero-picture::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, #0e1c31, transparent 65%);
  animation: primo-chiarore 1.55s ease-out both;
}
@keyframes primo-chiarore { from { opacity: .31; } to { opacity: 0; } }
.hero-video {
  position: absolute; z-index: 1; top: 12%; right: 7%; width: 62%;
  overflow: hidden; border: 1px solid #f6e2c074; border-radius: 17px;
  background: var(--night); color: #fffaef; box-shadow: 0 16px 45px #080c17a8;
}
.hero-portrait { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center 36%; transform: scaleX(-1); }
.hero-video-info {
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
  padding: 10px 14px 11px; line-height: 1.3;
}
.hero-video-info strong { display: block; font-size: clamp(15px, 2vw, 19px); }
.hero-video-info div span { display: block; color: #efd3a6; font-size: 14px; margin-top: 3px; }
.video-camera { position: relative; display: block; flex: 0 0 25px; height: 18px; color: var(--amber); }
.video-camera::before, .video-camera::after { content: ''; position: absolute; }
.video-camera::before { inset: 3px 8px 3px 0; border: 1.5px solid currentColor; border-radius: 3px; }
.video-camera::after {
  inset: 3px 0 3px 16px; background: currentColor;
  clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 68%);
}

.question { background: var(--night); color: #fbf3e5; padding-block: 61px; }
.question-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(25px, 6vw, 100px); align-items: start; }
.question h2, .moments-title, .guide h2, .signup h2 { font-size: clamp(35px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -.035em; }
.question em, .signup h2 em { color: var(--amber); }
.question-text p + p { margin-top: 12px; }

.moments {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 27px; padding-block: 59px;
}
.moments-title { grid-column: 1 / -1; }
.moment {
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px;
}
.moment-photo {
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px;
  background: var(--line);
}
.moment-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .moment-photo { view-timeline-name: --moment-photo; }
    .moment-photo img {
      animation: moment-arrival auto linear both;
      animation-timeline: --moment-photo;
      animation-range: entry 0% cover 36%;
    }
    .moment:nth-of-type(2) { --photo-shift-x: -3%; --photo-shift-y: 0%; }
    .moment:nth-of-type(3) { --photo-shift-x: 3%; --photo-shift-y: 0%; }
    .moment:nth-of-type(4) { --photo-shift-y: -3%; }
    @keyframes moment-arrival {
      from { transform: translate(var(--photo-shift-x, 0%), var(--photo-shift-y, 3%)) scale(1.13); }
      to { transform: translate(0, 0) scale(1); }
    }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .moment-photo { transition: transform .3s ease, box-shadow .3s ease; }
  .moment:hover .moment-photo { transform: translateY(-4px); box-shadow: 0 12px 22px #17243524; }
}
.moment h3 {
  margin: 0; font: 400 clamp(29px, 2.4vw, 35px)/1.1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.022em;
}
.moment-label {
  display: block; margin-bottom: 8px; color: var(--ink);
  font: 700 14px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .05em; text-transform: uppercase;
}
.moment p { max-width: 38ch; }

.guide {
  display: grid; grid-template-columns: clamp(202px, 23%, 252px) minmax(0, 1fr); gap: 34px; align-items: center;
  padding: 23px; border-radius: 22px; background: #eee3d1; margin-bottom: 60px;
}
.guide-photo { overflow: hidden; border-radius: 16px; background: #c6ad8f; }
.guide-photo img { aspect-ratio: 1; object-fit: cover; }
.guide-copy { padding: 12px 9px 12px 0; }
.guide-copy h2 { margin-bottom: 14px; }
.guide-copy p { max-width: 66ch; }
.guide-copy p + p { margin-top: 10px; }

.signup { background: var(--night); color: #fff7e9; padding-block: 65px 67px; scroll-margin-top: 10px; }
.signup-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(25px, 7vw, 95px); align-items: center; }
.signup h2 { margin-bottom: 18px; }
.signup-date { display: grid; gap: 0; margin-bottom: 11px; line-height: 1.45; }
.signup-date time { font-weight: 700; color: var(--amber); }
.signup-date span { font-size: 17px; }
.signature { font: italic 25px/1.4 Georgia, 'Times New Roman', serif; margin-top: 15px; }
.signature strong { color: var(--amber); font-weight: 400; }
.signup-action { display: grid; gap: 13px; background: #fffaf0; color: var(--ink); padding: 24px; border-radius: 19px; }
.signup-action p { font-size: 17px; color: #45515c; line-height: 1.45; }

.confirmation {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(32px, 6.5vw, 94px); padding-block: clamp(36px, 7vw, 82px);
}
.confirmation h1 { max-width: 14ch; font-size: clamp(42px, 5.25vw, 74px); line-height: 1.01; letter-spacing: -.045em; }
.confirmation h1 em { display: block; }
.confirmation-lead { font-size: clamp(21px, 2.2vw, 25px); margin-top: 15px; }
.confirmation-date {
  display: grid; gap: 4px; margin-block: 24px 18px;
  border-left: 2px solid #b37636; padding-left: 13px; line-height: 1.45;
}
.confirmation-date > span { color: #4b5158; }
.confirmation-hours { white-space: nowrap; }
.confirmation-hours::before { content: '· '; }
.calendar-options { width: min(100%, 340px); }
.calendar-options summary { list-style: none; width: fit-content; }
.calendar-options summary::-webkit-details-marker { display: none; }
.calendar-options summary::after {
  content: ''; width: 8px; height: 8px; flex: none;
  border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg);
}
.calendar-options[open] summary::after { transform: translateY(2px) rotate(225deg); }
.calendar-links {
  list-style: none; margin: 10px 0 0; padding: 6px; border: 1px solid var(--line);
  border-radius: 14px; background: #fffaf0;
}
.calendar-links a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-radius: 8px; font-weight: 700; line-height: 1.35; text-decoration: none;
}
.calendar-links a:hover, .calendar-links a:focus-visible { background: #eee3d1; }
.confirmation-message { max-width: 53ch; margin-top: 25px; }
.confirmation-signature strong { color: var(--warm-ink); }

html:has(.registration-popup[open]) { overflow: hidden; }
.registration-popup {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink);
}
.registration-popup::backdrop { background: rgb(14 28 49 / 45%); }
.popup-close {
  position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
  color: var(--night); font: 30px/1 Arial, Helvetica, sans-serif; cursor: pointer;
}
.popup-status {
  position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: min(360px, calc(100% - 32px)); padding: 26px; border-radius: 19px;
  background: var(--paper); text-align: center;
}
.popup-status[hidden], .popup-retry[hidden] { display: none; }
.popup-retry { margin-top: 14px; }
.popup-frame, .popup-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 1020px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 28px; }
  .hero-picture { border-radius: 22px 22px 86px 22px; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .brand img { width: 47px; height: 34px; }
  .hero, .question-inner, .moments, .guide, .signup-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 23px; padding-block: 30px 33px; }
  .hero h1 { font-size: clamp(40px, 11.3vw, 66px); margin: 18px 0 15px; }
  .hero h1 em { font-size: 1.35em; }
  .hero-action { margin-top: 19px; gap: 13px; }
  .hero-scene { aspect-ratio: 1 / 1; object-position: 50% 70%; }
  .hero-picture { border-radius: 16px 16px 56px 16px; }
  .hero-video { width: min(64%, 370px); top: 10%; border-radius: 13px; }
  .question { padding-block: 36px; }
  .question-inner { gap: 16px; }
  .question h2, .moments-title, .guide h2, .signup h2 { font-size: clamp(31px, 6.8vw, 47px); }
  .moments { gap: 33px; padding-block: 35px; }
  .moment { row-gap: 12px; }
  .moment p { max-width: none; }
  .guide { gap: 15px; padding: 17px; margin-bottom: 34px; }
  .guide-photo { width: 154px; }
  .guide-copy { padding: 0; }
  .signup { padding-block: 36px 38px; }
  .signup-inner { gap: 22px; }
  .signup-action { padding: 16px; }
  .confirmation { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 30px; }
  .confirmation h1 { max-width: 18ch; }
  .confirmation-date { margin-block: 18px 15px; }
  .confirmation-hours { display: block; }
  .confirmation-hours::before { content: none; }
}
@media (max-width: 510px) {
  .brand { gap: 6px; }
  .brand img { width: 39px; height: 32px; }
  .brand span { font-size: 18px; }
  .brand small { display: none; }
  .header-cta { max-width: 172px; font-size: 16px; padding: 7px 11px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .hero h1 { font-size: 37px; }
  .eyebrow { gap: 9px; font-size: 13px; }
  .zoom-wordmark { width: 72px; }
  .hero-video-info { padding-inline: 9px; }
  .button { gap: 9px; padding-inline: 11px; font-size: 17px; }
  .header-cta { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-picture::after { animation: none; opacity: 0; }
  .live-dot::after { animation: none; opacity: .32; }
  .button, .button:hover { transition: none; transform: none; }
}
