/* /partners/tannhaus/ — "Architect's drawing": dark-green sheet, sage drafting lines,
   floor-plan hero, title-block steps, tree-named tiers. Base tokens in /partners/partners.css. */

:root {
  --pv-brand: #1d3c34;
  --pv-brand-ink: #f9f9f9;
  --pv-brand-soft: rgba(29, 60, 52, 0.1);
  --pv-accent: #550a21;
  --pv-bg: #f9f9f9;
  --pv-surface: #ffffff;
  --pv-surface-2: #eef2f0;
  --pv-ink: #16231f;
  --pv-muted: #5b6a66;
  --pv-border: #d9e0dd;
  --pv-link: #3f5f5a;
  --pv-radius: 6px;
  --pv-radius-sm: 4px;
  --pv-shadow: 0 10px 28px rgba(29, 60, 52, 0.1);
  --pv-nav-bg: rgba(249, 249, 249, 0.92);
  --pv-nav-line: rgba(29, 60, 52, 0.15);
  --th-green: #1d3c34;
  --th-sage: #a3b5af;
  --th-teal: #496b70;
  --th-burgundy: #550a21;
}

/* Crisp, architectural shared blocks */
.pv-kicker { letter-spacing: 0.2em; }
.pv-stat, .pv-fact, .pv-card, .pv-house, .pv-compare__link, .pv-faq details, .pv-verdict__col { box-shadow: none; }
.pv-card:hover, .pv-compare__link:hover { box-shadow: var(--pv-shadow); }

/* =========================================================================
   Hero — the drawing sheet
   ========================================================================= */
.th-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--th-green); color: #f9f9f9;
}
.th-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 181, 175, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 181, 175, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.th-hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.th-hero__kicker {
  display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem;
  padding: 0.35rem 0.9rem 0.35rem 0.5rem; border: 1px solid rgba(163, 181, 175, 0.4);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--th-sage);
}
.th-hero__kicker img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.th-hero h1 {
  font-family: var(--pv-font-display);
  font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 500; line-height: 1.03; letter-spacing: -0.03em;
  color: #f9f9f9;
}
.th-hero h1 em { font-style: italic; font-weight: 400; color: var(--th-sage); }
.th-hero__dek { max-width: 36rem; margin-top: 1.25rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: #c7d3cf; }
.th-hero__dek strong { color: #fff; }
.th-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.th-hero .pv-btn--brand { background: var(--th-sage); color: var(--th-green); }
.th-hero .pv-btn--ghost { color: #f9f9f9; }
.th-hero__facts { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(163, 181, 175, 0.35); list-style: none; }
.th-hero__facts li { display: flex; flex-direction: column; min-width: 0; }
.th-hero__facts strong { font-family: var(--pv-font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.th-hero__facts span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--th-sage); margin-top: 0.25rem; }

/* ---------- Floor plan sheet ---------- */
.th-sheet {
  margin: 0; padding: 1.25rem 1.25rem 1.1rem;
  border: 1px solid rgba(163, 181, 175, 0.45); background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.th-plan { width: 100%; height: auto; display: block; }
.th-plan rect, .th-plan path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: th-draw 2.4s ease-out forwards; }
.th-plan rect:nth-of-type(2n), .th-plan path:nth-of-type(2n) { animation-delay: 0.3s; }
@keyframes th-draw { to { stroke-dashoffset: 0; } }
.th-legend { display: grid; gap: 0.6rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(163, 181, 175, 0.35); }
.th-legend__title { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--th-sage); }
.th-legend__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin: 0; }
.th-legend__list div { border-left: 2px solid var(--th-sage); padding-left: 0.55rem; }
.th-legend__list dt { font-family: var(--pv-font-display); font-size: 1.05rem; font-weight: 500; color: #fff; }
.th-legend__list dd { margin: 0; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--th-sage); }
.th-legend__note { font-size: 0.75rem; color: #c7d3cf; }

@media (max-width: 900px) {
  .th-hero__inner { grid-template-columns: 1fr; }
  .th-sheet { max-width: 30rem; }
}
@media (max-width: 420px) { .th-legend__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =========================================================================
   Sections
   ========================================================================= */
.th-data { background: var(--pv-surface-2); }
.pv-stat--wide { flex: 2 1 300px; max-width: min(100%, 52rem); }
@media (max-width: 480px) { .pv-stat--wide { flex-basis: 150px; } }

.th-houses .pv-house h3 { font-weight: 500; }
.th-houses .pv-house__district { color: var(--th-teal); letter-spacing: 0.16em; }
.th-houses .pv-house__meta span { background: var(--pv-surface-2); color: var(--th-green); }

/* Title-block rows: a drawing sheet's revision table */
.th-titleblock .pv-steps { gap: 0; border: 1px solid var(--th-green); background: #fff; }
.th-titleblock .pv-step {
  grid-template-columns: 5rem minmax(0, 1fr); gap: 0 1.25rem;
  padding: 1.1rem 1.25rem; border: 0; border-top: 1px solid var(--th-green); border-radius: 0; background: transparent;
}
.th-titleblock .pv-step:first-child { border-top: 0; }
.th-titleblock .pv-step::before {
  width: auto; height: auto; border-radius: 0; background: transparent; place-items: start;
  padding-right: 1rem; border-right: 1px solid var(--pv-border);
  font-family: var(--pv-font-display); font-size: 1.6rem; font-weight: 400; letter-spacing: 0.02em; line-height: 1;
  color: var(--th-teal);
}
.th-titleblock .pv-step h3 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--th-green); }
.th-titleblock .pv-step p { font-size: 0.97rem; color: var(--pv-ink); }
@media (max-width: 600px) { .th-titleblock .pv-step { grid-template-columns: 3.4rem minmax(0, 1fr); } .th-titleblock .pv-step::before { font-size: 1.2rem; } }

.pv-fact dt { color: var(--th-teal); letter-spacing: 0.16em; }
.pv-fact--rent, .pv-fact--size { border-left: 3px solid var(--th-green); }

.th-listings { background: #fff; border-top: 1px solid var(--pv-border); border-bottom: 1px solid var(--pv-border); }
.th-listings .pv-card__badge { background: var(--th-green); color: #f9f9f9; }
.th-faq { max-width: 56rem; }
.th-guides__title { margin: 2rem 0 0.75rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pv-muted); }
.th-sources { display: grid; gap: 1.25rem; }

/* Final band */
.th-final { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--th-green); color: #f9f9f9; text-align: center; }
.th-final__inner { position: relative; }
.th-final h2 { font-family: var(--pv-font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 500; letter-spacing: -0.03em; }
.th-final p { max-width: 34rem; margin: 0.8rem auto 1.5rem; color: #c7d3cf; }
.th-final .pv-btn--ink { background: var(--th-sage); color: var(--th-green); }

@media (prefers-reduced-motion: reduce) {
  .th-plan rect, .th-plan path { animation: none; stroke-dashoffset: 0; }
}
