/* ==========================================================================
   Katie O'Hare Consultancy — Design System
   Palette + type sourced from KOH brand guidelines.
   NOTE: Display font below (Bricolage Grotesque) is a stand-in for the
   licensed brand font "Tay Birdie" — swap the @font-face / Google Fonts
   link once you have the licensed font files. See README.
   ========================================================================== */

:root {
  /* Brand palette — verified byte-for-byte against KOH_guidelines_lite.pptx
     "Colour Breakdowns" slide (exact RGB triples from the deck, not re-picked). */
  --cream:        rgb(247, 242, 227); /* Clear as Day  #F7F2E3 — primary page background */
  --beige:        rgb(224, 208, 193); /* Blank Beige   #E0D0C1 — section backgrounds */
  --gold:         rgb(234, 188, 90);  /* Early Bird    #EABC5A — primary accent / CTAs */
  --navy:         rgb(61, 71, 102);   /* Deep Thought  #3D4766 — headings, dark sections, footer */
  --forest:       rgb(39, 50, 34);    /* Deep Focus    #273222 — alt dark section */
  --brick:        rgb(188, 80, 80);   /* Brick by Brick #BC5050 — callouts, quote highlights */
  --brick-deep:   rgb(106, 45, 45);   /* Resilient Red #6A2D2D — deeper callout variant */
  --sage:         rgb(147, 174, 160); /* Sage Advice   #93AEA0 — secondary accent */
  --sage-dark:    rgb(106, 125, 115); /* darker shade of Sage Advice, for outlines */
  --pink:         rgb(249, 192, 208); /* Peaceful Pink #F9C0D0 — soft accent, sparingly */
  --pink-deep:    rgb(245, 150, 176); /* Give It Your All #F596B0 */
  --text:         rgb(45, 48, 54);    /* Text          #2D3036 — body copy on light backgrounds */
  --cream-text:   rgb(247, 242, 227); /* body copy on dark backgrounds */
  /* In the deck but not yet assigned a role on the site — available if wanted: */
  --rust:         rgb(211, 138, 61);  /* Reap the Rewards #D38A3D */
  --plum:         rgb(67, 47, 84);    /* New Dawn      #432F54 */

  /* Type
     Titles: TAY Birdie (your licensed brand font — see README, no font file
     has been supplied yet so this falls back to Bricolage Grotesque until
     you provide the actual font file).
     Body: DM Sans, set at 24px per your spec. */
  --font-display: 'TAY Birdie', 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --body-size: 18px;

  /* Rhythm */
  --max-w: 1320px;
  --gap: clamp(1.25rem, 2vw, 2rem);
  --radius: 22px;
  --section-pad: clamp(1.75rem, 3.5vw, 3.25rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; color: var(--navy); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick-deep);
  margin-bottom: 1em;
}
.eyebrow--tight {
  font-size: clamp(0.58rem, 1.5vw, 0.76rem);
  letter-spacing: 0.05em;
}
.section--navy .eyebrow, .section--forest .eyebrow { color: var(--gold); }

/* ---------- Title swoosh accent (brand ribbon, sits as a line under the heading) ---------- */
.title-swoosh {
  display: block;
  width: 280px;
  max-width: 58vw;
  height: 26px;
  object-fit: fill;
  margin: 0.5rem 0 1.2rem;
}

/* ---------- Bullet / audience icon images (brand "Bullets & Shapes" blobs) ---------- */
.bullet-icon {
  flex: none;
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-top: 0.3em;
}
.audience-icon {
  width: 60px;
  height: auto;
  margin-bottom: 1rem;
}

/* ---------- Illustration panels (brand mural illustrations) ---------- */
.illustration-panel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}
.illustration-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.illustration-panel--photo { aspect-ratio: 1.07 / 1; }
.illustration-panel--photo img { object-fit: cover; }
.illustration-crop img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-clipped {
  clip-path: polygon(7% 0%, 100% 0%, 100% 86%, 93% 100%, 0% 100%, 0% 14%);
  overflow: hidden;
}
.photo-clipped img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9em 1.6em;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: #f0cb78; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.section--navy .btn--outline, .section--forest .btn--outline { color: var(--cream); border-color: var(--cream); }
.section--navy .btn--outline:hover, .section--forest .btn--outline:hover { background: var(--cream); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-note {
  font-size: 0.85em;
  opacity: 0.75;
  max-width: 46ch;
  margin-top: 1.4rem;
  line-height: 1.5;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61, 71, 102, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--brick-deep); }
.logo { display: block; height: 82px; width: auto; }
.footer-logo { display: block; height: 108px; width: auto; margin-bottom: 0.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}
.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  position: relative;
  padding: 0.25em 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brick);
  transition: right 0.2s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--brick-deep); }
