/* =========================================================================
   Gaurav Tripathi — theme stylesheet
   Design tokens extracted from the supplied mockup (wp-content/uploads/dr.pdf):
   dark navy header/hero/technology/work/CTA/contact/footer, light neutral
   about/services/leadership/working-together sections, one blue accent used
   for every primary action, rounded 12–16px cards with a 1px hairline border.
   ========================================================================= */

/* ---- Design tokens ------------------------------------------------------ */
:root {
	/* Navy scale (dark sections + their internal card surfaces) */
	--gt-navy-900: #0a182f;
	--gt-navy-800: #101f38;
	--gt-navy-700: #162944;
	--gt-navy-600: #223050;
	--gt-navy-border: #22314f;

	/* Neutral scale (light sections) */
	--gt-bg: #ffffff;
	--gt-bg-muted: #f2f5f8;
	--gt-bg-muted-2: #eef0f4;
	--gt-border: #e5e7ec;
	--gt-text: #0f172a;
	--gt-text-muted: #5b6474;
	--gt-text-muted-2: #7c8595;

	/* On-dark text */
	--gt-text-on-dark: #f4f6fb;
	--gt-text-on-dark-muted: #a7b0c4;

	/* Accent — cerulean blue sampled directly from the mockup's buttons/links */
	--gt-accent: #237cca;
	--gt-accent-hover: #1c66a8;
	--gt-accent-soft: rgba(35, 124, 202, 0.12);

	/* Surfaces */
	--gt-card-bg: #ffffff;
	--gt-card-bg-dark: #101d36;
	--gt-card-border-dark: #223050;

	/* Radii & shadow */
	--gt-radius-sm: 8px;
	--gt-radius-md: 14px;
	--gt-radius-lg: 20px;
	--gt-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
	--gt-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
	--gt-shadow-card-dark: 0 8px 24px rgba(0, 0, 0, 0.25);

	/* Layout — single global content container reused by every section via .gt-container.
	   816px matches the mockup's own measured content column (~815-817px, consistent across
	   9+ independently-measured sections at the mockup's native 1440px canvas — see
	   visual-qa-observations.txt, Revision 2). Leadership/CTA already constrain their own
	   content narrower than this via dedicated max-width blocks (not this token). */
	/* Fluid LAYOUT-ONLY growth above the mockup's own 1440px reference width (see
	   Revision 7 — supersedes Revision 6's shared-scale approach). Container stays
	   exactly 816px at <=1440px (design untouched, pixel-for-pixel), then grows
	   linearly to 1050px at 1920px and holds flat beyond. This token drives ONLY
	   container/grid/card width — typography and card padding/gaps are NOT tied to
	   it (kept at their fixed 1440px values) so the layout widens without any text
	   growing past its confirmed-correct size. Linear fit through (1440,816) and
	   (1920,1050): slope = (1050-816)/(1920-1440) = 0.4875px of container per px
	   of viewport beyond 1440px. */
	--gt-container: clamp(816px, calc(816px + (100vw - 1440px) * 0.4875), 1050px);
	--gt-container-narrow: 700px;

	/* Hero-specific width — the hero needs a visibly wider composition than the
	   shared 816px content column (bigger portrait, less dead space either side)
	   without touching --gt-container, which every other section still relies on.
	   1040px at 1440px, growing linearly to 1320px at 1920px (same growth
	   mechanism as --gt-container, just a wider floor/ceiling). Only applies
	   >1024px — the <=1024px hero breakpoint stacks to a single column and
	   ignores this via min(). */
	--gt-hero-container: clamp(1040px, calc(1040px + (100vw - 1440px) * 0.5833), 1320px);
	/* Portrait column width, scaled independently of the text column so the
	   image grows to a real, substantially larger size (was a fixed 260px). */
	--gt-hero-media: clamp(400px, 31vw, 480px);
	--gt-gutter: clamp(20px, 5vw, 32px);
	--gt-section-pad: clamp(56px, 8vw, 96px);

	/* Type */
	--gt-font-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
	--gt-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---- Reset / base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gt-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gt-text);
	background: var(--gt-bg);
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--gt-font-display); font-weight: 700; color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- Accessibility helpers -------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.gt-skip-link {
	position: fixed;
	top: -60px;
	left: 12px;
	z-index: 1000;
	background: var(--gt-accent);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--gt-radius-sm);
	transition: top 0.15s ease;
}
.gt-skip-link:focus {
	top: 12px;
	width: auto;
	height: auto;
	clip: auto;
	position: fixed;
}

