/*
 * Premium Final — the inner pages, the articles and the blog (marom-core/inc/editorial.php → 'editorial-final').
 * Built on V3's tokens and type scale (editorial-v3.css, loaded before this file) so the whole site speaks one language:
 *   night (#020617) for heads and moments of weight, paper (#faf7f0) for reading; hairlines, never boxes or glow;
 *   Heebo light for display, one gold for labels and actions. Templates: theme templates/widgets/editorial-final/.
 * Every rule is scoped with :where() (one-class specificity), so each widget's Style controls ({{WRAPPER}} .ms-…) win.
 * RTL: logical properties throughout.
 */

/* ═════════════ shared: the inner-page head (night, under the transparent header) ═════════════ */
:where(.m3-pagehead) {
	--m3-t-page: clamp(2.25rem, 1.1rem + 3.1vw, 3.75rem);
	overflow: hidden;
	padding-block: calc(var(--m3-header) + clamp(56px, 8vw, 112px)) clamp(64px, 7vw, 104px);
	background:
		radial-gradient(55% 80% at 90% 0%, rgba(186, 152, 81, 0.07), transparent 62%),
		radial-gradient(60% 90% at 6% 100%, rgba(30, 41, 59, 0.5), transparent 70%),
		var(--m3-night);
	border-block-end: 1px solid var(--m3-line);
}
:where(.m3-pagehead) .m3-pagehead__lines,
:where(.m3) .m3-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
:where(.m3-pagehead) .m3-pagehead__lines i,
:where(.m3) .m3-lines i { position: absolute; inset-block: 0; inline-size: 1px; background: linear-gradient(to bottom, transparent, rgba(236, 239, 244, 0.045) 22%, rgba(236, 239, 244, 0.045) 85%, transparent); }
:where(.m3-pagehead) .m3-pagehead__lines i:nth-child(1), :where(.m3) .m3-lines i:nth-child(1) { inset-inline-start: 18%; }
:where(.m3-pagehead) .m3-pagehead__lines i:nth-child(2), :where(.m3) .m3-lines i:nth-child(2) { inset-inline-start: 36%; }
:where(.m3-pagehead) .m3-pagehead__lines i:nth-child(3), :where(.m3) .m3-lines i:nth-child(3) { inset-inline-start: 54%; }
:where(.m3-pagehead) .m3-pagehead__lines i:nth-child(4), :where(.m3) .m3-lines i:nth-child(4) { inset-inline-start: 72%; }
:where(.m3-pagehead) .m3-pagehead__inner { position: relative; z-index: 1; }
:where(.m3-pagehead) .m3-pagehead__title { max-inline-size: 15em; font-size: var(--m3-t-page); font-weight: 300; line-height: 1.12; letter-spacing: -0.018em; color: var(--m3-ink); text-wrap: balance; }
:where(.m3-pagehead) .m3-pagehead__title .ms-accent { color: var(--m3-gold); }
:where(.m3-pagehead) .m3-pagehead__foot { max-inline-size: 40rem; }
:where(.m3-pagehead) .m3-pagehead__foot .m3-rule { margin-block: clamp(1.75rem, 2.6vw, 2.25rem) 1.5rem; }
:where(.m3-pagehead) .m3-pagehead__lead { font-size: var(--m3-t-lead); line-height: 1.8; font-weight: 300; color: var(--m3-mute); text-wrap: pretty; }
:where(.m3-pagehead) .m3-pagehead__lead strong { color: var(--m3-ink); font-weight: 500; }
/* a head with a lot to say (about): the statement wide, the introduction in a reading column beside the rule */
:where(.m3-pagehead--about) .m3-pagehead__title { max-inline-size: 13em; }
:where(.m3-pagehead--about) .m3-pagehead__title .ms-accent { display: inline-block; margin-block-start: 0.1em; }
@media (min-width: 1024px) {
	:where(.m3-pagehead--about) .m3-pagehead__foot { display: grid; grid-template-columns: 3.5rem minmax(0, 38rem); column-gap: 1.75rem; align-items: start; max-inline-size: none; margin-block-start: clamp(2.5rem, 3.4vw, 3.25rem); }
	:where(.m3-pagehead--about) .m3-pagehead__foot .m3-rule { margin-block: 0.95em 0; }
}
/* short heads (contact, Q&A): a little less height, so the content starts in the first screen */
:where(.m3-pagehead--contact), :where(.m3-pagehead--qa) { padding-block: calc(var(--m3-header) + clamp(48px, 6.5vw, 92px)) clamp(52px, 6vw, 84px); }
@media (max-width: 767px) {
	:where(.m3-pagehead) { padding-block: calc(var(--m3-header) + 44px) 52px; }
	:where(.m3-pagehead) .m3-pagehead__lines i:nth-child(odd) { display: none; }
	:where(.m3-pagehead) .m3-pagehead__lead { font-size: 1rem; line-height: 1.75; }
}

/* ═════════════ ABOUT ═════════════ */
/* ── worldview (two columns, paper) ── */
:where(.m3-columns) { padding-block: var(--m3-section) clamp(40px, 4vw, 64px); }
:where(.m3-columns) .m3-columns__grid { display: grid; grid-template-columns: repeat(var(--m3-cols, 2), minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 88px); row-gap: 3rem; }
:where(.m3-columns) .m3-columns__grid--1 { --m3-cols: 1; max-inline-size: 44rem; }
:where(.m3-columns) .m3-columns__grid--3 { --m3-cols: 3; }
:where(.m3-columns) .m3-columns__grid--4 { --m3-cols: 4; }
:where(.m3-columns) .m3-columns__col { position: relative; padding-block-start: clamp(1.75rem, 2.4vw, 2.25rem); border-block-start: 1px solid var(--m3-line); }
:where(.m3-columns) .m3-columns__title { font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.2; letter-spacing: -0.012em; color: var(--m3-paper-ink); text-wrap: balance; }
:where(.m3-columns) .m3-columns__text { margin-block-start: 1.25rem; max-inline-size: 34em; font-size: var(--m3-t-body); line-height: 1.85; color: var(--m3-paper-mute); }
@media (max-width: 767px) { :where(.m3-columns) .m3-columns__grid { grid-template-columns: 1fr; } }

/* ── values (paper; continues the worldview section: a ledger of four principles) ── */
:where(.m3-values) { padding-block: clamp(24px, 3vw, 48px) var(--m3-section); }
:where(.m3-values) .m3-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--m3-line); }
:where(.m3-values) .m3-values__item { display: flex; flex-direction: column; gap: 0.7rem; padding: clamp(1.75rem, 2.6vw, 2.5rem) clamp(1.25rem, 2vw, 2rem); padding-inline-start: 0; }
:where(.m3-values) .m3-values__item + .m3-values__item { padding-inline-start: clamp(1.25rem, 2vw, 2rem); border-inline-start: 1px solid var(--m3-line); }
:where(.m3-values) .m3-values__icon { color: var(--m3-bronze); margin-block-end: 0.4rem; }
:where(.m3-values) .m3-values__icon .m3-icon { inline-size: 28px; block-size: 28px; }
:where(.m3-values) .m3-values__title { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.3; color: var(--m3-paper-ink); }
:where(.m3-values) .m3-values__text { font-size: var(--m3-t-small); line-height: 1.75; color: var(--m3-paper-mute); }
@media (max-width: 1023px) {
	:where(.m3-values) .m3-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:where(.m3-values) .m3-values__item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
	:where(.m3-values) .m3-values__item:nth-child(even) { padding-inline-start: clamp(1.25rem, 3vw, 2rem); border-inline-start: 1px solid var(--m3-line); }
	:where(.m3-values) .m3-values__item:nth-child(n + 3) { border-block-start: 1px solid var(--m3-line); }
}
@media (max-width: 519px) {
	:where(.m3-values) .m3-values__grid { grid-template-columns: 1fr; }
	:where(.m3-values) .m3-values__item, :where(.m3-values) .m3-values__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
	:where(.m3-values) .m3-values__item + .m3-values__item { border-block-start: 1px solid var(--m3-line); }
}

