/* =========================================================
   Bristol Property Partnership — homepage
   Brand (bpp Brand Guidelines + 2026 refresh):
   - Forest Green #007342: buttons, icons, borders. Never text. ~10% of the page.
   - Gun Metal Grey #636466: headlines and sub-headlines.
   - Black #000000: body copy (preferred colour). Grey #555 only for labels and small print.
     White #FFFFFF.  Apple Green removed.
   - Montserrat Bold headlines; Source Sans Pro for all body copy; Trebuchet MS fallback.
   ========================================================= */

:root {
  --forest: #007342;
  --forest-dark: #005c35;
  --forest-tint: #e8f2ed;
  --gunmetal: #636466;
  --black: #000;
  --white: #fff;
  --grey-50: #f5f5f5;
  --grey-100: #ececec;
  --grey-300: #d4d4d4;
  --grey-600: #555;

  /* Headline colour. The PDF design shows green headings; the brand guide says gun metal. */
  --heading: var(--gunmetal);

  --font-head: "Montserrat", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans Pro", "Trebuchet MS", sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
  --max: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--black); font: 400 17px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--heading); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
/* Jump links (#book, #team, #story) stop below the sticky header. */
[id] { scroll-margin-top: 96px; }
@media (max-width: 560px) { [id] { scroll-margin-top: 80px; } }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 100; border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }

.eyebrow { font: 700 .8rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gunmetal); margin-bottom: 14px; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--black); }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link.small { font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--font-body); padding: 15px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #222; }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--grey-50); }
.btn-sm { padding: 11px 16px; font-size: .92rem; white-space: nowrap; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--grey-50); border-bottom: 1px solid var(--grey-100); font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-links { display: flex; gap: 22px; margin-left: auto; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .topbar-addr { display: none; } .topbar-links { margin: 0 auto; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--grey-100); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }
.brand img { width: 120px; height: auto; }
.brand span { font-size: .72rem; color: var(--gunmetal); letter-spacing: .01em; }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-trigger { background: none; border: 0; font: 600 .98rem var(--font-head); color: var(--black); padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.nav-trigger::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav-trigger[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.nav-trigger:hover { background: var(--grey-50); }
.nav-link { display: block; font: 600 .98rem var(--font-head); color: var(--black); padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.nav-link:hover { background: var(--grey-50); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--forest); border-radius: 0; }
.nav-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
  .nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: none; }
}
.nav-menu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-size: .96rem; }
.nav-menu a:hover { background: var(--grey-50); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--grey-300); background: var(--white); border-radius: var(--radius-sm); padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--black); border-radius: 2px; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 480px) { .header-cta .btn { display: none; } }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--white); display: flex; flex-direction: column; }
.drawer[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--grey-100); }
.drawer-head img { width: 110px; }
.drawer-close { width: 44px; height: 44px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; }
.drawer-nav { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }
.drawer-group { border-bottom: 1px solid var(--grey-100); }
.drawer-group > button { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 20px 0; font: 600 1.15rem var(--font-head); color: var(--black); cursor: pointer; }
.drawer-group > button::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--gunmetal); border-bottom: 2px solid var(--gunmetal); transform: rotate(45deg); transition: transform .15s; }
.drawer-group > button[aria-expanded="true"]::after { transform: rotate(-135deg); }
.drawer-group ul { list-style: none; margin: 0; padding: 0 0 14px 14px; }
.drawer-group ul[hidden] { display: none; }
.drawer-group a { display: block; padding: 11px 0; text-decoration: none; font-size: 1.05rem; }
.drawer-link { display: block; padding: 20px 0; border-bottom: 1px solid var(--grey-100); font: 600 1.15rem var(--font-head); color: var(--black); text-decoration: none; }
.drawer-foot { padding: 16px var(--gutter) 24px; border-top: 1px solid var(--grey-100); display: grid; gap: 10px; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.15rem; max-width: 46ch; color: var(--black); margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--forest); aspect-ratio: 4 / 3; background: var(--grey-100); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero { padding: 32px 0 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 28px; }
  /* Photo goes after the search on phones and tablets, so the search stays above the fold. */
  .hero-media { aspect-ratio: 16 / 9; }
}

