/*
 * Workshop 2026 — page-service-2026.php
 *
 * Loads after css/home-2026.css and css/contact-flow.css. Shares the homepage
 * primitives (.rg-wrap, .rg-sec, .rg-disp, .rg-label, .rg-btn, .rg-more,
 * .rg-status, .rg-ctas) and, like the Visit page, is cream with one ink
 * chapter, so the shared buttons and status dot are re-coloured for a light
 * ground. Everything new is scoped under .rg-ws.
 *
 * The finder is the contact-flow engine embedded inline. Its stylesheet is a
 * dark-ground skin (cream type on the contact page's ink); the block at the
 * end turns it round for this cream card by swapping its own variables and
 * the few literal colours it carries.
 */

.rg-ws { --cream: #f8f5f0; --muted-l: #6d675e; --accent: #8a6a4f; --open-l: #5f7a2a; --hair: rgb(28 28 28 / .16); background: var(--cream); color: var(--ink); }
.rg-ws .rg-arr { width: 18px; height: 18px; flex: none; }
.rg-ws #find, .rg-ws #menu, .rg-ws #else { scroll-margin-top: var(--rg-header-h, 96px); }
.rg-ws .ws-anchor { display: block; position: relative; top: calc(-1 * var(--rg-header-h, 96px) - 24px); }
.rg-ws p, .rg-ws ul, .rg-ws figure { margin: 0; }
.rg-ws ul { padding: 0; list-style: none; }
.rg-ws li { list-style: none; }
.rg-ws .rg-sec { padding-block: 112px; }

/* A cream page: the header's translucent bands read as washed-out grey, so they go solid (as on Visit). */
body.rg-ws26-page div.mainmenu,
body.rg-ws26-page div.breadcrumbs,
body.rg-ws26-page.scroll div.mainmenu,
body.rg-ws26-page.scroll div.breadcrumbs { background: #1c1c1c; }

/* The shared buttons and live dot, on a light ground */
.rg-ws .rg-btn { background: var(--ink); color: var(--cream); }
.rg-ws .rg-more { color: var(--ink); }
.rg-ws .rg-more:hover { background: var(--ink); color: var(--cream); }
.rg-ws .rg-status { white-space: nowrap; text-transform: uppercase; font: 500 15px/1.5 var(--mono-med); letter-spacing: .14em; }
.rg-ws .rg-status i { background: var(--muted-l); }
.rg-ws .rg-status[data-state="open"] i { background: var(--open-l); box-shadow: 0 0 0 4px rgb(95 122 42 / .18); }
.rg-ws .rg-status[data-state="soon"] i { background: var(--tan); box-shadow: none; }
.rg-ws .rg-status[data-state="appt"] i { background: var(--tan); }

/* ---- 1. Opener ---- */
.rg-ws .ws-open .rg-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: stretch; padding-block: 56px 72px; }
.rg-ws .ws-copy { display: flex; flex-direction: column; min-width: 0; }
.rg-ws .ws-h1 { font-size: 136px; margin-top: 10px; }
.rg-ws .ws-lead { margin-top: 22px; max-width: 44ch; font: 400 20px/1.45 var(--body); }
.rg-ws .ws-now { margin-top: auto; padding-top: 36px; }
.rg-ws .ws-row { display: grid; grid-template-columns: 150px 1fr; gap: 6px 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rg-ws .ws-row > .rg-label { color: var(--muted-l); }
.rg-ws .ws-open .rg-ctas { margin-top: 22px; }
.rg-ws .ws-door { position: relative; overflow: hidden; border-radius: 4px; background: var(--cream-2); min-height: 560px; }
.rg-ws .ws-door img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 40%; }
.rg-ws .ws-door figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; background: linear-gradient(transparent, rgb(0 0 0 / .6)); color: var(--cream); font: 500 14px/1.4 var(--mono-med); letter-spacing: .14em; text-transform: uppercase; }

