/* ============================================================
   Al HaRetzef — site overrides
   Small additions on top of the t11 template's main.css.
   Loaded AFTER main.css so these win. Keep template files pristine.
   ============================================================ */

/* "Where are you on the spectrum?" — six stage cards in 3×2.
   Base .method-summary__grid is 4-col; the responsive 2-col / 1-col
   breakpoints in main.css still apply below. */
.method-summary__grid--six {
  grid-template-columns: repeat(3, 1fr);
}

/* The six stage cards are not links (unlike the template's method cards),
   so neutralise the pointer affordance without changing the visual. */
.method-summary__card {
  cursor: default;
}

/* WhatsApp icon in the nav — sits inline with the links. Inherits the
   mobile hide rule for non-CTA nav links automatically. */
.nav-wa {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  color: var(--accent) !important;
}
.nav-wa:hover { color: var(--text) !important; }

/* Footer social row */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.1rem;
}
.footer-social a {
  color: var(--text-faint);
  font-size: 1.3rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--accent); }

/* ── Mobile hamburger nav ───────────────────────────────────
   The template hides non-CTA nav links below 900px with no menu.
   This restores navigation: a hamburger toggles a dropdown panel. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.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); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(31, 27, 20, 0.08);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  /* Re-reveal the links main.css hides at this breakpoint, but only
     inside the open panel. */
  .nav-links.is-open a:not(.nav-cta) { display: block; }
  .nav-links a { padding: 0.65rem 0.25rem; font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 0.5rem; text-align: center; }
  .nav-wa { padding: 0.65rem 0.25rem; }
}

/* ── Real-asset adaptations (content + images from al-haretzef.com) ── */

/* Nav + footer use the real brand logo mark */
.nav-logo__img { height: 38px; width: auto; display: block; }
.footer-logo__img { height: 54px; width: auto; display: block; margin-bottom: 0.6rem; }

/* Service cards are icon-led (ic1–ic3 are icons, not photos) */
.exp-card--icon { text-align: center; }
.exp-card--icon .exp-card__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 2.25rem auto 0;
  padding: 22px;
  background: var(--terracotta-soft);
  border-radius: 50%;
  box-sizing: content-box;
  display: block;
}
.exp-card--icon .exp-card__body { align-items: center; padding-top: 1.1rem; }
.exp-card--icon .exp-card__title { margin-top: 0.25rem; }
.exp-card--icon .exp-card__body p { flex: 0 0 auto; margin-bottom: 1.25rem; font-size: 1rem; }

/* "Where are you on the spectrum?" stage cards carry the w1–w6 icons */
.method-summary__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.method-summary__card { align-items: flex-start; }

/* Founder pull-quote with the circular portrait (circle.png) */
.founder {
  background: var(--teal);
  color: var(--text-inverse);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.founder__inner { max-width: 820px; margin: 0 auto; }
.founder__portrait {
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1.75rem;
  border: 3px solid rgba(255,255,255,0.35);
  display: block;
}
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.5; margin: 0 0 1.25rem;
}
.founder__quote em { color: var(--soft); font-style: normal; }
.founder__cite { font-size: 0.95rem; opacity: 0.85; }
.founder__cite strong { display: block; font-size: 1.05rem; opacity: 1; }

/* Media card thumbnails keep a consistent crop */
.exp-card__thumb { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* Two-up image gallery inside page-body */
.page-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2.5rem 0; }
.page-gallery .page-image { margin: 0; }
@media (max-width: 640px) { .page-gallery { grid-template-columns: 1fr; } }

/* ── Hero tweak: flip the photo + remove the dark overlay ───── */
.hero-bg img {
  transform: scaleX(-1);          /* horizontal flip */
  filter: none;                   /* drop the brightness/sepia darkening */
}
.hero::after { display: none; }   /* remove the dark gradient overlay */
/* Keep the light hero type legible on the now-bright photo without a full scrim */
.hero h1,
.hero p {
  text-shadow: 0 2px 16px rgba(31, 27, 20, 0.55), 0 1px 4px rgba(31, 27, 20, 0.6);
}