:focus-visible {
	outline: 2px solid var(--gt-accent);
	outline-offset: 3px;
	border-radius: 4px;
}
.gt-header a:focus-visible,
.gt-btn:focus-visible {
	outline-color: #7fa0ff;
}

/* ---- Layout utilities --------------------------------------------------- */
/* min() so --gt-container is the ACTUAL content width once the viewport is wide
   enough (matching the mockup's edge-to-edge measurement exactly) — the gutter
   only insets from the viewport edge on narrow screens, it doesn't also shrink
   the content box on top of the max-width cap (that double-inset previously
   made real content ~7% narrower than --gt-container implied). */
.gt-container {
	width: min(100% - (var(--gt-gutter) * 2), var(--gt-container));
	margin-inline: auto;
}
.gt-container--narrow { width: min(100% - (var(--gt-gutter) * 2), var(--gt-container-narrow)); }

.gt-eyebrow {
	display: inline-block;
	font-family: var(--gt-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gt-accent);
	margin-bottom: 14px;
}
.gt-eyebrow--on-dark { color: #7fa0ff; }

.gt-section-heading {
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--gt-text);
	max-width: 32ch;
}
.gt-section-heading--on-dark { color: var(--gt-text-on-dark); }

.gt-section-description {
	margin-top: 12px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--gt-text-muted);
	max-width: 56ch;
}
.gt-section-description--on-dark { color: var(--gt-text-on-dark-muted); }

.gt-section-intro { max-width: 560px; margin-bottom: 36px; }

.gt-empty-state {
	padding: 32px;
	text-align: center;
	color: var(--gt-text-muted);
	border: 1px dashed var(--gt-border);
	border-radius: var(--gt-radius-md);
}
.gt-empty-state--on-dark { color: var(--gt-text-on-dark-muted); border-color: var(--gt-navy-border); }
.gt-empty-state a { color: #7fa0ff; text-decoration: underline; }

/* ---- Buttons ------------------------------------------------------------ */
.gt-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	font-family: var(--gt-font-display);
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.gt-btn svg { width: 16px; height: 16px; }
.gt-btn--primary {
	background: var(--gt-accent);
	color: #fff;
}
.gt-btn--primary:hover { background: var(--gt-accent-hover); }
.gt-btn--ghost {
	background: transparent;
	color: var(--gt-text-on-dark);
	border: 1px solid rgba(244, 246, 251, 0.35);
}
.gt-btn--ghost:hover { border-color: rgba(244, 246, 251, 0.7); background: rgba(244, 246, 251, 0.06); }
.gt-btn--on-dark { color: var(--gt-text-on-dark); border-color: rgba(244, 246, 251, 0.35); }
.gt-btn--outline {
	background: transparent;
	color: var(--gt-text);
	border: 1px solid var(--gt-border);
}
.gt-btn--outline:hover { border-color: var(--gt-navy-900); background: var(--gt-bg-muted-2); }
.gt-btn--dark { background: var(--gt-navy-900); color: #fff; }
.gt-btn--dark:hover { background: var(--gt-navy-700); }
.gt-btn--sm { padding: 10px 20px; font-size: 14px; }
.gt-btn--lg { padding: 16px 32px; font-size: 16px; }
.gt-btn:active { transform: translateY(1px); }

/* ---- Cards (generic) ----------------------------------------------------- */
.gt-card {
	display: flex;
	flex-direction: column;
	background: var(--gt-card-bg);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-md);
	box-shadow: var(--gt-shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.gt-card:hover, a.gt-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--gt-shadow-md);
	border-color: var(--gt-accent);
}

.gt-card-grid { display: grid; gap: 20px; }
.gt-card-grid--services,
.gt-card-grid--technology,
.gt-card-grid--working { gap: 16px; }

.gt-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gt-tag {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--gt-bg-muted-2);
	color: var(--gt-text-muted);
}
.gt-tag--service { background: var(--gt-accent-soft); color: var(--gt-accent); }

