/* GCC Drilling Academy FAQ page. Everything is scoped to .gcca so the theme and Elementor cannot leak in. */

@font-face {
	font-family: "Big Shoulders Display";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Big Shoulders Display";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

.gcca {
	/* Palette: sea water and steel, with hard-hat yellow kept for the gauge and the calls to action */
	--gcca-hull: #0f2c38;
	--gcca-ink: #14262d;
	--gcca-sea: #14606b;
	--gcca-mist: #e7eef0;
	--gcca-white: #ffffff;
	--gcca-line: #bfcfd4;
	--gcca-muted: #4a626b;
	--gcca-hat: #f4b400;

	/* Strata: the six topics, lightest at the surface, darkest at depth */
	--gcca-s0: #e4d6b2;
	--gcca-s1: #cdb985;
	--gcca-s2: #a9bfb4;
	--gcca-s3: #6f9ca3;
	--gcca-s4: #3f7280;
	--gcca-s5: #1b4452;

	--gcca-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
	--gcca-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Malayalam", sans-serif;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding: clamp(40px, 6vw, 88px) clamp(16px, 4vw, 40px) clamp(48px, 7vw, 104px);
	background: var(--gcca-mist);
	color: var(--gcca-ink);
	font-family: var(--gcca-body);
	font-size: 17px;
	line-height: 1.65;
	text-align: left;
	-webkit-text-size-adjust: 100%;
	/* Let the background run edge to edge even inside a boxed Elementor column */
	box-shadow: 0 0 0 100vmax var(--gcca-mist);
	clip-path: inset(0 -100vmax);
}

.gcca *,
.gcca *::before,
.gcca *::after {
	box-sizing: border-box;
}

.gcca .gcca-s0 { --gcca-strata: var(--gcca-s0); }
.gcca .gcca-s1 { --gcca-strata: var(--gcca-s1); }
.gcca .gcca-s2 { --gcca-strata: var(--gcca-s2); }
.gcca .gcca-s3 { --gcca-strata: var(--gcca-s3); }
.gcca .gcca-s4 { --gcca-strata: var(--gcca-s4); }
.gcca .gcca-s5 { --gcca-strata: var(--gcca-s5); }

/* ---------- Layout ---------- */

.gcca .gcca-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 1240px;
	margin: 0 auto;
}

.gcca .gcca-main {
	min-width: 0;
}

.gcca .gcca-rail {
	display: none;
}

@media (min-width: 1100px) {
	.gcca.is-ready .gcca-grid {
		grid-template-columns: 96px minmax(0, 1fr);
		column-gap: 24px;
	}
	.gcca.is-ready .gcca-rail {
		display: block;
	}
}

/* ---------- Depth gauge: the one moving thing on the page ---------- */

.gcca .gcca-gauge {
	position: sticky;
	top: 112px;
	width: 22px;
	height: min(70vh, 600px);
	margin-left: 6px;
}

.gcca .gcca-strata {
	position: absolute;
	inset: 0;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(15, 44, 56, 0.25);
}

.gcca .gcca-strata span {
	position: absolute;
	left: 0;
	right: 0;
	background: var(--gcca-strata);
}

.gcca .gcca-marker {
	position: absolute;
	left: -7px;
	width: 36px;
	height: 3px;
	margin-top: -1px;
	background: var(--gcca-hat);
	box-shadow: 0 0 0 1px var(--gcca-hull);
	border-radius: 2px;
	top: 0;
}

.gcca .gcca-depth {
	position: absolute;
	left: 44px;
	top: -0.62em;
	font-family: var(--gcca-display);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--gcca-hull);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* ---------- Headings ---------- */

.gcca .gcca-h1,
.gcca .gcca-h2,
.gcca .gcca-q {
	font-family: var(--gcca-display);
	color: var(--gcca-hull);
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
	padding: 0;
}

.gcca .gcca-h1 {
	font-weight: 800;
	font-size: clamp(2.6rem, 6.4vw, 5.1rem);
	line-height: 0.96;
	letter-spacing: -0.005em;
	max-width: 14ch;
}

.gcca .gcca-h2 {
	font-weight: 800;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	line-height: 1.02;
}

.gcca .gcca-h2-sm {
	font-size: 1.55rem;
}

.gcca .gcca-q {
	font-weight: 700;
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
	line-height: 1.12;
}

/* ---------- Hero ---------- */

.gcca .gcca-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	margin: 0 0 clamp(40px, 5vw, 64px);
}

@media (min-width: 900px) {
	.gcca .gcca-hero {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 56px;
	}
}