/* ============================================================
   Design polish — home balance + inner-page heroes
   ============================================================ */

/* Inner-page heroes: warmer, more composed, consistent across pages */
.page-hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  padding-block: 5rem 3.75rem;
}
.page-hero__inner { max-width: 860px; }
.page-hero h1 { font-size: clamp(2.05rem, 3.5vw, 2.95rem); margin-bottom: 1.1rem; }
.page-hero__lede { font-size: 1.16rem; }

/* Home INTRO — replaces the oversized dark manifesto with a calm,
   readable welcome on a warm amber band */
.intro {
  background: var(--soft);
  padding: 5.5rem 3.5rem;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.intro__inner { max-width: 800px; margin: 0 auto; }
.intro__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.intro__eyebrow em { color: var(--accent); font-style: italic; }
.intro__lead {
  font-size: 1.14rem;
  line-height: 1.78;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 66ch;
}
.intro__lead em { color: var(--accent); font-style: normal; font-weight: 600; }
.intro__sign {
  margin-top: 1.5rem;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--accent);
}

/* Break the bone monotony — alternate to the cream surface */
.surface-alt { background: var(--paper) !important; }

/* Testimonial cards — a soft quotation accent */
.exp-card--quote .exp-card__body { padding-top: 2.9rem; position: relative; }
.exp-card--quote .exp-card__body::before {
  content: '\201C';
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 1.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
}
.exp-card--quote p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
/* The testimonial cite is styled for the dark band (light text); recolour it
   for these light cream cards so the names/roles are readable. */
.exp-card--quote .testim-cite {
  margin-top: auto;
  border-top-color: var(--rule);
}
.exp-card--quote .testim-cite__name { color: var(--ink); }
.exp-card--quote .testim-cite__role { color: var(--text-muted); }

/* Founder band: a touch more presence */
.founder { padding-block: 5.5rem; }
.founder__quote { line-height: 1.55; }

/* ============================================================
   Fixes: hero sizing, more-details button, portrait crop
   ============================================================ */

/* Hero — equal title/subtitle size, smaller to fit, no underline */
.hero h1 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.12; margin-bottom: 1rem; }
.hero p {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  max-width: 26ch;
}
.hero .accent-underline::after { display: none; }   /* drop the scribble underline */

/* Brand pill button — "Discover more details", etc. */
.services-cta { text-align: center; margin-top: 2.75rem; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--accent); color: var(--bone);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.95rem; border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px -10px rgba(176, 127, 42, 0.8);
}
.btn-pill:hover { background: var(--ink); transform: translateY(-2px); color: var(--bone); }
.btn-pill svg { width: 16px; height: 16px; }

/* Person photos shouldn't be cropped — show the full portrait */
.page-image--portrait .page-image__frame {
  aspect-ratio: auto;
  max-width: 430px;
  margin-inline: auto;
}
.page-image--portrait .page-image__frame img { height: auto; object-fit: contain; }

/* Three-image strip — matches the live site's strip_images-row */
.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
}
.image-strip__cell {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.image-strip__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.image-strip__cell:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .image-strip { grid-template-columns: 1fr; }
  .image-strip__cell { aspect-ratio: 16 / 9; }
}

/* Full-bleed tagline banner — "Quality of life is not a dirty word!" */
.tagline-banner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
}
.tagline-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(31,27,20,.35), rgba(31,27,20,.55));
}
.tagline-banner__text {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 30ch;
  text-shadow: 0 2px 16px rgba(31,27,20,.55), 0 1px 4px rgba(31,27,20,.6);
}
.tagline-banner__text em { color: var(--soft); font-style: normal; }
@media (max-width: 700px) { .tagline-banner { min-height: 300px; padding: 3.5rem 1.25rem; } }

/* Contact section: the "Or call... WhatsApp" line is a narrow paragraph
   sitting under the form. Centre the box itself (text-align alone only
   centres the text inside its 62ch column). */