/* ---- Header --------------------------------------------------------------- */
.gt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gt-navy-900);
	border-bottom: 1px solid var(--gt-navy-border);
}
.gt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 76px;
}
.gt-header__logo { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; }
.gt-header__logo img { height: 32px; width: auto; }
.gt-header__logo-text {
	font-family: var(--gt-font-display);
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	letter-spacing: -0.01em;
	line-height: 1.3;
}
.gt-header__logo-tagline {
	font-size: 11.5px;
	color: var(--gt-text-on-dark-muted);
	line-height: 1.3;
}

.gt-nav__list { display: flex; align-items: center; gap: 2px; }
.gt-nav__link {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	border-radius: var(--gt-radius-sm);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--gt-text-on-dark-muted);
	transition: color 0.15s ease, background-color 0.15s ease;
	white-space: nowrap;
}
.gt-nav__link:hover,
.gt-nav__item.is-current .gt-nav__link { color: #fff; }
.gt-nav__caret { width: 12px; height: 12px; }

.gt-header__actions { display: flex; align-items: center; gap: 12px; }

.gt-nav-toggle {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	color: #fff;
	border-radius: var(--gt-radius-sm);
}
.gt-nav-toggle svg { position: absolute; width: 22px; height: 22px; }
.gt-nav-toggle__icon-close { opacity: 0; transform: scale(0.6); }
.gt-nav-toggle[aria-expanded="true"] .gt-nav-toggle__icon-open { opacity: 0; transform: scale(0.6); }
.gt-nav-toggle[aria-expanded="true"] .gt-nav-toggle__icon-close { opacity: 1; transform: scale(1); }
.gt-nav-toggle svg { transition: opacity 0.15s ease, transform 0.15s ease; }

/* ---- Hero -------------------------------------------------------------- */
.gt-hero {
	background: var(--gt-navy-900);
	background-image: radial-gradient(1100px 500px at 85% -10%, rgba(52, 89, 230, 0.22), transparent 60%);
	padding-block: clamp(56px, 9vw, 120px);
	color: var(--gt-text-on-dark);
}
.gt-hero__grid {
	/* Hero-only width override: wins over .gt-container's width rule (same
	   specificity, declared later in the cascade) without touching that class
	   or its variable, so every other section keeps the 816-1050px column.
	   Mobile-safe base value — the 52% desktop width lives in the
	   min-width:1025px override below so it never shrinks the stacked
	   mobile hero. */
	width: min(100% - (var(--gt-gutter) * 2), var(--gt-hero-container));
	margin-inline: auto;
	display: grid;
	/* Text column stays a fixed 1fr (~similar width to before); the image
	   column is a real reserved track sized off --gt-hero-media, not leftover
	   flexbox space, so the portrait actually renders at that width. */
	grid-template-columns: 1fr var(--gt-hero-media);
	/* Tightened from clamp(24px,2.5vw,36px) — that capped at 36px at both 1440
	   and 1920 (2.5vw already exceeds 36 past ~1440px), reading as too much
	   dead space between the text and portrait columns. */
	gap: clamp(16px, 2vw, 28px);
	align-items: start;
}
.gt-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px 7px 12px;
	border: 1px solid var(--gt-navy-border);
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--gt-text-on-dark-muted);
	margin-bottom: 22px;
}
.gt-hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gt-accent); flex-shrink: 0; }
.gt-hero__heading {
	/* Mockup measured line-pitch ~59-60px; at line-height:1.15 that implies
	   ~52-53px, vs the previous 48px ceiling (confirmed real gap, not guessed). */
	font-size: clamp(34px, 3.9vw, 53px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
	margin-bottom: 20px;
}
.gt-hero__description {
	font-size: 16px;
	line-height: 1.6;
	color: var(--gt-text-on-dark-muted);
	max-width: 46ch;
	margin-bottom: 28px;
}
.gt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.gt-hero__media { display: flex; justify-content: flex-end; }
.gt-hero__media-frame {
	position: relative;
	/* Mobile-safe base — the 82% desktop width lives in the min-width:1025px
	   override below so the mobile-stacked frame (capped at 250px there)
	   isn't also squeezed to 82% of that. */
	width: 100%;
	max-width: var(--gt-hero-media);
	/* Outer frame: thin lighter-navy border + generous corner radius, with
	   padding so the photo sits inset from the frame edge instead of flush
	   against it (previously the img filled the frame with zero gap). */
	padding: 12px;
	border-radius: var(--gt-radius-lg);
	overflow: hidden;
	border: 1px solid var(--gt-navy-border);
	background: var(--gt-navy-800);
	aspect-ratio: 4 / 5;
	box-shadow: var(--gt-shadow-card-dark);
}
.gt-hero__media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Slightly smaller than the frame's own radius so the image reads as a
	   distinct nested element rather than sharing one continuous corner. */
	border-radius: var(--gt-radius-md);
	display: block;
}
.gt-hero__media-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 100%;
	padding: 16px;
	text-align: center;
	color: var(--gt-text-on-dark-muted);
	font-size: 11.5px;
}
.gt-hero__media-placeholder-icon { width: 36px; height: 36px; opacity: 0.5; }

