/* ===========================================================================
   Chicory — design system
   A-4 Morning Sky · V-7 Swiss Minimal · E1-2 Floating pill · E2-5 Swiss flat ·
   Acc-3 coloured headings + rules · G-1 Aurora Veil gate · Z-7 Webcam lens.
   Mobile-first. All colours via CSS variables.
   ======================================================================== */

/* ---- Reset (also in style.css; repeated here so main.css is self-sufficient) -- */
*, *::before, *::after { box-sizing: border-box; }

/* ---- Tokens ------------------------------------------------------------- */
:root {
	--orc-bg: #F2F7FC;
	--orc-surface: #FCFEFF;
	--orc-text: #16283A;
	--orc-muted: #51647A;
	--orc-accent: #2B6CB0;     /* heading/link text: 5.03 on bg */
	--orc-accent2: #9CC6EC;
	--orc-line: #D5E3F1;
	--orc-tint: #E7F0FA;
	--orc-cta-bg: #2B6CB0;     /* white text on it: 5.42 */
	--orc-on-accent: #FFFFFF;
	--orc-link: #2B6CB0;
	--orc-grad: linear-gradient(160deg, #EAF3FB, #D8E8F7 50%, #C5DCF2);
	--orc-foot-bg: #E7F0FA;
	--orc-foot-fg: #16283A;

	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
	--orc-maxw: 1140px;
	--orc-read: 42rem;
	--orc-radius: 8px;     /* Swiss flat: crisp 6–8px */
	--orc-radius-sm: 6px;
	--orc-radius-pill: 999px;   /* E1-2 header pill only */
	--orc-head-h: 84px;
	--orc-shadow-pill: 0 6px 24px rgba(16, 40, 58, .10), 0 1px 2px rgba(16, 40, 58, .06);

	--orc-z-head: 900;
	--orc-z-pop: 1000;
	--orc-z-sheet: 1100;
	--orc-z-progress: 1200;
}
[data-theme="dark"] {
	--orc-bg: #101924;
	--orc-surface: #16222F;
	--orc-text: #E4EEF7;
	--orc-muted: #9DB4CC;
	--orc-accent: #5C9CE0;     /* heading/link text: 6.14 on bg (retrofit off #3674B5) */
	--orc-accent2: #6FA3D8;
	--orc-line: #2A3A4C;
	--orc-tint: #1A2735;
	--orc-cta-bg: #3674B5;     /* white text on it: 4.86 */
	--orc-on-accent: #FFFFFF;
	--orc-link: #5C9CE0;
	--orc-grad: linear-gradient(160deg, #13202E, #16273A 50%, #1A2C42);
	--orc-foot-bg: #1A2735;
	--orc-foot-fg: #E4EEF7;
	--orc-shadow-pill: 0 6px 24px rgba(0, 0, 0, .42), 0 1px 2px rgba(0, 0, 0, .3);
}

/* ---- Base (Swiss: plain ground, hairline rules, no content shadows) ----- */
html { scroll-behavior: auto; }
body {
	margin: 0;
	background-color: var(--orc-bg);
	color: var(--orc-text);
	font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	transition: background-color .3s ease, color .3s ease;
	overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Bitter", Georgia, "Times New Roman", serif; line-height: 1.2; }
p { margin: 0 0 var(--s4); }
a { color: var(--orc-link); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--orc-accent); outline-offset: 2px; border-radius: 3px; }

.orc-skip {
	position: absolute; left: -9999px; top: 0; z-index: var(--orc-z-progress);
	background: var(--orc-cta-bg); color: var(--orc-on-accent);
	padding: var(--s2) var(--s4); border-radius: 0 0 var(--orc-radius) 0;
}
.orc-skip:focus { left: 0; }

/* ---- Buttons (kill the link-button colour trap) ------------------------- */
.orc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	background: var(--orc-cta-bg); background-image: none;
	color: var(--orc-on-accent); text-decoration: none;
	font-weight: 600; font-family: inherit; font-size: 1rem;
	padding: .85em 1.4em; min-height: 48px;
	border: 0; border-radius: var(--orc-radius); cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.orc-btn:hover { filter: brightness(1.06); box-shadow: 0 6px 18px rgba(43, 108, 176, .26); }
.orc-btn:active { transform: translateY(1px); }

/* ---- Container ---------------------------------------------------------- */
.orc-main { display: block; }
.orc-entry, .orc-archive, .orc-post, .orc-page, .orc-fromblog__in, .orc-404__in, .orc-foot__in {
	max-width: var(--orc-maxw);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 32px);
}
.orc-entry { padding-bottom: var(--s7); }

/* ===========================================================================
   Header — E1-2 Floating pill
   ======================================================================== */
.orc-head {
	position: fixed; top: 12px; left: 0; right: 0; z-index: var(--orc-z-head);
	padding-inline: clamp(12px, 3vw, 24px);
}
.orc-head__pill {
	max-width: var(--orc-maxw); margin-inline: auto;
	display: flex; align-items: center; gap: var(--s3);
	background: var(--orc-surface);
	border: 1px solid var(--orc-line);
	border-radius: var(--orc-radius-pill);
	box-shadow: var(--orc-shadow-pill);
	padding: 8px 10px 8px 16px;
}
body { padding-top: calc(var(--orc-head-h) + 12px); }   /* fixed header: height never touches flow */

.orc-brand {
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none; color: var(--orc-text);
	min-width: 0; flex: 1 1 auto; overflow: hidden;
}
.orc-brand__icon { color: var(--orc-accent); flex: none; display: inline-flex; }
.orc-brand__name {
	font-family: "Bitter", Georgia, serif; font-weight: 700;
	font-size: clamp(1.02rem, 2.6vw, 1.3rem); line-height: 1.1;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.orc-head__right { display: flex; align-items: center; gap: var(--s2); flex: none; }

.orc-toggle {
	flex: none; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	background: transparent; border: 1px solid var(--orc-line); border-radius: 50%;
	color: var(--orc-text); cursor: pointer; transition: background .2s ease, transform .3s ease;
}
.orc-toggle:hover { background: var(--orc-tint); }
.orc-toggle__moon { display: none; }
[data-theme="dark"] .orc-toggle__sun { display: none; }
[data-theme="dark"] .orc-toggle__moon { display: block; }

.orc-head__cta { padding: .6em 1.2em; min-height: 42px; font-size: .95rem; border-radius: var(--orc-radius-pill); }

.orc-burger {
	flex: none; width: 42px; height: 42px; display: none; flex-direction: column; gap: 5px;
	align-items: center; justify-content: center;
	background: transparent; border: 1px solid var(--orc-line); border-radius: 50%; cursor: pointer;
}
.orc-burger span { width: 18px; height: 2px; background: var(--orc-text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.orc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.orc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.orc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================================
   LANGUAGE SWITCHER — bug-proof contract (Invariant 12)
   menu-first · opaque · high z-index · display:none when closed
   ======================================================================== */
.orc-lang { position: relative; }
.orc-lang__btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: transparent; border: 1px solid var(--orc-line); border-radius: var(--orc-radius-pill);
	color: var(--orc-text); font: inherit; font-size: .95rem; padding: .5em .9em; cursor: pointer;
}
.orc-lang__btn:hover { background: var(--orc-tint); }
.orc-lang__chev { transition: transform .2s ease; }
.orc-lang__btn[aria-expanded="true"] .orc-lang__chev { transform: rotate(180deg); }

.orc-lang__panel {
	display: none;                       /* closed = removed from page */
	position: absolute; top: calc(100% + 10px); right: 0;
	min-width: 210px; padding: 6px;
	background: var(--orc-surface);      /* SOLID surface, never transparent */
	border: 1px solid var(--orc-line);
	border-radius: 12px;
	box-shadow: var(--orc-shadow-pill);
	z-index: var(--orc-z-pop);           /* above all page content */
}
.orc-lang__panel.is-open { display: block; }
.orc-lang__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.orc-head:has(.orc-lang.is-open) { overflow: visible; }

.orc-lang__list { list-style: none; margin: 0; padding: 0; }
.orc-lang__list li { margin: 0; }
.orc-lang__list a {
	display: flex; align-items: center; gap: 10px;
	padding: .55em .6em; border-radius: 8px;
	color: var(--orc-text); text-decoration: none; white-space: nowrap; font-size: .96rem;
}
.orc-lang__list a:hover { background: var(--orc-tint); }
.orc-lang__list .current-menu-item > a,
.orc-lang__list [aria-current] { background: var(--orc-tint); font-weight: 600; }
.orc-lang__list img, .orc-lang img.trp-flag-image { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; }
.orc-lang__list .sub-menu { display: block; position: static; margin: 0; padding: 0; box-shadow: none; background: none; }
.orc-lang__hint { margin: 0; padding: .5em .6em; color: var(--orc-muted); font-size: .85rem; }

/* shortcode fallback flatten (no-menu path only) — force the collapsed TP dropdown open */
.orc-lang .trp-language-switcher-container,
.orc-lang .trp-language-switcher,
.orc-lang .trp_language_switcher_shortcode,
.orc-lang .trp-language-switcher > div { display: block !important; position: static !important; width: 100% !important; min-width: 0 !important; max-height: none !important; overflow: visible !important; transform: none !important; }
.orc-lang .trp-ls-shortcode-language,
.orc-lang .trp-ls-disabled-language { position: static !important; display: block !important; visibility: visible !important; opacity: 1 !important; height: auto !important; max-height: none !important; width: 100% !important; overflow: visible !important; }
.orc-lang .trp-ls-shortcode-current-language,
.orc-lang .trp-ls-shortcode-disabled-language,
.orc-lang .trp-ls-shortcode-language a { display: flex !important; align-items: center; gap: 10px; width: 100%; float: none !important; white-space: nowrap; padding: .55em .6em !important; }
.orc-lang .trp-down-arrow { display: none !important; }
.orc-lang .trp-flag-image { width: 22px !important; height: 16px !important; }
/* KEEP .trp-ls-shortcode-current-language VISIBLE — TP holds the current language ONLY there */

/* ===========================================================================
   Mobile sheet — flat language list INSIDE it (never a floating popover)
   ======================================================================== */
.orc-sheet { display: none; position: fixed; inset: 0; z-index: var(--orc-z-sheet); }
.orc-sheet.is-open { display: block; }
.orc-sheet__panel {
	position: absolute; inset: 0;                 /* full-screen: NO ::after backdrop needed */
	background: var(--orc-surface);               /* opaque */
	overflow-y: auto;
	padding: calc(var(--orc-head-h) + 24px) clamp(20px, 6vw, 32px) 40px;
	display: flex; flex-direction: column; gap: var(--s3);
}
.orc-sheet__eyebrow { margin: var(--s3) 0 0; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--orc-muted); }
.orc-sheet .orc-lang__list a,
.orc-sheet__menu a {
	display: flex; align-items: center; gap: 12px; min-height: 48px;
	padding: .6em .2em; border-bottom: 1px solid var(--orc-line);
	color: var(--orc-text); text-decoration: none; font-size: 1.05rem;
}
.orc-sheet__menu { list-style: none; margin: 0; padding: 0; }
.orc-sheet__cta { margin-top: var(--s4); width: 100%; }

/* ---- Scroll progress (F-2) ---------------------------------------------- */
.orc-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--orc-accent); z-index: var(--orc-z-progress); transition: width .08s linear; }