#contact .page-body__inner > p { margin-inline: auto; max-width: 62ch; }

/* ============================================================
   Inner-page split hero — image left, text right
   ============================================================ */
.page-hero--split {
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg) 100%);
  padding: 3rem 3.5rem;
}
.page-hero--split .page-hero__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.page-hero--split .page-hero__image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 18px 36px -24px rgba(31,27,20,.3);
  max-width: 460px;
}
.page-hero--split .page-hero__image img {
  width: 100%;
  height: auto;          /* respect the photo's natural ratio — no crop */
  display: block;
}
.page-hero--split .page-hero__chip {
  position: absolute;
  top: 1.25rem; inset-inline-start: 1.25rem;
  background: var(--accent);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.page-hero--split .page-hero__text { padding-block: 0.5rem; }
.page-hero--split .page-hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero--split h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.page-hero--split h1 em {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-style: italic; font-weight: 700; color: var(--accent);
}
.page-hero--split .page-hero__lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}
/* Quick meta row under the lede — three small cells */
.page-hero__meta {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem;
}
.page-hero__meta-cell .k {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}
.page-hero__meta-cell .v {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}

@media (max-width: 880px) {
  .page-hero--split { padding: 3rem 1.25rem; }
  .page-hero--split .page-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero--split .page-hero__image { aspect-ratio: 4 / 3; }
  .page-hero__meta { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ============================================================
   Inner-page composition — give the prose real visual rhythm
   ============================================================ */

/* Use the page background for warm rhythm between blocks */
.page-body--paper { background: var(--paper); }
.page-body--bone  { background: var(--bone); }

/* A constrained prose column inside page-body */
.prose { max-width: 64ch; margin-inline: auto; }
.prose > p { font-size: 1.06rem; line-height: 1.75; }

/* Drop-cap opener — only the very first prose paragraph */
.prose .lede-drop::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.9;
  color: var(--accent);
  float: inline-start;
  padding-inline-end: 0.55rem;
  padding-block-start: 0.35rem;
}

/* Short underlined section heading — a quieter alternative to h2 */
.eyebrow-rule {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 3rem 0 1.25rem;
}
.eyebrow-rule::before {
  content: ''; width: 36px; height: 2px; background: var(--accent);
}

/* Credentials strip — three cells with a hairline between */
.credentials-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-block: 1px solid var(--rule);
  padding-block: 1.5rem;
  margin-block: 2.5rem;
  text-align: center;
}
.credentials-strip > div + div { border-inline-start: 1px solid var(--rule); }
.credentials-strip .v {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.1;
}
.credentials-strip .k {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}
@media (max-width: 640px){
  .credentials-strip { grid-template-columns: 1fr; }
  .credentials-strip > div + div { border-inline-start: 0; border-block-start: 1px solid var(--rule); padding-block-start: 1rem; margin-block-start: 1rem; }
}

/* Signed pull-quote — large display-font quote with hand-font signature */
.signed-quote {
  margin: 3rem auto;
  max-width: 60ch;
  text-align: center;
  padding: 2rem 0;
  border-block: 1px solid var(--rule);
}
.signed-quote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.signed-quote p em { color: var(--accent); font-style: italic; }
.signed-quote .signed-quote__sig {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--accent);
}

/* Inline portrait — small framed photo with hand-written caption */
.portrait-card {
  max-width: 320px;
  margin: 2.5rem auto;
  text-align: center;
}
.portrait-card img {
  width: 100%; height: auto; display: block;
  border-radius: 6px;
  box-shadow: 0 18px 30px -22px rgba(31,27,20,.35);
}
.portrait-card figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--accent);
}