.btn--nav { padding: 0.65em 1.3em; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .logo { height: 50px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem, 4vw, 3rem);
    gap: 1.5rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    border-top: 1px solid rgba(61,71,102,0.1);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: 1.15rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; position: relative; overflow: clip; }
.section--beige { background: var(--beige); }
.section--pink { background: var(--pink); }
.section--sage { background: var(--sage); }
.section--navy { background: var(--navy); color: var(--cream-text); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--cream-text); }
.section--forest { background: var(--forest); color: var(--cream-text); }
.section--forest h2, .section--forest h3, .section--forest h4 { color: var(--cream-text); }
.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--wide { max-width: none; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h1 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
.lede { font-size: 1em; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(1.75rem, 4.5vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero .illustration-panel {
  border-radius: 58% 42% 46% 54% / 54% 44% 56% 46%;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* Two-column intro layout reused across inner pages with a brand illustration */
.intro-split .container {
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .intro-split .container { grid-template-columns: 1fr; }
  .intro-split .illustration-panel { max-width: 420px; margin: 0 auto; order: -1; }
}

/* ---------- Recognize-list / check list ---------- */
.check-list { display: grid; gap: 1.1rem; }
.check-list li { display: flex; gap: 0.85em; align-items: flex-start; }
.check-list li svg { flex: none; width: 24px; height: 24px; margin-top: 0.15em; }
.step-list { display: grid; gap: 1.1rem; }
.step-list li { display: flex; gap: 0.85em; align-items: flex-start; }
.step-list li .dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); margin-top: 0.55em;
}
.section--navy .step-list li .dot, .section--forest .step-list li .dot { background: var(--gold); }
.step-list--gold-strong strong { color: var(--gold); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border: 1px solid rgba(61,71,102,0.1);
  position: relative;
}
.section--beige .card, .section--navy .card, .section--forest .card { background: var(--cream); color: var(--text); }
.section--navy .card h3, .section--navy .card h4,
.section--forest .card h3, .section--forest .card h4 { color: var(--navy); }
.card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--gold); -webkit-text-stroke: 1.5px var(--navy); margin-bottom: 0.3em; display: block; }
.card .meta { font-size: 1em; margin: 0.5em 0; }
.card .meta strong { color: var(--brick-deep); }

.value-card { text-align: left; }
.value-card h4 { color: var(--brick-deep); font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin-bottom: 0.35em; }

.standout-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  color: var(--cream-text);
  margin-top: 2.2rem;
  max-width: 700px;
}

.card--framed { background: var(--sage); border: 2px solid var(--sage-dark); }

/* ---------- Speech-bubble quotes ---------- */
.quote-bubble {
  position: relative;
  background: var(--cream);
  border-radius: 20px;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(61,71,102,0.12);
}
.quote-bubble::after {
  content: "";
  position: absolute;
  left: 2.4rem;
  bottom: -14px;
  width: 26px; height: 26px;
  background: var(--cream);
  border-right: 1px solid rgba(61,71,102,0.12);
  border-bottom: 1px solid rgba(61,71,102,0.12);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.quote-bubble p.quote-text {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.8em;
}
.quote-attr { font-size: 0.88rem; font-weight: 700; color: var(--brick-deep); }
.quote-bubble--brick { background: var(--brick); border-color: var(--brick); }
.quote-bubble--brick::after { background: var(--brick); border-color: var(--brick); }
.quote-bubble--brick .quote-text { color: var(--cream-text); }
.quote-bubble--brick .quote-attr { color: var(--cream-text); opacity: 0.85; }

/* ---------- Plain "written" quote (no box) ---------- */
.quote-plain { max-width: 680px; margin: 0 auto; text-align: center; }
.quote-plain .quote-text-plain {
  font-family: var(--font-display);
  font-size: 1.3em;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}
.quote-plain .quote-text-plain::before { content: "\201C"; color: var(--brick); }
.quote-plain .quote-text-plain::after { content: "\201D"; color: var(--brick); }
.quote-plain .quote-attr-plain { display: block; margin-top: 0.9em; font-weight: 700; color: var(--brick-deep); }

/* ---------- Editable tick-box list ---------- */
.check-tick-list { display: grid; gap: 1rem; margin-top: 0.5rem; }
.check-tick-list li { display: flex; align-items: flex-start; gap: 0.8em; }
.check-tick-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  flex: none;
  margin-top: 0.15em;
  cursor: pointer;
  position: relative;
  background: transparent;
}
.check-tick-list input[type="checkbox"]:checked { background: var(--gold); }
.check-tick-list input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-tick-list label { cursor: pointer; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap) calc(var(--gap) * 1); margin-top: 3rem; }
@media (max-width: 700px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Torn-paper case study cards ---------- */
.case-card {
  background: var(--cream);
  padding: 2.2rem clamp(1.5rem, 3vw, 2.4rem) 2rem;
  position: relative;
  clip-path: polygon(
    0% 2%, 4% 0%, 9% 2.4%, 15% 0.4%, 21% 2%, 27% 0%, 33% 2.2%, 39% 0.3%, 45% 2%, 51% 0%,
    57% 2.4%, 63% 0.4%, 69% 2%, 75% 0%, 81% 2.2%, 87% 0.3%, 93% 2%, 100% 0%,
    100% 98%, 96% 100%, 91% 97.6%, 85% 99.6%, 79% 98%, 73% 100%, 67% 97.8%, 61% 99.7%,
    55% 98%, 49% 100%, 43% 97.6%, 37% 99.6%, 31% 98%, 25% 100%, 19% 97.8%, 13% 99.7%, 7% 98%, 0% 100%
  );
  border-left: 4px solid var(--brick);
}
.case-card h3 { font-size: 1.2rem; margin-bottom: 0.7em; }
.case-card .label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brick-deep); display: block; margin-bottom: 0.3em; }
.case-card .row { margin-bottom: 1.1em; }
.case-card .row:last-child { margin-bottom: 0; }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 1.6em;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  opacity: 0.72;
  margin-top: 1rem;
}
.section--navy .logo-strip, .section--forest .logo-strip { color: var(--cream-text); }
.logo-strip span:not(:last-child)::after { content: "·"; margin-left: 1.6em; color: var(--gold); font-weight: 900; }