/* ===========================================================================
   Age-gate — G-1 Aurora Veil (full-bleed band, no card, dissolves into page)
   ======================================================================== */
.orc-gate {
	position: relative; isolation: isolate; overflow: hidden;
	/* break out to the container's padding edges (no 100vw -> never overflows) */
	margin-inline: calc(-1 * clamp(16px, 4vw, 32px)); margin-bottom: var(--s7);
	border-radius: var(--orc-radius);
	padding: clamp(52px, 9vw, 104px) clamp(16px, 4vw, 32px) clamp(56px, 8vw, 88px);
	background: var(--orc-grad);
}
.orc-gate::after {                       /* the article flows out of the gate */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
	background: linear-gradient(to bottom, transparent, var(--orc-bg)); z-index: 1; pointer-events: none;
}
.orc-gate__veil span { position: absolute; border-radius: 50%; filter: blur(72px); z-index: 0; }
.orc-gate__veil span:nth-child(1) { width: 340px; height: 340px; left: 6%; top: -90px; background: var(--orc-accent2); opacity: .6; animation: orc-drift1 24s ease-in-out infinite; }
.orc-gate__veil span:nth-child(2) { width: 300px; height: 300px; right: 8%; top: -40px; background: var(--orc-accent); opacity: .32; animation: orc-drift2 28s ease-in-out infinite; }
@keyframes orc-drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(28px,20px); } }
@keyframes orc-drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-24px,26px); } }

