@import "tailwindcss";

:root {
  --red: #c70018;
  --red-bright: #f1122d;
  --ink: #0a0a0b;
  --ink-soft: #171719;
  --paper: #f4f1eb;
  --white: #ffffff;
  --muted: #68686d;
  --line: #d8d4cd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.site-header {
  align-items: center;
  background: rgba(10, 10, 11, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  height: 88px;
  left: 0;
  padding: 0 clamp(22px, 4vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  display: block;
  justify-self: start;
  width: clamp(160px, 15vw, 220px);
}

.brand img,
.footer-logo img {
  height: auto;
  width: 100%;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(22px, 2.5vw, 42px);
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  background: var(--red-bright);
  bottom: -9px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  justify-self: end;
  line-height: 1.2;
}

.header-phone span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-phone strong {
  color: var(--white);
  font-size: 16px;
  margin-top: 5px;
}

.mobile-menu {
  display: none;
  justify-self: end;
  position: relative;
}

.hero {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(40px, 6vw, 100px);
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  min-height: calc(100vh - 88px);
  overflow: hidden;
  padding: clamp(68px, 8vw, 130px) clamp(28px, 7vw, 120px);
  position: relative;
}

.hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to right, black, transparent 78%);
  pointer-events: none;
  position: absolute;
}

.hero-glow {
  background: var(--red);
  border-radius: 999px;
  filter: blur(150px);
  height: 430px;
  opacity: 0.18;
  position: absolute;
  right: 6%;
  top: 18%;
  width: 430px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 820px;
}

.kicker {
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 11px;
  letter-spacing: 0.16em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.kicker > span {
  background: var(--red-bright);
  display: inline-block;
  height: 8px;
  width: 8px;
}

.kicker-dark {
  color: #636368;
}

.hero h1,
.section-heading h2,
.standards-band h2,
.about-copy h2,
.contact-copy h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(52px, 6.15vw, 104px);
  line-height: 0.95;
  max-width: 940px;
}

.hero h1 em {
  color: var(--red-bright);
  font-style: normal;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.65;
  margin: 34px 0 0;
  max-width: 670px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 28px;
  justify-content: center;
  letter-spacing: 0.055em;
  min-height: 56px;
  padding: 0 27px;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button span {
  font-size: 19px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-bright);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--white);
}

