/* Psychology Pathways theme: front-end styles.
   Ported from the approved V8 concept (concept-v8/src/styles.css) with these deliberate changes:
   - hero leaf overlay rules removed (David's feedback: no leaves over the pier photograph; foliage elsewhere unchanged);
   - asset URLs made relative to this file; no external fonts or scripts.
   Typography (Brett, 9 Nov 2026): Georgia for the display headings (h1, h2, quotes, the big phone number); Source Sans 3, self-hosted,
   for body text, lists, smaller headings and supporting text. */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --sans: "Source Sans 3", Arial, Helvetica, sans-serif;
  --paper: #f8fbfc;
  --white: #ffffff;
  --sea: #d8eaf3;
  --mist: #f0f6fb;
  --sage: #e6efe2;
  --green: #4f8a3a;
  --blue: #1f4a72;
  --blue-bright: #14569b;
  --blue-deep: #17385a;
  --ink: #1d2a33;
  --muted: #4d5b65;
  --line: #c9d9e0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-bright); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, blockquote, .phone, .lead { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h3, .lead { font-family: var(--sans); }
h3 { font-weight: 600; }
h1 { font-size: clamp(1.9rem, 2.5vw, 2.7rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 700; color: #10294a; }
h2 { font-size: clamp(1.9rem, 2.8vw, 3rem); line-height: 1.16; letter-spacing: -0.02em; color: var(--blue-deep); }
h3 { font-size: 1.3rem; line-height: 1.25; margin: 4px 0 8px; }
.container { width: min(1250px, calc(100% - 90px)); margin: auto; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.note { font-size: 0.86rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 10px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 10px; }
.stagingnotice { background: #1f2933; color: #fff; text-align: center; padding: 8px 16px; font-size: .95rem; line-height: 1.4; }
.stagingnotice p { margin: 0; }

/* Header: genuine logo, plain links, one clear action */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
/* Phones and tablets: fully opaque (same white), so the footer logo and other content cannot show through the sticky header. */
@media (max-width: 1000px) { .header { background: #fff; } }
.headerin { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 104px; }
.brand { display: block; flex: none; }
.brand img { height: 74px; width: auto; }
.nav { display: flex; gap: 34px; font-size: 1rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--blue-bright); }
.menu { display: none; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--blue); color: var(--blue); font: 600 1rem var(--sans); border-radius: 6px; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue-bright); color: #fff; border: 2px solid var(--blue-bright); padding: 12px 26px; min-height: 48px; text-decoration: none; font-weight: 700; font-size: 0.98rem; border-radius: 8px; }
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button.ghost { background: rgba(255, 255, 255, 0.85); color: var(--blue-bright); }
.button.ghost:hover { background: var(--blue-bright); color: #fff; }
.headbtn { min-height: 46px; padding: 10px 22px; white-space: nowrap; }
.textlink { font-weight: 700; font-size: 0.98rem; text-decoration: none; color: var(--blue-bright); }
.textlink:hover { text-decoration: underline; text-underline-offset: 5px; }
.cta { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }

/* Hero: short and wide. The pier sits to the right; the left fades to white behind the text. */
.hero { position: relative; isolation: isolate; background: #e4f0f8; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px 0 118px; overflow: hidden; }
.herobg { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: 0; }
.herobg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.herocopy { position: relative; z-index: 2; }
.herotext { max-width: min(500px, 46vw); background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 26px 34px 30px; border-radius: 14px; box-shadow: 0 10px 30px rgba(10, 40, 80, 0.12); }
.nowrap { white-space: nowrap; }
.leaf { position: absolute; pointer-events: none; height: auto; max-width: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.leaf-al { left: -3vw; bottom: -2vw; width: clamp(150px, 15vw, 270px); z-index: 0; opacity: 0.75; }
.leaf-ar { right: -3vw; bottom: -2vw; width: clamp(150px, 15vw, 270px); z-index: 0; opacity: 0.75; }
.leaf-ml { left: -3vw; top: 50%; transform: translateY(-50%); width: clamp(150px, 17vw, 290px); z-index: 0; }
.leaf-mr { right: -3vw; top: 50%; transform: translateY(-50%); width: clamp(150px, 17vw, 290px); z-index: 0; }
.meetgrid { position: relative; z-index: 1; }
.herotext h1 { margin: 2px 0 18px; }
.herotext h1 em { color: var(--blue-bright); font-style: italic; }
.lead { font-size: 1.1rem; line-height: 1.55; margin-bottom: 0; max-width: 500px; color: var(--ink); }
/* shallow curve: white rises at both outer edges and dips towards the centre */
.curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(26px, 3.9vw, 62px); fill: #fff; display: block; z-index: 1; }

/* Section dividers: shallow curves, alternating dip and rise, each filled with the colour of the next section */
.sep { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(26px, 3.4vw, 52px); display: block; z-index: 3; pointer-events: none; }
.to-mist { fill: var(--mist); }
.to-sea { fill: var(--sea); }
.to-sage { fill: var(--sage); }
.to-deep { fill: var(--blue-deep); }
.help, .consult, .contact { position: relative; }
.quoteband { margin: 52px auto 0; }

/* Meet David: compact band with portrait, text and two facts */
.meet { background: #fff; position: relative; isolation: isolate; padding: 28px 0 78px; overflow: clip; }
.meetgrid { display: grid; grid-template-columns: clamp(300px, 27vw, 390px) 1fr 250px; gap: 0; align-items: center; }
.portrait { margin: 0 40px 0 0; }
.portrait img { width: 100%; aspect-ratio: 1000 / 940; object-fit: cover; object-position: 50% 12%; border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.14); }
.meettext { border-left: 1px solid var(--line); padding: 4px 40px; }
.meettext h2 { margin: 0 0 6px; }
.role { font-size: 0.92rem; color: var(--muted); margin-bottom: 12px; }
.meettext p:not(.eyebrow):not(.note):not(.role) { font-family: var(--sans); font-size: 1.15rem; line-height: 1.7; max-width: 640px; }
.meettext .eyebrow { margin-bottom: 6px; }
.meetfacts { list-style: none; margin: 0; padding: 4px 0 4px 32px; border-left: 1px solid var(--line); display: grid; gap: 22px; }
.meetfacts li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.meetfacts strong { display: block; font-family: var(--sans); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
/* The decorative foliage (.leaf-mr) ran under the text at laptop widths (about 1024 and 1200-1440px) and made the last letters hard to read
   (measured 11 Nov 2026). Its inner edge now fades out; the outer edge and the overall look are unchanged. */
.leaf-mr { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(90deg, transparent 0, transparent 52%, #000 88%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(90deg, transparent 0, transparent 52%, #000 88%); mask-composite: intersect; }
.ico { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

.pull { background: var(--paper); padding: 44px 0 40px; }
.signature { margin: 0 auto; max-width: 760px; text-align: center; color: var(--blue); font-style: italic; font-size: 1.4rem; line-height: 1.5; }
.signature p { margin: 0; }

/* Featured articles: three clean cards */
.writing { background: var(--mist); padding: 64px 0 118px; position: relative; isolation: isolate; overflow: hidden; }
.writing .container { position: relative; z-index: 1; }
.writingtop { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.writingtop h2 { margin: 0 0 22px; color: var(--blue-deep); }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article { background: #fff; border: 1px solid #dbe6ee; border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.08); overflow: hidden; display: flex; flex-direction: column; padding-bottom: 20px; }
.article small, .row small { font-size: 0.86rem; color: var(--muted); display: block; margin-top: 14px; }
.article small, .article h3, .article p, .article .more { margin-left: 24px; margin-right: 24px; }
.article h3 { margin-top: 6px; font-weight: 700; }
.article h3 a, .row h2 a { color: var(--ink); text-decoration: none; }
.article h3 a:hover, .row h2 a:hover { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 5px; }
.article p { font: 1.04rem/1.55 var(--sans); color: #3f4a52; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { font-weight: 700; font-size: 0.92rem; text-decoration: none; margin-top: auto; }
.more:hover { text-decoration: underline; text-underline-offset: 5px; }
.thumb { display: block; position: relative; background: var(--sea); aspect-ratio: 3 / 2; overflow: hidden; }
.article .thumb { aspect-ratio: 5 / 2; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--sea), var(--sage)); }

/* How I can help */
.help { background: var(--sea); padding: 90px 0 134px; }
.helpgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.copy h2 { max-width: 540px; }
.copy > p:not(.eyebrow):not(.note) { font-family: var(--sans); font-size: 1.2rem; line-height: 1.7; max-width: 520px; }
.topics { margin: 28px 0 20px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.topics li { border-top: 1px solid #b4cbd6; padding: 10px 0; font-size: 0.95rem; }
.topics li:nth-last-child(-n + 2) { border-bottom: 1px solid #b4cbd6; }
.deskfig { margin: 0; }
.deskfig img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 55% 30%; border-radius: 14px; }
.deskfig figcaption { font-size: 0.86rem; color: var(--muted); padding-top: 9px; }

/* Consultation */
.consult { background: var(--sage); padding: 90px 0 134px; }
.consultgrid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.consultgrid figure { margin: 0; }
.consultgrid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.consultgrid figcaption { font-size: 0.86rem; color: var(--muted); padding-top: 9px; }
.consultgrid p:not(.eyebrow):not(.note) { font-family: var(--sans); font-size: 1.2rem; line-height: 1.7; max-width: 460px; }

/* Contact */
.contact { background: var(--sea); padding: 90px 0 134px; }
.contactgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact h2 { max-width: 540px; }
.phone { font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -0.03em; margin: 16px 0 18px; line-height: 1.1; }
.address { font-size: 0.98rem; }
.contactright { padding-top: 38px; }
.contactright p:not(.note) { font-family: var(--sans); font-size: 1.22rem; line-height: 1.7; max-width: 450px; }

.footer { background: var(--blue-deep); color: #f3f6f8; padding: 48px 0 26px; }
.footer a { color: #fff; }
/* Accessibility: the standard blue focus ring has only 1.6:1 contrast on the dark footer; use the existing yellow ring (6.6:1), keyboard focus only. */
.footer a:focus-visible, .footer button:focus-visible { outline-color: #f2b705; }
.footer .brand img { height: 64px; }
.footerin { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; font-size: 0.9rem; }
.footerbottom { border-top: 1px solid #5a7390; margin-top: 32px; padding-top: 16px; font-size: 0.86rem; color: #d6e0ea; }

/* Article library and article pages */
.libhead { padding: 64px 0 24px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.libhead .lead { max-width: 620px; }
.library { list-style: none; margin: 30px 0 0; padding: 0; }
.row { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row .thumb { border-radius: 10px; }
.row h2 { font-size: 1.7rem; margin: 6px 0 10px; }
.row p { font-family: var(--sans); font-size: 1.1rem; color: #3f4a52; max-width: 620px; }
.libnote { margin: 24px 0 90px; max-width: 700px; }
.post { max-width: 760px; padding: 56px 0 90px; }
.post h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.byline { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.postimg { margin: 0 0 32px; position: relative; }
.postimg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.postimg.diagram img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.prose { font-family: var(--sans); font-size: 1.17rem; line-height: 1.65; overflow-wrap: anywhere; } /* a long unbroken line (for example a row of underscores copied from a document) must wrap, not make the page scroll sideways on a phone */
.prose p { margin-bottom: 1.2em; }
.prose p, .prose li { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 0.6em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 3px solid var(--blue); color: var(--blue); font-style: italic; font-size: 1.25rem; }
.prose blockquote p { margin: 0; }
/* Pictures placed inside an article (13 Nov 2026): fluid on every screen; the tall portrait is capped so it never fills a phone or a column. */
.prose figure.wp-block-image { margin: 1.8em auto; max-width: 100%; }
.prose figure.wp-block-image img { display: block; width: 100%; height: auto; border-radius: 10px; }
.prose figure.pp-img-portrait { max-width: min(100%, 420px); }
.prose figure.pp-img-square { max-width: min(100%, 560px); }
.postcta { margin-top: 48px; padding: 28px 32px; background: var(--sea); border-radius: 14px; }
.postcta h2 { font-size: 1.7rem; }
.postnav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; font-size: 0.92rem; }

@media (max-width: 1100px) {
  .nav { gap: 22px; font-size: 0.95rem; }
  .meetgrid { grid-template-columns: 240px 1fr; }
  .meetfacts { grid-column: 1 / -1; grid-auto-flow: column; border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; padding: 22px 0 0; gap: 40px; }
}

@media (max-width: 1000px) {
  .container { width: min(100% - 48px, 1250px); }
  .headerin { min-height: 88px; gap: 18px; }
  .brand img { height: 58px; }
  .hero { display: block; min-height: 0; padding: 0 0 44px; overflow: hidden; isolation: auto; background: #fff; }
  .herobg { position: relative; z-index: auto; left: auto; height: clamp(300px, 47vw, 440px); }
  .herobg img { object-position: 50% 60%; }
  .herobg::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: url("../images/curve.svg") 0 0 / 100% 100% no-repeat; }
  .curve { display: none; }
  .herotext { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 0; padding: 26px 0 0; max-width: 620px; }
  .leaf-al, .leaf-ar { width: 120px; }
  .leaf-ml, .leaf-mr { width: 100px; }
  .helpgrid, .consultgrid, .contactgrid { grid-template-columns: 1fr; gap: 40px; }
  .help, .consult, .contact { padding: 72px 0 110px; }
  .articles { grid-template-columns: 1fr; gap: 24px; }
  .article { display: grid; grid-template-columns: 38% 1fr; grid-template-rows: auto auto auto 1fr; align-content: start; padding-bottom: 22px; }
  .article .thumb { grid-column: 1; grid-row: 1 / -1; aspect-ratio: auto; height: 100%; min-height: 200px; }
  .article small, .article h3, .article p, .article .more { grid-column: 2; }
  .article small { margin-top: 22px; }
  .article .more { align-self: end; }
  .footerin { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footerin > div:first-child { grid-column: 1 / -1; }
  .row { grid-template-columns: 220px 1fr; gap: 28px; }
}

@media (max-width: 1120px) {
  .menu { display: block; margin-left: auto; }
  .headbtn { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 6px 24px 16px; z-index: 5; margin-left: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .meetgrid { grid-template-columns: 1fr; }
  .portrait { margin: 0 0 24px; max-width: 300px; }
  .meettext { border-left: 0; padding: 0; }
  .meetfacts { grid-auto-flow: row; gap: 18px; }
  .article { display: flex; }
  .article .thumb { aspect-ratio: 5 / 2; height: auto; min-height: 0; }
  .article small { margin-top: 14px; }
  .article .more { align-self: auto; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .headerin { min-height: 76px; }
  .brand img { height: 46px; }
  /* hero: photograph on top, text beneath it, curve at the join */
  .hero { padding: 0 0 36px; }
  .herobg { height: 224px; }
  .herobg img { object-position: 50% 60%; }
  .herobg::after { height: 36px; }
  .leaf-al, .leaf-ar { width: 90px; }
  .leaf-ml { left: -34px; top: 14px; transform: none; width: 110px; }
  .leaf-mr { display: none; }
  .herotext { max-width: none; }
  h1 { font-size: 2.15rem; }
  .nowrap { white-space: normal; }
  .meet { padding: 28px 0 64px; }
  .help, .consult, .contact { padding: 56px 0 86px; }
  .writing { padding: 48px 0 86px; }
  .topics { gap: 0 18px; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .thumb.empty { aspect-ratio: auto; height: 52px; }
  .footerin { grid-template-columns: 1fr; }
  .footer .brand img { height: 52px; }
  .post { padding: 36px 0 64px; }
}

/* WordPress integration */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alignwide { max-width: 1250px; }

/* Milestone 2: content pages, articles, enquiry form */
.pagepost { max-width: 820px; }
.pagepost .lead { max-width: 640px; margin-bottom: 28px; }
.footnav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 0.92rem; }
.footnav a { color: #fff; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; min-height: 24px; }
.prose h2 { color: var(--blue-deep); }
.prose h3 { font-family: var(--sans); font-weight: 600; color: var(--blue-deep); font-size: 1.3rem; margin: 1.4em 0 0.5em; }
.pp-tbc, .prose .tbc { display: inline; padding: 1px 6px; border-radius: 4px; background: #fff3cf; border: 1px dashed #d9a400; color: #5c3a00; font: 600 0.9rem/1.5 var(--sans); }
.prose .wp-block-details { border: 1px solid var(--line); border-radius: 10px; padding: 0; margin: 0 0 12px; background: #fff; }
.prose .wp-block-details summary { cursor: pointer; font: 700 1.05rem/1.4 var(--sans); padding: 14px 18px; min-height: 48px; color: var(--blue-deep); }
.prose .wp-block-details > :not(summary) { margin: 0; padding: 0 18px 14px; }
.prose .wp-block-details[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.prose .wp-block-details summary:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.prose .wp-block-list a, .prose p a { text-underline-offset: 3px; }
.draftflag { color: #5c3a00; font-weight: 700; }
.contactcard { margin: 32px 0; padding: 22px 26px; background: var(--sea); border-radius: 14px; }
.contactcard h2 { font-size: 1.5rem; margin-bottom: 8px; }
.phone-small { font-size: 2rem; margin: 6px 0 10px; }
.email { font-size: 1.15rem; margin: 0 0 14px; overflow-wrap: anywhere; }
.email a { text-decoration: underline; text-underline-offset: 3px; }
.newsletter { position: relative; margin: 40px 0 0; padding: 26px 28px; background: var(--sage); border-radius: 14px; }
.newsletter h2 { font-size: 1.6rem; margin-bottom: 10px; }
.newsletter p:last-child { margin-bottom: 0; }
.newsletter-signup .field { margin: 0 0 18px; }
.newsletter-signup label { display: block; font-weight: 700; margin-bottom: 6px; }
.newsletter-signup input[type="text"], .newsletter-signup input[type="email"] { width: 100%; max-width: 560px; min-height: 48px; padding: 10px 12px; font: 1rem/1.5 var(--sans); color: var(--ink); background: #fff; border: 2px solid #6b7f94; border-radius: 8px; }
.newsletter-signup input:focus-visible, .newsletter-signup button:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 2px; }
.newsletter .nl-trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.newsletter-note { font-size: 0.95rem; }
.newsletter-confirm { font-weight: 600; }
.newsletter-inactive { background: transparent; border: 2px dashed var(--line); }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 32px 0 80px; font-size: 0.95rem; }
.post-navigation { margin-top: 36px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 0; }
.post-navigation a { text-underline-offset: 4px; }
.page-numbers { padding: 8px 12px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--blue-bright); color: #fff; border-color: var(--blue-bright); }

/* Enquiry form */
.enquiry { margin: 44px 0 20px; padding: 28px 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.08); }
.enquiry h2 { margin-top: 0; }
.formurgent { padding: 12px 16px; background: #f4efe3; border-left: 4px solid #8a6d1f; border-radius: 6px; margin-bottom: 20px; }
.enquiryform .field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.enquiryform label, .enquiryform legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.enquiryform .choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; min-height: 44px; padding: 8px 0; }
.enquiryform .choice input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--blue-bright); }
.enquiryform input[type="text"], .enquiryform input[type="email"], .enquiryform input[type="tel"], .enquiryform select, .enquiryform textarea { width: 100%; max-width: 560px; min-height: 48px; padding: 10px 12px; font: 1rem/1.5 var(--sans); color: var(--ink); background: #fff; border: 2px solid #6b7f94; border-radius: 8px; }
.enquiryform textarea { min-height: 140px; resize: vertical; }
.enquiryform input:focus-visible, .enquiryform select:focus-visible, .enquiryform textarea:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-color: var(--blue-bright); }
.enquiryform [aria-invalid="true"] { border-color: #9b1c1c; background: #fff8f8; }
.enquiryform fieldset[aria-invalid="true"] { border: 2px solid #9b1c1c; border-radius: 8px; padding: 10px 14px; }
.hint { margin: 0 0 6px; font-size: 0.92rem; color: var(--muted); }
.req { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.fielderror { margin: 0 0 6px; color: #9b1c1c; font-weight: 700; font-size: 0.95rem; }
.formerrors, .formnotice { margin: 0 0 22px; padding: 16px 20px; border-radius: 10px; border: 2px solid #9b1c1c; background: #fff8f8; }
.formerrors h3 { margin: 0 0 8px; color: #9b1c1c; font-size: 1.15rem; }
.formerrors ul { margin: 0; padding-left: 1.2em; }
.formerrors a { color: #9b1c1c; font-weight: 700; }
.formnotice { border-color: #6b7f94; background: #f0f6fb; }
.formnotice.formok { border-color: #2f6b2a; background: #eef7ea; }
.formnotice.formok h3 { margin: 0 0 6px; color: #1f5a1b; }
.formnotice.formerr { border-color: #9b1c1c; background: #fff8f8; }
.formnotice p { margin: 0; }
.formerrors:focus, .formnotice:focus, #enquiry-status:focus { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.formsmall { font-size: 0.9rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 650px) {
	.enquiry { padding: 20px 16px 16px; }
	.contactcard { padding: 18px 18px; }
	.phone-small { font-size: 1.7rem; }
	.prose .wp-block-details summary { padding: 12px 14px; }
}

/* Stage 1 feedback (PP-094, PP-095, PP-096) */
.aboutfig { float: right; width: 300px; margin: 6px 0 20px 32px; }
.aboutfig img { width: 100%; height: auto; aspect-ratio: 1000 / 940; object-fit: cover; object-position: 50% 12%; border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.14); display: block; }
.sociallinks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sociallinks a.soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 50%; text-decoration: none; line-height: 1; transition: background-color 0.15s, color 0.15s; }
.sociallinks a.soc:hover { background: #fff; color: var(--blue-deep); --soc-play: #fff; }
.sociallinks a.soc:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }
.contactcard .sociallinks a.soc:hover { background: var(--blue-deep); color: #fff; --soc-play: var(--blue-deep); }
.footer .sociallinks a.soc { --soc-play: var(--blue-deep); }
.contactcard .sociallinks a.soc { --soc-play: var(--sea); }
.footsocial strong { display: block; margin-bottom: 2px; }
.contactcard .sociallinks a { color: var(--blue-deep); }
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { position: relative; padding-left: 2.6em; margin-bottom: 1em; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0.1em; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--blue-deep); color: #fff; font: 700 0.95rem/1.9em system-ui, sans-serif; text-align: center; }
@media (max-width: 640px) { .aboutfig { float: none; width: 100%; max-width: 300px; margin: 0 0 22px; } }
.smallhead { font-size: 1.05rem; margin: 14px 0 0; }

/* PP-100: footer credit */
.footerbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footercredit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }

/* Local design refinements (provisional, for Brett's review): shared inner-page styling.
   Uses only the homepage tokens, curves and card style. No content is added or changed. */
.to-paper { fill: var(--paper); }
.pagehead { position: relative; background: var(--mist); padding: 40px 0 clamp(38px, 4.2vw, 59px); }
.pageheadin { max-width: 820px; }
.pageheadin .crumbs { margin-bottom: 14px; }
.pageheadin h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: 14px; }
.page-bookings .pageheadin h1, .page-faq .pageheadin h1 { font-size: clamp(2rem, 3.3vw, 2.8rem); }
.page-fees-and-rebates .pageheadin h1, .page-contact .pageheadin h1 { font-size: clamp(2.1rem, 3.7vw, 3.15rem); }
.pageheadin .lead { max-width: 640px; margin-bottom: 0; }
.pagebody.post { padding: 21px 0 88px; }
.innerpage .postcta { background: var(--sea); }

/* Related pages band */
.related { position: relative; background: var(--sage); padding: 60px 0 clamp(80px, 8vw, 118px); }
.related h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin-bottom: 22px; }
.relatedin { max-width: 1000px; }
.relatedgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.relatedgrid a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 52px 22px 24px; background: #fff; border: 1px solid #d4e1cf; border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.08); text-decoration: none; color: var(--ink); }
.relatedgrid strong { font: 700 1.2rem/1.25 var(--sans); color: var(--blue-deep); }
.relatedgrid span:not(.go) { font: 1.02rem/1.5 var(--sans); color: #3f4a52; }
.relatedgrid .go { position: absolute; right: 22px; top: 22px; color: var(--blue-bright); font-weight: 700; }
.relatedgrid a:hover { border-color: var(--blue-bright); }
.relatedgrid a:hover strong { text-decoration: underline; text-underline-offset: 5px; }

/* About: portrait and facts beside the text */
.aboutbody { max-width: 1000px; display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.aboutbody .aboutside { position: sticky; top: 130px; }
.aboutbody .aboutfig { float: none; width: 100%; margin: 0 0 24px; }
.aboutfacts { padding: 0; border-left: 0; gap: 16px; }
.aboutfacts li { background: #fff; border: 1px solid #dbe6ee; border-radius: 14px; padding: 14px 16px; }
.aboutmain { min-width: 0; }
.aboutmain .postcta { margin-top: 36px; }
.innerpage:not(.page-about-us) .pagebody { max-width: 820px; }

/* Services: names as accessible cards (plain list underneath, no links, no descriptions) */
.page-our-services .prose ul:not(.sociallinks) { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.page-our-services .prose ul li { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid #dbe6ee; border-left: 4px solid var(--green); border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.08); font: 700 1.08rem/1.35 Georgia, "Times New Roman", serif; color: var(--blue-deep); }

/* Fees: the three official links as link cards */
.page-fees-and-rebates .prose h2:last-of-type + ul { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.page-fees-and-rebates .prose h2:last-of-type + ul li { margin: 0; }
.page-fees-and-rebates .prose h2:last-of-type + ul a { position: relative; display: flex; height: 100%; min-height: 96px; padding: 18px 44px 18px 20px; background: #fff; border: 1px solid #dbe6ee; border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.08); font: 700 1rem/1.4 var(--sans); color: var(--blue-deep); text-decoration: none; }
.page-fees-and-rebates .prose h2:last-of-type + ul a::after { content: "↗" / ""; position: absolute; right: 18px; top: 16px; color: var(--blue-bright); font-size: 1.1rem; }
.page-fees-and-rebates .prose h2:last-of-type + ul a:hover { border-color: var(--blue-bright); text-decoration: underline; text-underline-offset: 4px; }

/* Articles: neutral placeholder where no thumbnail is approved yet */
.thumb.empty { background: linear-gradient(135deg, var(--sea) 0%, var(--mist) 55%, var(--sage) 100%); position: relative; overflow: hidden; }
.thumb.empty::before { content: ""; position: absolute; left: -8%; right: -8%; bottom: -34%; height: 78%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: rgba(255, 255, 255, 0.55); }
.thumb.empty::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -52%; height: 78%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: rgba(79, 138, 58, 0.16); }
.thumb.empty span { display: none; }

@media (max-width: 1000px) {
  .relatedgrid { grid-template-columns: 1fr; }
  .aboutbody { grid-template-columns: 1fr; gap: 28px; }
  .aboutbody .aboutside { position: static; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
  .aboutbody .aboutfig { margin: 0; }
  .page-fees-and-rebates .prose h2:last-of-type + ul { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .pagehead { padding: 26px 0 35px; }
  .pagebody.post { padding: 14px 0 60px; }
  .related { padding: 44px 0 84px; }
  .aboutbody .aboutside { grid-template-columns: 1fr; }
  .aboutbody .aboutfig { max-width: 260px; }
  .page-our-services .prose ul:not(.sociallinks) { grid-template-columns: 1fr; gap: 12px; }
  .thumb.empty { aspect-ratio: auto; height: 72px; }
}
.page-articles .library { margin-top: 0; } .page-articles .library .row:first-child { border-top: 0; }

/* Articles & Insights: coming soon (template-parts/articles-soon.php). Shown while nothing is published; uses the existing tokens, card style and curves. */
.soon { position: relative; max-width: 780px; margin: 6px auto 0; padding: 136px 44px 38px; text-align: center; background: #fff; border: 1px solid #dbe6ee; border-radius: 14px; box-shadow: 0 6px 18px rgba(23, 56, 90, 0.08); overflow: hidden; }
.soon::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px; background: linear-gradient(180deg, var(--sea) 0%, #fff 100%); z-index: 0; }
.soon > * { position: relative; z-index: 1; }
.soon .rv-badge { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); margin: 0; max-width: calc(100% - 24px); white-space: nowrap; }
.soonicon { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); width: 74px; height: 74px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--green); box-shadow: 0 6px 16px rgba(23, 56, 90, 0.14); }
.soonpill { display: inline-block; margin: 0 0 14px; padding: 7px 15px; border-radius: 999px; background: var(--sage); color: var(--blue-deep); font: 700 0.78rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.soon p { max-width: 560px; margin: 0 auto; font: 1.18rem/1.6 var(--sans); color: #3f4a52; }
.soon-library { margin: 34px auto 56px; }
.soon-home { margin-bottom: 40px; }
@media (max-width: 650px) { .soon { padding: 130px 22px 30px; } .soon p { font-size: 1.04rem; } }
