:root {
  --ink: #0a1930;
  --ink-soft: #293b53;
  --navy: #0b1b31;
  --navy-light: #173659;
  --blue: #82a7c8;
  --blue-pale: #d8e7f2;
  --ivory: #f5f3ed;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(10, 25, 48, 0.13);
  --shadow: 0 22px 50px rgba(10, 25, 48, 0.12);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family:
    "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 16px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 28%),
    var(--ivory);
}

.page-shell::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 25, 48, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 25, 48, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 66%);
  content: "";
}

.ambient {
  position: absolute;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
  opacity: 0.7;
}

.ambient-one {
  top: -230px;
  right: 3%;
  background: radial-gradient(
    circle,
    rgba(119, 164, 202, 0.3),
    rgba(119, 164, 202, 0) 68%
  );
  animation: float-one 11s ease-in-out infinite alternate;
}

.ambient-two {
  top: 47%;
  left: -300px;
  background: radial-gradient(
    circle,
    rgba(153, 180, 202, 0.24),
    rgba(153, 180, 202, 0) 70%
  );
  animation: float-two 13s ease-in-out infinite alternate;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 7px 18px rgba(10, 25, 48, 0.18);
}

.brand-mark::after {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: inherit;
  content: "";
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.24);
}

.brand-type {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand-type span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.brand-type span:last-child {
  margin-top: 4px;
  color: #536278;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a,
.header-nav button {
  position: relative;
  border: 0;
  background: transparent;
  color: #526176;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.header-nav a:not(.linkedin-link)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--ink);
  content: "";
  transition: transform 240ms var(--ease);
}

.header-nav a:not(.linkedin-link):hover {
  color: var(--ink);
}

.header-nav a:not(.linkedin-link):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line) !important;
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 3px 12px rgba(10, 25, 48, 0.04);
}

.contact-link span {
  transition: transform 180ms var(--ease);
}

.contact-link:hover {
  color: var(--ink);
}

.contact-link:hover span {
  transform: translate(2px, -2px);
}

.intro {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: end;
  gap: 52px;
  padding: 34px 0 28px;
}

.eyebrow,
.section-label,
.modal-kicker {
  margin: 0;
  color: #617188;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eyebrow span {
  width: 18px;
  height: 1px;
  background: var(--blue);
}

.intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.intro-summary {
  max-width: 470px;
  margin: 0 0 3px;
  color: #526176;
  font-size: 15px;
  line-height: 1.58;
}

.services-section {
  padding: 4px 0 78px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.section-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 2px 1px 0;
  color: #79879a;
  font-size: 11px;
}

.hint-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  perspective: 1000px;
}

.service-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 102px;
  overflow: hidden;
  border: 1px solid rgba(10, 25, 48, 0.11);
  border-radius: 15px;
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(216, 231, 242, 0.75),
      rgba(255, 255, 255, 0) 38%
    ),
    rgba(255, 255, 255, 0.64);
  padding: 18px 18px 18px 16px;
  color: var(--ink);
  text-align: left;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 24px rgba(10, 25, 48, 0.055);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  animation: card-in 620ms var(--ease) forwards;
  animation-delay: var(--delay);
  transition:
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms var(--ease),
    background-color 250ms ease;
  will-change: transform;
}

.service-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  transform: scaleY(0);
  transform-origin: bottom;
  background: linear-gradient(var(--blue-pale), var(--blue), var(--navy-light));
  content: "";
  transition: transform 280ms var(--ease);
}