.search { background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); margin-bottom: 22px; }
.search-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--grey-50); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 14px; }
.search-tabs button { border: 0; background: none; padding: 10px; border-radius: 6px; font: 600 .95rem var(--font-head); color: var(--grey-600); cursor: pointer; } /* grey only to show the unselected tab */
.search-tabs button[aria-selected="true"] { background: var(--forest); color: var(--white); }
.search-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.search-form .btn { height: 48px; }
/* Whole properties: Type, Area and Max rent in a row, the button underneath */
.search-form.is-whole { grid-template-columns: 1fr 1fr 1fr; }
.search-form.is-whole .btn { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .btn { grid-column: 1 / -1; }
  .search-form.is-whole { grid-template-columns: 1fr 1fr; }
  .search-form.is-whole .search-type { grid-column: 1 / -1; }
  /* Tighter header and hero on phones so the Search button sits above the fold,
     even with a browser toolbar showing (aim: under ~550px on a 375x667 phone). */
  .topbar-in { min-height: 34px; }
  .header-in { min-height: 64px; }
  .brand img { width: 104px; }
  h1 { font-size: 2rem; }
  .hero h1 { margin-bottom: 20px; }
  .hero { padding-top: 20px; }
  .lede { font-size: 1.05rem; margin-bottom: 20px; }
  .search { padding: 12px; }
  .search-tabs { margin-bottom: 12px; }
  .search-tabs button { padding: 9px 6px; font-size: .9rem; white-space: nowrap; }
}

.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.search .field { margin: 0; }
.field > span, .field legend { font-size: .82rem; font-weight: 600; color: var(--grey-600); padding: 0; }
.field input, .field select { width: 100%; height: 48px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); padding: 0 14px; font: 400 1rem var(--font-body); color: var(--black); background: var(--white); }
.field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23636466' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field[hidden] { display: none; }
.field textarea { width: 100%; min-height: 96px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); padding: 12px 14px; font: 400 1rem/1.5 var(--font-body); color: var(--black); background: var(--white); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-tint); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100); }
.stats-in { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 28px; padding-bottom: 28px; }
.stat strong { display: block; font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--font-head); color: var(--heading); }
.stat span { font-size: .9rem; color: var(--grey-600); }
.stat + .stat { border-left: 1px solid var(--grey-100); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding-top: 0; }
@media (max-width: 700px) { .section { padding: 60px 0; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--black); }
.aside-note { margin: 28px 0 0; color: var(--black); }

/* ---------- Rooms ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rooms { grid-template-columns: 1fr; } }
.room { border: 1px solid var(--grey-100); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .2s, transform .2s; }
.room:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.room a { display: block; text-decoration: none; height: 100%; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--grey-100); }
.room-body { padding: 18px 20px 22px; }
.room-area { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 6px; }
.room h3 { color: var(--black); font-size: 1.12rem; margin-bottom: 6px; }
.room-meta { font-size: .92rem; color: var(--grey-600); margin-bottom: 14px; }
.room-price { font-weight: 700; font-size: 1.05rem; margin: 0; }
/* Grey placeholder cards while the live rooms load. */
.room-loading { pointer-events: none; padding-bottom: 22px; }
.room-loading .sk-img { display: block; aspect-ratio: 3 / 2; background: var(--grey-100); }
.room-loading .sk-line { display: block; height: 14px; margin: 18px 20px 0; border-radius: 4px; background: var(--grey-100); }
.room-loading .sk-short { width: 40%; margin-top: 10px; }
.rooms-fallback { grid-column: 1 / -1; margin: 0; padding: 32px; text-align: center; border: 1px solid var(--grey-100); border-radius: var(--radius); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 32px 0 0; padding: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--grey-100); padding-top: 20px; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: -2px; left: 0; width: 40px; border-top: 2px solid var(--forest); padding-top: 18px; font: 700 .8rem var(--font-head); color: var(--gunmetal); }
.steps h3 { margin-top: 18px; }
.steps p { color: var(--black); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Current tenants ---------- */
.tenants { background: var(--gunmetal); color: var(--white); padding: 72px 0; }
.tenants h2 { color: var(--white); }
.tenants > .wrap > p { opacity: .9; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 1000px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .quick { grid-template-columns: 1fr; } }
.quick-card { display: flex; align-items: center; gap: 14px; background: var(--white); color: var(--black); text-decoration: none; padding: 18px; border-radius: var(--radius); transition: transform .15s, box-shadow .15s; }
.quick-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.quick-card strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.quick-card small { color: var(--grey-600); font-size: .86rem; }
.quick-icon { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--grey-50); display: grid; place-items: center; }
.quick-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--black); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-arrow { margin-left: auto; color: var(--forest); font-weight: 700; }
.tenants-emergency { margin: 24px 0 0; font-size: .95rem; opacity: .9; }
.tenants-emergency a { color: var(--white); font-weight: 700; }

