/* ==========================================================================
   Columbia City Airbnb — warm, cozy theme
   Palette lives here. Change these few values to re-tint the whole site.
   ========================================================================== */

:root {
  /* Warm neutrals */
  --cream:        #FDF8F2;
  --ivory:        #FFFCF8;
  --sand:         #F3E7D8;
  --sand-deep:    #E7D6C2;

  /* Warm accents */
  --terracotta:   #C1704F;
  --terracotta-d: #A45A3C;
  --clay:         #8C5B44;
  --honey:        #DFA96A;
  --sage:         #8D9C82;

  /* Text */
  --espresso:     #43342C;
  --mocha:        #7B685C;
  --mocha-soft:   #9C8878;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(67, 52, 44, .05);
  --shadow:    0 6px 18px -8px rgba(67, 52, 44, .18);
  --shadow-lg: 0 18px 40px -20px rgba(67, 52, 44, .32);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--espresso);
  background-color: var(--cream);
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(223, 169, 106, .20), transparent 62%),
    radial-gradient(900px 480px at 92% 2%, rgba(193, 112, 79, .14), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.wrap {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--terracotta);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 242, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--sand-deep);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.brand__mark { font-size: 1.5rem; line-height: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -.01em;
}
.brand__text small {
  font-size: .74rem;
  color: var(--mocha-soft);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  gap: .45rem;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .4rem 0;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  white-space: nowrap;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
  color: var(--clay);
  background: var(--ivory);
  border: 1px solid var(--sand-deep);
  padding: .38rem .8rem;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.chip:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  padding: clamp(2.75rem, 7vw, 4.75rem) 0 clamp(2.25rem, 4.5vw, 3.25rem);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 .85rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero__title {
  margin: 0 auto .95rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.13;
  letter-spacing: -.02em;
  max-width: 34ch;
  text-wrap: balance;
}

.hero__lede {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--mocha);
  font-size: clamp(1rem, 1.6vw, 1.09rem);
}

/* ---------------------------------------------------------------- room -- */

.room {
  margin-bottom: 1.4rem;
  background: var(--ivory);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.room__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem clamp(1rem, 3vw, 1.75rem);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .18s ease;
}
.room__toggle:hover { background: rgba(243, 231, 216, .5); }

.room__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--sand);
  border-radius: 14px;
}

.room__heading { min-width: 0; flex: 1; }

.room__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.28rem, 2.6vw, 1.6rem);
  letter-spacing: -.015em;
}
.room__blurb {
  margin: .2rem 0 0;
  font-size: .9rem;
  color: var(--mocha-soft);
}

.room__chevron {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--clay);
  transition: transform .28s ease, background .18s ease;
}
.room__toggle[aria-expanded="false"] .room__chevron { transform: rotate(-90deg); }
.room__toggle:hover .room__chevron { background: var(--sand-deep); }
.room__chevron svg { width: 15px; height: 15px; }

/* Smooth open/close without hard-coding heights */
.room__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .34s ease;
}
.room__panel[data-open="false"] { grid-template-rows: 0fr; }
.room__panel > div { overflow: hidden; }

.room__body {
  padding: 0 clamp(1rem, 3vw, 1.75rem) clamp(1.35rem, 3vw, 1.75rem);
}

/* --------------------------------------------------------------- cards -- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
  gap: clamp(.85rem, 2vw, 1.25rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-lg);
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--sand);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.card:hover .card__media img { transform: scale(1.045); }

.card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(150deg, var(--sand) 0%, #EADAC6 100%);
}
.card__placeholder span {
  font-size: 1.7rem;
  opacity: .55;
}
.card__placeholder small {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mocha-soft);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .85rem .95rem 1rem;
  flex: 1;
}

.card__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.card__note {
  margin: 0;
  font-size: .8rem;
  color: var(--mocha-soft);
}

.card__cta {
  margin-top: auto;
  padding-top: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--terracotta-d);
}
.card__cta svg {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}
.card:hover .card__cta svg { transform: translate(2px, -2px); }

/* --------------------------------------------------------------- misc -- */

.empty-state,
.noscript {
  text-align: center;
  color: var(--mocha);
  padding: 2.5rem 0 1rem;
}

.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(2rem, 5vw, 3rem) 0 2.5rem;
  background: var(--sand);
  border-top: 1px solid var(--sand-deep);
}

.disclosure {
  max-width: 66ch;
  margin: 0 auto;
  text-align: center;
  font-size: .92rem;
  color: var(--clay);
}
.disclosure strong { color: var(--espresso); }

.footer-fine {
  max-width: 60ch;
  margin: 1rem auto 0;
  text-align: center;
  font-size: .78rem;
  color: var(--mocha-soft);
}

/* -------------------------------------------------------------- mobile -- */

@media (max-width: 720px) {
  .wrap { width: min(1140px, 100% - 1.75rem); }

  .site-header__inner {
    flex-wrap: wrap;
    padding-block: .55rem;
    row-gap: .1rem;
  }
  .chips {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-bottom: .55rem;
  }

  .hero { text-align: left; padding-top: 2.25rem; }
  .hero__title { max-width: none; }
  .hero__lede { margin-inline: 0; }

  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  .room__toggle { gap: .75rem; padding: 1rem; }
  .room__icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .room__blurb { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