/* ---- About --------------------------------------------------------------- */
.gt-about { padding-block: var(--gt-section-pad); background: var(--gt-bg); }
.gt-about__grid {
	display: grid;
	grid-template-columns: 0.68fr 1.32fr;
	gap: clamp(24px, 5vw, 48px);
}
.gt-about__image {
	margin-top: 24px;
	border-radius: var(--gt-radius-md);
	width: 100%;
	object-fit: cover;
}
.gt-about__lead {
	font-size: 15px;
	line-height: 1.6;
	color: var(--gt-text);
	margin-bottom: 14px;
}
.gt-about__supporting {
	font-size: 14px;
	line-height: 1.65;
	color: var(--gt-text-muted);
	margin-bottom: 24px;
}
.gt-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.gt-checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--gt-text);
}
.gt-checklist__icon { flex-shrink: 0; width: 15px; height: 15px; color: var(--gt-accent); margin-top: 2px; }
.gt-checklist__icon svg { width: 15px; height: 15px; }

/* ---- Services -------------------------------------------------------------- */
.gt-services { padding-block: var(--gt-section-pad); background: var(--gt-bg-muted); }
.gt-card-grid--services { grid-template-columns: repeat(4, 1fr); }
.gt-service-card { padding: 22px 20px; position: relative; }
.gt-service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--gt-radius-sm);
	background: var(--gt-accent-soft);
	color: var(--gt-accent);
	margin-bottom: 14px;
}
.gt-service-card__icon svg { width: 19px; height: 19px; }
.gt-service-card__number {
	position: absolute;
	top: 20px;
	right: 20px;
	font-family: var(--gt-font-display);
	font-weight: 700;
	font-size: 12px;
	color: var(--gt-text-muted-2);
}
.gt-service-card__title { font-size: 15.5px; margin-bottom: 8px; }
.gt-service-card__description { font-size: 13.5px; line-height: 1.55; color: var(--gt-text-muted); }

/* ---- Technology (dark) -------------------------------------------------- */
.gt-technology { padding-block: var(--gt-section-pad); background: var(--gt-navy-900); }
.gt-card-grid--technology { grid-template-columns: repeat(3, 1fr); }
.gt-tech-card {
	padding: 20px;
	background: var(--gt-card-bg-dark);
	border-color: var(--gt-card-border-dark);
	box-shadow: none;
}
a.gt-tech-card:hover { box-shadow: var(--gt-shadow-card-dark); }
.gt-tech-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gt-tech-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--gt-radius-sm);
	background: rgba(35, 124, 202, 0.18);
	color: #6db3e8;
	flex-shrink: 0;
}
.gt-tech-card__icon svg { width: 16px; height: 16px; }
.gt-tech-card__title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gt-text-on-dark);
}
.gt-tech-card__description { font-size: 13px; color: var(--gt-text-on-dark-muted); margin-bottom: 12px; }
.gt-tech-card .gt-tag-list { gap: 5px; }
.gt-tech-card .gt-tag { background: rgba(255, 255, 255, 0.06); color: var(--gt-text-on-dark-muted); font-size: 10.5px; padding: 3px 8px; border: 1px solid rgba(255,255,255,0.08); }

