/*
Theme Name: The IT Guy KC
Theme URI: https://www.theitguykc.com/
Author: The IT Guy KC
Description: A lightweight, project-focused WordPress theme for an independent Kansas City IT consultant.
Version: 0.10.8
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: theitguykc
*/

@font-face {
  font-family: "Prompt";
  src: url("assets/fonts/prompt-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Prompt";
  src: url("assets/fonts/prompt-500-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Prompt";
  src: url("assets/fonts/prompt-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Prompt";
  src: url("assets/fonts/prompt-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --white: #fff;
  --paper: #f1f2f6;
  --paper-deep: #e5e6ec;
  --ink: #17151b;
  --muted: #55515f;
  --brand-main: #5f71bd;
  --brand-on-dark: #aab6ea;
  --brand-bright: #9b23ea;
  --brand-deep: #823dd9;
  --brand-wash: #f0f1f9;
  --brand-bright-wash: #f7f0fc;
  --header-surface: #211c29;
  --hero-surface: #2c2635;
  --hero-rule: #51475d;
  --form-surface: #e3e2ea;
  --form-surface-strong: #d9d8e2;
  --line: #d8d8e1;
  --line-dark: #a6a3af;
  --success: #285e49;
  --danger: #a12f2f;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
  --shell: min(1320px, calc(100vw - 40px));
  --frame: min(2360px, calc(100vw - clamp(40px, 8vw, 300px)));
  --reading: 760px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--brand-bright);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ink);
}

::selection {
  background: var(--brand-bright-wash);
  color: var(--ink);
}

h1,
h2 {
  margin: 0 0 0.55em;
  font-family: "Prompt", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3,
h4 {
  margin: 0 0 0.55em;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 4.3vw, 4.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.35em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.frame {
  width: var(--frame);
  margin-inline: auto;
}

.reading-width {
  max-width: var(--reading);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-label,
.eyebrow,
.section-kicker,
.ticket-label,
.project-kind {
  margin-bottom: 1.25rem;
  color: var(--brand-deep);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid #494150;
  background: var(--header-surface);
}

.site-header__inner {
  width: var(--frame);
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__symbol {
  display: block;
  width: 48px;
  flex: 0 0 auto;
}

.brand__symbol img {
  width: 100%;
}

.brand__wordmark {
  width: 226px;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(16px, 2vw, 29px);
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #f4f2f7;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--brand-main);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--brand-main);
  border-radius: var(--radius);
  background: transparent;
  color: #f4f2f7;
}

.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid var(--brand-main);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--brand-main);
  color: var(--white);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: var(--white);
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.86rem;
}

.button--secondary {
  background: transparent;
  color: var(--brand-deep);
}

.button--secondary:hover {
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.button--text {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: var(--brand-main);
  text-underline-offset: 5px;
}

.button--text:hover {
  background: none;
  color: var(--brand-bright);
}

.button-row {
  display: flex;
  margin-top: 1.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.hero {
  position: relative;
  overflow: visible;
  border-bottom: 1px solid var(--hero-rule);
  background: var(--hero-surface);
  color: #fbfaff;
}

.hero__grid {
  display: grid;
  min-height: 710px;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(38px, 5.5vw, 96px);
  align-items: center;
}

.hero__copy {
  position: relative;
  display: flex;
  max-width: 900px;
  padding: clamp(82px, 8vw, 126px) 0 clamp(76px, 7vw, 108px);
  flex-direction: column;
  justify-content: center;
}

.hero__copy::before {
  display: none;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--brand-on-dark);
}

.hero .eyebrow::before {
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--brand-main);
  content: "";
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.05rem, 4.4vw, 4.65rem);
  line-height: 1.02;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  max-width: 760px;
  margin-top: 0.16em;
  color: #d9d5df;
  font-size: 0.76em;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.018em;
}

.hero__copy .lead {
  max-width: 680px;
  color: #d9d5df;
  font-size: clamp(1.13rem, 1.6vw, 1.35rem);
  line-height: 1.58;
}

.fact-strip {
  display: flex;
  margin: 2.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid #5a5366;
  flex-wrap: wrap;
  gap: 10px 0;
  list-style: none;
}

.fact-strip li {
  padding: 0 18px;
  border-right: 1px solid #5a5366;
  color: #ece8f1;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.fact-strip li:first-child {
  padding-left: 0;
}

.fact-strip li:last-child {
  border-right: 0;
}

.hero .button--secondary {
  border-color: var(--brand-main);
  color: var(--white);
}

.hero .hero__text-link {
  min-height: 50px;
  padding-inline: 5px;
  color: #f7f4fa;
  text-decoration-color: var(--brand-main);
}

.hero .hero__text-link:hover {
  color: var(--white);
  text-decoration-color: var(--brand-bright);
}

.hero__text-link span {
  color: var(--brand-on-dark);
}

.hero .button--secondary:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: var(--white);
}

.work-order {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  margin-right: 0;
  border: 1px solid #8b8795;
  border-top: 4px solid var(--brand-main);
  background: var(--form-surface);
  color: #292530;
  box-shadow: 0 18px 48px rgba(8, 6, 14, 0.24);
}

.work-order::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 44px;
  width: 1px;
  background: rgba(95, 113, 189, 0.52);
  content: "";
}

.work-order__top {
  display: flex;
  padding: 18px 20px 18px 66px;
  border-bottom: 1px solid #777282;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--form-surface-strong);
}

.work-order__top strong {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.05rem;
}

.work-order__status {
  display: inline-block;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--brand-main);
  color: #34447f;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.work-order__row {
  min-height: 112px;
  padding: 19px 22px 20px 66px;
  border-bottom: 1px solid #cbc9d4;
}

