/*
 * obiowhite.css - the OBIOWHITE design system ("Light Study", 01-project/art-direction.md).
 *
 * Rules of this file (decisions D6, D10; pitfalls "CSS, RTL and mobile"):
 * - one prefix, `ow-`; components never depend on which page they sit on;
 * - logical properties only (inline-start/end, block-start/end) so Hebrew (RTL) and English (LTR) share
 *   every rule; an English-only rule is `html:not([dir="rtl"]) ...` ([dir="ltr"] matches nothing);
 * - colours from the tokens below (also registered as GeneratePress global colours, so the editor palette
 *   is the same); form fields 16px+, touch targets 44px+, touch sizing up to 1024px;
 * - motion is short, purposeful, and disappears under prefers-reduced-motion.
 */

/* ------------------------------------------------------------------ tokens */
:root {
  --ow-paper: #f6f5f1;        /* warm light ground */
  --ow-paper-2: #efede7;      /* a step deeper - material, stone */
  --ow-white: #fdfdfb;
  --ow-ink: #14213a;          /* text: the navy of "WHITE", deepened */
  --ow-ink-2: #3c4658;        /* secondary text (AA on paper) */
  --ow-muted: #5d6676;        /* captions (AA on paper at 14px+) */
  --ow-navy: #1f3f7a;         /* brand navy */
  --ow-blue: #1b84c4;         /* brand blue - fills, the halo, large type only */
  --ow-blue-text: #13689f;    /* brand blue darkened for text/links (AA) */
  --ow-halo: #d5e9f6;         /* the logo's light disc */
  --ow-mist: #e9f2f8;
  --ow-line: #d8d4cb;
  --ow-line-strong: #b9b3a6;
  --ow-ok: #1d6b4a;
  --ow-err: #a3261b;

  --ow-font-display: "Frank Ruhl Libre", "Times New Roman", serif;
  --ow-font-body: "IBM Plex Sans Hebrew", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ow-font-label: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ow-wrap: 1240px;
  --ow-text: 680px;
  --ow-gutter: clamp(16px, 4vw, 40px);
  --ow-space-1: 8px;
  --ow-space-2: 16px;
  --ow-space-3: 24px;
  --ow-space-4: 40px;
  --ow-space-5: clamp(48px, 7vw, 88px);
  --ow-space-6: clamp(72px, 11vw, 144px);
  --ow-radius: 2px;          /* almost square: precise, not "app-like" */
  --ow-ease: cubic-bezier(.2, .7, .2, 1);
  --ow-fast: 160ms;
  --ow-slow: 520ms;
}

/* ------------------------------------------------------------------ base */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--ow-paper);
  color: var(--ow-ink);
  font-family: var(--ow-font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 18px; } }

h1, h2, h3, h4, .ow-display {
  font-family: var(--ow-font-display);
  color: var(--ow-ink);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-block: 0 0.5em;
  text-wrap: balance;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.18; }
