/*
 * Careers on the public site: the list of open roles, a job's page with its Apply section, the thanks page.
 *
 * The pages take the theme's own classes for the wrapper, headings and buttons (Views::theme_class()), and read
 * every colour, radius and typeface from the theme's tokens: the IAMB.AI theme's --ic-*, the GATECHY theme's --gt-*,
 * and neutral values for any other theme. Light and dark follow the theme.
 */

.gtk {
	--gtk-text: var(--ic-text, var(--gt-ink, #16181d));
	--gtk-muted: var(--ic-muted, var(--gt-ink-soft, #4b5262));
	--gtk-faint: var(--ic-faint, var(--gt-ink-faint, #667085));
	--gtk-bg: var(--ic-bg, var(--gt-bg, #ffffff));
	--gtk-bg-2: var(--ic-bg-2, var(--gt-bg-alt, #f5f6f8));
	--gtk-surface: var(--ic-surface, var(--gt-surface, #ffffff));
	--gtk-line: var(--ic-line-soft, var(--gt-line, #e3e6ec));
	--gtk-line-strong: var(--ic-line, var(--gt-line, #c9ced8));
	--gtk-border-w: var(--gt-border-width, 1px);
	--gtk-shadow: var(--gt-shadow-sm, none);
	--gtk-accent: var(--ic-pink, var(--gt-primary, #2f5bff));
	--gtk-on-accent: var(--ic-on-pink, var(--gt-on-primary, #ffffff));
	--gtk-accent-ink: var(--ic-pink, var(--gt-accent-ink, #1d4ed8));
	--gtk-accent-soft: var(--ic-pink-soft, color-mix(in srgb, var(--gtk-accent) 16%, transparent));
	--gtk-ok: var(--ic-mint, var(--gt-success-ink, #0b7a3b));
	--gtk-ok-soft: var(--ic-mint-soft, color-mix(in srgb, var(--gtk-ok) 14%, transparent));
	--gtk-danger: var(--ic-danger, var(--gt-danger-ink, #b3261e));
	--gtk-focus: var(--ic-focus, var(--gt-focus, #2f5bff));
	--gtk-radius: var(--ic-radius, var(--gt-radius, 12px));
	--gtk-radius-sm: var(--ic-radius-sm, var(--gt-radius-sm, 8px));
	--gtk-radius-lg: var(--ic-radius-lg, var(--gt-radius-lg, 18px));
	--gtk-font: var(--ic-font-text, var(--gt-font-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif));
	--gtk-font-display: var(--ic-font-display, var(--gt-font-display, var(--gtk-font)));
	--gtk-input-bg: var(--ic-bg, var(--gt-surface, #ffffff));
	--gtk-top: calc(var(--ic-header-h, var(--gt-header-h, 64px)) + 24px);
	color: var(--gtk-text);
	font-family: var(--gtk-font);
}
.gtk *, .gtk *::before, .gtk *::after { box-sizing: border-box; }
.gtk :focus-visible { outline: 3px solid var(--gtk-focus); outline-offset: 3px; }
.gtk-sr, .gtk-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gtk-hp { left: -10000px; }
.gtk-icon { width: 1.1em; height: 1.1em; flex: none; }

/* Fallbacks for a theme without classes of its own (Views::theme_class()). */
.gtk-wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1200px); margin-inline: auto; }
.gtk-h1 { margin: 0 0 0.4em; font-family: var(--gtk-font-display); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
.gtk-h2 { margin: 0; font-family: var(--gtk-font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; line-height: 1.08; }
.gtk-lead { max-width: 62ch; font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--gtk-muted); }
.gtk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 46px; padding: 0.7em 1.3em; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; }
.gtk-btn--primary { background: var(--gtk-accent); color: var(--gtk-on-accent); }
.gtk-btn--ghost { border-color: var(--gtk-line-strong); color: var(--gtk-text); background: transparent; }
.gtk-eyebrow-look { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gtk-accent-ink); }
.gtk-action { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; }
.gtk-action--block { width: 100%; }
.gtk h1, .gtk h2, .gtk h3 { text-wrap: balance; }

/* ------------------------------------------------------------------------------------------------ hero */

.gtk-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 64px); }
.gtk-eyebrow { margin: 0 0 14px; }
.gtk-hero__title { max-width: 20ch; }
.gtk-hero__lead { margin: 0; }
.gtk-promises { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--gtk-muted); font-weight: 600; }
.gtk-promises li { display: inline-flex; align-items: center; gap: 8px; }
.gtk-promises .gtk-icon { color: var(--gtk-ok); }
.gtk-hero__cta { margin: 30px 0 0; }

/* ---------------------------------------------------------------------------------------------- culture */

.gtk-culture { padding: clamp(48px, 7vw, 96px) 0; background: var(--gtk-bg-2); border-block: 1px solid var(--gtk-line); }
.gtk-culture__head { display: flex; flex-direction: column; gap: 12px; }
.gtk-culture__intro { margin: 0; }
.gtk-culture__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); margin: clamp(24px, 4vw, 44px) 0 0; padding: 0; list-style: none; }
.gtk-culture__item { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 14px; padding: 20px 0; border-top: 1px solid var(--gtk-line); }
.gtk-culture__n { font-family: var(--gtk-font-display); font-size: 1.6rem; font-weight: 800; font-stretch: 120%; line-height: 1; color: var(--gtk-accent); font-variant-numeric: tabular-nums; }
.gtk-culture__t { margin: 0 0 4px; font-family: var(--gtk-font-display); font-size: 1.15rem; font-weight: 760; line-height: 1.2; }
.gtk-culture__p { margin: 0; color: var(--gtk-muted); }

/* ----------------------------------------------------------------------------------------------- roles */

.gtk-roles { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.gtk-roles__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: clamp(20px, 3vw, 32px); }
.gtk-roles__count { margin: 0; color: var(--gtk-faint); font-weight: 600; }
.gtk-roles__list { margin: 0; padding: 0; list-style: none; border-top: var(--gtk-border-w) solid var(--gtk-line); }
.gtk-role__link { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto auto; align-items: center; gap: 8px 28px; padding: 22px 12px; border-bottom: var(--gtk-border-w) solid var(--gtk-line); color: inherit; text-decoration: none; transition: background-color 0.15s; }
.gtk-role__link:hover { background: var(--gtk-surface); }
.gtk-role__link:hover .gtk-role__title { color: var(--gtk-accent-ink); }
.gtk-role__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gtk-role__title { font-family: var(--gtk-font-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); font-weight: 760; line-height: 1.15; overflow-wrap: anywhere; transition: color 0.15s; }
.gtk-role__loc { display: inline-flex; align-items: center; gap: 6px; color: var(--gtk-muted); font-weight: 600; font-size: 0.95rem; }
.gtk-role__loc .gtk-icon { width: 16px; height: 16px; color: var(--gtk-accent); }
.gtk-role__meta { color: var(--gtk-muted); font-size: 0.95rem; }
.gtk-role__pay { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gtk-role__go { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gtk-line-strong); border-radius: 999px; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.gtk-role__link:hover .gtk-role__go { background: var(--gtk-accent); border-color: var(--gtk-accent); color: var(--gtk-on-accent); }

.gtk-empty { padding: clamp(24px, 4vw, 44px); border: 1px dashed var(--gtk-line-strong); border-radius: var(--gtk-radius-lg); background: var(--gtk-surface); }
.gtk-empty__title { margin: 0 0 8px; font-family: var(--gtk-font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-weight: 780; }
.gtk-empty__text { max-width: 62ch; margin: 0; color: var(--gtk-muted); }
.gtk-empty__actions { margin: 20px 0 0; }

/* ------------------------------------------------------------------------------------- equal opportunity */

.gtk-eeo { padding: clamp(28px, 4vw, 40px) 0 clamp(48px, 6vw, 72px); }
.gtk-eeo__inner { max-width: 84ch; padding-top: 22px; border-top: 1px solid var(--gtk-line); }
.gtk-eeo__title { margin: 0 0 8px; font-family: var(--gtk-font); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gtk-faint); }
.gtk-eeo__text { margin: 0 0 8px; font-size: 0.95rem; color: var(--gtk-muted); }

/* ------------------------------------------------------------------------------------------------- a job */

.gtk-preview { padding: 12px 0; background: var(--gtk-accent-soft); border-bottom: 1px solid var(--gtk-accent); }
.gtk-preview .gtk-wrap, .gtk-preview > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.gtk-preview p { margin: 0; }
.gtk-preview__edit { font-weight: 700; color: var(--gtk-accent-ink); }
.gtk-hero--job { padding-bottom: clamp(24px, 4vw, 44px); }
.gtk-back { margin: 0 0 20px; }
.gtk-back a { display: inline-flex; align-items: center; gap: 8px; color: var(--gtk-muted); font-weight: 600; text-decoration: none; }
.gtk-back a:hover { color: var(--gtk-text); }
.gtk-job__title { max-width: 24ch; }
.gtk-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.gtk-fact { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border: var(--gtk-border-w) solid var(--gtk-line-strong); border-radius: 999px; font-size: 0.93rem; font-weight: 650; }
.gtk-fact .gtk-icon { width: 16px; height: 16px; color: var(--gtk-accent); }
.gtk-fact--loc { border-color: var(--gtk-accent); }
.gtk-fact--unset { border-style: dashed; border-color: var(--gtk-danger); color: var(--gtk-danger); }
.gtk-fact--unset .gtk-icon { color: currentColor; }

.gtk-job__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: start; gap: clamp(28px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.gtk-job__side { position: sticky; top: var(--gtk-top); }
.gtk-block { margin: 0 0 clamp(28px, 4vw, 44px); }
.gtk-block__title { margin: 0 0 12px; font-family: var(--gtk-font-display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); font-weight: 780; line-height: 1.15; }
.gtk-block p { max-width: 70ch; margin: 0 0 1em; }
.gtk-list { margin: 0; padding: 0; list-style: none; }
.gtk-list li { position: relative; max-width: 72ch; padding: 7px 0 7px 26px; }
.gtk-list li::before { content: ""; position: absolute; left: 3px; top: calc(7px + 0.55em); width: 9px; height: 9px; border-radius: 2px; background: var(--gtk-accent); transform: rotate(45deg); }

.gtk-pay { padding: clamp(20px, 2.4vw, 28px); border: var(--gtk-border-w) solid var(--gtk-line); border-radius: var(--gtk-radius-lg); background: var(--gtk-surface); box-shadow: var(--gtk-shadow); }
.gtk-pay__label { margin: 0 0 6px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gtk-faint); }
.gtk-pay__range { margin: 0; font-family: var(--gtk-font-display); font-size: clamp(1.55rem, 1.2rem + 1vw, 2rem); font-weight: 820; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gtk-pay__min { display: block; }
.gtk-pay__to { margin-right: 0.3em; font-family: var(--gtk-font); font-size: 0.55em; font-weight: 650; color: var(--gtk-muted); vertical-align: 0.12em; }
.gtk-pay__period { margin: 6px 0 14px; color: var(--gtk-muted); font-weight: 650; }
.gtk-pay__note { margin: 0 0 18px; font-size: 0.92rem; color: var(--gtk-muted); }
.gtk-pay__unset { margin: 6px 0 0; color: var(--gtk-danger); font-weight: 700; }
.gtk-pay__cta { margin: 0; }
.gtk-pay__by { margin: 12px 0 0; font-size: 0.9rem; text-align: center; color: var(--gtk-faint); }

/* ----------------------------------------------------------------------------------------------- apply */

.gtk-apply { padding: clamp(48px, 7vw, 96px) 0; background: var(--gtk-bg-2); border-top: 1px solid var(--gtk-line); scroll-margin-top: var(--ic-header-h, 64px); }
.gtk-apply__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
.gtk-apply__head { position: sticky; top: var(--gtk-top); }
.gtk-apply__lead { margin: 14px 0 0; }
.gtk-apply__steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: gtk-step; }
.gtk-apply__steps li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gtk-line); color: var(--gtk-muted); counter-increment: gtk-step; }
.gtk-apply__steps li::before { content: counter(gtk-step); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gtk-accent-soft); color: var(--gtk-accent-ink); font-size: 0.85rem; font-weight: 800; }
.gtk-apply__closed { max-width: 62ch; }
.gtk-apply__closed p { margin: 12px 0 0; color: var(--gtk-muted); }

.gtk-alert { margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--gtk-danger); border-radius: var(--gtk-radius); background: color-mix(in srgb, var(--gtk-danger) 10%, transparent); }
.gtk-alert:focus { outline: none; }
.gtk-alert__title { margin: 0; font-weight: 800; }
.gtk-alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.gtk-alert a { color: inherit; }

.gtk-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.gtk-fieldset { min-width: 0; margin: 0; padding: clamp(18px, 3vw, 28px); border: var(--gtk-border-w) solid var(--gtk-line); border-radius: var(--gtk-radius-lg); background: var(--gtk-surface); box-shadow: var(--gtk-shadow); }
.gtk-fieldset--pubs { border-color: var(--gtk-accent); box-shadow: inset 0 0 0 1px var(--gtk-accent), var(--gtk-shadow); }
.gtk-legend { float: left; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; width: 100%; margin: 0 0 16px; padding: 0; font-family: var(--gtk-font-display); font-size: 1.22rem; font-weight: 780; line-height: 1.2; }
.gtk-legend + * { clear: both; }
.gtk-legend__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gtk-accent); color: var(--gtk-on-accent); font-size: 0.95rem; }
.gtk-opt, .gtk-req { font-family: var(--gtk-font); font-size: 0.8rem; font-weight: 600; color: var(--gtk-faint); }
.gtk-fieldset__intro { margin: 0 0 16px; max-width: 64ch; }
.gtk-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.gtk-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.gtk-field label { font-size: 0.95rem; font-weight: 700; }
.gtk-form input[type="text"], .gtk-form input[type="email"], .gtk-form input[type="url"], .gtk-form textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border: var(--gtk-border-w) solid var(--gtk-line-strong); border-radius: 12px;
	background: var(--gtk-input-bg); color: var(--gtk-text); font: inherit; font-size: 1rem; line-height: 1.45;
}
.gtk-form textarea { resize: vertical; }
.gtk-form input::placeholder, .gtk-form textarea::placeholder { color: var(--gtk-faint); opacity: 0.85; }
.gtk-form input:focus, .gtk-form textarea:focus { border-color: var(--gtk-focus); outline: 3px solid color-mix(in srgb, var(--gtk-focus) 35%, transparent); outline-offset: 0; }
.gtk-form [aria-invalid="true"] { border-color: var(--gtk-danger) !important; }
.gtk-field__error { color: var(--gtk-danger); font-size: 0.9rem; font-weight: 650; }
.gtk-hint { margin: 0; color: var(--gtk-faint); font-size: 0.9rem; }

.gtk-pubs { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gtk-pub { display: grid; grid-template-columns: 30px minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 8px 14px; padding: 14px; border: 1px solid var(--gtk-line); border-radius: 14px; background: var(--gtk-bg); }
.gtk-pub__n { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 30px; border: 1px solid var(--gtk-line-strong); border-radius: 50%; color: var(--gtk-muted); font-size: 0.85rem; font-weight: 800; }
.gtk-pub__remove { grid-column: 2 / -1; justify-self: end; padding: 2px 0; border: 0; background: none; color: var(--gtk-muted); font: inherit; font-size: 0.9rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.gtk-pubs__add { margin: 14px 0 10px; }
.gtk-add { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px dashed currentColor; border-radius: 999px; background: transparent; color: var(--gtk-accent-ink); font: inherit; font-weight: 700; cursor: pointer; }
.gtk-add:hover { background: var(--gtk-accent-soft); }
.gtk-add[disabled] { opacity: 0.5; cursor: not-allowed; }

.gtk-file input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--gtk-line-strong); border-radius: 12px; background: var(--gtk-input-bg); color: var(--gtk-muted); font: inherit; }
.gtk-file input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--gtk-text); color: var(--gtk-bg); font: inherit; font-weight: 700; cursor: pointer; }
.gtk-fieldset > .gtk-field + .gtk-field { margin-top: 16px; }

.gtk-consent { padding: 16px 18px; border: 1px solid var(--gtk-line); border-radius: 14px; background: var(--gtk-surface); }
.gtk-consent.is-invalid { border-color: var(--gtk-danger); }
.gtk-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.gtk-check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gtk-accent); }
.gtk-check a { color: var(--gtk-accent-ink); }
.gtk-submit { margin: 4px 0 0; }
.gtk-submit .gtk-action { min-width: 240px; }
.gtk-submit [disabled] { opacity: 0.7; cursor: progress; }

/* ---------------------------------------------------------------------------------------- thanks, gone */

.gtk-thanks, .gtk-gone { padding: clamp(48px, 8vw, 112px) 0; }
.gtk-gone { padding-bottom: 0; }
.gtk-thanks__card { max-width: 720px; overflow-wrap: anywhere; padding: clamp(24px, 4vw, 48px); border: var(--gtk-border-w) solid var(--gtk-line); border-radius: var(--gtk-radius-lg); background: var(--gtk-surface); box-shadow: var(--gtk-shadow); }
.gtk-thanks__mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--gtk-ok-soft); color: var(--gtk-ok); }
.gtk-thanks__mark .gtk-icon { width: 28px; height: 28px; }
.gtk-thanks__lead { margin: 0 0 14px; }
.gtk-thanks__ref { font-weight: 700; font-variant-numeric: tabular-nums; }
.gtk-thanks__next { color: var(--gtk-muted); }
.gtk-thanks__actions { margin: 24px 0 0; }

/* ------------------------------------------------------------------------------------------ narrower */

@media (max-width: 960px) {
	.gtk-job__grid, .gtk-apply__grid { grid-template-columns: minmax(0, 1fr); }
	.gtk-job__side { position: static; order: -1; }
	.gtk-apply__head { position: static; }
	.gtk-role__link { grid-template-columns: minmax(0, 1fr) auto; }
	.gtk-role__main { grid-column: 1; grid-row: 1; }
	.gtk-role__go { grid-column: 2; grid-row: 1 / span 3; }
	.gtk-role__meta { grid-column: 1; grid-row: 2; }
	.gtk-role__pay { grid-column: 1; grid-row: 3; white-space: normal; }
}
@media (max-width: 720px) {
	.gtk-culture__list, .gtk-grid-2 { grid-template-columns: minmax(0, 1fr); }
	.gtk-pub { grid-template-columns: 28px minmax(0, 1fr); }
	.gtk-pub__n { margin-top: 30px; }
	.gtk-pub__doi { grid-column: 2; }
	.gtk-pub__remove { grid-column: 2; }
	.gtk-role__link { padding-inline: 4px; }
	.gtk-submit .gtk-action { width: 100%; min-width: 0; }
	.gtk-promises { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.gtk-role__link, .gtk-role__go, .gtk-role__title { transition: none; }
}

/* ------------------------------------------------------------------------------------- a job offer */

.gtk-offer { padding-bottom: clamp(40px, 6vw, 88px); }
.gtk-offer-hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 48px); }
.gtk-offer-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--gtk-accent), color-mix(in srgb, var(--gtk-accent) 40%, transparent)); }
.gtk-offer-hero__title { max-width: 18ch; margin: 0 0 0.3em; }
.gtk-offer-hero__lead { margin: 0; }
.gtk-offer-due { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 24px 0 0; padding: 8px 16px; border: var(--gtk-border-w) solid var(--gtk-line-strong); border-radius: 999px; background: var(--gtk-surface); font-weight: 700; }
.gtk-offer-due__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gtk-accent); box-shadow: 0 0 0 4px var(--gtk-accent-soft); }
.gtk-offer-due__left { color: var(--gtk-muted); font-weight: 600; }
.gtk-offer-hero__cta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 22px 0 0; }
.gtk-offer-flash { margin: 0 0 22px; padding: 14px 18px; border: 1px solid var(--gtk-ok); border-radius: var(--gtk-radius); background: var(--gtk-ok-soft); font-weight: 650; }

.gtk-offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: start; gap: clamp(24px, 4vw, 56px); }
.gtk-offer__grid--done { grid-template-columns: minmax(0, 1fr); }
.gtk-offer__grid--done .gtk-offer__main { max-width: 860px; }
.gtk-offer__main { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 26px); min-width: 0; }
.gtk-offer__side { position: sticky; top: var(--gtk-top); scroll-margin-top: var(--gtk-top); }
.gtk-offer-card { padding: clamp(20px, 3vw, 32px); border: var(--gtk-border-w) solid var(--gtk-line); border-radius: var(--gtk-radius-lg); background: var(--gtk-surface); box-shadow: var(--gtk-shadow); }
.gtk-offer-card__title { margin: 0 0 14px; font-family: var(--gtk-font-display); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 780; line-height: 1.2; }
.gtk-offer-card p { margin: 0 0 0.8em; }
.gtk-offer-pay { margin: 0 0 18px; padding: 18px 20px; border-radius: var(--gtk-radius); background: var(--gtk-accent-soft); }
.gtk-offer-pay p { margin: 0; }
.gtk-offer-pay__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gtk-accent-ink); }
.gtk-offer-pay__amount { font-family: var(--gtk-font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 820; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gtk-offer-pay__cur { color: var(--gtk-muted); font-weight: 650; }
.gtk-offer-rows { margin: 0; }
.gtk-offer-row { display: grid; grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr); gap: 4px 18px; padding: 12px 0; border-top: 1px solid var(--gtk-line); }
.gtk-offer-row dt { color: var(--gtk-muted); font-weight: 650; font-size: 0.95rem; }
.gtk-offer-row dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.gtk-offer-note { margin: 0; padding: clamp(18px, 2.6vw, 28px) clamp(20px, 3vw, 32px); border-left: 4px solid var(--gtk-accent); border-radius: 0 var(--gtk-radius-lg) var(--gtk-radius-lg) 0; background: var(--gtk-bg-2); }
.gtk-offer-note blockquote { margin: 0; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); font-style: italic; line-height: 1.55; }
.gtk-offer-note blockquote p { margin: 0 0 0.6em; }
.gtk-offer-note figcaption { display: flex; flex-direction: column; margin-top: 8px; }
.gtk-offer-note figcaption span { color: var(--gtk-muted); font-size: 0.92rem; }
.gtk-offer-letter__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.gtk-offer-letter__head .gtk-offer-card__title { margin: 0; }
.gtk-offer-letter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 !important; }
.gtk-offer-letter__dl { color: var(--gtk-accent-ink); font-weight: 700; }
.gtk-offer-pages { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(14px, 3vw, 28px); border-radius: var(--gtk-radius); background: var(--gtk-bg-2); }
.gtk-offer-page { display: block; width: 100%; max-width: 612px; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 14px 40px rgba(16, 24, 40, 0.16); }
.gtk-offer-page img { display: block; width: 100%; height: auto; }

