/* Design polish, 29-11-2026. Loaded last on every page.
   Brings the other pages up to the Trust page: the same surfaces, cards,
   hairlines and spacing, a single treatment for every picture, and calmer motion.
   No copy lives in this file. */

:root {
  --p-line: #39423c;
  --p-line-2: #465348;
  --p-card: #252e29;
  --p-card-line: #47534b;
  --p-accent: #78633c;
  --p-gap: 14px;
  --p-section: clamp(46px, 4.8vw, 70px);
}

/* ---------- 1. Pictures: one mount, one crop, one grade ---------- */
.stock-slot img,
.portrait img,
.tab-photo img,
.no-motion img,
.js .story-window,
.inline-art .story-art,
.no-js .story-art {
  border: 0;
  border-radius: 10px;
  /* a hairline, a mat the colour of the page's panels, then a second hairline */
  box-shadow:
    0 0 0 1px rgb(244 240 232 / 14%),
    0 0 0 7px var(--sheet),
    0 0 0 8px var(--p-card-line),
    0 34px 48px -30px rgb(0 0 0 / 70%);
}
.stock-slot,
.portrait,
.tab-photo {
  margin: 8px;
  min-width: 0;
}
.stock-slot img,
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  filter: saturate(.86) contrast(1.03) brightness(.97);
}
.tab-photo img {
  aspect-ratio: 16 / 10;
  filter: saturate(.92);
}
.stock-slot[data-stock="about"] img { object-position: 66% 38%; }
.stock-slot[data-stock="recruitment"] img { object-position: 50% 60%; }
.managed-lettings .portrait img { object-position: 62% 40%; }

.portrait figcaption,
.tab-photo figcaption,
.film figcaption {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #aeb8b0;
  font-size: 12px;
  line-height: 1.4;
}
.portrait figcaption::before,
.tab-photo figcaption::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--amber);
}
.split-open { gap: clamp(40px, 5.4vw, 80px); }
.js .story-pin { padding: 8px; }
.inline-art { padding: 8px; }
.scene-credit { border-radius: 4px; }

/* ---------- 2. Motion: nothing slides in ---------- */
.entry-reveal { animation: none !important; }
.js .story-window img,
.js .story-window .story-interface { transform: none; }
.js .story-window .story-art { transition: opacity .7s cubic-bezier(.4, 0, .2, 1); }
.btn--amber:hover,
.btn--ghost:hover { transform: none; }

/* ---------- 3. Sections: one background, hairlines the width of the page ---------- */
.band,
.band + .band,
.enquiry-story {
  background: none;
  border-top: 0;
  padding-block: 0;
}
.band > .container,
.enquiry-story > .container,
.pilot > .container {
  padding-block: var(--p-section);
  border-top: 1px solid var(--p-line);
}
.pilot { padding: 0; }
.pilot > .container { padding-block: 22px; }
.opening { padding-bottom: clamp(40px, 4.8vw, 64px); }
.band h2,
.closing-invitation h2 {
  font-size: clamp(24px, 2.15vw, 31px);
  letter-spacing: -.032em;
}
.enquiry-story h2 { font-size: clamp(28px, 2.8vw, 40px); }

/* the closing statement sits in a panel, like a Trust panel */
.reassurance > .container { border-top: 0; padding-top: 0; }
.reassure-inner {
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3.2vw, 42px);
  background: var(--sheet);
  border: 1px solid var(--p-line);
  border-radius: 14px;
}
.reassure-inner > a { white-space: nowrap; }

/* ---------- 4. Cards: the Trust card everywhere ---------- */
.process-path,
.practice-points,
.about-values,
.voice-band,
.trust-principles {
  gap: var(--p-gap);
}
.process-path li,
.practice-points li,
.about-values article,
.voice-band article,
.policy-points li,
.audio-card {
  position: relative;
  padding: 18px 18px 20px;
  background: var(--p-card);
  border: 1px solid var(--p-card-line);
  border-top: 2px solid var(--p-accent);
  border-radius: 10px;
}
.process-path h3,
.practice-points h3,
.policy-points h3,
.voice-band h3,
.about-values h2,
.trust-blocks h2 {
  font-size: 18px;
  font-weight: 590;
  line-height: 1.28;
  letter-spacing: -.018em;
  margin: 0 0 8px;
}
.process-path p,
.practice-points p,
.policy-points p,
.voice-band p,
.about-values p {
  margin-top: 0;
  color: var(--reading);
  font-size: 15px;
  line-height: 1.56;
}
.process-path li::before {
  display: block;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 18px;
  margin: 0;
  font: 500 12px/1 var(--f-mono);
  color: var(--amber);
}
.step-icon { margin-bottom: 16px; }
.service-opening .process-path { margin-top: clamp(26px, 3vw, 40px); }
.proposal {
  margin: var(--p-gap) 0 18px;
  padding: 16px 18px;
  background: var(--sheet);
  border: 1px solid var(--p-line);
  border-radius: 10px;
}
.proposal summary { font-size: 17px; font-weight: 590; }
.proposal p { margin: 10px 0 2px; font-size: 15px; }