h1 { font-size: clamp(2.35rem, 1.6rem + 3.4vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.9vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-family: var(--ow-font-body); font-weight: 600; letter-spacing: 0; }
p { margin-block: 0 1.1em; text-wrap: pretty; }
strong, b { font-weight: 600; }
a { color: var(--ow-blue-text); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color var(--ow-fast) var(--ow-ease); }
a:hover { color: var(--ow-navy); }
::selection { background: var(--ow-halo); color: var(--ow-ink); }

:focus-visible { outline: 2px solid var(--ow-blue-text); outline-offset: 3px; border-radius: 1px; }
.screen-reader-text:focus { background: var(--ow-white); color: var(--ow-ink); }

/* Numbers, Latin product names and phone numbers inside Hebrew keep their own direction. */
bdi, .ow-ltr { unicode-bidi: isolate; direction: ltr; }
.ow-num { font-variant-numeric: lining-nums tabular-nums; }

img { height: auto; }
figure { margin: 0; }

/* ------------------------------------------------------------------ GeneratePress frame */
.site, .site-content, .content-area, .inside-article, .site-main { background: transparent; }
.one-container .site-content, .separate-containers .inside-article { padding: 0; }
.site-content { display: block; }
.inside-article, .site-main { margin: 0 !important; padding: 0 !important; }
.entry-content:not(:first-child) { margin-top: 0; }
.page .entry-header, .page .entry-title { display: none; }
.site-main > article { margin-bottom: 0; }

/* Content flow: every top-level block sits in the text column unless it asks to be wide/full. */
.entry-content > * { max-width: var(--ow-text); margin-inline: auto; padding-inline: var(--ow-gutter); box-sizing: content-box; }
.entry-content > .alignwide { max-width: var(--ow-wrap); }
.entry-content > .alignfull { max-width: none; padding-inline: 0; box-sizing: border-box; margin-inline: 0 !important; width: auto !important; left: auto; right: auto; }
/* GP gives .alignfull 100vw, which includes the scrollbar and overflows by its width. Our content area is already full width. */
html, body { overflow-x: clip; }
.entry-content > .alignfull > * { box-sizing: border-box; }

/* ------------------------------------------------------------------ layout primitives */
.ow-section { padding-block: var(--ow-space-5); }
.ow-section--tight { padding-block: var(--ow-space-4); }
.ow-section--deep { background: var(--ow-paper-2); }
.ow-section--white { background: var(--ow-white); }
.ow-section--ink { background: var(--ow-ink); color: #e9edf3; }
.ow-section--ink h1, .ow-section--ink h2, .ow-section--ink h3 { color: #fff; }
.ow-section--ink .ow-answer { border-color: rgba(255,255,255,.5); color: #e9edf3; }
.ow-section--ink .ow-lede { color: #c9d1dd; }
.ow-section--ink a { color: #9fd0f0; }
/* Classic themes wrap every group in .wp-block-group__inner-container, and GeneratePress pads it 30px a
   side - inside our own wrap that doubled the gutters (390px phone: 238px of text). One gutter, on .ow-wrap. */
.entry-content .wp-block-group__inner-container { padding: 0 !important; max-width: none; }
.ow-wrap { max-width: var(--ow-wrap); margin-inline: auto; padding-inline: var(--ow-gutter); box-sizing: border-box; }
.ow-section.is-layout-constrained > * { max-width: none; }
.ow-measure { max-width: var(--ow-text); }
.ow-rule { border: 0; border-block-start: 1px solid var(--ow-line); margin-block: var(--ow-space-4); max-width: none !important; }
.ow-section--ink .ow-rule { border-color: rgba(255,255,255,.18); }

/* Eyebrow / label: the small mono line that names a section - a consistent detail on every page. */
.ow-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ow-font-label); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ow-muted);
  margin-block: 0 var(--ow-space-2);
}
html[dir="rtl"] .ow-eyebrow { font-family: var(--ow-font-body); letter-spacing: .04em; font-size: .82rem; font-weight: 500; }
.ow-eyebrow::before { content: ""; inline-size: 28px; block-size: 1px; background: currentColor; opacity: .6; flex: none; }
.ow-section--ink .ow-eyebrow { color: #a9b4c6; }

.ow-lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.6; color: var(--ow-ink-2); max-width: 36em; }
.ow-caption, figcaption, .wp-element-caption {
  font-family: var(--ow-font-label); font-size: .74rem; letter-spacing: .04em; color: var(--ow-muted);
  margin-block-start: 10px; text-align: start;
}
html[dir="rtl"] .ow-caption, html[dir="rtl"] figcaption, html[dir="rtl"] .wp-element-caption { font-family: var(--ow-font-body); font-size: .8rem; letter-spacing: 0; }
.ow-small { font-size: .88rem; color: var(--ow-muted); }

/* ------------------------------------------------------------------ buttons */
.ow-button, .wp-block-button.ow-btn .wp-block-button__link, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 48px; padding: 12px 26px;
  font-family: var(--ow-font-body); font-size: 1rem; font-weight: 500; line-height: 1.2;
  border-radius: var(--ow-radius); border: 1px solid var(--ow-ink);
  background: var(--ow-ink); color: #fff; text-decoration: none; cursor: pointer;
  transition: background var(--ow-fast) var(--ow-ease), color var(--ow-fast) var(--ow-ease), border-color var(--ow-fast) var(--ow-ease), transform var(--ow-fast) var(--ow-ease);
}
.wp-block-button__link:hover, .ow-button:hover { background: var(--ow-navy); border-color: var(--ow-navy); color: #fff; }
.wp-block-button__link:active, .ow-button:active { transform: translateY(1px); }
.wp-block-button__link::after, .ow-button--primary::after { content: "\2192"; font-family: var(--ow-font-body); transition: transform var(--ow-fast) var(--ow-ease); }
html[dir="rtl"] .wp-block-button__link::after, html[dir="rtl"] .ow-button--primary::after { content: "\2190"; }
.wp-block-button__link:hover::after, .ow-button--primary:hover::after { transform: translateX(3px); }
html[dir="rtl"] .wp-block-button__link:hover::after, html[dir="rtl"] .ow-button--primary:hover::after { transform: translateX(-3px); }
.is-style-outline > .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; color: var(--ow-ink); border-color: var(--ow-ink);
}
.is-style-outline > .wp-block-button__link:hover { background: var(--ow-ink); color: #fff; }
.ow-section--ink .wp-block-button__link { background: #fff; color: var(--ow-ink); border-color: #fff; }
.ow-section--ink .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.wp-block-buttons { gap: 12px 16px; }
.ow-link-arrow { font-weight: 500; text-decoration: none; border-block-end: 1px solid currentColor; padding-block-end: 2px; }

/* ------------------------------------------------------------------ header */
.site-header { background: rgba(246, 245, 241, .92); border-block-end: 1px solid var(--ow-line); position: sticky; top: 0; z-index: 50; }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(246, 245, 241, .82); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.inside-header { max-width: var(--ow-wrap); padding: 14px var(--ow-gutter) !important; align-items: center; }
.site-logo img, .site-header .header-image { max-height: 40px; width: auto; }
@media (min-width: 1025px) { .site-logo img, .site-header .header-image { max-height: 46px; } }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
  font-size: .95rem; font-weight: 500; color: var(--ow-ink); padding-inline: 14px; line-height: 44px;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li:hover > a { color: var(--ow-blue-text); background: transparent; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a { box-shadow: inset 0 -1px 0 currentColor; }
.main-navigation ul ul { background: var(--ow-white); border: 1px solid var(--ow-line); box-shadow: 0 12px 30px rgba(20, 33, 58, .08); }
.main-navigation .main-nav ul ul li a { line-height: 1.4; padding-block: 12px; }
/* The dentists' door: present on every page, visibly different from patient navigation. */
.main-navigation .main-nav ul li.ow-menu-pro > a {
  border: 1px solid var(--ow-line-strong); border-radius: 999px; line-height: 38px; margin-block: 3px; margin-inline-start: 8px;
  padding-inline: 16px; font-size: .9rem;
}
.main-navigation .main-nav ul li.ow-menu-pro > a::before {
  content: "PRO"; font-family: var(--ow-font-label); font-size: .64rem; letter-spacing: .1em; color: var(--ow-blue-text);
  margin-inline-end: 8px; vertical-align: 1px;
}
.main-navigation .main-nav ul li.ow-menu-pro > a:hover { border-color: var(--ow-ink); }
.menu-bar-items { align-items: center; gap: 4px; }
.ow-lang a {
  display: inline-flex; align-items: center; justify-content: center; min-inline-size: 44px; min-block-size: 44px;
  font-family: var(--ow-font-label); font-size: .78rem; letter-spacing: .08em; color: var(--ow-ink); text-decoration: none;
}
.ow-lang a:hover { color: var(--ow-blue-text); }
.ow-header-cta { display: none; white-space: nowrap; }
.menu-bar-items .ow-header-cta a.ow-button, .menu-bar-items .ow-header-cta a.ow-button:hover { color: #fff; }
.main-navigation .inside-navigation { flex-wrap: nowrap; }
.main-navigation .main-nav > ul { flex-wrap: nowrap; }
@media (min-width: 1025px) and (max-width: 1240px) { .main-navigation .main-nav ul li a { padding-inline: 9px; font-size: .9rem; } }
@media (min-width: 1100px) {
  .ow-header-cta { display: inline-flex; margin-inline-start: 8px; }
  .ow-header-cta a { min-block-size: 42px; padding: 8px 18px; font-size: .92rem; }
  .ow-header-cta a::after { display: none; }
}
.menu-toggle, .mobile-bar-items { color: var(--ow-ink); }
.main-navigation .menu-toggle { min-block-size: 44px; padding-inline: 12px; background: transparent; }
@media (max-width: 1024px) {
  .main-navigation.toggled .main-nav > ul { background: var(--ow-white); border-block-start: 1px solid var(--ow-line); padding-block: 8px; }
  .main-navigation.toggled .main-nav ul li a { line-height: 52px; font-size: 1.05rem; padding-inline: var(--ow-gutter); }
  .main-navigation .main-nav ul li.ow-menu-pro > a { margin: 8px var(--ow-gutter); display: inline-block; }
}

/* ------------------------------------------------------------------ hero (home) */
.ow-hero { position: relative; overflow: clip; padding-block: clamp(40px, 7vw, 96px) 0; }
.ow-hero + .ow-section { padding-block-start: clamp(40px, 5vw, 64px); }
.ow-hero__grid { display: grid; grid-template-columns: 1fr; gap: var(--ow-space-4); align-items: center; }
@media (min-width: 900px) { .ow-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); } }
.ow-hero h1 { margin-block-end: .35em; }
.ow-hero h1 em { font-style: normal; color: var(--ow-blue-text); }
.ow-hero .ow-lede { margin-block-end: var(--ow-space-4); }
.ow-hero__visual { position: relative; min-block-size: 320px; display: grid; place-items: center; }
/* The halo: the logo's translucent disc, at architectural scale, behind the real product. */
.ow-halo { position: relative; isolation: isolate; }
.ow-halo::before {
  content: ""; position: absolute; z-index: -1; inset-block-start: 50%; inset-inline-start: 50%;
  inline-size: min(92%, 520px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(213, 233, 246, .95) 0 46%, rgba(213, 233, 246, .55) 46.2% 70%, rgba(213, 233, 246, 0) 70.4%);
}
html[dir="rtl"] .ow-halo::before { translate: 50% -50%; }
.ow-halo img { position: relative; max-inline-size: min(100%, 560px); filter: drop-shadow(0 24px 30px rgba(20, 33, 58, .14)); }
.ow-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block-start: var(--ow-space-3); font-size: .9rem; color: var(--ow-muted); }
.ow-hero__meta a { color: var(--ow-ink); font-weight: 500; }

/* ------------------------------------------------------------------ shade scale (signature) */
.ow-shade { margin-block: var(--ow-space-4) 0; }
.ow-shade__band { display: grid; grid-template-columns: repeat(12, 1fr); block-size: 56px; border-block: 1px solid var(--ow-line); }
.ow-shade__step { background: var(--ow-step); position: relative; }
.ow-shade__step::after {
  content: attr(data-step); position: absolute; inset-block-end: -22px; inset-inline-start: 0;
  font-family: var(--ow-font-label); font-size: .62rem; color: var(--ow-muted); letter-spacing: .06em;
}
.ow-shade__step + .ow-shade__step { border-inline-start: 1px solid rgba(20, 33, 58, .06); }
.ow-shade .ow-caption { margin-block-start: 30px; }
.ow-hero .ow-shade { margin-block-start: clamp(32px, 5vw, 64px); }
@media (max-width: 600px) { .ow-shade__step:nth-child(even)::after { display: none; } .ow-shade__band { block-size: 40px; } }

/* ------------------------------------------------------------------ journey: clinic -> home (signature) */
.ow-journey { position: relative; counter-reset: ow-step; gap: 0 !important; margin-block: var(--ow-space-4) 0 !important; }
.ow-journey > .wp-block-column { position: relative; padding-block-start: 44px; padding-inline-end: var(--ow-space-3); counter-increment: ow-step; }
.ow-journey > .wp-block-column::before {
  content: ""; position: absolute; inset-block-start: 12px; inset-inline: 0; block-size: 1px; background: var(--ow-line-strong);
}
.ow-journey > .wp-block-column::after {
  content: counter(ow-step, decimal-leading-zero); position: absolute; inset-block-start: 0; inset-inline-start: 0;
  inline-size: 25px; block-size: 25px; border-radius: 50%; background: var(--ow-paper); border: 1px solid var(--ow-ink);
  font-family: var(--ow-font-label); font-size: .62rem; display: grid; place-items: center; color: var(--ow-ink);
}
.ow-journey > .wp-block-column.ow-journey__clinic::after { background: var(--ow-ink); color: #fff; }
.ow-journey > .wp-block-column.ow-journey__home::after { background: var(--ow-halo); border-color: var(--ow-blue); }
.ow-journey__where { font-family: var(--ow-font-label); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ow-blue-text); margin-block-end: 6px !important; }
html[dir="rtl"] .ow-journey__where { font-family: var(--ow-font-body); letter-spacing: .02em; font-size: .8rem; font-weight: 600; }
.ow-journey h3 { font-size: 1.3rem; margin-block-end: .4em; }
.ow-journey p { font-size: .97rem; color: var(--ow-ink-2); }
@media (max-width: 781px) {
  .ow-journey { flex-direction: column; }
  .ow-journey > .wp-block-column { padding-block-start: 0; padding-inline-start: 48px; padding-block-end: var(--ow-space-4); }
  .ow-journey > .wp-block-column::before { inset-block: 26px 0; inset-inline-start: 12px; inset-inline-end: auto; inline-size: 1px; block-size: auto; }
  .ow-journey > .wp-block-column:last-child::before { display: none; }
}

/* ------------------------------------------------------------------ split / editorial blocks */
.ow-split { gap: clamp(28px, 5vw, 80px) !important; align-items: center !important; }
.ow-split--top { align-items: flex-start !important; }
.ow-split .wp-block-image img, .ow-figure img { inline-size: 100%; object-fit: cover; }
.ow-figure { position: relative; background: var(--ow-paper-2); }
.ow-figure--product { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: clamp(20px, 4vw, 48px); background: #fff; border: 1px solid var(--ow-line); box-sizing: border-box; }
/* Product photos are shot on pure white; the panel is pure white so the photo's edge never shows. */
.ow-figure--product img { max-block-size: 100%; inline-size: auto !important; max-inline-size: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(20, 33, 58, .12)); }
.ow-figure--product.ow-figure--wide img { inline-size: 100% !important; }

/* Numbered points, set like an index rather than icon cards. */
.entry-content .ow-index, .ow-index { list-style: none; padding: 0; margin: 0; counter-reset: ow-i; border-block-start: 1px solid var(--ow-line); }
.ow-index > li { counter-increment: ow-i; position: relative; padding-block: 18px; padding-inline-start: 52px; margin: 0; border-block-end: 1px solid var(--ow-line); }
.ow-index > li::before { content: counter(ow-i, decimal-leading-zero); position: absolute; inset-inline-start: 0; inset-block-start: 22px; font-family: var(--ow-font-label); font-size: .72rem; color: var(--ow-blue-text); }
.ow-index strong { display: block; font-weight: 600; margin-block-end: 2px; }

/* Facts table: product / process specifics, only verified values (07-research/claims-and-sources.md). */
.ow-spec { margin: 0; border-block-start: 1px solid var(--ow-ink); }
.ow-spec table, table.ow-spec { inline-size: 100%; border-collapse: collapse; }
.ow-spec td, .ow-spec th { border: 0; border-block-end: 1px solid var(--ow-line); padding: 14px 0; text-align: start; vertical-align: top; font-size: .97rem; }
.ow-spec td:first-child, .ow-spec th:first-child { font-family: var(--ow-font-label); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ow-muted); inline-size: 38%; padding-inline-end: 16px; font-weight: 400; }
html[dir="rtl"] .ow-spec td:first-child { font-family: var(--ow-font-body); font-size: .86rem; letter-spacing: 0; text-transform: none; }

/* A note that says what to ask / what to check - restrained, not an alarm. */
.ow-note { border-inline-start: 2px solid var(--ow-blue); background: var(--ow-mist); padding: 20px 24px; }
.ow-note > :last-child { margin-block-end: 0; }
.ow-note h3, .ow-note h4 { margin-block-end: .4em; }

/* Product family row: one composition, varied scale, not identical cards. */
.ow-family { gap: clamp(20px, 3vw, 40px) !important; }
.ow-family > .wp-block-column { border-block-start: 1px solid var(--ow-ink); padding-block-start: 18px; }
.ow-family .ow-figure--product { aspect-ratio: 1; margin-block-end: 16px; }
.ow-family h3 { font-size: 1.3rem; margin-block-end: .25em; }
.ow-family .ow-tag { display: inline-block; font-family: var(--ow-font-label); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ow-blue-text); margin-block-end: 6px; }
html[dir="rtl"] .ow-family .ow-tag { font-family: var(--ow-font-body); letter-spacing: 0; font-size: .82rem; font-weight: 600; }
.ow-family p { font-size: .96rem; color: var(--ow-ink-2); }

/* Audience doors: patients (main) and dentists (professional). */
.ow-doors { gap: 0 !important; border: 1px solid var(--ow-line); }
.ow-doors > .wp-block-column { padding: clamp(24px, 4vw, 48px); background: var(--ow-white); }
.ow-doors > .wp-block-column + .wp-block-column { border-inline-start: 1px solid var(--ow-line); }
.ow-doors > .wp-block-column.ow-door--pro { background: var(--ow-ink); color: #dfe5ee; }
.ow-door--pro h2, .ow-door--pro h3 { color: #fff; }
.ow-door--pro .wp-block-button__link { background: #fff; color: var(--ow-ink); border-color: #fff; }
.ow-door--pro .ow-eyebrow { color: #a9b4c6; }
@media (max-width: 781px) { .ow-doors > .wp-block-column + .wp-block-column { border-inline-start: 0; border-block-start: 1px solid var(--ow-line); } }

/* Quote / review: real words, attributed, no stars graphics. */
.ow-quote { border: 0; margin: 0; padding: 0; }
.ow-quote p { font-family: var(--ow-font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.45; color: var(--ow-ink); }
.ow-quote cite { font-style: normal; font-family: var(--ow-font-label); font-size: .74rem; color: var(--ow-muted); letter-spacing: .04em; }
html[dir="rtl"] .ow-quote cite { font-family: var(--ow-font-body); font-size: .85rem; letter-spacing: 0; }
.ow-quotes { gap: clamp(24px, 4vw, 56px) !important; }
.ow-quotes > .wp-block-column { border-block-start: 1px solid var(--ow-line-strong); padding-block-start: 20px; }

/* ------------------------------------------------------------------ page head (inner pages) */
.ow-pagehead { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px); border-block-end: 1px solid var(--ow-line); position: relative; overflow: clip; }
.ow-pagehead h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.9rem); max-width: 16em; }
.ow-pagehead .ow-lede { max-width: 38em; }
.ow-pagehead.ow-halo::before { inset-inline-start: auto; inset-inline-end: -8%; inline-size: min(48vw, 540px); translate: 0 -50%; opacity: .9; }
html[dir="rtl"] .ow-pagehead.ow-halo::before { translate: 0 -50%; }
.ow-answer { font-size: 1.12rem; line-height: 1.65; border-inline-start: 2px solid var(--ow-ink); padding-inline-start: 18px; max-width: 40em; }

/* ------------------------------------------------------------------ prose (articles, legal, FAQ answers) */
.ow-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); margin-block-start: 1.6em; }
.ow-prose h3 { margin-block-start: 1.4em; }
.ow-prose ul, .ow-prose ol, .entry-content ul, .entry-content ol { padding-inline-start: 1.3em; }
.entry-content > ul, .entry-content > ol { margin-inline: auto; padding-inline-start: calc(var(--ow-gutter) + 1.3em); }
.entry-content li { margin-block-end: .45em; }
.single-post .entry-header { max-width: var(--ow-text); margin: clamp(40px, 7vw, 88px) auto 0; padding-inline: var(--ow-gutter); box-sizing: content-box; }
.single-post .entry-title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.3rem); }
.single-post .entry-meta { font-family: var(--ow-font-label); font-size: .74rem; color: var(--ow-muted); margin-block: 8px 24px; }
.single-post .entry-content { margin-block-end: var(--ow-space-5); }
/* The featured image serves sharing and the knowledge list; on the article itself it pushed the text below the fold. */
.single-post .post-image, .single-post .featured-image, .single-post .page-header-image-single { display: none; }
.post-navigation, .single-post .cat-links, .single-post .tags-links, .comments-area { display: none; }

