* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* 80% of the previous rem scale: 62.5% × 0.8 = 50% */
  font-size: 50%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

body {
  color: var(--bs-gray-dark);
  background: var(--bs-white);
  font-family: var(--bs-font-sans-serif);
  line-height: 1.5;
  overflow-x: clip;
}


img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20000;
  padding: 1.2rem 1.8rem;
  color: var(--bs-white);
  background: var(--bs-gray-dark);
  font-size: 1.5rem;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.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;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 9rem;
  padding: 1.8rem max(4rem, calc((100vw - var(--container-width)) / 2));
  color: var(--bs-white);
  background: var(--primary-deep);
  box-shadow: 0 0 0 var(--color-transparent);
  transition: min-height 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.header.stuck {
  min-height: 7.4rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  box-shadow: 0 0.8rem 2.5rem var(--primary-alpha-20);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 2px solid var(--white-alpha-50);
  border-radius: 0.7rem;
  color: var(--bs-white);
  background: var(--action-color);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  color: var(--bs-white);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.08rem;
}

.brand-name span {
  color: var(--nav-link-hover);
}

.header-navbar ul {
  display: flex;
  align-items: center;
  gap: clamp(1.8rem, 2vw, 4rem);
  list-style: none;
  z-index: 1000;
}

.header-navbar a {
  position: relative;
  padding: 1rem 0;
  color: var(--white-alpha-88);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
  transition: color 0.2s ease;
}

.header-navbar a::after {
  position: absolute;
  bottom: 0.4rem;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--nav-link-hover);
  transition: width 0.2s ease;
}

.header-navbar a:hover,
.header-navbar a:focus-visible {
  color: var(--bs-white);
}

.header-navbar a:hover::after,
.header-navbar a:focus-visible::after {
  width: 100%;
}

.header-cta {
  padding: 1.2rem 1.8rem;
  border: 1px solid var(--white-alpha-45);
  border-radius: var(--radius);
  color: var(--bs-white);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  border-color: var(--action-color);
  background: var(--action-color);
}

.menu-toggle {
  display: none;
  width: 4.4rem;
  height: 4.4rem;
  padding: 1rem;
  border: 1px solid var(--white-alpha-35);
  border-radius: 0.6rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.45rem 0;
  background: var(--bs-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.65rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.65rem) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  height: clamp(74rem, calc(100svh - 9rem), 90rem);
  min-height: 74rem;
  overflow: hidden;
  color: var(--bs-white);
  background: var(--bg-linear-grad);
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -28rem;
  right: -20rem;
  width: 78rem;
  height: 78rem;
  border: 1px solid var(--white-alpha-12);
  box-shadow: 0 0 0 10rem var(--white-alpha-025),
    0 0 0 22rem var(--white-alpha-018);
}

.hero::after {
  bottom: -28rem;
  left: -20rem;
  width: 58rem;
  height: 58rem;
  background: var(--action-alpha-18);
  filter: blur(3rem);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s;
}

.hero-slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(52rem, 1.1fr);
  gap: clamp(2rem, 4vw, 8rem);
  align-items: center;
  width: min(calc(100% - 8rem), var(--container-width));
  height: 100%;
  margin: 0 auto;
  padding: 5rem 0 10rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 70rem;
}

.eyebrow,
.section-kicker {
  margin-bottom: 1.8rem;
  color: var(--action-color-dark);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
}

.hero .eyebrow,
.section-kicker-light {
  color: var(--nav-link-hover);
}

