:root {
  --ink: #14171f;
  --muted: #5d6472;
  --line: #dce1e7;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --deep: #0d2430;
  --blue: #2563eb;
  --green: #14b8a6;
  --coral: #ef705a;
  --shadow: 0 18px 45px rgba(13, 36, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

html[data-font-size="large"] {
  font-size: 112.5%;
}

html[data-font-size="x-large"] {
  font-size: 125%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

html[data-color-theme="soft-blue"] {
  --ink: #10243e;
  --muted: #425b78;
  --line: #b8cce0;
  --paper: #f7fbff;
  --soft: #e8f3fc;
  --deep: #123a5a;
  --blue: #075fa8;
  --green: #087f73;
}

html[data-color-theme="warm"] {
  --ink: #26211e;
  --muted: #625750;
  --line: #d8ccc2;
  --paper: #fffdf9;
  --soft: #f5eee7;
  --deep: #38302b;
  --blue: #8b4c2f;
  --green: #33715d;
}

html[data-color-theme="high-contrast"] {
  --ink: #000000;
  --muted: #171717;
  --line: #000000;
  --paper: #ffffff;
  --soft: #ffffff;
  --deep: #000000;
  --blue: #003cff;
  --green: #006b2d;
  --coral: #b00020;
}

html[data-color-theme="high-contrast"] body,
html[data-color-theme="high-contrast"] .site-header,
html[data-color-theme="high-contrast"] .page-hero,
html[data-color-theme="high-contrast"] .split-section,
html[data-color-theme="high-contrast"] .portfolio-row,
html[data-color-theme="high-contrast"] .avatar-showcase,
html[data-color-theme="high-contrast"] .pricing-offers {
  background: #ffffff;
}

html[data-color-theme="high-contrast"] .work-strip,
html[data-color-theme="high-contrast"] .logo-showcase,
html[data-color-theme="high-contrast"] .contact-hero,
html[data-color-theme="high-contrast"] .site-footer {
  color: #ffffff;
  background: #000000;
}

html[data-color-theme="high-contrast"] a,
html[data-color-theme="high-contrast"] button,
html[data-color-theme="high-contrast"] input,
html[data-color-theme="high-contrast"] select,
html[data-color-theme="high-contrast"] textarea {
  border-color: #000000;
}

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

.zoomable-image {
  cursor: zoom-in;
}

.zoomable-image:focus-visible {
  outline: 4px solid rgba(37, 99, 235, 0.55);
  outline-offset: -4px;
}

a {
  color: inherit;
}

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

.accessibility-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: white;
  font: 600 1rem Arial, Helvetica, sans-serif;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 10px 30px rgba(13, 36, 48, 0.3);
  cursor: pointer;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible {
  background: var(--deep);
}

.accessibility-panel {
  position: fixed;
  right: 18px;
  bottom: 80px;
  z-index: 69;
  display: none;
  width: min(360px, calc(100vw - 36px));
  max-height: min(640px, calc(100vh - 110px));
  overflow-y: auto;
  padding: 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(13, 36, 48, 0.28);
}

.accessibility-panel.open {
  display: block;
}

.accessibility-panel h2 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.accessibility-group {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.accessibility-group h3 {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.accessibility-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.accessibility-option,
.speech-control,
.accessibility-reset {
  min-height: 42px;
  padding: 9px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.accessibility-option:hover,
.speech-control:hover,
.accessibility-reset:hover,
.accessibility-option[aria-pressed="true"] {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
}

.color-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.color-swatch {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--swatch);
}

.speech-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.speech-control:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 225, 231, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 176px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: #8fd9b1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 92px);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 36, 48, 0.86), rgba(13, 36, 48, 0.56), rgba(13, 36, 48, 0.18));
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(24px, 4vw, 56px);
  background-image: url("../images/backgrounds/office1.webp");
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: white;
}

.hero-visual {
  --earth-offset-x: -130%;
  --earth-offset-y: -45%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transform: translate(var(--earth-offset-x), var(--earth-offset-y));
  perspective: 700px;
}

.spinning-earth {
  width: 198px;
  height: 198px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(5, 20, 31, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .spinning-earth {
    content: url("../images/hero/coding-earth-still.png");
  }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: 55px;
  line-height: 1.02;
  letter-spacing: 0;
}

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

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.page-heading p,
.contact-hero p {
  max-width: 680px;
  font-size: 1.12rem;
}

.hero-actions,
.cta-band {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--blue);
  width: 10rem;
}

.button.primary:hover {
  background: #1d4ed8;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button.dark {
  background: var(--deep);
}

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

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

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 92px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: end;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.service-grid,
.process-grid,
.download-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid,
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.process-grid article,
.download-card,
.work-grid article,
.contact-panel,
.support-details,
.portfolio-row article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-card,
.process-grid article {
  padding: 28px;
}

.service-icon,
.process-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--coral);
  font-weight: 600;
}

.service-card p,
.process-grid p,
.work-grid p,
.download-body p,
.support-details p,
.portfolio-row p {
  color: var(--muted);
}

.service-card a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--soft);
}