/* ---- Selected Work (light) ------------------------------------------------ */
.gt-work { padding-block: var(--gt-section-pad); background: var(--gt-bg); }
.gt-card-grid--work { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gt-work__footer { margin-top: 40px; text-align: center; }

.gt-project-card { overflow: hidden; box-shadow: none; }
.gt-project-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gt-bg-muted-2); }
.gt-project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gt-project-card:hover .gt-project-card__media img { transform: scale(1.04); }
.gt-project-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.gt-project-card__title { font-size: 17px; }
.gt-project-card__title a:hover { color: var(--gt-accent); }
.gt-project-card__client { font-size: 12.5px; font-weight: 600; color: var(--gt-text-muted-2); text-transform: uppercase; letter-spacing: 0.04em; margin-top: -4px; }
.gt-project-card__description { font-size: 13.5px; line-height: 1.6; color: var(--gt-text-muted); }
.gt-project-card__body .gt-tag-list { padding-bottom: 12px; border-bottom: 1px solid var(--gt-border); margin-bottom: 2px; }
.gt-project-card__body .gt-tag { background: var(--gt-bg-muted-2); color: var(--gt-text-muted); font-size: 11px; padding: 4px 10px; }

.gt-project-card__details { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.gt-project-card__detail-label {
	display: block;
	font-family: var(--gt-font-display);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gt-text-muted-2);
	margin-bottom: 4px;
}
.gt-project-card__detail-text { font-size: 13.5px; line-height: 1.55; color: var(--gt-text-muted); }
.gt-project-card__link, .gt-project-card__external {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gt-accent);
}
.gt-project-card__link svg, .gt-project-card__external svg { width: 14px; height: 14px; }
.gt-project-card__link:hover, .gt-project-card__external:hover { text-decoration: underline; }

/* ---- Leadership ------------------------------------------------------------ */
.gt-leadership { padding-block: var(--gt-section-pad); background: var(--gt-bg-muted); }
.gt-leadership__intro { max-width: 640px; margin-bottom: 40px; }
.gt-leadership__supporting { margin-top: 16px; font-size: 15px; color: var(--gt-text-muted); }
.gt-leadership__timeline { display: flex; flex-direction: column; gap: 26px; max-width: 580px; }
.gt-leadership__entry { padding-left: 22px; border-left: 2px solid var(--gt-border); position: relative; }
.gt-leadership__entry::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 3px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gt-bg-muted);
	border: 2px solid var(--gt-accent);
}
.gt-leadership__entry-head { margin-bottom: 6px; }
.gt-leadership__dates { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gt-accent); margin-bottom: 4px; }
.gt-leadership__role { font-size: 16.5px; }
.gt-leadership__description { font-size: 14px; line-height: 1.6; color: var(--gt-text-muted); }

/* ---- Working Together --------------------------------------------------- */
.gt-working { padding-block: var(--gt-section-pad); background: var(--gt-bg); }
.gt-card-grid--working { grid-template-columns: repeat(3, 1fr); }
.gt-working-card { padding: 22px 20px; }
.gt-working-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--gt-radius-sm);
	background: var(--gt-bg-muted-2);
	color: var(--gt-text-muted);
	margin-bottom: 14px;
}
.gt-working-card__icon svg { width: 18px; height: 18px; }
.gt-working-card__title { font-size: 15px; margin-bottom: 6px; }
.gt-working-card__description { font-size: 13.5px; line-height: 1.55; color: var(--gt-text-muted); }

/* ---- CTA banner ------------------------------------------------------------ */
/* CTA is deliberately more compact than the general section rhythm in the
   mockup (measured ~286px total vs ~527-708px for content sections) — a
   dedicated smaller padding rather than the shared --gt-section-pad. */
.gt-cta-banner { padding-block: clamp(32px, 5vw, 56px); background: var(--gt-navy-900); text-align: center; }
.gt-cta-banner__inner { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.gt-cta-banner__heading { font-size: clamp(26px, 3.6vw, 38px); color: #fff; margin-bottom: 16px; }
.gt-cta-banner__description { font-size: 17px; color: var(--gt-text-on-dark-muted); margin-bottom: 28px; }

/* ---- Contact (light) ------------------------------------------------------------ */
.gt-contact { padding-block: var(--gt-section-pad); background: var(--gt-bg-muted); }
.gt-contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 56px); align-items: start; }
.gt-contact__info-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.gt-contact__info-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: var(--gt-card-bg);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-md);
}
.gt-contact__info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex-shrink: 0;
	border-radius: var(--gt-radius-sm);
	background: var(--gt-accent-soft);
	color: var(--gt-accent);
}
.gt-contact__info-icon svg { width: 18px; height: 18px; }
.gt-contact__info-label { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gt-text-muted-2); margin-bottom: 2px; }
.gt-contact__info-value { font-size: 14.5px; font-weight: 500; color: var(--gt-text); }
a.gt-contact__info-value:hover { color: var(--gt-accent); }