.title {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  font-size: clamp(5.2rem, 5vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.25rem;
}

.title > span:not(.bg-letter) {
  position: relative;
  z-index: 1;
}

.title-bold {
  font-weight: 700;
}

.font-thin {
  font-weight: 300;
}

.bg-letter {
  position: absolute;
  top: -8rem;
  left: -5rem;
  color: var(--white-alpha-055);
  font-size: 22rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.hero-description {
  max-width: 62rem;
  margin-bottom: 3.5rem;
  color: var(--white-alpha-80);
  font-size: clamp(1.7rem, 1.3vw, 2rem);
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-visual img {
  width: min(100%, 82rem);
  max-height: 66rem;
  object-fit: contain;
  filter: drop-shadow(0 3.5rem 4rem var(--black-alpha-22));
}

.hero-visual-phone img {
  width: min(62%, 50rem);
  max-height: 68rem;
}

.hero-controls {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
  transform: translateX(-50%);
}

.hero-arrow {
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border: 1px solid var(--white-alpha-35);
  border-radius: 50%;
  color: var(--bs-white);
  background: var(--primary-alpha-35);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover {
  border-color: var(--action-color);
  background: var(--action-color);
}

.hero-arrow svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: currentColor;
}

.hero-indicators {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.hero-dot {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--white-alpha-70);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 3.2rem;
  border-color: var(--bs-white);
  border-radius: 1rem;
  background: var(--bs-white);
}

/* Shared typography and buttons */
.heading-secondary-b,
.heading-secondary-w {
  position: relative;
  font-size: clamp(3.6rem, 4vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.14rem;
}

.heading-secondary-b { color: var(--bs-gray-dark); }
.heading-secondary-w { color: var(--bs-white); }

.paragraph {
  font-size: clamp(1.7rem, 1.3vw, 2rem);
  line-height: 1.75;
}

.paragraph-b { color: var(--bs-gray); }
.paragraph-w { color: var(--white-alpha-78); }

.watermarked {
  position: relative;
  z-index: 1;
}

.watermarked::before {
  position: absolute;
  top: -3.5rem;
  left: -3rem;
  z-index: -1;
  content: attr(data-watermark);
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.watermarked.wa-color-b::before { color: var(--primary-alpha-055); }
.watermarked.wa-color-w::before { color: var(--white-alpha-06); }

.action-btn {
  position: relative;
  display: inline-flex;
  min-height: 5.8rem;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 3rem;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-orange {
  color: var(--bs-white);
  background: var(--action-color);
  box-shadow: 0 1.2rem 3rem var(--action-alpha-24);
}

.btn-orange:hover {
  background: var(--action-color-dark);
  box-shadow: 0 1.5rem 3.5rem var(--action-alpha-30);
  transform: translateY(-2px);
}

.animate-btn > span {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.animate-btn::before {
  position: absolute;
  top: 68%;
  left: 50%;
  content: attr(data-content);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: top 0.2s ease, opacity 0.2s ease;
}

.animate-btn:hover > span {
  opacity: 0;
  transform: translateY(-1rem);
}

.animate-btn:hover::before {
  top: 50%;
  opacity: 1;
}

.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--action-color-dark);
  font-size: 1.6rem;
  font-weight: 700;
}

.text-link span { transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(0.5rem); }

/* Overview */
.section-lg {
  width: min(calc(100% - 8rem), var(--container-width));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.overview-section,
.organization-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(6rem, 9vw, 15rem);
  align-items: center;
}

.about-section-image {
  position: relative;
  min-width: 0;
}

.about-section-image::before {
  position: absolute;
  top: -7rem;
  right: 12%;
  bottom: -7rem;
  left: -4rem;
  z-index: -1;
  content: "";
}

.about-section-image img {
  width: 100%;
  max-height: 58rem;
  object-fit: contain;
  filter: drop-shadow(0 2.4rem 3rem var(--primary-alpha-14));
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.about-heading { max-width: 14ch; }

.check-list,
.detail-list {
  display: grid;
  gap: 1.3rem;
  list-style: none;
}

.check-list li,
.detail-list li {
  position: relative;
  padding-left: 2.8rem;
  color: var(--bs-gray-dark);
  font-size: 1.65rem;
  line-height: 1.5;
}

.check-list li::before,
.detail-list li::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid var(--action-color);
  border-radius: 50%;
  content: "";
}

/* Capability grid, retained from the original service grid */
.services-section {
  padding: var(--section-space) max(4rem, calc((100vw - var(--container-width)) / 2));
  background: var(--bg-linear-grad);
}

.section-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 88rem;
  margin: 0 auto 6rem;
  text-align: center;
}

.section-heading.centered .paragraph { margin-top: 2.2rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container-width);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bs-white);
  box-shadow: var(--shadow-soft);
}

.card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 40rem;
  flex-direction: column;
  padding: clamp(3rem, 3vw, 5rem);
  background: var(--bs-white);
}

.card:not(:last-child) { border-right: 1px solid var(--border-color); }

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 5rem;
  margin-bottom: auto;
}