.orc-gate__inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; text-align: center; }
.orc-gate__badge {
	display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--s3);
	border-radius: var(--orc-radius); background: var(--orc-cta-bg); color: var(--orc-on-accent);
	font-family: "Bitter", serif; font-weight: 800; font-size: 1.25rem;
}
.orc-gate__kicker { margin: 0 0 var(--s2); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--orc-accent); font-weight: 600; }
.orc-gate__q { font-family: "Bitter", serif; font-weight: 700; font-size: clamp(1.6rem, 4.6vw, 2.4rem); line-height: 1.16; margin: 0 0 var(--s3); color: var(--orc-text); }
.orc-gate__sub { color: var(--orc-muted); margin: 0 auto var(--s5); max-width: 44ch; }
.orc-gate__go { width: 100%; max-width: 360px; }
.orc-gate__arrow { display: inline-block; transition: transform .2s ease; }   /* func var #4: sliding arrow */
.orc-gate__go:hover .orc-gate__arrow { transform: translateX(5px); }
.orc-gate__read { display: inline-block; margin-top: var(--s4); color: var(--orc-link); font-size: .92rem; text-decoration: none; }
.orc-gate__read:hover { text-decoration: underline; }

/* ===========================================================================
   Article / entry copy (Swiss: hairline section rules, coloured headings)
   ======================================================================== */
