:root {
  --navy: #182640;
  --navy-2: #243654;
  --ivory: #f3eee5;
  --paper: #fbfaf7;
  --copper: #a36b3e;
  --ink: #303846;
  --muted: #6e746f;
  --line: #d7d0c4;
  --white: #fff;
  --success: #2f6b55;
  --danger: #9a3f3f;
  --warning: #9a6b17;
  --shadow: 0 24px 80px rgba(24, 38, 64, .13);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.6; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
.skip-link { position: absolute; left: -9999px; top: .5rem; background: white; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; }

.site-header { height: 84px; padding: 0 clamp(1.25rem, 4vw, 5rem); background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; z-index: 5; }
.wordmark { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; white-space: nowrap; }
.wordmark-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.55); font-family: "Libre Caslon Display", serif; letter-spacing: 0; font-size: .95rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .85rem; }
nav a:hover { color: white; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.5rem; border: 1px solid var(--navy); background: var(--navy); color: white; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: .75rem; transition: transform .2s, background .2s; }
.button:hover:not(:disabled) { background: var(--navy-2); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: .55rem 1rem; }
.button-outline { background: transparent; border-color: rgba(255,255,255,.45); }
.text-link { text-underline-offset: .3rem; text-decoration-thickness: 1px; }

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 47% 53%; grid-template-rows: 1fr auto; background: var(--ivory); }
.hero-copy { padding: clamp(4rem, 9vw, 8rem) clamp(2rem, 7vw, 7rem); align-self: center; }
.eyebrow { color: var(--copper); text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 600; margin: 0 0 1.3rem; }
h1, h2 { color: var(--navy); font-family: "Libre Caslon Display", serif; font-weight: 400; line-height: .98; margin: 0; }
h1 { font-size: clamp(3.7rem, 6.5vw, 7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.75rem, 5vw, 5rem); letter-spacing: -.025em; }
h3 { color: var(--navy); margin: .75rem 0 .45rem; }
.hero-intro { max-width: 38rem; margin: 2rem 0; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.brand-visual { min-height: 630px; position: relative; overflow: hidden; background: var(--navy); }
.brand-visual::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.16); transform: rotate(-4deg); }
.brand-visual::after { content: ""; position: absolute; inset: 22% 16%; border: 1px solid rgba(255,255,255,.12); transform: rotate(7deg); }
.brand-visual-mark { position: absolute; right: -2.5rem; bottom: -8rem; color: rgba(255,255,255,.055); font: 400 clamp(16rem, 34vw, 34rem)/1 "Libre Caslon Display", serif; }
.brand-line { position: absolute; display: block; height: 1px; background: rgba(255,255,255,.24); transform-origin: left center; }
.brand-line-one { width: 48%; left: 10%; top: 26%; transform: rotate(32deg); }
.brand-line-two { width: 62%; left: 28%; top: 55%; transform: rotate(-26deg); }
.brand-line-three { width: 34%; left: 16%; bottom: 18%; transform: rotate(12deg); }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.6rem clamp(2rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.hero-facts div { display: flex; gap: 1rem; align-items: baseline; border-right: 1px solid var(--line); padding-right: 2rem; }
.hero-facts div:last-child { border: 0; }
.hero-facts strong { color: var(--navy); font-family: "Libre Caslon Display", serif; font-size: 2.25rem; font-weight: 400; }
.hero-facts span { font-size: .85rem; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 7rem); }
.intro { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.section-number { color: var(--copper); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; }
.intro-copy p:last-child { max-width: 48rem; font-size: 1.1rem; }
.intro-note { padding-top: 4rem; }
.rule { display: block; width: 3rem; border-top: 1px solid var(--copper); margin-bottom: 1.2rem; }
.portfolio-story { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(3rem, 7vw, 8rem); background: var(--navy); color: rgba(255,255,255,.76); align-items: center; overflow: hidden; }
.portfolio-story-copy h2 { max-width: 58rem; color: white; }
.portfolio-story-copy > p:last-of-type { max-width: 48rem; font-size: 1.08rem; }
.brand-sequence { align-self: stretch; display: grid; grid-template-rows: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.2); transform: rotate(3deg); }
.brand-sequence span { display: grid; place-items: center; min-height: 135px; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.28); font: 400 clamp(2.5rem, 5vw, 5rem)/1 "Libre Caslon Display", serif; }
.brand-sequence span:last-child { border-bottom: 0; }
.mini-specs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.25); }
.mini-specs span { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: .85rem; }
.amenities { background: var(--ivory); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; margin-bottom: 5rem; }
.section-heading h2 { max-width: 58rem; }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.amenity-grid article { padding: 2rem; min-height: 220px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.amenity-grid article > span { color: var(--copper); font-family: "Libre Caslon Display", serif; font-size: 1.5rem; }

.booking-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 7vw, 7rem); background: var(--paper); }
.booking-intro { position: sticky; top: 2rem; align-self: start; }
.booking-intro > p:nth-of-type(2) { max-width: 34rem; font-size: 1.08rem; }
.contact-details { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-details p { display: grid; grid-template-columns: 7rem 1fr; margin: .85rem 0; }
.contact-details span { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 600; color: var(--copper); }
.booking-card { background: white; padding: clamp(1.5rem, 4vw, 3.5rem); box-shadow: var(--shadow); }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-step { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; color: var(--navy); font-family: "Libre Caslon Display", serif; font-size: 1.5rem; margin: 1rem 0 .2rem; }
.form-step:first-child { margin-top: 0; }
.form-step > span { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--copper); color: var(--copper); border-radius: 50%; font-family: "DM Sans", sans-serif; font-size: .75rem; }
.form-step strong { font-weight: 400; display: block; }
.form-step small { display: block; color: var(--muted); font: 400 .75rem/1.35 "DM Sans", sans-serif; }
.field { display: grid; gap: .4rem; color: var(--navy); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.field-full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #d7d1c7; border-radius: 0; background: #fff; padding: .85rem .9rem; color: var(--ink); outline: none; text-transform: none; letter-spacing: 0; font-weight: 400; }
input:focus, select:focus, textarea:focus, button:focus-visible { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(163,107,62,.13); outline: none; }
.room-type-list { display: grid; gap: .8rem; }
.room-type-card { display: grid; grid-template-columns: minmax(0,1fr) auto 92px; gap: 1.2rem; align-items: center; border: 1px solid var(--line); padding: 1.25rem; }
.room-type-card h3 { font-family: "Libre Caslon Display", serif; font-size: 1.65rem; font-weight: 400; margin: 0; }
.room-type-card p { margin: .25rem 0 0; color: var(--muted); font-size: .8rem; }
.room-type-kicker { color: var(--copper) !important; text-transform: uppercase; letter-spacing: .13em; font-size: .64rem !important; }
.room-rate { text-align: right; border-right: 1px solid var(--line); padding-right: 1.2rem; }
.room-rate strong { display: block; color: var(--navy); }
.room-rate span { color: var(--muted); font-size: .7rem; }
.room-type-card label { color: var(--navy); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.room-type-card select { margin-top: .3rem; }
.empty-state { color: var(--muted); margin: 0; padding: 1rem; border: 1px dashed var(--line); }
.date-picker-trigger { display: flex; justify-content: space-between; align-items: center; gap: 2rem; width: 100%; text-align: left; border: 1px solid var(--navy); background: var(--ivory); color: var(--navy); padding: 1.15rem 1.25rem; }
.date-picker-trigger strong, .date-picker-trigger small { display: block; }
.date-picker-trigger small { color: var(--muted); margin-top: .2rem; }
.date-picker-trigger > span:last-child { color: var(--copper); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.guest-details { display: grid; gap: 1.2rem; padding-top: .5rem; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.booking-message { margin-top: 1rem; padding: 0; }
.booking-message.success, .booking-message.error { padding: 1rem; border-left: 3px solid; }
.booking-message.success { color: var(--success); background: #edf6f1; }
.booking-message.error { color: var(--danger); background: #fbefef; }

main + footer { background: var(--navy); color: white; padding: 4rem clamp(1.5rem, 7vw, 7rem) 2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
main + footer p { color: rgba(255,255,255,.68); margin: 0; }
main + footer > div:nth-of-type(2) { display: flex; justify-content: flex-end; gap: 2rem; }
main + footer small { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.55); }

/* Guest availability calendar */
.calendar-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1rem; }
.calendar-backdrop { position: absolute; inset: 0; border: 0; background: rgba(10,18,33,.72); }
.calendar-dialog { position: relative; width: min(1180px, 96vw); max-height: 94vh; overflow: auto; background: var(--paper); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2.5rem); }
.calendar-dialog-header { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.calendar-dialog-header h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--navy); font-size: 1.7rem; }
.calendar-selection { display: flex; justify-content: space-between; gap: 2rem; margin: 1.5rem 0; padding: 1rem; border-left: 3px solid var(--copper); background: var(--ivory); }
.calendar-selection span { color: var(--muted); font-size: .85rem; }
.calendar-navigation { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 1rem; }
.calendar-navigation button { height: 40px; border: 1px solid var(--line); background: white; }
.calendar-navigation p { text-align: center; margin: 0; color: var(--muted); font-size: .78rem; }
.calendar-months { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.2rem; }
.calendar-month h3 { font-family: "Libre Caslon Display", serif; font-size: 1.7rem; font-weight: 400; margin: 0 0 1rem; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays span { padding: .45rem; color: var(--muted); font-size: .68rem; text-transform: uppercase; text-align: center; }
.calendar-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.calendar-blank { min-height: 88px; background: #f3f1ec; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-day { min-width: 0; min-height: 88px; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; color: var(--navy); padding: .55rem; text-align: left; }
.calendar-day:hover:not(:disabled) { background: #f5eee6; }
.calendar-day.unavailable { background: #f1f0ed; color: #9a9a96; }
.calendar-day.in-range { background: #e9dfd2; }
.calendar-day.range-start, .calendar-day.range-end { background: var(--navy); color: white; }
.day-number { font-weight: 600; }
.day-rate { margin-top: auto; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.day-rate::before { content: "PKR "; font-size: .58rem; font-weight: 400; }
.calendar-day.unavailable .day-rate::before { content: ""; }
.day-status { font-size: .59rem; text-transform: uppercase; letter-spacing: .05em; }
.calendar-loading, .calendar-error { grid-column: 1 / -1; padding: 3rem; text-align: center; color: var(--muted); }
.calendar-error { color: var(--danger); }
.calendar-legend { display: flex; gap: 1.2rem; margin: 1.2rem 0; color: var(--muted); font-size: .72rem; }
.calendar-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.calendar-legend i { width: 12px; height: 12px; border: 1px solid var(--line); background: white; }
.calendar-legend .legend-unavailable { background: #f1f0ed; }
.calendar-legend .legend-range { background: var(--navy); border-color: var(--navy); }
.calendar-dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.calendar-dialog-footer strong, .calendar-dialog-footer small { display: block; }
.calendar-dialog-footer small { color: var(--muted); }

/* Admin */
.admin-body { background: #f1f0ec; min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 100vh; max-width: 100%; overflow: hidden; }
.admin-sidebar { min-width: 0; background: var(--navy); color: white; padding: 2rem; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-sidebar .wordmark { margin-bottom: 4rem; }
.admin-nav { display: grid; gap: .35rem; }
.admin-nav button { text-align: left; padding: .85rem 1rem; background: transparent; border: 0; color: rgba(255,255,255,.65); }
.admin-nav button.active, .admin-nav button:hover { background: rgba(255,255,255,.08); color: white; }
.admin-sidebar small { margin-top: auto; color: rgba(255,255,255,.45); }
.admin-main { padding: 2.5rem clamp(1.5rem, 4vw, 4rem); min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.admin-top .eyebrow { margin-bottom: .5rem; }
.admin-top h1 { font-size: clamp(2.5rem, 4vw, 4rem); }
.admin-top > div:last-child { display: flex; align-items: center; gap: 1rem; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card, .inventory-card { background: white; box-shadow: 0 8px 30px rgba(24,38,64,.06); }
.chip { border: 1px solid var(--line); background: white; padding: .45rem .8rem; color: var(--ink); }
.chip.active { background: var(--navy); color: white; border-color: var(--navy); }
.admin-filters { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.availability-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 1.2rem 1.5rem; margin-bottom: 1rem; }
.availability-toolbar .field { width: min(420px, 100%); }
.availability-toolbar-actions { display: flex; align-items: flex-end; gap: 1rem; }
.month-switcher { display: flex; align-items: center; gap: 1rem; }
.month-switcher button { width: 40px; height: 40px; background: white; border: 1px solid var(--line); }
.month-switcher strong { min-width: 150px; text-align: center; color: var(--navy); }
.live-inventory-status { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3e7b59; box-shadow: 0 0 0 4px rgba(62, 123, 89, .12); }
.live-inventory-status .chip { margin-left: .25rem; }
.availability-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 1rem; align-items: start; min-width: 0; }
.availability-layout > div, .availability-side { min-width: 0; }
.availability-side { display: grid; gap: 1rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: .75rem; }
.metric-grid article { background: white; padding: 1rem 1.2rem; border-top: 3px solid var(--copper); }
.metric-grid span { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.metric-grid strong { display: block; color: var(--navy); font-family: "Libre Caslon Display", serif; font-size: 2.2rem; font-weight: 400; }
.admin-calendar-card { min-width: 0; max-width: 100%; padding: 1rem; overflow: hidden; }
.admin-calendar-weekdays, .admin-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; min-width: 0; }
.admin-calendar-weekdays span { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; padding: .5rem; }
.admin-calendar-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.admin-calendar-blank, .admin-calendar-day { min-height: 98px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-calendar-blank { background: #f2f0ec; }
.admin-calendar-day { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .25rem; padding: clamp(.35rem, .7vw, .65rem); background: white; color: var(--ink); }
.admin-calendar-day strong { color: var(--success); margin-top: auto; font-size: clamp(.68rem, .82vw, .84rem); line-height: 1.2; }
.admin-calendar-day small { color: var(--muted); font-size: clamp(.55rem, .62vw, .65rem); line-height: 1.2; }
.admin-calendar-day.tight strong { color: var(--warning); }
.admin-calendar-day.full strong { color: var(--danger); }
.admin-calendar-day.selected { box-shadow: inset 0 0 0 2px var(--navy); background: #f7f3ed; }
.day-breakdown { margin-top: .75rem; padding: 1.5rem; }
.day-breakdown > p { margin: 0; color: var(--muted); }
.day-breakdown-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 1rem; }
.day-breakdown-header .eyebrow { margin-bottom: .35rem; }
.day-breakdown-header h2 { font-size: 2.2rem; }
.day-breakdown-header > strong { color: var(--success); }
.type-breakdown { display: grid; gap: .6rem; }
.type-breakdown article { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding-top: .7rem; border-top: 1px solid #ece8e1; }
.type-breakdown strong, .type-breakdown small { display: block; }
.type-breakdown small { color: var(--muted); }
.type-breakdown p { margin: 0; }
.type-breakdown p b { color: var(--success); font-size: 1.25rem; }
.type-breakdown p span { color: var(--muted); font-size: .72rem; margin-left: .5rem; }
.inventory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inventory-card { padding: 1.5rem; }
.inventory-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.admin-help { color: var(--muted); font-size: .84rem; }
.compact-form { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.inventory-list { display: grid; gap: .65rem; }
.inventory-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #ece8e1; padding-top: .8rem; }
.inventory-row p { margin: 0; }
.inventory-row small { color: var(--muted); display: block; }
.inventory-row button { border: 1px solid var(--line); background: white; padding: .4rem .6rem; }
.hold-row { align-items: flex-start; }
.room-type-manager { margin-top: 1rem; display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.room-type-manager-list { display: grid; gap: .6rem; }
.room-type-edit { display: grid; grid-template-columns: minmax(180px,1fr) 130px 170px auto; gap: .8rem; align-items: end; border-top: 1px solid var(--line); padding-top: .8rem; }
.room-type-edit strong, .room-type-edit small { display: block; }
.room-type-edit small { color: var(--muted); }
.room-type-edit label { color: var(--navy); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.room-type-edit input { margin-top: .25rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 950px; }
th, td { text-align: left; padding: 1rem; border-bottom: 1px solid #e9e6e0; vertical-align: top; font-size: .84rem; }
th { color: #767676; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.status { display: inline-block; padding: .28rem .55rem; background: #eee; border-radius: 2rem; text-transform: capitalize; }
.status.pending { background: #fff1cf; color: #815f09; }
.status.confirmed { background: #e0f1e8; color: #286346; }
.status.declined, .status.cancelled { background: #f5e3e3; color: #8c3333; }
.table-actions { display: flex; gap: .4rem; }
.table-actions button { border: 1px solid var(--line); background: white; padding: .35rem .55rem; }
.login-layer { position: fixed; inset: 0; background: var(--navy); z-index: 100; display: grid; place-items: center; padding: 1.5rem; }
.login-card { width: min(430px, 100%); background: white; padding: 2.5rem; }
.login-card h1 { font-size: 3rem; margin-bottom: 1rem; }
.login-card form { display: grid; gap: 1rem; }
.login-card .wordmark { color: var(--navy); margin-bottom: 2rem; }
.login-card .wordmark-mark { border-color: var(--navy); }

@media (max-width: 1120px) {
  .calendar-day { min-height: 78px; }
  .day-status { display: none; }
  .availability-layout { grid-template-columns: 1fr; }
  .availability-side { grid-template-columns: 1fr 1fr; }
  .room-type-manager { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .brand-visual { min-height: 520px; }
  .hero-facts { grid-column: 1; }
  .intro { grid-template-columns: 1fr; }
  .intro-note { padding-top: 0; }
  .portfolio-story { grid-template-columns: 1fr; }
  .brand-sequence { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; transform: none; }
  .brand-sequence span { min-height: 120px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 0; }
  .brand-sequence span:last-child { border-right: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .booking-section { grid-template-columns: 1fr; }
  .booking-intro { position: static; }
  .calendar-months { grid-template-columns: 1fr; }
  .calendar-months .calendar-month:nth-child(2) { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; gap: 1rem; padding: 1rem; overflow: hidden; }
  .admin-sidebar .wordmark { margin: 0; }
  .admin-nav { display: flex; margin-left: auto; min-width: 0; max-width: 100%; }
  .admin-sidebar small { display: none; }
  .inventory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 72px; padding: 0 1rem; }
  .site-header .button { display: none; }
  .hero { min-height: auto; }
  .hero-copy { padding: 4rem 1.25rem; }
  .brand-visual { min-height: 380px; }
  h1 { font-size: 3.35rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 1rem; }
  .hero-facts { padding: 1.2rem; grid-template-columns: 1fr; }
  .hero-facts div { border-right: 0; border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .hero-facts div:last-child { border-bottom: 0; }
  .amenity-grid { grid-template-columns: 1fr; }
  .booking-form, .details-grid { grid-template-columns: 1fr; }
  .field, .field-full { grid-column: 1; }
  .contact-details p { grid-template-columns: 1fr; }
  .room-type-card { grid-template-columns: 1fr 86px; }
  .room-rate { grid-column: 1; grid-row: 2; text-align: left; border: 0; padding: 0; }
  .room-type-card label { grid-column: 2; grid-row: 1 / 3; }
  main + footer { grid-template-columns: 1fr; }
  main + footer > div:nth-of-type(2) { justify-content: flex-start; flex-wrap: wrap; }
  main + footer small { grid-column: 1; }
  .calendar-dialog { width: 100%; max-height: 100vh; padding: 1rem; }
  .calendar-dialog-header h2 { font-size: 2.4rem; }
  .calendar-selection { flex-direction: column; gap: .2rem; }
  .calendar-day, .calendar-blank { min-height: 66px; }
  .calendar-day { padding: .35rem; }
  .day-rate { font-size: .56rem; letter-spacing: -.02em; }
  .day-rate::before { content: ""; }
  .calendar-dialog-footer { align-items: stretch; flex-direction: column; }
  .calendar-dialog-footer .button { width: 100%; }
  .admin-sidebar { align-items: flex-start; flex-wrap: wrap; }
  .admin-nav { order: 3; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .admin-nav button { min-width: 0; padding: .7rem .3rem; white-space: normal; text-align: center; font-size: .68rem; line-height: 1.25; }
  .admin-main { padding: 1.5rem 1rem; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .admin-top > div:last-child { width: 100%; justify-content: space-between; }
  .availability-toolbar { align-items: stretch; flex-direction: column; }
  .availability-toolbar-actions { align-items: stretch; flex-direction: column; }
  .month-switcher { justify-content: space-between; }
  .live-inventory-status { justify-content: space-between; }
  .admin-calendar-card { padding: .4rem; }
  .admin-calendar-weekdays span { padding: .35rem .05rem; font-size: .56rem; }
  .admin-calendar-blank, .admin-calendar-day { min-height: 72px; }
  .admin-calendar-day { align-items: center; padding: .3rem .1rem; text-align: center; }
  .admin-calendar-day > span { font-size: .72rem; }
  .admin-calendar-day strong { font-size: .58rem; }
  .admin-calendar-day small, .admin-calendar-day .calendar-total { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .availability-side { grid-template-columns: 1fr; }
  .day-breakdown-header { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .type-breakdown article { grid-template-columns: 1fr; }
  .room-type-edit { grid-template-columns: 1fr 1fr; }
  .room-type-edit > div { grid-column: 1 / -1; }
}