/* ── figures (night ledger strip) ── */
:where(.m3-figures) { background: var(--m3-chamber); border-block: 1px solid var(--m3-line); }
:where(.m3-figures) .m3-figures__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
:where(.m3-figures) .m3-figures__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.6rem; padding: clamp(2rem, 3.4vw, 3rem) clamp(1rem, 2vw, 2rem); padding-inline-start: 0; }
:where(.m3-figures) .m3-figures__item + .m3-figures__item { padding-inline-start: clamp(1rem, 2vw, 2rem); border-inline-start: 1px solid var(--m3-line); }
:where(.m3-figures) .m3-figures__value { direction: ltr; text-align: end; unicode-bidi: isolate; font-size: var(--m3-t-figure); font-weight: 200; line-height: 1; letter-spacing: -0.02em; color: var(--m3-ink); }
:where(.m3-figures) .m3-figures__label { font-size: var(--m3-t-caption); line-height: 1.45; color: var(--m3-dim); }
:where(.m3) .m3-star { display: inline-block; margin-inline-start: 0.2em; font-size: 0.5em; vertical-align: 0.45em; color: var(--m3-gold); }
@media (max-width: 767px) {
	:where(.m3-figures) .m3-figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:where(.m3-figures) .m3-figures__item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
	:where(.m3-figures) .m3-figures__item:nth-child(even) { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--m3-line); }
	:where(.m3-figures) .m3-figures__item:nth-child(n + 3) { border-block-start: 1px solid var(--m3-line); }
}

/* ── the founder (night; the home page's counsel composition, with the story beside the portrait) ── */
:where(.m3-founder) { padding-block: var(--m3-section); background: radial-gradient(60% 70% at 10% 40%, rgba(30, 41, 59, 0.5), transparent 70%), var(--m3-night); }
:where(.m3-founder) .m3-founder__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 3rem; align-items: start; }
:where(.m3-founder) .m3-founder__portrait { grid-column: 1 / span 5; position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--m3-raise); }
@media (min-width: 1024px) { :where(.m3-founder) .m3-founder__portrait { position: sticky; inset-block-start: calc(var(--m3-header) + 32px); } }
:where(.m3-founder) .m3-founder__portrait > .m3-founder__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: 50% 14%; filter: grayscale(1) contrast(1.08) brightness(0.95); transition: filter 1.2s var(--m3-ease), transform 1.6s var(--m3-ease); }
:where(.m3-founder) .m3-founder__portrait:hover > .m3-founder__img { filter: grayscale(0.2) contrast(1.04); transform: scale(1.02); }
:where(.m3-founder) .m3-founder__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent 40%); pointer-events: none; }
:where(.m3-founder) .m3-founder__body { grid-column: 7 / -1; padding-block-start: clamp(0px, 2vw, 24px); }
:where(.m3-founder) .m3-founder__lead { margin-block-start: 2rem; font-size: var(--m3-t-lead); line-height: 1.75; font-weight: 300; color: var(--m3-ink); max-inline-size: 34em; text-wrap: pretty; }
:where(.m3-founder) .m3-founder__text { margin-block-start: 1.25rem; font-size: var(--m3-t-body); line-height: 1.85; font-weight: 300; color: var(--m3-mute); max-inline-size: 36em; }
:where(.m3-founder) .m3-founder__record { margin-block-start: 2.5rem; }
:where(.m3-founder) .m3-founder__creds { border-block-start: 1px solid var(--m3-line); }
:where(.m3-founder) .m3-founder__cred { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; padding-block: 0.95rem; border-block-end: 1px solid var(--m3-line); font-size: var(--m3-t-small); line-height: 1.55; color: var(--m3-ink); }
:where(.m3-founder) .m3-founder__cred::before { content: ""; inline-size: 0.6rem; block-size: 1px; margin-block-start: 0.75em; background: var(--m3-gold); }
:where(.m3-founder) .m3-founder__tags { display: flex; flex-wrap: wrap; margin-block-start: 1.25rem; font-size: var(--m3-t-caption); line-height: 1.5; color: var(--m3-gold-soft); }
:where(.m3-founder) .m3-founder__tag + .m3-founder__tag::before { content: "/"; padding-inline: 0.6rem; color: var(--m3-line-gold); }
@media (max-width: 1023px) {
	:where(.m3-founder) .m3-founder__portrait, :where(.m3-founder) .m3-founder__body { grid-column: 1 / -1; }
	:where(.m3-founder) .m3-founder__portrait { max-inline-size: 460px; aspect-ratio: 4 / 4.4; }
}

/* ── a heading and a paragraph (paper note) ── */
:where(.m3-note) { padding-block: var(--m3-section); }
:where(.m3-note) .m3-note__text { font-size: var(--m3-t-lead); line-height: 1.85; color: var(--m3-paper-mute); max-inline-size: 36em; text-wrap: pretty; }
:where(.m3-note) .m3-note__text strong { color: var(--m3-paper-ink); font-weight: 500; }