.orc-entry > :where(*:not(.orc-gate):not(.orc-illus):not(.orc-compare):not(.orc-chips):not(.orc-faq)) {
	max-width: var(--orc-read); margin-inline: auto;   /* rem column, not ch */
}
.orc-entry h1.wp-block-heading {
	font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 800; margin-block: 0 var(--s5); margin-inline: auto;
	background: linear-gradient(92deg, var(--orc-accent), #1F5288);   /* F-11 gradient keyword */
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="dark"] .orc-entry h1.wp-block-heading { background: linear-gradient(92deg, #7CB4EC, #5C9CE0); -webkit-background-clip: text; background-clip: text; }
.orc-entry h2.wp-block-heading {
	font-size: clamp(1.4rem, 3.6vw, 1.9rem); font-weight: 700; color: var(--orc-accent);   /* Acc-3 */
	margin-block: var(--s7) var(--s4); margin-inline: auto;
	padding-top: var(--s4); border-top: 1px solid var(--orc-line);   /* Swiss 1px rule above each section */
	position: relative;
}
.orc-entry h2.wp-block-heading::before {   /* short accent rule, offset from the hairline (no struck-through look) */
	content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 3px; background: var(--orc-accent);
}
.orc-entry p { font-size: 1.06rem; }
.orc-entry a:not([class]) { color: var(--orc-link); text-decoration: underline; text-underline-offset: 2px; }
.orc-entry a:not([class]):hover { text-decoration-thickness: 2px; }

.orc-entry .wp-block-list { margin: 0 auto var(--s5); padding-left: 1.4em; max-width: var(--orc-read); }
.orc-entry .wp-block-list li { margin-bottom: var(--s2); }

.orc-entry .orc-quote {
	max-width: var(--orc-read); margin: var(--s6) auto; padding: var(--s5) var(--s5) var(--s5) var(--s6);
	border: 1px solid var(--orc-line); border-left: 4px solid var(--orc-accent);
	border-radius: var(--orc-radius); background: var(--orc-tint);
}
.orc-entry .orc-quote p { font-family: "Bitter", serif; font-size: 1.2rem; font-style: italic; margin: 0; color: var(--orc-text); }

/* ---- Illustration — Z-7 Webcam lens (duotone; colours via vars) --------- */
.orc-illus { margin: var(--s6) auto; max-width: 600px; }
.orc-illus__svg { width: 100%; height: auto; display: block; border: 1px solid var(--orc-line); border-radius: var(--orc-radius); }
.orc-illus__bg { fill: var(--orc-tint); }
.orc-illus__ring { stroke: var(--orc-accent); stroke-width: 3; opacity: .9; }
.orc-illus__ring--in { stroke: var(--orc-accent2); opacity: .8; }
.orc-illus__iris path { stroke: var(--orc-accent); stroke-width: 2.4; }
.orc-illus__iris line { stroke: var(--orc-accent2); stroke-width: 2.4; stroke-linecap: round; }
.orc-illus__lens { fill: var(--orc-accent); }
.orc-illus__pupil { fill: var(--orc-text); }
.orc-illus__glint { fill: var(--orc-surface); opacity: .8; }
.orc-illus__dot { fill: var(--orc-accent); }
.orc-illus__dotring { stroke: var(--orc-accent); stroke-width: 2; opacity: .5; }
[data-theme="dark"] .orc-illus__bg { fill: #14202D; }
[data-theme="dark"] .orc-illus__pupil { fill: #0B121B; }

/* ---- Compare grid (E3-5, the centerpiece) — Swiss table ----------------- */
.orc-compare {
	max-width: 920px; margin: var(--s6) auto; display: grid; gap: 1px;
	background: var(--orc-line); border: 1px solid var(--orc-line); border-radius: var(--orc-radius); overflow: hidden;
}
.orc-compare__row { display: grid; grid-template-columns: 1.05fr 1.35fr 1.35fr; gap: 1px; background: var(--orc-line); }
.orc-compare__row > span { background: var(--orc-surface); padding: var(--s3) var(--s4); font-size: .98rem; }
.orc-compare__row--head > span { background: var(--orc-tint); color: var(--orc-accent); font-weight: 700; font-family: "Bitter", serif; text-transform: none; }
.orc-compare__axis { font-weight: 600; color: var(--orc-text); }

/* ---- Chips (E3-7) — Swiss flat tags ------------------------------------- */
.orc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) auto var(--s5); padding: 0; max-width: var(--orc-read); }
.orc-chips li {
	background: var(--orc-surface); border: 1px solid var(--orc-line);
	border-radius: var(--orc-radius-sm); padding: .42em .85em; font-size: .94rem; color: var(--orc-text);
}

/* ---- FAQ (E3-4, F-6 accordion via native details) ---------------------- */
.orc-faq { max-width: var(--orc-read); margin: var(--s4) auto var(--s5); }
.orc-faq__item { border: 1px solid var(--orc-line); border-radius: var(--orc-radius); background: var(--orc-surface); margin-bottom: var(--s2); overflow: hidden; }
.orc-faq__item summary {
	cursor: pointer; list-style: none; padding: var(--s3) var(--s4); font-weight: 600;
	display: flex; justify-content: space-between; align-items: center; gap: var(--s3); color: var(--orc-text);
}
.orc-faq__item summary::-webkit-details-marker { display: none; }
.orc-faq__item summary::after { content: "+"; color: var(--orc-accent); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.orc-faq__item[open] summary::after { transform: rotate(45deg); }
.orc-faq__a { padding: 0 var(--s4) var(--s4); color: var(--orc-muted); }
.orc-faq__a p { margin: 0; }

/* ===========================================================================
   From the blog (homepage strip — Swiss bg-swap section) + cards
   ======================================================================== */
.orc-fromblog { background: var(--orc-tint); border-top: 1px solid var(--orc-line); padding: var(--s7) 0; }
.orc-fromblog__head { font-size: clamp(1.4rem, 3.6vw, 1.9rem); color: var(--orc-accent); margin: 0 0 var(--s5); }
.orc-fromblog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.orc-card {
	display: block; background: var(--orc-surface); border: 1px solid var(--orc-line);
	border-radius: var(--orc-radius); padding: var(--s5); text-decoration: none; color: var(--orc-text);
	transition: border-color .2s ease, background .2s ease;
}
.orc-card:hover { border-color: var(--orc-accent); background: var(--orc-tint); }
.orc-card__title { font-size: 1.12rem; margin: 0 0 var(--s2); color: var(--orc-text); }
.orc-card__meta { font-size: .82rem; color: var(--orc-muted); margin: 0 0 var(--s2); }
.orc-card__excerpt { color: var(--orc-muted); font-size: .96rem; margin: 0 0 var(--s3); }
.orc-card__more { color: var(--orc-accent); font-weight: 600; font-size: .92rem; }
.orc-fromblog__all { display: inline-block; margin-top: var(--s5); color: var(--orc-accent); font-weight: 600; text-decoration: none; }
.orc-fromblog__all:hover { text-decoration: underline; }

/* ---- Blog archive ------------------------------------------------------- */
.orc-archive { padding-top: var(--s7); padding-bottom: var(--s7); }
.orc-archive__head { max-width: var(--orc-read); margin: 0 auto var(--s6); }
.orc-archive__title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0 0 var(--s3); }
.orc-archive__sub { color: var(--orc-muted); margin: 0; }
.orc-archive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s4); }
.orc-card__link { display: block; text-decoration: none; color: inherit; }
.orc-archive__empty { color: var(--orc-muted); }
.orc-pager { margin-top: var(--s7); display: flex; justify-content: center; }
.orc-pager .page-numbers { display: inline-block; padding: .5em .9em; margin: 0 3px; border: 1px solid var(--orc-line); border-radius: var(--orc-radius); color: var(--orc-text); text-decoration: none; }
.orc-pager .page-numbers.current { background: var(--orc-cta-bg); color: var(--orc-on-accent); border-color: var(--orc-cta-bg); }

/* ---- Single post -------------------------------------------------------- */
.orc-post { padding-top: var(--s7); padding-bottom: var(--s7); }
.orc-post__head { max-width: var(--orc-read); margin: 0 auto var(--s5); }
.orc-post__meta { color: var(--orc-muted); font-size: .9rem; margin: 0 0 var(--s2); }
.orc-post__meta a { color: var(--orc-link); text-decoration: none; }
.orc-post__title { font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 0; line-height: 1.15; }
.orc-post__body { font-size: 1.06rem; }
.orc-post__body h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); color: var(--orc-accent); margin-block: var(--s6) var(--s3); padding-top: var(--s4); border-top: 1px solid var(--orc-line); }
.orc-post__body .wp-block-list { padding-left: 1.4em; }
.orc-post__body .wp-block-list li { margin-bottom: var(--s2); }
.orc-post__cta {
	max-width: var(--orc-read); margin: var(--s7) auto 0; padding: var(--s5);
	border: 1px solid var(--orc-line); border-radius: var(--orc-radius); background: var(--orc-tint); text-align: center;
}
.orc-post__cta p { margin: 0 0 var(--s3); font-weight: 600; }
.orc-post__nav { max-width: var(--orc-read); margin: var(--s6) auto 0; display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.orc-post__navlink { flex: 1 1 240px; border: 1px solid var(--orc-line); border-radius: var(--orc-radius); padding: var(--s3) var(--s4); text-decoration: none; color: var(--orc-text); }
.orc-post__navlink span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orc-accent); margin-bottom: 4px; }
.orc-post__navlink--next { text-align: right; }
.orc-post__navlink:hover { border-color: var(--orc-accent); }