.split-section.reverse {
  background: white;
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
}

.tick-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.tick-list li {
  padding-left: 28px;
  position: relative;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.work-strip {
  background: var(--deep);
  color: white;
}

.work-strip .eyebrow {
  color: #6ee7d8;
}

.strip-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.work-grid article {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.work-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-grid h3,
.work-grid p {
  padding-inline: 22px;
}

.work-grid h3 {
  padding-top: 20px;
}

.work-grid p {
  padding-bottom: 24px;
  color: #c6d2da;
}

.cta-band {
  justify-content: space-between;
  padding: clamp(42px, 7vw, 76px) clamp(20px, 6vw, 92px);
  background: #e8fbf7;
}

.cta-band h2 {
  max-width: 780px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(160px, 0.55fr) minmax(190px, 0.7fr);
  gap: 34px;
  padding: 52px clamp(20px, 6vw, 92px) 24px;
  color: #c6d2da;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.14), transparent 38%),
    #081820;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #aab8c2;
}

.footer-logo {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
}

.footer-logo .brand-logo {
  width: 184px;
  height: 38px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: white;
  font-size: 0.9rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: #c6d2da;
  text-decoration: none;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #8fa1ad;
  font-size: 0.9rem;
}

.page-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 92px);
  background: var(--soft);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-heading {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 92px) clamp(20px, 4vw, 44px);
}

.service-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  margin-top: 18px;
  padding: 10px 14px;
  color: var(--deep);
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-prices .service-price {
  margin-top: 0;
}

.service-price strong {
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
}

.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 24px;
}

.pricing-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 36px;
  background: var(--soft);
}

.pricing-offers article {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.pricing-offers article:last-child {
  color: white;
  border-color: var(--deep);
  background: var(--deep);
}

.pricing-offers article:last-child p:not(.eyebrow) {
  color: #c6d2da;
}

.pricing-offers .price {
  margin: 6px 0 18px;
  color: var(--ink);
  font-size: 1.15rem;
}

.pricing-offers .price strong {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}

.pricing-offers article > p:not(.eyebrow, .price) {
  max-width: 580px;
  color: var(--muted);
}

.pricing-offers .button {
  margin-top: 10px;
}

.downloads-heading {
  grid-column: 1 / -1;
  max-width: 780px;
  margin-bottom: 16px;
}

.downloads-heading p:last-child {
  color: var(--muted);
}

.download-card {
  overflow: hidden;
}

.download-preview {
  display: grid;
  grid-template-rows: minmax(170px, 230px) auto;
  gap: 8px;
  width: 100%;
  padding: 18px 18px 12px;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #edf1f5;
  cursor: zoom-in;
}

.download-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.download-preview span {
  justify-self: center;
}

.download-preview:hover,
.download-preview:focus-visible {
  color: var(--blue);
  background: #e7edf3;
}

.download-preview:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: -3px;
}