/* ═════════════ Q&A ═════════════ */
:where(.m3-faq) { padding-block: clamp(56px, 6vw, 96px) var(--m3-section); }
:where(.m3-faq) .m3-faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 2.5rem; align-items: start; }
:where(.m3-faq) .m3-faq__aside { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 2.75rem; }
:where(.m3-faq) .m3-faq__list { grid-column: 5 / -1; border-block-end: 1px solid var(--m3-line); }
@media (min-width: 1024px) {
	:where(.m3-faq) .m3-faq__aside { position: sticky; inset-block-start: calc(var(--m3-header) + 28px); }
	:where(.m3-faq) .m3-faq__list { grid-column: 6 / -1; }
}
/* categories: a vertical index — the name, a hairline and the number of questions */
:where(.m3-faq) .m3-faq__filters { display: flex; flex-direction: column; border-block-start: 1px solid var(--m3-line); }
:where(.m3-faq) .m3-faq__filter {
	position: relative;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	inline-size: 100%;
	padding: 0.95rem 0;
	border: 0;
	border-block-end: 1px solid var(--m3-line);
	background: none;
	font: inherit;
	font-size: var(--m3-t-small);
	line-height: 1.4;
	color: var(--m3-paper-mute);
	text-align: start;
	cursor: pointer;
	transition: color 0.35s, padding 0.5s var(--m3-ease);
}
:where(.m3-faq) .m3-faq__filter::before { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 0; inline-size: 0.9rem; block-size: 1px; background: var(--m3-bronze); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--m3-ease); }
:where(.m3-faq) .m3-faq__filter:hover { color: var(--m3-paper-ink); }
:where(.m3-faq) .m3-faq__filter.is-on { padding-inline-start: 1.5rem; color: var(--m3-paper-ink); font-weight: 500; }
:where(.m3-faq) .m3-faq__filter.is-on::before { transform: scaleX(1); }
:where(.m3-faq) .m3-faq__count { font-size: var(--m3-t-caption); font-variant-numeric: tabular-nums; color: var(--m3-bronze); }
/* the "ask us" note */
:where(.m3-faq) .m3-faq__ask { padding: clamp(1.5rem, 2.2vw, 2rem); background: var(--m3-paper-2); border: 1px solid var(--m3-line); }
:where(.m3-faq) .m3-faq__ask-title { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.35; color: var(--m3-paper-ink); }
:where(.m3-faq) .m3-faq__ask-text { margin-block-start: 0.6rem; font-size: var(--m3-t-small); line-height: 1.7; color: var(--m3-paper-mute); }
:where(.m3-faq) .m3-faq__ask .m3-btn { margin-block-start: 1.4rem; background: var(--m3-paper-ink); color: var(--m3-paper); }
:where(.m3-faq) .m3-faq__ask .m3-btn:hover { background: var(--m3-bronze); }
/* the questions */
:where(.m3-faq) .m3-faq__item { border-block-start: 1px solid var(--m3-line); transition: background-color 0.5s var(--m3-ease); }
:where(.m3-faq) .m3-faq__item[hidden] { display: none; }
:where(.m3-faq) .m3-faq__h { margin: 0; font: inherit; }
:where(.m3-faq) .m3-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	inline-size: 100%;
	padding-block: clamp(1.35rem, 2vw, 1.75rem);
	border: 0;
	background: none;
	font: inherit;
	color: var(--m3-paper-ink);
	text-align: start;
	cursor: pointer;
}
:where(.m3-faq) .m3-faq__qtext { display: flex; flex-direction: column; gap: 0.4rem; }
:where(.m3-faq) .m3-faq__tag { font-size: var(--m3-t-caption); font-weight: 500; line-height: 1.4; color: var(--m3-bronze); }
:where(.m3-faq) .m3-faq__question { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.45; transition: color 0.35s; text-wrap: pretty; }
:where(.m3-faq) .m3-faq__q:hover .m3-faq__question { color: var(--m3-bronze); }
:where(.m3-faq) .m3-faq__icon { position: relative; flex: none; inline-size: 2.25rem; block-size: 2.25rem; margin-block-start: 0.1rem; border: 1px solid var(--m3-line); border-radius: 50%; transition: transform 0.5s var(--m3-ease), border-color 0.4s, background-color 0.4s; }
:where(.m3-faq) .m3-faq__icon::before, :where(.m3-faq) .m3-faq__icon::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 0.8rem; block-size: 1px; margin: 0 -0.4rem; background: var(--m3-bronze); }
:where(.m3-faq) .m3-faq__icon::after { transform: rotate(90deg); }
:where(.m3-faq) .m3-faq__q:hover .m3-faq__icon { border-color: var(--m3-bronze); }
:where(.m3-faq) .m3-faq__icon.rotate-45 { transform: rotate(45deg); background: var(--m3-paper-ink); border-color: var(--m3-paper-ink); }
:where(.m3-faq) .m3-faq__icon.rotate-45::before, :where(.m3-faq) .m3-faq__icon.rotate-45::after { background: var(--m3-paper); }
:where(.m3-faq) .m3-faq__a { padding-block-end: 1.85rem; padding-inline-end: 4.25rem; }
:where(.m3-faq) .m3-faq__a:not([hidden]) { animation: m3p-reveal 0.6s var(--m3-ease); }
:where(.m3-faq) .m3-faq__answer { max-inline-size: 40em; font-size: var(--m3-t-body); line-height: 1.85; color: var(--m3-paper-mute); white-space: pre-line; }
@keyframes m3p-reveal { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1023px) {
	:where(.m3-faq) .m3-faq__aside, :where(.m3-faq) .m3-faq__list { grid-column: 1 / -1; }
	:where(.m3-faq) .m3-faq__aside { display: contents; }
	/* the categories as a row that scrolls sideways, kept in reach under the header */
	:where(.m3-faq) .m3-faq__nav { grid-column: 1 / -1; position: sticky; inset-block-start: var(--m3-header); z-index: 5; margin-inline: calc(-1 * var(--m3-gutter)); padding: 0.75rem var(--m3-gutter); background: rgba(250, 247, 240, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block-end: 1px solid var(--m3-line); }
	:where(.m3-faq) .m3-faq__filters { flex-direction: row; gap: 0.5rem; overflow-x: auto; border: 0; scrollbar-width: none; scroll-snap-type: x proximity; }
	:where(.m3-faq) .m3-faq__filters::-webkit-scrollbar { display: none; }
	:where(.m3-faq) .m3-faq__filter { flex: none; inline-size: auto; min-block-size: 2.75rem; align-items: center; gap: 0.5rem; padding: 0 1.1rem; border: 1px solid var(--m3-line); border-radius: 999px; scroll-snap-align: start; white-space: nowrap; }
	:where(.m3-faq) .m3-faq__filter::before { content: none; }
	:where(.m3-faq) .m3-faq__filter.is-on { padding-inline-start: 1.1rem; background: var(--m3-paper-ink); border-color: var(--m3-paper-ink); color: var(--m3-paper); }
	:where(.m3-faq) .m3-faq__filter.is-on .m3-faq__count { color: var(--m3-gold-soft); }
	:where(.m3-faq) .m3-faq__ask { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 599px) {
	:where(.m3-faq) .m3-faq__q { gap: 1.25rem; }
	:where(.m3-faq) .m3-faq__a { padding-inline-end: 0; }
	:where(.m3-faq) .m3-faq__question { font-size: 1.0625rem; }
}

/* ═════════════ CONTACT ═════════════ */
:where(.m3-contact) { padding-block: var(--m3-section); background: radial-gradient(55% 80% at 95% 100%, rgba(186, 152, 81, 0.06), transparent 65%), var(--m3-night); }
:where(.m3-contact) .m3-contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 3.5rem; align-items: start; }
:where(.m3-contact) .m3-contact__intro { grid-column: 1 / span 5; }
:where(.m3-contact) .m3-contact__panel { grid-column: 7 / -1; }
:where(.m3-contact) .m3-contact__intro .m3-lead { max-inline-size: 28em; }
:where(.m3-contact) .m3-contact__rows { margin-block-start: 2.5rem; border-block-start: 1px solid var(--m3-line); }
:where(.m3-contact) .m3-contact__row { border-block-end: 1px solid var(--m3-line); }
:where(.m3-contact) .m3-contact__entry { display: grid; grid-template-columns: 2.75rem 1fr; align-items: center; column-gap: 1rem; padding-block: 1.05rem; }
:where(.m3-contact) .m3-contact__icon { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border: 1px solid var(--m3-line-gold); border-radius: 50%; color: var(--m3-gold); transition: background-color 0.45s var(--m3-ease), color 0.45s var(--m3-ease), border-color 0.45s var(--m3-ease); }
:where(.m3-contact) .m3-contact__icon .m3-icon { inline-size: 19px; block-size: 19px; }
:where(.m3-contact) .m3-contact__text { display: flex; flex-direction: column; gap: 0.2rem; min-inline-size: 0; }
:where(.m3-contact) .m3-contact__label { font-size: var(--m3-t-caption); line-height: 1.4; color: var(--m3-dim); }
:where(.m3-contact) .m3-contact__value { font-size: var(--m3-t-body); font-weight: 400; line-height: 1.45; color: var(--m3-ink); overflow-wrap: anywhere; }
:where(.m3-contact) .m3-contact__value[dir="ltr"] { text-align: end; justify-self: start; } /* numbers read left-to-right, aligned with the column */
:where(.m3-contact) .m3-contact__row--phone .m3-contact__value { font-size: var(--m3-t-h4); font-weight: 300; letter-spacing: 0.01em; }
:where(.m3-contact) .m3-contact__entry--link .m3-contact__value { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size 0.6s var(--m3-ease), color 0.3s; inline-size: fit-content; }
:where(.m3-contact) .m3-contact__entry--link:hover .m3-contact__value { background-size: 100% 1px; color: var(--m3-gold-soft); }
:where(.m3-contact) .m3-contact__entry--link:hover .m3-contact__icon { background: var(--m3-gold); border-color: var(--m3-gold); color: var(--m3-night); }
/* the form panel */
:where(.m3-contact) .m3-contact__panel { position: relative; padding: clamp(1.75rem, 3vw, 2.75rem); background: linear-gradient(180deg, rgba(236, 239, 244, 0.035), rgba(236, 239, 244, 0.01)), var(--m3-raise); border: 1px solid var(--m3-line); }
:where(.m3-contact) .m3-contact__panel::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; block-size: 1px; background: linear-gradient(to left, var(--m3-gold), transparent 75%); }
:where(.m3-contact) .m3-contact__privacy { margin-block-start: 1.25rem; font-size: 0.75rem; line-height: 1.6; color: var(--m3-dim); text-align: center; }
:where(.m3-contact) .m3-contact__success { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding-block: clamp(2rem, 5vw, 3.5rem); text-align: center; animation: m3p-reveal 0.7s var(--m3-ease); }
:where(.m3-contact) .m3-contact__success[hidden] { display: none; }
:where(.m3-contact) .m3-contact__check { inline-size: 3.5rem; block-size: 3.5rem; margin-block-end: 0.5rem; color: var(--m3-gold); }
:where(.m3-contact) .m3-contact__success-title { font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.2; color: var(--m3-ink); }
:where(.m3-contact) .m3-contact__success-text { max-inline-size: 26em; font-size: var(--m3-t-body); line-height: 1.75; color: var(--m3-mute); }
@media (max-width: 1023px) { :where(.m3-contact) .m3-contact__intro, :where(.m3-contact) .m3-contact__panel { grid-column: 1 / -1; } }
@media (max-width: 599px) { :where(.m3-contact) .m3-contact__panel { margin-inline: calc(-1 * var(--m3-gutter) + 8px); padding: 1.5rem 1.25rem; } }

