/* =========================================================
   John Woodcock, Lord Walney
   Consistent with Powerful Street (navy base, serif display,
   blue accent) but subtly different: a sans utility face for
   labels, an asymmetric photo-led hero, and a thin brass
   hairline used as the signature accent.
   ========================================================= */

:root {
  /* Colour */
  --ink:        #1c2b3a;   /* primary navy (hero + dark sections) */
  --ink-deep:   #16222e;   /* deeper navy for gradients */
  --paper:      #f5f6f7;   /* light section background */
  --paper-warm: #eef0f2;
  --line:       #dfe3e7;   /* hairline on light */
  --accent:     #4a86c4;   /* steel blue (slightly cooler than PS) */
  --accent-dk:  #356097;
  --brass:      #b8975a;   /* signature hairline accent */
  --text:       #25313d;   /* body on light */
  --muted:      #5a6675;   /* secondary text on light */
  --muted-soft: #9aa6b3;
  --on-dark:    #eef2f6;   /* body on navy */
  --on-dark-mut:#a9b6c4;

  /* Type */
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body:    "Source Serif 4", Georgia, serif;
  --util:    "Inter", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Eyebrow (utility face = signature contrast) ---------- */
.eyebrow {
  font-family: var(--util);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-dk);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.centered { display: flex; justify-content: center; }
.eyebrow.light { color: var(--on-dark-mut); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--util);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(74,134,196,.32);
}
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dk); }

/* Ghost button on the dark hero needs light text + border */
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.38); }
.hero .btn-ghost:hover { color: #fff; border-color: var(--accent); background: rgba(74,134,196,.18); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28,43,58,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: .01em;
}
.wordmark:hover { text-decoration: none; }
.wordmark-accent { color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: 1.9rem; }
.primary-nav a {
  font-family: var(--util);
  font-size: .92rem;
  font-weight: 500;
  color: var(--on-dark-mut);
  letter-spacing: .01em;
}
.primary-nav a:hover { color: #fff; text-decoration: none; }
.primary-nav .nav-cta {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  padding: .42rem 1.05rem;
  border-radius: 999px;
}
.primary-nav .nav-cta:hover { border-color: var(--accent); background: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(74,134,196,.16), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  letter-spacing: -.01em;
  margin: .2rem 0 1.3rem;
  color: #fff;
}
.hero-name-accent { color: var(--accent); }
.credential-line {
  font-family: var(--util);
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--on-dark-mut);
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}
.credential-line .dot { color: var(--brass); padding: 0 .25rem; }
.hero-lede {
  font-size: 1.18rem;
  color: var(--on-dark);
  max-width: 36ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero-portrait { position: relative; }
.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  background: #2b3c4d; /* fallback while image loads */
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.portrait-rule {
  position: absolute;
  left: -12px; bottom: -12px;
  width: 64%; height: 3px;
  background: var(--brass);
  border-radius: 2px;
}

/* ---------- Section shell ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-align: center;
  margin: 0 0 1.6rem;
  letter-spacing: -.01em;
}
.section-title.light { color: #fff; }
.section-intro {
  text-align: center;
  color: var(--muted);
  margin: -.6rem auto 2.6rem;
  max-width: 48ch;
}

/* ---------- About ---------- */
.about { background: var(--paper); }
.prose p { margin: 0 0 1.2rem; }
.prose a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Card grids ---------- */
.card-grid { display: grid; gap: 1.4rem; }
.card-grid.two   { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Reviews ---------- */
.reviews { background: #fff; border-block: 1px solid var(--line); }
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem 1.9rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.review-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--brass);
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-year {
  font-family: var(--util);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--accent-dk);
  margin: 0 0 .6rem;
}
.review-card h3 { font-size: 1.42rem; margin: 0 0 .9rem; }
.card-body { color: var(--muted); margin: 0 0 1.4rem; flex: 1; }
.card-link {
  font-family: var(--util);
  font-weight: 600;
  font-size: .92rem;
  color: var(--accent-dk);
}
.card-link:hover { text-decoration: none; color: var(--ink); }

/* ---------- Parliament info cards ---------- */
.parliament { background: var(--paper); }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.info-card h3 { font-size: 1.22rem; margin: 0 0 .6rem; }
.info-card p { color: var(--muted); margin: 0 0 .9rem; font-size: .98rem; }
.info-card p:last-child { margin-bottom: 0; }

/* ---------- Advisory (dark cross-link band) ---------- */
.advisory {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(74,134,196,.18), transparent 60%),
    linear-gradient(160deg, var(--ink-deep), var(--ink));
  color: var(--on-dark);
}
.advisory-inner { text-align: center; }
.advisory-lede {
  color: var(--on-dark);
  font-size: 1.12rem;
  max-width: 56ch;
  margin: 0 auto 2rem;
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); text-align: center; }
.contact-lede { color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; }
.contact-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-mut); padding-top: 2.6rem; }
.footer-grid {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-name { font-family: var(--display); font-size: 1.15rem; color: #fff; margin: 0 0 .2rem; }
.footer-sub { font-family: var(--util); font-size: .82rem; letter-spacing: .04em; margin: 0; color: var(--on-dark-mut); }
.footer-contact { margin: .95rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.footer-contact a { font-family: var(--util); font-size: .9rem; color: var(--on-dark-mut); width: max-content; }
.footer-contact a:hover { color: #fff; text-decoration: none; }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { font-family: var(--util); font-size: .9rem; color: var(--on-dark-mut); }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-base { padding: 1.2rem 0 2rem; }
.footer-base p { font-family: var(--util); font-size: .8rem; margin: 0; color: var(--muted-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 360px; margin-inline: auto; order: -1; }
  .card-grid.two, .card-grid.three { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: .5rem 0;
    transform: translateY(-130%);
    transition: transform .28s ease;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: .95rem var(--gutter); width: 100%; font-size: 1rem; }
  .primary-nav .nav-cta { border: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .news-card:hover { transform: none; }
}