/* ---------- Landlords ---------- */
.landlords { background: var(--grey-50); }
.ll-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ll-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--forest); aspect-ratio: 5 / 4; }
.ll-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .ll-in { grid-template-columns: 1fr; gap: 32px; } .ll-media { aspect-ratio: 16 / 9; } }
.services { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .services { grid-template-columns: 1fr; } }
.services li { background: var(--white); border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid var(--grey-100); }
.services strong { display: block; font-family: var(--font-head); font-size: .98rem; margin-bottom: 2px; }
.services span { font-size: .88rem; color: var(--grey-600); }

/* ---------- Book a call ---------- */
.book { padding: 96px 0; border-top: 1px solid var(--grey-100); }
.book-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .book { padding: 64px 0; } .book-in { grid-template-columns: 1fr; gap: 36px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
.quote { margin: 0; padding-left: 20px; border-left: 2px solid var(--forest); }
.quote blockquote { margin: 0 0 8px; font-size: 1.05rem; }
.quote figcaption { font-size: .9rem; color: var(--grey-600); }
.book-form { background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 480px) { .book-form { padding: 20px; } }
/* GoHighLevel call form (iframe). The frame itself is the card: border, rounded corners and a soft shadow
   all the way round, drawn here on the website so the frame's edges can't cut the shadow off.
   !important because GoHighLevel's embed code and form_embed.js set the frame's border inline.
   form_embed.js sets the height to fit the form exactly (and keeps the frame hidden until then), so no
   minimum height here: one left an empty strip under the form, which looked like a second card edge. */
.book-embed iframe {
  display: block; width: 100%; background: var(--white);
  border: 1px solid var(--grey-300) !important; border-radius: var(--radius) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 14px 36px rgba(0,0,0,.10);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--grey-300); border-radius: 999px; font-size: .95rem; }
