/* Barrel Knot Retreat — styles */

:root {
  --color-bg: #f7f3ed;
  --color-bg-muted: #ede8df;
  --color-bg-dark: #1c1814;
  --color-surface: #ffffff;
  --color-text: #2a231c;
  --color-text-muted: #6b6258;
  --color-accent: #3d5a40;
  --color-accent-light: #5c7a5f;
  --color-accent-warm: #8b5e3c;
  --color-border: rgba(42, 35, 28, 0.12);
  --color-airbnb: #ff385c;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(28, 24, 20, 0.08);
  --shadow-lg: 0 12px 48px rgba(28, 24, 20, 0.12);
  --header-h: 72px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
  background: rgba(61, 90, 64, 0.08);
}

.nav-link--book {
  margin-left: 0.5rem;
  background: var(--color-accent);
  color: #fff;
}

.nav-link--book:hover,
.nav-link--book.active {
  background: var(--color-accent-light);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Sections */
.section {
  display: none;
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.section.active {
  display: block;
}

.section--hero {
  position: relative;
  display: none;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.section--hero.active {
  display: flex;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section--book {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-muted) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 18, 15, 0.62) 0%, rgba(61, 90, 64, 0.28) 55%, rgba(20, 18, 15, 0.45) 100%),
    url("../images/hero.jpg") center 35% / cover no-repeat;
  transform: scale(1.02);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  color: #fff;
  padding-block: 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.section:not(.section--hero) .eyebrow {
  color: var(--color-accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 32rem;
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-light);
}

.btn--block {
  width: 100%;
}

.btn--ghost-dark {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn--ghost-dark:hover {
  background: var(--color-bg-muted);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.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;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-text p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head--center {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-lead {
  color: var(--color-text-muted);
  margin: 0;
}

/* Cabin section */
.cabin-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.cabin-intro p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

/* Gallery */
.cabin-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(12, 10, 8, 0.72));
  opacity: 0.85;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card:hover::after {
  opacity: 1;
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.gallery-card--large {
  grid-column: 1 / 8;
  grid-row: span 3;
}

.gallery-card--wide {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(2) {
  grid-column: 8 / -1;
  grid-row: span 3;
}

.gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(3) {
  grid-column: 1 / 5;
  grid-row: span 2;
}

.gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(4) {
  grid-column: 5 / 9;
  grid-row: span 2;
}

.gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(5) {
  grid-column: 9 / -1;
  grid-row: span 2;
}

/* Amenities */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenity-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.amenity-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.amenity-card h3 {
  margin-bottom: 0.35rem;
}

.amenity-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Book section */
.booking-mode {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.book-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.book-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  width: fit-content;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.book-tab {
  border: none;
  background: transparent;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
}

.book-tab.active {
  background: var(--color-accent);
  color: #fff;
}

.book-panel {
  display: none;
}

.book-panel.active {
  display: block;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.book-card,
.pricing-card,
.booking-widget,
.trip-login-card,
.trip-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.book-card h3,
.trip-login-card h3,
.trip-card h4 {
  margin-top: 0;
}

.book-checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.book-checklist li {
  margin-bottom: 0.5rem;
}

/* Booking widget */
.booking-widget-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.date-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: none;
  background: var(--color-bg);
  text-align: left;
  cursor: default;
}

.date-field + .date-field {
  border-left: 1px solid var(--color-border);
}

.date-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.date-field-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.date-field-value.has-value,
.date-field.has-value .date-field-value {
  color: var(--color-text);
}

.guest-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 120px;
}

.guest-field-wrap label,
.booking-widget label,
.modal-card label,
.trip-login-card label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.guest-field-wrap select,
.modal-card input,
.modal-card select,
.modal-card textarea,
.trip-login-card input,
.message-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar-toolbar p {
  margin: 0;
  font-weight: 600;
}

.calendar-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.calendar-month-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding-bottom: 0.35rem;
}

.calendar-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.calendar-day--empty {
  visibility: hidden;
}

.calendar-day--disabled {
  color: #bbb;
  text-decoration: line-through;
  cursor: not-allowed;
}

.calendar-day--in-range {
  border-radius: 0;
  background: rgba(61, 90, 64, 0.12);
}

.calendar-day--check-in,
.calendar-day--check-out {
  background: var(--color-accent);
  color: #fff;
}

.calendar-day:not(.calendar-day--disabled):not(.calendar-day--empty):hover {
  border: 1px solid var(--color-text);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.legend-dot--blocked {
  background: #ddd;
}

.legend-dot--selected {
  background: var(--color-accent);
}

.link-button {
  margin-left: auto;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  text-decoration: underline;
}

.booking-notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #fff4e5;
  color: #8a4b00;
  font-size: 0.92rem;
}

/* Pricing card */
.pricing-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  margin-bottom: 1rem;
}

.pricing-card-rate {
  margin: 0 0 1rem;
}

.pricing-card-rate strong {
  font-family: var(--font-display);
  font-size: 2rem;
}

.price-summary-empty,
.price-summary-details {
  margin-bottom: 1rem;
}

.price-summary-empty p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

.price-row--total {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font-weight: 700;
}

.pricing-card-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Trip portal */
.trip-portal {
  max-width: 960px;
  margin: 0 auto;
}

.trip-login-card {
  max-width: 420px;
  margin: 0 auto;
}

.trip-login-card p {
  color: var(--color-text-muted);
}

.trip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.status-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(61, 90, 64, 0.12);
  color: var(--color-accent);
}

.status-badge[data-status="confirmed"] {
  background: rgba(61, 90, 64, 0.18);
}

.status-badge[data-status="cancelled"] {
  background: rgba(180, 60, 40, 0.12);
  color: #a33;
}

.trip-grid {
  display: grid;
  gap: 1rem;
}

.trip-facts {
  margin: 0;
}

.trip-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
}

.trip-facts dt {
  color: var(--color-text-muted);
}

.trip-facts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.trip-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.85rem;
  padding-bottom: 1rem;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.timeline-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.timeline-body,
.timeline-time,
.trip-empty {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.timeline-time {
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.message-thread {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 320px;
  overflow: auto;
  margin-bottom: 1rem;
  padding-right: 0.25rem;
}

.message-bubble {
  max-width: 85%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--color-bg-muted);
}

.message-bubble--guest {
  align-self: flex-end;
  background: rgba(61, 90, 64, 0.12);
}

.message-bubble--host {
  align-self: flex-start;
}

.message-bubble--system {
  align-self: center;
  max-width: 100%;
  background: transparent;
  border: 1px dashed var(--color-border);
}

.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.message-bubble p {
  margin: 0;
}

.message-form {
  display: grid;
  gap: 0.75rem;
}

.form-error {
  margin: 0;
  color: #a33;
  font-size: 0.85rem;
}

.label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0.55);
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-card--success {
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
}

.modal-subtitle {
  color: var(--color-text-muted);
}

.modal-card form {
  display: grid;
  gap: 0.85rem;
}

.confirmation-code {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0.5rem 0 1rem;
}

.modal-copy {
  color: var(--color-text-muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hidden {
  display: none !important;
}

/* Location */
.location-address {
  font-style: normal;
  margin: 1.5rem 0;
  line-height: 1.7;
}

.link-arrow {
  font-weight: 600;
  color: var(--color-accent);
}

.link-arrow:hover {
  text-decoration: underline;
}

.location-photo {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center 40%;
}

.location-photo-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: rgba(20, 18, 15, 0.55);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-logo {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .book-layout {
    grid-template-columns: 1fr;
  }

  .book-sidebar {
    order: 2;
  }

  .book-main {
    order: 1;
  }

  .pricing-card {
    position: static;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .booking-widget-header {
    grid-template-columns: 1fr;
  }

  .cabin-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-card--large {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(2) {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(3),
  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(4),
  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(5) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-card--wide {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link--book {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cabin-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-card--large,
  .gallery-card--wide,
  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide) {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(3),
  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(4),
  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(5) {
    grid-column: auto;
    grid-row: span 2;
  }

  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(4),
  .gallery-card:not(.gallery-card--large):not(.gallery-card--wide):nth-of-type(5) {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
    transform: none;
  }

  .gallery-card img {
    transition: none;
  }
}
