
/* Self-hosted, split by unicode-range exactly as Google serves them.
   Not the Google CDN: faster, and no visitor IPs sent to Google — which
   matters with UK, Swiss and EU families. Arabic only downloads on pages
   that actually contain Arabic. */
@font-face{font-family:"Newsreader";src:url("../fonts/newsreader-300i-latin-ext.woff2") format("woff2");
  font-weight:300;font-style:italic;font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";src:url("../fonts/newsreader-300i-latin.woff2") format("woff2");
  font-weight:300;font-style:italic;font-display:swap;
  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:"Newsreader";src:url("../fonts/newsreader-400-latin-ext.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";src:url("../fonts/newsreader-400-latin.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
  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:"Newsreader";src:url("../fonts/newsreader-500-latin-ext.woff2") format("woff2");
  font-weight:500;font-style:normal;font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Newsreader";src:url("../fonts/newsreader-500-latin.woff2") format("woff2");
  font-weight:500;font-style:normal;font-display:swap;
  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:"Karla";src:url("../fonts/karla-400-latin-ext.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Karla";src:url("../fonts/karla-400-latin.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
  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:"Karla";src:url("../fonts/karla-600-latin-ext.woff2") format("woff2");
  font-weight:600;font-style:normal;font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Karla";src:url("../fonts/karla-600-latin.woff2") format("woff2");
  font-weight:600;font-style:normal;font-display:swap;
  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:"Amiri";src:url("../fonts/amiri-400-arabic.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}


*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bone);color:var(--ink);
  font-family:var(--body);font-size:17px;line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img,svg,video{max-width:100%;height:auto;display:block}

h1,h2,h3{font-family:var(--display);font-weight:400;letter-spacing:-0.012em;margin:0}
h1{font-size:clamp(34px,5.2vw,60px);line-height:1.08}
h2{font-size:clamp(26px,3.4vw,38px);line-height:1.22}
h3{font-size:22px;font-weight:500;line-height:1.3}
p{margin:0}

a{color:var(--brass)}
a:hover{color:var(--brass-dark)}
a:focus-visible,button:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

.wrap{max-width:1280px;margin:0 auto;padding-inline:var(--gutter)}
/* Reading pages: the CONTAINER carries the measure, so the column is
   centred and the whitespace is even. Left-aligning a 68ch column inside
   a 1280px wrap put ~440px on one side and ~900px on the other, which
   reads as broken rather than generous. */
.wrap--reading{max-width:880px}
.stack{display:flex;flex-direction:column}
.eyebrow{
  font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
  display:flex;align-items:center;gap:12px;
}
.eyebrow::before{content:"";width:34px;height:1px;background:var(--brass);flex:none}

/* Buttons — min 44px touch target */
.btn{
  display:inline-block;font-family:var(--body);font-size:16px;font-weight:600;
  color:var(--white);background:var(--teal);text-decoration:none;
  padding:17px 32px;border-radius:var(--radius);border:none;cursor:pointer;
}
.btn:hover{background:#24403C;color:var(--white)}

/* Doubled border — the tile-edge motif that does most of the visual work */
.framed{background:var(--card);border:1px solid var(--line);padding:6px}
.framed > *{border:1px solid var(--line);padding:32px 28px;height:100%}
.framed--plain{background:var(--white);border-color:var(--line-strong)}
.framed--plain > *{border-color:var(--line-strong)}

/* Pattern divider bands */
.divider{overflow:hidden;border-block:1px solid var(--line);line-height:0}
.divider svg{width:100%;display:block}
.divider--heavy{height:66px}
.divider--medium{height:50px;border-top:0}
.divider--light{height:38px}

/* Teal panels */
.panel-teal{position:relative;background:var(--teal);overflow:hidden;border-radius:var(--radius)}
.panel-teal__pattern{position:absolute;inset:0;opacity:.32;pointer-events:none}
.panel-teal__inner{position:relative;padding:60px var(--gutter)}
.panel-teal h2,.panel-teal blockquote{color:var(--bone)}
.panel-teal .meta{color:var(--teal-text)}

/* Pointed-arch media frame */
.arch{
  background:var(--card);border:1px solid var(--line-strong);
  /* Fallback shape first, then the exact arch. url() with objectBoundingBox
     scales; the old path() was in absolute user units and stayed 440px wide
     however large the box got. */
  border-radius:50% 50% var(--radius) var(--radius) / 42.5% 42.5% var(--radius) var(--radius);
  clip-path:url(#arch-clip);
  width:min(440px,100%);aspect-ratio:440/560;height:auto;
  display:flex;align-items:center;justify-content:center;
  padding:56px 40px 40px;text-align:center;
}

/* Qur'anic verse */
.ayah{display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.ayah__arabic{
  direction:rtl;font-family:var(--arabic);
  font-size:clamp(30px,3.6vw,44px);
  line-height:2.1;                 /* tashkeel needs the vertical room */
  color:var(--ink);
}
.ayah__translation{font-family:var(--display);font-style:italic;font-size:21px;line-height:1.6;color:var(--ink-soft);max-width:620px}
.ayah__ref{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
@media (max-width:860px){.grid-3{grid-template-columns:1fr;gap:14px}}

.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;width:auto;height:auto;clip-path:none;left:8px;top:8px;background:var(--white);padding:14px 18px;z-index:99;border:1px solid var(--teal)}

/* ---- Navigation. No JS: three links wrap onto a second row on phones. ---- */
.site-head{border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;gap:20px 40px;flex-wrap:wrap;padding-block:18px;min-height:92px}
.nav__brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink);
  font-family:var(--display);font-size:21px;margin-right:auto}
.nav__brand:hover{color:var(--ink)}
.nav__links{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.nav__links a[aria-current]{color:var(--ink);border-bottom:1px solid var(--brass)}
.nav__links a{font-size:15px;color:var(--ink-soft);text-decoration:none;display:inline-block;padding-block:11px;white-space:nowrap}  /* 44px touch target */
.nav__links a:hover{color:var(--ink)}
.nav__cta{padding:12px 22px;font-size:15px}


/* ---- Footer ---- */
.site-foot{border-top:1px solid var(--line);margin-top:auto}
.site-foot .wrap{padding-block:34px;display:flex;align-items:center;gap:16px 28px;flex-wrap:wrap}
.site-foot a{font-size:14px;color:var(--muted);text-decoration:none}
.site-foot a:hover{color:var(--ink)}


/* ---- Prose ---------------------------------------------------------
   ONE rhythm system. Previously .prose was a flex column with gap:22px
   while .post-content > * also set margin-bottom:22px — both applied to
   the same element, so every block sat 44px apart and headings 84px.  */
.prose{
  max-width:66ch;   /* ~75 real characters. NOT 72ch: the ch unit is the
                       width of "0", narrower than the average glyph, so
                       72ch measured out at 82 characters — past the
                       comfortable range. Verified by measuring rendered
                       text, not by trusting the unit. */
  font-size:17px;
  line-height:1.78;
  color:var(--ink-soft);
}
.post-content > * + *{margin-top:22px}
.post-content > :first-child{margin-top:0}
.post-content h2{margin-top:46px;margin-bottom:0;color:var(--ink)}
.post-content h3{margin-top:30px;margin-bottom:0;color:var(--ink);font-size:1.15em}
.post-content h2 + p,
.post-content h3 + p{margin-top:12px}
.post-content ul,.post-content ol{padding-left:22px}
.post-content li + li{margin-top:9px}
.post-content strong{color:var(--ink)}
.page-head{display:flex;flex-direction:column;gap:20px;padding-block:72px 40px}
.page-head h1{max-width:20ch;text-wrap:balance}
.page-head__standfirst{
  margin:0;max-width:60ch;font-size:19px;line-height:1.6;color:var(--ink-soft);
}

/* ---- Section marks -------------------------------------------------
   Every content page is h2-driven prose. A short brass rule above each
   h2 — the same device as the eyebrow — makes sections read as sections
   without boxing everything, which would flatten the hierarchy.       */
.post-content h2{position:relative;padding-top:20px}
.post-content h2::before{
  content:"";position:absolute;top:0;left:0;
  width:34px;height:1px;background:var(--brass);
}
.post-content > p:first-of-type{
  font-size:1.12em;line-height:1.7;color:var(--ink);
}
.post-content blockquote{
  margin:32px 0;padding:4px 0 4px 26px;
  border-left:2px solid var(--teal);
  font-family:var(--display);font-size:1.3em;line-height:1.5;color:var(--ink);
}
.post-content table{
  border:1px solid var(--line);
  box-shadow:0 0 0 6px var(--card);   /* the doubled tile edge, as a frame */
  margin-block:34px 40px;
}


/* ---- YouTube facade ---- */
.yt{position:relative;width:100%;aspect-ratio:16/9;background:var(--card-tint);overflow:hidden}
.yt__btn{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:none;display:block}
.yt__poster{width:100%;height:100%;object-fit:cover}
.yt__play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--white)}
.yt__btn:hover .yt__play{color:var(--teal-pale)}
.yt__frame{width:100%;height:100%;border:0;display:block}
/* inside the arch frame the video fills the clip path */
.arch .yt{height:100%;aspect-ratio:auto}

/* FAQ disclosure */
details > summary::-webkit-details-marker{display:none}
details > summary::marker{content:""}
details > summary::after{content:" +";color:var(--brass);font-weight:600}
details[open] > summary::after{content:" \2013";color:var(--brass)}

/* ---- Consent banner ---- */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--white);
  border-top:1px solid var(--line-strong);box-shadow:0 -6px 24px rgba(31,29,26,.07)}
.consent__inner{max-width:1280px;margin:0 auto;padding:20px var(--gutter);
  display:flex;align-items:center;gap:20px 36px;flex-wrap:wrap}
.consent__text{margin:0;flex:1 1 420px;font-size:15px;line-height:1.6;color:var(--ink-soft)}
.consent__actions{display:flex;gap:12px;align-items:center}
.consent__decline{background:none;border:0;cursor:pointer;font-family:var(--body);
  font-size:15px;color:var(--muted);text-decoration:underline;padding:13px 6px}
.consent__decline:hover{color:var(--ink)}

/* ============================================================
   Ghost: Koenig editor output + Arabic
   ============================================================ */

/* --- Arabic without any markup ---------------------------------
   unicode-bidi:plaintext sets direction per paragraph from its first
   strong character, so an Arabic paragraph aligns RTL on its own.
   Amiri is already declared with a unicode-range covering Arabic, so
   adding it to the stack means Arabic glyphs use it and Latin never does.
   Result: Bekir just types. No cards, no snippets, no HTML.            */
.post-content p,
.post-content li,
.post-content blockquote,
.post-content h2,
.post-content h3 { unicode-bidi: plaintext; }
.post-content { font-family: var(--body), "Amiri", serif; }
.post-content :lang(ar),
.post-content [dir="rtl"] { line-height: 2.1; font-size: 1.2em; }

/* --- Koenig cards ---------------------------------------------- */
.post-content a { color: var(--brass); }
.post-content img { border-radius: var(--radius); }

.kg-card { margin-block: 32px; }
figure figcaption {
  font-size: 14px; color: var(--muted); text-align: center;
  margin-top: 10px; line-height: 1.5;
}
.kg-width-wide  { max-width: min(1040px, 92vw); margin-inline: auto; }
.kg-width-full  { max-width: none; }

/* embeds (YouTube etc.) stay 16:9 without the custom facade */
.kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.kg-embed-card iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }

/* callout — used for the verse block */
.kg-callout-card {
  display: flex; gap: 16px; padding: 24px 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.kg-callout-emoji { font-size: 22px; line-height: 1.4; }

/* toggle — the native collapsible, used for FAQs */
.kg-toggle-card { border-bottom: 1px solid var(--line); padding: 18px 0; }
.kg-toggle-heading { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.kg-toggle-heading h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 20px; }
.kg-toggle-content { padding-top: 12px; color: var(--ink-soft); }

/* tables — the timezone table is edited as a real table */
.post-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.post-content th {
  background: var(--teal); color: var(--bone); text-align: left;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 18px; font-weight: 600;
}
.post-content td { padding: 14px 18px; border-top: 1px solid var(--line-soft); background: var(--card); }

/* Ghost members portal button — we use our own CTAs */
.gh-portal-triggerbtn-iframe { display: none !important; }


}
/* ---- Booking page ------------------------------------------------
   Wider container and a tighter gutter than the rest of the site: the
   calendar is the widest single element anywhere and the default 80px
   gutters waste a lot of screen on it.                                 */
.wrap--wide{max-width:1660px;padding-inline:40px}
@media (max-width:900px){ .wrap--wide{padding-inline:var(--gutter-sm)} }

.book-layout{
  display:flex; gap:48px; align-items:flex-start; flex-wrap:wrap;
  padding-block:48px 64px;
}
/* 400px, not 340 — the timezone table wraps badly below that */
.book-layout__prose{flex:0 1 400px; max-width:none}
.book-layout__prose h2:first-child{margin-top:0}
.book-layout__prose table{font-size:15px}
.book-layout__prose td,.book-layout__prose th{padding:12px 14px}
.book-layout__cal{flex:1 1 760px; min-width:0}

.cal-embed{border:1px solid var(--line-strong);background:var(--card);padding:6px}
.cal-embed iframe{
  display:block; width:100%;
  height:clamp(720px, 78vh, 900px);
  border:1px solid var(--line-soft); background:var(--card);
}

@media (max-width:1080px){
  .book-layout{gap:36px}
  .book-layout__prose,.book-layout__cal{flex:1 1 100%}
}

/* ---- About: portrait beside the story --------------------------- */
.about-split{
  display:flex;gap:64px;align-items:flex-start;flex-wrap:wrap;
  padding-block:64px 56px;
}
.about-split__portrait{flex:0 1 420px;min-width:0;display:flex;justify-content:center}
.about-split__body{flex:1 1 480px;max-width:64ch}
.about-split .arch img{width:100%;height:100%;object-fit:cover}
@media (max-width:900px){
  .about-split{gap:40px}
  .about-split__portrait,.about-split__body{flex:1 1 100%}
}

/* ==================================================================
   Homepage + shared blocks.
   Everything here was previously inline on the templates, which meant
   no media query could touch it — a gap:64px and padding:46px 52px
   stayed at desktop values on a 390px phone.
   ================================================================== */

/* --- hero --- */
.hero{display:flex;gap:64px;align-items:flex-start;flex-wrap:wrap;padding-block:76px 64px}
.hero__copy{flex:1 1 480px;display:flex;flex-direction:column;gap:26px;padding-top:28px}
.hero__intro{margin:0;font-size:19px;line-height:1.65;color:var(--ink-soft)}
.hero__actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:6px}
.hero__note{font-size:14px;color:var(--muted)}
.hero__media{flex:0 1 460px;min-width:0;display:flex;justify-content:center}
.arch--video{padding:0}
.arch__placeholder{font-size:14px;color:var(--muted);line-height:1.6}

/* --- proof band --- */
.panel-teal--band{border-radius:0}
.proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;padding-block:34px}
.proof__item{display:flex;flex-direction:column;gap:5px}
.proof__figure{font-family:var(--display);font-size:32px;line-height:1.15;color:var(--bone)}
.proof__label{font-size:14px;color:var(--teal-text)}

