/*
 * THE STRATEGY ROOM / INTERNAL PAGES
 * Load after style.css and (for Arabic pages) arabic.css.
 * All rules are scoped to .inner-page. Source content is never hidden for animation.
 */

.inner-page {
  --inner-muted: #6a6057;
  --inner-soft: #eae1d4;
  --inner-line: #d5cbbc;
  --inner-wine: #692d3c;
  --inner-dark: #301a21;
  --inner-gutter: clamp(20px, 5vw, 80px);
  --inner-width: 1280px;
  /* The retained consent stylesheet uses these legacy token names. */
  --personal-ink: var(--ink);
  --personal-wine: var(--inner-wine);
  --personal-line: var(--inner-line);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}
.inner-page *, .inner-page *::before, .inner-page *::after { box-sizing: border-box; }
.inner-page main { min-inline-size: 0; }
.inner-page main :where(h1, h2, h3, h4, h5, h6, p, li, a, strong, span, article, aside, figure, div) { min-inline-size: 0; }
.inner-page main :where(img, svg, video, iframe) { max-inline-size: 100%; }
.inner-page main img { display: block; block-size: auto; }
.inner-page main [id] { scroll-margin-block-start: 28px; }
.inner-page main :where(h1, h2, h3, h4) { text-wrap: balance; }
.inner-page main :where(h1, h2, h3, h4, p, li, a, td, th) { overflow-wrap: anywhere; }
.inner-page .wrap {
  inline-size: calc(100% - var(--inner-gutter) * 2);
  max-inline-size: var(--inner-width);
  margin-inline: auto;
}
.inner-page :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--inner-wine);
  outline-offset: 5px;
}
.inner-page ::selection { background: #692d3c; color: #fff8ed; }
.inner-page [hidden] { display: none !important; }
.inner-page :is(.skip, .skip-link) {
  position: fixed;
  z-index: 100;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 12px 20px;
  background: var(--inner-dark);
  color: #fff8ed;
  transform: translateY(-180%);
  text-decoration: underline;
  font-size: 16px;
}
.inner-page :is(.skip, .skip-link):focus { transform: none; }

/* The familiar homepage masthead sits in the document flow on reading pages. */
.inner-page .header {
  position: relative;
  inset: auto;
  min-block-size: 92px;
  block-size: auto;
  padding-block: 18px;
  border-block-end: 1px solid var(--inner-line);
  background: var(--paper);
}
.inner-page .header a[aria-current="page"] { color: var(--inner-wine); }
.inner-page .header nav a[aria-current="page"] { box-shadow: inset 0 -1px var(--inner-wine); }
.inner-page .header .contact-link { white-space: nowrap; }
.inner-page .header .brand { flex: 0 0 auto; }
.inner-page .header nav .nav-extra { display: none; }
.inner-page .header :where(a, button) { min-block-size: 44px; }
.inner-page .header .brand, .inner-page .header .lang { display: inline-flex; align-items: center; }
.inner-page .header .lang { padding-inline: 4px; }
.inner-page .header :where(a, button):focus-visible { outline: 3px solid var(--inner-wine); outline-offset: 4px; }
.inner-page .header .menu-toggle[aria-expanded="true"] { color: var(--inner-wine); }
.inner-page .closing :where(a, button):focus-visible { outline: 3px solid #e0c28e; outline-offset: 5px; }
.inner-page .closing .cookie-settings { align-self: start; padding: 8px 0; min-block-size: 44px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Hero: generous typography, an architectural line, then a panoramic scene. */
.inner-page .editorial-hero {
  position: relative;
  isolation: isolate;
  padding-block: 26px 0;
  background: var(--paper);
  border-block-end: 1px solid var(--inner-line);
}
.inner-page .editorial-hero > .wrap { position: relative; }
.inner-page .breadcrumbs { margin-block-end: 50px; color: var(--inner-muted); }
.inner-page .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.55;
}
.inner-page .breadcrumbs li { display: inline; }
.inner-page .breadcrumbs li + li::before {
  content: "/";
  padding-inline-end: 12px;
  color: #978878;
}
.inner-page .breadcrumbs a { padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: transparent; }
.inner-page .breadcrumbs a:hover { color: var(--inner-wine); text-decoration-color: currentColor; }
.inner-page .breadcrumbs [aria-current="page"] { color: var(--ink); }
.inner-page .hero-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr);
  align-items: end;
  gap: clamp(32px, 6vw, 100px);
  padding-block-end: 62px;
}
.inner-page .hero-editorial-copy { position: relative; }
.inner-page .hero-editorial-copy:only-child { grid-column: 1 / -1; max-inline-size: 1000px; }
.inner-page .hero-label,
.inner-page .reading > .eyebrow,
.inner-page .detail-layout aside .eyebrow {
  margin: 0 0 18px;
  color: var(--inner-wine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.6;
}
.inner-page .hero-label::before {
  content: "";
  display: inline-block;
  inline-size: 28px;
  block-size: 1px;
  background: currentColor;
  margin-inline-end: 12px;
  vertical-align: middle;
}
.inner-page .hero-editorial-copy h1 {
  max-inline-size: 15ch;
  margin: 0;
  font-size: clamp(60px, 7.55vw, 112px);
  line-height: 1.035;
  font-weight: 500;
  letter-spacing: -.065em;
}
.inner-page .hero-description {
  max-inline-size: 620px;
  margin-block-start: 28px;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.8;
  letter-spacing: -.015em;
  color: var(--inner-muted);
}
.inner-page .hero-process {
  position: relative;
  margin: 0 0 7px;
  padding: 8px 0 0;
  list-style: none;
  border-block-start: 1px solid var(--inner-line);
}
.inner-page .hero-process li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-block: 17px;
  border-block-end: 1px solid var(--inner-line);
  font-size: 17px;
  line-height: 1.6;
}
.inner-page .hero-process strong { font-weight: 500; }
.inner-page .hero-step { color: var(--inner-wine); font-size: 12px; font-variant-numeric: tabular-nums; }
.inner-page .inner-hero-art {
  display: block;
  inline-size: 100%;
  block-size: clamp(210px, 24vw, 340px);
  margin: 0;
  object-fit: cover;
  object-position: center 62%;
  border-block-start: 1px solid #bda78a;
  background: #e8ddcc;
}
.inner-page figure.inner-hero-art { block-size: auto; }
.inner-page .inner-hero-art img { inline-size: 100%; block-size: clamp(210px, 24vw, 340px); object-fit: cover; object-position: center 62%; }
.inner-page .inner-hero-art figcaption { padding: 10px 0; font-size: 13px; line-height: 1.6; background: var(--paper); color: var(--inner-muted); }