.feature-icon {
  width: 4.8rem;
  height: 4.8rem;
  fill: var(--action-color);
}

.card-number {
  color: var(--action-color);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
}

.card-heading {
  min-height: 6.5rem;
  margin: 4rem 0 2.5rem;
  color: var(--bs-gray-dark);
  font-size: clamp(2.2rem, 2vw, 2.8rem);
  line-height: 1.2;
}

.card ul {
  display: grid;
  gap: 1.5rem;
  color: var(--bs-gray);
  font-size: 1.55rem;
  line-height: 1.55;
  list-style: none;
}

.card li {
  position: relative;
  padding-left: 1.8rem;
}

.card li::before {
  position: absolute;
  top: 0.8rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  content: "";
  background: var(--action-color);
}

/* Product stories, adapted from the original split quality section */
.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 72rem;
  background: var(--bs-white);
}

.feature-story-dark {
  color: var(--bs-white);
  background: var(--bg-linear-grad);
}

.feature-visual {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 7vw, 11rem);
  overflow: hidden;
  background: var(--surface-blue);
}

.feature-visual img {
  width: 100%;
  max-height: 58rem;
  object-fit: contain;
  filter: drop-shadow(0 3rem 3.5rem var(--primary-alpha-18));
}

.feature-story-dark .feature-visual {
  background: var(--white-alpha-035);
}

.schedule-visual img {
  max-height: 62rem;
  filter: drop-shadow(0 3rem 4rem var(--black-alpha-25));
}

.section-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
  padding: clamp(7rem, 9vw, 14rem);
}

.section-content h2 { max-width: 13ch; }

.story-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.story-meta .section-kicker {
  margin-bottom: 0;
}

.story-icon {
  width: 4.6rem;
  height: 4.6rem;
  flex: 0 0 4.6rem;
  fill: var(--action-color);
}

.story-meta-light .story-icon {
  fill: var(--nav-link-hover);
}

.story-lead {
  max-width: 56rem;
  color: var(--action-color-dark);
  font-size: clamp(2rem, 2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.45;
}

.story-lead-light { color: var(--nav-link-hover); }
.detail-list-light li { color: var(--white-alpha-86); }
.detail-list-light li::before { border-color: var(--nav-link-hover); }

/* Organization */
.organization-section {
  position: relative;
  padding-bottom: 0;
}

.organization-section::before {
  position: absolute;
  top: var(--section-space);
  right: -4rem;
  bottom: 0;
  left: 60%;
  z-index: -1;
  content: "";
}

.organization-section .about-content {
  padding-bottom: var(--section-space);
}

.organization-section h2 { max-width: 15ch; }

.organization-points {
  display: grid;
  width: 100%;
  gap: 0;
  margin-top: 1rem;
}

.organization-points div {
  display: grid;
  grid-template-columns: minmax(12rem, 0.36fr) 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--border-color);
}

.organization-points strong {
  color: var(--bs-gray-dark);
  font-size: 1.55rem;
}

.organization-points span {
  color: var(--bs-gray);
  font-size: 1.55rem;
}

.phone-showcase {
  display: flex;
  align-self: end;
  justify-content: center;
  max-height: 76rem;
  overflow: hidden;
}

.phone-showcase img {
  width: min(76%, 56rem);
  height: auto;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 3rem 4rem var(--primary-alpha-16));
}

/* Workflow */
.workflow-section {
  padding: var(--section-space) max(4rem, calc((100vw - var(--container-width)) / 2));
  background: var(--surface-color);
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container-width);
  margin: 0 auto;
  list-style: none;
}

.workflow-list::before {
  position: absolute;
  top: 2rem;
  left: 3rem;
  right: 3rem;
  height: 1px;
  content: "";
  background: var(--border-color);
}

.workflow-list li {
  position: relative;
  padding-right: clamp(2rem, 4vw, 6rem);
}

