
/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --paper:       #f7f3ea;  /* page background            */
  --accent:      #E4003B;  /* Labour red                 */
  --accent-dark: #9a352f;  /* deep red — strap/links     */
  --ink:         #211c18;  /* headings / name            */
  --body:        #46403a;  /* paragraph text             */
  --muted:       #9a8f7c;  /* footer text                */
  --muted-2:     #a89b84;  /* eyebrows / labels          */
  --hairline:    rgba(0,0,0,.08);

  --wrap-wide:   1080px;
  --wrap-read:   760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   Scaffolding
   ============================================================ */
.page { display: flex; flex-direction: column; min-height: 100vh; }

.topbar { flex: none; height: 6px; background: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap-wide); margin: 0 auto; }
.wrap--read { max-width: var(--wrap-read); }

/* ============================================================
   Masthead
   ============================================================ */
.masthead {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 40px 0;
}
.masthead__logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.masthead__logo img { display: block; height: 26px; width: auto; max-width: none; }

.masthead__region {
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); white-space: nowrap;
}
.masthead__back {
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted-2); text-decoration: none;
}
.masthead__back:hover { color: var(--accent-dark); }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  flex: 1 0 auto;
  padding: clamp(40px, 7vh, 90px) 40px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero__text { flex: 1 1 420px; min-width: min(100%, 360px); }

.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 22px;
}

.hero__name {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(58px, 11vw, 116px);
  line-height: .9;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* MSP badge — Poppins lettering in a red square box.
   Box height = x-height of "Fagan"; box bottom sits on the
   baseline; lettering slightly smaller than the box.
   Hand-tuned values kept verbatim from the design reference. */
.badge-msp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: baseline;
  background: var(--accent);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 59px);
  line-height: 1;
  letter-spacing: .01em;
  height: clamp(31px, 5.85vw, 62px);
  padding: 0 .24em;
  margin-left: 10px;
  border-radius: 5px;
  transform: translateY(-0.19em);
}

.strapline {
  max-width: 680px;
  margin: 30px 0 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.35;
  color: var(--accent-dark);
}

.welcome {
  max-width: 640px;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.72;
  color: var(--body);
}

/* Portrait — desktop column */
.hero__photo-desktop {
  flex: 1 1 300px;
  min-width: min(100%, 280px);
  max-width: 420px;
}
.hero__photo-desktop img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: 50% 6%;
  border-radius: clamp(7px, 1.4vw, 12px);
  box-shadow: 0 18px 44px -18px rgba(0,0,0,.4);
}

/* Portrait — mobile, sits inside the text column under the strapline */
.hero__photo-mobile {
  display: none;
  width: 100%;
  height: clamp(200px, 52vw, 300px);
  object-fit: cover;
  object-position: center 6%;
  border-radius: 12px;
  box-shadow: 0 14px 36px -16px rgba(0,0,0,.4);
  margin: 0 0 28px;
}

@media (max-width: 760px) {
  .hero__photo-desktop { display: none; }
  .hero__photo-mobile  { display: block; }
}

/* On narrow phones the logo keeps its true size; the region label gives way:
   it shrinks a touch and may wrap to a second line rather than squeezing the logo. */
@media (max-width: 480px) {
  .masthead__region {
    font-size: 12px;
    letter-spacing: .06em;
    white-space: normal;
    text-align: right;
  }
}

/* ============================================================
   Contact bar
   ============================================================ */
.contact { flex: none; background: var(--accent); color: #fff; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding: 40px;
}
.contact__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  opacity: .72; margin: 0 0 10px;
}
.contact__email {
  font-size: 16px; line-height: 1.5; font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}
.contact__address { font-size: 16px; line-height: 1.6; margin: 0; }
.contact__social { display: flex; gap: 18px; font-size: 15px; font-weight: 600; }
.contact__social a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 2px;
}
.contact__handle { font-size: 14px; opacity: .85; margin: 8px 0 0; }
.contact a:hover { border-bottom-color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.sitefoot { flex: none; }
.sitefoot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 40px 30px;
  border-top: 1px solid var(--hairline);
}
.sitefoot__copy { font-size: 13px; color: var(--muted); }
.sitefoot__link {
  font-size: 13px; font-weight: 600;
  color: var(--accent-dark); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}

/* ============================================================
   Privacy notice
   ============================================================ */
.doc { flex: 1 0 auto; padding: 48px 40px 80px; }
.doc__kicker {
  font-size: 12px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 16px;
}
.doc__title {
  margin: 0 0 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: clamp(42px, 7vw, 62px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.doc__updated { font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.doc__intro { font-size: 17px; line-height: 1.72; color: var(--body); margin: 0 0 14px; }
.doc__draft-flag {
  margin: 0 0 40px;
  padding: 12px 14px;
  font-size: 13px; line-height: 1.5; font-weight: 600;
  color: var(--accent-dark);
  background: #f6e6e3;
  border: 1px solid #ecccc6;
  border-radius: 8px;
}

/* Body region — styles both the bundled draft and any wording the
   office later pastes into the WordPress page editor. */
.privacy-body > *:first-child { margin-top: 0; }
.privacy-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: 25px; line-height: 1.2;
  margin: 34px 0 12px; color: var(--ink);
}
.privacy-body p {
  font-size: 16px; line-height: 1.72; color: var(--body); margin: 0 0 16px;
}
.privacy-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Motion preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