/* ------------------------------------------------------------------ FAQ (core/details) */
.ow-faq .wp-block-details { border-block-end: 1px solid var(--ow-line); padding: 0; margin: 0; }
.ow-faq .wp-block-details:first-of-type { border-block-start: 1px solid var(--ow-ink); }
.ow-faq summary {
  list-style: none; cursor: pointer; padding-block: 20px; padding-inline-end: 44px; position: relative;
  font-family: var(--ow-font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.35; min-block-size: 44px;
}
.ow-faq summary::-webkit-details-marker { display: none; }
.ow-faq summary::after {
  content: ""; position: absolute; inset-inline-end: 6px; inset-block-start: 28px; inline-size: 12px; block-size: 12px;
  border-inline-end: 1.5px solid var(--ow-ink); border-block-end: 1.5px solid var(--ow-ink); rotate: 45deg; transition: rotate var(--ow-fast) var(--ow-ease);
}
.ow-faq details[open] > summary::after { rotate: 225deg; inset-block-start: 33px; }
.ow-faq summary:hover { color: var(--ow-blue-text); }
.ow-faq .wp-block-details > :not(summary) { max-width: 44em; color: var(--ow-ink-2); }
.ow-faq .wp-block-details > :last-child { padding-block-end: 22px; }
.ow-faq h2 { margin-block-start: var(--ow-space-5); }

/* ------------------------------------------------------------------ knowledge list (query loop) */
.ow-posts .wp-block-post-template { display: grid; gap: 0; list-style: none; padding: 0; border-block-start: 1px solid var(--ow-ink); }
.ow-posts .wp-block-post { display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding-block: 24px; border-block-end: 1px solid var(--ow-line); }
@media (min-width: 782px) { .ow-posts .wp-block-post { grid-template-columns: 160px 1fr; } }
.ow-posts .wp-block-post-date { font-family: var(--ow-font-label); font-size: .74rem; color: var(--ow-muted); padding-block-start: .5em; }
.ow-posts .wp-block-post-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin: 0; }
.ow-posts .wp-block-post-title a { color: var(--ow-ink); text-decoration: none; }
.ow-posts .wp-block-post-title a:hover { color: var(--ow-blue-text); }
.ow-posts .wp-block-post-excerpt { grid-column: -2 / -1; color: var(--ow-ink-2); font-size: .97rem; }
.ow-posts .wp-block-post-excerpt__more-link { display: none; }

