/* A quieter haunted office. This file deliberately flattens the earlier collage. */
:root {
  --simple-width: 1180px;
  --simple-line: rgba(241, 223, 184, 0.2);
  --simple-panel: #111315;
  --simple-paper: #ead8b4;
}

body {
  background: #090b0d;
  color: #f1dfb8;
  line-height: 1.6;
}

body::after { opacity: 0.025; }

.nav {
  padding-left: max(24px, 4vw);
  padding-right: max(24px, 4vw);
  border-bottom-color: rgba(241, 223, 184, 0.16);
  background: rgba(8, 10, 12, 0.96);
  backdrop-filter: blur(14px);
}

.section-nav { gap: clamp(18px, 3vw, 42px); }
.nav-rsvp { transform: none; }
.language-switch { border-color: rgba(241, 223, 184, 0.32); }

.hero {
  height: calc(100svh - var(--nav-height));
  min-height: 680px;
  max-height: 900px;
  text-align: left;
}

.hero-photo {
  background-position: center 53%;
  transform: scale(1.015);
  animation: simple-hero-arrive 1.4s ease both;
}

@keyframes simple-hero-arrive {
  from { transform: scale(1.06); filter: brightness(0.68); }
  to { transform: scale(1.015); filter: brightness(1); }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.9) 0%, rgba(4, 6, 8, 0.55) 47%, rgba(4, 6, 8, 0.12) 76%),
    linear-gradient(0deg, #090b0d 0%, transparent 32%, rgba(5, 7, 9, 0.2) 100%);
}

#hero-smoke,
.lightning-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-smoke {
  z-index: 1;
  overflow: hidden;
  opacity: 0.82;
  filter: brightness(1.35) contrast(0.85);
  mix-blend-mode: screen;
  mask-image: linear-gradient(to bottom, transparent 0 16%, #000 46% 100%);
}

#hero-smoke canvas {
  position: absolute !important;
  inset: 0;
}

#hero-smoke::before,
#hero-smoke::after {
  content: "";
  position: absolute;
  width: min(760px, 62vw);
  aspect-ratio: 1;
  bottom: -31%;
  background: url("/smoke-wisp.webp") center / contain no-repeat;
  opacity: 0.34;
  filter: blur(3px);
  will-change: transform;
}

#hero-smoke::before {
  left: -10%;
  animation: smoke-bank-left 18.46s ease-in-out infinite alternate;
}

#hero-smoke::after {
  right: -14%;
  opacity: 0.28;
  animation: smoke-bank-right 22.31s ease-in-out -8.46s infinite alternate;
}

@keyframes smoke-bank-left {
  from { transform: translate3d(-5%, 4%, 0) scale(1); }
  to { transform: translate3d(24%, -7%, 0) scale(1.12); }
}

@keyframes smoke-bank-right {
  from { transform: translate3d(7%, 5%, 0) scale(1.08); }
  to { transform: translate3d(-20%, -9%, 0) scale(0.96); }
}

.lightning-flash {
  z-index: 2;
  opacity: 0;
  background:
    radial-gradient(circle at 74% 7%, rgba(224, 235, 245, 0.42), transparent 38%),
    linear-gradient(rgba(207, 222, 236, 0.13), rgba(255, 255, 255, 0.025));
  mix-blend-mode: screen;
}

.hero.lightning-active .lightning-flash {
  animation: lightning-ambient 680ms steps(1, end);
}

@keyframes lightning-ambient {
  0%, 8%, 15%, 24%, 100% { opacity: 0; }
  9% { opacity: 0.25; }
  16% { opacity: 0.11; }
  20% { opacity: 0.2; }
}

.fog,
.embers,
.web-corner,
.flying-bats,
.hanging-spider,
.warning-tape { display: none; }

.hero-content {
  width: min(var(--simple-width), 92%);
  height: 100%;
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) 0 78px;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-heading {
  max-width: 850px;
  transform: none;
}

.hero-heading .eyebrow {
  margin-bottom: 18px;
  color: #f0d5ac;
  letter-spacing: 1.5px;
}

.hero-edition { margin: 0 0 14px; }

.hero h1 {
  font-size: clamp(76px, 9vw, 132px);
  line-height: 0.86;
  max-width: 900px;
  text-shadow: 0 5px 30px #000;
}