.gcca .gcca-summary {
	margin: 28px 0 0;
	max-width: 56ch;
	font-size: 1.1875rem;
	line-height: 1.6;
	color: var(--gcca-ink);
}

.gcca .gcca-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 20px 0 0;
	font-size: 0.9375rem;
	color: var(--gcca-muted);
}

.gcca .gcca-by strong {
	font-weight: 600;
	color: var(--gcca-ink);
}

.gcca .gcca-facts {
	background: var(--gcca-white);
	border: 1px solid var(--gcca-line);
	border-top: 6px solid var(--gcca-hull);
	border-radius: 6px;
	padding: 24px 24px 8px;
}

.gcca .gcca-dl {
	margin: 18px 0 0;
}

.gcca .gcca-dl-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	padding: 14px 0;
	border-top: 1px solid var(--gcca-line);
}

@media (min-width: 560px) {
	.gcca .gcca-dl-row {
		grid-template-columns: 9.5rem minmax(0, 1fr);
		gap: 16px;
	}
}

.gcca .gcca-dl dt {
	margin: 0;
	font-weight: 600;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--gcca-muted);
}

.gcca .gcca-dl dd {
	margin: 0;
	font-size: 0.9688rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

/* ---------- Jump links: a legend for the strata ---------- */

.gcca .gcca-toc {
	margin: 0 0 clamp(40px, 5vw, 64px);
}

.gcca .gcca-toc-title {
	margin: 0 0 12px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gcca-muted);
}

.gcca .gcca-toc-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 720px) {
	.gcca .gcca-toc-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.gcca .gcca-toc-list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 0;
	}
}

.gcca .gcca-toc-list li {
	margin: 0;
	padding: 0;
	border-top: 8px solid var(--gcca-strata);
	background: var(--gcca-white);
}

.gcca .gcca-toc-list a {
	display: block;
	height: 100%;
	padding: 14px 14px 16px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--gcca-hull);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.gcca .gcca-toc-list a:hover {
	background: var(--gcca-mist);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Tables ---------- */

.gcca .gcca-compare {
	margin: 0 0 clamp(56px, 7vw, 96px);
}

.gcca .gcca-compare .gcca-h2 {
	margin-bottom: 24px;
}

.gcca .gcca-tablewrap {
	margin: 24px 0 0;
	background: var(--gcca-white);
	border: 1px solid var(--gcca-line);
	border-radius: 6px;
	overflow: hidden;
}

.gcca .gcca-compare .gcca-tablewrap {
	margin-top: 0;
}

.gcca .gcca-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: auto;
	font-size: 0.9688rem;
	line-height: 1.5;
}

.gcca .gcca-table th,
.gcca .gcca-table td {
	padding: 13px 16px;
	border: 0;
	border-top: 1px solid var(--gcca-line);
	background: transparent;
	text-align: left;
	vertical-align: top;
	color: var(--gcca-ink);
}

.gcca .gcca-table thead th,
.gcca .gcca-table thead td {
	border-top: 0;
	background: var(--gcca-hull);
	color: var(--gcca-white);
	font-weight: 600;
	font-size: 0.9375rem;
}

.gcca .gcca-table tbody th {
	font-weight: 600;
	color: var(--gcca-hull);
}

.gcca .gcca-ask {
	color: var(--gcca-muted);
}

@media (max-width: 719px) {
	.gcca .gcca-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.gcca .gcca-table,
	.gcca .gcca-table tbody,
	.gcca .gcca-table tr {
		display: block;
		width: 100%;
	}
	.gcca .gcca-table tr {
		padding: 6px 0;
		border-top: 1px solid var(--gcca-line);
	}
	.gcca .gcca-table tbody tr:first-child {
		border-top: 0;
	}
	.gcca .gcca-table tbody th {
		display: block;
		padding: 10px 16px 4px;
		border: 0;
		font-size: 1.0625rem;
	}
	.gcca .gcca-table td {
		display: grid;
		grid-template-columns: 7.2rem minmax(0, 1fr);
		gap: 12px;
		padding: 4px 16px;
		border: 0;
	}
	.gcca .gcca-table td::before {
		content: attr(data-label);
		font-weight: 600;
		font-size: 0.875rem;
		color: var(--gcca-muted);
	}
}

/* ---------- Groups and questions ---------- */

.gcca .gcca-group {
	margin: 0 0 clamp(56px, 7vw, 96px);
	scroll-margin-top: 96px;
}

.gcca .gcca-group-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
}

