/* Harbrook & Vale demo: agency pages (about, team, branches, sell, landlords,
   valuation, contact, photography credits). Loaded on every WordPress page
   except the front page. */

.hv-page__head { padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 64px); }
.hv-page__head h1 { max-width: 16ch; margin-bottom: .3em; }
.hv-page__lead { max-width: 56ch; margin: 0; color: var(--sa-muted); font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.55; }

.hv-section { padding: clamp(48px, 6vw, 96px) 0; border-top: 1px solid var(--sa-line); }
.hv-section--tint { background: var(--sa-panel); }
.hv-section h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }

.hv-prose-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.hv-prose p, .hv-prose li { max-width: 62ch; }
.hv-prose p { margin: 0 0 1.2em; line-height: 1.7; }
.hv-prose h2 { margin-bottom: .6em; }

.hv-principles, .hv-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 96px); margin: 32px 0 0; }
.hv-principles > div, .hv-places > div { padding: 22px 0 26px; border-top: 1px solid var(--sa-ink); }
.hv-principles dt, .hv-places dt { font-family: var(--sa-display); font-weight: 300; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 8px; }
.hv-principles dd, .hv-places dd { margin: 0; color: var(--sa-muted); max-width: 46ch; line-height: 1.6; }
.hv-section--tint .hv-principles dd { color: #5d5a56; }
.hv-places > div { border-top-color: var(--sa-line); }

/* Team */
.hv-team { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 5vw, 96px); }
.hv-person { display: flex; gap: 22px; align-items: flex-start; }
.hv-person h3 { margin: 0; font-size: 1.5rem; }
.hv-person__role { margin: 2px 0 10px; color: var(--sa-muted); font-size: .95rem; }
.hv-person p:last-child { margin: 0; max-width: 48ch; line-height: 1.6; }
.hv-mono { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--sa-ink);
  display: grid; place-items: center; font-family: var(--sa-display); font-weight: 300; font-size: 1.5rem; letter-spacing: .02em; }

/* Branches and hours */
.hv-branchlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 112px); }
.hv-branchfull { border-top: 1px solid var(--sa-ink); padding-top: 24px; }
.hv-branchfull h2 { margin-bottom: .2em; }
.hv-branchfull h3, .hv-contactbranch h3 { font-family: var(--sa-sans); font-weight: 500; font-size: .95rem; letter-spacing: 0; margin: 28px 0 8px; color: var(--sa-muted); }
.hv-branchfull__addr { margin: 0 0 6px; }
.hv-hours { margin: 0; max-width: 380px; }
.hv-hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--sa-line); }
.hv-hours dt { color: var(--sa-muted); }
.hv-hours dd { margin: 0; }
.hv-contactbranch { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--sa-line); }
.hv-contactbranch:last-child { border-bottom: 0; margin-bottom: 0; }
.hv-contactbranch h2 { margin-bottom: .3em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.hv-contactbranch p { margin: 0 0 16px; }

/* Selling steps */
.hv-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.hv-steps li { counter-increment: step; display: grid; grid-template-columns: clamp(64px, 9vw, 140px) minmax(0, 1fr); column-gap: 24px;
  padding: 28px 0 32px; border-top: 1px solid var(--sa-line); }
.hv-steps li:first-child { border-top-color: var(--sa-ink); }
.hv-steps li::before { content: counter(step); grid-row: 1 / span 2; font-family: var(--sa-display); font-weight: 200; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
  line-height: 1; letter-spacing: -.04em; color: #6f6b64; font-variant-numeric: tabular-nums; }
.hv-steps h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0 0 8px; }
.hv-steps p { margin: 0; max-width: 60ch; color: var(--sa-muted); line-height: 1.65; }

/* Landlords */
.hv-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 96px); margin-top: 28px; }
.hv-compare > div { border-top: 1px solid var(--sa-ink); padding-top: 22px; }
.hv-compare h3 { margin: 0 0 14px; }
.hv-ticks, .hv-checklist { list-style: none; margin: 0; padding: 0; }
.hv-ticks li, .hv-checklist li { position: relative; padding: 0 0 12px 30px; line-height: 1.55; }
.hv-ticks li::before, .hv-checklist:not(.hv-checklist--num) li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 6px; height: 11px;
  border: solid var(--sa-ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.hv-checklist--num { counter-reset: n; }
.hv-checklist--num li { counter-increment: n; }
.hv-checklist--num li::before { content: counter(n); position: absolute; left: 0; top: 0; font-family: var(--sa-display); font-weight: 300; }
.hv-note { color: var(--sa-muted); margin: 28px 0 0; }

/* Valuation and contact */
.hv-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.hv-panel { background: var(--sa-surface); border: 1px solid var(--sa-hairline); border-radius: var(--sa-r-surface); box-shadow: var(--sa-shadow-card); padding: clamp(24px, 3vw, 40px); }
.hv-panel h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 24px; }
.hv-form { margin: 0; }
.hv-form__row { display: grid; gap: 6px; margin-bottom: 18px; }
.hv-form__row label { color: var(--sa-ink); font-size: .92rem; }
.hv-form input, .hv-form select, .hv-form textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--sa-ink);
  background: #fff; border: 1px solid #b9b5ad; border-radius: var(--sa-r-input); margin: 0; }
.hv-form textarea { min-height: 112px; resize: vertical; }
.hv-form__note { margin: 0 0 22px; padding: 14px 16px; background: var(--sa-panel); border-radius: var(--sa-r-input); font-size: .95rem; line-height: 1.5; }
.hv-form .sa-btn { width: 100%; }
.hv-form .sa-btn + .hv-form__note + .sa-btn { margin-top: 0; }

/* Photography credits */
.hv-tablewrap { overflow-x: auto; }
.hv-credits { width: 100%; border-collapse: collapse; }
.hv-credits th { text-align: left; color: var(--sa-muted); font-weight: 500; font-size: .9rem; padding: 0 16px 12px 0; border-bottom: 1px solid var(--sa-ink); }
.hv-credits td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--sa-line); vertical-align: top; }
.hv-credits a { border-bottom: 1px solid var(--sa-line); }
.hv-credits a:hover { border-color: var(--sa-ink); text-decoration: none; }

/* Closing band */
.hv-band { background: var(--sa-panel); border-top: 1px solid var(--sa-line); }
.hv-band__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.hv-band h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); margin: 0 0 8px; }
.hv-band p { margin: 0; color: var(--sa-muted); max-width: 46ch; }
.hv-band .hv-cta-row { flex-wrap: wrap; }

@media (max-width: 900px) {
  .hv-prose-grid, .hv-split, .hv-branchlist, .hv-compare { grid-template-columns: minmax(0, 1fr); }
  .hv-principles, .hv-places, .hv-team { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .hv-person { gap: 16px; }
  .hv-mono { width: 56px; height: 56px; font-size: 1.2rem; }
  .hv-steps li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; }
  .hv-band .hv-cta-row, .hv-band .sa-btn { width: 100%; }
}