.hero h1 span { text-shadow: 0 5px 30px #000; }
.hero-subtitle { margin-top: 22px; }

.hero-invitation {
  width: min(680px, 100%);
  padding: 0;
}

.hero-invitation::before { display: none; }

.hero-intro {
  max-width: 560px;
  margin-bottom: 17px;
  font: 24px/1.35 var(--serif);
}

.hero-intro em {
  display: inline;
  margin-left: 6px;
  font: italic 24px/1.35 var(--serif);
  color: #ff9a4e;
}

.hero-meta { justify-content: flex-start; margin: 0 0 22px; }
.hero-actions { justify-content: flex-start; }
.button { border-radius: 0; }
.primary { transform: none; box-shadow: none; }
.primary:hover { transform: translateY(-2px); }
.secondary { font: 700 13px var(--sans); }
.deadline { font-family: var(--sans); }

.summons {
  width: min(var(--simple-width), 90%);
  padding: 110px 0 100px;
}

.board-web,
.board-heading .chapter,
.board-heading .hand-note,
.pin,
.paper-tape,
.ticket-hole,
.ticket-code,
.drawn-star,
.little-ghost,
.red-stamp,
.board-bottom button,
#haunt-message { display: none; }

.board-heading {
  margin: 0 0 34px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--simple-line);
}

.board-heading > p {
  margin: 0;
  color: #ec8b45;
  font-size: 12px;
}

.noticeboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 18px;
  padding: 0;
}

.main-notice,
.date-ticket,
.costume-note,
.feast-note {
  position: relative;
  inset: auto;
  transform: none;
  clip-path: none;
  box-shadow: none;
  margin: 0;
  border: 1px solid var(--simple-line);
}

.main-notice {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 0;
  padding: clamp(36px, 6vw, 72px);
  color: #f1dfb8;
  background:
    linear-gradient(110deg, rgba(18, 20, 22, 0.98), rgba(18, 20, 22, 0.8)),
    url("/haunted-office.webp") center 58% / cover;
}