/* ── the form: same Elementor Pro form, Final look. (0,4,0) + !important where site.css forces the classic look;
 * the "שדות הטופס / תוויות / כפתור שליחה" Style controls ({{WRAPPER}} .marom-contact-form …) still win. ── */
.m3-form.marom-contact-form .elementor-form-fields-wrapper > * + * { margin-top: 1.25rem !important; }
.m3-form.marom-contact-form .elementor-field-group .elementor-field-label { margin-bottom: 0.5rem; font-size: var(--m3-t-caption); font-weight: 500; letter-spacing: 0.01em; color: var(--m3-mute); }
.m3-form.marom-contact-form .elementor-field-group .elementor-field-textual,
.m3-form.marom-contact-form .elementor-field-group .elementor-select-wrapper select {
	min-block-size: 3.25rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(236, 239, 244, 0.16);
	border-radius: 2px;
	background-color: rgba(2, 6, 23, 0.55) !important;
	color: var(--m3-ink) !important;
	font-size: var(--m3-t-body);
	line-height: 1.5;
	transition: border-color 0.3s var(--m3-ease), box-shadow 0.3s var(--m3-ease), background-color 0.3s;
}
.m3-form.marom-contact-form .elementor-field-group textarea.elementor-field-textual { min-block-size: 7.5rem; }
.m3-form.marom-contact-form .elementor-field-group .elementor-field-textual::placeholder { color: #66728a; }
.m3-form.marom-contact-form .elementor-field-group .elementor-field-textual:hover,
.m3-form.marom-contact-form .elementor-field-group .elementor-select-wrapper select:hover { border-color: rgba(236, 239, 244, 0.3); }
.m3-form.marom-contact-form .elementor-field-group .elementor-field-textual:focus,
.m3-form.marom-contact-form .elementor-field-group .elementor-select-wrapper select:focus { border-color: var(--m3-gold); box-shadow: 0 0 0 3px rgba(186, 152, 81, 0.2); outline: none; }
.m3-form.marom-contact-form .elementor-field-group .elementor-field-textual:focus-visible,
.m3-form.marom-contact-form .elementor-field-group .elementor-select-wrapper select:focus-visible { outline: none; }
.m3-form.marom-contact-form .elementor-select-wrapper select option { background: var(--m3-raise); color: var(--m3-ink); }
/* errors: after the visitor has interacted (:user-invalid), and Elementor's own server-side messages */
.m3-form.marom-contact-form .elementor-field-group .elementor-field-textual:user-invalid,
.m3-form.marom-contact-form .elementor-field-group.elementor-error .elementor-field-textual { border-color: #e7928a; box-shadow: 0 0 0 3px rgba(231, 146, 138, 0.14); }
.m3-form.marom-contact-form .elementor-message { display: flex; align-items: flex-start; gap: 0.6rem; margin: 1rem 0 0; padding: 0.85rem 1rem; border: 1px solid rgba(231, 146, 138, 0.35); background: rgba(231, 146, 138, 0.07); font-size: var(--m3-t-small); line-height: 1.55; color: #f0b3ac; }
.m3-form.marom-contact-form .elementor-form-help-inline { display: block; margin: 0.4rem 0 0; padding: 0; border: 0; background: none; font-size: var(--m3-t-caption); color: #f0b3ac; }
/* consent */
.m3-form.marom-contact-form .elementor-field-type-acceptance .elementor-field-option { gap: 0.8rem; padding-top: 0.25rem; }
.m3-form.marom-contact-form .elementor-field-type-acceptance input[type="checkbox"] { inline-size: 1.125rem; block-size: 1.125rem; margin-top: 0.15rem; accent-color: var(--m3-gold); }
.m3-form.marom-contact-form .elementor-field-type-acceptance .elementor-field-option label { font-size: 0.8125rem; line-height: 1.7; color: var(--m3-mute); }
.m3-form.marom-contact-form .elementor-field-type-acceptance .elementor-field-option label a { color: var(--m3-gold-soft); text-decoration: underline; text-decoration-color: rgba(220, 199, 155, 0.4); text-underline-offset: 3px; }
.m3-form.marom-contact-form .elementor-field-type-acceptance .elementor-field-option label a:hover { text-decoration-color: currentColor; }
/* submit: the Final primary button (full width) */
.m3-form.marom-contact-form .e-form__buttons { margin-top: 1.75rem !important; }
.m3-form.marom-contact-form .e-form__buttons .elementor-button {
	min-block-size: 3.5rem;
	border-radius: 999px;
	background-color: var(--m3-gold);
	color: var(--m3-night) !important;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: none;
	transition: background-color 0.4s var(--m3-ease), opacity 0.3s;
}
.m3-form.marom-contact-form .e-form__buttons .elementor-button:hover { background-color: var(--m3-gold-soft); box-shadow: none; }
.m3-form.marom-contact-form .e-form__buttons .elementor-button:focus-visible { outline: 2px solid var(--m3-gold-soft); outline-offset: 3px; }
.m3-form.marom-contact-form .e-form__buttons .elementor-button:disabled { opacity: 0.38; cursor: not-allowed; background-color: var(--m3-gold); }
@media (prefers-reduced-motion: reduce) {
	:where(.m3) :is(.m3-faq__a, .m3-contact__success) { animation: none !important; }
}

/* ═════════════ PRACTICE AREAS & SERVICES ═════════════ */
/* ── the head's extras: the way back, the status line, the hook, an update line ── */
:where(.m3-pagehead) .m3-pagehead__back { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-end: clamp(1.75rem, 3vw, 2.5rem); font-size: var(--m3-t-small); line-height: 1.4; color: var(--m3-gold); background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size 0.6s var(--m3-ease), color 0.3s; }
:where(.m3-pagehead) .m3-pagehead__back:hover { background-size: 100% 1px; color: var(--m3-gold-soft); }
:where(.m3-pagehead) .m3-pagehead__back + .m3-pagehead__status { margin-block-start: -0.5rem; }
:where(.m3-pagehead) .m3-pagehead__status { display: flex; align-items: center; gap: 0.65rem; margin-block-end: 1.5rem; font-size: var(--m3-t-caption); line-height: 1.4; letter-spacing: 0.01em; color: var(--m3-mute); }
:where(.m3-pagehead) .m3-pagehead__back, :where(.m3-pagehead) .m3-pagehead__status { inline-size: fit-content; }
:where(.m3-pagehead) .m3-pagehead__back { display: flex; }
:where(.m3-pagehead) .m3-pagehead__hook { font-size: var(--m3-t-h4); font-weight: 300; line-height: 1.55; color: var(--m3-gold-soft); text-wrap: pretty; }
:where(.m3-pagehead) .m3-pagehead__hook + .m3-pagehead__lead { margin-block-start: 1rem; }
:where(.m3-pagehead) .m3-pagehead__meta { margin-block-start: 1.25rem; font-size: var(--m3-t-caption); line-height: 1.5; color: var(--m3-dim); }

/* ── services (paper index, two columns from 1024px) ── */
:where(.m3-services) { padding-block: var(--m3-section); }
:where(.m3-services) .m3-services__title { max-inline-size: 18em; margin-block-end: var(--m3-head-gap); }
:where(.m3-services) .m3-services__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); border-block-end: 1px solid var(--m3-line); }
@media (min-width: 1024px) {
	:where(.m3-services) .m3-services__list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); border-block-end: 0; }
	:where(.m3-services) .m3-services__list--two .m3-services__item { border-block-end: 1px solid var(--m3-line); }
}
:where(.m3-services) .m3-services__item { position: relative; border-block-start: 1px solid var(--m3-line); }
:where(.m3-services) .m3-services__item::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; block-size: 1px; background: var(--m3-bronze); transform: scaleX(0); transform-origin: right; transition: transform 0.9s var(--m3-ease); }
:where(.m3-services) .m3-services__item:hover::before, :where(.m3-services) .m3-services__item:focus-within::before { transform: scaleX(1); }
:where(.m3-services) .m3-services__link { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: clamp(14px, 1.6vw, 24px); align-items: start; block-size: 100%; padding-block: clamp(1.5rem, 2.2vw, 2rem); }
:where(.m3-services--dense) .m3-services__link { padding-block: clamp(1.25rem, 1.8vw, 1.6rem); }
:where(.m3-services) .m3-services__icon { color: var(--m3-bronze); padding-block-start: 0.2rem; }
:where(.m3-services) .m3-services__icon .m3-icon { inline-size: 28px; block-size: 28px; }
:where(.m3-services) .m3-services__body { display: flex; flex-direction: column; gap: 0.5rem; }
:where(.m3-services) .m3-services__name { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.3; color: var(--m3-paper-ink); transition: color 0.35s; }
:where(.m3-services) .m3-services__text { font-size: var(--m3-t-small); line-height: 1.7; color: var(--m3-paper-mute); max-inline-size: 34em; }
:where(.m3-services) .m3-services__more { display: grid; place-items: center; inline-size: 2.5rem; block-size: 2.5rem; margin-block-start: 0.1rem; border: 1px solid var(--m3-line); border-radius: 50%; color: var(--m3-bronze); transition: background-color 0.45s var(--m3-ease), border-color 0.45s var(--m3-ease), color 0.45s var(--m3-ease), transform 0.5s var(--m3-ease); }
:where(.m3-services) .m3-services__more .m3-arrow { inline-size: 1rem; block-size: 1rem; }
:where(.m3-services) .m3-services__link:hover .m3-services__name { color: var(--m3-bronze); }
:where(.m3-services) .m3-services__link:hover .m3-services__more,
:where(.m3-services) .m3-services__link:focus-visible .m3-services__more { background: var(--m3-paper-ink); border-color: var(--m3-paper-ink); color: var(--m3-paper); transform: translateX(-4px); }
@media (max-width: 479px) { :where(.m3-services) .m3-services__link { grid-template-columns: 32px minmax(0, 1fr) auto; } :where(.m3-services) .m3-services__icon .m3-icon { inline-size: 24px; block-size: 24px; } }