/* Single-quote testimonial card — for "Roni Yitzhak says…" */
.testim-card {
  margin: 3rem auto 0;
  max-width: 60ch;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2rem 2rem 1.75rem;
  position: relative;
}
.testim-card::before {
  content: '\201C';
  position: absolute;
  top: -22px;
  inset-inline-start: 1.25rem;
  width: 44px; height: 44px;
  background: var(--accent); color: var(--bone);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: Georgia, serif;
  font-size: 2.2rem; line-height: 1;
  padding-top: 12px;
}
.testim-card p { font-size: 1.05rem; line-height: 1.65; margin: 0 0 1rem; color: var(--ink); }
.testim-card .testim-card__cite {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.testim-card .testim-card__cite span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Better press card — outlet pill on the thumbnail + lift on hover */
.exp-card--press { position: relative; }
.exp-card--press .exp-card__outlet {
  position: absolute;
  top: 1rem; inset-inline-start: 1rem;
  background: rgba(31,27,20,0.85);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  z-index: 2;
}
.exp-card--press .exp-card__thumb { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.exp-card--press:hover .exp-card__thumb { transform: scale(1.04); }
.exp-card--press .exp-card__title { font-size: 1.05rem; }

/* Venture card — numbered, with an inline-start accent rule */
.exp-card--venture { border-inline-start: 3px solid transparent; transition: border-color .25s ease; }
.exp-card--venture:hover { border-inline-start-color: var(--accent); }
.exp-card--venture .exp-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

/* ============================================================
   Bio block — image LEFT, text RIGHT (mirrors the Hebrew About)
   ============================================================ */
.bio-block { background: var(--bg); padding: 4.5rem 3.5rem; border-block: 1px solid var(--rule); }
.bio-block__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}
.bio-block__image {
  background: var(--paper);
  padding: 1rem 1rem 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 18px 32px -24px rgba(31, 27, 20, 0.3);
}
.bio-block__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.bio-block__sidequote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 1.1rem 0.25rem 1rem;
  padding-inline-start: 0.9rem;
  border-inline-start: 2px solid var(--accent);
}
.bio-block__text { padding-top: 0.25rem; }
.bio-block__text .bio-block__eyebrow {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.bio-block__text .bio-block__eyebrow::before {
  content: ''; width: 36px; height: 2px; background: var(--accent);
}
.bio-block__text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.bio-block__text h2 em {
  color: var(--accent); font-style: italic;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-weight: 700;
}
.bio-block__text .bio-lede {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
}
.bio-block__text p { font-size: 1rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }
.bio-block__text p em { color: var(--ink); font-style: italic; font-weight: 600; }
.bio-block__text .creds-list {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
}
.bio-block__text .creds-list li {
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.4rem 0;
  display: flex; align-items: center; gap: 0.75rem;
}
.bio-block__text .creds-list li::before {
  content: ''; display: inline-block;
  width: 22px; height: 1px; background: var(--accent); flex: 0 0 22px;
}
@media (max-width: 880px) {
  .bio-block { padding: 3rem 1.5rem; }
  .bio-block__inner { grid-template-columns: 1fr; gap: 2rem; }
  .bio-block__image { max-width: 460px; margin-inline: auto; }
}

/* Solo variant — bio block with no image column */
.bio-block--solo .bio-block__inner { grid-template-columns: minmax(0, 720px); justify-content: center; }
.bio-block--solo .bio-block__text { padding-top: 0; }

/* Slightly bigger portrait in the Personal section now that it carries the image */
.page-body .portrait-card { max-width: 380px; margin-block: 2.75rem; }

/* ============================================================
   Our Support — 2-column patterns (mirrors the original)
   ============================================================ */

/* Two equal text columns side by side */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 64ch;
  margin: 1.75rem auto 0;
}
.cols-2 > p { margin: 0; font-size: 1rem; line-height: 1.75; color: var(--text-muted); max-width: none; }
@media (max-width: 760px) { .cols-2 { grid-template-columns: 1fr; gap: 1rem; max-width: 60ch; } }