.caller-quote { margin-bottom: 16px; }
.about-quote { margin: clamp(34px, 4vw, 52px) 0 14px; }
.voice-benefits .container > p { margin-top: 28px; }

/* ---------- capabilities: the open tab is a panel ---------- */
.cap-tabs { margin: 30px 0 var(--p-gap); border-bottom-color: var(--p-line-2); }
.cap-panel {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--sheet);
  border: 1px solid var(--p-line);
  border-radius: 14px;
  column-gap: clamp(28px, 4.4vw, 60px);
}
.cap-panel:focus-visible { outline-offset: 3px; }
.feature-list article { padding: 14px 0 16px; border-bottom-color: var(--p-line-2); }
.feature-list article:first-child { padding-top: 2px; }
.feature-list article:last-child { padding-bottom: 2px; }
.feature-list h3 { font-size: 19px; font-weight: 590; letter-spacing: -.02em; }
.feature-list p { font-size: 16px; line-height: 1.55; }
.audio-pair { gap: var(--p-gap); }
.audio-card { padding: 22px 22px 20px; }
.audio-card h3 { font-size: 19px; }
.audio-moods button { border-color: #67776b; background: #1f2723; }
.audio-moods button:hover { border-color: var(--amber); }
.audio-card blockquote { font-size: 16px; color: #e6e9e3; }
.demo-band h2 + p { margin: 10px 0 22px; }

/* ---------- legal: heading beside its cards, like the Trust rail and panel ---------- */
.policy-section .container { max-width: none; }
.policy-section .band-grid {
  display: grid;
  grid-template-columns: 318px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.policy-section .band-grid h2 { margin: 0; font-size: 22px; max-width: none; }
.policy-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--p-gap); }
.policy-points li + li { margin-top: 0; }
.policy-section .band-grid > div > p { max-width: 68ch; font-size: 16px; }
.policy-nav { margin-top: 24px; }

/* ---------- service: the call-flow illustration ---------- */
.service-opening .split-open { display: block; }
.flow {
  margin: clamp(26px, 3vw, 40px) 0 0;
  background: #1a211d;
  border: 1px solid var(--p-line);
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-color: #87978a #1a211d;
}
.flow:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.flow svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--f-body);
}
.flow text { fill: var(--ink); }
.flow .f-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.flow .f-hero { font-size: 18px; font-weight: 650; letter-spacing: -.02em; fill: #201a0d; }
.flow .f-sub { font-size: 12.5px; fill: var(--reading); }
.flow .f-label { font-size: 11px; font-weight: 620; letter-spacing: .12em; text-transform: uppercase; fill: #9ba79e; }
.flow .f-chip { font-size: 13.5px; font-weight: 700; fill: #17201c; letter-spacing: -.005em; }
.flow .f-ai { font: 700 10.5px/1 var(--f-mono); fill: #201a0d; letter-spacing: .04em; }
.flow .f-tile { font-size: 13px; font-weight: 560; }
.flow .n-agent { fill: var(--p-card); stroke: var(--amber); stroke-width: 1.5; }
.flow .n-plain { fill: var(--sheet); stroke: #67776b; stroke-width: 1; }
.flow .n-tile { fill: #2a372f; stroke: #536156; stroke-width: 1; }
.flow .n-chip { fill: #f4f0e8; }
.flow .n-ai { fill: var(--amber); }
.flow .l-in { fill: none; stroke: #aab5ac; stroke-width: 1.5; }
.flow .l-out { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 7 6; }
.flow .l-soft { fill: none; stroke: #67776b; stroke-width: 1; }
.flow .p-head { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.flow .p-bg { fill: #323d36; }
.flow .tick { fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- trust: source links ---------- */
.tc-source {
  margin-left: 4px;
  padding: 1px 6px 2px;
  border: 1px solid #67776b;
  border-radius: 4px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 560;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.tc-source::after { content: " ↗"; color: var(--amber); }
.tc-source:hover { border-color: var(--amber); }

/* ---------- tablet and phone: tidy, never the driver ---------- */
@media (max-width: 860px) {
  .policy-section .band-grid { grid-template-columns: 1fr; gap: 16px; }
  .reassure-inner { padding: 22px 20px; }
}
@media (max-width: 760px) {
  .cap-panel { padding: 18px 16px 20px; }
  .tab-photo { margin-top: 20px; }
}
@media (max-width: 560px) {
  .policy-points { grid-template-columns: 1fr; }
  .stock-slot, .portrait { margin: 8px 8px 0; }
}

/* the illustration has a wide drawing for laptops and a tall one for phones */
.flow .flow-tall { display: none; }
.flow { padding: 12px; }
@media (max-width: 860px) {
  .flow .flow-wide { display: none; }
  .flow .flow-tall { display: block; max-width: 420px; margin-inline: auto; }
  .flow { padding: 10px; }
}
.story-controls { margin-top: 18px; }

/* ---------- functions round, 29-11-2026 ---------- */
/* voice demos: three function-labelled cards, two awaiting their recordings */
.audio-trio { grid-template-columns: 1.5fr 1fr 1fr; align-items: stretch; }
.audio-kind {
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.audio-card--pending {
  background: none;
  border-style: dashed;
  border-top: 1px dashed var(--p-card-line);
  display: flex;
  flex-direction: column;
}
.audio-ghost { display: flex; gap: 8px; margin: 14px 0 auto; }
.audio-ghost i { width: 64px; height: 40px; border: 1px dashed #56635a; border-radius: 6px; }
.audio-pending {
  margin-top: 18px;
  color: #9ba79e;
  font-size: 13px;
}
.audio-pending::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
}
/* modest drawings on the two pilot pages */
.flow--mini { margin: 0; padding: 10px; }
.flow--mini svg { min-width: 0; }
@media (max-width: 900px) { .audio-trio { grid-template-columns: 1fr; } .audio-ghost { margin-bottom: 0; } }

/* ---------- no AI pictures: real photograph behind the ring, drawn screens elsewhere ---------- */
.home-hero::before { background-image: url("../img/stock/hero-lights.jpg"); filter: blur(2px) brightness(1.02); }
.draw { display: block; width: 100%; height: 100%; font-family: var(--f-body); }
.tab-photo .draw {
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgb(244 240 232 / 14%),
    0 0 0 7px var(--sheet),
    0 0 0 8px var(--p-card-line),
    0 34px 48px -30px rgb(0 0 0 / 70%);
}
.d-bg { fill: #1b231f; }
.d-phone { fill: #232c27; stroke: #67776b; stroke-width: 1.5; }
.d-notch { fill: #111815; }
.d-time { font-size: 38px; font-weight: 300; letter-spacing: -.03em; fill: #f4f0e8; }
.d-card, .d-slot { fill: #f4f0e8; }
.d-slot { fill: #e4e0d4; }
.d-label { font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; fill: #5b685f; }
.d-title { font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; fill: #17201c; }
.d-head { font-size: 23px; font-weight: 700; letter-spacing: -.03em; fill: #17201c; }
.d-sub { font-size: 13px; fill: #3a443d; }
.d-key { font-size: 12.5px; fill: #5b685f; }
.d-val { font-size: 13.5px; font-weight: 680; fill: #17201c; }
.d-rule { stroke: #cfd3c9; stroke-width: 1; }
.d-faint { stroke: #c3cdc3; stroke-width: 1.5; stroke-linecap: round; }
.d-amber { fill: #f5b82e; }
.d-agent { fill: #252e29; stroke: #f5b82e; stroke-width: 1.5; }
.d-ai { font: 700 13px/1 var(--f-mono); fill: #201a0d; letter-spacing: .04em; }
.d-pbg { fill: #323d36; }
.d-p { fill: none; stroke: #f4f0e8; stroke-width: 2.2; }