/* ── a statement with actions (night) ── */
:where(.m3-statement) { padding-block: var(--m3-section); overflow: hidden; background: radial-gradient(55% 90% at 8% 100%, rgba(186, 152, 81, 0.07), transparent 65%), var(--m3-chamber); border-block: 1px solid var(--m3-line); }
:where(.m3-statement) .m3-statement__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: 1.75rem; align-items: start; }
:where(.m3-statement) .m3-statement__title { grid-column: 1 / span 5; }
:where(.m3-statement) .m3-statement__body { grid-column: 7 / -1; }
:where(.m3-statement) .m3-statement__text { font-size: var(--m3-t-lead); line-height: 1.85; font-weight: 300; color: var(--m3-mute); max-inline-size: 34em; text-wrap: pretty; }
:where(.m3-statement) .m3-statement__text strong { color: var(--m3-ink); font-weight: 500; }
:where(.m3-statement) .m3-actions { margin-block-start: 2rem; }
@media (max-width: 1023px) { :where(.m3-statement) .m3-statement__title, :where(.m3-statement) .m3-statement__body { grid-column: 1 / -1; } }
@media (max-width: 599px) { :where(.m3-statement) .m3-btn { inline-size: 100%; } }

/* ── checklist (night chamber) ── */
:where(.m3-checklist) { padding-block: var(--m3-section); background: var(--m3-chamber); border-block: 1px solid var(--m3-line); }
:where(.m3-checklist) .m3-checklist__list { border-block-start: 1px solid var(--m3-line); }
:where(.m3-checklist) .m3-checklist__item { display: grid; grid-template-columns: 1.75rem 1fr; gap: 1rem; align-items: start; padding-block: 1.15rem; border-block-end: 1px solid var(--m3-line); }
:where(.m3-checklist) .m3-checklist__icon { display: grid; place-items: center; color: var(--m3-gold); padding-block-start: 0.15rem; }
:where(.m3-checklist) .m3-checklist__icon .m3-icon { inline-size: 20px; block-size: 20px; }
:where(.m3-checklist) .m3-checklist__icon .m3-icon--glyph { inline-size: auto; block-size: auto; font-size: 1rem; line-height: 1.5; filter: none; opacity: 1; }
:where(.m3-checklist) .m3-checklist__text { font-size: var(--m3-t-body); line-height: 1.7; color: var(--m3-ink); }