.notice-kicker { color: #ef8a42; border-color: var(--simple-line); }

.main-notice h2 {
  max-width: 820px;
  margin-bottom: 28px;
  color: #f5e4c3;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.03;
}

.main-notice h2 em { color: #ef8640; }

.main-notice > p:not(.notice-kicker):not(.ink-signature) {
  max-width: 700px;
  color: #d8ccba;
  font-size: 17px;
  line-height: 1.7;
}

.ink-signature {
  margin: 30px 0 0;
  transform: none;
  color: #f1dfb8;
  font-size: 25px;
}

.date-ticket,
.costume-note,
.feast-note {
  grid-row: 2;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  justify-self: stretch;
  min-height: 610px;
  padding: 34px 30px;
  color: #281d14;
  background: var(--simple-paper);
  text-align: left;
}

.date-ticket { grid-column: 1; background: #ef7b2c; }
.costume-note { grid-column: 2; }
.feast-note { grid-column: 3; }

.detail-card-image {
  height: 205px;
  margin: -34px -30px 28px;
  overflow: hidden;
  border-bottom: 1px solid rgba(40, 29, 20, 0.3);
  background: #151311;
}

.detail-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.date-card-image img { object-position: center 57%; }
.costume-card-image img { object-position: center 39%; }
.feast-card-image img { object-position: center 53%; }

.date-ticket:hover .detail-card-image img,
.costume-note:hover .detail-card-image img,
.feast-note:hover .detail-card-image img { transform: scale(1.035); }

.date-ticket > p:first-of-type,
.note-label {
  margin: 0 0 25px;
  font: 800 11px var(--sans);
  letter-spacing: 1.4px;
}

.date-ticket > strong {
  font-size: 106px;
  line-height: 0.8;
  letter-spacing: -4px;
  padding: 0;
}

.ticket-rule { margin: 24px 0 18px; }
.date-ticket > p:not(:first-of-type):not(.ticket-time) { font: 16px/1.65 var(--sans); }
.date-ticket > a { font: 800 12px/1.5 var(--sans); }

.costume-note h3 {
  margin: 0 0 22px;
  color: #7b2a20;
  font: 700 34px/1.08 var(--serif);
}

.costume-note > p:not(.note-label),
.feast-note > p:not(.note-label) {
  font: 16px/1.7 var(--sans);
}

.costume-note .hand-note {
  display: block;
  position: static;
  margin-top: 26px;
  transform: none;
  text-align: left;
  color: #8f3023;
}

.feast-note a {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 32px;
  font: 800 12px var(--sans);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.feast-note::before { display: none; }

.board-bottom {
  display: block;
  margin-top: 30px;
  padding: 0;
  min-height: 0;
}

.board-bottom .text-link { font: 700 13px var(--sans); }

.countdown-wrap {
  min-height: 0;
  padding: 65px 5%;
  border-top: 1px solid var(--simple-line);
  border-bottom: 1px solid var(--simple-line);
  background: #0e1012;
  text-align: center;
}

.countdown-scribble,
.countdown-cross { display: none; }
.countdown-wrap > div { margin: 0 auto; }
.countdown-wrap > div > p { margin-bottom: 22px; }
.countdown { justify-content: center; }

.checkin-section {
  padding: 0 max(24px, 5vw) 120px;
  background: #090b0d;
}

.checkin-section::before { display: none; }

.office-threshold {
  z-index: 0;
  height: 300px;
  margin: 0 calc(0px - max(24px, 5vw));
  background:
    linear-gradient(0deg, #090b0d 0%, transparent 52%, rgba(7, 9, 11, 0.38) 100%),
    url("/haunted-office.webp") center var(--office-y) / cover no-repeat;
  box-shadow: none;
}

.office-threshold::before,
.office-threshold::after { display: none; }

.checkin-heading {
  width: min(var(--simple-width), 100%);
  margin: -72px auto 48px;
  padding: 30px 36px;
  border-left: 3px solid #ef7b2c;
  background: rgba(9, 11, 13, 0.94);
  opacity: 1;
  transform: none;
}

.checkin-heading > div { width: 100%; }
.checkin-heading p { margin: 0 0 8px; }
.checkin-heading h2 {
  margin: 0;
  font: 700 clamp(44px, 6vw, 72px)/0.98 var(--serif);
  color: #f2dfbc;
  letter-spacing: -2px;
}
.checkin-heading h2 em { color: #ef7b2c; font-weight: 400; }

.night-shift-station {
  width: min(var(--simple-width), 100%);
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: 24px;
  transform: none;
}

.time-clock,
.time-card-rack,
.time-clock.in-view,
.time-card-rack.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease;
}

.time-clock {
  padding: 0;
  border: 1px solid rgba(241, 223, 184, 0.22);
  border-radius: 0;
  background: #121416;
  box-shadow: none;
}

.machine-brand {
  margin: 0;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(241, 223, 184, 0.18);
}

.machine-brand span { color: #e98a47; }

.clock-face {
  padding: 34px;
  border: 0;
  background: #ead8b4;
  box-shadow: none;
}

.clock-face h3 { font-size: clamp(31px, 3vw, 42px); }
.clock-face input,
.clock-face textarea { box-shadow: none; background: rgba(255, 247, 227, 0.72); }
.clock-face .submit { background: #a83320; box-shadow: none; }
.clock-face .submit:hover { background: #c84527; transform: translateY(-1px); }

.time-card-rack {
  padding: 30px;
  border: 1px solid rgba(241, 223, 184, 0.22);
  background: #121416;
  box-shadow: none;
}

.time-card-rack .guests-heading { padding: 0 0 20px; }
.time-card-rack .guests-heading h3 {
  font: 700 clamp(31px, 3vw, 44px)/1.05 var(--serif);
  letter-spacing: -1px;
}

.time-card-rack .guest-count {
  min-width: 135px;
  min-height: 64px;
  border-color: rgba(241, 223, 184, 0.22);
  background: #090b0d;
  box-shadow: none;
}

.time-card-rack .guest-count strong {
  min-width: 54px;
  padding: 7px;
  border: 0;
  background: none;
  font: 700 38px/1 var(--serif);
  text-shadow: none;
}

.time-card-rack .guest-count span { font-family: var(--sans); }
.time-card-rack .guest-search { margin: 18px 0; }
.time-card-rack .guest-search input { background: #1b1d1f; }

.time-card-rack #guest-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: 448px;
  padding: 0 4px 12px 0;
}

.time-card-entry {
  min-height: 170px;
  padding: 22px;
  border: 0;
  border-top: 3px solid #de6b27;
  background: #ead8b4;
  box-shadow: none;
  animation: simple-card-in 0.35s ease var(--card-delay) both;
}

.time-card-entry::before,
.time-card-entry::after { display: none; }

@keyframes simple-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.time-card-entry > div { padding: 6px 0; }
.time-card-entry .guest-bringing { min-height: 38px; }
.time-card-rack .empty { font: italic 21px/1.4 var(--serif); transform: none; }
.time-card-rack #guest-list.is-empty { height: 320px; }
.time-card-rack .guest-pagination { margin-left: 0; margin-right: 0; }
.time-card-rack .list-note { margin-left: 0; }

.closing {
  min-height: 480px;
  padding: 115px 5%;
  background:
    linear-gradient(rgba(7, 9, 11, 0.74), rgba(7, 9, 11, 0.9)),
    url("/haunted-office.webp") center 55% / cover;
}

.closing .candles,
.closing > span { display: none; }
.closing h2 { transform: none; font-size: clamp(56px, 7vw, 92px); }
.closing .text-link { font-family: var(--sans); }

.confirmation {
  transform: none;
  clip-path: none;
  box-shadow: 0 30px 90px #000c;
}

@media (max-width: 900px) {
  .noticeboard { grid-template-columns: 1fr 1fr; }
  .main-notice { grid-column: 1 / -1; }
  .date-ticket { grid-column: 1; }
  .costume-note { grid-column: 2; }
  .feast-note { grid-column: 1 / -1; grid-row: 3; width: 100%; min-height: 420px; }
  .night-shift-station { grid-template-columns: 1fr; width: min(680px, 100%); }
  .time-clock { width: 100%; }
}

@media (max-width: 700px) {
  :root { --nav-height: 72px; }

  .nav {
    height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: env(safe-area-inset-top, 0px) 20px 0;
  }

  .brand { font-size: 25px; }
  .nav-tools { gap: 8px; }
  .motion-toggle { display: none; }
  .hero {
    height: calc(100svh - var(--nav-height));
    min-height: 650px;
    max-height: 780px;
  }
  .hero-photo { background-position: 58% center; }
  #hero-smoke { opacity: 0.76; }
  #hero-smoke::before,
  #hero-smoke::after {
    width: 125vw;
    bottom: -22%;
    opacity: 0.3;
  }
  #hero-smoke::after { opacity: 0.24; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 6, 8, 0.75), rgba(4, 6, 8, 0.2)),
      linear-gradient(0deg, #090b0d 0%, rgba(5, 7, 9, 0.12) 72%);
  }
  .hero-content { width: 88%; padding: 48px 0 52px; }
  .hero-heading .eyebrow { max-width: 260px; font-size: 10px; }
  .hero h1 { max-width: 380px; font-size: clamp(60px, 18vw, 80px); }
  .hero-subtitle { font-size: 9px; }
  .hero-intro { max-width: 330px; font-size: 20px; }
  .hero-intro em { font-size: 20px; }
  .hero-meta { flex-wrap: wrap; gap: 8px; font-size: 10px; }
  .hero-actions { align-items: flex-start; gap: 12px; }
  .hero-actions .button { min-height: 44px; padding: 10px 15px; font-size: 12px; }
  .deadline { margin-top: 13px; }

  .summons { width: 88%; padding: 75px 0; }
  .noticeboard { grid-template-columns: 1fr; }
  .main-notice,
  .date-ticket,
  .costume-note,
  .feast-note { grid-column: 1; grid-row: auto; min-height: 0; }
  .main-notice { padding: 36px 26px; }
  .main-notice h2 { font-size: 38px; letter-spacing: -1px; }
  .main-notice > p:not(.notice-kicker):not(.ink-signature) { font-size: 16px; }
  .date-ticket,
  .costume-note,
  .feast-note { padding: 30px 26px; }
  .detail-card-image {
    height: 190px;
    margin: -30px -26px 25px;
  }
  .feast-note { padding-bottom: 88px; }
  .date-ticket > strong { font-size: 86px; }

  .countdown-wrap { padding: 50px 18px; }
  .countdown { gap: 7px; }
  .countdown b { font-size: 20px; }
  .countdown strong { font-size: clamp(34px, 11vw, 52px); }

  .checkin-section { padding: 0 16px 80px; }
  .office-threshold {
    height: 210px;
    margin: 0 -16px;
    background-position: center var(--office-y);
  }
  .checkin-heading {
    margin: -42px auto 30px;
    padding: 22px 20px;
  }
  .checkin-heading h2 { font-size: 42px; letter-spacing: -1px; }
  .night-shift-station { gap: 20px; }
  .time-clock { padding: 0; }
  .machine-brand { padding: 13px 18px; }
  .clock-face { padding: 26px 20px; }
  .time-card-rack { padding: 24px 18px; }
  .time-card-rack .guests-heading { gap: 12px; }
  .time-card-rack .guests-heading h3 { font-size: 31px; }
  .time-card-rack .guest-count { min-width: 104px; min-height: 58px; }
  .time-card-rack .guest-count strong { min-width: 42px; font-size: 31px; }
  .time-card-rack .guest-count span { max-width: 48px; font-size: 8px; }
  .time-card-rack #guest-list {
    grid-template-columns: 1fr;
    height: 500px;
    gap: 10px;
  }
  .time-card-entry { min-height: 154px; padding: 19px; }
  .closing { min-height: 410px; padding: 90px 7%; }
  .closing h2 { font-size: clamp(50px, 15vw, 70px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
  #hero-smoke,
  .lightning-flash { display: none; }
}

html[data-motion="off"] #hero-smoke,
html[data-motion="off"] .lightning-flash { display: none; }

.screen-watcher {
  position: fixed;
  z-index: 45;
  top: clamp(150px, 24vh, 260px);
  width: clamp(190px, 24vw, 390px);
  height: min(64vh, 580px);
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.78));
  transition:
    transform 0.9s cubic-bezier(0.16, 0.9, 0.22, 1),
    opacity 0.34s ease,
    filter 0.5s ease;
  will-change: transform, opacity;
}

.screen-watcher img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center bottom;
}

.watcher-left {
  left: 0;
  transform: translateX(-91%) rotate(-2deg);
  transform-origin: left center;
}

.watcher-right {
  right: 0;
  transform: translateX(91%) rotate(2deg);
  transform-origin: right center;
}

.watcher-left.is-watching {
  opacity: 0.98;
  transform: translateX(-32%) rotate(1deg);
}

.watcher-right.is-watching {
  opacity: 0.98;
  transform: translateX(32%) rotate(-1deg);
}

.screen-watcher.is-watching img {
  animation: watcher-observe 2.7s ease-in-out both;
}

.watcher-left.is-leaving {
  opacity: 0;
  filter: blur(3px) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
  transform: translateX(-96%) rotate(-5deg) scale(0.97);
  transition:
    transform 1.35s cubic-bezier(0.5, 0.02, 0.82, 0.32),
    opacity 0.72s ease 0.42s,
    filter 0.8s ease 0.2s;
}

.watcher-right.is-leaving {
  opacity: 0;
  filter: blur(3px) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
  transform: translateX(96%) rotate(5deg) scale(0.97);
  transition:
    transform 1.35s cubic-bezier(0.5, 0.02, 0.82, 0.32),
    opacity 0.72s ease 0.42s,
    filter 0.8s ease 0.2s;
}

@keyframes watcher-observe {
  0% { transform: translateY(7px) rotate(0deg); }
  38% { transform: translateY(0) rotate(0.6deg); }
  72% { transform: translateY(2px) rotate(-0.4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

html[data-motion="off"] .screen-watcher { display: none; }

/* RSVP and arrivals are two distinct moments: a private check-in, then the party. */
.checkin-section {
  padding-bottom: 110px;
  background:
    radial-gradient(circle at 50% 80%, rgba(129, 42, 24, 0.13), transparent 40%),
    #090b0d;
}

.night-shift-station {
  display: block;
  width: min(760px, 100%);
}

.time-clock {
  overflow: hidden;
  border-color: rgba(239, 123, 44, 0.38);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.44);
}

.machine-brand {
  padding: 18px 34px;
  background: linear-gradient(90deg, #121416, #1d1714);
}

.clock-face { padding: clamp(32px, 5vw, 58px); }
.clock-face h3 { max-width: 560px; margin-bottom: 18px; }
.clock-face .rsvp-intro { max-width: 570px; }
.clock-face form { margin-top: 34px; }
.clock-face label { margin-top: 22px; }
.clock-face input,
.clock-face textarea {
  border: 1px solid rgba(53, 34, 21, 0.35);
  border-radius: 0;
}
.clock-face input:focus,
.clock-face textarea:focus { border-color: #a83320; outline: 2px solid rgba(168, 51, 32, 0.14); }

.arrivals-section {
  padding: 0 max(24px, 5vw) 120px;
  background: #090b0d;
}

.arrivals-hero,
.arrivals-content {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.arrivals-hero {
  position: relative;
  height: clamp(330px, 39vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(241, 223, 184, 0.2);
  border-bottom: 0;
  background: #111;
}

.arrivals-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.88) 0%, rgba(5, 7, 9, 0.24) 52%, rgba(5, 7, 9, 0.03) 78%),
    linear-gradient(0deg, rgba(5, 7, 9, 0.52), transparent 45%);
}

.arrivals-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrivals-hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 5vw, 72px);
  top: 50%;
  width: min(580px, 48%);
  transform: translateY(-50%);
  color: #f3dfb9;
}

.arrivals-hero-copy p {
  margin: 0 0 18px;
  color: #f08a43;
  font: 800 11px/1.4 var(--sans);
  letter-spacing: 2px;
}

.arrivals-hero-copy h2 {
  margin: 0;
  font: 700 clamp(42px, 5.3vw, 78px)/0.98 var(--serif);
  letter-spacing: -2px;
}

.arrivals-content {
  border: 1px solid rgba(241, 223, 184, 0.2);
  background: #121416;
}

.arrivals-content .time-card-rack {
  width: 100%;
  padding: clamp(28px, 4vw, 58px);
  border: 0;
  background: transparent;
}

.arrivals-content .guests-heading { align-items: center; }
.arrivals-content .guest-intro { max-width: 620px; color: #cfc4b2; }
.arrivals-content .guest-search { max-width: 760px; margin: 30px 0; }
.arrivals-content .time-card-rack #guest-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: auto;
  min-height: 210px;
  overflow: visible;
  gap: 16px;
}
.arrivals-content .time-card-entry {
  min-height: 164px;
  border: 1px solid rgba(241, 223, 184, 0.16);
  border-top: 2px solid #df6d2b;
  color: #f0dfbf;
  background: rgba(255, 255, 255, 0.025);
}
.arrivals-content .time-card-entry > div { border-color: rgba(241, 223, 184, 0.12); }
.arrivals-content .time-card-entry span:first-child { color: #d28a59; }
.arrivals-content .time-card-entry .guest-name { color: #fff0d1; }
.arrivals-content .time-card-entry .guest-bringing { color: #d6c9b4; }
.arrivals-content .guest-edit { color: #ef8a42; }

@media (max-width: 900px) {
  .arrivals-content .time-card-rack #guest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .screen-watcher {
    z-index: 35;
    top: 24vh;
    width: 225px;
    height: 360px;
  }
  .watcher-left.is-watching { transform: translateX(-43%) rotate(1deg); }
  .watcher-right.is-watching { transform: translateX(43%) rotate(-1deg); }
  .watcher-left.is-leaving {
    transform: translateX(-97%) rotate(-4deg) scale(0.97);
    transition-duration: 1.05s, 0.62s, 0.7s;
  }
  .watcher-right.is-leaving {
    transform: translateX(97%) rotate(4deg) scale(0.97);
    transition-duration: 1.05s, 0.62s, 0.7s;
  }
  .checkin-section { padding-bottom: 72px; }
  .clock-face { padding: 30px 22px; }
  .arrivals-section { padding: 0 16px 80px; }
  .arrivals-hero { height: 470px; }
  .arrivals-hero img { object-position: 65% center; }
  .arrivals-hero::after {
    background: linear-gradient(0deg, rgba(5, 7, 9, 0.9) 0%, rgba(5, 7, 9, 0.1) 72%);
  }
  .arrivals-hero-copy {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 26px;
    width: auto;
    transform: none;
  }
  .arrivals-hero-copy h2 { font-size: 42px; }
  .arrivals-content .time-card-rack { padding: 28px 20px; }
  .arrivals-content .time-card-rack #guest-list {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 120px;
    gap: 8px;
  }
  .arrivals-content .time-card-entry {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) 52px minmax(105px, 1.2fr);
    gap: 12px;
    align-items: start;
    min-height: 0;
    padding: 15px 14px 14px;
  }
  .arrivals-content .time-card-entry > div {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
  }
  .arrivals-content .time-card-entry > div::before {
    margin-bottom: 5px;
    font-size: 7px;
  }
  .arrivals-content .time-card-entry .guest-name,
  .arrivals-content .time-card-entry .guest-people {
    font-size: 15px;
    line-height: 1.3;
  }
  .arrivals-content .time-card-entry .guest-people { text-align: left; }
  .arrivals-content .time-card-entry .guest-bringing {
    font-size: 13px;
    line-height: 1.35;
  }
  .arrivals-content .time-card-entry .guest-edit {
    display: block;
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-watcher { display: none; }
}

@media (max-width: 600px) {
  .confirmation {
    width: calc(100% - 20px);
    max-height: calc(100svh - 16px);
    padding: 16px 15px 14px;
    overflow-y: auto;
  }
  .confirmation-close {
    top: 3px;
    right: 5px;
    font-size: 24px;
  }
  .confirmation-seal {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    border-width: 2px;
    box-shadow: 0 0 0 3px #69231c, 0 3px 8px #0008;
  }
  .confirmation-seal span { font-size: 24px; }
  .confirmation-kicker {
    margin-bottom: 4px;
    font-size: 7px;
    line-height: 1.3;
  }
  .confirmation h2 {
    margin-bottom: 7px;
    font-size: clamp(25px, 8vw, 31px);
    line-height: 0.95;
  }
  .confirmation > p:not(.confirmation-kicker):not(.confirmation-date) {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.35;
  }
  .confirmation-summary {
    display: grid;
    grid-template-columns: 1.1fr 0.75fr 1.35fr;
    padding: 7px 5px;
    margin: 9px 0 7px;
    transform: none;
  }
  .confirmation-summary > div {
    display: block;
    min-width: 0;
    padding: 3px 8px;
    border-right: 1px solid #8e724544;
    border-bottom: 0;
  }
  .confirmation-summary > div:last-child { border-right: 0; }
  .confirmation-summary dt {
    margin-bottom: 3px;
    font-size: 7px;
    line-height: 1.2;
  }
  .confirmation-summary dd {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.25;
  }
  .confirmation-date {
    margin: 7px 0 8px;
    font-size: 8px;
  }
  .confirmation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 8px;
  }
  .confirmation-actions .primary {
    grid-column: 1 / -1;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 10px;
    transform: none;
  }
  .confirmation-actions .edit-answers,
  .confirmation-actions .cancel-rsvp {
    padding: 5px 2px;
    font-size: 10px;
  }
  .private-link-box {
    margin-top: 7px;
    padding-top: 7px;
  }
  .private-link-box label {
    margin-bottom: 4px;
    font-size: 8px;
  }
  .private-link-box #edit-link-help,
  .private-link-box .private-link-hint { display: none; }
  .copy-link-row { gap: 5px; }
  .copy-link-row input {
    height: 34px;
    padding: 6px;
    font-size: 9px;
  }
  .copy-link-row button {
    padding: 6px 9px;
    font-size: 9px;
  }
  .private-link-box #copy-status {
    min-height: 0;
    margin: 3px 0 0;
    font-size: 8px;
    line-height: 1.2;
  }
}

.guest-list-head { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.name-unlock,
.names-revealed {
  max-width: 760px;
  margin: 26px 0 28px;
  padding: 18px;
  border: 1px solid rgba(239, 123, 44, 0.4);
  background: rgba(59, 28, 18, 0.26);
}
.name-unlock-copy,
.names-revealed {
  display: flex;
  align-items: center;
  gap: 12px;
}
.name-unlock-copy > span,
.names-revealed > span:first-child {
  color: #ef7b2c;
  font-size: 22px;
}
.name-unlock-copy strong {
  display: block;
  color: #f2dfbc;
  font: 700 17px/1.2 var(--serif);
}
.name-unlock-copy small {
  display: block;
  margin-top: 3px;
  color: #bfb3a1;
  font: 12px/1.4 var(--sans);
}
.name-unlock-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}
.name-unlock-fields input {
  min-width: 0;
  border: 1px solid rgba(241, 223, 184, 0.24);
  background: #0c0e10;
  color: #f1dfbd;
  padding: 11px 13px;
  font: 14px var(--sans);
}
.name-unlock-fields button {
  border: 1px solid #e9813b;
  background: #d86928;
  color: #1a0d07;
  padding: 10px 16px;
  font: 800 11px var(--sans);
  cursor: pointer;
}
.name-unlock-fields button:disabled { opacity: 0.65; cursor: wait; }
#name-unlock-status {
  min-height: 0;
  margin: 8px 0 0;
  color: #ee9970;
  font: 11px/1.4 var(--sans);
}
.names-revealed {
  color: #d4c6ae;
  font: 12px var(--sans);
}
.name-is-hidden {
  color: #8d8171 !important;
  font-style: italic !important;
  letter-spacing: 0.3px;
}

.time-card-rack .guest-count {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 126px;
  min-width: 126px;
  height: 96px;
  min-height: 96px;
  padding: 10px 14px;
  border: 1px solid rgba(239, 123, 44, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 38, 23, 0.35), rgba(9, 11, 13, 0.72) 68%);
  box-shadow: inset 0 0 24px rgba(239, 123, 44, 0.08);
  transform: rotate(2deg);
}
.time-card-rack .guest-count::before {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid rgba(241, 223, 184, 0.18);
  border-radius: 48% 52% 49% 51%;
  transform: rotate(-5deg);
}
.time-card-rack .guest-count strong {
  min-width: 0;
  padding: 0;
  font-size: 34px;
  line-height: 0.95;
}
.time-card-rack .guest-count span {
  position: relative;
  max-width: 92px;
  text-align: center;
  font-size: 8px;
  line-height: 1.15;
}

@media (max-width: 700px) {
  .arrivals-content { border-color: rgba(241, 223, 184, 0.13); }
  .arrivals-content .time-card-rack { padding: 24px 18px 22px; }
  .arrivals-content .guests-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding-bottom: 16px;
  }
  .arrivals-content .rack-label {
    margin-bottom: 6px;
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .arrivals-content .time-card-rack .guests-heading h3 {
    max-width: 220px;
    font-size: 36px;
    line-height: 0.95;
    letter-spacing: -1px;
  }
  .arrivals-content .time-card-rack .guest-count {
    align-self: start;
    width: 92px;
    min-width: 92px;
    height: 78px;
    min-height: 78px;
    padding: 8px 9px;
  }
  .arrivals-content .time-card-rack .guest-count strong {
    min-width: 0;
    padding: 0;
    font-size: 28px;
  }
  .arrivals-content .time-card-rack .guest-count span {
    max-width: 72px;
    font-size: 6.5px;
    line-height: 1.12;
  }
  .arrivals-content .guest-intro {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
  }
  .name-unlock,
  .names-revealed {
    margin: 17px 0 19px;
    padding: 13px;
  }
  .name-unlock-copy > span,
  .names-revealed > span:first-child { font-size: 18px; }
  .name-unlock-copy strong { font-size: 15px; }
  .name-unlock-copy small { font-size: 11px; }
  .name-unlock-fields {
    grid-template-columns: 1fr;
    margin-top: 11px;
  }
  .name-unlock-fields input,
  .name-unlock-fields button { min-height: 42px; }
  .arrivals-content .guest-search { margin: 0 0 20px; }
  .arrivals-content .guest-search label {
    margin-bottom: 6px;
    font-size: 10px;
  }
  .arrivals-content .guest-search input {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 15px;
  }
  .arrivals-content .guest-search input::placeholder { font-size: 15px; }
  .guest-list-head {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) 52px minmax(105px, 1.2fr);
    gap: 12px;
    padding: 0 14px 8px;
    color: #a98b6e;
    font: 800 7px/1.2 var(--sans);
    letter-spacing: 1.1px;
  }
  .arrivals-content .time-card-rack #guest-list {
    gap: 0;
    min-height: 70px;
    border-top: 1px solid rgba(241, 223, 184, 0.15);
    border-bottom: 1px solid rgba(241, 223, 184, 0.15);
  }
  .arrivals-content .time-card-entry {
    min-height: 52px;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid rgba(241, 223, 184, 0.1);
    background: transparent;
  }
  .arrivals-content .time-card-entry:last-child { border-bottom: 0; }
  .arrivals-content .time-card-entry::before,
  .arrivals-content .time-card-entry::after { display: none; }
  .arrivals-content .time-card-entry > div::before { display: none; }
  .arrivals-content .time-card-entry .guest-name,
  .arrivals-content .time-card-entry .guest-people { font-size: 14px; }
  .arrivals-content .time-card-entry .guest-bringing { font-size: 12px; }
  .arrivals-content .guest-pagination {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 0;
  }
  .arrivals-content .guest-pagination button {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 9px;
  }
  .arrivals-content .entry-count { margin: 12px 0 0; font-size: 10px; }
}