.workflow-list li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-bottom: 3rem;
  place-items: center;
  border-radius: 50%;
  color: var(--bs-white);
  background: var(--action-color);
  font-size: 1.2rem;
  font-weight: 700;
}

.workflow-list strong {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--bs-gray-dark);
  font-size: 2.3rem;
}

.workflow-list p {
  color: var(--bs-gray);
  font-size: 1.55rem;
  line-height: 1.65;
}

/* CTA */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4rem, 8vw, 12rem);
  padding: 7rem max(4rem, calc((100vw - var(--container-width)) / 2));
  background: var(--bg-linear-grad);
}

.cta-band .heading-secondary-w {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.2rem, 3.5vw, 5rem);
}

.cta-band .action-btn { flex-shrink: 0; }

/* Contact */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(6rem, 10vw, 16rem);
  padding: 15rem;
  background: var(--surface-color);

}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.contact-intro h2 { max-width: 13ch; }

.contact-details {
  display: grid;
  gap: 1.4rem;
  width: 100%;
  margin-top: 1.5rem;
}

.contact-details a {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  color: var(--bs-gray-dark);
  font-size: 1.7rem;
  font-weight: 600;
}

.contact-details svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: var(--action-color);
}

.contact-details span {
  display: flex;
  flex-direction: column;
}

.contact-details small {
  color: var(--bs-gray);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;

  width: 100%;
  height: 100%;
  align-self: stretch;
  box-sizing: border-box;

  padding: clamp(3rem, 5vw, 6rem);
  border: 0;
  border-radius: 0;

  background: var(--surface-color);
  box-shadow: none;
}
.form-row {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-row.span-all { grid-column: 1 / -1; }

.form-row label {
  margin-bottom: 0.7rem;
  color: var(--bs-gray-dark);
  font-size: 1.35rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--form-border-color);
  border-radius: var(--radius);
  color: var(--bs-gray-dark);
  background: var(--bs-white);
  font-size: 1.6rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input { height: 5.2rem; padding: 0 1.6rem; }
.form-row textarea { min-height: 14rem; padding: 1.4rem 1.6rem; resize: vertical; }

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--action-color);
  box-shadow: 0 0 0 3px var(--action-alpha-13);
}

.form-row .has-error { border-color: var(--error-color); }

.error-message {
  margin-top: 0.5rem;
  color: var(--error-color);
  font-size: 1.2rem;
}

.no-grow { justify-self: start; }

.form-note {
  align-self: center;
  color: var(--bs-gray);
  font-size: 1.2rem;
}

/* Footer */
#footer {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: clamp(4rem, 8vw, 12rem);
  padding: 8rem max(4rem, calc((100vw - var(--container-width)) / 2)) 0;
  color: var(--bs-white);
  background: var(--surface-dark);
}

.brand-footer { margin-bottom: 2.5rem; }

.footer-brand p {
  max-width: 50rem;
  color: var(--white-alpha-65);
  font-size: 1.6rem;
  line-height: 1.7;
}

.footer-heading {
  margin-bottom: 2.5rem;
  color: var(--bs-white);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.footer-links ul,
.footer-contact ul {
  display: grid;
  gap: 1.2rem;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: var(--white-alpha-68);
  font-size: 1.5rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--nav-link-hover); }

.rights {
  grid-column: 1 / -1;
  padding: 2.5rem 0;
  border-top: 1px solid var(--white-alpha-12);
  color: var(--white-alpha-55);
  font-size: 1.3rem;
}

.scroll-top-btn {
  position: fixed;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 100;
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border-radius: var(--radius);
  color: var(--bs-white);
  background: var(--action-color);
  box-shadow: 0 1rem 2.5rem var(--primary-alpha-22);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover { background: var(--action-color-dark); }
.scroll-top-btn svg { width: 2.4rem; height: 2.4rem; fill: currentColor; }

/* Animate.css choreography, triggered by the original Intersection Observer pattern */
.js .reveal {
  opacity: 0;
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
}

.reveal.animate__animated {
  animation-fill-mode: both;
}

.feature-story,
.services-section,
.overview-section,
.organization-section,
.workflow-section,
.cta-band,
.contact-section,
#footer {
  overflow: clip;
}

