/* Compass Furniture LLC — shared styles (warm rate-card design) */

@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3-var.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14322f;
  --ink-soft: #3e5753;
  --bg: #f7f4ee;
  --white: #fffdf9;
  --sage: #e1ebe6;
  --sage-2: #c9dbd3;
  --coral: #e8704f;
  --coral-text: #b2462a;
  --blush: #f8ddd3;
  --cream: #f6f1e7;
  --line: rgba(20, 50, 47, 0.14);
  --head: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 18px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 0.55em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; font-weight: 500; }
p { margin: 0 0 1em; }

a { color: var(--coral-text); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral-text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2rem); }
section { padding-block: clamp(2.5rem, 5.5vw, 4.25rem); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* ---------- header ---------- */
.topline { background: var(--ink); color: var(--cream); font-size: 0.95rem; }
.topline .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.5rem; padding-block: 0.45rem; text-align: center; }
.topline a { color: var(--cream); font-weight: 600; }
.topline a:hover { color: var(--blush); }
.topline :focus-visible { outline-color: var(--blush); }

.masthead { padding-block: 1.4rem 1rem; text-align: center; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 76px; height: auto; border-radius: 14px; flex: none; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.01em; text-align: left; line-height: 1.15; }
.brand:hover .brand-name { color: var(--coral-text); }

.pills { margin-top: 1rem; }
.pills ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.pills a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--sage-2);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
}
.pills a:hover { border-color: var(--ink); }
.pills a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- shared ---------- */
.chip {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}
.eyebrow { margin: 0 0 0.4rem; font-family: var(--head); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-text); }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-soft); }
.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 42ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--head); font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  max-width: 100%; overflow-wrap: anywhere;
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--coral-text); border-color: var(--coral-text); color: #fff; }
.btn-coral { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.btn-coral:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.center .btn-row { justify-content: center; }

/* ---------- home ---------- */
.hero { padding-top: 0.5rem; }
.hero-panel {
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem);
  border-radius: calc(var(--r) * 1.6);
  background: var(--sage);
}
.rooms {
  list-style: none;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.rooms a {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  height: 100%;
  padding: 1.1rem 0.6rem 1rem;
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  line-height: 1.25;
}
.rooms a:hover { box-shadow: 0 0 0 2px var(--ink); }
.rooms img { width: 52px; height: 52px; }
.rooms .room-name { font-family: var(--head); font-weight: 500; font-size: 0.95rem; }
.rooms .room-count { font-size: 0.92rem; color: var(--ink-soft); }

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--r) * 1.4);
  background: var(--blush);
}
.spotlight h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.spotlight p:not(.price-pill) { color: var(--ink-soft); }
.spot-price { justify-self: start; }

.lease-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.checks { list-style: none; margin: 0; padding: 0.5rem 1.5rem; background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.checks li { position: relative; padding: 1rem 0 1rem 2.4rem; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 1.25rem;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--sage-2) no-repeat center / 0.95rem
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%2314322f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checks strong { font-weight: 700; }

.closing {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--r) * 1.4);
  background: var(--ink);
  color: var(--cream);
}
.closing h2 { color: var(--cream); }
.closing a:not(.btn) { color: var(--cream); }
.closing .btn-line { color: var(--cream); border-color: var(--cream); }
.closing .btn-line:hover { background: var(--cream); color: var(--ink); }
.closing :focus-visible { outline-color: var(--blush); }

/* ---------- rentals ---------- */
.page-head { padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 3vw, 1.75rem); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.jump a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-weight: 600; font-size: 0.98rem;
  text-decoration: none;
}
.jump a:hover { background: var(--sage-2); }
.jump img { width: 22px; height: 22px; }

.featured-row { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.featured-row li { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--r); background: var(--blush); }
.featured-row h3 { font-size: 1.08rem; }
.featured-row p:not(.price-pill) { color: var(--ink-soft); }
.featured-row .price-pill { margin-top: auto; align-self: flex-start; }