/* --- aside + body split --- */
.split{display:flex;gap:64px;align-items:flex-start;flex-wrap:wrap;padding-block:76px 64px}
.split__aside{flex:0 1 280px;display:flex;flex-direction:column;gap:18px;padding-top:8px}
.split__body{flex:1 1 520px;display:flex;flex-direction:column;gap:24px}
.split__body p{margin:0;font-size:18px;line-height:1.75;color:var(--ink-soft)}
.eyebrow--plain::before{display:none}

/* --- pillars --- */
.pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding-bottom:72px}
.pillar{display:flex;flex-direction:column;gap:14px}
.pillar p{margin:0;font-size:16px;line-height:1.65;color:var(--ink-soft)}

/* --- quote --- */
.quote-section{padding-block:72px 0}
.quote{display:flex;flex-direction:column;gap:26px}
.quote__text{margin:0;font-family:var(--display);font-weight:300;font-size:33px;line-height:1.42;color:var(--bone)}
.quote__by{font-size:15px;color:var(--teal-text)}

/* --- verse --- */
.verse-section{padding-block:72px}
.verse-frame{padding:7px}
.verse-inner{padding:62px 40px}

/* --- CTA --- */
.cta-section{padding-block:64px}
.cta{display:flex;align-items:center;gap:40px;flex-wrap:wrap;padding:46px 52px}
.cta__copy{flex:1 1 400px;display:flex;flex-direction:column;gap:11px}
.cta__copy h2{font-size:34px}
.cta__copy p{margin:0;font-size:17px;line-height:1.6;color:var(--ink-soft)}

