/* ─────────────────────────────────────────────────────────────
   GTD Desco — series landing pages and GTData.

   series-page.php (Geothermal / Exploration / Water well) and
   gtdata-page.php. Everything here is scoped under .gtd-series (NOT .gtd-sr — that is the theme's screen-reader-only class), so
   nothing on any other template can pick it up.

   THE WORLD IS THE SITE'S OWN

   No new colours, faces or geometry. Eurostile, red #c60000,
   ink #0d1414 (the banner's), #141313 (the site's ink), white,
   square corners, the short red rule every block opens with, and
   hairlines at 12–16% of whatever they sit on.

   THE ONE MOMENT

   The depth section's strings drill down to their rated depths
   when the section arrives — once, staggered left to right, with
   the bit landing last. Everything else on these pages is still.
   The strings are fully drawn unless js/series.js has said it can
   run the animation (data-drill="ready" → "go"), so a failed or
   blocked script leaves a complete chart.

   !important appears only where css/type.css already sets the
   same property with !important on an element selector (h1–h4,
   p, a, li); each one answers that file, nothing else.
   ───────────────────────────────────────────────────────────── */

.gtd-series {
	--sr-red:    var(--gtd-red, #c60000);
	--sr-red-lift: #ff5b4a;           /* the red that holds 4.5:1 on ink */
	--sr-ink:    #0d1414;
	--sr-ink-2:  #141313;
	--sr-text:   #23302f;
	--sr-quiet:  #5c6666;
	--sr-line:   rgba(20, 19, 19, .14);
	--sr-line-d: rgba(255, 255, 255, .14);
	--sr-stone:  #f1efeb;
	--sr-ease:   cubic-bezier(.16, 1, .3, 1);
	--sr-pad:    clamp(3.5rem, 7vw, 6.5rem);
}

/* The rule every block opens with — the banner's, the CTA's, the say section's. */
.gtd-depth__rule,
.gtd-rotary__rule,
.gtd-feat__rule,
.gtd-gdband__rule,
.gtd-panel__rule,
.gtd-board__rule {
	display: block;
	width: clamp(2.5rem, 6vw, 4.5rem);
	height: 3px;
	margin-bottom: clamp(1rem, 2vw, 1.6rem);
	background: var(--sr-red);
}

/* One heading voice for every block title on these pages. */
.gtd-depth__title,
.gtd-rotary__title,
.gtd-feat__title,
.gtd-gdband__title,
.gtd-panel__title,
.gtd-board__title,
.gtd-gw__title,
.gtd-onrigs__title {
	margin: 0;
	font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.6rem) !important;
	font-weight: 900;
	line-height: .95;
	letter-spacing: -.035em;
	text-transform: uppercase;
	color: var(--sr-ink-2) !important;
	text-wrap: balance;
}

/* ═════════════════════════════════════════════════════════════
   FACTS — the banner's foot
   ═════════════════════════════════════════════════════════════ */

.gtd-sr-facts {
	position: relative;
	background: var(--sr-ink);
	color: #fff;
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	border-top: 1px solid var(--sr-line-d);
}

.gtd-sr-facts__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
}

.gtd-sr-facts__item {
	padding-inline: clamp(1rem, 2vw, 1.75rem);
	border-left: 1px solid var(--sr-line-d);
}

.gtd-sr-facts__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.gtd-sr-facts__label {
	margin: 0 0 .55rem;
	font: 700 .72rem/1.2 "eurostile", sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .64);
}

.gtd-sr-facts__value {
	margin: 0;
	font: 900 clamp(1.05rem, .85rem + .9vw, 1.6rem)/1.1 "eurostile", sans-serif;
	letter-spacing: -.01em;
	color: #fff;
}

@media (max-width: 860px) {
	.gtd-sr-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
	.gtd-sr-facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* The say section lives in facilities.css; on these pages it follows a band,
   so it gets the full page padding rather than the tighter facilities rhythm. */
.gtd-series .gtd-fac__say { padding-block: var(--sr-pad); }

.gtd-sr__editor { padding-bottom: var(--sr-pad); }
.gtd-sr__editor > * { max-width: 62ch; }

/* ═════════════════════════════════════════════════════════════
   GW — the one red field on the water well page
   ═════════════════════════════════════════════════════════════ */

.gtd-gw {
	background: var(--sr-red);
	color: #fff;
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	overflow: clip;
}

.gtd-gw__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 5vw, 5rem);
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* The series mark, set as the rig cards set the model name: huge, and cut by
   the band's edge. It is the name of something that is not here yet. */