/* ── the service body (paper, one reading column) ── */
:where(.m3-article) { padding-block: clamp(64px, 7vw, 104px); }
:where(.m3-article) .m3-article__column { max-inline-size: 44rem; }
:where(.m3-article) .m3-article__part + .m3-article__part { margin-block-start: clamp(2.5rem, 4vw, 3.5rem); padding-block-start: clamp(2.5rem, 4vw, 3.5rem); border-block-start: 1px solid var(--m3-line); }
:where(.m3-article) .m3-article__heading { font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.25; letter-spacing: -0.012em; color: var(--m3-paper-ink); text-wrap: balance; }
:where(.m3-article) .m3-article__text { margin-block-start: 1rem; font-size: var(--m3-t-body); line-height: 1.9; color: var(--m3-paper-mute); }
:where(.m3-article) .m3-article__points { margin-block-start: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; }
:where(.m3-article) .m3-article__point { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.5rem; font-size: var(--m3-t-body); line-height: 1.75; color: var(--m3-paper-ink); }
:where(.m3-article) .m3-article__point::before { content: ""; inline-size: 0.75rem; block-size: 1px; margin-block-start: 0.85em; background: var(--m3-bronze); }

/* ── situations (night chamber ledger) ── */
:where(.m3-situations) { padding-block: var(--m3-section); background: var(--m3-chamber); border-block: 1px solid var(--m3-line); }
:where(.m3-situations) .m3-situations__title { max-inline-size: 18em; margin-block-end: var(--m3-head-gap); }
:where(.m3-situations) .m3-situations__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block-start: 1px solid var(--m3-line); }
:where(.m3-situations) .m3-situations__item { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.6rem, 2.6vw, 2.25rem) 0; padding-inline-end: clamp(1.25rem, 4vw, 3.5rem); border-block-end: 1px solid var(--m3-line); }
:where(.m3-situations) .m3-situations__item:nth-child(even) { padding-inline-start: clamp(1.25rem, 4vw, 3.5rem); border-inline-start: 1px solid var(--m3-line); }
:where(.m3-situations) .m3-situations__name { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.35; color: var(--m3-gold-soft); }
:where(.m3-situations) .m3-situations__text { font-size: var(--m3-t-body); line-height: 1.8; font-weight: 300; color: var(--m3-mute); max-inline-size: 32em; }
@media (max-width: 767px) {
	:where(.m3-situations) .m3-situations__grid { grid-template-columns: 1fr; }
	:where(.m3-situations) .m3-situations__item, :where(.m3-situations) .m3-situations__item:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
}

/* ── service FAQ: the Q&A accordion with its heading on the side ── */
:where(.m3-faq--service) { padding-block: var(--m3-section); }
@media (max-width: 1023px) { :where(.m3-faq--service) .m3-faq__aside { display: block; } }

/* ── the line before the contact form ── */
:where(.m3-cueline) { padding-block: clamp(64px, 7vw, 104px) 0; background: var(--m3-night); }
:where(.m3-cueline) + .elementor-element :where(.m3-contact), :where(.m3-cueline) ~ * :where(.m3-contact) { padding-block-start: clamp(48px, 5vw, 72px); }
:where(.m3-cueline) .m3-cueline__text { max-inline-size: 30em; font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; color: var(--m3-ink); text-wrap: balance; }

/* ═════════════ LEGAL DOCUMENTS ═════════════ */
:where(.m3-legal) .m3-pagehead { border-block-end: 0; }
:where(.m3-legal) .m3-legal__paper { padding-block: clamp(56px, 6vw, 96px) var(--m3-section); }
:where(.m3-legal) .m3-legal__body { max-inline-size: 46rem; }

/* ═════════════ PROSE: the documents and the articles (rich text, written in the editor) ═════════════
 * The legal documents keep their original markup (with the classic design's utility classes): two-class selectors here
 * so the paper reading look wins over those (.marom .text-white = 0,2,0), still below any Style control. */
.m3-paper .m3-prose { font-size: var(--m3-t-body); line-height: 1.9; color: var(--m3-paper-mute); }
.m3-paper .m3-prose > * + *, .m3-paper .m3-prose section > * + * { margin-block-start: 1.25em; }
.m3-paper .m3-prose section + section { margin-block-start: 2.75rem; padding-block-start: 2.75rem; border-block-start: 1px solid var(--m3-line); }
.m3-paper .m3-prose :is(h2, h3, h4) { margin: 0; color: var(--m3-paper-ink); text-wrap: balance; }
.m3-paper .m3-prose h2 { margin-block: 2.5em 0.8em; font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.25; letter-spacing: -0.012em; }
.m3-paper .m3-prose h3 { margin-block: 2em 0.6em; font-size: var(--m3-t-h4); font-weight: 500; line-height: 1.4; }
.m3-paper .m3-prose section > h2:first-child, .m3-paper .m3-prose > h2:first-child { margin-block-start: 0; }
.m3-paper .m3-prose p, .m3-paper .m3-prose li { font-size: inherit; line-height: inherit; color: var(--m3-paper-mute); }
.m3-paper .m3-prose :is(strong, b, .font-semibold) { font-weight: 600; color: var(--m3-paper-ink); }
.m3-paper .m3-prose a { color: var(--m3-bronze); text-decoration: underline; text-decoration-color: rgba(139, 107, 46, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.m3-paper .m3-prose a:hover { text-decoration-color: currentColor; }
.m3-paper .m3-prose :is(ul, ol) { display: flex; flex-direction: column; gap: 0.45em; padding: 0; list-style: none; }
.m3-paper .m3-prose ul > li { position: relative; padding-inline-start: 1.4em; }
.m3-paper .m3-prose ul > li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.95em; inline-size: 0.7em; block-size: 1px; background: var(--m3-bronze); }
.m3-paper .m3-prose ol { counter-reset: m3-ol; }
.m3-paper .m3-prose ol > li { position: relative; padding-inline-start: 1.8em; counter-increment: m3-ol; }
.m3-paper .m3-prose ol > li::before { content: counter(m3-ol) "."; position: absolute; inset-inline-start: 0; font-variant-numeric: tabular-nums; color: var(--m3-bronze); }
.m3-paper .m3-prose blockquote { margin: 2em 0; padding: 0.25em 1.5em; border-inline-start: 1px solid var(--m3-bronze); font-size: var(--m3-t-lead); font-weight: 300; line-height: 1.75; color: var(--m3-paper-ink); }
.m3-paper .m3-prose img { block-size: auto; max-inline-size: 100%; }
.m3-paper .m3-prose figure { margin: 2.25em 0; }
.m3-paper .m3-prose figcaption { margin-block-start: 0.6em; font-size: var(--m3-t-caption); color: var(--m3-paper-mute); }
.m3-paper .m3-prose hr { margin: 2.5em 0; border: 0; border-block-start: 1px solid var(--m3-line); }
.m3-paper .m3-prose table { inline-size: 100%; border-collapse: collapse; font-size: var(--m3-t-small); }
.m3-paper .m3-prose :is(th, td) { padding: 0.75em 0.9em; border-block-end: 1px solid var(--m3-line); text-align: start; vertical-align: top; }
.m3-paper .m3-prose th { font-weight: 600; color: var(--m3-paper-ink); background: var(--m3-paper-2); }
/* the classic design's boxes inside a document (e.g. the privacy notice's summary): a quiet paper note instead */
.m3-paper .m3-prose .glass-card { padding: 1.25rem 1.5rem; border: 1px solid var(--m3-line); border-radius: 0; background: var(--m3-paper-2); box-shadow: none; backdrop-filter: none; }
.m3-paper .m3-prose :is(.text-gold, .text-gold-glow) { color: #745720; text-shadow: none; } /* a deeper bronze: small bold labels on the paper notes keep 4.5:1 */
.m3-paper .m3-prose :is([class*="text-slate-"], [class*="text-gray-"]) { color: var(--m3-paper-mute); }
.m3-paper .m3-prose .text-white { color: var(--m3-paper-ink); }
.m3-paper .m3-prose [class*="bg-navy-"] { background: var(--m3-paper-2); } /* striped table rows, notes */
.m3-paper .m3-prose [class*="border-navy-"], .m3-paper .m3-prose [class*="border-gold"] { border-color: var(--m3-line); }
.m3-paper .m3-prose :is(.text-sm, .text-xs) { font-size: var(--m3-t-small); }

/* ═════════════ ARTICLES ═════════════ */
.m3 [hidden] { display: none !important; } /* filters and the contact success state toggle [hidden]; the layouts here never override it */

/* ── head: the title, the meta; the cover crosses from night into the article's paper ── */
:where(.m3-posthead) { padding-block-end: clamp(48px, 5vw, 72px); }
:where(.m3-posthead--image) { padding-block-end: 0; border-block-end: 0; background: linear-gradient(to bottom, transparent calc(100% - clamp(96px, 12vw, 200px)), var(--m3-paper) calc(100% - clamp(96px, 12vw, 200px))), radial-gradient(55% 80% at 90% 0%, rgba(186, 152, 81, 0.07), transparent 62%), var(--m3-night); }
:where(.m3-posthead) .m3-posthead__title { max-inline-size: 20em; font-size: clamp(2rem, 1.15rem + 2.3vw, 3.25rem); line-height: 1.16; }
:where(.m3-posthead) .m3-posthead__cat { margin-block-end: 1.25rem; font-size: var(--m3-t-caption); font-weight: 500; line-height: 1.4; color: var(--m3-gold); }
:where(.m3-posthead) .m3-posthead__cat a { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size 0.6s var(--m3-ease); }
:where(.m3-posthead) .m3-posthead__cat a:hover { background-size: 100% 1px; }
:where(.m3-posthead) .m3-posthead__meta { display: flex; flex-wrap: wrap; align-items: center; margin-block-start: 1.5rem; font-size: var(--m3-t-caption); line-height: 1.5; color: var(--m3-dim); }
:where(.m3-posthead) .m3-posthead__meta span + span::before { content: ""; display: inline-block; inline-size: 1px; block-size: 0.85em; margin-inline: 0.85rem; vertical-align: -0.08em; background: var(--m3-line-gold); }
:where(.m3-posthead) .m3-posthead__figure { position: relative; margin: clamp(2.5rem, 4vw, 3.5rem) 0 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--m3-raise); }
:where(.m3-posthead) .m3-posthead__figure > .m3-posthead__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; filter: saturate(0.9); }
:where(.m3-posthead) .m3-posthead__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 6, 23, 0.25), transparent 45%); pointer-events: none; }
@media (max-width: 767px) { :where(.m3-posthead) .m3-posthead__figure { aspect-ratio: 16 / 10; margin-inline: calc(-1 * var(--m3-gutter)); } }