.gt-contact__form-panel {
	background: var(--gt-card-bg);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-lg);
	box-shadow: var(--gt-shadow-md);
	padding: clamp(24px, 4vw, 36px);
}
.gt-contact__form-heading { font-size: 18px; color: var(--gt-text); margin-bottom: 20px; }

/* Contact Form 7 — visual integration with the light panel, matching mockup form styling */
.gt-contact__form .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.gt-contact__form .wpcf7-form p { margin: 0; }
.gt-contact__form .wpcf7-form p:has(textarea),
.gt-contact__form .wpcf7-form > .wpcf7-response-output,
.gt-contact__form .wpcf7-form-control-wrap:has(textarea) { grid-column: 1 / -1; }
.gt-contact__form label {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gt-text-muted-2);
	margin-bottom: 8px;
}
.gt-contact__form input[type="text"],
.gt-contact__form input[type="email"],
.gt-contact__form input[type="tel"],
.gt-contact__form select,
.gt-contact__form textarea {
	width: 100%;
	padding: 11px 14px;
	background: var(--gt-bg);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius-sm);
	color: var(--gt-text);
	font-size: 14.5px;
	transition: border-color 0.15s ease;
}
.gt-contact__form input:focus,
.gt-contact__form select:focus,
.gt-contact__form textarea:focus {
	border-color: var(--gt-accent);
	outline: none;
}
.gt-contact__form textarea { min-height: 110px; resize: vertical; }
.gt-contact__form input[type="submit"] {
	grid-column: 1 / -1;
	justify-self: start;
	padding: 13px 28px;
	background: var(--gt-navy-900);
	color: #fff;
	border: none;
	border-radius: var(--gt-radius-sm);
	font-family: var(--gt-font-display);
	font-weight: 600;
	font-size: 14.5px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.gt-contact__form input[type="submit"]:hover { background: var(--gt-navy-700); }
.gt-contact__form .wpcf7-not-valid-tip { color: #c62828; font-size: 12.5px; margin-top: 6px; }
.gt-contact__form .wpcf7-response-output { border-radius: var(--gt-radius-sm); border-color: var(--gt-border) !important; color: var(--gt-text); }

/* ---- Footer ------------------------------------------------------------ */
.gt-footer { background: #060c17; color: var(--gt-text-on-dark-muted); padding-top: clamp(48px, 7vw, 80px); }
.gt-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr auto auto;
	justify-content: space-between;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--gt-navy-border);
}
.gt-footer__logo img { height: 28px; }
.gt-footer__logo-text { font-family: var(--gt-font-display); font-weight: 800; font-size: 18px; color: #fff; }
.gt-footer__description { margin-top: 14px; font-size: 14.5px; line-height: 1.65; max-width: 34ch; }
.gt-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.gt-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--gt-text-on-dark-muted);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.gt-footer__social a svg { width: 16px; height: 16px; }
.gt-footer__social a:hover { background: var(--gt-accent); color: #fff; }

.gt-footer__col-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.gt-footer__col-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.gt-footer__col-list a:hover { color: #fff; }
.gt-footer__nav-col--primary .gt-footer__col-list {
	display: grid;
	grid-template-columns: repeat(2, auto);
	column-gap: 32px;
	row-gap: 10px;
}

.gt-footer__bottom-inner { padding-block: 24px; text-align: center; }
.gt-footer__copyright { font-size: 13.5px; }

/* ---- Generic page / post / 404 templates -------------------------------- */
.gt-generic-section { padding-block: var(--gt-section-pad); }
.gt-page__title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.gt-page__media { margin-bottom: 32px; border-radius: var(--gt-radius-md); overflow: hidden; }
.gt-prose { font-size: 16.5px; line-height: 1.75; color: var(--gt-text); }
.gt-prose > * + * { margin-top: 1.2em; }
.gt-prose h2, .gt-prose h3 { margin-top: 1.6em; margin-bottom: 0.6em; }
.gt-prose a { color: var(--gt-accent); text-decoration: underline; }
.gt-404 { text-align: center; padding-block: clamp(80px, 12vw, 140px); }
.gt-404 .gt-btn { margin-top: 20px; }

.gt-post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.gt-post-list__media { display: block; border-radius: var(--gt-radius-md); overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/10; }
.gt-post-list__media img { width: 100%; height: 100%; object-fit: cover; }
.gt-post-list__title { font-size: 19px; margin-bottom: 8px; }
.gt-post-list__title a:hover { color: var(--gt-accent); }
.gt-post-list__excerpt { color: var(--gt-text-muted); font-size: 15px; line-height: 1.6; }

.gt-project-single__header { padding-block: clamp(48px, 8vw, 80px) 40px; background: var(--gt-navy-900); color: var(--gt-text-on-dark); }
.gt-project-single__title { font-size: clamp(28px, 4vw, 42px); color: #fff; margin-block: 12px 8px; }
.gt-project-single__client { color: var(--gt-text-on-dark-muted); margin-bottom: 16px; }
.gt-project-single__header .gt-tag-list { margin-bottom: 24px; }
.gt-project-single__header .gt-eyebrow a:hover { text-decoration: underline; }
.gt-project-single__media { margin-block: -1px 0; transform: translateY(-1px); }
.gt-project-single__media img { width: 100%; border-radius: var(--gt-radius-lg); margin-top: -40px; box-shadow: var(--gt-shadow-md); position: relative; z-index: 1; }
.gt-project-single__content { padding-block: 48px; }
.gt-project-single__details { display: flex; flex-direction: column; gap: 20px; padding-top: 40px; }

/* =========================================================================
   RESPONSIVE — 1440 / 1280 / 1024 / 768 / 480 / 375
   ========================================================================= */

@media (max-width: 1280px) {
	.gt-card-grid--services { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop-only hero width overrides — companion to the max-width:1024px
   breakpoint below, so these percentages never apply to the stacked
   mobile/tablet hero. */
@media (min-width: 1025px) {
	.gt-hero__grid { width: 52%; }
	.gt-hero__media-frame { width: 82%; }
}

@media (max-width: 1024px) {
	:root { --gt-container: 100%; --gt-section-pad: 64px; }

	.gt-hero__grid { grid-template-columns: 1fr; }
	.gt-hero__media { justify-content: center; }
	.gt-hero__media-frame { max-width: 250px; }

	.gt-about__grid,
	.gt-contact__grid { grid-template-columns: 1fr; }
	.gt-about__col-heading { max-width: 640px; }

	.gt-card-grid--services { grid-template-columns: repeat(2, 1fr); }
	.gt-card-grid--technology { grid-template-columns: repeat(2, 1fr); }
	.gt-card-grid--work { grid-template-columns: repeat(2, 1fr); }
	.gt-card-grid--working { grid-template-columns: repeat(2, 1fr); }

	.gt-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.gt-post-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.gt-header__inner { height: 68px; }
	.gt-nav { position: fixed; inset: 68px 0 0 0; background: var(--gt-navy-900); padding: 24px var(--gt-gutter) 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 90; }
	.gt-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
	.gt-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.gt-nav__link { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--gt-navy-border); border-radius: 0; }
	.gt-header__cta { display: none; }
	.gt-nav-toggle { display: inline-flex; }

	.gt-checklist { grid-template-columns: 1fr; }
	.gt-card-grid--services { grid-template-columns: 1fr; }
	.gt-card-grid--technology { grid-template-columns: 1fr; }
	.gt-card-grid--work { grid-template-columns: 1fr; }
	.gt-card-grid--working { grid-template-columns: 1fr; }

	.gt-footer__grid { grid-template-columns: 1fr; }
	.gt-leadership__entry-head { flex-direction: column; align-items: flex-start; gap: 4px; }
	.gt-hero__actions .gt-btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 480px) {
	:root { --gt-gutter: 20px; --gt-section-pad: 56px; }
	.gt-hero__heading { font-size: 30px; }
	.gt-hero__media-frame { aspect-ratio: 3/4; }
	.gt-btn { width: 100%; justify-content: center; }
	.gt-hero__actions { flex-direction: column; }
	.gt-cta-banner .gt-btn { width: auto; }
	.gt-service-card, .gt-working-card, .gt-tech-card, .gt-project-card__body { padding: 22px 20px; }
}

@media (max-width: 375px) {
	.gt-eyebrow { font-size: 12px; }
	.gt-hero__heading { font-size: 27px; }
	.gt-section-heading { font-size: 26px; }
}