.image-lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 92vh;
  padding: 52px 20px 18px;
  color: white;
  border: 0;
  border-radius: 8px;
  background: #081820;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.image-lightbox::backdrop {
  background: rgba(3, 12, 17, 0.82);
  backdrop-filter: blur(4px);
}

.image-lightbox img {
  width: 100%;
  max-height: calc(92vh - 100px);
  object-fit: contain;
}

.image-lightbox p {
  margin: 12px 0 0;
  text-align: center;
  color: #c6d2da;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.download-body {
  padding: 24px;
}

.download-type {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 600;
 
}
.download-type, h2 {
  font-size: 35px
}
.download-type, p {
  font-size: 15px
}
.download-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.portfolio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--soft);
}

.portfolio-heading {
  grid-column: 1 / -1;
  max-width: 820px;
  padding: 0 0 14px;
}

.portfolio-heading p:last-child {
  color: var(--muted);
}

.portfolio-row article {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1fr);
  overflow: hidden;
  min-width: 0;
}

.portfolio-row img {
  width: 100%;
  height: 220px;
  min-height: 0;
  object-fit: cover;
}

.portfolio-row div {
  padding: 24px;
}

.creative-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: end;
}

.logo-showcase {
  background: var(--deep);
  color: white;
}

.showcase-heading {
  max-width: 760px;
  margin-bottom: 30px;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.avatar-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: white;
}

.logo-industries {
  display: grid;
  gap: 34px;
}

.logo-industry h3 {
  margin-bottom: 14px;
  color: white;
  font-size: 1.15rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.logo-grid article {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: white;
}

.logo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f4f6f7;
}

.logo-grid span {
  display: block;
  min-height: 44px;
  padding: 12px 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.avatar-showcase {
  background: var(--soft);
}

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

.avatar-pair figure {
  min-width: 0;
  margin: 0;
  background: white;
}

.avatar-pair figure + figure {
  border-left: 1px solid var(--line);
}

.avatar-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.avatar-pair figcaption {
  padding: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-hero {
  background: var(--deep);
  color: white;
}

.contact-hero p:not(.eyebrow) {
  color: #c6d2da;
}

.contact-panel {
  padding: 26px;
  color: black;
  background: white;
}

.contact-panel p {
  margin-top: 0;
  color: black;
}

.contact-panel ul {
  padding-left: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: start;
}

.contact-form,
.support-details {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.detail-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-list strong {
  display: block;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-home {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 18px;
  }

  .intro-grid,
  .creative-intro,
  .split-section,
  .page-hero,
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid,
  .download-grid,
  .work-grid,
  .portfolio-row {
    grid-template-columns: 1fr;
  }

  .pricing-offers {
    grid-template-columns: 1fr;
  }

  .portfolio-row article {
    display: block;
  }

  .portfolio-row img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .portfolio-row article > div {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 24px;
    background: white;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand-logo {
    width: 144px;
    height: 36px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: 1.04;
  }

  .hero-home {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-visual {
    --earth-offset-x: 0%;
    --earth-offset-y: 10%;
    justify-content: flex-start;
  }

  .spinning-earth {
    width: 162px;
    height: 162px;
  }

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

  .hero {
    min-height: 600px;
    padding-inline: 18px;
  }

  .hero::before {
    background: rgba(13, 36, 48, 0.76);
  }

  .section,
  .page-hero,
  .page-heading,
  .contact-hero,
  .cta-band {
    padding-inline: 18px;
  }

  .service-card,
  .process-grid article,
  .download-body,
  .contact-form,
  .support-details {
    padding: 22px;
  }

  .download-preview {
    grid-template-rows: minmax(140px, 190px) auto;
    padding: 14px 14px 10px;
  }

  .site-footer {
    padding-inline: 18px;
  }

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

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}