.gtk-offer-act { padding: clamp(20px, 2.6vw, 28px); border: var(--gtk-border-w) solid var(--gtk-line); border-radius: var(--gtk-radius-lg); background: var(--gtk-surface); box-shadow: var(--gtk-shadow); }
.gtk-offer-act__title { margin: 0 0 14px; font-family: var(--gtk-font-display); font-size: 1.35rem; font-weight: 800; }
.gtk-offer-act .gtk-form { gap: 14px; }
.gtk-offer-act .gtk-submit .gtk-action { width: 100%; min-width: 0; }
.gtk-offer-accept { min-height: 52px; font-size: 1.05rem; }
.gtk-offer-record { font-size: 0.82rem; }
.gtk-offer-more { margin-top: 14px; border-top: 1px solid var(--gtk-line); }
.gtk-offer-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 4px; font-weight: 700; cursor: pointer; list-style: none; }
.gtk-offer-more > summary::-webkit-details-marker { display: none; }
.gtk-offer-more > summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--gtk-line-strong); border-radius: 50%; font-weight: 800; }
.gtk-offer-more[open] > summary::after { content: "\2212"; }
.gtk-offer-more .gtk-form { margin-top: 10px; }
.gtk-offer-kind { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; }
.gtk-offer-act input[disabled], .gtk-offer-act textarea[disabled], .gtk-offer-act button[disabled] { opacity: 0.55; cursor: not-allowed; }
.gtk-offer-contact { margin: 16px 0 0; color: var(--gtk-muted); font-size: 0.92rem; }
.gtk-offer-contact a { color: var(--gtk-accent-ink); font-weight: 700; }