/* ---------- tablet ---------- */
@media (max-width:900px){
  .hero{gap:40px;padding-block:52px 48px}
  .hero__copy{padding-top:0;gap:22px}
  .split{gap:36px;padding-block:52px 44px}
  .pillars{grid-template-columns:1fr;gap:16px;padding-bottom:52px}
  .proof{grid-template-columns:1fr;gap:20px;padding-block:28px}
  .cta{padding:36px 32px;gap:28px}
  .cta__copy h2{font-size:28px}
  .verse-inner{padding:44px 24px}
  .quote__text{font-size:26px}
}

/* ---------- phone ---------- */
@media (max-width:560px){
  .hero{gap:28px;padding-block:36px 36px}
  .hero__copy{gap:18px}
  .hero__intro{font-size:17px}
  .hero__actions{gap:12px}
  .hero__actions .btn{width:100%;text-align:center}
  .split{gap:24px;padding-block:40px 32px}
  .split__aside svg{width:36px;height:36px}
  .split__body p{font-size:17px}
  .proof__figure{font-size:26px}
  .cta{padding:28px 22px;gap:20px}
  .cta__copy h2{font-size:24px}
  .cta .btn{width:100%;text-align:center}
  .verse-inner{padding:32px 16px}
  .quote .panel-teal__inner,.quote{gap:18px}
  .quote__text{font-size:21px;line-height:1.45}
  .page-head{padding-block:44px 28px}
}

