/* ==========================================================================
   Beach Retreat Guest Guide — tablet kiosk stylesheet
   "Soft Ocean" palette — sea blue, seafoam, warm sand accent, sky-tinted
   linen. Portrait-tablet first, left rail navigation.
   ========================================================================== */

:root {
  --gg-bg: #eef6f9;
  --gg-bg-alt: #f7fbfd;
  --gg-surface: #ffffff;
  --gg-ink: #1c313c;
  --gg-ink-soft: #57717c;
  --gg-ink-faint: #94aab2;

  --gg-clay: #3f8aa8;
  --gg-clay-dark: #2b657d;
  --gg-clay-light: #dcedf2;

  --gg-gold: #e8c473;
  --gg-gold-dark: #b99043;
  --gg-gold-light: #faf1da;

  --gg-sage: #63aca6;
  --gg-sage-dark: #3d827c;
  --gg-sage-light: #e0f2f0;

  --gg-plum: #935337;

  --gg-border: #d8e9ee;
  --gg-shadow-sm: 0 6px 16px rgba(16, 45, 61, 0.09);
  --gg-shadow-md: 0 20px 42px rgba(16, 45, 61, 0.16);
  --gg-radius-lg: 28px;
  --gg-radius-md: 20px;
  --gg-radius-sm: 13px;

  --gg-sidebar-w: 248px;
  --gg-sidebar-w-rail: 96px;
}

* {
  box-sizing: border-box;
}

html,
body.guide-body {
  height: 100%;
  margin: 0;
  overscroll-behavior: none;
}