/* Alternating text-image / image-text rows (manifesto narrative) */
.split-row {
  display: grid;
  gap: 3rem;
  max-width: 1080px;
  margin: 3rem auto;
  align-items: center;
}
.split-row--text-img { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-row--img-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-row__img {
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 18px 36px -24px rgba(31,27,20,.3);
  background: var(--bg-alt);
}
.split-row__img img { width: 100%; height: auto; display: block; }
.split-row__text p {
  font-size: 1rem; line-height: 1.75; color: var(--text-muted);
  margin: 0 0 1rem; max-width: 52ch;
}
.split-row__text p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .split-row, .split-row--text-img, .split-row--img-text { grid-template-columns: 1fr; gap: 1.75rem; }
  .split-row--img-text .split-row__text { order: 2; }
  .split-row--img-text .split-row__img  { order: 1; }
}

/* Framed photo variant — cream paper outline, like the home bio-block image */
.split-row__img--framed {
  background: var(--paper);
  padding: 0.85rem;                 /* even mat-board border on all 4 sides */
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 18px 32px -24px rgba(31, 27, 20, 0.3);
  line-height: 0;                   /* kill phantom descender gap below img */
}
.split-row__img--framed img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: auto;
}

/* Personal split: sticky image so it stays visible while reading */
.personal-split { align-items: start; }
.personal-split .split-row__img { position: sticky; top: 96px; }
@media (max-width: 880px) { .personal-split .split-row__img { position: static; } }

/* ============================================================
   Media article page — long-read layout
   ============================================================ */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  border-block: 1px solid var(--rule);
  padding-block: 0.9rem; margin-block: 1.5rem;
}
.article-meta b { color: var(--accent); font-weight: 700; letter-spacing: 0.16em; }

/* Fact sheet — Profile box: 2-col label/value table */
.fact-sheet {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.75rem 1.75rem 1.25rem;
  margin-block: 2.5rem;
}
.fact-sheet h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; letter-spacing: 0.04em;
  color: var(--ink); margin: 0 0 1.25rem;
  text-transform: uppercase;
}
.fact-sheet dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.65rem 1.5rem; margin: 0; }
.fact-sheet dt {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; padding-top: 0.15rem;
}
.fact-sheet dd { margin: 0; font-size: 0.98rem; color: var(--ink); }
.fact-sheet ul { margin: 0.25rem 0 0; padding-inline-start: 1rem; font-size: 0.95rem; color: var(--text-muted); }
@media (max-width: 640px) { .fact-sheet dl { grid-template-columns: 1fr; gap: 0.25rem 0; } .fact-sheet dt { margin-top: 0.65rem; } }

/* Numbered initiative blocks */
.initiative {
  border-inline-start: 3px solid var(--accent);
  padding: 0.6rem 0 0.4rem 1.25rem;
  margin-block: 1.4rem;
}
.initiative h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; color: var(--ink); margin: 0 0 0.45rem;
}
.initiative p { font-size: 1rem; line-height: 1.7; color: var(--text-muted); margin: 0; }

/* Article footer — credits + back link */
.article-footer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem; padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.article-footer .credits {
  font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.05em;
}
.article-footer .credits b { color: var(--ink); font-weight: 700; }
.article-footer .back-link {
  font-family: var(--font-display); font-weight: 700;
  color: var(--accent); text-decoration: none;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 0.2rem;
}
.article-footer .back-link:hover { color: var(--ink); border-color: var(--ink); }

/* Article video — responsive 16:9 player with the same paper frame as portraits */
.article-video {
  position: relative;
  margin: 2.5rem 0;
  background: var(--paper);
  padding: 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 18px 32px -24px rgba(31, 27, 20, 0.3);
  line-height: 0;
}
.article-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 2px;
  object-fit: cover;
}
.article-video figcaption {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}
.article-video figcaption b { color: var(--ink); font-weight: 700; }

/* Natural-aspect image — for portraits where the 16:10 crop would cut heads off */
.page-image--natural .page-image__frame {
  aspect-ratio: auto;
  background: var(--paper);
}
.page-image--natural .page-image__frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Cap natural portraits so they don't dominate the page */
.page-image--natural { max-width: 520px; }
.page-gallery .page-image--natural { max-width: none; }
.page-gallery .page-image--natural .page-image__frame { aspect-ratio: 3 / 4; }
.page-gallery .page-image--natural .page-image__frame img { height: 100%; object-fit: cover; object-position: center 25%; }