/* ---- Inner page --------------------------------------------------------- */
.orc-page { padding-top: var(--s7); padding-bottom: var(--s7); }
.orc-page__title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0 auto var(--s5); max-width: var(--orc-read); }
.orc-page__body { font-size: 1.05rem; }
.orc-page__body > * { max-width: var(--orc-read); margin-inline: auto; }
.orc-page__body h2 { color: var(--orc-accent); margin-block: var(--s6) var(--s3); }

/* ---- 404 ---------------------------------------------------------------- */
.orc-404 { padding: var(--s8) 0; text-align: center; }
.orc-404__big { display: flex; align-items: center; justify-content: center; gap: var(--s2); font-family: "Bitter", serif; font-weight: 800; font-size: clamp(4rem, 16vw, 8rem); color: var(--orc-accent); line-height: 1; }
.orc-404__node { color: var(--orc-accent); }
.orc-404__node circle { stroke: currentColor; stroke-width: 4; }
.orc-404__node circle:last-child { fill: currentColor; stroke: none; }
.orc-404__txt { color: var(--orc-muted); margin: var(--s5) 0; }

/* ===========================================================================
   Footer — tinted (NOT an inverted band — avoids the dark-footer text bug)
   ======================================================================== */
.orc-foot { background: var(--orc-foot-bg); color: var(--orc-foot-fg); border-top: 1px solid var(--orc-line); padding: var(--s7) 0; }
.orc-foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); }
.orc-foot__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--orc-accent); }
.orc-foot__name { font-family: "Bitter", serif; font-weight: 700; color: var(--orc-foot-fg); }
.orc-foot__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.orc-foot__menu { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s4); margin: 0; padding: 0; }
.orc-foot__nav a, .orc-foot__menu a { color: var(--orc-foot-fg); text-decoration: none; opacity: .9; }
.orc-foot__nav a:hover { opacity: 1; color: var(--orc-accent); text-decoration: underline; }
.orc-foot__copy { margin: 0; margin-left: auto; color: var(--orc-muted); font-size: .9rem; }