.chips input:checked + span { border-color: var(--forest); background: var(--forest-tint); font-weight: 600; }
.chips input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.form-note { font-size: .82rem; color: var(--grey-600); margin: 12px 0 0; text-align: center; }
.form-status { margin: 12px 0 0; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
/* Confirmation panel that covers the form card after a request is sent. */
.book-form { position: relative; }
.form-done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; background: var(--white); border-radius: var(--radius); animation: form-done-in .3s ease-out; }
.form-done[hidden] { display: none; }
.form-done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: var(--white); display: grid; place-items: center; }
.form-done h3 { margin: 0; font-size: 1.35rem; color: var(--heading); max-width: 22ch; }
.form-done h3:focus { outline: none; }
.form-done p { margin: 0; max-width: 40ch; }
.form-done-small { font-size: .95rem; color: var(--grey-600); }
.form-done .text-link { background: none; border: 0; padding: 0; margin-top: 6px; font: inherit; font-weight: 700; cursor: pointer; }
@keyframes form-done-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .form-done { animation: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Review stars (gold, the usual review colour) ---------- */
.stars { color: #f5b301; letter-spacing: 1px; font-size: .95rem; line-height: 1; white-space: nowrap; }
.quote .stars { margin-right: 4px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
/* Reviews wheel: every card sits in the same grid cell; data-pos (set by main.js) places it on the "wheel". */
.review-stage { list-style: none; margin: 0; padding: 12px 0; display: grid; overflow: hidden; touch-action: pan-y; user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
/* align-self: stretch makes every card as tall as the longest review, so all cards (and their shadows) match. */
.review-card { grid-area: 1 / 1; align-self: stretch; justify-self: center; width: min(560px, 56%); display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 28px; background: var(--white); box-shadow: var(--shadow);
  transform: perspective(1200px) translateX(calc(var(--x, 0%) + var(--drag, 0px))) translateZ(var(--z, 0px)) rotateY(var(--r, 0deg)) scale(var(--s, 1)); transition: transform .55s cubic-bezier(.22,.61,.36,1), filter .55s, opacity .55s; }
.review-card[data-pos="front"] { z-index: 3; }
.review-card[data-pos="right"], .review-card[data-pos="left"] { --z: -180px; z-index: 2; filter: brightness(.55) blur(3px); cursor: pointer; }
.review-card[data-pos="right"] { --x: 62%; --r: 20deg; }
.review-card[data-pos="left"] { --x: -62%; --r: -20deg; }
.review-card[data-pos="right"]:hover, .review-card[data-pos="left"]:hover { filter: brightness(.65) blur(3px); }
.review-card[data-pos="back"] { --s: .72; z-index: 1; opacity: 0; }
.review-stage.is-dragging { cursor: grabbing; }
.review-stage.is-dragging .review-card { transition: none; }
.review-ctrl { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 24px; }
@media (max-width: 700px) {
  .review-card { width: 78%; padding: 22px; }
  .review-card[data-pos="right"] { --x: 60%; --r: 20deg; }
  .review-card[data-pos="left"] { --x: -60%; --r: -20deg; }
}
.review-card blockquote { margin: 0; font-size: 1rem; flex: 1; }
.review-by { margin: 0; font-weight: 700; font-size: .95rem; }
.review-by span { display: block; font-weight: 400; font-size: .85rem; color: var(--grey-600); }

/* ---------- Team ---------- */
.team { background: var(--grey-50); }
.slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 24px; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: .18s; }
.slide img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: top; border-radius: var(--radius-sm); background: var(--grey-100); }
.slide-count { font-size: .78rem; font-weight: 700; color: var(--grey-600); letter-spacing: .06em; margin-bottom: 8px; }
.slide h3 { font-size: 1.6rem; margin-bottom: 4px; }
.slide .role { font-family: var(--font-head); font-weight: 600; margin-bottom: 14px; }
.slide p:last-child { max-width: 60ch; margin: 0; }
@media (max-width: 720px) { .slide { grid-template-columns: 1fr; gap: 20px; } .slide img { max-width: 240px; } }
.no-js .slide { opacity: 1; visibility: visible; grid-area: auto; margin-bottom: 16px; }
.slider-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 16px; }
.dots { display: flex; gap: 8px; flex-wrap: wrap; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--grey-300); cursor: pointer; transition: width .2s, background .2s; }
.dots button[aria-selected="true"] { width: 24px; background: var(--gunmetal); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--grey-300); background: var(--white); font-size: 1.1rem; cursor: pointer; }
.arrow-primary { background: var(--forest); border-color: var(--forest); color: var(--white); }
.arrow:hover { filter: brightness(.95); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; font-size: .94rem; border-top: 1px solid var(--grey-100); }
.footer-grid { display: grid; grid-template-columns: 2.2fr repeat(5, 1fr); gap: 32px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h3 { font-size: .95rem; color: var(--gunmetal); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
/* "Cookie settings": CookieYes reopens its preferences for any element with class cky-banner-element. */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.footer-brand img { width: 96px; margin-bottom: 14px; }
.footer-brand address { font-style: normal; margin-bottom: 12px; }
.footer-brand p a { text-decoration: underline; font-weight: 600; word-break: break-word; }
.footer-brand h3 { margin-top: 20px; }

/* Email picker */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.email-pick { position: relative; display: inline-block; max-width: 100%; }
.footer .email-trigger { text-decoration: underline; font-weight: 600; overflow-wrap: anywhere; }
.email-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 200px; padding: 6px; background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); box-shadow: var(--shadow); }
.email-menu[hidden] { display: none; }
.email-menu a, .email-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 6px; background: none; font: 400 .95rem var(--font-body); color: var(--black); text-decoration: none; cursor: pointer; }
.email-menu a:hover, .email-menu button:hover, .email-menu a:focus-visible, .email-menu button:focus-visible { background: var(--grey-50); text-decoration: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 20px; margin: 0; }
.hours dd { margin: 0; }
.accred { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--grey-100); margin-top: 40px; padding-top: 20px; }
.accred-label { font: 600 .9rem var(--font-head); color: var(--gunmetal); }
.accred ul { display: flex; flex-wrap: wrap; gap: 8px; }
.accred li { margin: 0; padding: 6px 12px; border: 1px solid var(--grey-300); border-radius: 999px; font-size: .82rem; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: .82rem; color: var(--grey-600); }