/* ============================================================
   MOBILE — comprehensive responsive pass (<=640px)
   Template section padding is 3.5rem on each side and 6-7rem
   top/bottom. At 375px that eats ~30% of the viewport and leaves
   text cramped. This block tightens every section, every grid, and
   every hero variant so nothing overflows or sits awkwardly off-centre.
   ============================================================ */
@media (max-width: 640px) {

  /* Section horizontal padding 3.5rem -> 1.25rem everywhere */
  .page-hero,
  .page-body,
  .page-hero--split,
  .expertise,
  .manifesto,
  .intro,
  .booking,
  .method-summary,
  .testimonial,
  .case-teaser,
  .feature-banner,
  .feature-banner__inner,
  .pricing,
  .faq,
  .about,
  .bio-block,
  .tagline-banner {
    padding-inline: 1.25rem !important;
  }
  /* Tighten vertical padding too */
  .page-hero          { padding-block: 2.5rem 2rem !important; }
  .page-hero--split   { padding-block: 2.5rem 2rem !important; }
  .page-body          { padding-block: 2.5rem !important; }
  .expertise          { padding-block: 3rem !important; }
  .intro              { padding-block: 3rem !important; }
  .manifesto          { padding-block: 3rem !important; }
  .founder            { padding-block: 3.5rem !important; }
  .bio-block          { padding-block: 2.5rem !important; }
  .method-summary     { padding-block: 3rem !important; }
  .testimonial        { padding-block: 3rem !important; }
  .tagline-banner     { padding-block: 3rem !important; }

  /* Headlines + lede scale down */
  .hero h1                  { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .hero p                   { font-size: 0.95rem; }
  .page-hero h1             { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .page-hero__lede          { font-size: 1rem; }
  .page-hero--split h1      { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .page-hero--split .page-hero__lede { font-size: 0.98rem; }
  .intro__eyebrow           { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .intro__lead              { font-size: 1rem; line-height: 1.7; }
  .founder__quote           { font-size: 1.1rem; }
  .signed-quote p           { font-size: 1.05rem; }
  .section-head__title      { font-size: clamp(1.55rem, 6.5vw, 2rem); }

  /* Nav tighten */
  .nav { padding: 0 1rem !important; }
  .nav-cta { padding: 0.5rem 0.9rem !important; font-size: 0.78rem; }
  .nav-logo__img { height: 32px !important; }

  /* Trust strip wraps cleanly */
  .trust-strip__inner { font-size: 0.62rem; gap: 0.3rem; padding: 0.4rem 0; line-height: 1.5; flex-wrap: wrap; justify-content: center; }

  /* Split hero: force stack + cap image */
  .page-hero--split .page-hero__grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .page-hero--split .page-hero__image { max-width: 100% !important; margin-inline: auto; }
  .page-hero__meta { grid-template-columns: 1fr !important; gap: 0.85rem !important; }
  .page-hero__meta-cell { padding-bottom: 0.75rem; border-bottom: 1px solid var(--rule); }
  .page-hero__meta-cell:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Bio block solo variant */
  .bio-block--solo .bio-block__inner { grid-template-columns: 1fr !important; }
  .bio-block__text h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* Split rows in articles: force stack */
  .split-row,
  .split-row--text-img,
  .split-row--img-text { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding-inline: 0 !important; }
  .split-row__text p { font-size: 0.98rem; }

  /* Page-body inner */
  .page-body__inner { padding: 0 !important; }
  .prose { max-width: 100%; }
  .prose > p { font-size: 1rem; line-height: 1.7; }
  .lede-drop::first-letter { font-size: 2.8rem; }

  /* Eden form: full-width fields, 16px to prevent iOS zoom on focus */
  .eden-form__row { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .eden-form__input,
  .eden-form__textarea,
  .eden-form__select { font-size: 16px !important; }

  /* Service icon cards: smaller circle */
  .exp-card--icon .exp-card__icon { width: 44px; height: 44px; padding: 16px; margin-top: 1.5rem; }

  /* All card grids: single column on mobile */
  .expertise-grid,
  .expertise-grid--three { grid-template-columns: 1fr !important; gap: 1rem !important; }

  /* 6-stage method grid */
  .method-summary__grid,
  .method-summary__grid--six { grid-template-columns: 1fr !important; gap: 1rem !important; }

  /* Cols-2 (Our Support twin paragraphs) */
  .cols-2 { grid-template-columns: 1fr !important; gap: 1rem !important; }

  /* Page-gallery + home image strip */
  .page-gallery { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .image-strip { grid-template-columns: 1fr !important; }
  .image-strip__cell { aspect-ratio: 16 / 10 !important; }

  /* Fact sheet: stack key/value */
  .fact-sheet { padding: 1.25rem !important; }
  .fact-sheet dl { grid-template-columns: 1fr !important; gap: 0.25rem 0 !important; }
  .fact-sheet dt { margin-top: 0.65rem; }

  /* Credentials strip: stack into 1 column */
  .credentials-strip { grid-template-columns: 1fr !important; padding-block: 1rem !important; }
  .credentials-strip > div { padding-block: 0.65rem; }
  .credentials-strip > div + div { border-inline-start: 0; border-block-start: 1px solid var(--rule); }

  /* Booking section (closing CTA): stack image above panel */
  .booking { display: flex !important; flex-direction: column !important; padding: 0 !important; }
  .booking-image { width: 100%; max-height: 220px; overflow: hidden; }
  .booking-image img { width: 100%; height: 100%; object-fit: cover; }
  .booking-panel { padding: 2.5rem 1.5rem !important; }
  .booking-panel h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .booking-cta { width: 100%; justify-content: center; }

  /* Article footer: stack credits + back link */
  .article-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Site footer: stack columns, centre content */
  .footer-inner { padding: 2rem 1.25rem 1.5rem !important; }
  .footer-bottom { padding-inline: 1.25rem; flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-bottom span { justify-content: center; }
  .footer-contact { font-size: 0.9rem; }
  .footer-links { gap: 1rem; flex-wrap: wrap; }

  /* Tagline banner: smaller text */
  .tagline-banner__text { font-size: clamp(1.15rem, 6vw, 1.7rem); }

  /* Hero stats tighten */
  .hero-stats { padding-top: 1.25rem !important; gap: 0.75rem 0 !important; }
  .hero-stat__v { font-size: 1.45rem !important; }
  .hero-stat__k { font-size: 0.78rem; }

  /* Hero: shorter on mobile */
  .hero { min-height: 540px !important; max-height: none !important; height: auto !important; padding-block: 4rem 3rem; }
  .hero-content { padding: 1rem 1.25rem 2rem !important; }

  /* Founder portrait smaller */
  .founder__portrait { width: 110px; height: 110px; }

  /* Outlet pill on press cards */
  .exp-card--press .exp-card__outlet { top: 0.6rem; inset-inline-start: 0.6rem; font-size: 0.6rem; padding: 0.3rem 0.6rem; }

  /* Initiative blocks tighter */
  .initiative { padding-inline-start: 1rem; }

  /* Testimonial card tighter */
  .testim-card { padding: 1.5rem !important; margin-top: 2.5rem; }
}

/* Mid-size (tablet, 641-880px): some breathing room, not full mobile */
@media (min-width: 641px) and (max-width: 880px) {
  .page-hero,
  .page-body,
  .expertise,
  .manifesto,
  .intro,
  .booking,
  .method-summary,
  .testimonial,
  .bio-block,
  .tagline-banner { padding-inline: 2rem !important; }
}


/* FADE-IN FAILSAFE — the JS in main.js handles this via a setTimeout
   that adds `.v` to any unrevealed `.fade` elements after page load.
   (Earlier attempt with a CSS animation interfered with the .v reveal
   on some browsers — JS-only is cleaner.) */
