:root {
  color-scheme: light;
  --ink: #1d1a16;
  --muted: #625a4e;
  --gold: #80602d;
  --light-gold: #dec18a;
  --line: #ded5c6;
  --paper: #f8f5ef;
  --heading: Rubik, 'Segoe UI', system-ui, sans-serif;
  --sans: 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
h1, h2, p, dl, dd, fieldset { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 650; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 4vw, 2.35rem); }
a { color: inherit; }
:focus-visible { outline: 3px solid #986924; outline-offset: 4px; }
.shell { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.masthead { background: #222; color: #fffaf0; border-bottom: 1px solid #80602d; }
.masthead-inner, nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead-inner { min-height: 104px; }
.brand img { display: block; width: clamp(150px, 25vw, 290px); height: auto; }
nav a { font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.nav-current { margin-right: 1rem; color: var(--light-gold); }
.nav-current:hover { text-decoration: underline; }
.special-link { border: 1px solid #ad8c54; padding: .6rem .85rem; font-weight: 600; }
.special-link:hover { background: #473b2b; }
.special-link span, footer a span { margin-left: .25rem; }

.reservation-site { --paper: #f7f3eb; --heading: Georgia, 'Times New Roman', serif; }
.reservation-site h1, .reservation-site h2 { font-weight: 500; letter-spacing: -.025em; }
.reservation-site h2 { font-size: clamp(1.55rem, 3.5vw, 2.1rem); }
.reservation-site .masthead-inner { min-height: 84px; }
.reservation-site .brand img { width: clamp(150px, 23vw, 235px); }
.hero {
  --hero-shade: linear-gradient(90deg, rgba(20, 17, 14, .76), rgba(20, 17, 14, .64) 45%, rgba(20, 17, 14, .12) 72%, transparent);
  background: var(--hero-shade), #28231e url('/assets/equitable-exterior.jpg') center / cover;
  color: #fffaf0;
  border-bottom: 2px solid #ac8950;
}
.hero-inner { min-height: clamp(290px, 32vw, 385px); display: flex; align-items: center; padding-block: clamp(1.8rem, 5vw, 3.2rem); }
.eyebrow { color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--light-gold); }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); letter-spacing: -.035em; margin: .65rem 0 1rem; }
.hero h1 { margin: .5rem 0 .65rem; font-size: clamp(2.45rem, 5.5vw, 4.55rem); line-height: 1.02; }
.hero-description { color: #f0e7d8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: 1.2rem; }
.hero-link { display: inline-flex; align-items: center; gap: .65rem; padding: .6rem .85rem; background: #e3c88f; color: #251e15; font-size: .875rem; font-weight: 650; text-decoration: none; }
.hero-link:hover { background: #f0d9aa; }
.preview-note { color: #fff5df; font-size: .85rem; }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(255px, 28%); gap: clamp(1.35rem, 3.6vw, 2.7rem); align-items: start; padding-block: 2rem 3rem; scroll-margin-top: 1rem; }
.steps { display: grid; gap: 1.15rem; min-width: 0; }
.step { padding: clamp(1rem, 2.8vw, 1.6rem); border: 1px solid var(--line); background: #fbf8f1; }
.step-heading { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.step-number { display: grid; place-items: center; width: 1.85rem; aspect-ratio: 1; flex: none; color: var(--gold); border: 1px solid #bea272; background: #f1e7d5; font-weight: 700; font-size: .8rem; }
fieldset { min-width: 0; padding: 0; border: 0; }
.room-grid, .fields, .confirmation-panel dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.room-card, .both-rooms { position: relative; display: grid; background: #fffefa; border: 1px solid #cbbda7; cursor: pointer; }
.room-card { grid-template-rows: auto 1fr; }
.room-card:hover, .both-rooms:hover { border-color: var(--gold); background: #f7f0e2; }
.room-card:has(:checked), .both-rooms:has(:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); background: #f4e8d3; }
.room-card:has(:focus-visible), .both-rooms:has(:focus-visible) { outline: 2px solid #986924; outline-offset: 4px; }
.room-card input { position: absolute; top: .65rem; left: .65rem; z-index: 1; box-shadow: 0 0 0 4px #fffefa; border-radius: 50%; }
input[type='radio'], input[type='checkbox'] { accent-color: #795624; width: 1.1rem; height: 1.1rem; margin: .2rem; }
.room-art, .room-photo { width: 100%; height: clamp(115px, 14vw, 176px); }
.room-art { display: grid; place-items: center; position: relative; overflow: hidden; background: #e9dfcf; color: #4d3c26; }
.room-photo { display: block; object-fit: cover; object-position: center 62%; }
.arch { position: absolute; inset: 17% 20% -35%; border: 1px solid #9c805a; border-radius: 50% 50% 0 0; box-shadow: 0 0 0 9px #e9dfcf, 0 0 0 10px #bba383; }
.photo-label { z-index: 0; border: 1px solid #c7b69d; padding: .28rem .58rem; background: #f8f1e5; font-size: .75rem; }
.room-name { align-self: center; padding: .7rem .8rem; font-family: var(--heading); font-size: clamp(1rem, 2.05vw, 1.27rem); line-height: 1.2; }
.both-rooms { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; gap: .65rem; padding: .75rem; }
.both-rooms small { display: block; color: var(--muted); }

.time-fields { grid-template-columns: 1.2fr 1fr 1fr; }
.full-day-control { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; margin-block: .75rem; }
.step .full-day-control .field-note { margin: 0; }
.full-day-control .field-note:empty { display: none; }
.fields label { display: grid; align-content: start; gap: .35rem; font-weight: 600; font-size: .875rem; min-width: 0; }
.fields .wide { grid-column: 1 / -1; }
#special-request-form label[hidden] { display: none; }
.fields input, .fields select, .fields textarea { border: 1px solid #b9ad9b; border-radius: 2px; padding: .65rem; width: 100%; min-width: 0; min-height: 46px; background: #fffefa; color: var(--ink); font: 1rem var(--sans); }
.fields input:focus, .fields select:focus, .fields textarea:focus { border-color: var(--gold); }
.fields textarea { resize: vertical; }
.fields select:disabled { color: #655f54; background: #eee8de; }
.field-note, .section-note { color: var(--muted); font-size: .875rem; }
.step .field-note { margin-top: .65rem; }
.section-note { margin: -.25rem 0 1rem; }
.rules { margin: 1rem 0 .75rem; background: #efe8dd; padding: .75rem 1rem; }
.rules summary { cursor: pointer; font-weight: 600; }
.rules p { margin-top: .6rem; }
.agreement { display: flex; align-items: flex-start; gap: .45rem; cursor: pointer; }
.confirmation-panel, .sidebar { background: #fffefa; border: 1px solid var(--line); padding: clamp(.9rem, 2.4vw, 1.35rem); }
.confirmation-panel { margin-top: 1.25rem; }
.confirmation-panel h3 { margin: 0; font: 500 1.35rem var(--heading); }
.confirmation-panel dl { margin: .8rem 0 1rem; gap: .55rem .9rem; }
.confirmation-panel dt { font-size: .8rem; color: var(--muted); }
.confirmation-panel dd { overflow-wrap: anywhere; font-weight: 600; }
#confirm-reservation { background: #2c241b; color: #fff5e4; border-color: #2c241b; }
#confirm-reservation:disabled { background: #ede6da; color: #5d5347; border-color: #cbbda7; }
#reservation-result:not([hidden]) { margin-top: .55rem; }
#repeat-frequency { margin-bottom: .35rem; }
#repeat-end-label[hidden], #series-confirm-label[hidden] { display: none; }
[aria-label="Repeat reservation"] { margin-top: .75rem; }
#series-review { margin-bottom: .8rem; }
#series-summary:not(:empty) { margin-block: .55rem; }
#series-dates { max-height: 18rem; overflow: auto; padding-left: 1.5rem; }
#series-dates:empty { display: none; }
button { justify-self: start; padding: .65rem 1rem; border: 1px solid #c7bda9; color: #605747; background: #e8e0d3; font: 600 .9rem var(--sans); }
button:disabled { cursor: not-allowed; }
.sidebar { border-top: 3px solid #a68144; position: sticky; top: 1rem; }
.sidebar h2 { margin: 0 0 .55rem; font-size: clamp(1.4rem, 2.5vw, 1.75rem); }
.hours div { display: flex; justify-content: space-between; gap: .5rem; padding-block: .55rem; border-bottom: 1px solid var(--line); font-size: .875rem; }
.hours dd { text-align: right; white-space: nowrap; }
.sidebar .field-note { margin-top: .6rem; }
.booking-notes { margin-block: 1rem; padding-left: 1.15rem; font-size: .875rem; }
.availability { padding: .8rem; border-left: 3px solid #af8c51; background: #f3ecdf; font-size: .875rem; }
.availability p { margin-top: .25rem; }

.special-section { border-top: 1px solid var(--line); background: #efe8dd; }
.special-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem; padding-block: 2.5rem; }
.special-inner h2 { margin: 0 0 .65rem; }
.special-inner .field-note { margin-top: .6rem; }
footer { background: #222; color: #fffaf0; border-top: 2px solid #ac8950; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); align-items: start; justify-content: space-between; gap: 1.5rem; padding-block: 1.7rem; font-size: .9rem; }
.footer-inner strong { display: inline-block; margin-bottom: .25rem; }
.footer-building > a { display: inline-block; margin-top: .35rem; }
.footer-security a { overflow-wrap: anywhere; }
.footer-management { display: flex; align-items: center; gap: .75rem; max-width: 19.25rem; color: #ded5c7; font-size: .875rem; }
.footer-management > a { flex: none; }
.footer-management img { display: block; max-width: 100%; object-fit: contain; }
address { font-style: normal; }
footer a { color: #f1d5a1; text-underline-offset: .2em; }

@media (max-width: 820px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .shell { width: calc(100% - 2rem); }
  .masthead-inner, .reservation-site .masthead-inner { min-height: 66px; }
  .nav-current { display: none; }
  .special-inner, .time-fields { grid-template-columns: minmax(0, 1fr); }
  .hero {
    --hero-shade: linear-gradient(90deg, rgba(20, 17, 14, .75), rgba(20, 17, 14, .64) 81%, rgba(20, 17, 14, .42));
    background-position: center, 59% center;
  }
  .hero-inner { min-height: 0; padding-block: 1.8rem; }
  .special-link { padding-inline: .5rem; }
  .workspace { padding-top: 1.4rem; }
  .room-art, .room-photo { height: 105px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 370px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .room-grid { gap: .6rem; }
  .room-name { padding-inline: .55rem; }
}

.month-calendar { margin-bottom: 1rem; padding: clamp(.5rem, 2vw, .9rem); border: 1px solid var(--line); background: #fffefa; }
.month-calendar .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .55rem; }
.month-nav p { text-align: center; font: 500 clamp(1rem, 3vw, 1.4rem) var(--heading); }
.month-nav button { min-width: 2.75rem; min-height: 2.75rem; padding: 0; background: #f6eddf; color: var(--ink); font-size: 1.4rem; }
.month-calendar button:not(:disabled) { cursor: pointer; }
.month-calendar button:disabled { opacity: .65; }
.month-weekdays, .month-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.16rem, .6vw, .35rem); text-align: center; }
.month-weekdays { margin-bottom: .25rem; color: var(--muted); font-size: .72rem; font-weight: 600; }
.month-days button { display: grid; place-items: center; align-content: center; gap: .18rem; justify-self: stretch; min-width: 0; min-height: 2.75rem; padding: .2rem; background: #faf7f0; color: var(--ink); font-size: .875rem; }
.month-days button[data-state]:not(:disabled) { background: var(--state-paper); }
.month-days button[data-state]:not(:disabled):hover { border-color: var(--indicator); }
.month-days button[aria-pressed='true'][data-state]:not(:disabled) { border-color: #987034; background: #efdfbf; box-shadow: inset 0 0 0 1px #987034; }
.month-days button:focus-visible { outline-offset: -3px; }
.month-calendar [data-state='Available'] { --indicator: #487057; --state-paper: #eef4ee; }
.month-calendar [data-state='Limited availability'] { --indicator: #946719; --state-paper: #f9efd9; }
.month-calendar [data-state='Fully booked'] { --indicator: #8d5146; --state-paper: #f6eae5; }
.month-calendar [data-state='Closed'] { --indicator: #77716a; --state-paper: #efebe6; }
.month-days [data-state]::after, .month-legend li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--indicator); }
.month-legend { display: flex; flex-wrap: wrap; gap: .25rem .7rem; margin: .65rem 0 .25rem; padding: 0; list-style: none; color: var(--muted); font-size: .73rem; }
.month-legend li { display: inline-flex; align-items: center; gap: .3rem; }
#month-status { font-size: .8rem; }
.month-detail { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .65rem; }
.month-detail h4 { margin: 0 0 .45rem; font-size: .875rem; }
.month-headings { display: flex; flex-wrap: wrap; align-items: stretch; gap: .4rem; }
.month-headings > * { padding: .5rem .6rem; font-size: .8rem; line-height: 1.35; }
.month-free { color: #254d39; background: #eef4ee; border-color: #a4b6a7; min-height: 40px; }
.month-free:hover { background: #e2ede3; }
.month-busy { display: flex; align-items: center; color: #68453b; background: #f3ede8; border: 1px solid #e3d4cc; }
.month-calendar [data-state='Limited availability']::after,
.month-legend [data-state='Limited availability']::before { border-radius: 0; transform: rotate(45deg) scale(.85); }
.month-calendar [data-state='Fully booked']::after,
.month-legend [data-state='Fully booked']::before { border-radius: 1px; }
.month-calendar [data-state='Closed']::after,
.month-legend [data-state='Closed']::before { border: 1px solid var(--indicator); background: transparent; }