.gtd-gw__mark {
	margin: 0 !important;
	font: 900 clamp(6rem, 3rem + 14vw, 15rem)/.78 "eurostile", sans-serif !important;
	letter-spacing: -.06em;
	color: rgba(255, 255, 255, .16) !important;
	margin-block: -.12em !important;
}

.gtd-gw__title { color: #fff !important; }

.gtd-gw__text {
	margin: 1rem 0 1.6rem !important;
	max-width: 56ch;
	font-size: clamp(1rem, .95rem + .32vw, 1.2rem) !important;
	line-height: 1.6;
	color: rgba(255, 255, 255, .92) !important;
}

@media (max-width: 700px) {
	.gtd-gw__inner { grid-template-columns: 1fr; gap: 0; }
	.gtd-gw__mark { font-size: 6.5rem !important; margin: 0 0 .75rem !important; }
}

/* ═════════════════════════════════════════════════════════════
   DEPTH — a section of ground, drilled to scale
   ═════════════════════════════════════════════════════════════ */

.gtd-depth {
	background: var(--sr-ink);
	color: #fff;
	padding-block: var(--sr-pad);
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gtd-depth__head { max-width: 46rem; }
.gtd-depth__title { color: #fff !important; }

.gtd-depth__lede {
	margin: 1rem 0 0 !important;
	font-size: clamp(1rem, .95rem + .3vw, 1.18rem) !important;
	line-height: 1.6;
	color: rgba(255, 255, 255, .78) !important;
}

.gtd-depth__section {
	--scale-w: clamp(3.5rem, 7vw, 5.5rem);
	position: relative;
	display: grid;
	grid-template-columns: var(--scale-w) minmax(0, 1fr);
	/* The model labels sit ABOVE the surface line, so the ground starts
	   below a band for them. */
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 3.2rem;
	height: clamp(26rem, 52vw, 36rem);
}

.gtd-depth__scale {
	position: relative;
	height: 100%;
}

.gtd-depth__mark {
	position: absolute;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	font: 700 .7rem/1 "eurostile", sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
	white-space: nowrap;
}

.gtd-depth__ground {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	height: 100%;
	/* The strata: a hairline every scale mark, drawn once as a background so
	   the columns stay transparent. The surface is the heavy line at the top. */
	border-top: 2px solid rgba(255, 255, 255, .85);
	background:
		repeating-linear-gradient(
			to bottom,
			transparent 0,
			transparent calc(var(--grid, 14.2857%) - 1px),
			var(--sr-line-d) calc(var(--grid, 14.2857%) - 1px),
			var(--sr-line-d) var(--grid, 14.2857%)
		),
		linear-gradient(to bottom, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
}

.gtd-depth__col {
	position: relative;
	display: block;
	height: 100%;
	text-decoration: none;
	color: #fff;
}

.gtd-depth__model {
	position: absolute;
	bottom: calc(100% + .7rem);
	left: 50%;
	transform: translateX(-50%);
	font: 900 clamp(.9rem, .6rem + 1vw, 1.45rem)/1 "eurostile", sans-serif;
	letter-spacing: -.01em;
	white-space: nowrap;
	transition: color .3s var(--sr-ease);
}

.gtd-depth__string {
	position: absolute;
	top: 0;
	left: 50%;
	width: 0;
	height: 100%;
}

.gtd-depth__drill,
.gtd-depth__reach {
	position: absolute;
	top: 0;
	left: -2px;
	width: 4px;
	transform-origin: top;
}

.gtd-depth__drill {
	height: var(--rated);
	background: var(--sr-red);
}

/* The depth the sheet says it CAN reach, beyond its rating: the same string,
   dashed and quieter. */
.gtd-depth__reach {
	left: -1px;
	width: 2px;
	height: var(--reach);
	background: repeating-linear-gradient(to bottom, rgba(255, 91, 74, .75) 0 6px, transparent 6px 12px);
}

.gtd-depth__bit {
	position: absolute;
	top: var(--rated);
	left: -7px;
	width: 14px;
	height: 16px;
	fill: var(--sr-red);
}

.gtd-depth__bit svg { display: block; width: 100%; height: 100%; }

.gtd-depth__depth {
	position: absolute;
	top: calc(var(--rated) + 1.35rem);
	left: 50%;
	transform: translateX(-50%);
	font: 700 .78rem/1 "eurostile", sans-serif;
	letter-spacing: .06em;
	white-space: nowrap;
	color: rgba(255, 255, 255, .9);
}

.gtd-depth__col:hover .gtd-depth__model,
.gtd-depth__col:focus-visible .gtd-depth__model { color: var(--sr-red-lift); }

/* The accessible version of the same facts — and, below 700px, the part
   a phone reads first. */
.gtd-depth__list {
	list-style: none;
	margin: clamp(3rem, 5vw, 4rem) 0 0 !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
	border-top: 1px solid var(--sr-line-d);
}

.gtd-depth__list li {
	margin: 0 !important;
	border-bottom: 1px solid var(--sr-line-d);
}

.gtd-depth__list a {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: 1rem 1rem 1rem 0;
	color: #fff !important;
	text-decoration: none;
	font-size: .95rem !important;
}

.gtd-depth__list strong { font: 900 1.1rem/1 "eurostile", sans-serif; }
.gtd-depth__list span   { color: rgba(255, 255, 255, .72); }
.gtd-depth__list a:hover strong,
.gtd-depth__list a:focus-visible strong { color: var(--sr-red-lift); }

.gtd-depth__note {
	margin: 1.25rem 0 0 !important;
	font-size: .82rem !important;
	color: rgba(255, 255, 255, .55) !important;
}

/* ── the drilling ───────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
	.gtd-depth[data-drill] .gtd-depth__drill,
	.gtd-depth[data-drill] .gtd-depth__reach {
		transition: transform 1.5s var(--sr-ease);
		transition-delay: calc(var(--i) * 110ms);
	}
	.gtd-depth[data-drill] .gtd-depth__reach { transition-delay: calc(var(--i) * 110ms + 700ms); }
	.gtd-depth[data-drill] .gtd-depth__bit {
		transition: top 1.5s var(--sr-ease);
		transition-delay: calc(var(--i) * 110ms);
	}
	.gtd-depth[data-drill] .gtd-depth__depth {
		transition: opacity .5s var(--sr-ease);
		transition-delay: calc(var(--i) * 110ms + 1.1s);
	}

	.gtd-depth[data-drill="ready"] .gtd-depth__drill,
	.gtd-depth[data-drill="ready"] .gtd-depth__reach { transform: scaleY(0); }
	/* The bit rides down with the string: it starts at the surface. */
	.gtd-depth[data-drill="ready"] .gtd-depth__bit { top: 0; }
	.gtd-depth[data-drill="ready"] .gtd-depth__depth { opacity: 0; }
}

@media (max-width: 700px) {
	.gtd-depth__section {
		--scale-w: 3.1rem;
		height: 24rem;
		padding-top: 2.6rem;
	}
	.gtd-depth__model { font-size: .8rem; }
	.gtd-depth__depth { font-size: .66rem; letter-spacing: 0; }
	.gtd-depth__mark  { font-size: .6rem; letter-spacing: .06em; }
}

/* ═════════════════════════════════════════════════════════════
   RIGS — the hub's cards, on a white ground
   ═════════════════════════════════════════════════════════════ */

/* Bottom padding too: without the small-print note (Geothermal has none) the
   last row of cards — and the partner panel closing it — ran straight into
   the stone band of the rotary section. The note now sits inside this space
   rather than supplying it. */
.gtd-sr__rigs { padding-block: calc(var(--sr-pad) * .6); }

.gtd-sr-group .drill-rig-section-title {
	font-size: clamp(1.7rem, 1rem + 2.2vw, 3.2rem) !important;
	line-height: .95;
	letter-spacing: -.03em;
	text-wrap: balance;
}

.gtd-sr__naming {
	margin: 0 auto !important;
	font-size: .9rem !important;
	color: var(--sr-quiet) !important;
}

/* ═════════════════════════════════════════════════════════════
   SINGLE OR DUAL ROTARY
   ═════════════════════════════════════════════════════════════ */

.gtd-rotary {
	background: var(--sr-stone);
	padding-block: var(--sr-pad);
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gtd-rotary__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--sr-line);
}

.gtd-rotary__side {
	display: grid;
	grid-template-columns: clamp(5.5rem, 10vw, 8rem) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
	padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem) 0 0;
}

.gtd-rotary__side--dual {
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
	border-left: 1px solid var(--sr-line);
}

.gtd-rotary__art { width: 100%; height: auto; overflow: visible; }
.gtd-rotary__art .ground { stroke: var(--sr-ink-2); stroke-width: 2; }
.gtd-rotary__art .mast   { fill: none; stroke: var(--sr-ink-2); stroke-width: 2; }
.gtd-rotary__art .head   { fill: var(--sr-ink-2); }
.gtd-rotary__art .head--casing { fill: var(--sr-red); }
.gtd-rotary__art .rod    { stroke: var(--sr-red); stroke-width: 4; }
.gtd-rotary__art .casing { stroke: var(--sr-ink-2); stroke-width: 3; fill: none; }
.gtd-rotary__art .bit    { fill: var(--sr-red); }
.gtd-rotary__art .hole   { stroke: var(--sr-quiet); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }

.gtd-rotary__name {
	margin: 0 0 .75rem !important;
	font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem) !important;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -.02em;
	color: var(--sr-ink-2) !important;
}