/* ---- 2. Find your service: the heading on the left, the card on the right ---- */
.rg-ws .ws-find { border-top: 1px solid var(--ink); }
.rg-ws .ws-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.rg-ws .ws-grid-even { grid-template-columns: 1fr 1fr; gap: 48px; }
.rg-ws .ws-intro { position: sticky; top: calc(var(--rg-header-h, 96px) + 24px); }
.rg-ws .ws-h2 { font-size: 96px; margin-top: 14px; }
.rg-ws .ws-h2-l { font-size: 112px; margin-top: 14px; }
.rg-ws .ws-h2-s { font-size: 72px; margin-top: 10px; }
.rg-ws .ws-intro p { margin: 22px 0 0; max-width: 34ch; font: 400 20px/1.45 var(--body); }
.rg-ws .ws-swap { font-size: 16px; }
.rg-ws .ws-swap a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.rg-ws .ws-swap .rg-arr { display: inline; vertical-align: -3px; margin-left: 4px; }
.rg-ws .ws-swap a:hover { color: var(--accent); }
/* One intro at a time, keyed off which topic the engine has up. */
.rg-ws .ws-intro-checkin { display: none; }
.rg-ws .ws-find:has(#regroup-contact[data-current="checkin"]) .ws-intro-find { display: none; }
.rg-ws .ws-find:has(#regroup-contact[data-current="checkin"]) .ws-intro-checkin { display: block; }
.rg-ws .ws-card { border: 1px solid var(--ink); border-radius: 4px; padding: 36px 40px 40px; min-height: 440px; }

/* ---- 3. The service menu (ink) ---- */
.rg-ws .ws-menu { background: var(--ink); color: var(--cream); }
/* One column: label, title, standfirst under it. The three level heads then come down evenly on the right,
   rather than stacking under a standfirst parked over them. */
.rg-ws .ws-shead { max-width: 1040px; }
.rg-ws .ws-shead .rg-label { color: var(--muted-d); }
.rg-ws .ws-shead p { margin-top: 24px; max-width: 52ch; font: 400 20px/1.45 var(--body); color: var(--cream-2); }
.rg-ws .ws-matrix { margin-top: 64px; }
.rg-ws .ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rg-ws .ws-matrix table { width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; border: 0; margin: 0; color: var(--cream); background: none; }
.rg-ws .ws-matrix th, .rg-ws .ws-matrix td { padding: 0; border: 0; background: none; text-align: left; vertical-align: bottom; }
.rg-ws .ws-matrix thead th { padding: 0 24px 24px 0; border-bottom: 1px solid var(--cream); vertical-align: top; }
/* The label sits level with the level names (their cap height starts a few px into the line box). */
.rg-ws .ws-matrix thead th:first-child { padding-top: 6px; }
.rg-ws .ws-matrix thead th:first-child .rg-label { color: var(--muted-d); }
.rg-ws .ws-matrix thead th.ws-th { width: 21%; }
.rg-ws .ws-tier { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rg-ws .ws-nm { font-size: 56px; line-height: .9; }
.rg-ws .ws-pr { font: 500 20px/1.3 var(--mono-med); letter-spacing: .04em; }
.rg-ws .ws-for { font: 400 15px/1.45 var(--body); color: var(--cream-2); max-width: 24ch; }
.rg-ws .ws-tier .rg-more { margin-top: 12px; color: var(--cream); }
.rg-ws .ws-tier .rg-more:hover { background: var(--cream); color: var(--ink); }
.rg-ws .ws-matrix tbody td { padding: 13px 24px 13px 0; border-bottom: 1px solid var(--ink-line); font: 500 13px/1.5 var(--mono-med); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.rg-ws .ws-matrix tbody tr:last-child td { border-bottom-color: var(--cream); }
.rg-ws .ws-matrix tbody td span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rg-ws .ws-matrix tbody td.ws-y::before { content: "✓"; font-family: var(--body); font-size: 16px; }
.rg-ws .ws-matrix tbody td.ws-n::before { content: "–"; color: var(--muted-d); opacity: .5; }
.rg-ws .ws-pick, .rg-ws .ws-list { display: none; }
.rg-ws .ws-note { margin-top: 24px; max-width: 70ch; font: 400 15px/1.5 var(--body); color: var(--muted-d); }

/* ---- 4. Two doors ---- */
.rg-ws .ws-door-c { border-top: 1px solid var(--ink); padding-top: 28px; }
.rg-ws .ws-door-c .rg-label { color: var(--ink); }
.rg-ws .ws-door-c p { margin: 16px 0 0; max-width: 40ch; font: 400 18px/1.45 var(--body); }
.rg-ws .ws-door-c .rg-ctas { margin-top: 24px; }

/* ---- The engine, turned round for a cream card ---- */
.rg-ws #regroup-contact.rg-cf-embed { max-width: none; padding: 0; }
.rg-ws #regroup-contact {
	--cf-cream: #1c1c1b;      /* the engine's "type" colour */
	--cf-ink: #f8f5f0;        /* and its "ground" */
	--cf-accent: #8a6a4f;
	--cf-hair: rgb(28 28 28 / .3);
	--cf-hair-soft: rgb(28 28 28 / .14);
	--cf-gap-section: 36px;
	color: var(--ink);
}
.rg-ws #regroup-contact .rg-cf-progress,
.rg-ws #regroup-contact .rg-cf-answered-q,
.rg-ws #regroup-contact .rg-cf-help,
.rg-ws #regroup-contact .rg-cf-sugg-over { color: var(--muted-l); }
.rg-ws #regroup-contact .rg-cf-answered-a { color: var(--ink); }
.rg-ws #regroup-contact .rg-cf-answered-row:hover .rg-cf-answered-a { color: var(--accent); }
.rg-ws #regroup-contact .rg-cf-step-q { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: .92; text-transform: uppercase; color: var(--ink); margin: 4px 0 16px; }
.rg-ws #regroup-contact .rg-cf-help { font-size: 16px; margin: 0 0 18px; }
/* Ink-bordered, transparent fields (house chrome), not the contact page's cream fills. */
.rg-ws #regroup-contact .rg-cf-input { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.rg-ws #regroup-contact .rg-cf-input::placeholder { color: var(--muted-l); }
.rg-ws #regroup-contact .rg-cf-input:-webkit-autofill,
.rg-ws #regroup-contact .rg-cf-input:-webkit-autofill:hover,
.rg-ws #regroup-contact .rg-cf-input:-webkit-autofill:focus,
.rg-ws #regroup-contact .rg-cf-input:autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--cream) inset; box-shadow: 0 0 0 1000px var(--cream) inset; }
.rg-ws #regroup-contact .rg-cf-label { color: var(--ink); font-size: 13px; }
.rg-ws #regroup-contact .rg-cf-chip { color: var(--ink); border-color: var(--ink); font-size: 16px; min-height: 48px; padding: 12px 20px; }
.rg-ws #regroup-contact .rg-cf-chip:hover { background: rgb(28 28 28 / .06); }
.rg-ws #regroup-contact .rg-cf-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.rg-ws #regroup-contact .rg-cf-back, .rg-ws #regroup-contact .rg-cf-skip, .rg-ws #regroup-contact .rg-cf-again { color: var(--ink); }
.rg-ws #regroup-contact .rg-cf-sugg-tier { color: var(--ink); }
.rg-ws #regroup-contact .rg-cf-sugg-items li { border-color: var(--hair); }
.rg-ws #regroup-contact .rg-cf-sugg-foot a { color: var(--ink); }
.rg-ws #regroup-contact .rg-cf-onward-item { color: var(--ink); }
.rg-ws #regroup-contact .rg-cf-panel-q { font-size: 56px; line-height: .92; }

@media (max-width: 1100px) {
	.rg-ws .ws-h1 { font-size: 112px; }
	.rg-ws .ws-nm { font-size: 44px; }
	.rg-ws #regroup-contact .rg-cf-step-q { font-size: 44px; }
}

@media (max-width: 900px) {
	.rg-ws .rg-sec { padding-block: 72px; }
	.rg-ws .rg-btn, .rg-ws .rg-more { font-size: 15px; padding: 0 20px; }
	/* Phone: the answer first, the photograph after it. */
	.rg-ws .ws-open .rg-wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 12px 56px; }
	.rg-ws .ws-h1 { font-size: 68px; }
	.rg-ws .ws-lead { margin-top: 16px; font-size: 17px; }
	.rg-ws .ws-now { padding-top: 24px; }
	.rg-ws .ws-row { grid-template-columns: 1fr; padding: 12px 0; }
	.rg-ws .rg-status { font-size: 13px; }
	.rg-ws .ws-door { min-height: 0; aspect-ratio: 4 / 3; }
	.rg-ws .ws-door figcaption { font-size: 11px; letter-spacing: .08em; white-space: nowrap; padding: 40px 14px 12px; }
	.rg-ws .ws-grid, .rg-ws .ws-grid-even, .rg-ws .ws-shead { grid-template-columns: 1fr; gap: 28px; }
	.rg-ws .ws-intro { position: static; }
	.rg-ws .ws-h2, .rg-ws .ws-h2-l { font-size: 68px; }
	.rg-ws .ws-h2-s { font-size: 52px; }
	.rg-ws .ws-intro p, .rg-ws .ws-shead p { font-size: 17px; margin-top: 16px; }
	.rg-ws .ws-card { padding: 22px 20px 26px; min-height: 0; }
	.rg-ws #regroup-contact .rg-cf-step-q { font-size: 36px; }
	.rg-ws #regroup-contact .rg-cf-panel-q { font-size: 36px; }
	.rg-ws #regroup-contact .rg-cf-chip { font-size: 15px; min-height: 44px; padding: 10px 16px; }
	.rg-ws #regroup-contact .rg-cf-sugg-tier { font-size: 56px; }
	.rg-ws #regroup-contact .rg-cf-sugg-items { columns: 1; }
	/* The menu: one level at a time */
	.rg-ws .ws-matrix { display: none; }
	.rg-ws .ws-pick { display: flex; margin-top: 32px; border: 1px solid var(--cream); border-radius: 100px; padding: 4px; }
	.rg-ws button.ws-pick-btn { flex: 1; min-height: 44px; padding: 0 10px; border: 0; border-radius: 100px; background: none; color: var(--cream); cursor: pointer; font: 500 15px/1 var(--mono-med); letter-spacing: .05em; text-transform: uppercase; box-shadow: none; }
	.rg-ws button.ws-pick-btn:hover, .rg-ws button.ws-pick-btn:focus { background: none; color: var(--cream); }
	.rg-ws button.ws-pick-btn[aria-selected="true"] { background: var(--cream); color: var(--ink); }
	.rg-ws .ws-list { display: block; margin-top: 28px; }
	.rg-ws .ws-list[hidden] { display: none; }
	.rg-ws .ws-list .ws-tier { gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--cream); }
	.rg-ws .ws-list .ws-nm { font-size: 44px; }
	.rg-ws .ws-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--ink-line); font: 500 13px/1.5 var(--mono-med); letter-spacing: .1em; text-transform: uppercase; }
	.rg-ws .ws-list li:last-child { border-bottom-color: var(--cream); }
	.rg-ws .ws-list li.ws-n { color: var(--muted-d); }
	.rg-ws .ws-list .ws-mk { font-family: var(--body); font-size: 16px; }
	.rg-ws .ws-list .rg-ctas { margin-top: 24px; }
	.rg-ws .ws-list .rg-btn { background: var(--cream); color: var(--ink); }
	.rg-ws .ws-door-c p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	.rg-ws * { transition: none !important; }
}