/* ---- Cookie banner ------------------------------------------------------ */
.orc-cookie {
	position: fixed; left: 12px; right: 12px; bottom: 16px; margin-inline: auto; transform: translateY(160%);
	z-index: var(--orc-z-pop); max-width: 680px;
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4);
	background: var(--orc-surface); border: 1px solid var(--orc-line); border-radius: var(--orc-radius);
	box-shadow: var(--orc-shadow-pill); padding: var(--s4) var(--s5);
	transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}
.orc-cookie.is-shown { transform: translateY(0); }
.orc-cookie__txt { margin: 0; flex: 1 1 280px; font-size: .92rem; color: var(--orc-muted); }
.orc-cookie__txt a { color: var(--orc-link); }
.orc-cookie__ok { flex: none; min-height: 44px; padding: .6em 1.3em; }

/* ===========================================================================
   Reveal (TEMPLATE elements only — never the editable article). JS-gated +
   :not() stop rule + a 2s timeout safety net (in main.js).
   ======================================================================== */
.orc-reveal { transition: opacity .6s ease, transform .6s ease; }
html.orc-anim .orc-reveal:not(.in-view) { opacity: 0; transform: translateY(16px); }

/* ===========================================================================
   Breakpoints
   ======================================================================== */
@media (max-width: 768px) {
	.orc-lang--desk, .orc-head__cta { display: none; }
	.orc-burger { display: inline-flex; }
	.orc-fromblog__grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) {
	.orc-sheet { display: none !important; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.orc-compare__row { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--orc-line); }
	.orc-compare__row:last-child { border-bottom: 0; }
	.orc-compare__row--head { display: none; }
	.orc-compare__row > span { border-bottom: 1px solid var(--orc-line); }
	.orc-compare__row > span:last-child { border-bottom: 0; }
	.orc-compare__axis { background: var(--orc-tint) !important; color: var(--orc-accent); font-family: "Bitter", serif; }
	.orc-compare__row > span:nth-child(2)::before { content: "This site — "; font-weight: 700; color: var(--orc-accent); }
	.orc-compare__row > span:nth-child(3)::before { content: "Other sites — "; font-weight: 700; color: var(--orc-muted); }
	.orc-foot__copy { margin-left: 0; width: 100%; }
}

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.orc-gate__veil span { animation: none !important; }
	.orc-reveal { opacity: 1 !important; transform: none !important; }
}
h1, h2, h3 { scroll-margin-top: calc(var(--orc-head-h) + 16px); }