.work-order__row:last-of-type {
  border-bottom: 0;
}

.work-order__row p:last-child {
  margin-bottom: 0;
  color: #45404c;
  font-size: 0.98rem;
  line-height: 1.45;
}

.work-order__action {
  display: block;
  padding: 19px 22px 20px 66px;
  border-top: 1px solid #777282;
  background: var(--brand-main);
  color: var(--white);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.work-order__action:hover {
  background: var(--brand-deep);
  color: var(--white);
}

.section {
  padding-block: clamp(70px, 9vw, 126px);
}

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section--ink {
  background: #211c29;
  color: var(--white);
}

.section--ink .section-kicker,
.section--ink .utility-label {
  color: var(--brand-on-dark);
}

.section-heading {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 50px;
  align-items: end;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin: 0 0 0.3em;
  color: var(--muted);
  font-size: 1.12rem;
}

.section--ink .section-heading > p:last-child {
  color: #cbc8d3;
}

.section--ink .button--secondary {
  color: var(--white);
}

.section--ink .button--secondary:hover {
  color: var(--white);
}

.service-ledger {
  border-top: 2px solid var(--ink);
}

.section--ink .service-ledger {
  border-color: var(--white);
}

.service-row {
  display: grid;
  padding: 27px 10px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 104px minmax(240px, 0.7fr) minmax(0, 1fr) 42px;
  align-items: center;
  gap: 26px;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.section--ink .service-row {
  border-color: #43404b;
}

.service-row__number {
  color: var(--brand-deep);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.section--ink .service-row__number {
  color: var(--brand-on-dark);
}

.service-row h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.section--ink .service-row p {
  color: #c8c5cf;
}

.service-row__arrow {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--line-dark);
  align-items: center;
  justify-content: center;
  color: var(--brand-deep);
  font-size: 1.2rem;
  transition: color 160ms ease, transform 160ms ease;
}

.section--ink .service-row__arrow {
  border-color: #615d69;
  color: var(--white);
}

.service-row:hover h3 {
  color: var(--brand-bright);
}

.service-row:hover,
.service-row:focus-visible {
  background: rgba(95, 113, 189, 0.07);
}

.service-row:hover .service-row__arrow {
  border-color: var(--brand-deep);
  background: transparent;
  color: var(--brand-deep);
  transform: translateX(3px);
}

.process-rail {
  display: block;
  border-top: 2px solid var(--ink);
}

.process-step {
  display: grid;
  min-height: 0;
  padding: 25px 8px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 78px minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: 26px;
  align-items: start;
}

.process-step__number {
  display: block;
  margin: 0;
  color: var(--brand-deep);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
}

.process-step h3 {
  margin: 0;
  font-size: 1.2rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.work-list {
  display: grid;
  border-top: 2px solid currentColor;
}

.work-item {
  display: grid;
  padding: 32px 0;
  border-bottom: 1px solid #45424d;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr) auto;
  gap: 38px;
  align-items: start;
}

.work-item h3 {
  margin-bottom: 0;
  color: var(--white);
}

.work-item p {
  color: #c8c5cf;
}

.work-item__facts {
  display: flex;
  margin: 17px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.work-item__facts li {
  padding: 5px 8px;
  border: 1px solid #55515e;
  color: #dedbe4;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.69rem;
  font-weight: 400;
}

.work-item__availability {
  margin: 0;
  align-self: center;
  color: #d7daec;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-evidence__shell {
  width: var(--frame);
}

.home-evidence__feature {
  display: grid;
  padding-block: 34px 46px;
  border-top: 2px solid #f4f2f7;
  border-bottom: 1px solid #4b4553;
  grid-template-columns: minmax(320px, 520px) minmax(540px, 980px);
  justify-content: space-between;
  gap: clamp(50px, 8vw, 150px);
  align-items: center;
}

.home-evidence__copy {
  max-width: 520px;
}

.home-evidence__copy h3 {
  margin-bottom: 0.65em;
  color: var(--white);
  font-family: "Prompt", sans-serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.home-evidence__copy > p:not([class]) {
  color: #d3cfda;
  font-size: 1.08rem;
}

.home-evidence__copy .work-item__facts {
  margin-bottom: 28px;
}

.home-evidence__artifact {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid #696171;
  background: #18151d;
  box-shadow: 18px 18px 0 rgba(95, 113, 189, 0.16);
}

.home-evidence__artifact figcaption {
  display: flex;
  margin-bottom: 14px;
  justify-content: space-between;
  gap: 20px;
  color: #c9c4d0;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-evidence__artifact figcaption span:first-child {
  color: var(--brand-on-dark);
}

.home-evidence__pages {
  display: grid;
  padding: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
  background: var(--paper-deep);
}

.home-evidence__pages img {
  width: 100%;
  border: 1px solid #c4c1cb;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.home-evidence__register {
  border-bottom: 1px solid #4b4553;
}

.home-evidence__register .work-item {
  grid-template-columns: minmax(240px, 0.55fr) minmax(360px, 1fr) minmax(170px, auto);
}

.home-evidence__projects {
  border-top: 1px solid #4b4553;
}

.home-project-record {
  display: grid;
  padding-block: clamp(42px, 5vw, 72px);
  border-bottom: 1px solid #4b4553;
  grid-template-columns: minmax(220px, 0.5fr) minmax(500px, 1.35fr) minmax(250px, 0.65fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: center;
}

.home-project-record__header h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
}

.home-project-record__status {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid #55515e;
  color: #b7c1ee;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-project-record__preview {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #696171;
  background: #16121b;
  box-shadow: 14px 14px 0 rgba(95, 113, 189, 0.13);
}

.home-project-record__preview:focus-visible {
  outline: 3px solid var(--brand-on-dark);
  outline-offset: 5px;
}

.home-project-record__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.home-project-record__preview > img:last-child {
  position: absolute;
  right: 3.5%;
  bottom: 4.5%;
  width: 51%;
  height: auto;
  border: 3px solid #15121a;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.home-project-record__preview--switchyard {
  border-color: #315d93;
  background: #09264a;
}

.home-project-record__preview--switchyard > img:last-child {
  right: 4%;
  bottom: 4%;
  width: 23%;
  height: 72%;
  border: 4px solid #111820;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.home-project-record__details > p {
  margin: 0;
  color: #d3cfda;
}

.home-project-record__details .work-item__facts {
  margin-block: 20px 24px;
}

.home-project-record__details .button-row {
  align-items: center;
  gap: 14px 18px;
}

.home-project-record__notes {
  color: #d7daec;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 550;
  text-underline-offset: 5px;
}

.page-hero--work h1 {
  max-width: 760px;
}

.project-showcase {
  padding-top: clamp(66px, 8vw, 108px);
}

.project-showcase__intro {
  margin-bottom: 10px;
}

.case-study {
  display: grid;
  padding-block: clamp(64px, 8vw, 108px);
  border-top: 2px solid var(--ink);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.case-study__copy,
.case-study__visual {
  min-width: 0;
}

.case-study__copy > p:not([class]) {
  color: #3f3b47;
  font-size: 1.08rem;
}

.case-study__number {
  margin: 18px 0 8px;
  color: var(--brand-main);
  font-family: "Prompt", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.case-study h2 {
  max-width: 680px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.case-study__relevance {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #3f3b47;
}

.case-study__limit {
  margin-top: 25px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand-main);
  background: var(--brand-wash);
  color: #36323d;
  font-size: 0.94rem;
  line-height: 1.55;
}

.case-study__disclaimer {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.evidence-ledger {
  display: grid;
  margin: 30px 0 0;
  border-top: 2px solid var(--ink);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evidence-ledger > div {
  padding: 15px 15px 17px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-ledger > div:nth-child(odd) {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.evidence-ledger > div:nth-child(even) {
  padding-left: 18px;
}

.evidence-ledger dt {
  margin-bottom: 5px;
  color: var(--brand-deep);
  font-family: "Prompt", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-ledger dd {
  margin: 0;
  color: #37333e;
  font-size: 0.93rem;
  line-height: 1.4;
}

.case-study__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.case-study__visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  z-index: 3;
  margin: 0;
  color: #f4f2f7;
  font-family: "Prompt", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.report-spread {
  min-height: 690px;
  border: 1px solid #3e3549;
  background:
    linear-gradient(135deg, rgba(95, 113, 189, 0.28), transparent 44%),
    #211b2a;
}

.report-spread::before {
  position: absolute;
  top: 26px;
  left: 30px;
  color: #b8c1ec;
  font-family: "Prompt", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  content: "Security assessment report";
}

.report-spread__sheet {
  position: absolute;
  width: 53%;
  overflow: hidden;
  border: 1px solid #cbc8d3;
  background: var(--white);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
}

.report-spread__sheet img {
  width: 100%;
}

.report-spread__sheet--back {
  top: 72px;
  right: 5%;
  transform: rotate(2deg);
}

.report-spread__sheet--front {
  bottom: 62px;
  left: 5%;
  z-index: 2;
  transform: rotate(-1deg);
}

.case-study--lead {
  margin-inline: calc(clamp(18px, 3vw, 42px) * -1);
  padding-inline: clamp(24px, 4vw, 52px);
  border-top-color: var(--brand-main);
  background: #211b2a;
  color: var(--white);
}

.case-study--lead .case-study__copy {
  grid-column: 2;
}

.case-study--lead .case-study__visual {
  grid-column: 1;
  grid-row: 1;
}

.case-study--lead .project-kind,
.case-study--lead .case-study__number {
  color: #b7c1ee;
}

.case-study--lead .case-study__copy > p:not([class]),
.case-study--lead .case-study__relevance {
  color: #d8d5df;
}

.case-study--lead .case-study__relevance {
  border-color: #51475d;
}

.case-study--lead .evidence-ledger {
  border-top-color: #75678a;
}

.case-study--lead .evidence-ledger > div {
  border-color: #51475d;
}

.case-study--lead .evidence-ledger dt {
  color: #b7c1ee;
}

.case-study--lead .evidence-ledger dd {
  color: #e5e2e9;
}

.case-study--lead .case-study__limit {
  border-color: #9b7bed;
  background: #30293b;
  color: #e5e2e9;
}

.case-study--lead .button--secondary {
  color: var(--white);
}

.case-study--lead .button--secondary:hover {
  color: var(--white);
}

.lead-workflow {
  border: 1px solid #5a4d66;
  background: #17131d;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.lead-workflow__head {
  display: flex;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid #51475d;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #c9c4d0;
  font-family: "Prompt", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-workflow__head span:last-child {
  padding: 5px 8px;
  border: 1px solid #75678a;
  color: #b7c1ee;
}

.lead-workflow__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-workflow__steps li {
  display: grid;
  min-height: 112px;
  padding: 20px 22px;
  border-bottom: 1px solid #403747;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 12px;
  align-content: center;
}

.lead-workflow__steps li > span {
  color: #aab6ea;
  font-family: "Prompt", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  grid-row: 1 / 3;
}

.lead-workflow__steps strong {
  color: var(--white);
  font-family: "Prompt", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.lead-workflow__steps small {
  color: #bbb6c2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.lead-workflow__status {
  display: grid;
  padding: 18px 22px;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 1px 10px;
  align-items: center;
  background: #30293b;
}

.lead-workflow__status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #aab6ea;
  grid-row: 1 / 3;
}

.lead-workflow__status strong {
  color: #f3f1f5;
  font-family: "Prompt", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

.lead-workflow__status small {
  color: #bbb6c2;
  font-size: 0.74rem;
}

.leadscraper-preview {
  min-height: 610px;
  border: 1px solid #5a4d66;
  background:
    linear-gradient(145deg, rgba(95, 113, 189, 0.22), transparent 44%),
    #141823;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.leadscraper-preview::before {
  position: absolute;
  top: 17px;
  left: 22px;
  z-index: 3;
  color: #b7c1ee;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  content: "Product tour / dashboard and data";
}

.leadscraper-preview__link {
  position: absolute;
  inset: 0;
  display: block;
}

.leadscraper-preview__link:focus-visible {
  outline: 3px solid #b7c1ee;
  outline-offset: -7px;
}

.leadscraper-preview__overview,
.leadscraper-preview__dataset {
  position: absolute;
  overflow: hidden;
  border: 4px solid #111722;
  background: #eef2f7;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
}

.leadscraper-preview__overview {
  top: 56px;
  right: 10%;
  left: 4%;
}

.leadscraper-preview__dataset {
  right: 3%;
  bottom: 56px;
  z-index: 2;
  width: 59%;
}

.leadscraper-preview img {
  display: block;
  width: 100%;
}

.switchyard-preview {
  min-height: 600px;
  padding: 36px 22px 58px;
  border: 1px solid #183c6b;
  background:
    linear-gradient(155deg, rgba(255, 216, 89, 0.13), transparent 42%),
    #09264a;
}

.switchyard-preview::before {
  position: absolute;
  top: 14px;
  left: 22px;
  color: #f7d755;
  font-family: "Prompt", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  content: "Responsive concept";
}

.switchyard-preview__desktop {
  position: absolute;
  top: 58px;
  right: 8%;
  left: 5%;
  overflow: hidden;
  border: 5px solid #111820;
  background: #111820;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.38);
}

.switchyard-preview__desktop img {
  width: 100%;
}

.switchyard-preview__mobile {
  position: absolute;
  right: 3.5%;
  bottom: 54px;
  z-index: 2;
  width: 27%;
  overflow: hidden;
  border: 5px solid #111820;
  border-radius: 9px;
  background: #111820;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
}

.switchyard-preview__mobile img {
  width: 100%;
}

.page-hero {
  padding-block: clamp(78px, 8vw, 118px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero__grid {
  display: grid;
  width: var(--frame);
  grid-template-columns: minmax(0, 900px) minmax(300px, 440px);
  justify-content: space-between;
  gap: clamp(70px, 10vw, 210px);
  align-items: end;
}

.page-hero__intro {
  max-width: 760px;
  margin-top: 1.6rem;
  color: #474350;
  font-size: 1.18rem;
}

.page-hero__note {
  max-width: 440px;
  padding: 24px 26px 25px;
  border-top: 4px solid var(--brand-main);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--paper-deep);
}

.page-hero__note p:last-child {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(40px, 8vw, 110px);
}

.check-list,
.deliverable-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.check-list li,
.deliverable-list li {
  position: relative;
  padding: 16px 8px 16px 38px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before,
.deliverable-list li::before {
  position: absolute;
  top: 17px;
  left: 5px;
  color: var(--brand-deep);
  font-family: "Prompt", sans-serif;
  content: "✓";
}

.scope-grid {
  display: block;
  border-top: 2px solid var(--ink);
}

.scope-item {
  display: grid;
  min-height: 0;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1.38fr);
  gap: 30px;
  align-items: start;
}

.scope-item h3,
.scope-item .utility-label {
  margin: 0;
}

.scope-item p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.notice {
  padding: 24px 28px;
  border-top: 3px solid var(--brand-main);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.notice p:last-child {
  margin-bottom: 0;
}

.closing-panel {
  display: grid;
  padding: 34px 0;
  border-top: 4px solid var(--brand-main);
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--white);
  color: var(--ink);
}

.closing-panel__index {
  display: grid;
  min-height: 100%;
  padding-right: 26px;
  border-right: 1px solid var(--line);
  align-content: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closing-panel__index strong {
  color: var(--brand-deep);
  font-size: 0.84rem;
}

.closing-panel__copy {
  max-width: 760px;
}

.closing-panel h2 {
  max-width: 720px;
}

.closing-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.closing-panel .button {
  border-color: var(--brand-main);
  background: var(--brand-main);
  color: var(--white);
}

.closing-panel .button:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: var(--white);
}

.section--advisory {
  padding-block: clamp(58px, 7vw, 94px);
  background: #27212f;
  color: var(--white);
}

.advisory-record {
  display: grid;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid #62586d;
  border-top: 4px solid var(--brand-main);
  grid-template-columns: 138px minmax(300px, 1.2fr) minmax(300px, 0.8fr) auto;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  background: #30293b;
  box-shadow: 14px 14px 0 rgba(95, 113, 189, 0.14);
}

.advisory-record__index {
  display: grid;
  align-content: center;
  gap: 6px;
  color: #bbb6c2;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.advisory-record__index strong {
  color: var(--brand-on-dark);
  font-family: "Prompt", sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

.advisory-record__copy .section-kicker {
  color: var(--brand-on-dark);
}

.advisory-record__copy h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
}

.advisory-record__copy > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #d7d2dc;
}

.advisory-record__details {
  margin: 0;
  border-top: 1px solid #655b70;
}

.advisory-record__details > div {
  display: grid;
  padding: 11px 0;
  border-bottom: 1px solid #514858;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
}

.advisory-record__details dt {
  color: var(--brand-on-dark);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advisory-record__details dd {
  margin: 0;
  color: #d7d2dc;
  font-size: 0.88rem;
  line-height: 1.42;
}

.service-advisory {
  border-block: 1px solid #514858;
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  grid-template-areas: "aside main";
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.intake-main {
  min-width: 0;
  grid-area: main;
}

.intake-aside {
  position: sticky;
  top: 30px;
  grid-area: aside;
}

.intake-aside ul {
  margin-top: 24px;
  padding: 0;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  list-style: none;
}

.intake-aside li {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.45;
}

.contact-page .page-hero {
  padding-block: clamp(58px, 6vw, 88px);
}

.contact-page > .section {
  padding-block: clamp(56px, 7vw, 90px);
}

.intake-form {
  position: relative;
  border: 1px solid var(--line-dark);
  border-top: 4px solid var(--brand-main);
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--paper-deep);
}

.intake-form__head {
  display: flex;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line-dark);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.intake-form__head p {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
}

.intake-form__body,
.intake-form .tgkc-intake-form {
  display: grid;
  padding: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.intake-form .wpcf7-form {
  margin: 0;
}

.intake-form .form-intro {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  grid-column: 1 / -1;
}

.form-field,
.intake-form .tgkc-intake-form > p {
  margin: 0;
}

.form-field--full,
.intake-form .tgkc-intake-form > p:has(textarea),
.intake-form .tgkc-intake-form > p:has(.wpcf7-acceptance),
.intake-form .tgkc-intake-form > p:has(.wpcf7-submit) {
  grid-column: 1 / -1;
}

.intake-form .wpcf7-response-output {
  margin: 0 28px 28px;
  padding: 14px 16px;
}

.form-field label,
.intake-form .wpcf7-form label {
  display: block;
  margin-bottom: 7px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.91rem;
  font-weight: 600;
}

.required-mark {
  color: var(--danger);
}

.form-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.4;
}

.form-field input,
.form-field select,
.form-field textarea,
.intake-form .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.intake-form .wpcf7-form select,
.intake-form .wpcf7-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}

.form-field textarea,
.intake-form .wpcf7-form textarea {
  height: 170px;
  min-height: 130px;
  resize: vertical;
}

.intake-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.intake-form .wpcf7-acceptance label {
  display: flex;
  min-height: 44px;
  margin: 0;
  align-items: flex-start;
  gap: 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.intake-form .wpcf7-acceptance input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  margin: 0.2rem 0 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--brand-deep);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-deep);
  background: var(--white);
}

.form-security-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-left: 4px solid var(--brand-main);
  background: var(--brand-wash);
  font-size: 0.88rem;
}

.form-security-note p {
  margin: 0;
}

.form-preview-note {
  padding: 14px 25px;
  border-bottom: 1px solid var(--line);
  background: var(--brand-bright-wash);
  color: var(--brand-deep);
  font-size: 0.85rem;
}

.form-preview-note p {
  margin: 0;
}

.form-privacy-link {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.inquiry-use-note {
  margin-bottom: 18px;
  padding: 15px 18px;
  border-top: 3px solid var(--brand-main);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
  color: #3f3b47;
  font-size: 0.92rem;
}

.inquiry-use-note p,
.service-proof p:last-child {
  margin-bottom: 0;
}

.service-proof h3 {
  margin: 8px 0 10px;
  font-size: 1.25rem;
}

.is-preview input,
.is-preview select,
.is-preview textarea {
  opacity: 0.74;
}

.is-preview .button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.intake-form .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.article-body {
  max-width: var(--reading);
}

.article-body h2 {
  margin-top: 2.2em;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  display: grid;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: 45px;
}

.faq-item h2 {
  margin: 0;
  font-size: 1.18rem;
}

.faq-item p {
  margin: 0;
}

.site-footer {
  padding-top: 64px;
  border-top: 1px solid #4a4251;
  background: #1b171f;
  color: #d5d2dc;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.95fr;
  gap: clamp(35px, 8vw, 100px);
}

.site-footer__lockup {
  display: block;
  width: 176px;
  margin-bottom: 20px;
}

.site-footer__lockup img {
  width: 100%;
}

.site-footer .utility-label {
  color: var(--brand-on-dark);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 2px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #e8e5ec;
}

.site-footer__bottom {
  display: flex;
  margin-top: 58px;
  padding-block: 22px;
  border-top: 1px solid #3b3842;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: "Prompt", sans-serif;
  font-size: 0.7rem;
}

.site-footer__bottom p {
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

@media (min-width: 1180px) {
  .work-order {
    transform: translateY(54px);
  }

  .tgkc-home .hero + .section {
    padding-top: calc(clamp(70px, 9vw, 126px) + 54px);
  }
}

@media (min-width: 1560px) {
  .hero__grid {
    grid-template-columns: minmax(640px, 900px) minmax(460px, 560px);
    justify-content: space-between;
  }

  .page-hero--work .page-hero__grid,
  .project-showcase > .shell {
    width: var(--frame);
  }

  .project-showcase .case-study__copy > p:not([class]) {
    max-width: 70ch;
  }
}

@media (max-width: 1280px) {
  .case-study--lead {
    margin-inline: 0;
  }

  .home-project-record {
    grid-template-columns: minmax(210px, 0.48fr) minmax(0, 1fr);
  }

  .home-project-record__details {
    grid-column: 2;
  }

  .advisory-record {
    grid-template-columns: 110px minmax(0, 1fr) minmax(280px, 0.8fr);
  }

  .advisory-record .button {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

@media (max-width: 1020px) {
  .primary-navigation {
    gap: 15px;
  }

  .primary-menu {
    gap: 14px;
  }

  .primary-menu a {
    font-size: 0.82rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  }

  .service-row {
    grid-template-columns: 88px minmax(210px, 0.72fr) minmax(0, 1fr) 40px;
    gap: 18px;
  }

  .home-evidence__feature {
    grid-template-columns: 1fr;
  }

  .home-evidence__copy {
    max-width: 720px;
  }

  .home-evidence__artifact {
    max-width: 820px;
  }

  .home-evidence__register .work-item {
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  }

  .home-evidence__register .work-item__availability {
    grid-column: 2;
  }

  .home-project-record {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-project-record__header,
  .home-project-record__details {
    max-width: 760px;
    grid-column: 1;
  }

  .home-project-record__preview {
    max-width: 820px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 32px, 720px);
    --frame: var(--shell);
  }

  body {
    font-size: 17px;
  }

  .site-header__inner {
    width: var(--shell);
    min-height: 74px;
  }

  .brand__symbol {
    width: 42px;
  }

  .brand__wordmark {
    width: 210px;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .has-js .nav-toggle {
    display: inline-flex;
    min-height: 42px;
    margin-left: auto;
    padding: 8px 12px;
    align-items: center;
    gap: 10px;
  }

  .nav-toggle__icon {
    display: grid;
    width: 19px;
    gap: 5px;
  }

  .nav-toggle__icon i {
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-navigation {
    width: 100%;
    padding: 0 0 20px;
    border-bottom: 1px solid #4b4554;
    align-items: stretch;
    flex-direction: column;
    background: var(--header-surface);
  }

  .has-js .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: auto;
    padding: 24px max(16px, calc((100vw - 720px) / 2));
    box-shadow: var(--shadow);
  }

  .has-js .primary-navigation.is-open {
    display: flex;
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-menu a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid #4b4554;
    font-size: 1rem;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: none;
    padding: 72px 0 54px;
    width: var(--shell);
    margin-inline: auto;
  }

  .work-order {
    max-width: none;
    width: var(--shell);
    margin: 0 auto 68px;
  }

  .section-heading,
  .page-hero__grid,
  .two-column,
  .intake-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intake-layout {
    grid-template-areas:
      "main"
      "aside";
  }

  .page-hero__note {
    max-width: none;
    padding: 22px 24px;
  }

  .service-row {
    grid-template-columns: 82px minmax(0, 1fr) 40px;
  }

  .service-row p {
    grid-column: 2 / 3;
  }

  .service-row__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .process-step {
    grid-template-columns: 60px minmax(180px, 0.55fr) minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .process-step__number {
    margin: 0;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-evidence__shell {
    width: var(--shell);
  }

  .advisory-record {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .advisory-record__details {
    grid-column: 2;
  }

  .advisory-record .button {
    grid-column: 2;
  }

  .scope-item {
    grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1fr);
  }

  .case-study {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .case-study--lead .case-study__copy,
  .case-study--lead .case-study__visual {
    grid-column: 1;
    grid-row: auto;
  }

  .case-study--lead .case-study__copy {
    order: 1;
  }

  .case-study--lead .case-study__visual {
    order: 2;
  }

  .leadscraper-preview {
    min-height: 560px;
  }

  .report-spread {
    min-height: 610px;
  }

  .switchyard-preview {
    min-height: 560px;
  }

  .intake-aside {
    position: static;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 700px) and (max-width: 860px) {
  .work-order {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-order::before {
    display: none;
  }

  .work-order__top,
  .work-order__action {
    grid-column: 1 / -1;
  }

  .work-order__top,
  .work-order__row,
  .work-order__action {
    padding-left: 22px;
  }

  .work-order__row {
    min-height: 180px;
    border-right: 1px solid #cbc9d4;
    border-bottom: 0;
  }

  .work-order__row:nth-of-type(4) {
    border-right: 0;
  }
}

@media (max-width: 590px) {
  :root {
    --shell: calc(100% - 28px);
    --frame: var(--shell);
  }

  .site-header__inner {
    min-height: 74px;
    padding-block: 10px;
    flex-wrap: nowrap;
    gap: 10px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 1.95rem);
  }

  .brand {
    min-width: 0;
    gap: 6px;
  }

  .brand__symbol {
    width: 30px;
  }

  .brand__wordmark {
    width: clamp(148px, 42vw, 178px);
  }

  .hero__copy {
    padding: 58px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.75rem);
  }

  .hero h1 span:last-child {
    font-size: 0.82em;
  }

  .fact-strip {
    flex-direction: column;
  }

  .fact-strip li {
    padding: 0;
    border-right: 0;
  }

  .work-order::before {
    left: 31px;
  }

  .work-order__top,
  .work-order__row,
  .work-order__action {
    padding-left: 48px;
  }

  .section {
    padding-block: 70px;
  }

  .section--register,
  .section--services,
  .section--process {
    padding-block: 54px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .service-row {
    padding: 22px 2px;
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    gap: 12px;
  }

  .service-row p {
    grid-column: 2;
  }

  .service-row__arrow {
    display: inline-flex;
    width: 30px;
    height: 30px;
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .process-step {
    min-height: auto;
    padding-inline: 0;
    border-right: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .process-step__number {
    margin: 0;
    grid-row: 1 / 3;
  }

  .process-step h3,
  .process-step p {
    grid-column: 2;
  }

  .scope-grid {
    border-left: 0;
  }

  .scope-item {
    min-height: auto;
    padding-inline: 0;
    border-right: 0;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home-evidence__feature {
    padding-top: 26px;
    gap: 34px;
  }

  .home-evidence__artifact {
    padding: 10px;
    box-shadow: 8px 8px 0 rgba(95, 113, 189, 0.16);
  }

  .home-evidence__artifact figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .home-evidence__pages {
    padding: 10px;
    gap: 8px;
  }

  .home-evidence__register .work-item,
  .home-evidence__register .work-item__availability {
    grid-template-columns: 1fr;
    grid-column: 1;
  }

  .home-project-record {
    padding-block: 42px;
  }

  .home-project-record__preview {
    aspect-ratio: 4 / 3;
    padding: 8px;
    box-shadow: 7px 7px 0 rgba(95, 113, 189, 0.13);
  }

  .home-project-record__preview > img:last-child {
    width: 57%;
  }

  .home-project-record__preview--switchyard > img:last-child {
    width: 26%;
    height: 74%;
  }

  .case-study {
    padding-block: 58px;
  }

  .case-study--lead {
    margin-inline: -14px;
    padding-inline: 18px;
  }

  .evidence-ledger {
    grid-template-columns: 1fr;
  }

  .evidence-ledger > div:nth-child(odd),
  .evidence-ledger > div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .report-spread {
    min-height: 470px;
  }

  .report-spread__sheet {
    width: 64%;
  }

  .report-spread__sheet--back {
    right: 2%;
  }

  .report-spread__sheet--front {
    left: 2%;
  }

  .lead-workflow__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-workflow__steps li {
    min-height: 104px;
    padding-inline: 17px;
  }

  .leadscraper-preview {
    min-height: 410px;
  }

  .leadscraper-preview__overview {
    top: 48px;
    right: 5%;
    left: 3%;
  }

  .leadscraper-preview__dataset {
    right: 2%;
    bottom: 48px;
    width: 66%;
  }

  .switchyard-preview {
    min-height: 400px;
    padding-inline: 14px;
  }

  .switchyard-preview__desktop {
    right: 5%;
    left: 3%;
  }

  .switchyard-preview__mobile {
    right: 2%;
    width: 30%;
  }

  .closing-panel {
    padding: 28px 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .closing-panel__index {
    min-height: 0;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .advisory-record {
    padding: 25px 22px;
    grid-template-columns: 1fr;
    gap: 24px;
    box-shadow: 8px 8px 0 rgba(95, 113, 189, 0.14);
  }

  .advisory-record__details,
  .advisory-record .button {
    grid-column: 1;
  }

  .intake-form__body,
  .intake-form .tgkc-intake-form {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .form-field textarea,
  .intake-form .wpcf7-form textarea {
    height: 155px;
  }

  .form-field--full,
  .form-security-note,
  .intake-form .tgkc-intake-form > p:has(textarea),
  .intake-form .tgkc-intake-form > p:has(.wpcf7-acceptance),
  .intake-form .tgkc-intake-form > p:has(.wpcf7-submit) {
    grid-column: auto;
  }

  .intake-form .wpcf7-response-output {
    margin: 0 20px 20px;
  }

  .faq-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-links a {
    overflow-wrap: anywhere;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .closing-panel {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 12pt;
  }

  .section,
  .page-hero {
    padding-block: 24pt;
  }
}