.service-card::after {
  position: absolute;
  right: -35px;
  bottom: -70px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(110, 149, 181, 0.22);
  border-radius: 50%;
  content: "";
  transition:
    transform 420ms var(--ease),
    opacity 250ms ease;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(61, 97, 133, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 19px 35px rgba(10, 25, 48, 0.14);
  transform: translateY(-7px) scale(1.015);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover::after {
  transform: translate(-13px, -8px) scale(1.14);
}

.service-card:focus-visible,
.modal-x:focus-visible,
.close-button:focus-visible,
.contact-link:focus-visible,
.contact-text-button:focus-visible,
.contact-cancel:focus-visible,
.contact-submit:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(90, 139, 180, 0.42);
  outline-offset: 3px;
}

.card-number {
  align-self: start;
  padding-top: 1px;
  color: #8592a3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.card-title {
  max-width: 250px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.card-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(10, 25, 48, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms var(--ease);
}

.service-card:hover .card-arrow {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--white);
}

.about-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 96px;
  border-top: 1px solid var(--line);
  padding: 88px 0 94px;
}

.about-lead h2 {
  max-width: 670px;
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.3vw, 58px);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 1.02;
}

.about-copy {
  align-self: end;
}

.about-copy p {
  margin: 0 0 24px;
  color: #536278;
  font-size: 15px;
  line-height: 1.7;
}

.about-copy a,
.contact-text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding-bottom: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.about-copy a span,
.contact-text-button span {
  transition: transform 180ms var(--ease);
}