body.guide-body {
  background: var(--gg-bg);
  color: var(--gg-ink);
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.gg-heading {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: none;
}

button {
  font-family: inherit;
}

/* ---------------------------------------------------------------------- */
/* App shell                                                              */
/* ---------------------------------------------------------------------- */

.app-shell {
  display: flex;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

/* ---------------------------------------------------------------------- */
/* Sidebar                                                                */
/* ---------------------------------------------------------------------- */

.app-sidebar {
  background: linear-gradient(195deg, #123244 0%, #0d2733 55%, #081b22 100%);
  color: #e9f4f6;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  transition: width 0.28s ease;
  width: var(--gg-sidebar-w);
  z-index: 5;
}

.app-sidebar::before {
  animation: gg-drift 24s ease-in-out infinite;
  background:
    radial-gradient(circle at 18% 10%, rgba(232, 196, 115, 0.2), transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(63, 138, 168, 0.28), transparent 46%);
  content: "";
  inset: -20% -20%;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.sidebar-brand {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  padding: 1.75rem 1.4rem 1.15rem;
  position: relative;
  z-index: 1;
}

.sidebar-brand-mark {
  align-items: center;
  background: linear-gradient(150deg, var(--gg-gold), var(--gg-clay));
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(232, 196, 115, 0.32);
  display: flex;
  flex-shrink: 0;
  font-size: 1.3rem;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.sidebar-brand-text {
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.sidebar-brand-title {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  white-space: nowrap;
}

.sidebar-brand-sub {
  color: rgba(233, 244, 246, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.22rem;
  overflow-y: auto;
  padding: 0.5rem 0.9rem 1rem;
  position: relative;
  z-index: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sidebar-nav::-webkit-scrollbar {
  display: none;
  width: 0;
}

.sidebar-nav-item {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 16px;
  color: rgba(233, 244, 246, 0.8);
  cursor: pointer;
  display: flex;
  gap: 0.9rem;
  padding: 0.72rem 0.85rem;
  position: relative;
  text-align: left;
  transition: color 0.18s ease, transform 0.18s ease;
  width: 100%;
}

.sidebar-nav-item::before {
  border-radius: inherit;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 196, 115, 0.38) 0%, rgba(63, 138, 168, 0.24) 55%, rgba(63, 138, 168, 0) 100%);
  opacity: 0;
  position: absolute;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.sidebar-nav-item:hover::before {
  opacity: 0.55;
}

.sidebar-nav-item:hover {
  color: #fff;
}

.sidebar-nav-item:active {
  transform: scale(0.98);
}

.sidebar-nav-item .nav-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  display: flex;
  flex-shrink: 0;
  font-size: 1.18rem;
  height: 42px;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease;
  width: 42px;
}

.sidebar-nav-item .nav-label {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-nav-item.active {
  color: #fff;
}

.sidebar-nav-item.active::before {
  opacity: 1;
}

.sidebar-nav-item.active .nav-icon {
  background: linear-gradient(150deg, var(--gg-gold), var(--gg-clay));
  color: #0d2733;
}

.sidebar-collapse-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 10px;
  color: rgba(233, 244, 246, 0.9);
  display: none;
  height: 36px;
  justify-content: center;
  margin-left: auto;
  width: 36px;
}

/* ---------------------------------------------------------------------- */
/* Main content                                                           */
/* ---------------------------------------------------------------------- */

.app-main {
  background: var(--gg-bg);
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.app-topbar {
  align-items: center;
  background: var(--gg-bg-alt);
  border-bottom: 1px solid var(--gg-border);
  display: none;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.app-topbar-title {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.menu-toggle-btn {
  align-items: center;
  background: var(--gg-gold-light);
  border: none;
  border-radius: 10px;
  color: var(--gg-clay-dark);
  display: flex;
  font-size: 1.05rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.panels {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.panel {
  height: 100%;
  inset: 0;
  opacity: 0;
  overflow-y: auto;
  padding: 2.2rem 2.6rem 2.6rem;
  pointer-events: none;
  position: absolute;
  transform: translateY(14px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  width: 100%;
}

.panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.panel-inner {
  animation: gg-rise 0.5s ease both;
  margin: 0 auto;
  max-width: 820px;
}

@keyframes gg-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------------- */
/* Hero — cycling California beach photography, full-bleed at panel top   */
/* ---------------------------------------------------------------------- */

.hero-carousel {
  height: 380px;
  margin: -2.2rem -2.6rem 2.2rem;
  overflow: hidden;
  position: relative;
  width: calc(100% + 5.2rem);
}

.hero-slide {
  animation: gg-hero-cycle 27s infinite;
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 9s;
}

.hero-slide:nth-child(3) {
  animation-delay: 18s;
}

@keyframes gg-hero-cycle {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  29% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-scrim {
  background: linear-gradient(0deg, rgba(8, 27, 34, 0.78) 0%, rgba(8, 27, 34, 0.15) 46%, rgba(8, 27, 34, 0.05) 100%);
  inset: 0;
  position: absolute;
}

.hero-copy {
  bottom: 1.9rem;
  color: #f2f9fb;
  left: 2rem;
  position: absolute;
  right: 2rem;
}

.hero-kicker {
  align-items: center;
  background: rgba(8, 27, 34, 0.42);
  border: 1px solid rgba(232, 196, 115, 0.65);
  border-radius: 999px;
  display: inline-flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.85rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1;
  margin: 0 0 0.35rem;
  text-shadow: 0 4px 18px rgba(4, 16, 21, 0.45);
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  max-width: 46ch;
  text-shadow: 0 2px 10px rgba(4, 16, 21, 0.4);
}

/* Big icon medallion beside the panel title */

.panel-head {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  margin-bottom: 0.9rem;
}

.panel-icon-medallion {
  align-items: center;
  background: linear-gradient(150deg, var(--gg-gold-light), var(--gg-clay-light));
  border: 1px solid var(--gg-border);
  border-radius: 22px;
  box-shadow: var(--gg-shadow-sm);
  color: var(--gg-clay-dark);
  display: flex;
  flex-shrink: 0;
  font-size: 1.9rem;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.panel-eyebrow {
  align-items: center;
  color: var(--gg-sage-dark);
  display: flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.panel-title {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  margin: 0;
}

.panel-lede {
  color: var(--gg-ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1.8rem;
  max-width: 62ch;
}

/* Photo slot — placeholder for real property/local photography */

.photo-slot {
  align-items: center;
  background:
    linear-gradient(150deg, rgba(232, 196, 115, 0.16), rgba(63, 138, 168, 0.1)),
    repeating-linear-gradient(135deg, rgba(63, 138, 168, 0.08), rgba(63, 138, 168, 0.08) 10px, transparent 10px, transparent 20px);
  border: 1.5px dashed #7fb2c7;
  border-radius: var(--gg-radius-lg);
  color: var(--gg-clay-dark);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.8rem;
  min-height: 220px;
  padding: 1.5rem;
  text-align: center;
}

.photo-slot.photo-slot-sm {
  min-height: 130px;
}

.photo-slot-icon {
  font-size: 2.1rem;
  opacity: 0.75;
}

.photo-slot-caption {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

/* Real photography pulled from the guest guide doc */

.section-photo {
  border-radius: var(--gg-radius-lg);
  display: block;
  height: 220px;
  margin-bottom: 1.8rem;
  object-fit: cover;
  width: 100%;
}

.section-photo.section-photo-sm {
  height: 150px;
}

.snapshot-photo {
  border-radius: var(--gg-radius-md);
  box-shadow: var(--gg-shadow-sm);
  display: block;
  height: 170px;
  margin-bottom: 1rem;
  max-width: 320px;
  object-fit: cover;
  width: 100%;
}

.callout-media {
  align-items: center;
  display: flex;
  gap: 1.1rem;
}

.callout-media img {
  border-radius: var(--gg-radius-sm);
  box-shadow: var(--gg-shadow-sm);
  flex-shrink: 0;
  height: 92px;
  object-fit: cover;
  width: 140px;
}

@media (max-width: 480px) {
  .callout-media {
    flex-direction: column;
  }

  .callout-media img {
    height: 140px;
    width: 100%;
  }
}

/* Weather widget — current conditions + short forecast, via Open-Meteo */

.weather-card {
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-md);
  box-shadow: var(--gg-shadow-sm);
  padding: 1.3rem 1.4rem;
}

.weather-current {
  align-items: center;
  display: flex;
  gap: 1.1rem;
}

.weather-current-icon {
  color: var(--gg-clay);
  flex-shrink: 0;
  font-size: 3.1rem;
  line-height: 1;
}

.weather-current-temp {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.weather-current-details {
  min-width: 0;
}

.weather-current-desc {
  font-size: 0.98rem;
  font-weight: 600;
}

.weather-current-sub {
  color: var(--gg-ink-soft);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.weather-status {
  align-items: center;
  color: var(--gg-ink-soft);
  display: flex;
  font-size: 0.9rem;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.weather-status .spin {
  animation: gg-spin 1s linear infinite;
}

@keyframes gg-spin {
  to {
    transform: rotate(360deg);
  }
}

.weather-forecast {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1.15rem;
}

.weather-day {
  background: var(--gg-bg-alt);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-sm);
  padding: 0.8rem 0.5rem;
  text-align: center;
}

.weather-day-name {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weather-day-icon {
  color: var(--gg-sage);
  font-size: 1.5rem;
  margin: 0.4rem 0;
}

.weather-day-high {
  font-weight: 700;
}

.weather-day-low {
  color: var(--gg-ink-soft);
}

.weather-day-temps {
  font-size: 0.86rem;
}

.section-block {
  margin-bottom: 2.4rem;
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-title {
  align-items: center;
  color: var(--gg-sage-dark);
  display: flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.section-title i {
  color: var(--gg-clay);
  font-size: 1rem;
}

/* Cards & grids */

.card-grid {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-md);
  box-shadow: var(--gg-shadow-sm);
  overflow: hidden;
  padding: 1.3rem 1.35rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.info-card:hover {
  box-shadow: var(--gg-shadow-md);
  transform: translateY(-3px);
}

.info-card-photo {
  background: var(--gg-bg-alt);
  display: block;
  height: 150px;
  margin: -1.3rem -1.35rem 1rem;
  object-fit: cover;
  width: calc(100% + 2.7rem);
}

.info-card-icon {
  align-items: center;
  background: linear-gradient(150deg, var(--gg-gold-light), var(--gg-clay-light));
  border-radius: 16px;
  color: var(--gg-clay-dark);
  display: flex;
  font-size: 1.55rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 0.85rem;
  width: 58px;
}

.info-card:nth-of-type(3n+2) .info-card-icon {
  background: linear-gradient(150deg, var(--gg-sage-light), var(--gg-gold-light));
  color: var(--gg-sage-dark);
}

.info-card:nth-of-type(3n+3) .info-card-icon {
  background: linear-gradient(150deg, var(--gg-clay-light), var(--gg-sage-light));
  color: var(--gg-clay-dark);
}

.info-card h4 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.info-card p {
  color: var(--gg-ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.info-card ul {
  color: var(--gg-ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 1.1rem;
}

/* Highlight / callout panel */

.callout {
  background: var(--gg-sage-light);
  border-radius: var(--gg-radius-md);
  padding: 1.15rem 1.35rem;
}

.callout.callout-warm {
  background: var(--gg-clay-light);
}

.callout-title {
  align-items: center;
  color: var(--gg-sage-dark);
  display: flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.callout.callout-warm .callout-title {
  color: var(--gg-clay-dark);
}

.callout p {
  color: var(--gg-ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* Checklist */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  align-items: flex-start;
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-sm);
  display: flex;
  font-size: 0.91rem;
  gap: 0.75rem;
  line-height: 1.5;
  padding: 0.72rem 0.95rem;
}

.checklist li i {
  color: var(--gg-sage);
  flex-shrink: 0;
  font-size: 1.05rem;
  margin-top: 0.15rem;
}

/* Simple key/value rows (wifi, hours, etc.) */

.kv-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.kv-item {
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-md);
  box-shadow: var(--gg-shadow-sm);
  padding: 1.05rem 1.2rem;
}

.kv-label {
  color: var(--gg-ink-soft);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kv-value {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.28rem;
}

/* Directory / list rows used for dining, nearest places, etc. */

.directory-group {
  margin-bottom: 1.4rem;
}

.directory-group:last-child {
  margin-bottom: 0;
}

.directory-group-title {
  color: var(--gg-clay-dark);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.directory-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.directory-row {
  align-items: baseline;
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: space-between;
  padding: 0.68rem 0.98rem;
}

.directory-row .place-name {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.directory-row .place-detail {
  color: var(--gg-ink-soft);
  font-size: 0.82rem;
}

/* Redacted placeholders */

.redacted {
  align-items: center;
  background: repeating-linear-gradient(
    135deg,
    rgba(147, 83, 55, 0.14),
    rgba(147, 83, 55, 0.14) 6px,
    rgba(147, 83, 55, 0.22) 6px,
    rgba(147, 83, 55, 0.22) 12px
  );
  border: 1px dashed #935337;
  border-radius: 8px;
  color: var(--gg-plum);
  cursor: help;
  display: inline-flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 0.92em;
  font-weight: 700;
  letter-spacing: 0.02em;
  gap: 0.35rem;
  padding: 0.1rem 0.5rem;
  white-space: nowrap;
}

.redacted i {
  font-size: 0.85em;
}

/* Prev / next footer nav inside a panel */

.panel-footnav {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2.6rem;
}

.footnav-btn {
  align-items: center;
  background: var(--gg-surface);
  border: 1px solid var(--gg-border);
  border-radius: 999px;
  box-shadow: var(--gg-shadow-md);
  color: var(--gg-clay-dark);
  cursor: pointer;
  display: flex;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.01em;
  padding: 0.68rem 1.2rem;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.footnav-btn:hover {
  background: linear-gradient(150deg, var(--gg-gold), var(--gg-clay));
  color: #fff;
}

.footnav-btn:active {
  transform: scale(0.96);
}

.footnav-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes gg-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(2%, 3%) rotate(3deg);
  }
}

/* ---------------------------------------------------------------------- */
/* Responsive: narrower tablets / phones — sidebar becomes a drawer       */
/* ---------------------------------------------------------------------- */

@media (max-width: 900px) {
  .app-topbar {
    display: flex;
  }

  .app-sidebar {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    width: min(78vw, 300px);
  }

  .app-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-scrim {
    background: rgba(8, 22, 28, 0.5);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.24s ease;
    z-index: 4;
  }

  .sidebar-scrim.show {
    opacity: 1;
    pointer-events: auto;
  }

  .panel {
    padding: 1.6rem 1.3rem 2rem;
  }

  .panel-icon-medallion {
    font-size: 1.5rem;
    height: 60px;
    width: 60px;
  }

  .hero-carousel {
    height: 260px;
    margin: -1.6rem -1.3rem 1.8rem;
    width: calc(100% + 2.6rem);
  }

  .hero-copy {
    bottom: 1.3rem;
    left: 1.2rem;
    right: 1.2rem;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .app-sidebar {
    width: var(--gg-sidebar-w-rail);
  }

  .sidebar-brand-text,
  .sidebar-nav-item .nav-label {
    display: none;
  }

  .sidebar-brand {
    justify-content: center;
    padding: 1.5rem 0.5rem 1rem;
  }

  .sidebar-nav-item {
    justify-content: center;
    padding: 0.72rem;
  }
}

@media (max-width: 480px) {
  .panel-title {
    font-size: 1.4rem;
  }

  .panel-icon-medallion {
    height: 54px;
    width: 54px;
    font-size: 1.3rem;
    border-radius: 16px;
  }

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

  .kv-row {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    height: 210px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .weather-forecast {
    grid-template-columns: repeat(3, 1fr);
  }

  .weather-current {
    flex-wrap: wrap;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .panel,
  .panel-inner,
  .sidebar-nav-item,
  .info-card,
  .app-sidebar::before,
  .hero-slide {
    animation: none !important;
    transition: none !important;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}
