/* Tapestry House Assisted Living — warm plum / terracotta / linen */
:root {
  --ink: #2a1f24;
  --plum: #5c2a3a;
  --plum-deep: #3f1c28;
  --terracotta: #c4785a;
  --terracotta-soft: #e8c9a0;
  --linen: #f6efe6;
  --cream: #fffaf5;
  --sage: #6d7f6a;
  --muted: #6a5a60;
  --line: #e5d8ce;
  --shadow: 0 12px 28px rgba(63, 28, 40, 0.09);
  --radius: 16px;
  --max: 1080px;
  --font-sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.04rem;
  line-height: 1.68;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:hover { color: var(--plum-deep); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header {
  background: rgba(255,250,245,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0;
}
.brand { text-decoration: none; color: var(--plum-deep); display: flex; align-items: center; gap: .75rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background:
    linear-gradient(135deg, var(--terracotta-soft), var(--terracotta) 45%, var(--plum));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.28);
  flex: 0 0 auto;
}
.brand-text strong { display: block; font-family: var(--font-serif); font-size: 1.12rem; font-weight: 700; line-height: 1.2; }
.brand-text span { display: block; font-size: .76rem; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.nav-toggle {
  display: none; background: var(--linen); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; font: inherit; color: var(--ink);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .85rem; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .93rem;
  padding: .35rem .1rem; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--terracotta); }
.nav-cta {
  background: var(--plum) !important; color: #fff !important; border-radius: 999px; padding: .45rem 1rem !important; border-bottom: none !important;
}
.nav-cta:hover { background: var(--plum-deep) !important; color: #fff !important; }
.hero {
  position: relative; min-height: 54vh; display: grid; align-items: end;
  background: #3f1c28 center/cover no-repeat; color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(63,28,40,.82), rgba(92,42,58,.45) 55%, rgba(63,28,40,.7));
}
.hero-inner { position: relative; z-index: 1; padding: 4.75rem 0 3.1rem; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15; margin: 0 0 .8rem; max-width: 18ch;
}
.hero p { margin: 0 0 1.4rem; max-width: 44ch; font-size: 1.1rem; color: rgba(255,255,255,.93); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  text-decoration: none; border-radius: 999px; padding: .72rem 1.25rem; font-weight: 700; border: 2px solid transparent;
}
.btn-primary { background: var(--terracotta-soft); color: var(--plum-deep); }
.btn-primary:hover { background: #fff; color: var(--plum-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-solid { background: var(--plum); color: #fff; }
.btn-solid:hover { background: var(--plum-deep); color: #fff; }
.section { padding: 3.35rem 0; }
.section-alt { background: var(--linen); }
.section h2 {
  font-family: var(--font-serif); font-size: clamp(1.65rem, 3vw, 2.25rem); margin: 0 0 .75rem; color: var(--plum-deep); line-height: 1.22;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.grid-2 { display: grid; gap: 1.6rem; grid-template-columns: 1.05fr .95fr; align-items: center; }
.grid-3 { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .5rem; font-family: var(--font-serif); font-size: 1.28rem; color: var(--plum-deep); }
.card p { margin: 0; color: var(--muted); }
.media-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.note {
  background: #f3e8e4; border-left: 4px solid var(--terracotta); padding: .95rem 1.05rem; border-radius: 0 12px 12px 0; color: var(--ink);
}
.alnm-body { font-weight: 800; }
.pill-list { display: grid; gap: .65rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.pill-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
}
.gallery-grid {
  display: grid; gap: .9rem; grid-template-columns: repeat(3, 1fr);
}
.gallery-grid figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption { padding: .65rem .85rem; font-size: .9rem; color: var(--muted); }
.contact-block {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr;
}
.contact-card, .form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow);
}
label { display: block; font-weight: 700; margin: .65rem 0 .25rem; }
input, textarea, select {
  width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--cream);
}
textarea { min-height: 120px; resize: vertical; }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 260px; background: #eadfd6;
}
.map-wrap iframe { width: 100%; height: 280px; border: 0; }
.site-footer {
  background: var(--plum-deep); color: rgba(255,255,255,.9); padding: 2.85rem 0 1.5rem; margin-top: 2rem;
}
.site-footer a { color: var(--terracotta-soft); }
.footer-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1.35fr 1fr 1fr 1fr;
}
.site-footer h2, .site-footer h3 {
  font-family: var(--font-serif); color: #fff; margin: 0 0 .7rem; font-size: 1.15rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.footer-bottom {
  margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,.72);
}
.page-hero {
  background: linear-gradient(125deg, var(--plum-deep), var(--plum) 55%, #7a3b4a);
  color: #fff; padding: 2.8rem 0 2.25rem;
}
.page-hero h1 { font-family: var(--font-serif); margin: 0 0 .5rem; font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.page-hero p { margin: 0; max-width: 55ch; color: rgba(255,255,255,.9); }
.breadcrumbs { font-size: .9rem; margin-bottom: .75rem; color: rgba(255,255,255,.75); }
.breadcrumbs a { color: var(--terracotta-soft); }
.prose h2 { font-family: var(--font-serif); color: var(--plum-deep); margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.legal p, .legal li { color: var(--muted); }
.stock-note { font-size: .85rem; color: var(--muted); font-style: italic; }
.kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 800; margin-bottom: .45rem;
}
@media (max-width: 900px) {
  .grid-2, .grid-3, .gallery-grid, .contact-block, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; padding: .5rem 0 1rem; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
