/* Planwise: lean site (site-lean/), loaded after site.css.
   Four pages plus the articles; adds the clients' quotes on Home and the
   useful links on Contact. */

/* Home: clients' words in three columns. Each opens with one sentence from the
   testimonial in italic serif (the pull line), then the full words in upright body
   text, so italic is a highlight rather than a wall. Gold is the one accent. */
.section--voice .section-head { margin-bottom: var(--space-head); }
.testi-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-group) clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
}
.testi { margin: 0; display: flex; flex-direction: column; }
.testi-pull {
  margin: 0 0 1rem; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.3; color: var(--voice);
  text-indent: -.42em; text-wrap: pretty;
}
.testi blockquote { margin: 0; font-size: var(--t-small); line-height: 1.6; color: var(--ink); }
.testi blockquote p { margin: 0; max-width: 60ch; }
.testi blockquote p + p { margin-top: .75em; }
.testi blockquote .testi-pull { max-width: none; margin-bottom: 1rem; }
.testi blockquote .testi-pull + p { margin-top: 0; }
.testi figcaption {
  margin-top: auto; padding-top: 1.25rem; display: grid; gap: .1rem;
  font-size: var(--t-meta);
}
.testi figcaption::before { content: ""; width: 2.5rem; height: 2px; background: var(--gold); margin-bottom: .75rem; }
.testi-name { font-weight: 600; color: var(--ink); }
.testi-since { color: var(--ink-soft); }
@media (max-width: 900px) {
  .testi-list { grid-template-columns: 1fr; max-width: 40rem; }
  .testi + .testi { padding-top: var(--space-group); border-top: 1px solid rgb(107 47 20 / .18); }
  .testi figcaption { margin-top: 0; }
}

/* Contact: useful links under the map */
.useful-links { margin-top: 2rem; }
.useful-links h2 { font-size: var(--t-h4); margin-bottom: .5rem; }
.useful-links ul { list-style: none; margin: 0; padding: 0; }
.useful-links li + li { border-top: 1px solid var(--rule); }
.useful-links a { display: grid; gap: .1rem; padding-block: .75rem; min-height: 44px; color: var(--heading); text-decoration: none; font-weight: 600; }
.useful-links a:hover { color: var(--orange-ink); }
.useful-links a span { font-weight: 400; color: var(--orange-ink); font-size: var(--t-meta); }

/* Our Services: Areas of advice on the page's light ground, not the plum wash */
[data-brand="honour"] .section--services.section--plain { background: var(--ground); }
[data-brand="honour"] .section--services.section--plain .service { border-top-color: var(--rule); }
[data-brand="honour"] .section--services.section--plain .service:last-child:nth-child(odd) { border-bottom-color: var(--rule); }

/* Inner-page banners: text only (no images), so give it more room to breathe and
   let the title and lede run wider across the banner */
/* A flat purple ribbon with a gold rule along the bottom, in place of the curved gilt arc */
[data-brand="honour"] .page-hero { padding-block: clamp(2.75rem, 1.75rem + 3.5vw, 5rem); border-bottom: 6px solid var(--gold); }
[data-brand="honour"] .page-hero::before,
[data-brand="honour"] .page-hero::after { content: none; }
[data-brand="honour"] .page-hero h1 { max-width: 30ch; margin-bottom: .45em; }
[data-brand="honour"] .page-hero .lede { max-width: 68ch; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; }
[data-brand="honour"] .page-hero .crumbs { margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }

/* Article banner photos: the same wave-edged swirl mask the Contact photo used */
[data-brand="honour"] .photo--band {
  border-radius: 0;
  -webkit-mask: var(--swirl-3) center / 100% 100% no-repeat; mask: var(--swirl-3) center / 100% 100% no-repeat;
}

/* Contact form: spam trap kept off-screen, and the message shown if sending fails */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); background: #fbeae4; color: var(--ink); border-left: 4px solid var(--orange); }
.form-error.is-shown { display: block; }
.form-error a { color: var(--orange-ink); font-weight: 600; }
.form [type=submit][aria-busy="true"] { opacity: .7; cursor: progress; }

/* Turnstile spam check: the widget's own box sits inside; the error shows when it hasn't been completed */
.turnstile [data-turnstile] { min-height: 65px; }
.turnstile [data-turnstile]:focus { outline: none; }