.gtd-rotary__side p {
	margin: 0 !important;
	max-width: 44ch;
	font-size: clamp(1rem, .95rem + .28vw, 1.15rem) !important;
	line-height: 1.62;
	color: var(--sr-text) !important;
}

@media (max-width: 820px) {
	.gtd-rotary__pair { grid-template-columns: 1fr; }
	.gtd-rotary__side { padding-right: 0; }
	.gtd-rotary__side--dual { padding-left: 0; border-left: 0; border-top: 1px solid var(--sr-line); margin-top: 1.75rem; }
}

/* ═════════════════════════════════════════════════════════════
   FEATURES — the rig stands, the list runs past it
   ═════════════════════════════════════════════════════════════ */

.gtd-feat { padding-block: var(--sr-pad); }

.gtd-feat__inner {
	display: grid;
	grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
	gap: clamp(2rem, 5vw, 5.5rem);
	align-items: start;
}

.gtd-feat__aside {
	position: sticky;
	top: calc(var(--nav-h, 80px) + 1.5rem);
}

.gtd-feat__img {
	display: block;
	width: 100%;
	max-width: 22rem;
	height: auto;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.gtd-feat__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 3vw, 2.75rem);
	margin: 0;
	border-top: 1px solid var(--sr-line);
}

.gtd-feat__item {
	padding: clamp(1.25rem, 2.2vw, 1.75rem) 0;
	border-bottom: 1px solid var(--sr-line);
}