.gcca .gcca-swatch {
	flex: 0 0 auto;
	display: inline-block;
	width: 14px;
	height: 0.95em;
	border-radius: 2px;
	background: var(--gcca-strata);
	box-shadow: 0 0 0 1px rgba(15, 44, 56, 0.25);
}

.gcca .gcca-faq {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	padding: 36px 0 40px;
	border-top: 1px solid var(--gcca-line);
	scroll-margin-top: 96px;
}

.gcca .gcca-group-title + .gcca-faq {
	border-top: 2px solid var(--gcca-hull);
}

@media (min-width: 900px) {
	.gcca .gcca-faq {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 56px;
	}
	.gcca .gcca-q {
		position: sticky;
		top: 104px;
		align-self: start;
		max-width: 22ch;
	}
}

.gcca .gcca-a {
	max-width: 66ch;
	min-width: 0;
}

.gcca .gcca-p {
	margin: 0 0 1rem;
	padding: 0;
}

.gcca .gcca-lead {
	font-size: 1.2rem;
	line-height: 1.55;
	font-weight: 500;
	color: var(--gcca-hull);
}

.gcca .gcca-tablewrap + .gcca-p {
	margin-top: 1.1rem;
}

.gcca .gcca-list {
	margin: 0 0 1.1rem;
	padding: 0;
	list-style: none;
}

.gcca .gcca-list li {
	position: relative;
	margin: 0 0 0.55rem;
	padding: 0 0 0 1.5rem;
}

.gcca ul.gcca-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 8px;
	height: 8px;
	border-radius: 1px;
	background: var(--gcca-sea);
}

.gcca ol.gcca-list {
	counter-reset: gcca-step;
}

.gcca ol.gcca-list li {
	counter-increment: gcca-step;
	padding-left: 2.4rem;
}

.gcca ol.gcca-list li::before {
	content: counter(gcca-step);
	position: absolute;
	left: 0;
	top: 0.12em;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 50%;
	background: var(--gcca-hull);
	color: var(--gcca-white);
	font-family: var(--gcca-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.65rem;
	text-align: center;
}

.gcca .gcca-a strong {
	font-weight: 600;
}

.gcca .gcca-next {
	margin: 1.5rem 0 0;
	padding: 2px 0 2px 16px;
	border-left: 4px solid var(--gcca-sea);
	font-weight: 500;
	color: var(--gcca-hull);
}

/* ---------- Links ---------- */

.gcca a {
	color: var(--gcca-sea);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	overflow-wrap: anywhere;
}

.gcca a:hover {
	color: var(--gcca-hull);
	text-decoration-thickness: 2px;
}

.gcca a:focus-visible {
	outline: 3px solid var(--gcca-hull);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------- Final call to action ---------- */

.gcca .gcca-cta {
	padding: clamp(28px, 5vw, 56px);
	border-radius: 6px;
	background: var(--gcca-hull);
	color: var(--gcca-white);
}

.gcca .gcca-cta .gcca-h2 {
	color: var(--gcca-white);
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.gcca .gcca-cta-text {
	margin: 14px 0 28px;
	max-width: 52ch;
	color: #cfe0e5;
}

.gcca .gcca-cta-calls {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

@media (min-width: 720px) {
	.gcca .gcca-cta-calls {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.gcca .gcca-cta-more {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.gcca a.gcca-btn {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-height: 52px;
	padding: 14px 20px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gcca a.gcca-btn-call {
	background: var(--gcca-hat);
	color: var(--gcca-hull);
}

.gcca a.gcca-btn-call:hover {
	background: #ffc933;
	color: var(--gcca-hull);
}

.gcca .gcca-btn-name {
	font-size: 0.9375rem;
}

.gcca .gcca-btn-num {
	font-family: var(--gcca-display);
	font-weight: 800;
	font-size: 1.6rem;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.gcca a.gcca-btn-ghost {
	flex-direction: row;
	align-items: center;
	border: 2px solid rgba(255, 255, 255, 0.55);
	color: var(--gcca-white);
}

.gcca a.gcca-btn-ghost:hover {
	border-color: var(--gcca-white);
	background: rgba(255, 255, 255, 0.1);
	color: var(--gcca-white);
}

.gcca .gcca-cta a:focus-visible {
	outline-color: var(--gcca-hat);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	.gcca * {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html:has(.gcca) {
		scroll-behavior: smooth;
	}
}

@media print {
	.gcca { box-shadow: none; clip-path: none; background: #fff; }
	.gcca .gcca-rail { display: none !important; }
	.gcca .gcca-q { position: static; }
}
