/* Component "standard" (GG8, /our-standard/): the standard sheet. A table with the four haciendas as columns under their
   façades; chapters open on a serif numeral over an ink rule; a dot = true in that house. Folds into rows under 768 px.
   Tokens only; px only (rem = 10 px). No animation: rows change colour on hover without a transition. */

:is(#rmh-landing, .rmh-lc) .rmh-l-standard__frame { margin-top: clamp(28px, 4vw, 48px); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet { width: 100%; border-collapse: collapse; table-layout: fixed; }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet th,
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet td { text-align: left; vertical-align: top; font-weight: 400; }

/* ---------- Chapters ---------- */
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__chapter-row th {
	padding: 40px 0 12px; border-bottom: 1px solid var(--l-ink);
	display: flex; align-items: baseline; gap: 14px;
}
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__chapter:first-of-type .rmh-l-standard__chapter-row th { padding-top: 8px; }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__num { font-family: var(--l-serif); font-size: 28px; line-height: 1; color: var(--l-taupe-deep); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__chapter-t { font-family: var(--l-serif); font-size: clamp(22px, 16px + 1vw, 28px); line-height: 1.15; color: var(--l-ink); }

/* ---------- Rows ---------- */
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row { display: block; padding: 14px 0; border-bottom: 1px solid var(--l-sand); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__what { display: block; }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__text { display: block; font: 500 17px/1.5 var(--l-sans); color: var(--l-ink); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__who { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--l-ink-soft); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__all {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
	font: 600 12px/1.4 var(--l-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--l-taupe-deep);
}
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__all::before,
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__dot {
	content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--l-taupe-deep);
}
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row--all .rmh-l-standard__cell { display: none; }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row--each .rmh-l-standard__cell { display: inline-block; width: 50%; padding: 8px 12px 0 0; vertical-align: top; }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__cell--value { font-size: 15px; line-height: 1.45; color: var(--l-ink); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__cell--value::before {
	content: attr(data-house); display: block; margin-bottom: 2px;
	font: 600 11px/1.4 var(--l-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--l-ink-soft);
}
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet tbody,
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet tr { display: block; }
:is(#rmh-landing, .rmh-lc) .rmh-l-standard__note { margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--l-ink-soft); max-width: 70ch; }

/* ---------- From 768 px: the sheet ---------- */
@media (min-width: 768px) {
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: table-header-group; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet tbody { display: table-row-group; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__sheet tr { display: table-row; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__corner { width: 46%; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__house {
		padding: 0 8px 16px; text-align: center !important; vertical-align: bottom !important;
		font-family: var(--l-serif); font-size: 15px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--l-ink);
	}
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__facade {
		display: block; width: 30px; aspect-ratio: 119 / 193; margin: 0 auto 10px; background: var(--l-taupe);
		-webkit-mask: var(--facade) center / 100% 100% no-repeat; mask: var(--facade) center / 100% 100% no-repeat;
	}
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__chapter-row th { display: table-cell; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__num { margin-right: 14px; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__what,
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row .rmh-l-standard__cell { display: table-cell; padding: 16px 8px; border-bottom: 1px solid var(--l-sand); }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__what { padding-left: 0; padding-right: 24px; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row--each .rmh-l-standard__cell { width: auto; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__cell { text-align: center !important; vertical-align: middle !important; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__cell--value { font-family: var(--l-serif); font-size: 19px; line-height: 1.3; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__cell--value::before { content: none; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__all { display: none; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row:hover > * { background: var(--l-cream); }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__row--each .rmh-l-standard__cell--value[data-long] { font-family: var(--l-sans); font-size: 14px; line-height: 1.4; }
}
@media (min-width: 1024px) {
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__corner { width: 44%; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__facade { width: 36px; }
	:is(#rmh-landing, .rmh-lc) .rmh-l-standard__house { font-size: 17px; }
}