.price-pill {
  display: inline-block;
  padding: 0.45rem 1rem 0.5rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.3;
  text-align: left;
}
.price-pill .amt { font-family: var(--head); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.price-pill .unit { font-weight: 600; }
.price-pill .qual { display: block; font-size: 0.92rem; color: var(--sage-2); }
.price-pill.quote .amt { font-size: 1.02rem; font-weight: 500; }
.price-pill.offer { font-family: var(--head); font-weight: 700; font-size: 1.08rem; }

.rate-group {
  display: grid;
  grid-template-columns: minmax(14rem, 0.36fr) minmax(0, 1fr);
  gap: 1.25rem 2.5rem;
  align-items: start;
  scroll-margin-top: 1rem;
}
.rate-group + .rate-group { padding-top: 0; }
.group-card {
  position: sticky;
  top: 1rem;
  padding: 1.5rem;
  border-radius: var(--r);
  background: var(--sage);
}
.group-card img { width: 56px; height: 56px; margin-bottom: 0.6rem; }
.group-card h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: 0.25rem; }
.group-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.rates { list-style: none; margin: 0; padding: 0; }
.rate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1.5rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.rate:first-child { padding-top: 0.25rem; }
.rate h3 { margin-bottom: 0.25rem; }
.rate .no { display: inline-block; min-width: 2.2rem; margin-right: 0.35rem; color: var(--coral-text); font-weight: 700; font-family: var(--head); font-size: 0.95rem; }
.rate-desc { margin: 0; color: var(--ink-soft); }
.rate .price { justify-self: end; max-width: 15rem; }
.call { display: block; margin-top: 0.4rem; font-weight: 700; font-size: 0.98rem; }

/* ---------- about ---------- */
.facts { margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.facts div { padding: 1rem 1.15rem; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); text-align: left; }
.facts dt { display: block; font-family: var(--head); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-text); }
.facts dd { display: block; margin: 0; font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.story { max-width: 46rem; margin-inline: auto; }
.story .first { font-family: var(--head); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.55; }
.why-row { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.why-row li { padding: 1.5rem; border-radius: var(--r); background: var(--sage); }
.why-row li::before { content: ""; display: block; width: 14px; height: 14px; margin-bottom: 0.8rem; border-radius: 50%; background: var(--coral); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.office { padding: 1.5rem; border-radius: var(--r); background: var(--sage); margin-bottom: 1.5rem; }
.office address { font-style: normal; font-weight: 600; font-size: 1.2rem; margin-bottom: 0.9rem; }
.office ul { list-style: none; margin: 0; padding: 0; }
.office li { padding: 0.35rem 0; }
.office .k { display: inline-block; min-width: 4rem; font-weight: 700; }
.office .btn-row { margin-top: 1.1rem; }

.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.6rem; font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.hours th, .hours td { padding: 0.75rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hours thead th { background: var(--sage); font-family: var(--head); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { border-bottom: 0; }
.hours tbody th { font-weight: 700; }
.hours .note { display: block; font-size: 0.95rem; color: var(--ink-soft); }
.hours .closed { color: var(--ink-soft); }
.route-note { margin-top: 1rem; padding: 1rem 1.15rem; border-radius: var(--r); background: var(--blush); }

.map-col { position: sticky; top: 1rem; }
.map-col iframe { display: block; width: 100%; height: 560px; border: 0; border-radius: calc(var(--r) * 1.2); background: var(--sage); }
.map-col p { margin-top: 0.8rem; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--sage); color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 2rem; padding-block: 2.75rem 1.75rem; }
.footer-name { margin: 0 0 0.35rem; font-family: var(--head); font-weight: 700; font-size: 1.3rem; }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.5rem; font-family: var(--head); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-text); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.15rem 0; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--coral-text); }
.footer-bottom { margin: 0; padding-block: 1rem 1.6rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spotlight, .lease-grid, .contact-grid { grid-template-columns: 1fr; }
  .featured-row, .why-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-group { grid-template-columns: 1fr; }
  .group-card { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1rem; align-items: center; }
  .group-card img { grid-row: span 2; margin: 0; }
  .map-col { position: static; }
  .map-col iframe { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1.08rem; }
  .brand img { width: 60px; }
  .brand-name { font-size: 1.3rem; }
  .pills ul { gap: 0.35rem; }
  .pills a { padding: 0.42rem 0.75rem; font-size: 0.9rem; }
  .topline-addr { display: none; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms li:last-child { grid-column: 1 / -1; }
  .rate { grid-template-columns: 1fr; }
  .rate .price { justify-self: start; max-width: none; }
  .facts { grid-template-columns: 1fr; }
  .hours th, .hours td { padding: 0.65rem 0.8rem; }
  .map-col iframe { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

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

.flush-top { padding-top: 0; }
.btn-row.centered { justify-content: center; }
.flush-bottom { padding-bottom: 0; }