/* ── the reading column (+ the table of contents) ── */
:where(.m3-read) { padding-block: clamp(56px, 6vw, 88px) clamp(40px, 4vw, 56px); }
:where(.m3-read) .m3-read__grid { display: grid; grid-template-columns: minmax(0, 44rem); justify-content: center; column-gap: clamp(32px, 5vw, 88px); }
@media (min-width: 1024px) {
	:where(.m3-read--toc) .m3-read__grid { grid-template-columns: minmax(0, 44rem) minmax(200px, 17rem); justify-content: space-between; }
	:where(.m3-read--toc) .m3-read__toc { grid-column: 2; grid-row: 1; position: sticky; inset-block-start: calc(var(--m3-header) + 32px); align-self: start; }
	:where(.m3-read--toc) .m3-read__column { grid-column: 1; grid-row: 1; }
}
:where(.m3-read) .m3-read__toc { margin-block-end: 2.5rem; padding-block-start: 1rem; border-block-start: 1px solid var(--m3-line); }
:where(.m3-read) .m3-read__toc-title { margin-block-end: 0.85rem; font-size: var(--m3-t-caption); font-weight: 500; color: var(--m3-bronze); }
:where(.m3-read) .m3-read__toc-list { display: flex; flex-direction: column; gap: 0.15rem; }
:where(.m3-read) .m3-read__toc-item a { display: block; padding-block: 0.35rem; font-size: var(--m3-t-small); line-height: 1.5; color: var(--m3-paper-mute); transition: color 0.3s; }
:where(.m3-read) .m3-read__toc-item a:hover { color: var(--m3-paper-ink); }
:where(.m3-read) .m3-read__toc-item--h3 a { padding-inline-start: 1rem; font-size: var(--m3-t-caption); }
:where(.m3-read) .m3-read__rule { block-size: 1px; margin: 2.5rem 0; border: 0; background: var(--m3-line); }
/* the article itself: a little larger than the documents, for long reading */
.m3-paper .m3-read__body { font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); line-height: 1.9; color: #3d4656; }
.m3-paper .m3-read__body > p:first-child { font-size: var(--m3-t-lead); line-height: 1.8; color: var(--m3-paper-ink); }
.m3-paper .m3-read__body :is(h2, h3) { scroll-margin-top: calc(var(--m3-header) + 24px); }

/* ── the closing box ── */
:where(.m3-postcta) { padding-block: clamp(16px, 2vw, 24px) clamp(48px, 5vw, 72px); }
:where(.m3-postcta) .m3-postcta__panel { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.75rem 3rem; max-inline-size: 60rem; margin-inline: auto; padding: clamp(1.75rem, 3.4vw, 3rem); background: var(--m3-night); color: var(--m3-ink); --m3-gold: #ba9851; --m3-mute: #a3adbd; }
:where(.m3-postcta) .m3-postcta__panel::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 1px; background: linear-gradient(to left, var(--m3-gold), transparent 70%); }
:where(.m3-postcta) .m3-postcta__text { flex: 1 1 22rem; }
:where(.m3-postcta) .m3-kicker { margin-block-end: 0.85rem; }
:where(.m3-postcta) .m3-postcta__title { font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.2; letter-spacing: -0.012em; color: var(--m3-ink); }
:where(.m3-postcta) .m3-postcta__note { margin-block-start: 0.85rem; max-inline-size: 34em; font-size: var(--m3-t-small); line-height: 1.7; color: var(--m3-mute); }
:where(.m3-postcta) .m3-btn--line { border-color: rgba(236, 239, 244, 0.22); color: var(--m3-ink); }
@media (max-width: 599px) { :where(.m3-postcta) .m3-actions { inline-size: 100%; } :where(.m3-postcta) .m3-btn { flex: 1 1 100%; } }