.about-copy a:hover span,
.contact-text-button:hover span {
  transform: translate(3px, -3px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 48px;
  border-top: 1px solid var(--line);
  padding: 34px 0 38px;
  color: #5f6d80;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand div,
.footer-owner {
  display: flex;
  flex-direction: column;
}

.footer-brand strong,
.footer-owner strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 500;
}

.footer-brand span {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-owner {
  text-align: center;
}

.footer-owner > span {
  margin-bottom: 5px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-owner p,
.footer-meta p {
  margin: 4px 0 0;
}

.footer-meta {
  justify-self: end;
  text-align: right;
}

.footer-meta a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.footer-meta a span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 180ms var(--ease);
}

.footer-meta a:hover span {
  transform: translate(2px, -2px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 260ms ease,
    visibility 260ms;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 33, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  display: flex;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(197, 219, 237, 0.5),
      transparent 31%
    ),
    var(--paper);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 300ms ease,
    transform 380ms var(--ease);
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px 18px 28px;
}

.modal-index {
  color: #758499;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.modal-x {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition:
    background 200ms ease,
    transform 220ms var(--ease);
}

.modal-x:hover {
  transform: rotate(90deg);
  background: var(--white);
}

.modal-x span {
  position: absolute;
  top: 18px;
  left: 11px;
  width: 15px;
  height: 1px;
  background: var(--ink);
}

.modal-x span:first-child {
  transform: rotate(45deg);
}

.modal-x span:last-child {
  transform: rotate(-45deg);
}

.modal-content {
  overflow-y: auto;
  padding: 40px 46px 34px;
}

.modal-kicker {
  margin-bottom: 14px;
}

.modal-content h2 {
  max-width: 490px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

#modal-description {
  margin: 24px 0 28px;
  color: #4f5f74;
  font-size: 15px;
  line-height: 1.68;
}

.modal-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-details li {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 13px 0 13px 24px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.modal-details li::before {
  position: absolute;
  top: 18px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(130, 167, 200, 0.18);
  content: "";
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 16px 20px 16px 28px;
}

.modal-footer > span {
  color: #7b8798;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.close-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  padding: 11px 15px 11px 18px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    background 200ms ease;
}

.close-button span {
  font-size: 16px;
  font-weight: 400;
  line-height: 0.6;
}

.close-button:hover {
  transform: translateY(-2px);
  background: var(--navy-light);
}

.contact-modal-panel {
  width: min(720px, 100%);
}

.contact-modal-content {
  overflow-y: auto;
  padding: 34px 42px 36px;
}

.contact-intro {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}

.contact-intro .modal-kicker {
  grid-column: 1 / -1;
  margin-bottom: -17px;
}

.contact-intro h2,
.form-success h2,
.thanks-shell h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.contact-intro > p:last-child {
  margin: 0;
  color: #56657a;
  font-size: 13px;
  line-height: 1.62;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

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

.contact-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #526176;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-field small {
  color: #8b96a5;
  font-size: 8px;
  font-weight: 650;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(10, 25, 48, 0.16);
  border-radius: 10px;
  outline: 0;
  background: rgba(255, 255, 255, 0.68);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.5;
}

.contact-field input:hover,
.contact-field textarea:hover {
  border-color: rgba(50, 86, 122, 0.34);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #7199bb;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(113, 153, 187, 0.16);
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: #7b8798;
  font-size: 10px;
  line-height: 1.5;
}

.form-status {
  min-height: 15px;
  color: #914239;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.contact-cancel,
.contact-submit {
  border-radius: 999px;
  padding: 12px 17px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    background 200ms ease,
    border-color 200ms ease;
}

.contact-cancel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  color: #59687c;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
}

.contact-cancel:hover,
.contact-submit:hover {
  transform: translateY(-2px);
}

.contact-cancel:hover {
  border-color: rgba(10, 25, 48, 0.26);
  background: var(--white);
}

.contact-submit:hover {
  background: var(--navy-light);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-success {
  display: grid;
  justify-items: start;
  padding: 36px 4px 8px;
}

.form-success[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(61, 97, 133, 0.25);
  border-radius: 50%;
  background: rgba(216, 231, 242, 0.55);
  color: var(--navy);
  font-size: 18px;
}

.form-success .modal-kicker {
  margin-bottom: 12px;
}

.form-success > p:last-of-type {
  max-width: 450px;
  margin: 20px 0 28px;
  color: #56657a;
  font-size: 14px;
  line-height: 1.65;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 75% 12%, rgba(130, 167, 200, 0.27), transparent 34%),
    var(--ivory);
}

.thanks-shell {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  padding: 54px;
  box-shadow: var(--shadow);
}

.thanks-shell img {
  width: 62px;
  height: 62px;
  margin-bottom: 34px;
  border-radius: 50%;
}

.thanks-shell .modal-kicker {
  margin-bottom: 14px;
}

.thanks-shell > p:last-of-type {
  margin: 22px 0 28px;
  color: #56657a;
  font-size: 15px;
  line-height: 1.7;
}

.thanks-shell a {
  display: inline-flex;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-one {
  to {
    transform: translate(-30px, 28px) scale(1.08);
  }
}

@keyframes float-two {
  to {
    transform: translate(35px, -18px) scale(0.93);
  }
}

@media (max-width: 900px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 40px, 720px);
  }

  .header-nav > a {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0 32px;
  }

  .intro-summary {
    max-width: 540px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

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

  .footer-owner {
    justify-self: end;
    text-align: right;
  }

  .footer-meta {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 30px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .brand-type span:first-child {
    font-size: 18px;
  }

  .header-nav {
    gap: 0;
  }

  .contact-link {
    padding: 9px 12px;
    font-size: 11px !important;
  }

  .intro {
    padding: 28px 0 30px;
  }

  .intro h1 {
    font-size: 43px;
  }

  .section-heading {
    align-items: start;
  }

  .section-hint {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

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

  .card-title {
    max-width: none;
    font-size: 18px;
  }

  .services-section {
    padding-bottom: 60px;
  }

  .about-section {
    padding: 64px 0 68px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-owner,
  .footer-meta {
    justify-self: start;
    text-align: left;
  }

  .modal {
    align-items: end;
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
    border-radius: 20px;
  }

  .modal-content {
    padding: 30px 24px 26px;
  }

  .contact-modal-content {
    padding: 28px 24px 24px;
  }

  .contact-intro {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }

  .contact-intro .modal-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .contact-intro h2 {
    font-size: 38px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-actions {
    justify-content: space-between;
  }

  .contact-submit {
    gap: 14px;
  }

  .thanks-shell {
    padding: 38px 28px;
  }

  .modal-content h2 {
    font-size: 36px;
  }

  .modal-footer > span {
    display: none;
  }

  .modal-footer {
    justify-content: flex-end;
  }
}

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

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