.gtk-offer-hero--done { text-align: left; }
.gtk-offer-done { max-width: 760px; }
.gtk-offer-done__mark { width: 64px; height: 64px; }
.gtk-offer-next { margin: 0 0 8px; padding: 0; list-style: none; counter-reset: gtk-next; }
.gtk-offer-next li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--gtk-line); counter-increment: gtk-next; }
.gtk-offer-next li::before { content: counter(gtk-next); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gtk-accent); color: var(--gtk-on-accent); font-size: 0.85rem; font-weight: 800; }
.gtk-offer-done .gtk-offer-card__title { margin-top: 28px; }
.gtk-offer-welcome-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.gtk-offer-hero--closed .gtk-offer-closed { max-width: 720px; }

@media (max-width: 960px) {
	.gtk-offer__grid { grid-template-columns: minmax(0, 1fr); }
	.gtk-offer__side { position: static; }
}
@media (max-width: 560px) {
	.gtk-offer-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.gtk-offer-hero__cta .gtk-action { flex: 1 1 100%; }
	.gtk-offer-pages { padding: 10px; }
}

/* ------------------------------------------------------------------------------------- a work sample */

.gtk-sample .gtk-offer-hero__title { max-width: 22ch; }
.gtk-sample-made-up { display: inline-block; margin: 20px 0 0; padding: 8px 16px; border: var(--gtk-border-w) solid var(--gtk-line-strong); border-radius: 999px; background: var(--gtk-surface); color: var(--gtk-muted); font-weight: 650; font-size: 0.95rem; }
.gtk-sample__body { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 26px); }
.gtk-sample__body > * { max-width: 900px; }
.gtk-sample-question { font-family: var(--gtk-font-display); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 700; line-height: 1.35; }
.gtk-sample-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.gtk-sample-sub { margin: 10px 0 6px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gtk-faint); }
.gtk-sample-form { gap: 16px; }
.gtk-sample-record.is-invalid { border-color: var(--gtk-danger); }
.gtk-sample-record .gtk-legend { align-items: flex-start; flex-wrap: nowrap; font-size: 1.08rem; }
.gtk-sample-record__title { min-width: 0; overflow-wrap: anywhere; padding-top: 3px; }
.gtk-sample-abstract { max-width: 78ch; margin: 0 0 14px; color: var(--gtk-muted); line-height: 1.6; }
.gtk-sample-decide { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.gtk-sample-choice { align-items: center; padding: 9px 18px 9px 14px; border: var(--gtk-border-w) solid var(--gtk-line-strong); border-radius: 999px; font-weight: 700; }
.gtk-sample-choice input { margin: 0; }
.gtk-sample-choice:has(input:checked) { border-color: var(--gtk-accent); background: var(--gtk-accent-soft); }
.gtk-sample-choice--include:has(input:checked) { border-color: var(--gtk-ok); background: var(--gtk-ok-soft); }
.gtk-sample-record .gtk-field { margin-top: 12px; }
.gtk-sample-paper p { max-width: 78ch; line-height: 1.65; }
.gtk-sample-once { max-width: 70ch; }
.gtk-sample [disabled] { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 720px) {
	.gtk-sample-cols { grid-template-columns: minmax(0, 1fr); }
	.gtk-sample-choice { flex: 1 1 0; justify-content: center; }
}