/* =========================================================
   About page
   ========================================================= */

.bg-soft { background: var(--grey-50); }

/* Photo frames. .photo holds a real image; .img-slot marks where a photo is still to come. */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--forest); background: var(--grey-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.img-slot { margin: 0; border-radius: var(--radius); border: 2px dashed var(--grey-300); background: var(--grey-50); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--grey-600); }
.img-slot strong { display: block; font: 600 .95rem var(--font-head); color: var(--gunmetal); margin-bottom: 4px; }
.img-slot span { font-size: .85rem; }
.ratio-wide { aspect-ratio: 16 / 10; }
.ratio-photo { aspect-ratio: 4 / 3; }
.ratio-landscape { aspect-ratio: 3 / 2; }

/* Page hero: same rhythm as the homepage hero */
.page-hero { padding: 56px 0 64px; border-bottom: 1px solid var(--grey-100); }
.page-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lede { margin-bottom: 28px; }
@media (max-width: 900px) {
  .page-hero { padding: 32px 0 48px; }
  .page-hero-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) { .page-hero { padding-top: 20px; } }

/* Story */
.story-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story-copy p { max-width: 60ch; }
@media (max-width: 900px) { .story-in { grid-template-columns: 1fr; gap: 32px; } }

/* Timeline: one grey bar with a green fill; dots at the start (2012), middle (2022) and end (Today).
   main.js adds .is-animated, then .in-view when it scrolls into view, so the fill runs left to right. */
.timeline { --dot: 18px; --track: 4px; --gap: 18px; list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px 0 0; padding: calc(var(--dot) + var(--gap)) 0 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: calc((var(--dot) - var(--track)) / 2); height: var(--track); border-radius: 999px; }
.timeline::before { background: var(--grey-100); }
.timeline::after { background: var(--forest); transform-origin: left center; transition: transform 1.4s cubic-bezier(.4, 0, .2, 1); }
.timeline li { position: static; }
.timeline li::before { content: ""; position: absolute; top: 0; z-index: 1; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--white); transition: background-color .3s; }
.timeline li:nth-child(1)::before { left: 0; }
.timeline li:nth-child(2)::before { left: 50%; transform: translateX(-50%); }
.timeline li:nth-child(3)::before { right: 0; }
.timeline li:nth-child(2) { text-align: center; }
.timeline li:nth-child(3) { text-align: right; }
.timeline .year { display: block; font: 700 1.5rem/1.1 var(--font-head); color: var(--heading); margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--black); }
.timeline.is-animated:not(.in-view)::after { transform: scaleX(0); }
.timeline.is-animated:not(.in-view) li::before { background: var(--grey-300); }
.timeline.is-animated li:nth-child(2)::before { transition-delay: .7s; }
.timeline.is-animated li:nth-child(3)::before { transition-delay: 1.35s; }