/* Related destinations retain the source links; there are no fake cards. */
.inner-page :where(.hero-work-links, .hero-downloads, .hero-reading-list) { border-block-start: 1px solid var(--inner-line); }
.inner-page :where(.hero-work-links, .hero-downloads) > a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: baseline;
  gap: 12px;
  padding-block: 21px;
  border-block-end: 1px solid var(--inner-line);
  color: var(--ink);
  transition: color .2s ease, border-color .2s ease;
}
.inner-page :where(.hero-work-links, .hero-downloads) > a:hover { color: var(--inner-wine); border-color: var(--inner-wine); }
.inner-page :where(.hero-work-links, .hero-downloads) > a > span:first-child { font-size: 12px; font-weight: 500; letter-spacing: .07em; color: var(--inner-wine); }
.inner-page :where(.hero-work-links, .hero-downloads) > a > span:last-child { font-size: 23px; font-family: Inter, Arial, sans-serif; }
.inner-page .hero-work-links strong { font-size: 27px; font-weight: 500; letter-spacing: -.035em; }
.inner-page .hero-downloads strong { font-size: 18px; font-weight: 500; line-height: 1.6; }
.inner-page .hero-downloads > .hero-label, .inner-page .hero-reading-list > .hero-label { margin-block: 18px 8px; }
.inner-page .hero-reading-list ol { list-style: none; padding: 0; margin: 0; counter-reset: hero-read; }
.inner-page .hero-reading-list li { counter-increment: hero-read; border-block-end: 1px solid var(--inner-line); }
.inner-page .hero-reading-list li > a { position: relative; display: flex; justify-content: space-between; gap: 18px; padding-block: 17px; font-size: 16px; line-height: 1.7; }
.inner-page .hero-reading-list li > a:hover { color: var(--inner-wine); }
.inner-page .hero-reading-list li > a > span { font: 24px/1.5 Inter, Arial, sans-serif; flex: 0 0 auto; }
.inner-page .hero-topics { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; gap: 10px 20px; }
.inner-page .hero-topics li { font-size: 13px; line-height: 1.7; color: var(--inner-wine); }
.inner-page .hero-topics li + li::before { content: "+"; margin-inline-end: 20px; color: #9c7e6a; }

/* Reading layout and navigation are ordinary document flow, never scroll panels. */
.inner-page .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  column-gap: clamp(40px, 7vw, 110px);
  align-items: start;
  padding-block: 70px 100px;
}
.inner-page .detail-layout > .reading { grid-column: 1; grid-row: 1; }
.inner-page .detail-layout > aside { grid-column: 2; grid-row: 1; min-inline-size: 0; }
.inner-page .reading { max-inline-size: 830px; font-size: 17px; line-height: 1.85; }
.inner-page .reading > :first-child { margin-block-start: 0; }
.inner-page .reading > :last-child { margin-block-end: 0; }
.inner-page .reading :where(p, ul, ol, dl) { margin-block: 0 24px; }
.inner-page .reading > :where(p, ul, ol, dl) { max-inline-size: 72ch; }
.inner-page .reading :where(p, li) { color: #514b43; }
.inner-page .reading strong { color: var(--ink); font-weight: 600; }
.inner-page .reading h2 {
  max-inline-size: 25ch;
  margin-block: 64px 23px;
  padding-block-start: 28px;
  border-block-start: 1px solid var(--inner-line);
  font-size: clamp(31px, 3.15vw, 44px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.2;
}
.inner-page .reading h3 {
  margin-block: 38px 14px;
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.inner-page .reading h4 {
  margin-block: 28px 12px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -.015em;
  font-weight: 600;
}
.inner-page .reading :where(h5, h6) { margin-block: 24px 12px; font-size: 17px; line-height: 1.6; }
.inner-page .reading h2:first-child, .inner-page .reading #page-sections + h2 { margin-block-start: 0; padding-block-start: 0; border: 0; }
.inner-page .reading ul, .inner-page .reading ol { padding-inline-start: 24px; }
.inner-page .reading li { padding-inline-start: 4px; margin-block: 9px; }
.inner-page .reading li::marker { color: var(--inner-wine); }
.inner-page .reading li :where(ul, ol) { margin-block: 10px; }
.inner-page .reading dt { font-weight: 600; margin-block-start: 20px; color: var(--ink); }
.inner-page .reading dd { margin-inline-start: 0; margin-block-end: 20px; }
.inner-page .reading > .section-intro { margin-block: 66px 0; padding-block-start: 24px; border-block-start: 1px solid var(--inner-line); font-size: 12px; color: var(--inner-wine); }
.inner-page .reading > .section-intro + h2 { margin-block-start: 17px; padding-block-start: 0; border: 0; }
.inner-page .reading > #page-sections:empty { display: none; }
.inner-page .reading > #page-sections + p { color: var(--inner-wine); font-weight: 500; }
.inner-page .reading :where(p, li) a:not(.body-link):not(.button) { color: var(--inner-wine); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.inner-page .reading a:hover { text-decoration-color: currentColor; }
.inner-page .body-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  inline-size: fit-content;
  max-inline-size: 100%;
  min-block-size: 48px;
  margin-block: 14px 24px;
  padding-block: 11px;
  border-block-end: 1px solid #b59a8b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--inner-wine);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.inner-page .body-link + .body-link { margin-block-start: 0; }
.inner-page .body-link:hover { border-color: var(--inner-wine); color: #3d1923; }
.inner-page .body-link > span[aria-hidden] { font: 23px/1.2 Inter, Arial, sans-serif; flex: 0 0 auto; }
.inner-page .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-block-size: 50px;
  max-inline-size: 100%;
  padding: 13px 22px;
  border: 1px solid var(--inner-wine);
  border-radius: 0;
  background: var(--inner-wine);
  color: #fff8ed;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.inner-page .button:hover { background: #4c202d; border-color: #4c202d; }
.inner-page .button:disabled { cursor: not-allowed; color: #f7ede3; background: #85766c; border-color: #85766c; }
.inner-page .button.dark { background: var(--ink); border-color: var(--ink); }
.inner-page .button.dark:hover { background: var(--inner-wine); border-color: var(--inner-wine); }

.inner-page .page-toc {
  position: static;
  max-block-size: none;
  overflow: visible;
  margin: 0 0 36px;
  padding-block: 18px 24px;
  border-block: 1px solid var(--inner-line);
  color: var(--ink);
  font-size: 15px;
}
.inner-page .page-toc :where(h2, h3, p, summary) { margin: 0 0 14px; font-size: 15px; line-height: 1.6; font-weight: 600; letter-spacing: 0; color: var(--inner-wine); }
.inner-page .page-toc summary { position: relative; cursor: pointer; min-block-size: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; list-style: none; }
.inner-page .page-toc summary::-webkit-details-marker { display: none; }
.inner-page .page-toc summary::after { content: "+"; font: 23px/1 Inter, Arial, sans-serif; font-weight: 400; }
.inner-page .page-toc[open] > summary::after, .inner-page .page-toc details[open] > summary::after { content: "−"; }
.inner-page .page-toc :where(ul, ol) { list-style: none; margin: 10px 0 0; padding: 0; }
.inner-page .page-toc li { margin: 0; padding: 0; }
.inner-page .page-toc li + li { border-block-start: 1px solid #d5cbbc70; }
.inner-page .page-toc a { display: block; padding-block: 11px; color: #5d544a; font-size: 15px; line-height: 1.7; text-decoration: none; }
.inner-page .page-toc a:hover, .inner-page .page-toc a:focus-visible { color: var(--inner-wine); text-decoration: underline; text-underline-offset: 4px; }
.inner-page .page-toc a[aria-current="location"] { color: var(--inner-wine); font-weight: 600; }
.inner-page .page-toc :where(ul, ol) :where(ul, ol) { padding-inline-start: 16px; margin: 0; }
.inner-page .sidebar-cta, .inner-page aside.consulting-sidebar > .sidebar-cta {
  position: relative;
  padding: 28px 24px;
  background: #ece2d5;
  border-block-start: 3px solid var(--inner-wine);
}
.inner-page .detail-layout aside > .eyebrow { padding-block-start: 25px; border-block-start: 1px solid var(--inner-line); }
.inner-page .detail-layout aside h2 {
  margin: 0 0 18px;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.inner-page .detail-layout aside p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: var(--inner-muted); margin: 0 0 24px; }
.inner-page .detail-layout aside .button { padding-inline: 14px; font-size: 15px; inline-size: 100%; }
.inner-page .detail-layout aside .page-toc :where(h2, h3) { font-size: 15px; letter-spacing: 0; line-height: 1.6; }

/* Static builder markup: details.toc-disclosure wraps nav.page-toc. */
.inner-page .toc-disclosure {
  position: static;
  margin: 0 0 36px;
  padding-block: 12px;
  border-block: 1px solid var(--inner-line);
  max-block-size: none;
  overflow: visible;
}
.inner-page .toc-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-block-size: 44px;
  margin: 0;
  padding-block: 7px;
  color: var(--inner-wine);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.inner-page .toc-disclosure > summary::-webkit-details-marker { display: none; }
.inner-page .toc-disclosure > summary::after { content: "+"; flex: 0 0 auto; font: 24px/1 Inter, Arial, sans-serif; }
.inner-page .toc-disclosure[open] > summary::after { content: "−"; }
.inner-page .toc-disclosure > .page-toc { margin: 0; padding-block: 8px 6px; border: 0; }
.inner-page .toc-disclosure > .page-toc > a + a { border-block-start: 1px solid #d5cbbc70; }
.inner-page .toc-disclosure > .page-toc > a { break-inside: avoid; }
.inner-page .toc-disclosure > summary:hover { color: #4c202d; }

/* This optional anchor works without motion or JavaScript-dependent visibility. */
.inner-page :is(.back-top, .back-to-top) {
  position: fixed;
  z-index: 9;
  inset-inline-end: max(18px, env(safe-area-inset-right));
  inset-block-end: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 48px;
  block-size: 48px;
  padding: 0;
  border: 1px solid #eadbc5;
  border-radius: 50%;
  background: var(--inner-wine);
  color: #fff8ed;
  box-shadow: 0 5px 18px #301a211c;
  font: 23px/1 Inter, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.inner-page :is(.back-top, .back-to-top):hover { background: #4c202d; }
.inner-page :is(.back-top, .back-to-top):focus-visible { outline: 3px solid var(--inner-wine); outline-offset: 4px; box-shadow: 0 0 0 4px var(--paper); }

/* Figures keep their real aspect ratio; no dashboard or published cover is cropped. */
.inner-page .reading figure { margin: 40px 0; padding: 0; }
.inner-page .reading figure img { inline-size: 100%; block-size: auto; object-fit: contain; background: #e7ddd0; border: 1px solid var(--inner-line); }
.inner-page .reading figcaption,
.inner-page .hero-editorial-layout figcaption { margin-block-start: 12px; font-size: 13px; line-height: 1.7; color: var(--inner-muted); }
.inner-page .reading .guide-cover,
.inner-page .family-resources .reading figure { max-inline-size: 420px; }
.inner-page .reading .guide-cover { margin-inline: auto; }
.inner-page .reading .omnispot-brand-figure { max-inline-size: 380px; margin-block: 30px; }
.inner-page .reading .omnispot-brand-figure img { border: 0; background: transparent; }
.inner-page .reading .experience-image { max-inline-size: 620px; }
.inner-page .reading .experience-image:has(img[src*="portrait"]) { max-inline-size: 330px; }
.inner-page .reading .experience-image:has(img[src*="case-cover"]) { max-inline-size: 410px; margin-inline: auto; }
.inner-page .reading blockquote {
  margin: 40px 0;
  padding: 15px 0 15px 28px;
  padding-inline: 28px 0;
  border-inline-start: 2px solid var(--inner-wine);
  font-size: 23px;
  line-height: 1.65;
  color: var(--inner-wine);
}
.inner-page .reading blockquote p:last-child { margin-block-end: 0; }
.inner-page .reading hr { margin-block: 44px; border: 0; border-block-start: 1px solid var(--inner-line); }
.inner-page .reading :where(pre, code) { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.inner-page .reading pre { padding: 20px; background: #eae1d4; border: 1px solid var(--inner-line); overflow: visible; }
.inner-page .reading details { margin-block: 20px; padding-block: 20px; border-block: 1px solid var(--inner-line); }
.inner-page .reading details + details { margin-block-start: -21px; }
.inner-page .reading summary { font-size: 19px; font-weight: 500; cursor: pointer; line-height: 1.6; }
.inner-page .reading details[open] summary { margin-block-end: 18px; color: var(--inner-wine); }
.inner-page .reading .faq-item > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; min-block-size: 44px; list-style: none; }
.inner-page .reading .faq-item > summary::-webkit-details-marker { display: none; }
.inner-page .reading .faq-item > summary > h3 { margin: 0; padding: 0; border: 0; font-size: 22px; line-height: 1.55; color: inherit; }
.inner-page .reading .faq-item > summary::after { content: "+"; flex: 0 0 auto; font: 25px/1 Inter, Arial, sans-serif; color: var(--inner-wine); }
.inner-page .reading .faq-item[open] > summary::after { content: "−"; }
.inner-page .reading .faq-item > :last-child { margin-block-end: 0; }

/* A restrained metric treatment for numbers already present in the source. */
.inner-page .reading .case-metric {
  display: grid;
  grid-template-columns: minmax(130px, .9fr) minmax(0, 1.1fr);
  gap: 25px;
  align-items: baseline;
  margin: 0;
  padding-block: 23px;
  border-block-start: 1px solid var(--inner-line);
}
.inner-page .reading .case-metric strong { font-size: clamp(37px, 4.2vw, 58px); line-height: 1.15; font-weight: 500; letter-spacing: -.06em; color: var(--inner-wine); }
.inner-page .reading .case-metric span { font-size: 16px; line-height: 1.65; color: #5d544b; }
.inner-page .reading .case-metric + p:not(.case-metric) { margin-block-start: 26px; }

/* Family art direction: distinct content, shared palette and rhythm. */
.inner-page.family-consulting .hero-editorial-layout { padding-block-end: 45px; }
.inner-page.family-consulting .reading :is(#growth-strategy, #customer-journeys, #transformation) {
  margin-block-start: 56px;
  padding-block-start: 25px;
  border-block-start: 1px solid #bba390;
  color: var(--inner-wine);
  font-size: clamp(28px, 2.5vw, 36px);
}
.inner-page.family-training .editorial-hero { background: #eee5d8; }
.inner-page.family-training .hero-process { border-color: #baa18b; }
.inner-page.family-training .hero-step { inline-size: 30px; block-size: 30px; border: 1px solid #b79982; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.inner-page.family-training .hero-process li { align-items: center; border-color: #ccb8a3; }
.inner-page.family-training .reading > h3 { color: var(--inner-wine); }
.inner-page.family-training .reading > .section-intro { border-block-start: 2px solid #bba38d; }
.inner-page.family-about .hero-editorial-copy h1 { max-inline-size: 15ch; }
.inner-page.family-about .hero-editorial-layout:has(.inner-about-portrait),
.inner-page.family-about .hero-editorial-layout:has(.hero-portrait) { grid-template-columns: minmax(0, 1fr); }
.inner-page.family-about .hero-portrait,
.inner-page.family-about .inner-about-portrait { margin: 24px 0 0; inline-size: min(100%, 500px); }
.inner-page.family-about .hero-portrait img,
.inner-page.family-about .inner-about-portrait img { inline-size: 100%; block-size: auto; object-fit: cover; }
.inner-page.family-about img.inner-about-portrait { block-size: auto; max-inline-size: 500px; }
.inner-page.family-about .hero-portrait figcaption,
.inner-page.family-about .inner-about-portrait figcaption { margin-block-start: 12px; font-size: 13px; color: var(--inner-muted); }
.inner-page.family-about .editorial-hero > .wrap > .inner-about-portrait { margin-block-start: -15px; margin-block-end: 0; }
.inner-page.family-about main > .inner-about-portrait {
  inline-size: calc(100% - var(--inner-gutter) * 2);
  max-inline-size: 500px;
  margin: 44px auto 0;
  padding: 0;
}
.inner-page.family-about main > .inner-about-portrait img { inline-size: 100%; block-size: auto; }
.inner-page.family-about main > .inner-about-portrait + .detail-layout { padding-block-start: 54px; }
.inner-page.family-about .reading > h3 { padding-inline-start: 23px; border-inline-start: 2px solid var(--inner-wine); }
.inner-page.family-experience .hero-editorial-copy h1 { max-inline-size: 9ch; }
.inner-page.family-experience .hero-work-links strong { font-size: 30px; }
.inner-page.family-experience .reading :is(#omnispot, #appgain, #cancan) {
  margin-block-start: 60px;
  padding-block: 30px 14px;
  border-block-start: 2px solid var(--inner-wine);
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.15;
  letter-spacing: -.055em;
  color: var(--inner-wine);
}
.inner-page.family-resources .editorial-hero { background: #eee6d8; }
.inner-page.family-resources .hero-downloads { border-color: #bfa990; }
.inner-page.family-resources .hero-downloads > a { border-color: #cbbba4; }
.inner-page.family-resources .reading > figure { max-inline-size: 380px; margin-inline: auto; }
.inner-page.family-resources .reading > h2[id] { padding-block-start: 34px; border-block-start: 2px solid #b59a80; color: var(--inner-wine); }
.inner-page.family-resources .reading .body-link[href*="/downloads/"] { background: #eae0d1; padding: 17px 20px; border-block-end: 1px solid #b59a80; }
.inner-page.family-contact .editorial-hero { background: #eee5d8; }
.inner-page.family-contact .hero-editorial-copy { max-inline-size: 860px; }
.inner-page.family-contact .reading > .body-link[href^="mailto:"],
.inner-page.family-contact .reading > .body-link[href^="tel:"],
.inner-page.family-contact .reading > .body-link[href*="wa.me"] { font-size: clamp(18px, 2vw, 25px); }
.inner-page.family-privacy .hero-editorial-copy h1 { font-size: clamp(55px, 6.3vw, 90px); }
.inner-page.family-privacy .hero-editorial-layout { padding-block-end: 45px; }
.inner-page.family-privacy .hero-description { max-inline-size: 760px; }
.inner-page.family-privacy .reading { font-size: 17px; }
.inner-page.family-privacy .reading h2 { font-size: clamp(28px, 2.5vw, 35px); }

/* Notebook index: a true editorial grid rather than a repeated sales template. */
.inner-page.family-insights .editorial-hero { background: #eee5d8; }
.inner-page.family-insights .hero-editorial-copy h1 { font-size: clamp(70px, 9.5vw, 138px); letter-spacing: -.07em; }
.inner-page.family-insights .detail-layout { grid-template-columns: minmax(0, 1fr); }
.inner-page.family-insights .detail-layout > .reading { max-inline-size: none; grid-column: 1; grid-row: 1; }
.inner-page.family-insights .detail-layout > aside { grid-column: 1; grid-row: 2; margin-block-start: 55px; }
.inner-page.family-insights .detail-layout > aside .sidebar-cta { max-inline-size: 640px; }
.inner-page .insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 36px;
}
.inner-page .insight-grid > article { padding-block-end: 22px; border-block-end: 1px solid #c5b39e; }
.inner-page .insight-grid .insight-art { display: block; margin-block-end: 24px; background: #e8ddce; }
.inner-page .insight-grid .insight-art img { inline-size: 100%; block-size: auto; aspect-ratio: 800 / 533; object-fit: cover; }
.inner-page .insight-grid h2 { margin: 0 0 17px; padding: 0; border: 0; max-inline-size: 24ch; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.22; letter-spacing: -.045em; }
.inner-page .insight-grid h2 a { text-decoration: none; }
.inner-page .insight-grid h2 a:hover { color: var(--inner-wine); }
.inner-page .insight-grid p { font-size: 16px; line-height: 1.8; margin-block-end: 20px; }
.inner-page .text-link { display: inline-block; padding-block: 9px; color: var(--inner-wine); border-block-end: 1px solid #b59a8b; font-size: 15px; line-height: 1.7; }
.inner-page .insight-grid > article:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 42px; align-content: center; }
.inner-page .insight-grid > article:first-child > .insight-art { grid-column: 1; grid-row: 1 / 5; margin: 0; align-self: start; }
.inner-page .insight-grid > article:first-child > :not(.insight-art) { grid-column: 2; }
.inner-page .insight-grid > article:first-child h2 { font-size: clamp(30px, 3.15vw, 44px); }
.inner-page .insight-grid > article:first-child .text-link { justify-self: start; }

/* Articles show the original illustration below the headline, never in a portrait slot. */
.inner-page.family-article .hero-editorial-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block-end: 40px; }
.inner-page.family-article .hero-editorial-copy { max-inline-size: 1050px; }
.inner-page.family-article .hero-editorial-copy h1 { max-inline-size: 23ch; font-size: clamp(45px, 5.4vw, 80px); line-height: 1.1; letter-spacing: -.055em; }
.inner-page.family-article .hero-description { max-inline-size: 780px; }
.inner-page.family-article .hero-article-cover { inline-size: 100%; margin: 0; }
.inner-page.family-article .hero-article-cover img { inline-size: 100%; block-size: auto; max-block-size: 520px; object-fit: contain; background: #e9dfd0; }
.inner-page.family-article .hero-article-cover figcaption { margin: 0; padding-block: 11px 14px; text-align: end; }
.inner-page.family-article .hero-article-cover:has(img[src*="think-and-play"]) { max-inline-size: 370px; margin-inline: auto; }
.inner-page.family-article .hero-article-cover:has(img[src*="think-and-play"]) img { max-block-size: none; }
.inner-page.family-article .reading { font-size: 18px; line-height: 1.95; }
.inner-page.family-article .reading h2 { font-size: clamp(29px, 2.8vw, 39px); line-height: 1.28; }
.inner-page.family-article .reading h3 { font-size: 25px; }
.inner-page.family-article .reading > h2:first-child + ol { padding: 22px 24px; padding-inline-start: 46px; background: #ece3d5; font-size: 16px; }
.inner-page.family-case-study .editorial-hero { background: #eae0d2; }
.inner-page.family-case-study .hero-editorial-copy h1 { color: var(--inner-wine); }
.inner-page.family-case-study .hero-editorial-layout { grid-template-columns: minmax(0, 1fr); gap: 42px; }
.inner-page.family-case-study .hero-editorial-layout:has(+ .hero-artifact) { padding-block-end: 42px; }
.inner-page.family-case-study .hero-artifact { inline-size: 100%; }
.inner-page.family-case-study .hero-artifact figcaption { max-inline-size: 75ch; }
.inner-page.family-case-study .hero-artifact { margin: 0; padding: clamp(18px, 3.5vw, 50px); background: var(--inner-dark); }
.inner-page.family-case-study .hero-artifact img { inline-size: 100%; block-size: auto; box-shadow: 0 22px 55px #10090c44; }
.inner-page.family-case-study .hero-artifact figcaption { color: #e2d0c2; margin-block-start: 20px; font-size: 13px; }
.inner-page.family-case-study .reading > figure:not(.omnispot-brand-figure) { padding: 18px; background: #e9dfd2; border: 1px solid #cbb9a4; }
.inner-page.family-case-study .reading > figure:not(.omnispot-brand-figure) img { border: 0; }

/* Native forms keep clear focus, readable fields, and honest draft/result states. */
.inner-page .enquiry-form { margin-block: 30px 50px; padding: clamp(20px, 3vw, 38px); background: #ece2d5; border-block-start: 2px solid var(--inner-wine); }
.inner-page .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.inner-page .field { margin-block-end: 24px; }
.inner-page .field label { display: block; margin-block-end: 9px; font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--ink); }
.inner-page .field :where(input, select, textarea) { display: block; inline-size: 100%; max-inline-size: 100%; min-inline-size: 0; min-block-size: 52px; padding: 13px 14px; border: 1px solid #a99580; border-radius: 0; background: #fbf8f1; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.65; }
.inner-page .field select { padding-inline-end: 34px; }
.inner-page .field textarea { min-block-size: 180px; resize: vertical; }
.inner-page .field :where(input, textarea)::placeholder { color: #75685b; opacity: 1; }
.inner-page .field :where(input, select, textarea):focus { border-color: var(--inner-wine); }
.inner-page .field [aria-invalid="true"] { border-color: #9b2834; }
.inner-page .reading .form-note { margin-block: 10px 0; color: var(--inner-muted); font-size: 14px; line-height: 1.75; }
.inner-page .draft-result { margin-block-start: 28px; padding-block-start: 25px; border-block-start: 1px solid #b79a83; }
.inner-page .draft-result p { font-size: 16px; }
.inner-page .draft-result .button { background: var(--ink); border-color: var(--ink); }
.inner-page input[type="email"], .inner-page input[type="tel"] { direction: ltr; text-align: start; }

/* Tables never create horizontal body or nested scrollbar overflow. */
.inner-page .table-scroll { max-inline-size: 100%; max-block-size: none; overflow: visible; margin-block: 30px; }
.inner-page .reading table { inline-size: 100%; table-layout: fixed; border-collapse: collapse; margin-block: 28px; font-size: 16px; line-height: 1.65; }
.inner-page .reading caption { text-align: start; margin-block-end: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.inner-page .reading :where(th, td) { padding: 14px 12px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--inner-line); overflow-wrap: anywhere; }
.inner-page .reading th { background: #e6dac9; color: #4d2330; font-weight: 600; }
.inner-page .reading td { color: #514b43; }
.inner-page .reading tr:nth-child(even) td { background: #eee6d9; }
.inner-page .reading :where(th, td):first-child { inline-size: 36%; }

/* The old source closing block, if kept, is a compact content coda.
   The approved homepage closing/footer has no .wrap and remains intact. */
.inner-page main > .closing:has(> .wrap) { padding: 0; background: #e6d8c4; color: var(--ink); }
.inner-page main > .closing > .wrap { display: flex; justify-content: space-between; align-items: center; gap: 45px; padding-block: 56px; }
.inner-page main > .closing > .wrap h2 { margin-block: 14px 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.15; }
.inner-page main > .closing > .wrap .eyebrow { color: var(--inner-wine); font-size: 12px; line-height: 1.6; }
.inner-page main > .closing > .wrap .button { flex: 0 1 280px; }
.inner-page .closing .footer-contact a { overflow-wrap: anywhere; }

/* Arabic uses the same hierarchy with natural letter spacing and reading rhythm. */
[dir="rtl"] .inner-page, .inner-page[dir="rtl"] { letter-spacing: 0; }
[dir="rtl"] .inner-page :where(.hero-label, .reading > .eyebrow, .detail-layout aside .eyebrow, .hero-topics, .hero-downloads > a > span:first-child),
.inner-page[dir="rtl"] :where(.hero-label, .reading > .eyebrow, .detail-layout aside .eyebrow, .hero-topics, .hero-downloads > a > span:first-child) { letter-spacing: 0; }
[dir="rtl"] .inner-page .hero-editorial-copy h1, .inner-page[dir="rtl"] .hero-editorial-copy h1 { font-family: Arabic, Arial, sans-serif; font-size: clamp(52px, 6.1vw, 88px); letter-spacing: -.035em; line-height: 1.4; max-inline-size: 16ch; }
[dir="rtl"] .inner-page .hero-description, .inner-page[dir="rtl"] .hero-description { font-size: 19px; line-height: 1.95; letter-spacing: 0; }
[dir="rtl"] .inner-page .reading, .inner-page[dir="rtl"] .reading { font-size: 18px; line-height: 2; }
[dir="rtl"] .inner-page .reading h2, .inner-page[dir="rtl"] .reading h2 { line-height: 1.5; letter-spacing: -.02em; font-size: clamp(29px, 2.9vw, 40px); }
[dir="rtl"] .inner-page .reading h3, .inner-page[dir="rtl"] .reading h3 { line-height: 1.55; letter-spacing: 0; }
[dir="rtl"] .inner-page .reading h4, .inner-page[dir="rtl"] .reading h4 { line-height: 1.8; letter-spacing: 0; }
[dir="rtl"] .inner-page .hero-work-links strong, .inner-page[dir="rtl"] .hero-work-links strong { font-family: Inter, Arabic, Arial, sans-serif; }
[dir="rtl"] .inner-page .hero-reading-list li > a, .inner-page[dir="rtl"] .hero-reading-list li > a { line-height: 1.9; }
[dir="rtl"] .inner-page .detail-layout aside h2, .inner-page[dir="rtl"] .detail-layout aside h2 { line-height: 1.5; letter-spacing: 0; font-size: 28px; }
[dir="rtl"] .inner-page .detail-layout aside .page-toc h2, .inner-page[dir="rtl"] .detail-layout aside .page-toc h2 { font-size: 15px; }
[dir="rtl"] .inner-page.family-article .hero-editorial-copy h1, .inner-page[dir="rtl"].family-article .hero-editorial-copy h1 { font-size: clamp(39px, 4.8vw, 68px); line-height: 1.5; max-inline-size: 24ch; }
[dir="rtl"] .inner-page.family-insights .hero-editorial-copy h1, .inner-page[dir="rtl"].family-insights .hero-editorial-copy h1 { font-size: clamp(60px, 7.9vw, 110px); }
[dir="rtl"] .inner-page .insight-grid h2, .inner-page[dir="rtl"] .insight-grid h2 { font-size: clamp(25px, 2.25vw, 32px); line-height: 1.55; }
[dir="rtl"] .inner-page .insight-grid > article:first-child h2, .inner-page[dir="rtl"] .insight-grid > article:first-child h2 { font-size: clamp(29px, 2.8vw, 39px); }
[dir="rtl"] .inner-page .reading .case-metric strong, .inner-page[dir="rtl"] .reading .case-metric strong { font-family: Inter, Arabic, Arial, sans-serif; letter-spacing: -.04em; }
[dir="rtl"] .inner-page .body-link, .inner-page[dir="rtl"] .body-link { line-height: 1.85; }
[dir="rtl"] .inner-page .page-toc a, .inner-page[dir="rtl"] .page-toc a { line-height: 1.9; }

@media (min-width: 1600px) {
  .inner-page { --inner-width: 1360px; }
  .inner-page .detail-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .inner-page.family-insights .detail-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .inner-page .hero-editorial-layout { grid-template-columns: minmax(0, 1.45fr) minmax(230px, 1fr); gap: 36px; }
  .inner-page .hero-editorial-copy h1 { font-size: clamp(58px, 7.3vw, 90px); }
  .inner-page .detail-layout { grid-template-columns: minmax(0, 1fr) 240px; column-gap: 40px; }
  .inner-page .sidebar-cta { padding: 24px 20px; }
  .inner-page .detail-layout aside h2 { font-size: 29px; }
  .inner-page .hero-work-links strong { font-size: 25px; }
  .inner-page .hero-downloads strong { font-size: 16px; }
  .inner-page .insight-grid > article:first-child { column-gap: 30px; }
}
@media (max-width: 980px) {
  .inner-page .detail-layout { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-block: 42px 76px; }
  .inner-page .detail-layout > aside { display: contents; }
  .inner-page .detail-layout > .reading { grid-column: 1; grid-row: auto; order: 2; inline-size: 100%; max-inline-size: 780px; margin-inline: auto; }
  .inner-page .detail-layout > aside > :is(.page-toc, .toc-disclosure) { grid-column: 1; grid-row: auto; order: 1; inline-size: 100%; margin-block: 0 35px; }
  .inner-page .detail-layout > aside > .sidebar-cta { grid-column: 1; grid-row: auto; order: 3; margin-block: 55px 0; max-inline-size: 780px; inline-size: 100%; margin-inline: auto; padding: 32px; }
  .inner-page .detail-layout > aside > .sidebar-cta .button { inline-size: auto; }
  .inner-page .detail-layout > aside > .sidebar-cta h2 { font-size: 33px; }
  .inner-page .detail-layout > aside > .sidebar-cta p { max-inline-size: 50ch; }
  .inner-page .page-toc :where(ul, ol) { columns: 2; column-gap: 28px; }
  .inner-page .toc-disclosure > .page-toc { columns: 2; column-gap: 28px; }
  .inner-page .page-toc li { break-inside: avoid; }
  .inner-page .page-toc :where(ul, ol) :where(ul, ol) { columns: auto; }
  .inner-page.family-insights .detail-layout > .reading { max-inline-size: none; grid-column: 1; grid-row: auto; order: 2; }
  .inner-page.family-insights .detail-layout > aside { margin: 0; }
  .inner-page .reading .experience-image:has(img[src*="portrait"]) { max-inline-size: 310px; }
}
@media (max-width: 800px) {
  .inner-page { --inner-gutter: 6%; }
  .inner-page .header { block-size: 82px; min-block-size: 82px; padding-block: 0; }
  .inner-page .header nav { inset-block-start: 81px; }
  .inner-page .header nav .nav-extra { display: block; }
  .inner-page .header nav a { min-block-size: 44px; }
  .inner-page .header nav a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-underline-offset: 6px; }
  .inner-page .editorial-hero { padding-block-start: 22px; }
  .inner-page .breadcrumbs { margin-block-end: 35px; }
  .inner-page .breadcrumbs ol { font-size: 12px; gap: 6px 9px; }
  .inner-page .breadcrumbs li + li::before { padding-inline-end: 9px; }
  .inner-page .hero-editorial-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block-end: 40px; }
  .inner-page .hero-editorial-copy h1 { font-size: clamp(55px, 10.5vw, 82px); max-inline-size: 13ch; }
  .inner-page .hero-description { font-size: 18px; line-height: 1.85; margin-block-start: 22px; }
  .inner-page .hero-label { margin-block-end: 16px; font-size: 11px; }
  .inner-page .hero-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; border-block: 1px solid var(--inner-line); padding-block: 18px; }
  .inner-page .hero-process li { display: block; padding: 0; border: 0; font-size: 16px; }
  .inner-page .hero-step { display: block; margin-block-end: 8px; }
  .inner-page.family-training .hero-step { display: grid; }
  .inner-page .inner-hero-art, .inner-page .inner-hero-art img { block-size: 230px; object-position: center 63%; }
  .inner-page figure.inner-hero-art { block-size: auto; }
  .inner-page .hero-work-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .inner-page .hero-work-links > a { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px; padding-block: 16px; }
  .inner-page .hero-work-links > a > span:first-child { grid-column: 1 / -1; }
  .inner-page .hero-work-links strong, .inner-page.family-experience .hero-work-links strong { font-size: 23px; }
  .inner-page .hero-downloads > a { padding-block: 17px; }
  .inner-page .hero-reading-list li > a { font-size: 16px; }
  .inner-page .hero-downloads strong { font-size: 18px; }
  .inner-page .reading h2 { margin-block-start: 49px; padding-block-start: 24px; }
  .inner-page .reading h3 { margin-block-start: 32px; }
  .inner-page .reading > .section-intro { margin-block-start: 52px; }
  .inner-page.family-experience .hero-editorial-copy h1 { max-inline-size: 11ch; }
  .inner-page.family-article .hero-editorial-copy h1 { font-size: clamp(40px, 7vw, 58px); max-inline-size: 24ch; line-height: 1.15; }
  .inner-page.family-article .hero-article-cover img { max-block-size: 430px; }
  .inner-page.family-article .hero-article-cover:has(img[src*="think-and-play"]) { max-inline-size: 300px; }
  .inner-page.family-insights .hero-editorial-copy h1 { font-size: clamp(65px, 13vw, 100px); }
  .inner-page.family-contact .hero-editorial-copy h1, .inner-page.family-privacy .hero-editorial-copy h1 { font-size: clamp(54px, 10vw, 76px); }
  .inner-page .insight-grid { gap: 42px 26px; }
  .inner-page .insight-grid h2 { font-size: 27px; line-height: 1.28; }
  .inner-page .insight-grid > article:first-child { grid-template-columns: minmax(0, 1fr); }
  .inner-page .insight-grid > article:first-child > .insight-art { grid-column: 1; grid-row: auto; margin-block-end: 25px; }
  .inner-page .insight-grid > article:first-child > :not(.insight-art) { grid-column: 1; }
  .inner-page .insight-grid > article:first-child h2 { max-inline-size: 26ch; font-size: 36px; }
  .inner-page main > .closing > .wrap { flex-direction: column; align-items: start; gap: 30px; padding-block: 44px; }
  .inner-page main > .closing > .wrap .button { flex: auto; }
  [dir="rtl"] .inner-page .hero-editorial-copy h1, .inner-page[dir="rtl"] .hero-editorial-copy h1 { font-size: clamp(46px, 8.5vw, 68px); line-height: 1.45; max-inline-size: 18ch; }
  [dir="rtl"] .inner-page .hero-description, .inner-page[dir="rtl"] .hero-description { font-size: 18px; line-height: 1.95; }
  [dir="rtl"] .inner-page.family-article .hero-editorial-copy h1, .inner-page[dir="rtl"].family-article .hero-editorial-copy h1 { font-size: clamp(35px, 6.2vw, 51px); line-height: 1.55; }
  [dir="rtl"] .inner-page.family-insights .hero-editorial-copy h1, .inner-page[dir="rtl"].family-insights .hero-editorial-copy h1 { font-size: clamp(54px, 11vw, 80px); }
  [dir="rtl"] .inner-page .insight-grid h2, .inner-page[dir="rtl"] .insight-grid h2 { font-size: 26px; line-height: 1.6; }
}
@media (max-width: 600px) {
  .inner-page { --inner-gutter: 22px; font-size: 16px; }
  .inner-page .hero-editorial-layout { gap: 30px; }
  .inner-page .hero-editorial-copy h1 { font-size: clamp(48px, 11.4vw, 64px); }
  .inner-page .hero-description { font-size: 17px; line-height: 1.85; }
  .inner-page .hero-process { gap: 12px; }
  .inner-page .hero-process li { font-size: 16px; line-height: 1.65; }
  .inner-page .hero-work-links { display: block; }
  .inner-page .hero-work-links > a { grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 12px; padding-block: 15px; }
  .inner-page .hero-work-links > a > span:first-child { grid-column: auto; }
  .inner-page .hero-work-links strong, .inner-page.family-experience .hero-work-links strong { font-size: 25px; }
  .inner-page .hero-downloads > a { grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 10px; }
  .inner-page .hero-downloads strong { font-size: 17px; }
  .inner-page .inner-hero-art, .inner-page .inner-hero-art img { block-size: 200px; }
  .inner-page figure.inner-hero-art { block-size: auto; }
  .inner-page .detail-layout { padding-block: 32px 60px; }
  .inner-page .page-toc { padding-block: 8px 14px; }
  .inner-page .page-toc :where(ul, ol), .inner-page .toc-disclosure > .page-toc { columns: auto; }
  .inner-page .toc-disclosure { padding-block: 9px; }
  .inner-page.family-about main > .inner-about-portrait { max-inline-size: 350px; margin-block-start: 30px; }
  .inner-page.family-about main > .inner-about-portrait + .detail-layout { padding-block-start: 34px; }
  .inner-page .page-toc a { font-size: 16px; padding-block: 12px; }
  .inner-page .detail-layout > aside > .sidebar-cta { padding: 27px 22px; margin-block-start: 40px; }
  .inner-page .detail-layout > aside > .sidebar-cta h2 { font-size: 31px; }
  .inner-page .reading { font-size: 16px; line-height: 1.9; }
  .inner-page .reading :where(p, ul, ol, dl) { margin-block-end: 21px; }
  .inner-page .reading h2 { font-size: 31px; line-height: 1.25; letter-spacing: -.045em; }
  .inner-page .reading h3 { font-size: 25px; line-height: 1.35; }
  .inner-page .reading h4 { font-size: 18px; }
  .inner-page .reading figure { margin-block: 30px; }
  .inner-page .reading figcaption { font-size: 13px; }
  .inner-page .body-link { inline-size: 100%; gap: 16px; font-size: 16px; margin-block-end: 19px; }
  .inner-page .reading .case-metric { grid-template-columns: minmax(100px, 1fr) minmax(0, 1fr); gap: 19px; padding-block: 22px; }
  .inner-page .reading .case-metric strong { font-size: clamp(35px, 9vw, 45px); }
  .inner-page .reading .case-metric span { font-size: 16px; }
  .inner-page.family-experience .reading :is(#omnispot, #appgain, #cancan) { font-size: 43px; margin-block-start: 46px; }
  .inner-page.family-about .inner-about-portrait, .inner-page.family-about .hero-portrait { max-inline-size: 350px; margin-inline: auto; }
  .inner-page.family-article .reading { font-size: 17px; line-height: 1.95; }
  .inner-page.family-article .hero-editorial-copy h1 { font-size: clamp(36px, 8.2vw, 48px); }
  .inner-page.family-article .hero-article-cover img { max-block-size: none; }
  .inner-page.family-article .reading h2 { font-size: 29px; line-height: 1.35; }
  .inner-page.family-case-study .reading > figure:not(.omnispot-brand-figure) { padding: 10px; }
  .inner-page .insight-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .inner-page .insight-grid h2 { max-inline-size: none; font-size: 28px; }
  .inner-page .insight-grid > article:first-child h2 { font-size: 31px; }
  .inner-page .insight-grid .insight-art { margin-block-end: 21px; }
  .inner-page .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .inner-page .enquiry-form { padding: 24px 18px; }
  .inner-page .enquiry-form .button { inline-size: 100%; }
  .inner-page .field label { font-size: 16px; }
  .inner-page .reading table { font-size: 16px; }
  .inner-page .reading :where(th, td) { padding: 12px 7px; }
  .inner-page .reading table:has(td[data-label]),
  .inner-page .reading table:has(td[data-label]) :where(tbody, tfoot) { display: block; inline-size: 100%; }
  .inner-page .reading table:has(td[data-label]) tr { display: block; border-block: 1px solid var(--inner-line); margin-block: 0 20px; }
  .inner-page .reading table:has(td[data-label]) tr:has(th):not(:has(td)) { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .inner-page .reading table:has(td[data-label]) td { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; inline-size: 100%; padding: 13px 12px; border-block-end: 1px solid var(--inner-line); background: transparent; }
  .inner-page .reading table:has(td[data-label]) td:first-child { background: #e8ddcd; font-weight: 500; }
  .inner-page .reading table:has(td[data-label]) td:last-child { border-block-end: 0; }
  .inner-page .reading td[data-label]::before { content: attr(data-label); color: var(--inner-wine); font-weight: 500; }
  [dir="rtl"] .inner-page .reading, .inner-page[dir="rtl"] .reading { font-size: 17px; line-height: 2; }
  [dir="rtl"] .inner-page .hero-editorial-copy h1, .inner-page[dir="rtl"] .hero-editorial-copy h1 { font-size: clamp(43px, 9.5vw, 58px); letter-spacing: -.02em; }
  [dir="rtl"] .inner-page .hero-description, .inner-page[dir="rtl"] .hero-description { font-size: 17px; }
  [dir="rtl"] .inner-page .reading h2, .inner-page[dir="rtl"] .reading h2 { font-size: 28px; line-height: 1.6; }
  [dir="rtl"] .inner-page .reading h3, .inner-page[dir="rtl"] .reading h3 { font-size: 24px; line-height: 1.65; }
  [dir="rtl"] .inner-page.family-article .hero-editorial-copy h1, .inner-page[dir="rtl"].family-article .hero-editorial-copy h1 { font-size: clamp(32px, 7.8vw, 42px); line-height: 1.6; }
  [dir="rtl"] .inner-page .insight-grid h2, .inner-page[dir="rtl"] .insight-grid h2,
  [dir="rtl"] .inner-page .insight-grid > article:first-child h2, .inner-page[dir="rtl"] .insight-grid > article:first-child h2 { font-size: 27px; line-height: 1.6; }
}
@media (max-width: 360px) {
  .inner-page { --inner-gutter: 18px; }
  .inner-page .hero-editorial-copy h1 { font-size: 46px; }
  .inner-page .hero-process { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 0; }
  .inner-page .hero-process li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 15px; padding-block: 13px; border-block-end: 1px solid var(--inner-line); }
  .inner-page .hero-process li:last-child { border-block-end: 0; }
  .inner-page .hero-step { margin: 0; }
  .inner-page .hero-description { margin-block-start: 20px; }
  .inner-page .reading h2 { font-size: 29px; }
  .inner-page .reading .case-metric { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .inner-page .reading .case-metric strong { font-size: 43px; }
  .inner-page .body-link { gap: 12px; }
  .inner-page .hero-topics { gap: 8px 12px; }
  .inner-page .hero-topics li + li::before { margin-inline-end: 12px; }
  .inner-page .hero-downloads strong { font-size: 16px; }
  .inner-page.family-article .hero-editorial-copy h1 { font-size: 35px; }
  .inner-page .enquiry-form { padding-inline: 15px; }
  .inner-page .reading table:has(td[data-label]) td { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .inner-page *, .inner-page *::before, .inner-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .inner-page { font-size: 11pt; line-height: 1.6; color: #111; background: #fff; }
  .inner-page .header, .inner-page .page-toc, .inner-page .sidebar-cta, .inner-page .closing, .inner-page .review-footer, .inner-page :is(.skip, .skip-link) { display: none !important; }
  .inner-page .wrap { inline-size: 100%; max-inline-size: none; }
  .inner-page .editorial-hero, .inner-page .hero-editorial-layout, .inner-page .detail-layout { display: block; padding: 0; background: #fff; }
  .inner-page .reading { max-inline-size: none; font-size: 11pt; }
  .inner-page .hero-editorial-copy h1 { font-size: 32pt; }
  .inner-page .hero-description { font-size: 12pt; }
  .inner-page .reading h2 { font-size: 20pt; break-after: avoid; }
  .inner-page .reading h3 { font-size: 15pt; break-after: avoid; }
  .inner-page .reading figure { break-inside: avoid; }
  .inner-page .reading a { color: #111; }
}
.inner-page .inline-name { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }

/* Restore uncompressed Arabic typesetting on all reading and service pages. */
html[lang="ar"] .inner-page :is(h1,h2,h3,h4,h5,h6,p,a,button,label,li,figcaption,span,em,strong):not(:lang(en)){letter-spacing:0}