@media (max-width: 1024px) {
  .header { padding-right: 3rem; padding-left: 3rem; }
  .header-navbar ul { gap: 2rem; }
  .header-cta { display: none; }
  .hero-slide-inner { width: min(calc(100% - 6rem), var(--container-width)); }
  .services-section,
  .workflow-section,
  .cta-band,
  #footer { padding-right: 4rem; padding-left: 4rem; }
  .card { padding: 3.5rem 2.8rem; }
  .section-content { padding-right: 7rem; padding-left: 7rem; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 7.4rem; }
  .header { min-height: 7.4rem; }
  .menu-toggle { display: block; order: 3; }
  .header-navbar {
    position: fixed;
    top: 7.4rem;
    right: 0;
    bottom: 0;
    width: min(38rem, 100%);
    padding: 4rem;
    visibility: hidden;
    background: var(--surface-dark);
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s;
  }
  .header-navbar.is-open {
    visibility: visible;
    opacity: 1;
  }
  .header-navbar ul { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .header-navbar a { display: block; padding: 1.4rem 0; font-size: 1.8rem; }
  .header-navbar a::after { bottom: 0.8rem; }

  .hero {
    height: 92rem;
    min-height: 92rem;
  }
  .hero-slide-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-content: center;
    width: min(calc(100% - 6rem), 78rem);
    padding: 5rem 0 10rem;
  }
  .hero-content { max-width: 72rem; }
  .hero-visual img { width: min(78%, 60rem); max-height: 34rem; }
  .hero-visual-phone img { width: min(35%, 25rem); max-height: 34rem; }
  .title { font-size: clamp(5rem, 8vw, 7rem); }
  .hero-description { max-width: 70rem; }

  .overview-section,
  .organization-section {
    grid-template-columns: 1fr;
    gap: 7rem;
    width: min(calc(100% - 6rem), 80rem);
  }
  .about-section-image::before { right: 15%; }
  .about-heading,
  .organization-section h2 { max-width: 18ch; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 34rem; }
  .card:nth-child(2) { border-right: 0; }
  .card:nth-child(-n+2) { border-bottom: 1px solid var(--border-color); }

  .feature-story { grid-template-columns: 1fr; min-height: 0; }
  .feature-story-dark .section-content { order: 2; }
  .feature-story-dark .feature-visual { order: 1; }
  .feature-visual { min-height: 54rem; padding: 6rem; }
  .feature-visual img { max-height: 48rem; }
  .section-content { min-height: 58rem; padding: 9rem 7rem; }
  .section-content h2 { max-width: 18ch; }

  .organization-section::before { top: 48%; left: 24%; }
  .organization-section .about-content { padding-bottom: 0; }
  .phone-showcase { max-height: 60rem; }
  .phone-showcase img { width: min(58%, 42rem); }

  .workflow-list { grid-template-columns: repeat(2, 1fr); gap: 5rem 3rem; }
  .workflow-list::before { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  /* .contact-section { grid-template-columns: 1fr; } */
  .contact-intro { max-width: 76rem; }
  #footer { grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 5rem; }
}

@media (max-width: 544px) {
  :root { --section-space: 8rem; }
  .header { padding-right: 2rem; padding-left: 2rem; }
  .brand-name { font-size: 2.4rem; }
  .brand-mark { width: 3.7rem; height: 3.7rem; }
  .hero { height: 94rem; min-height: 94rem; }
  .hero::before { right: -45rem; }
  .hero-slide-inner {
    width: min(calc(100% - 4rem), 54rem);
    align-content: start;
    padding-top: 7rem;
  }
  .title { margin-bottom: 2.2rem; font-size: clamp(4.1rem, 12vw, 5.8rem); letter-spacing: -0.16rem; }
  .bg-letter { top: -4rem; left: -2rem; font-size: 14rem; }
  .hero-description { margin-bottom: 2.6rem; font-size: 1.65rem; line-height: 1.6; }
  .hero .action-btn { width: 100%; }
  .hero-visual { align-items: flex-start; }
  .hero-visual img { width: min(100%, 48rem); max-height: 32rem; }
  .hero-visual-phone img { width: min(52%, 24rem); }
  .hero-controls { bottom: 2.5rem; }

  .section-lg { width: min(calc(100% - 4rem), var(--container-width)); }
  .heading-secondary-b,
  .heading-secondary-w { font-size: clamp(3.3rem, 10vw, 4.4rem); }
  .watermarked::before { top: -2.5rem; left: -1.5rem; font-size: 9rem; }
  .paragraph { font-size: 1.7rem; }
  .about-section-image::before { top: -4rem; bottom: -4rem; }

  .services-section,
  .workflow-section,
  .cta-band,
  #footer { padding-right: 2rem; padding-left: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 3.5rem; }
  .card:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--border-color); }
  .card-topline { margin-bottom: 1rem; }
  .card-heading { min-height: 0; margin: 2rem 0; }

  .feature-visual { min-height: 40rem; padding: 3rem 2rem; }
  .feature-visual img { max-height: 36rem; }
  .section-content { min-height: 0; padding: 8rem 2rem; }
  .organization-section { gap: 5rem; }
  .organization-section::before { top: 57%; left: 15%; }
  .organization-points div { grid-template-columns: 1fr; gap: 0.5rem; }
  .phone-showcase { max-height: 50rem; }
  .phone-showcase img { width: min(74%, 36rem); }

  .workflow-list { grid-template-columns: 1fr; gap: 4rem; }
  .workflow-list li { padding-right: 0; }
  .workflow-list li > span { margin-bottom: 1.5rem; }
  .cta-band { padding-top: 6rem; padding-bottom: 6rem; }
  .cta-band .action-btn { width: 100%; }
  .order-form { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .form-row.span-all { grid-column: auto; }
  .no-grow { width: 100%; justify-self: stretch; }
  .form-note { text-align: center; }
  #footer { grid-template-columns: 1fr 1fr; padding-top: 6rem; }
  .footer-brand { grid-column: 1 / -1; }
  .rights { margin-top: 1rem; }
  .scroll-top-btn { right: 1.5rem; bottom: 1.5rem; width: 4.6rem; height: 4.6rem; }
}

