:root {
  color-scheme: light;
  --surface: #fff;
  --canvas: #f4f8f7;
  --ink: #172f3c;
  --muted: #4d626c;
  --teal: #176357;
  --teal-deep: #164942;
  --mint: #e5f2eb;
  --mint-pale: #f0f7f2;
  --line: #cadfd7;
  --control-line: #75887e;
  --danger: #9e382d;
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --glass: linear-gradient(150deg, #ffffffe8, #f3fbf7a6 65%, #e3f3efa8);
  --glass-mint: linear-gradient(137deg, #fbfffae8, #e4f4eccc 67%, #dbedeccc);
  --glass-edge: #ffffffd9;
  --glass-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #51837110, 0 9px 24px #244d4812;
  --glass-shadow-raised: inset 0 1px 0 #fff, inset 0 -1px 0 #51837116, 0 18px 42px #244d4821;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(ellipse 50rem 35rem at 2% 7rem, #d9eee5, transparent 78%),
    radial-gradient(ellipse 57rem 40rem at 92% 20rem, #dde9f6, transparent 79%),
    radial-gradient(ellipse 53rem 47rem at 24% 56rem, #e0f0e3, transparent 82%),
    var(--canvas);
  color: var(--ink);
  font: 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid #277668; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
.page-width { width: min(74rem, calc(100% - 5rem)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 20;
  padding: .65rem 1rem;
  background: var(--surface);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(110deg, #fffffff0, #effaf4d1);
  border-bottom: 1px solid #c5dcd2;
  box-shadow: inset 0 1px 0 #fff, 0 5px 22px #10463c10;
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 2rem;
  min-height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  justify-self: start;
  width: fit-content;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: .85rem;
  background: linear-gradient(155deg, #2b7266, #164942 73%);
  box-shadow: inset 0 1px 0 #c8f5e57f, inset 0 -1px 0 #0d3c34, 0 4px 10px #184c4229;
  color: #ebf6ea;
  font-size: 1.12rem;
  line-height: 1;
}
.site-nav { display: flex; align-items: center; gap: .48rem; }
.site-nav a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  padding-inline: .67rem;
  border-radius: .72rem;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 630;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.site-nav a:hover, .site-nav a:focus-visible {
  background: #ffffffb5;
  color: var(--teal-deep);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px #174e3f15;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.site-nav a:focus-visible { outline-offset: -3px; }
.header-plan { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: .78rem;
  padding: .59rem 1rem;
  font-size: .94rem;
  font-weight: 710;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
    color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.button-primary {
  border-color: #1c5148;
  background: linear-gradient(165deg, #ffffff16, #082a250f), var(--teal-deep);
  box-shadow: inset 0 1px 0 #c8f5e57f, inset 0 -1px 0 #0d3c34, 0 5px 13px #16494233;
  color: #fff;
}
.button-primary:hover { background-color: #21675b; box-shadow: inset 0 1px 0 #ddfff2a6, 0 8px 16px #1649423b; }
.button-secondary { border-color: #adc9be; background: var(--glass); box-shadow: var(--glass-shadow); color: var(--teal-deep); }
.button-secondary:hover { border-color: #71978b; background: #fcfffd; box-shadow: var(--glass-shadow-raised); }
.button-quiet { background: transparent; color: var(--teal-deep); }
.button-quiet:hover { background: #eff8f3d9; }
.button-danger { background: #fbeeea; border-color: #edc7bd; color: #852d24; }
.button-danger:hover { background: #f9ded5; }
.button:not(:disabled):active, .date-chip:not(:disabled):active, .filters button:not(:disabled):active { transform: translateY(1px); }
@media (hover: hover) {
  .button-primary:not(:disabled):hover:not(:active), .button-secondary:not(:disabled):hover:not(:active) { transform: translateY(-1px); }
}

.icon { display: inline-block; position: relative; width: 1rem; height: 1rem; flex: 0 0 auto; }
.icon-plus::before, .icon-plus::after {
  position: absolute;
  content: "";
  inset: 50% auto auto 50%;
  height: 1.5px;
  width: .75rem;
  border-radius: .1rem;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.icon-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.icon-calendar {
  width: .9rem;
  height: .84rem;
  border: 1.5px solid currentColor;
  border-radius: .18rem;
}
.icon-calendar::before {
  content: "";
  position: absolute;
  inset: .18rem 0 auto;
  height: 1.5px;
  background: currentColor;
}
.icon-calendar::after {
  content: "";
  position: absolute;
  width: 1.5px;
  height: .22rem;
  inset: -.16rem auto auto .16rem;
  border-radius: .1rem;
  background: currentColor;
  box-shadow: .33rem 0 currentColor;
}
.icon-pin::before {
  content: "";
  position: absolute;
  inset: .06rem auto auto .14rem;
  width: .7rem;
  height: .7rem;
  transform: rotate(-45deg);
  border: 1.5px solid currentColor;
  border-radius: 60% 60% 60% 0;
}
.icon-pin::after {
  content: "";
  position: absolute;
  inset: .3rem auto auto .38rem;
  width: .23rem;
  height: .23rem;
  border: 1.3px solid currentColor;
  border-radius: 50%;
}
.icon-clock { border: 1.5px solid currentColor; border-radius: 50%; }
.icon-clock::before {
  content: "";
  position: absolute;
  width: .29rem;
  height: .32rem;
  inset: .17rem auto auto .38rem;
  border-left: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  border-radius: .02rem;
}

.hero, .invite-gate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.75rem;
  padding: .9rem;
  border: 1px solid var(--glass-edge);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse at 8% 9%, #fffcf0f0, transparent 66%),
    linear-gradient(127deg, #f2fff6b3 4%, #e0f3e8bd 48%, #cce5e8ce);
  box-shadow: var(--glass-shadow-raised);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-copy, .gate-copy { align-self: center; padding: 1.6rem 1rem 1.6rem 2.5rem; }
.hero-dates {
  display: inline-flex;
  align-items: center;
  gap: .52rem;
  padding: .35rem .68rem;
  border: 1px solid #c1ddcc;
  border-radius: 2rem;
  background: var(--glass);
  box-shadow: inset 0 1px 0 #fff;
  color: var(--teal-deep);
  font-size: .87rem;
  font-weight: 730;
}
.hero h1, .gate-copy h1 {
  margin-top: .95rem;
  font: 400 clamp(3.7rem, 6.7vw, 6.1rem)/.86 var(--serif);
  letter-spacing: -.025em;
}
.hero h1 em, .gate-copy h1 em { color: var(--teal); font-weight: 400; }
.hero-intro, .gate-copy > p {
  margin-top: 1rem;
  max-width: 27rem;
  color: #3d5660;
  font-size: 1.04rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.hero-actions .button { padding-inline: 1.12rem; }
.hero-room {
  display: flex;
  align-items: center;
  gap: .47rem;
  margin-top: 1rem;
  color: var(--teal-deep);
  font-size: .93rem;
}
.room-indicator { width: .48rem; height: .48rem; border-radius: 50%; background: #4b8a75; }
.hero-media {
  min-height: 22rem;
  border-radius: 1.1rem;
  background:
    url("/hero.jpg") center 49% / cover no-repeat,
    radial-gradient(ellipse at 21% 21%, #c7e0b9, transparent 62%),
    linear-gradient(140deg, #a5c5a2, #467467 105%);
  box-shadow: inset 0 0 0 1px #fff8, 0 12px 24px #24584a24;
}
.startup-status { margin: 2rem 0; color: var(--muted); }
.gate-copy > .button, .gate-copy > form { margin-top: 1.1rem; }
.gate-copy > form { max-width: 25rem; }
.gate-copy form > .button { justify-self: start; }
.gate-copy > .button { padding-inline: .3rem; }
.gate-mark { width: 3.1rem; height: 3.1rem; font-size: 1.6rem; border-radius: 1rem; }
.invite-gate h1 { max-width: 30rem; }

.page-section { scroll-margin-top: 5.75rem; margin-top: 3.5rem; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  margin-bottom: 1.08rem;
}
.section-heading h2 {
  font: 400 clamp(2.45rem, 4.4vw, 3.2rem)/1.02 var(--serif);
  letter-spacing: -.018em;
}
.section-description { margin-top: .36rem; color: var(--muted); }
.timezone-tag {
  display: inline-flex;
  align-items: center;
  gap: .47rem;
  margin-block: .2rem;
  padding: .5rem .72rem;
  border: 1px solid var(--line);
  border-radius: 7rem;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.timezone-tag .icon { width: .92rem; height: .92rem; color: var(--teal); }
.schedule-controls { display: grid; gap: .9rem; }
.schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  width: fit-content;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: .93rem;
  background: linear-gradient(165deg, #e1f1ebac, #ecf8f0dc);
  box-shadow: inset 0 1px 3px #22665215, 0 1px 0 #fff;
}
.filters button {
  min-height: 2.75rem;
  padding: .4rem .85rem;
  border: 1px solid transparent;
  border-radius: .66rem;
  background: transparent;
  color: #3d575d;
  font-size: .94rem;
  font-weight: 670;
  white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.filters button[aria-pressed="true"] {
  border-color: #b1d1c3;
  background: var(--glass);
  color: var(--teal-deep);
  box-shadow: inset 0 1px 0 #fff, 0 3px 9px #28574a19;
}
.filters button:hover { background-color: #ffffffb8; }
.date-strip {
  display: grid;
  grid-auto-columns: minmax(3.72rem, 1fr);
  grid-auto-flow: column;
  gap: .44rem;
  overflow-x: auto;
  padding: .27rem .25rem .48rem;
  margin-inline: -.25rem;
  scrollbar-color: #b8cfc1 transparent;
  scrollbar-width: thin;
}
.date-chip {
  display: grid;
  place-items: center;
  min-height: 4.25rem;
  min-width: 3.7rem;
  padding: .27rem .24rem;
  border: 1px solid var(--line);
  border-radius: .78rem;
  background: var(--glass);
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px #2b514711;
  color: var(--ink);
  line-height: 1.16;
  text-decoration: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
    box-shadow .18s var(--ease), transform .18s var(--ease);
}
.date-chip:hover, .date-chip[aria-current="true"], .date-chip[aria-current="date"] {
  border-color: #6d9f8d;
  background: linear-gradient(140deg, #f2fffae8, #d4eee4de);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px #28574a22;
}
.date-chip[aria-current="true"], .date-chip[aria-current="date"] {
  border-color: #548b79;
  box-shadow: inset 0 0 0 1px #548b79, 0 4px 10px #28574a22;
}
.date-chip:focus-visible { outline-offset: 0; }
.date-chip-month { color: var(--muted); font-size: .85rem; font-weight: 670; }
.date-chip-day { font-size: 1.12rem; font-weight: 760; }
.date-chip-status { color: var(--teal-deep); font-size: .78rem; font-weight: 660; }
.date-chip-status:empty { display: none; }
#schedule-message { margin-top: .7rem; }
.agenda { display: grid; gap: .72rem; margin-top: .54rem; }
.day-card {
  display: grid;
  grid-template-columns: minmax(7.6rem, 10rem) minmax(0, 1fr);
  min-height: 6.85rem;
  gap: .7rem 1.4rem;
  align-items: stretch;
  padding: .86rem 1.08rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  scroll-margin-top: 5.75rem;
}
.day-empty { background: var(--glass-mint); }
.day-card:focus-within { border-color: #91b5a5; }
.day-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: .3rem .8rem .3rem .15rem;
  border-right: 1px solid #dfe8e1;
  color: var(--ink);
  line-height: 1.27;
}
.day-number { font: 400 1.64rem/1.12 var(--serif); letter-spacing: -.015em; }
.day-weekday { color: var(--muted); font-size: .9rem; font-weight: 650; }
.day-body { display: grid; align-content: center; gap: .55rem; min-width: 0; }
.day-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.day-status { color: var(--muted); font-size: .94rem; font-weight: 650; }
.day-empty .day-status { color: var(--teal-deep); }
.day-plan { border-color: #aed0bf; background: var(--glass); box-shadow: inset 0 1px 0 #fff; }
.day-plan > span { font-size: 1.12em; }
.visit-list, .my-visits-list { display: grid; gap: .6rem; }
.visit-list { margin: 0; padding: 0; list-style: none; }
.visit-card {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) minmax(0, auto);
  align-items: start;
  gap: .55rem 1rem;
  padding: .82rem 1rem;
  border: 1px solid var(--line);
  border-radius: .82rem;
  background: linear-gradient(140deg, #fcfffdc9, #eef8f2cc);
  box-shadow: inset 0 1px 0 #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}
.my-visits-list .visit-card { background: var(--glass); box-shadow: var(--glass-shadow); }
.visit-details { display: grid; gap: .24rem; min-width: 0; }
.visit-name { font-weight: 730; font-size: 1.025rem; }
.visit-meta, .visit-note { color: var(--muted); font-size: .92rem; }
.visit-note { white-space: pre-wrap; }
.visit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .44rem; }
.visit-actions .button { min-height: 2.75rem; }
.visit-card .visit-actions { justify-content: flex-end; }
.visit-card .button-quiet { padding-inline: .62rem; }
.visit-card [data-cancel] { color: #87382f; }
.export-check {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 630;
  cursor: pointer;
}
.export-check input { width: 1rem; height: 1rem; margin: 0; flex: none; }
.visit-actions .export-check {
  padding-inline: .58rem;
  border: 1px solid var(--line);
  border-radius: .64rem;
  background: #ffffffac;
}
.visit-actions .export-check:has(input:checked) {
  border-color: #79a392;
  background: var(--mint);
  color: var(--teal-deep);
}
.empty-state {
  display: grid;
  align-items: start;
  justify-items: start;
  gap: .6rem;
  padding: 1.2rem 1.3rem;
  border: 1px dashed #b6cfbf;
  border-radius: .95rem;
  background: var(--glass-mint);
  color: var(--muted);
}

.information-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
}
.information-icon {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: .95rem;
  background: var(--glass-mint);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px #244d481b;
  color: var(--teal-deep);
}
.information-icon .icon { transform: scale(1.3); }
.information-copy { flex: 1 1 14rem; overflow-wrap: anywhere; }
.information-copy h3 { font-size: 1.16rem; }
.information-copy p { margin-top: .26rem; color: var(--muted); }
#facility-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.information-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.organizer-panel {
  display: grid;
  gap: .65rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
}
.organizer-panel h4 { margin: .35rem 0 0; }
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  border-top: 1px solid var(--line);
  margin-block: 3.3rem 1.2rem;
  padding-top: .9rem;
}
.site-footer .brand { color: var(--muted); }
.site-footer .brand-mark { width: 1.85rem; height: 1.85rem; border-radius: .65rem; font-size: .85rem; }
.mobile-plan { display: none; }
.site-alert {
  position: fixed;
  z-index: 7;
  inset: auto 1rem 1rem auto;
  width: max-content;
  max-width: min(24rem, calc(100% - 2rem));
  padding: .86rem 1rem;
  border: 1px solid #83ac9d;
  border-radius: .8rem;
  background: var(--glass-mint);
  color: var(--teal-deep);
  box-shadow: 0 8px 30px #1f463627;
  font-weight: 620;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 1px solid var(--glass-edge);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #fefffcf6, #f0faf5eb);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 22px 72px #112e3d55;
  overflow: auto;
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
}
dialog[open] { animation: glass-dialog-in .22s var(--ease) both; }
dialog::backdrop {
  background: #0e2c3b75;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes glass-dialog-in {
  from { opacity: 0; transform: translateY(7px) scale(.987); }
  to { opacity: 1; transform: none; }
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
  padding: .95rem 1.15rem .75rem;
}
.dialog-header h2 { font: 400 2.2rem/1.1 var(--serif); letter-spacing: -.016em; }
.dialog-close {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--glass);
  box-shadow: inset 0 1px 0 #fff;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}
.dialog-close:hover { background: var(--mint); }
.dialog-content { padding: 1.1rem 1.15rem 1.25rem; }
.dialog-content > * + * { margin-top: .72rem; }
.dialog-content > .step-indicator + h3 { margin-top: .25rem; }
.form-stack, .form-grid { display: grid; gap: .85rem; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: .35rem; min-width: 0; color: var(--ink); font-size: .95rem; font-weight: 690; }
.field-help { font-size: .87rem; color: var(--muted); font-weight: 500; }
.period-field {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.period-field legend {
  margin-bottom: .38rem;
  padding: 0;
  font-size: .95rem;
  font-weight: 690;
}
.period-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.15rem, 1fr));
  gap: .42rem;
}
.period-option { position: relative; min-inline-size: 0; cursor: pointer; }
.period-option > input {
  position: absolute;
  inset: 50% auto auto 50%;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  opacity: 0;
}
.period-option > span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 4.1rem;
  gap: .23rem;
  padding: .45rem .3rem;
  border: 1px solid var(--control-line);
  border-radius: .7rem;
  background: var(--glass);
  box-shadow: inset 0 1px 0 #fff, 0 3px 7px #244d4812;
  color: var(--teal-deep);
  font-size: .9rem;
  font-weight: 670;
  text-align: center;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.period-option > input:not(:disabled) + span:hover { border-color: #547d6d; box-shadow: var(--glass-shadow); }
.period-option > input:not(:disabled) + span:active { transform: translateY(1px); }
.period-option > input:checked + span {
  border-color: #548b79;
  background: linear-gradient(143deg, #edfff7, #d4eee3);
  box-shadow: inset 0 0 0 1px #78a994, 0 4px 10px #244d4817;
  font-weight: 760;
}
.period-option > input:checked + span::after {
  position: absolute;
  inset: .38rem .42rem auto auto;
  width: .39rem;
  height: .61rem;
  transform: rotate(43deg);
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
}
.period-option > input:focus-visible + span { outline: 3px solid #277668; outline-offset: 2px; }
.period-option > input:disabled + span { background: #edf2ef; color: #596a65; box-shadow: none; cursor: not-allowed; }
.visit-period { display: inline-flex; align-items: center; gap: .24rem; vertical-align: middle; }
.period-icon {
  position: relative;
  display: inline-block;
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
}
.period-icon::before, .period-icon::after { position: absolute; content: ''; }
.period-icon-morning::before {
  inset: .34rem .27rem .31rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
}
.period-icon-morning::after { inset: auto .07rem .26rem; border-top: 1.5px solid currentColor; }
.period-icon-afternoon::before { inset: .3rem; border: 1.5px solid currentColor; border-radius: 50%; }
.period-icon-afternoon::after {
  inset: .04rem;
  background:
    linear-gradient(currentColor, currentColor) top / 1.5px .15rem no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 1.5px .15rem no-repeat,
    linear-gradient(currentColor, currentColor) left / .15rem 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) right / .15rem 1.5px no-repeat;
}
.period-icon-evening::before {
  inset: .13rem .12rem .13rem .15rem;
  border-radius: 50%;
  box-shadow: inset .27rem -.065rem 0 currentColor;
  transform: rotate(-24deg);
}
.visit-period .period-icon { transform: scale(.86); }
.optional-details {
  border: 1px solid var(--line);
  border-radius: .77rem;
  background: var(--glass);
  box-shadow: inset 0 1px 0 #fff;
}
.optional-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 2.75rem;
  padding: .48rem .76rem;
  border-radius: .7rem;
  color: var(--teal-deep);
  font-size: .95rem;
  font-weight: 690;
  list-style: none;
  cursor: pointer;
  transition: background-color .18s var(--ease);
}
.optional-details > summary::-webkit-details-marker { display: none; }
.optional-details > summary::after {
  width: .48rem;
  height: .48rem;
  margin: -.2rem .2rem 0 0;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transition: transform .18s var(--ease);
}
.optional-details[open] > summary::after { transform: translateY(.2rem) rotate(225deg); }
.optional-details > summary:hover { background: #ffffffa6; }
.optional-details > .form-stack { padding: .75rem; border-top: 1px solid var(--line); }
input:not([type="checkbox"], [type="radio"], [type="submit"]), select, textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: .5rem .67rem;
  border: 1px solid var(--control-line);
  border-radius: .58rem;
  background: #ffffffe6;
  box-shadow: inset 0 1px 2px #254c4110;
  color: var(--ink);
  font-size: 1rem;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--teal); }
select {
  appearance: none;
  padding-right: 2rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--teal-deep) 50%) calc(100% - 1.15rem) 50% / .34rem .34rem no-repeat,
    linear-gradient(135deg, var(--teal-deep) 50%, transparent 50%) calc(100% - .81rem) 50% / .34rem .34rem no-repeat,
    #ffffffe6;
}
textarea { min-height: 5.15rem; resize: vertical; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }
.form-notice, .booking-summary {
  display: grid;
  gap: .42rem;
  padding: .88rem 1rem;
  border: 1px solid #d2e7d9;
  border-radius: .8rem;
  background: var(--mint-pale);
  overflow-wrap: anywhere;
}
.confirmation { display: grid; gap: .95rem; }
.confirmation > p:first-child { color: var(--teal-deep); font-weight: 700; }
.form-error {
  padding: .6rem .75rem;
  border: 1px solid #f1c6b9;
  border-radius: .55rem;
  background: #fff0eb;
  color: var(--danger);
}
.form-error:empty { display: none; }
.step-indicator { color: var(--teal-deep); font-size: .88rem; font-weight: 730; }
.booking-summary dl, dl.booking-summary { margin: 0; }
.booking-summary dt { font-weight: 740; }
.booking-summary dd { margin: 0 0 .27rem; color: var(--muted); }
.visit-code {
  padding: .55rem .65rem;
  border: 1px solid #c6dcd0;
  border-radius: .58rem;
  background: var(--mint-pale);
  color: var(--teal-deep);
  font-size: .93rem;
  overflow-wrap: anywhere;
  user-select: all;
}

@media (max-width: 58rem) {
  .page-width { width: calc(100% - 3rem); }
  .header-inner { gap: .75rem 1rem; }
  .site-nav { gap: .35rem; }
  .hero-copy, .gate-copy { padding-inline: 1.3rem .4rem; }
}

@media (max-width: 53rem) {
  .visit-card { grid-template-columns: 1fr; }
  .visit-card .visit-actions { justify-content: flex-start; }
}

@media (max-width: 43rem) {
  .page-width { width: calc(100% - 1.8rem); }
  .site-header { position: relative; }
  .header-inner { grid-template-columns: 1fr; min-height: auto; gap: 0; }
  .header-inner > .brand { margin-block: .68rem .26rem; }
  .header-inner > .brand .brand-mark { width: 2.08rem; height: 2.08rem; border-radius: .73rem; }
  .site-nav { gap: .35rem; overflow-x: auto; margin-inline: -.43rem; }
  .site-nav a { font-size: .88rem; padding-inline: .43rem; }
  .header-plan { display: none; }
  .hero, .invite-gate {
    grid-template-columns: 1fr;
    gap: .72rem;
    padding: .58rem;
    margin-top: .82rem;
    border-radius: 1.25rem;
  }
  .hero-copy, .gate-copy { padding: 1.03rem .72rem .32rem; }
  .hero h1, .gate-copy h1 { font-size: clamp(3.25rem, 10.7vw, 4.7rem); line-height: .92; }
  .hero h1 br { display: none; }
  .hero h1 em::before { content: " "; }
  .hero-intro, .gate-copy > p { font-size: 1rem; }
  .hero-media { min-height: 0; aspect-ratio: 2.45; border-radius: .85rem; background-position: center 46%; }
  .page-section { margin-top: 2.3rem; scroll-margin-top: 1.25rem; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: .58rem; margin-bottom: .85rem; }
  .filters { width: fit-content; }
  .filters button { padding-inline: .64rem; font-size: .9rem; }
  .day-card {
    grid-template-columns: 1fr;
    gap: .52rem;
    padding: .72rem .82rem;
    scroll-margin-top: 1.25rem;
  }
  .day-date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: .48rem; padding: 0 0 .47rem; border-right: 0; border-bottom: 1px solid #dfe8e1; }
  .day-number { font-size: 1.36rem; }
  .site-footer { margin-block: 2.15rem 5.6rem; }
  .mobile-plan {
    display: block;
    position: fixed;
    z-index: 6;
    inset: auto 0 0;
    padding: .58rem .87rem max(.58rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: linear-gradient(145deg, #fcfffcf0, #e7f6eedc);
    box-shadow: 0 -4px 19px #153e320f;
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    backdrop-filter: blur(15px) saturate(1.2);
  }
  .mobile-plan .button { width: 100%; }
  .site-alert { bottom: calc(4.3rem + env(safe-area-inset-bottom)); }
  .information-card { padding: .9rem; }
  .information-copy { flex-basis: calc(100% - 4.3rem); }
}

@media (max-width: 26rem) {
  .site-nav { gap: .15rem; }
  .filters { gap: .1rem; }
  .filters button { padding-inline: .52rem; font-size: .875rem; }
  .site-footer .brand-mark { display: none; }
  .information-actions { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  dialog[open] { animation: none; }
  .button:not(:disabled):hover:not(:active), .button:not(:disabled):active, .date-chip:not(:disabled):active,
  .filters button:not(:disabled):active, .period-option > input:not(:disabled) + span:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  :root { --glass: #fff; --glass-mint: #edf6ee; --glass-edge: #bed8cc; }
  body { background: var(--canvas); }
  .site-header, .hero, .invite-gate, .day-card, .site-alert, dialog, dialog::backdrop, .mobile-plan {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header, dialog, .mobile-plan, .visit-card { background: #fff; }
  .hero, .invite-gate, .filters, .site-alert { background: #eaf5ee; }
  .date-chip:hover, .date-chip[aria-current="true"], .date-chip[aria-current="date"] { background: #e1efe6; }
  input:not([type="checkbox"], [type="radio"], [type="submit"]), select, textarea { background-color: #fff; }
  dialog::backdrop { background: #273c43; }
}

@media (forced-colors: active) {
  .period-option > input:checked + span, .date-chip[aria-current="true"], .date-chip[aria-current="date"],
  .filters button[aria-pressed="true"] { border: 2px solid Highlight; }
  .period-option > input:focus-visible + span, :focus-visible { outline-color: Highlight; }
  .period-option > input:disabled + span { color: GrayText; }
}