/* Phones: the bar turns vertical, with the dots down the left. */
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; padding: 0 0 0 calc(var(--dot) + var(--gap)); }
  .timeline::before, .timeline::after { top: 4px; bottom: 0; left: calc((var(--dot) - var(--track)) / 2); right: auto; width: var(--track); height: auto; }
  .timeline::after { transform-origin: center top; }
  .timeline.is-animated:not(.in-view)::after { transform: scaleY(0); }
  .timeline li { position: relative; }
  .timeline li:nth-child(n) { text-align: left; }
  .timeline li:nth-child(n)::before { left: calc(-1 * (var(--dot) + var(--gap))); right: auto; top: 4px; transform: none; }
}

/* What we aim to do */
.aims { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 800px) { .aims { grid-template-columns: 1fr; } }
.aim { background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.aim h3 { font-size: 1.3rem; margin-bottom: 16px; }
.aim .ticks { margin-bottom: 24px; }
.aim .btn { margin-top: auto; align-self: flex-start; }

/* Protection row */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trust-item p { margin: 0; color: var(--black); font-size: .97rem; }
/* Accreditation logos: heights tuned so the four logos look the same visual size */
/* Four equal columns; every logo sits in the same 72px box so headings and text line up. */
.trust-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .trust-4 { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .trust-4 { grid-template-columns: 1fr; } }
.trust-item:has(.trust-logos) { flex-direction: column; gap: 16px; }
.trust-logos { display: flex; align-items: center; height: 72px; }
.trust-logos img, .accred-logos img { width: auto; display: block; }
.trust-logos .logo-ukala { height: 72px; }
.trust-logos .logo-cmp { height: 46px; }
.trust-logos .logo-dps { height: 66px; }
.trust-logos .logo-prs { height: 40px; }
.accred-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.accred .accred-logos li { border: 0; padding: 0; border-radius: 0; }
.accred-logos .logo-ukala { height: 52px; }
.accred-logos .logo-cmp { height: 34px; }
.accred-logos .logo-dps { height: 46px; }
.accred-logos .logo-prs { height: 30px; }
.trust-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--forest); display: grid; place-items: center; }
.trust-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Community: partner credit, logo and text as one quiet band (logo has a white background, so keep the section white) */
.community { background: var(--white); padding: 72px 0; }
.community-in { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; align-items: center; }
.community-logo { width: 100%; height: auto; padding-right: 48px; }
.community-copy { border-left: 1px solid var(--grey-100); padding-left: 48px; }
.community-copy h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.community-copy p:last-child { margin: 0; max-width: 56ch; }
@media (max-width: 700px) {
  .community { padding: 56px 0; }
  .community-in { grid-template-columns: 1fr; gap: 24px; }
  .community-logo { width: 200px; padding-right: 0; }
  .community-copy { border-left: 0; padding-left: 0; border-top: 1px solid var(--grey-100); padding-top: 24px; }
}

/* Closing call to action: dark band, same colour as the homepage's "Current tenants" section */
.cta { background: var(--gunmetal); color: var(--white); padding: 72px 0; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { opacity: .9; max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
@media (max-width: 560px) { .cta { padding: 56px 0; } .cta-actions .btn { width: 100%; } }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 32px 0 0; padding: 0; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-100); display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 20%; background: var(--grey-100); }
.person-body { padding: 20px 22px 24px; }
.person h3 { font-size: 1.2rem; margin-bottom: 2px; }
.person .role { font: 600 .92rem var(--font-head); color: var(--black); margin-bottom: 12px; }
.person p:last-child { margin: 0; font-size: .97rem; }