.hero-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(50px, 7vh, 82px);
  max-width: 700px;
  padding-top: 25px;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-trust strong {
  font-size: 16px;
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-visual {
  justify-self: end;
  max-width: 690px;
  width: 100%;
}

.hero-image-frame {
  aspect-ratio: 0.92;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-left: auto;
  overflow: hidden;
  position: relative;
  width: 86%;
}

.hero-image-frame::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 48%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-image-frame img {
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  width: 100%;
}

.hero-card {
  align-items: center;
  backdrop-filter: blur(15px);
  background: rgba(20, 20, 22, 0.92);
  border-left: 4px solid var(--red-bright);
  bottom: 74px;
  display: flex;
  gap: 16px;
  left: 0;
  min-width: 255px;
  padding: 22px 25px;
  position: absolute;
}

.pulse-dot {
  background: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(241, 18, 45, 0.16);
  height: 11px;
  width: 11px;
}

.hero-card div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-card strong {
  font-size: 14px;
  text-transform: uppercase;
}

.hero-card span:not(.pulse-dot) {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.hero-caption {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin: 18px 0 0 auto;
  max-width: 360px;
  text-align: right;
  text-transform: uppercase;
}

.intro-strip {
  align-items: center;
  background: var(--red);
  color: var(--white);
  display: flex;
  gap: clamp(22px, 4vw, 70px);
  justify-content: center;
  overflow: hidden;
  padding: 30px clamp(20px, 5vw, 70px);
}

.intro-strip p {
  font-size: clamp(17px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  white-space: nowrap;
}

.intro-strip span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 28px;
}

.section {
  padding: clamp(86px, 10vw, 170px) clamp(24px, 7vw, 120px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  margin: 0 auto clamp(60px, 7vw, 105px);
  max-width: 1600px;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(48px, 6.6vw, 106px);
  line-height: 0.9;
}

.section-heading > p,
.gallery-heading > p {
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 5px;
  padding-left: 26px;
}

.offer-section {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1600px;
}

.service-card {
  background: var(--white);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 680px;
  padding: clamp(32px, 3vw, 54px);
}

.service-card:first-child {
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-column: 1 / -1;
  min-height: auto;
}

.service-card:nth-child(2) {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.service-card:nth-child(3) {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--white);
}

.service-topline {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.service-number {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card:nth-child(2) .service-number,
.service-card:nth-child(3) .service-number {
  color: rgba(255, 255, 255, 0.8);
}

.service-eyebrow {
  color: #7d7d81;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.service-card:nth-child(2) .service-eyebrow,
.service-card:nth-child(3) .service-eyebrow {
  color: rgba(255, 255, 255, 0.48);
}

.service-card h3 {
  font-size: clamp(28px, 2.6vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 50px 0 18px;
}

.service-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 33px;
}

.service-card:nth-child(2) .service-description,
.service-card:nth-child(3) .service-description {
  color: rgba(255, 255, 255, 0.66);
}

.service-card ul {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
}

.service-card li {
  border-top: 1px solid #e4e1dc;
  font-size: 14px;
  line-height: 1.45;
  padding: 14px 0 14px 22px;
  position: relative;
}

.service-card li::before {
  color: var(--red);
  content: "+";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.service-card:nth-child(2) li,
.service-card:nth-child(3) li {
  border-color: rgba(255, 255, 255, 0.14);
}

.service-card:nth-child(2) li::before,
.service-card:nth-child(3) li::before {
  color: rgba(255, 255, 255, 0.8);
}

.service-note {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  margin: auto 0 0;
  text-transform: uppercase;
}

.service-note span {
  color: var(--red);
  font-size: 17px;
}

.service-card:nth-child(2) .service-note span,
.service-card:nth-child(3) .service-note span {
  color: var(--white);
}

.course-list {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 38px;
}

.course-item {
  background: #f8f6f1;
  border: 1px solid #dedad2;
}

.course-item[open] {
  grid-column: 1 / -1;
}

.course-item summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 18px;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  list-style: none;
  min-height: 96px;
  padding: 20px 22px;
  transition: background 180ms ease, color 180ms ease;
}

.course-item summary::-webkit-details-marker {
  display: none;
}

.course-item summary:hover,
.course-item summary:focus-visible,
.course-item[open] summary {
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.course-index {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.course-item[open] .course-index,
.course-item summary:hover .course-index,
.course-item summary:focus-visible .course-index {
  color: var(--red-bright);
}

.course-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-summary-copy strong {
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.course-summary-copy > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.course-item[open] .course-summary-copy > span,
.course-item summary:hover .course-summary-copy > span,
.course-item summary:focus-visible .course-summary-copy > span {
  color: #ff8b99;
}

.course-toggle {
  align-items: center;
  border: 1px solid #cfcac1;
  border-radius: 50%;
  display: flex;
  font-size: 23px;
  font-weight: 300;
  height: 34px;
  justify-content: center;
  line-height: 1;
  transition: border-color 180ms ease, transform 180ms ease;
  width: 34px;
}

.course-item[open] .course-toggle {
  border-color: rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

.course-content {
  border-top: 1px solid #dedad2;
  padding: clamp(26px, 3vw, 42px);
}

.course-description {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
  max-width: 1000px;
}

.course-standard {
  background: #fff;
  border-left: 3px solid var(--red);
  color: #55555a;
  font-size: 13px;
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 1000px;
  padding: 14px 18px;
}

.course-program {
  margin-top: 30px;
}

.course-program h4 {
  font-size: 11px;
  letter-spacing: 0.11em;
  margin: 0 0 17px;
  text-transform: uppercase;
}

.service-card .course-program ul,
.service-card .course-variant ul {
  display: grid;
  gap: 9px 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.service-card .course-program li,
.service-card .course-variant li {
  border: 0;
  color: #4f4f54;
  font-size: 13px;
  line-height: 1.55;
  padding: 0 0 0 17px;
}

.service-card .course-program li::before,
.service-card .course-variant li::before {
  color: var(--red);
  content: "—";
  font-weight: 800;
}

.course-variants {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.course-variant {
  background: #fff;
  border-top: 3px solid var(--red);
  padding: 22px;
}

.course-variant > p {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 17px;
}

.course-variant > p span {
  color: var(--red);
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.service-card .course-variant ul {
  grid-template-columns: 1fr;
}

.course-price {
  border-top: 1px solid #dedad2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin: 32px 0 0;
  padding-top: 20px;
  text-transform: uppercase;
}

.course-price span {
  color: var(--red);
  font-size: 17px;
  margin-right: 5px;
}

.standards-band {
  align-items: end;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 70px;
  grid-template-columns: 1.25fr 0.75fr;
  padding: clamp(78px, 9vw, 145px) clamp(24px, 7vw, 120px);
}

.standards-band h2 {
  font-size: clamp(40px, 5.4vw, 82px);
  line-height: 0.98;
}

.standards-band > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 6px;
  max-width: 560px;
}

.about-section {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: clamp(60px, 8vw, 140px);
  grid-template-columns: minmax(330px, 0.83fr) minmax(0, 1.17fr);
}

.about-portrait {
  justify-self: end;
  max-width: 620px;
  padding: 36px 36px 0 0;
  position: relative;
  width: 100%;
}

.portrait-accent {
  background: var(--red);
  height: 66%;
  position: absolute;
  right: 0;
  top: 0;
  width: 54%;
}

.about-portrait > img {
  aspect-ratio: 0.87;
  filter: saturate(0.86) contrast(1.04);
  object-fit: cover;
  position: relative;
  width: 100%;
}

.portrait-label {
  background: var(--ink);
  bottom: 0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 7px;
  left: -22px;
  min-width: 76%;
  padding: 24px 27px;
  position: absolute;
}

.portrait-label span {
  color: rgba(255, 255, 255, 0.53);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portrait-label strong {
  font-size: 22px;
}

.about-copy {
  max-width: 900px;
}

.about-lead {
  color: var(--ink) !important;
  font-size: clamp(20px, 1.8vw, 28px) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45 !important;
  margin-top: 38px !important;
}

.about-copy > p:not(.kicker) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 24px 0 0;
}

.qualification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
}

.qualification-grid > div {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  min-height: 88px;
  padding: 18px 20px 15px 0;
}

.qualification-grid > div:nth-child(even) {
  padding-left: 20px;
}

.qualification-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.qualification-grid p {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.process-section {
  background: var(--ink);
  color: var(--white);
  padding: clamp(86px, 10vw, 165px) clamp(24px, 7vw, 120px);
}

.process-heading {
  margin-bottom: clamp(60px, 7vw, 100px);
}

.process-heading .kicker {
  color: rgba(255, 255, 255, 0.55);
}

.process-heading > p {
  color: rgba(255, 255, 255, 0.58);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1600px;
}

.steps article {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 270px;
  padding: 4px clamp(22px, 2.3vw, 40px) 20px;
}

.steps article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.steps article > span {
  color: var(--red-bright);
  font-size: 11px;
  font-weight: 800;
}

.steps h3 {
  font-size: clamp(20px, 1.65vw, 27px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 68px 0 16px;
}

.steps p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.gallery-section {
  background: var(--paper);
}

.gallery-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(76px, 8vw, 128px);
  margin: 0 auto;
  max-width: 1600px;
}

.gallery-group {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.gallery-group-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(260px, 0.72fr) minmax(300px, 1fr);
  margin-bottom: 34px;
}

.gallery-group-heading > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  padding-bottom: 8px;
}

.gallery-group-heading h3 {
  font-size: clamp(42px, 4.8vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0;
}

.gallery-group-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}

.gallery-group-coverage {
  background: var(--ink);
  border: 0;
  color: var(--white);
  padding: clamp(28px, 3.4vw, 52px);
}

.gallery-group-coverage .gallery-group-heading p {
  color: rgba(255, 255, 255, 0.58);
}

.gallery-group-coverage .gallery-group-heading > span {
  color: var(--red-bright);
}

.photo-rail {
  display: grid;
  gap: 12px;
  grid-auto-rows: clamp(210px, 18vw, 300px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.photo-rail figure {
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.photo-rail figure::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.76), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.photo-rail img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.photo-rail figure:hover img {
  transform: scale(1.035);
}

.photo-rail-training figure:first-child,
.photo-rail-integration figure:first-child {
  grid-column: span 6;
  grid-row: span 2;
}

.photo-rail-training figure:nth-child(n + 6) {
  grid-column: span 4;
}

.photo-rail-coverage {
  grid-auto-rows: clamp(380px, 39vw, 600px);
}

.photo-rail-coverage figure {
  grid-column: span 6;
}

.photo-rail-coverage figure:first-child img {
  object-position: center 38%;
}

.photo-rail-integration figure:last-child {
  grid-column: span 12;
}

.photo-rail-integration figure:nth-child(n + 10):nth-child(-n + 12) {
  grid-column: span 4;
}

.photo-rail figcaption {
  bottom: 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  left: 0;
  letter-spacing: 0.06em;
  padding: 25px;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  z-index: 2;
}

.photo-rail figcaption span {
  color: var(--red-bright);
  margin-right: 12px;
}

.contact-section {
  align-items: start;
  background: var(--red);
  color: var(--white);
  display: grid;
  gap: clamp(70px, 10vw, 180px);
  grid-template-columns: 1fr 1fr;
  padding: clamp(82px, 10vw, 160px) clamp(24px, 7vw, 120px);
}

.contact-copy {
  max-width: 730px;
}

.contact-copy .kicker {
  color: rgba(255, 255, 255, 0.68);
}

.contact-copy .kicker > span {
  background: var(--white);
}

.contact-copy h2 {
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.9;
}

.contact-copy > p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
  margin: 34px 0;
  max-width: 580px;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.dialog-open {
  overflow: hidden;
}

.contact-dialog {
  background: transparent;
  border: 0;
  color: var(--white);
  max-height: 92vh;
  max-width: none;
  overflow: auto;
  padding: 0;
  width: min(920px, calc(100% - 40px));
}

.contact-dialog::backdrop {
  backdrop-filter: blur(7px);
  background: rgba(5, 5, 6, 0.78);
}

.contact-dialog-shell {
  background: var(--ink);
  border-top: 8px solid var(--red);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  display: block;
}

.contact-dialog-intro {
  background: var(--red);
  color: var(--white);
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(34px, 4vw, 50px) clamp(38px, 6vw, 68px);
  position: relative;
}

.contact-dialog-intro::after {
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
}

.contact-dialog-intro .kicker {
  color: rgba(255, 255, 255, 0.68);
  position: relative;
  z-index: 1;
}

.contact-dialog-intro .kicker > span {
  background: var(--white);
}

.contact-dialog-intro h2 {
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 24px 0 20px;
  position: relative;
  z-index: 1;
}

.contact-dialog-intro > div:first-child > p:last-child {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.contact-dialog-direct {
  align-self: end;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  display: grid;
  gap: 8px;
  min-width: 230px;
  padding-left: 28px;
  position: relative;
  z-index: 1;
}

.contact-dialog-direct > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.contact-dialog-direct a {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 800;
  width: fit-content;
}

.contact-dialog-form-panel {
  background: var(--ink);
  padding: clamp(42px, 6vw, 68px);
  position: relative;
}

.contact-dialog-close {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: 300 30px/1 Arial, Helvetica, sans-serif;
  height: 46px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  transition: background 160ms ease;
  width: 46px;
  z-index: 2;
}

.contact-dialog-close:hover,
.contact-dialog-close:focus-visible {
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.contact-form {
  margin: 0;
}

.contact-form-heading {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 36px;
  padding-bottom: 30px;
}

.contact-form-heading > span {
  color: var(--red);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.contact-form-heading h3 {
  color: var(--white);
  font-size: clamp(32px, 3.2vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
}

.contact-form-heading p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.contact-form-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.contact-form label {
  display: block;
}

.contact-form label > span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: var(--white);
  color-scheme: dark;
  font: inherit;
  outline: none;
  padding: 17px 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.contact-form textarea {
  min-height: 260px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(241, 18, 45, 0.18);
}

.contact-form .form-wide {
  grid-column: 1 / -1;
}

.form-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.form-privacy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.5;
  margin: 20px 0;
}

.form-status {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 20px;
  padding: 13px 15px;
}

.form-status:empty {
  display: none;
}

.form-status-success {
  background: #e7f7ec;
  color: #155c2b;
}

.form-status-error {
  background: #fff0f1;
  color: #8b0011;
}

.form-submit {
  background: var(--red);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  justify-content: center;
  width: 100%;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.contact-details {
  align-content: start;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-item {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  min-height: 142px;
  padding: 22px 28px 26px 0;
}

.contact-item:nth-child(even) {
  padding-left: 28px;
}

.contact-item > span {
  color: rgba(255, 255, 255, 0.56);
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  font-size: clamp(15px, 1.3vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-item a {
  transition: opacity 180ms ease;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  opacity: 0.68;
}

.contact-company {
  grid-column: 1 / 3;
}

.contact-company p {
  font-size: 14px;
  font-weight: 600;
}

footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.48);
  display: grid;
  font-size: 10px;
  gap: 30px;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.08em;
  padding: 35px clamp(24px, 7vw, 120px);
  text-transform: uppercase;
}

.footer-logo {
  width: 160px;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-phone {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    list-style: none;
    width: 42px;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    background: var(--white);
    display: block;
    height: 2px;
    width: 24px;
  }

  .mobile-menu nav {
    background: var(--ink-soft);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    min-width: 240px;
    padding: 14px;
    position: absolute;
    right: 0;
    top: 54px;
  }

  .mobile-menu nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 15px 12px;
    text-transform: uppercase;
  }

  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
  }

  .hero h1 {
    font-size: clamp(52px, 6.6vw, 78px);
  }

  .service-card {
    min-height: 740px;
  }

  .about-section {
    gap: 70px;
  }

  .qualification-grid {
    grid-template-columns: 1fr;
  }

  .qualification-grid > div:nth-child(even) {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
  }

  .brand {
    width: 165px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 82px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(48px, 10.5vw, 84px);
  }

  .hero-visual {
    justify-self: stretch;
    margin-top: 20px;
    max-width: none;
  }

  .hero-image-frame {
    aspect-ratio: 1.5;
    width: 90%;
  }

  .hero-card {
    bottom: 55px;
  }

  .section-heading,
  .standards-band,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 40px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:first-child {
    border: 0;
    border-bottom: 1px solid var(--line);
    min-height: auto;
  }

  .service-card:nth-child(2) {
    transform: none;
  }

  .service-note {
    margin-top: 30px;
  }

  .standards-band {
    align-items: start;
  }

  .about-portrait {
    justify-self: start;
    max-width: 570px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .steps article:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .steps article:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .gallery-group-heading {
    align-items: start;
    grid-template-columns: auto 1fr;
  }

  .gallery-group-heading p {
    grid-column: 2;
  }

  .photo-rail {
    grid-auto-rows: 330px;
    grid-template-columns: 1fr 1fr;
  }

  .photo-rail figure,
  .photo-rail-training figure:first-child,
  .photo-rail-training figure:nth-child(n + 6),
  .photo-rail-integration figure:first-child,
  .photo-rail-integration figure:nth-child(n + 10):nth-child(-n + 12),
  .photo-rail-integration figure:last-child,
  .photo-rail-coverage figure {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-rail-training figure:first-child,
  .photo-rail-integration figure:first-child {
    grid-column: 1 / 3;
  }

  .contact-section {
    gap: 72px;
  }

  .contact-dialog-shell {
    display: block;
  }

  .contact-dialog-intro {
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-dialog-intro > div:first-child > p:last-child {
    max-width: 580px;
  }

  .contact-dialog-direct {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    margin-top: 0;
    min-width: 0;
    padding-left: 0;
    padding-top: 22px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    padding: 0 18px;
  }

  .hero {
    gap: 55px;
    padding: 60px 20px 70px;
  }

  .kicker {
    font-size: 9px;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: clamp(44px, 14.2vw, 72px);
    line-height: 0.94;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-trust {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .hero-trust div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 14px;
  }

  .hero-image-frame {
    aspect-ratio: 0.95;
    margin-left: 10%;
    width: 90%;
  }

  .hero-card {
    bottom: 68px;
    min-width: 220px;
    padding: 18px;
  }

  .hero-caption {
    line-height: 1.45;
    max-width: 250px;
  }

  .intro-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 27px 22px;
  }

  .intro-strip p {
    font-size: 24px;
  }

  .intro-strip span {
    display: none;
  }

  .section,
  .process-section,
  .standards-band,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .section-heading > p,
  .gallery-heading > p,
  .standards-band > p,
  .contact-copy > p:not(.kicker) {
    font-size: 15px;
  }

  .service-card {
    padding: 34px 28px;
  }

  .service-card h3 {
    margin-top: 38px;
  }

  .course-list,
  .course-variants,
  .service-card .course-program ul {
    grid-template-columns: 1fr;
  }

  .course-item[open] {
    grid-column: auto;
  }

  .course-item summary {
    gap: 12px;
    grid-template-columns: 28px minmax(0, 1fr) 32px;
    min-height: 88px;
    padding: 17px 15px;
  }

  .course-summary-copy strong {
    font-size: 15px;
  }

  .course-content {
    padding: 24px 18px;
  }

  .course-description {
    font-size: 15px;
  }

  .standards-band {
    gap: 40px;
  }

  .standards-band h2 {
    font-size: 44px;
  }

  .about-section {
    gap: 70px;
  }

  .about-portrait {
    padding: 22px 22px 0 0;
  }

  .portrait-label {
    left: 0;
    min-width: 90%;
  }

  .about-lead {
    font-size: 20px !important;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps article,
  .steps article:nth-child(2),
  .steps article:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    min-height: 220px;
  }

  .steps h3 {
    margin-top: 48px;
  }

  .gallery-groups {
    gap: 68px;
  }

  .gallery-group {
    padding-top: 22px;
  }

  .gallery-group-coverage {
    padding: 22px 18px 18px;
  }

  .gallery-group-heading {
    gap: 12px;
    grid-template-columns: 1fr;
    margin-bottom: 26px;
  }

  .gallery-group-heading h3 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .gallery-group-heading p {
    grid-column: auto;
  }

  .photo-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .photo-rail figure,
  .photo-rail-training figure:first-child,
  .photo-rail-integration figure:first-child {
    flex: 0 0 82vw;
    height: 430px;
    scroll-snap-align: start;
  }

  .contact-copy h2 {
    font-size: 62px;
  }

  .contact-dialog {
    max-height: 96vh;
    width: calc(100% - 16px);
  }

  .contact-dialog-intro {
    display: block;
    min-height: auto;
    padding: 36px 28px 40px;
  }

  .contact-dialog-intro::after {
    inset: 10px;
  }

  .contact-dialog-intro h2 {
    font-size: 48px;
    margin: 26px 0 20px;
  }

  .contact-dialog-intro > div:first-child > p:last-child {
    font-size: 14px;
  }

  .contact-dialog-direct {
    display: none;
  }

  .contact-dialog-form-panel {
    padding: 34px 20px 30px;
  }

  .contact-form-heading {
    margin-bottom: 28px;
    padding-bottom: 24px;
    padding-right: 28px;
  }

  .contact-form-heading h3 {
    font-size: 38px;
  }

  .contact-dialog-close {
    height: 42px;
    width: 42px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form textarea {
    min-height: 220px;
  }

  .contact-form .form-wide {
    grid-column: 1;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-item,
  .contact-item:nth-child(even) {
    min-height: auto;
    padding: 22px 0 28px;
  }

  .contact-company {
    grid-column: 1;
  }

  footer {
    align-items: start;
    gap: 24px;
    grid-template-columns: 1fr;
    padding: 35px 20px;
  }

  footer p:last-child {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
