/* Twin Birches Apartments — palette and type drawn from the building's own sign:
   deep bark brown + warm cream lettering, brick accent, script display headings. */
:root {
  --bark: #3b1f0e;
  --bark-deep: #291507;
  --bark-soft: #54341c;
  --cream: #fbf4e4;
  --cream-2: #f4e9cf;
  --letter: #fdeeb6;
  --brick: #a85b32;
  --brick-dark: #8a4523;
  --ink: #33241a;
  --ink-soft: #5d4a3a;
  --line: #e2d3b4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(41, 21, 7, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--brick-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 8px 22px;
  background: rgba(41, 21, 7, .97);
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  color: var(--cream); text-decoration: none; font-size: .95rem; font-weight: 500;
  letter-spacing: .02em; padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--letter); color: var(--letter); }
.header-cta { margin-left: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--brick); color: #fff;
  padding: 13px 24px; border-radius: 999px; font-size: 1rem;
  box-shadow: 0 4px 0 var(--brick-dark);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { background: var(--brick-dark); transform: translateY(1px); box-shadow: 0 3px 0 #6f3418; }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-ghost {
  background: rgba(251, 244, 228, .12); color: var(--cream);
  border: 1.5px solid rgba(251, 244, 228, .65); box-shadow: none;
  backdrop-filter: blur(3px);
}
.btn-ghost:hover { background: rgba(251, 244, 228, .25); box-shadow: none; }
.btn-outline {
  background: transparent; color: var(--brick-dark);
  border: 1.5px solid var(--brick); box-shadow: none;
}
.btn-outline:hover { background: var(--brick); color: #fff; box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bark-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29, 15, 4, .88) 0%, rgba(29, 15, 4, .45) 42%, rgba(29, 15, 4, .05) 70%);
}
.hero-content { position: relative; max-width: 1080px; margin: 0 auto; padding: 120px 22px 56px; width: 100%; }
.hero-logo { width: min(560px, 82vw); height: auto; filter: drop-shadow(0 6px 22px rgba(0,0,0,.45)); }
.hero-line {
  color: var(--cream); font-size: clamp(1.15rem, 2.4vw, 1.5rem); max-width: 34em;
  margin: 20px 0 6px; text-shadow: 0 2px 10px rgba(0,0,0,.5); font-weight: 500;
}
.hero-addr { color: var(--letter); font-weight: 600; letter-spacing: .04em; margin: 0 0 24px; text-transform: uppercase; font-size: .9rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- facts strip ---------- */
.facts-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bark); color: var(--cream);
}
.fact { padding: 22px 14px; text-align: center; border-right: 1px solid rgba(253, 238, 182, .16); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 2rem; color: var(--letter); line-height: 1.1; }
.fact span { font-size: .88rem; color: #e9dcbc; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-cream { background: var(--cream-2); }
.section-bark { background: var(--bark); color: var(--cream); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700;
  color: var(--brick); margin: 0 0 4px;
}
.eyebrow-light { color: var(--letter); }
.script-h {
  font-family: "Playfair Display", Georgia, serif; font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05;
  margin: 0 0 18px; color: var(--bark);
}
.script-light { color: var(--letter); }
.lede { max-width: 44em; color: var(--ink-soft); }
.fineprint { font-size: .92rem; color: var(--ink-soft); margin-top: 22px; }

/* ---------- unit card ---------- */
.unit-card {
  display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.unit-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.unit-body { padding: 30px 32px; }
.unit-special {
  display: inline-block; background: var(--bark); color: var(--letter);
  font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin: 0 0 14px;
}
.unit-body h3 { margin: 0 0 6px; font-size: 1.45rem; color: var(--bark); line-height: 1.25; }
.unit-specs { color: var(--ink-soft); margin: 0 0 10px; font-weight: 500; }
.unit-rent { font-size: 2.1rem; font-weight: 700; color: var(--brick-dark); margin: 4px 0 10px; }
.unit-rent span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.unit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- plan cards ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 16px rgba(41, 21, 7, .07);
}
.plan-card img { height: 190px; width: 100%; object-fit: cover; }
.plan-card h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.8rem; color: var(--bark); margin: 16px 20px 2px; }
.plan-card p { margin: 0 20px 14px; color: var(--ink-soft); font-size: .97rem; }
.plan-card .plan-size { color: var(--brick-dark); font-weight: 600; margin-bottom: 6px; }

/* ---------- amenities ---------- */
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; margin-top: 10px; }
.amen-h { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em; color: var(--letter); margin: 22px 0 10px; }
.amen-list { list-style: none; margin: 0; padding: 0; }
.amen-list li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid rgba(253, 238, 182, .14); }
.amen-list li::before { content: "✦"; position: absolute; left: 2px; color: var(--brick); }
.section-bark .amen-list li::before { color: var(--letter); }

/* ---------- gallery ---------- */
.gallery { columns: 3; column-gap: 16px; margin-top: 26px; }
.gallery figure {
  margin: 0 0 16px; break-inside: avoid; border-radius: 10px; overflow: hidden;
  position: relative; cursor: zoom-in; background: var(--bark-deep);
}
.gallery img { width: 100%; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px; color: var(--cream); font-size: .88rem; font-weight: 500;
  background: linear-gradient(to top, rgba(29, 15, 4, .75), transparent);
}
.lightbox { border: 0; border-radius: 12px; padding: 14px; background: var(--bark-deep); color: var(--cream); max-width: min(1060px, 94vw); }
.lightbox::backdrop { background: rgba(20, 10, 2, .86); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox p { text-align: center; margin: 10px 0 2px; }
.lb-close {
  position: absolute; top: 6px; right: 12px; background: none; border: 0;
  color: var(--letter); font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- neighborhood ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.scores { display: flex; gap: 16px; margin-top: 26px; }
.score {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 20px; text-align: center; box-shadow: 0 4px 14px rgba(41, 21, 7, .06);
}
.score strong { display: block; font-size: 1.9rem; color: var(--brick-dark); line-height: 1; }
.score span { font-size: .85rem; color: var(--ink-soft); }
.near-list { list-style: none; margin: 8px 0 0; padding: 0; }
.near-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
}
.near-list span { font-weight: 600; }
.near-list em { font-style: normal; color: var(--ink-soft); white-space: nowrap; }

/* ---------- history ---------- */
.archive-note { font-size: .95rem; color: var(--ink-soft); border-left: 3px solid var(--brick); padding-left: 14px; margin-top: 22px; }
.history-photo { margin: 0; }
.history-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.history-photo figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; font-style: italic; }

/* ---------- visit / footer ---------- */
.visit { text-align: center; }
.visit-logo { width: 300px; height: auto; margin: 0 auto 8px; }
.visit .hero-actions { justify-content: center; }
.visit-lines { font-size: 1.12rem; margin: 6px 0 24px; }
.managed { margin-top: 26px; color: #d9c69c; font-size: .95rem; letter-spacing: .03em; }
.site-footer { background: var(--bark-deep); color: #cdbb96; padding: 26px 0; font-size: .9rem; }
.footer-flex { display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .unit-card, .split, .amen-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
  .fact { border-bottom: 1px solid rgba(253, 238, 182, .16); }
  .hero { min-height: 76vh; }
}
@media (max-width: 540px) {
  .gallery { columns: 1; }
  .scores { flex-wrap: wrap; }
  body { font-size: 16px; }
}