/* ---------- Scrolling logo marquee ---------- */
.logo-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 32s linear infinite;
}
.logo-marquee-track .logo-marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  white-space: nowrap;
  padding: 0 1.4em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 44px;
  flex: none;
  gap: 1.4em;
}
.logo-marquee-track .logo-marquee-item::after {
  content: "·";
  margin-left: 1.4em;
  color: var(--gold);
  font-weight: 900;
}
.logo-marquee-track img.logo-marquee-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0);
  opacity: 1;
}
.logo-marquee-item--wide { width: 210px; }
.logo-marquee-img--boost { transform: scale(1.3); }
@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 28px;
  padding: clamp(2.2rem, 5vw, 3.4rem);
  text-align: center;
  background: var(--forest);
  color: var(--cream-text);
}
.cta-banner h2 { color: var(--cream-text); }
.cta-banner .btn-row { justify-content: center; }

/* ---------- About / portrait photo ---------- */
.portrait-frame { border-radius: 24px; overflow: hidden; }
.portrait-frame img { width: 100%; height: auto; display: block; }

.credentials-list li { margin-bottom: 0.7em; }

/* ---------- Audience notepaper cards (Clients page) ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  color: var(--text);
}
.audience-card h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.5em; }
.audience-card p { font-size: 0.95em; margin: 0; opacity: 0.92; }
.audience-card--beige { background: var(--beige); }
.audience-card--green { background: var(--sage); }
.audience-card--blue { background: var(--navy); color: var(--cream-text); }
.audience-card--blue h2 { color: var(--cream-text); }
.audience-card--red { background: var(--brick); color: var(--cream-text); }
.audience-card--red h2 { color: var(--cream-text); }

/* ---------- Three-across content row (illustration + two quotes) ---------- */
.grid-3-align { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
@media (max-width: 900px) { .grid-3-align { grid-template-columns: 1fr; } }

/* ---------- Mini photo slots (audience sections on Clients page) ---------- */
.mini-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1rem;
}
.mini-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-photo--placeholder {
  background: rgba(61, 71, 102, 0.08);
  border: 1.5px dashed rgba(61, 71, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.6;
  padding: 0.8rem;
}

/* ---------- Wrap block: text wraps around a floated photo ---------- */
.wrap-block::after { content: ""; display: table; clear: both; }
.wrap-image {
  width: 320px;
  max-width: 44%;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.wrap-image img { width: 100%; height: auto; display: block; }
.wrap-image--right { float: right; margin-left: 2.5rem; }
.wrap-image--left { float: left; margin-right: 2.5rem; }
@media (max-width: 700px) {
  .wrap-image--right, .wrap-image--left { float: none; width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
}

/* ---------- Reflections (blog) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--gap); }
@media (max-width: 700px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: block;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(61,71,102,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(61,71,102,0.14); }
.post-card-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-image.post-card-image--natural { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; }
.post-card-image.post-card-image--natural img { width: 100%; height: auto; object-fit: contain; }
.post-card-body { padding: 1.5rem 1.6rem 1.8rem; }
.post-card-body h3 { margin-bottom: 0.4em; }
.post-card-body p { opacity: 0.82; }
.post-card-readmore { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--brick-deep); margin-top: 0.4rem; }

.post-hero-image { border-radius: 26px; overflow: hidden; margin-bottom: 2.2rem; aspect-ratio: 16 / 8; }
.post-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body-col { max-width: 700px; margin: 0 auto; }
.post-meta { font-size: 0.85em; opacity: 0.6; margin-bottom: 1.6rem; }
.post-back-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--navy); margin-top: 2.2rem; }
.post-placeholder-note {
  background: var(--pink);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  font-size: 0.85em;
  margin-bottom: 2rem;
}

/* ---------- Contact block ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; align-items: center; gap: 0.8em; margin-bottom: 1rem; font-weight: 600; font-size: 1.05rem; }
.contact-detail svg { flex: none; width: 22px; height: 22px; color: var(--gold); }

.enquiry-form { display: grid; gap: 1rem; }
.enquiry-form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4em; color: var(--navy); }
.enquiry-form input, .enquiry-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  border-radius: 12px;
  border: 1.5px solid rgba(61,71,102,0.25);
  background: var(--cream);
  color: var(--text);
}
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--brick); outline: none; }
.enquiry-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; opacity: 0.75; margin-top: 0.5rem; }
.form-success { display: none; background: var(--sage); color: var(--navy); padding: 1em 1.2em; border-radius: 12px; font-weight: 700; margin-top: 1rem; }
.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream-text); padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr; gap: 2rem; margin-bottom: 2.2rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tag { opacity: 0.8; margin-top: 0.6em; max-width: 32ch; }
.footer-col h4 { color: var(--cream-text); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.9em; }
.footer-col ul { display: grid; gap: 0.6em; }
.footer-col a { opacity: 0.85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(247,242,227,0.15); padding-top: 1.4rem; font-size: 0.85rem; opacity: 0.7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-prose { max-width: 62ch; }
.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; }

/* ---------- Team cost calculator (Reflections post 4) ---------- */
.calc { max-width: 1040px; margin: 2.4rem auto 2.6rem; display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: start; }
@media (min-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .calc-result { position: sticky; top: 8.5rem; }
}
.calc-inputs { background: #fffdf7; border: 1px solid rgba(61,71,102,0.14); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.calc-inputs h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); margin-bottom: 0.2em; }
.calc-inputs .calc-sub { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.2rem; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.calc fieldset:last-of-type { margin-bottom: 0; }
.calc legend { font-weight: 700; font-size: 0.95rem; color: var(--navy); padding: 0 0 0 0.6rem; margin-bottom: 0.4rem; border-left: 4px solid var(--sage); }
.calc-field { display: grid; grid-template-columns: 1fr 128px; gap: 0.15rem 1rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid rgba(61,71,102,0.1); }
.calc-field:first-of-type { border-top: 0; }
.calc-field label { font-weight: 500; font-size: 0.98rem; line-height: 1.3; }
.calc-field small { grid-column: 1 / 2; font-size: 0.8rem; opacity: 0.7; line-height: 1.35; }
.calc-inp { grid-row: 1 / 3; grid-column: 2; position: relative; }
.calc-inp input { width: 100%; font: inherit; font-weight: 700; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid rgba(61,71,102,0.22); border-radius: 10px; padding: 0.55rem 0.7rem; text-align: right; }
.calc-inp--pre input { padding-left: 1.6rem; }
.calc-inp--suf input { padding-right: 2.2rem; }
.calc-inp span { position: absolute; top: 50%; transform: translateY(-50%); font-size: 0.85rem; opacity: 0.65; pointer-events: none; }
.calc-inp--pre span { left: 0.7rem; }
.calc-inp--suf span { right: 0.7rem; }
.calc-inp input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.calc-result { background: var(--navy); color: var(--cream-text); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.calc-headline { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.35; margin-bottom: 1.4rem; }
.calc-headline strong { color: var(--gold); font-weight: 800; }
.calc-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid rgba(247,242,227,0.18); }
.calc-rows .what { font-size: 0.95rem; }
.calc-rows .what span { display: block; font-size: 0.78rem; opacity: 0.72; margin-top: 0.15rem; }
.calc-rows .amt { font-weight: 700; font-size: 1.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-rows li.total { border-top: 2px solid var(--sage); margin-top: 0.2rem; }
.calc-rows li.total .what { font-weight: 700; }
.calc-rows li.total .amt { font-size: 1.35rem; color: var(--gold); }
.calc-equiv { margin: 1.2rem 0 1.4rem; padding: 0.9rem 1.1rem; background: rgba(147,174,160,0.18); border-radius: 14px; font-size: 0.92rem; }
.calc-notes { font-size: 0.82rem; opacity: 0.75; }
.calc-notes a { text-decoration: underline; }
@media (max-width: 480px) { .calc-field { grid-template-columns: 1fr 108px; } }