.gtd-feat__item dt {
	margin: 0 0 .5rem;
	font: 900 clamp(1rem, .9rem + .4vw, 1.22rem)/1.15 "eurostile", sans-serif;
	text-transform: uppercase;
	letter-spacing: -.005em;
	color: var(--sr-ink-2);
}

.gtd-feat__item dd {
	margin: 0;
	font-size: clamp(.95rem, .92rem + .2vw, 1.05rem);
	line-height: 1.6;
	color: var(--sr-text);
}

@media (max-width: 960px) {
	.gtd-feat__inner { grid-template-columns: 1fr; }
	.gtd-feat__aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; align-items: end; column-gap: 1rem; }
	.gtd-feat__aside .gtd-feat__rule { grid-column: 1 / -1; }
	.gtd-feat__img { margin-top: 0; }
}

@media (max-width: 640px) {
	.gtd-feat__list { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════════════════════════
   GTDATA BAND
   ═════════════════════════════════════════════════════════════ */

/* The nav's feature-column slab (#222a29, css/nav.css), so the band reads as
   the same dark grey as the Drill Rigs dropdown. The heading's last word is
   the brand red #c60000 as asked — 2.4:1 on this slab, below the 3:1 large-
   text floor; --sr-red-lift (#ff5b4a) is the swap if that needs fixing. */
.gtd-gdband {
	background: #222a29;
	color: #fff;
	padding-block: var(--sr-pad);
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gtd-gdband__inner {
	display: grid;
	grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.gtd-gdband__figure { margin: 0; }
.gtd-gdband__figure img { display: block; width: 100%; height: auto; }

.gtd-gdband__title { color: #fff !important; }
.gtd-gdband__title em { font-style: normal; color: #c60000; }

.gtd-gdband__lede {
	margin: 1rem 0 1.75rem !important;
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem) !important;
	line-height: 1.6;
	color: rgba(255, 255, 255, .8) !important;
}

.gtd-gdband__params {
	list-style: none;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	border-top: 1px solid var(--sr-line-d);
}

.gtd-gdband__params li {
	display: grid;
	grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
	gap: 1rem;
	margin: 0 !important;
	padding: .8rem 0;
	border-bottom: 1px solid var(--sr-line-d);
	font-size: .92rem !important;
	line-height: 1.45;
	color: rgba(255, 255, 255, .72) !important;
}

.gtd-gdband__params strong {
	font: 700 .78rem/1.35 "eurostile", sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
}

@media (max-width: 900px) {
	.gtd-gdband__inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
	.gtd-gdband__params li { grid-template-columns: 1fr; gap: .25rem; }
}

/* FAQ — moved to css/faq.css (22→23 Sept 2026), which the rig, support
   equipment and mud pump pages load too. Loaded alongside this file. */

/* ═════════════════════════════════════════════════════════════
   GTDATA PAGE
   ═════════════════════════════════════════════════════════════ */

/* ── the panel ─────────────────────────────────────────────── */

.gtd-panel {
	background: var(--sr-ink);
	color: #fff;
	padding-block: var(--sr-pad);
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gtd-panel__title { color: #fff !important; }

.gtd-panel__figure {
	display: grid;
	grid-template-columns: minmax(0, 64fr) minmax(0, 36fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.gtd-panel__frame { position: relative; }
.gtd-panel__frame img { display: block; width: 100%; height: auto; }

.gtd-panel__pin {
	position: absolute;
	left: var(--x);
	top: var(--y);
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	transform: translate(-50%, -50%);
	background: var(--sr-red);
	color: #fff;
	font: 900 1rem/1 "eurostile", sans-serif;
	box-shadow: 0 0 0 4px rgba(13, 20, 20, .55), 0 8px 24px rgba(0, 0, 0, .45);
}

.gtd-panel__key ol {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	border-top: 1px solid var(--sr-line-d);
}

.gtd-panel__key li {
	display: grid;
	grid-template-columns: 2.4rem minmax(0, 1fr);
	gap: 1rem;
	margin: 0 !important;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--sr-line-d);
	font-size: 1rem !important;
	line-height: 1.55;
	color: rgba(255, 255, 255, .78) !important;
}

.gtd-panel__key b {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	background: var(--sr-red);
	color: #fff;
	font: 900 1rem/1 "eurostile", sans-serif;
}

.gtd-panel__key strong { color: #fff; }

@media (max-width: 900px) {
	.gtd-panel__figure { grid-template-columns: 1fr; }
	.gtd-panel__pin { width: 2rem; height: 2rem; font-size: .9rem; }
}

/* ── the four things it does ───────────────────────────────── */

.gtd-pillars { padding-block: var(--sr-pad) 0; }

.gtd-pillars__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.gtd-pillars__item {
	padding-top: 1.25rem;
	border-top: 3px solid var(--sr-ink-2);
}

.gtd-pillars__item:first-child { border-top-color: var(--sr-red); }

.gtd-pillars__title {
	margin: 0 0 .6rem !important;
	font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem) !important;
	font-weight: 900;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--sr-ink-2) !important;
}

.gtd-pillars__item p {
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1.6;
	color: var(--sr-text) !important;
}

@media (max-width: 900px) { .gtd-pillars__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 480px) { .gtd-pillars__row { grid-template-columns: 1fr; } }

/* ── the read-out board ────────────────────────────────────── */

.gtd-board { padding-block: var(--sr-pad); }

.gtd-board__lede {
	margin: 1rem 0 0 !important;
	max-width: 60ch;
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem) !important;
	line-height: 1.6;
	color: var(--sr-text) !important;
}

.gtd-board__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-top: clamp(2rem, 4vw, 2.75rem);
	border-bottom: 2px solid var(--sr-ink-2);
}

.gtd-board__tabs[hidden] { display: none; }

.gtd-board__tabs button {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .3rem;
	padding: 1rem 1.5rem;
	border: 0;
	background: transparent;
	color: var(--sr-ink-2);
	font: 900 1rem/1 "eurostile", sans-serif;
	text-transform: uppercase;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background-color .25s var(--sr-ease), color .25s var(--sr-ease);
}

.gtd-board__tabs button small {
	font: 700 .68rem/1 "eurostile", sans-serif;
	letter-spacing: .12em;
	color: var(--sr-quiet);
}

.gtd-board__tabs button:hover { color: var(--sr-red); }

.gtd-board__tabs button[aria-selected="true"] {
	background: var(--sr-ink-2);
	color: #fff;
}

.gtd-board__tabs button[aria-selected="true"] small { color: rgba(255, 255, 255, .7); }

.gtd-board__tabs button:focus-visible {
	outline: 2px solid var(--sr-red);
	outline-offset: -2px;
}

.gtd-board__panel { margin-top: 1.5rem; }
.gtd-board__panel[hidden] { display: none; }

.gtd-board__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--sr-ink);
	color: #fff;
}

.gtd-board__table caption {
	caption-side: top;
	padding: 0 0 .9rem;
	text-align: left;
	font: 700 .76rem/1.2 "eurostile", sans-serif;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sr-quiet);
}

/* With the tabs running, the tab already names the table. */
.gtd-board.is-tabbed .gtd-board__table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.gtd-board__table thead th {
	padding: .9rem clamp(1rem, 2vw, 1.75rem);
	text-align: left;
	font: 700 .7rem/1 "eurostile", sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	border-bottom: 1px solid var(--sr-line-d);
}

.gtd-board__table tbody th,
.gtd-board__table tbody td {
	padding: 1.05rem clamp(1rem, 2vw, 1.75rem);
	border-bottom: 1px solid var(--sr-line-d);
	vertical-align: top;
	text-align: left;
}

.gtd-board__table tbody th {
	width: 36%;
	font: 900 clamp(.92rem, .85rem + .3vw, 1.08rem)/1.2 "eurostile", sans-serif;
	text-transform: uppercase;
	color: #fff;
}

.gtd-board__table tbody td {
	font-size: clamp(.95rem, .92rem + .2vw, 1.05rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, .78);
}

.gtd-board__table tbody tr:last-child th,
.gtd-board__table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 600px) {
	.gtd-board__tabs button { flex: 1 1 50%; padding: .9rem 1rem; font-size: .88rem; }
	.gtd-board__table thead { display: none; }
	.gtd-board__table tbody tr { display: block; padding: 1rem; border-bottom: 1px solid var(--sr-line-d); }
	.gtd-board__table tbody th,
	.gtd-board__table tbody td { display: block; width: auto; padding: 0; border: 0; }
	.gtd-board__table tbody td { margin-top: .35rem; }
}

/* ── GTData on your rig ────────────────────────────────────── */

.gtd-onrigs {
	background: var(--sr-stone);
	padding-block: calc(var(--sr-pad) * .8);
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.gtd-onrigs__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem) !important; }

.gtd-onrigs__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 1.75rem 0 0 !important;
	padding: 0 !important;
	border-top: 2px solid var(--sr-ink-2);
}

.gtd-onrigs__list li { margin: 0 !important; }

.gtd-onrigs__list a {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.25rem 1.5rem 1.25rem 0;
	text-decoration: none;
	color: var(--sr-ink-2) !important;
	font-size: .95rem !important;
}

.gtd-onrigs__list strong {
	font: 900 clamp(1.2rem, 1rem + .8vw, 1.7rem)/1 "eurostile", sans-serif;
	text-transform: uppercase;
	transition: color .25s var(--sr-ease);
}

.gtd-onrigs__list span { color: var(--sr-quiet); }
.gtd-onrigs__list a:hover strong,
.gtd-onrigs__list a:focus-visible strong { color: var(--sr-red); }

@media (max-width: 700px) {
	.gtd-onrigs__list { grid-template-columns: 1fr; }
	.gtd-onrigs__list li + li { border-top: 1px solid var(--sr-line); }
}

/* The hub sets these headings as uppercase literals in the markup; here the
   words come from data, so the case is set in CSS to match the hub. */
.gtd-sr-group .drill-rig-section-title { text-transform: uppercase; }