/* ── more articles ── */
:where(.m3-related) { padding-block: clamp(40px, 4vw, 64px) var(--m3-section); }
:where(.m3-related) .m3-related__title { max-inline-size: 60rem; margin: 0 auto 1.5rem; font-size: var(--m3-t-h3); font-weight: 300; line-height: 1.2; color: var(--m3-paper-ink); }
:where(.m3-related) .m3-related__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); max-inline-size: 60rem; margin-inline: auto; }
:where(.m3-related) .m3-related__item { border-block-start: 1px solid var(--m3-line); }
:where(.m3-related) .m3-related__item:nth-last-child(-n + 2) { border-block-end: 1px solid var(--m3-line); }
:where(.m3-related) .m3-related__link { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; block-size: 100%; padding-block: 1.35rem; }
:where(.m3-related) .m3-related__text { display: flex; flex-direction: column; gap: 0.35rem; }
:where(.m3-related) .m3-related__cat { font-size: var(--m3-t-caption); font-weight: 500; color: var(--m3-bronze); }
:where(.m3-related) .m3-related__name { font-size: var(--m3-t-body); font-weight: 500; line-height: 1.5; color: var(--m3-paper-ink); text-wrap: pretty; }
:where(.m3-related) .m3-related__more { flex: none; display: grid; place-items: center; inline-size: 2.25rem; block-size: 2.25rem; border: 1px solid var(--m3-line); border-radius: 50%; color: var(--m3-bronze); transition: background-color 0.45s var(--m3-ease), color 0.45s, border-color 0.45s, transform 0.5s var(--m3-ease); }
:where(.m3-related) .m3-related__more .m3-arrow { inline-size: 0.95rem; block-size: 0.95rem; }
:where(.m3-related) .m3-related__link:hover .m3-related__name { color: var(--m3-bronze); }
:where(.m3-related) .m3-related__link:hover .m3-related__more { background: var(--m3-paper-ink); border-color: var(--m3-paper-ink); color: var(--m3-paper); transform: translateX(-4px); }
@media (max-width: 767px) {
	:where(.m3-related) .m3-related__list { grid-template-columns: 1fr; }
	:where(.m3-related) .m3-related__item:nth-last-child(-n + 2) { border-block-end: 0; }
	:where(.m3-related) .m3-related__item:last-child { border-block-end: 1px solid var(--m3-line); }
}

/* ═════════════ THE BLOG ═════════════ */
/* ── categories: a row of chips kept in reach under the header ── */
:where(.m3-posts) .m3-posts__bar { position: sticky; inset-block-start: var(--m3-header); z-index: 5; padding-block: 0.85rem; background: rgba(250, 247, 240, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block-end: 1px solid var(--m3-line); }
:where(.m3-posts) .m3-posts__filters { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
:where(.m3-posts) .m3-posts__filters::-webkit-scrollbar { display: none; }
:where(.m3) .m3-chip { flex: none; display: inline-flex; align-items: center; min-block-size: 2.75rem; padding: 0 1.15rem; border: 1px solid var(--m3-line); border-radius: 999px; background: transparent; font: inherit; font-size: var(--m3-t-small); line-height: 1; color: var(--m3-paper-mute); white-space: nowrap; cursor: pointer; transition: color 0.3s, border-color 0.3s, background-color 0.3s; }
:where(.m3) .m3-chip:hover { border-color: var(--m3-paper-ink); color: var(--m3-paper-ink); }
:where(.m3) .m3-chip.is-on { background: var(--m3-paper-ink); border-color: var(--m3-paper-ink); color: var(--m3-paper); }
/* ── the articles ── */
:where(.m3-posts) .m3-posts__body { padding-block: clamp(48px, 5vw, 80px) var(--m3-section); }
:where(.m3-posts) .m3-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); row-gap: clamp(3rem, 5vw, 4.5rem); }
:where(.m3-posts) .m3-post { display: flex; flex-direction: column; gap: 0.7rem; }
:where(.m3-posts) .m3-post__media { position: relative; display: block; margin-block-end: 0.5rem; aspect-ratio: 16 / 10; overflow: hidden; background: var(--m3-paper-2); }
:where(.m3-posts) .m3-post__media > .m3-post__img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; filter: saturate(0.9); transition: transform 1.4s var(--m3-ease); }
:where(.m3-posts) .m3-post:hover .m3-post__img { transform: scale(1.035); }
:where(.m3-posts) .m3-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0; font-size: var(--m3-t-caption); line-height: 1.4; color: var(--m3-paper-mute); }
:where(.m3-posts) .m3-post__meta > span + span::before { content: ""; display: inline-block; inline-size: 1px; block-size: 0.8em; margin-inline: 0.7rem; vertical-align: -0.05em; background: var(--m3-line); }
:where(.m3-posts) .m3-post__cat { font-weight: 500; color: var(--m3-bronze); }
:where(.m3-posts) .m3-post__title { font-size: var(--m3-t-h4); font-weight: 400; line-height: 1.38; color: var(--m3-paper-ink); text-wrap: balance; }
:where(.m3-posts) .m3-post__title { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat; transition: background-size 0.7s var(--m3-ease); inline-size: fit-content; }
:where(.m3-posts) .m3-post:hover .m3-post__title { background-size: 100% 1px; }
:where(.m3-posts) .m3-post__excerpt { font-size: var(--m3-t-small); line-height: 1.75; color: var(--m3-paper-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:where(.m3-posts) .m3-post__more { display: inline-flex; align-items: center; gap: 0.5rem; margin-block-start: auto; padding-block-start: 0.35rem; font-size: var(--m3-t-small); font-weight: 500; color: var(--m3-bronze); }
:where(.m3-posts) .m3-post:hover .m3-arrow { transform: translateX(-5px); }
:where(.m3-posts) .m3-posts__empty { padding-block: 4rem; font-size: var(--m3-t-lead); color: var(--m3-paper-mute); text-align: center; }
@media (max-width: 1023px) { :where(.m3-posts) .m3-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { :where(.m3-posts) .m3-posts__grid { grid-template-columns: 1fr; row-gap: 2.75rem; } }
:where(.m3-statement--blog) { border-block-end: 0; }

/* ═════════════ SYSTEM SCREENS (404 · a missing article · search) ═════════════ */
:where(.m3-pagehead--system) { min-block-size: min(78svh, 760px); display: flex; align-items: center; border-block-end: 0; }
:where(.m3-system--search) .m3-pagehead--system { min-block-size: 0; }
:where(.m3-pagehead--system) .m3-pagehead__inner { inline-size: 100%; }
:where(.m3-system) .m3-system__code { margin-block-end: 0.5rem; font-size: clamp(4.5rem, 3rem + 6vw, 9rem); font-weight: 200; line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--m3-line-gold); }
:where(.m3-system) .m3-system__actions { margin-block-start: 2.25rem; }
:where(.m3-system) .m3-search { display: flex; flex-wrap: wrap; gap: 0.75rem; max-inline-size: 36rem; margin-block-start: 2rem; }
:where(.m3-system) .m3-search__field { flex: 1 1 16rem; min-block-size: 3.375rem; padding: 0 1.1rem; border: 1px solid rgba(236, 239, 244, 0.18); border-radius: 2px; background: rgba(2, 6, 23, 0.55); font: inherit; color: var(--m3-ink); }
:where(.m3-system) .m3-search__field:focus { outline: none; border-color: var(--m3-gold); box-shadow: 0 0 0 3px rgba(186, 152, 81, 0.2); }
:where(.m3-system) .m3-system__results { padding-block: clamp(48px, 5vw, 72px) var(--m3-section); }
:where(.m3-system) .m3-system__list { grid-template-columns: 1fr; max-inline-size: 48rem; margin-inline: 0; }
:where(.m3-system) .m3-system__list .m3-related__item:last-child { border-block-end: 1px solid var(--m3-line); }
:where(.m3-system) .m3-system__excerpt { font-size: var(--m3-t-small); line-height: 1.7; color: var(--m3-paper-mute); }
:where(.m3-system) .m3-system__empty { font-size: var(--m3-t-lead); line-height: 1.8; color: var(--m3-paper-mute); }
:where(.m3-system) .m3-system__pages .nav-links { display: flex; gap: 1rem; margin-block-start: 2rem; font-size: var(--m3-t-small); }