@media (max-width: 336px) {
  .hero { height: 97rem; min-height: 97rem; }
  .hero-slide-inner { padding-top: 5rem; }
  .hero-visual img { max-height: 28rem; }
  .hero-visual-phone img { max-height: 30rem; }
  .action-btn { padding-right: 2rem; padding-left: 2rem; font-size: 1.3rem; }
  #footer { grid-template-columns: 1fr; }
  .footer-brand,
  .rights { grid-column: auto; }
}

@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;
  }
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right {
    opacity: 1;
    transform: none;
  }
}


@media (max-width: 820px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 5rem 3rem;
  }

  .contact-intro {
    max-width: 100%;
  }

  .order-form {
    width: 100%;
    height: auto;
    padding: 4rem 3rem;
  }
}

@media (max-width: 544px) {
  .contact-section {
    gap: 3rem;
    padding: 4rem 2rem;
  }

  .order-form {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 3rem 2rem;
  }

  .form-row.span-all {
    grid-column: auto;
  }

  .order-form .action-btn {
    width: 100%;
  }
}


@media (max-width: 820px) {
  /*
   * Do not lock the body with overflow: hidden.
   * That causes the sticky header and scroll position to jump.
   */
  body.nav-open {
    overflow-x: clip;
    overflow-y: auto;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: var(--primary-deep);
  }

  .header-navbar {
    position: fixed;
    top: 7.4rem;
    right: 0;
    bottom: auto;
    z-index: 9999;

    width: min(38rem, 100%);
    height: calc(100vh - 7.4rem);
    height: calc(100dvh - 7.4rem);

    padding: 4rem;
    overflow-y: auto;
    overscroll-behavior: contain;

    visibility: hidden;
    opacity: 0;
    background-color: var(--surface-dark);
    box-shadow: -2rem 2rem 5rem var(--primary-alpha-22);

    transform: translateX(100%);
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s;
  }

  .header-navbar.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
}