/* --- for-parents / about teaser / 404 --- */
.fp-intro{padding-block:56px 40px}
.fp-cards{padding-bottom:64px}
.fp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.btn--inline{align-self:flex-start;margin-top:4px}
.note{padding:36px 40px;display:flex;flex-direction:column;gap:10px}
.note p{margin:0;font-size:16px;line-height:1.7;color:var(--ink-soft)}
.teaser{padding:44px 52px;display:flex;align-items:center;gap:36px;flex-wrap:wrap}
.teaser__copy{flex:1 1 420px;display:flex;flex-direction:column;gap:9px}
.teaser__copy h2{font-size:24px;color:var(--bone)}
.teaser__copy p{margin:0;font-size:16px;line-height:1.65;color:var(--teal-text)}
.teaser__link{color:var(--bone);font-weight:600;font-size:15px;border-bottom:1px solid var(--teal-pale);text-decoration:none;padding-bottom:3px}
.err{padding-block:96px 72px;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.err__body{font-size:18px;line-height:1.7;color:var(--ink-soft);max-width:56ch}
.err__actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.err__alt{font-size:16px}

@media (max-width:560px){
  .fp-grid{grid-template-columns:1fr;gap:14px}
  .note{padding:24px 20px}
  .teaser{padding:28px 22px;gap:20px}
  .teaser__copy h2{font-size:21px}
  .err{padding-block:56px 44px}
  .err__actions .btn{width:100%;text-align:center}
}

/* ==================================================================
   Audit fixes
   ================================================================== */

/* --- overflow policy: editor content must never widen the page --- */
.prose,.post-content{overflow-wrap:anywhere}
.post-content>*,.split__body,.hero__copy,.book-layout__prose,
.contact-split__body,.post-row__body{min-width:0}
.post-content pre{max-width:100%;overflow-x:auto}
.post-content table{display:block;overflow-x:auto;max-width:100%}
.contact-block__email{overflow-wrap:anywhere}

/* --- components previously inline --- */
.book-fallback{max-width:640px;margin-inline:auto}
.cal-note{margin-top:14px;font-size:14px;color:var(--muted);text-align:center}
.contact-split{padding-block:56px 72px;display:flex;gap:48px;flex-wrap:wrap}
.contact-split__body{flex:1 1 420px}
.contact-split__aside{flex:0 1 320px;padding-top:6px}
.contact-block{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.contact-block__email{font-size:17px}
.contact-block__warn{margin:0;color:var(--muted);font-size:15px}
.post__date{font-size:15px;color:var(--muted)}
.post-body{padding-block:48px 64px}
.post__hero{width:100%;margin-bottom:32px}
.page-body{padding-block:56px 64px}
.about-teaser{padding-block:64px}
.site-foot__note{font-size:14px;color:var(--muted)}

.post-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.post-row{display:flex;gap:28px;align-items:baseline;flex-wrap:wrap;
  padding:26px 0;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
.post-row__date{flex:none;width:112px;font-size:14px;color:var(--muted)}
.post-row__body{flex:1 1 380px;display:flex;flex-direction:column;gap:7px}
.post-row__title{font-family:var(--display);font-size:24px;line-height:1.3;color:var(--ink)}
.post-row__sum{font-size:16px;line-height:1.6;color:var(--ink-soft)}

/* --- 9: links on teal keep contrast on hover and focus --- */
.panel-teal a:hover,.teaser__link:hover{color:var(--bone)}
.panel-teal a:focus-visible,.teaser__link:focus-visible{outline:2px solid var(--bone);outline-offset:3px}

/* --- 10: 44px touch targets on standalone links --- */
.site-foot a,.err__alt,.contact-block__email,.nav__brand{
  display:inline-flex;align-items:center;min-height:44px;
}
.site-foot .wrap{gap:4px 24px}

/* --- 8/14: Koenig embeds and figures --- */
.post-content figure{margin-inline:0}
.kg-embed-card iframe[src*="youtu"],
.kg-embed-card iframe[src*="vimeo"]{aspect-ratio:16/9;height:auto}

/* --- 5: booking stacks before the two columns stop fitting (400+760+48+80) --- */
@media (max-width:1300px){
  .book-layout__prose,.book-layout__cal{flex:1 1 100%}
  .book-layout{gap:36px}
}

/* ---------- phone: generic frame defaults FIRST ---------- */
@media (max-width:560px){
  .framed{padding:4px}
  .framed > *{padding:22px 18px}
  .btn{padding:15px 24px}
  .panel-teal__inner{padding:36px var(--gutter)}
  /* then component-specific overrides, which must come after */
  .nav__cta{padding:11px 18px}
  .proof{padding-block:28px}
  .framed > .cta{padding:28px 22px}
  .framed > .verse-inner{padding:32px 16px}
  .framed > .note{padding:24px 20px}
  .contact-split{padding-block:40px 48px;gap:28px}
  .contact-split__body,.contact-split__aside{flex:1 1 100%}
  .post-row{gap:6px;padding:20px 0}
  .post-row__date{width:auto}
  .post-row__title{font-size:20px}
  .post-body,.page-body{padding-block:36px 44px}
  .about-teaser{padding-block:40px}
  .cal-embed iframe{height:clamp(560px,120vw,720px)}
}


/* standalone links need a 44px hit area; inline links in prose are exempt */
.teaser__link{display:inline-flex;align-items:center;min-height:44px}

/* ==================================================================
   Navigation — links collapse behind a button on phones
   ================================================================== */
.nav__toggle{
  display:none;                 /* desktop, and no-JS: never shown */
  width:44px;height:44px;padding:0;margin-left:4px;
  background:none;border:0;cursor:pointer;color:var(--ink);
  align-items:center;justify-content:center;
}
.nav__icon--close{display:none}

/* 1060px, not 760px. The bar needs 902px of content (brand 300 + links 401
   + CTA 121 + two 40px gaps); with 80px gutters that is a 1062px viewport.
   Below it .nav{flex-wrap:wrap} silently dropped "Book a call" onto its own
   row — at 1024px, iPad landscape, among others. It wrapped rather than
   overflowed, so no overflow/overlap check could see it. If nav labels are
   ever added or lengthened this threshold moves; check.js now measures nav
   rows directly so that shows up as a failure rather than a surprise. */
@media (max-width:1060px){
  .nav{min-height:0;padding-block:12px;gap:12px;flex-wrap:wrap;align-items:center}
  .nav__brand{font-size:17px;gap:10px;margin-right:auto;min-width:0}
  .nav__brand span{white-space:nowrap}
  .nav__cta{padding:12px 16px;font-size:14px;flex:none;min-height:44px;display:inline-flex;align-items:center}
  .nav__toggle{flex:none}

  /* only collapse once JS can reopen it */
  .js .nav__toggle{display:inline-flex}
  .js .nav__links{
    display:none;
    order:4;width:100%;flex-basis:100%;
    flex-direction:column;align-items:stretch;gap:0;
    border-top:1px solid var(--line);margin-top:4px;padding-top:4px;
  }
  .js .nav--open .nav__links{display:flex}
  .js .nav--open .nav__icon--bars{display:none}
  .js .nav--open .nav__icon--close{display:block}
  .nav__links a{padding-block:14px;font-size:16px;min-height:44px;
    display:flex;align-items:center}
  .nav__links li + li a{border-top:1px solid var(--line-soft)}
}
@media (max-width:400px){
  .nav__brand span{font-size:15px}
  .nav__cta{padding:10px 13px;font-size:13px}
}
/* below ~340px the title plus a 44px toggle no longer fits one row */
@media (max-width:344px){
  .nav__brand span{font-size:14px}
  .nav__brand svg{width:24px;height:24px}
}

/* the in-menu CTA exists only where the header one is hidden */
.nav__links-cta{display:none}
@media (max-width:560px){
  .nav{gap:10px}
  .nav__brand{gap:10px}
  .nav > .nav__cta{display:none}          /* header CTA off; hero has one */
  .js .nav__links-cta{display:block}
  .nav__links-cta a{
    color:var(--teal);font-weight:600;
    border-top:1px solid var(--line-soft);
  }
}

/* ---- Testimonials ---------------------------------------------------
   Card per quote rather than a run of blockquotes: each is a separate
   family speaking, and the doubled edge is the same tile device used on
   .post-content table and the verse frame.                            */
.testimonial-list{display:flex;flex-direction:column;gap:30px;padding-block:8px 4px}
.testimonial{
  margin:0;padding:34px 38px;
  background:var(--card);border:1px solid var(--line);
  box-shadow:0 0 0 6px var(--card-tint, transparent);
}
.testimonial__quote{
  font-family:var(--display);font-size:20px;line-height:1.62;color:var(--ink);
}
/* Both rules at (0,1,0) so the later one wins for adjacent siblings.
   ".testimonial__quote p{margin:0}" was (0,1,1) and silently beat the owl
   selector, collapsing every paragraph into the one before it. */
.testimonial__quote > *{margin:0}
.testimonial__quote > * + *{margin-top:15px}
.testimonial__by{
  margin-top:22px;padding-top:16px;border-top:1px solid var(--line);
  text-align:left;   /* overrides the global `figure figcaption` centring */
  font-family:var(--body);font-size:14px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted);
}
.quote__more{
  /* 13px block padding takes the hit area to 44px; the negative margin pulls
     the visual spacing back to where the padding-free version sat. */
  display:inline-block;align-self:flex-start;
  font-size:15px;color:var(--teal-text);text-decoration:underline;
  text-underline-offset:3px;padding-block:13px;margin-block:-7px;
}
.quote__more:hover{color:var(--bone)}
@media (max-width:560px){
  .testimonial{padding:24px 22px}
  .testimonial__quote{font-size:18px}
  .testimonial-list{gap:20px}
}
@media (min-width:1900px){ .testimonial__quote{font-size:23px} .testimonial{padding:42px 46px} }
@media (min-width:3000px){ .testimonial__quote{font-size:27px} .testimonial{padding:54px 58px} }

/* ==================================================================
   Large displays.
   Every other breakpoint in this file is max-width: the design was
   built to a 1280px ceiling and simply stopped growing above it, so a
   27" screen showed a narrow strip of page floating in empty parchment.
   The fix is to scale the page UP, not only to widen the container —
   at 2500px a 17px body is small, and small type is what makes a
   column read as narrow. Type grows, the measure caps stay in
   characters (so a 68ch line is still 68 characters, just bigger),
   and the extra room goes to the gutters and the image.
   ================================================================== */
@media (min-width:1500px){
  :root{--gutter:88px}
  .wrap{max-width:1400px}
  .wrap--reading{max-width:980px}
  .prose{font-size:18px}
  h1{font-size:clamp(34px,5.2vw,68px)}
  .hero{gap:72px;padding-block:88px 72px}
  .hero__intro{max-width:46ch}
  .hero__media{flex:0 1 520px}
  .hero__intro{font-size:20px}
  .split__body p{font-size:19px;max-width:68ch}
  .proof__figure{font-size:36px}
  .quote__text{font-size:37px}
  .cta__copy p{max-width:52ch}
}

@media (min-width:1900px){
  :root{--gutter:104px}
  .wrap{max-width:1560px}
  .wrap--reading{max-width:1060px}
  .prose{font-size:19px}
  h1{font-size:clamp(34px,5.2vw,76px)}
  h2{font-size:clamp(26px,3.4vw,44px)}
  .hero{gap:88px;padding-block:104px 80px}
  .hero__media{flex:0 1 560px}
  .hero__intro{font-size:21px}
  .page-head__standfirst{font-size:21px}
  .split{gap:80px;padding-block:88px 72px}
  .split__aside{flex:0 1 360px}
  .pillars{gap:40px}
  .pillar p{font-size:17px}
  .proof__figure{font-size:40px}
  .proof__label,.hero__note{font-size:15px}
  .quote__text{font-size:41px}
  .cta{padding:56px 64px}
  .cta__copy h2{font-size:38px}
  .cta__copy p{font-size:18px}
  .nav__links a,.nav__cta,.btn{font-size:16px}
  .nav__brand{font-size:23px}
}

@media (min-width:2400px){
  :root{--gutter:120px}
  .wrap{max-width:1800px}
  .wrap--reading{max-width:1180px}
  .wrap--wide{max-width:1960px;padding-inline:56px}
  .prose{font-size:21px}
  h1{font-size:clamp(34px,5.2vw,86px)}
  h2{font-size:clamp(26px,3.4vw,50px)}
  .hero{gap:104px;padding-block:120px 92px}
  .hero__media{flex:0 1 620px}
  .arch{width:min(600px,100%)}
  .hero__intro{font-size:23px}
  .page-head__standfirst{font-size:23px}
  .split__body p{font-size:21px;max-width:68ch}
  .pillar p{font-size:18px}
  .proof__figure{font-size:46px}
  .quote__text{font-size:47px}
  .cta__copy h2{font-size:44px}
  .nav__links a,.nav__cta,.btn{font-size:17px}
  .nav__brand{font-size:26px}
}

/* Beyond 3000px — a 5K/6K panel at native scaling. The page still must
   not run edge to edge: a reading site with a 3000px line is unusable.
   The measure stays in characters; the type and the image take the room. */
@media (min-width:3000px){
  :root{--gutter:140px}
  .wrap{max-width:2200px}
  .wrap--reading{max-width:1320px}
  .wrap--wide{max-width:2400px;padding-inline:72px}
  .prose{font-size:24px}
  h1{font-size:clamp(34px,5.2vw,100px)}
  h2{font-size:clamp(26px,3.4vw,58px)}
  .hero{gap:120px;padding-block:140px 104px}
  .hero__media{flex:0 1 720px}
  .arch{width:min(700px,100%)}
  .hero__intro,.page-head__standfirst{font-size:26px}
  .split{gap:96px}
  .split__aside{flex:0 1 460px}
  .split__body p{font-size:24px;max-width:68ch}
  .pillars{gap:52px}
  .pillar p{font-size:20px}
  .proof__figure{font-size:54px}
  .proof__label,.hero__note{font-size:17px}
  .quote__text{font-size:56px}
  .cta{padding:68px 80px}
  .cta__copy h2{font-size:52px}
  .cta__copy p{font-size:21px}
  .nav__links a,.nav__cta,.btn{font-size:19px}
  .nav__brand{font-size:30px}
}