/* ------------------------------------------------------------------ forms (obiowhite/inquiry-form) */
.ow-form { background: var(--ow-white); border: 1px solid var(--ow-line); padding: clamp(20px, 4vw, 40px); }
.ow-form__grid { display: grid; grid-template-columns: 1fr; gap: 18px 20px; }
@media (min-width: 640px) { .ow-form__grid { grid-template-columns: 1fr 1fr; } .ow-field--wide { grid-column: 1 / -1; } }
.ow-field label { display: block; font-size: .92rem; font-weight: 500; margin-block-end: 6px; color: var(--ow-ink); }
.ow-req { color: var(--ow-err); }
.ow-form input[type="text"], .ow-form input[type="tel"], .ow-form input[type="email"], .ow-form select, .ow-form textarea {
  inline-size: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.4; color: var(--ow-ink);
  background: var(--ow-paper); border: 1px solid var(--ow-line-strong); border-radius: var(--ow-radius);
  padding: 12px 14px; min-block-size: 48px; transition: border-color var(--ow-fast), background var(--ow-fast);
}
.ow-form input:hover, .ow-form select:hover, .ow-form textarea:hover { border-color: var(--ow-ink-2); }
.ow-form input:focus, .ow-form select:focus, .ow-form textarea:focus { outline: 2px solid var(--ow-blue-text); outline-offset: 1px; background: var(--ow-white); border-color: var(--ow-ink); }
.ow-form [aria-invalid="true"] { border-color: var(--ow-err) !important; }
.ow-form input[dir="ltr"] { text-align: start; }
html[dir="rtl"] .ow-form input[dir="ltr"] { text-align: right; }
.ow-field__error { color: var(--ow-err); font-size: .86rem; margin: 6px 0 0; }
.ow-field__hint { font-size: .84rem; color: var(--ow-muted); margin: 6px 0 0; }
.ow-form__contact-note { font-size: .86rem; color: var(--ow-muted); margin-block: 14px 0; }
.ow-form__contact-note.is-error { color: var(--ow-err); }
.ow-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-block: 18px; font-size: .92rem; }
.ow-check input { inline-size: 22px; block-size: 22px; margin: 2px 0 0; accent-color: var(--ow-ink); }
.ow-check input[aria-invalid="true"] { outline: 2px solid var(--ow-err); outline-offset: 2px; }
.ow-form__actions .ow-button { inline-size: 100%; }
@media (min-width: 640px) { .ow-form__actions .ow-button { inline-size: auto; } }
.ow-form__status { margin-block-start: 16px; font-size: .97rem; }
.ow-form__status:empty { display: none; }
.ow-form__status.is-busy { color: var(--ow-muted); }
.ow-form__status.is-ok { color: var(--ow-ok); border-inline-start: 2px solid var(--ow-ok); padding-inline-start: 14px; font-weight: 500; }
.ow-form__status.is-error { color: var(--ow-err); border-inline-start: 2px solid var(--ow-err); padding-inline-start: 14px; }
.ow-form.is-sent .ow-form__grid, .ow-form.is-sent .ow-check, .ow-form.is-sent .ow-form__actions, .ow-form.is-sent .ow-form__contact-note { display: none; }
.ow-hp { position: absolute !important; left: auto; right: auto; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ow-form { position: relative; }

/* ------------------------------------------------------------------ contact actions */
.ow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-block: 16px 0; }
.ow-actions__label { font-size: .9rem; color: var(--ow-muted); margin-inline-end: 4px; }
.ow-action {
  display: inline-flex; align-items: center; gap: 8px; min-block-size: 46px; padding: 10px 18px; border: 1px solid var(--ow-line-strong);
  border-radius: 999px; color: var(--ow-ink); text-decoration: none; font-weight: 500; font-size: .95rem; background: var(--ow-white);
}
.ow-action:hover { border-color: var(--ow-ink); color: var(--ow-ink); }
.ow-action--wa::before { content: ""; inline-size: 9px; block-size: 9px; border-radius: 50%; background: #25a35a; }
.ow-section--ink .ow-action { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

/* ------------------------------------------------------------------ mobile action bar */
.ow-mobilebar { display: none; }
@media (max-width: 1024px) {
  .ow-mobilebar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60;
    padding: 10px var(--ow-gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(253, 253, 251, .96); border-block-start: 1px solid var(--ow-line);
    translate: 0 110%; transition: translate var(--ow-slow) var(--ow-ease);
  }
  .ow-mobilebar.is-visible { translate: 0 0; }
  .ow-mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 48px; border-radius: var(--ow-radius); font-weight: 500; text-decoration: none; font-size: .98rem; }
  .ow-mobilebar .ow-mobilebar__primary { background: var(--ow-ink); color: #fff; }
  .ow-mobilebar .ow-mobilebar__secondary { border: 1px solid var(--ow-line-strong); color: var(--ow-ink); background: var(--ow-white); }
  body.ow-has-mobilebar { padding-block-end: calc(70px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------------ footer */
.ow-footer { background: var(--ow-ink); color: #c9d1dd; padding-block: var(--ow-space-5) 32px; font-size: .95rem; }
.ow-footer a { color: #fff; text-decoration: none; }
.ow-footer a:hover { color: #9fd0f0; text-decoration: underline; }
.ow-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 782px) { .ow-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ow-footer__brand img { max-block-size: 40px; inline-size: auto; filter: brightness(0) invert(1); opacity: .95; }
.ow-footer__brand p { margin-block-start: 16px; max-width: 26em; color: #aeb8c7; }
.ow-footer h2 { font-family: var(--ow-font-label); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8d99ad; margin-block-end: 14px; font-weight: 500; }
html[dir="rtl"] .ow-footer h2 { font-family: var(--ow-font-body); letter-spacing: .02em; font-size: .82rem; }
.ow-footer ul { list-style: none; margin: 0; padding: 0; }
.ow-footer li { margin-block-end: 10px; }
.ow-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-block-start: var(--ow-space-4); padding-block-start: 20px; border-block-start: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: #8d99ad; }
.ow-footer__base ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .site-info { display: none; }

/* ------------------------------------------------------------------ 404 */
.ow-404 { padding-block: var(--ow-space-6); }
.ow-404 .ow-display { font-size: clamp(4rem, 3rem + 6vw, 9rem); color: var(--ow-halo); line-height: 1; margin-block-end: 8px; -webkit-text-stroke: 1px var(--ow-blue); }

/* ------------------------------------------------------------------ motion */
.ow-js-reveal .ow-reveal { opacity: 0; translate: 0 14px; transition: opacity var(--ow-slow) var(--ow-ease), translate var(--ow-slow) var(--ow-ease); }
.ow-js-reveal .ow-reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .ow-js-reveal .ow-reveal { opacity: 1; translate: none; }
  .ow-mobilebar { transition: none; }
}

/* ------------------------------------------------------------------ editor parity */
.editor-styles-wrapper { background: var(--ow-paper); font-family: var(--ow-font-body); color: var(--ow-ink); }
.editor-styles-wrapper .ow-hp { position: static !important; }

/* ------------------------------------------------------------------ print */
@media print { .site-header, .ow-mobilebar, .ow-footer, .ow-form { display: none !important; } body { background: #fff; } }

/* ------------------------------------------------------------------ knowledge list (core/latest-posts) */
.ow-latest.wp-block-latest-posts { list-style: none; padding: 0; margin: 0; border-block-start: 1px solid var(--ow-ink); }
.ow-latest.wp-block-latest-posts > li { display: grid; grid-template-columns: 1fr; gap: 4px 32px; padding-block: 24px; margin: 0; border-block-end: 1px solid var(--ow-line); }
@media (min-width: 782px) { .ow-latest.wp-block-latest-posts > li { grid-template-columns: 150px 1fr; } .ow-latest .wp-block-latest-posts__post-date { grid-row: 1; grid-column: 1; } .ow-latest .wp-block-latest-posts__post-title, .ow-latest .wp-block-latest-posts__post-excerpt { grid-column: 2; } }
.ow-latest .wp-block-latest-posts__post-title { font-family: var(--ow-font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.3; color: var(--ow-ink); text-decoration: none; }
.ow-latest .wp-block-latest-posts__post-title:hover { color: var(--ow-blue-text); }
.ow-latest .wp-block-latest-posts__post-date { font-family: var(--ow-font-label); font-size: .74rem; color: var(--ow-muted); padding-block-start: .55em; }
.ow-latest .wp-block-latest-posts__post-excerpt { color: var(--ow-ink-2); font-size: .97rem; margin: 6px 0 0; }
.ow-latest .wp-block-latest-posts__post-excerpt a { display: none; }

/* comparison table: first row is a header */
.ow-compare tr:first-child td { font-family: var(--ow-font-body) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ow-ink) !important; font-size: .95rem !important; border-block-end-color: var(--ow-ink); }
.wp-block-table.ow-spec { overflow-x: auto; }
.wp-block-embed { margin-block: 0; }
.wp-block-embed iframe { inline-size: 100%; }
.ow-tag { display: inline-block; margin-block-end: 6px; }

/* ------------------------------------------------------------------ video facade */
.ow-video__link { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ow-ink); }
.ow-video__link img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .9; transition: opacity var(--ow-fast) var(--ow-ease); }
.ow-video__link:hover img, .ow-video__link:focus-visible img { opacity: 1; }
.ow-video__play { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; inline-size: 68px; block-size: 68px; border-radius: 50%; background: rgba(253,253,251,.92); box-shadow: 0 8px 24px rgba(20,33,58,.25); }
.ow-video__play::after { content: ""; position: absolute; inset: 50% auto auto 54%; translate: -50% -50%; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ow-ink); }
.ow-video__frame { inline-size: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* halo on small screens: smaller and quieter, so it never sits under body text */
@media (max-width: 781px) {
  .ow-pagehead.ow-halo::before { inline-size: 62vw; inset-inline-end: -26vw; inset-block-start: 22%; opacity: .55; }
}

/* comparison tables on phones: keep the columns readable and scroll inside the frame, never the page */
@media (max-width: 640px) {
  .ow-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline-end: calc(-1 * var(--ow-gutter)); }
  .ow-compare table { min-inline-size: 560px; }
  .ow-compare td:first-child { inline-size: 26%; }
}
