/* ==========================================================================
   Main CSS Manifest - PMSYSTEMTECH Vanilla Architecture
   ========================================================================== */

/* 1. Abstracts & Tokens */
@import "./abstracts/_variables.css";

/* 2. Base & Reset */
@import "./base/_reset.css";

/* 3. Reusable Components */
@import "./components/_logo.css";
@import "./components/_button.css";
@import "./components/_footer.css";
@import "./components/_modal.css";

/* ==========================================================================
   Block: Site Header & Navigation
   ========================================================================== */

.site-header {
  height: 4.875rem;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(1.125rem);
  border-bottom: 1px solid rgba(220, 227, 238, 0.75);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.25rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.125rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #404b61;
  position: relative;
  transition: color var(--transition-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--color-brand);
  bottom: -0.625rem;
  left: 0;
  right: 100%;
  transition: right 0.25s ease;
}

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

.nav a:hover::after {
  right: 0;
}

.menu-button {
  display: none;
}

/* ==========================================================================
   Block: Hero & Hero Carousel
   ========================================================================== */

.hero {
  min-height: calc(100vh - 4.875rem);
  height: 43.75rem;
  max-height: 53.125rem;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #101a2b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 16, 34, 0.92) 0%, rgba(7, 16, 34, 0.7) 46%, rgba(7, 16, 34, 0.24) 75%, rgba(7, 16, 34, 0.35) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(6, 14, 28, 0.58), transparent 42%), radial-gradient(circle at 24% 45%, rgba(41, 101, 232, 0.24), transparent 42%);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  transition: opacity 1s ease, transform 7s ease;
}

.hero__slide--active {
  opacity: 1;
  transform: scale(1);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__copy {
  max-width: 47.5rem;
  text-align: left;
}

.hero__title {
  max-width: 47.5rem;
  margin: 1.375rem 0 1.5625rem;
  color: #ffffff;
  font-size: clamp(3.625rem, 6.3vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.28125rem;
  font-weight: 620;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.22);
  animation: titleIn 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__title em {
  color: #77bdff;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.hero__copy>p {
  max-width: 39.375rem;
  margin: 0;
  color: #d7dfec;
  font-size: var(--font-size-lg);
  line-height: 1.65;
}

.hero__buttons {
  margin-top: 2.125rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.8125rem;
  flex-wrap: wrap;
}

.hero__buttons .button--primary {
  color: #ffffff;
  background: var(--color-brand);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.hero__buttons .button--primary:hover {
  background: #3976ef;
}

.hero__buttons .button--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(10, 23, 47, 0.24);
  backdrop-filter: blur(8px);
}

.hero__buttons .button--outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__socials {
  position: absolute;
  right: max(1.75rem, calc((100vw - 73.75rem) / 2));
  bottom: 7rem;
  z-index: 20;
  display: flex;
  gap: 0.5625rem;
}

.hero__socials a {
  width: 2.4375rem;
  height: 2.4375rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-full);
  background: rgba(7, 16, 34, 0.18);
  backdrop-filter: blur(7px);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 21;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero__socials a svg {
  pointer-events: none;
}

.hero__socials a:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  transform: translateY(-2px);
}

.hero__controls {
  position: absolute;
  right: max(11.25rem, calc((100vw - 73.75rem) / 2));
  bottom: 2.625rem;
  z-index: 20;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero__controls>span {
  margin-right: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.625rem;
  letter-spacing: 1px;
}

.hero__controls>span b {
  color: #ffffff;
  font-size: 0.875rem;
}

.hero__controls button {
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(9, 20, 41, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 21;
  transition: background var(--transition-fast);
}

.hero__controls button svg {
  pointer-events: none;
}

.hero__controls button:first-of-type {
  border-radius: 5px 0 0 5px;
  border-right: 0;
}

.hero__controls button:first-of-type svg {
  transform: rotate(180deg);
}

.hero__controls button:last-child {
  border-radius: 0 5px 5px 0;
}

.hero__controls button:hover {
  background: var(--color-brand);
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-weight: 700;
  cursor: pointer;
}

.hero__scroll-cue svg {
  pointer-events: none;
}

.hero__scroll-cue i {
  width: 1.875rem;
  height: 1.875rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  transform: rotate(90deg);
}

/* ==========================================================================
   Block: About Section
   ========================================================================== */

.about {
  background: #ffffff;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 3.75rem;
  margin-top: 0.9375rem;
  align-items: stretch;
}

.about__story {
  padding: 0.5rem 0;
}

.about__story>div {
  max-width: 45rem;
}

.about__story p {
  color: #5a6476;
  font-size: 0.9375rem;
  margin: 0 0 1.125rem;
}

.about__story .lead {
  color: var(--ink-light);
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.highlight-card {
  min-height: 27.5rem;
  position: relative;
  margin-top: -8.75rem;
  padding: 2.5rem;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(145deg, #2161e2, #1647b3);
  border-radius: var(--radius-xs);
  box-shadow: 0 1.625rem 3.4375rem rgba(38, 86, 184, 0.19);
  display: flex;
  flex-direction: column;
}

.highlight-card::after {
  content: "";
  position: absolute;
  width: 18.75rem;
  height: 18.75rem;
  right: -7.8125rem;
  top: -5rem;
  border: 3.4375rem solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
}

.highlight-card__icon {
  width: 3.5625rem;
  height: 3.5625rem;
  display: grid;
  place-items: center;
  color: #173c96;
  background: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}

.highlight-card .eyebrow {
  color: #b9d7ff;
}

.highlight-card h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.0625rem;
  margin: 0.6875rem 0 1.125rem;
  color: #ffffff;
}

.highlight-card p {
  color: #e4eeff;
  font-size: 0.875rem;
  margin: 0;
}

.highlight-card__footer {
  display: flex;
  gap: 1rem;
  margin-top: 1.6875rem;
  padding-top: 1.375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
  flex-wrap: wrap;
}

.highlight-card__footer span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* ==========================================================================
   Block: Services Section
   ========================================================================== */

.services {
  background: var(--bg-surface);
  border-top: 1px solid #edf0f4;
}

.service-group--software {
  margin-top: 3rem;
}

.service-group--infrastructure {
  margin-top: 3.5rem;
}

.service-group__heading {
  margin-bottom: 1.75rem;
}

.service-group__heading h3 {
  margin: 0 0 0.375rem;
  font-size: 1.5625rem;
  letter-spacing: -0.04375rem;
}

.service-group__heading p {
  color: #707a8c;
  margin: 0;
  font-size: 0.875rem;
}

.service-grid {
  display: grid;
  gap: 0.875rem;
}

.service-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

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

.service-card {
  min-height: 15.3125rem;
  padding: 1.8125em;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 1.25rem 2.75rem rgba(27, 48, 86, 0.09);
  border-color: #bdcbea;
}

.service-card__icon {
  width: 3em;
  height: 3em;
  display: grid;
  place-items: center;
  color: var(--color-brand);
  background: var(--color-brand-soft);
  border-radius: var(--radius-sm);
}

.service-card h4 {
  margin: 1.875em 0 0.625em;
  font-size: 1.0625rem;
  line-height: 1.28;
  letter-spacing: -0.015625rem;
}

.service-card p {
  margin: 0;
  color: #667185;
  font-size: 0.875rem;
  line-height: 1.55;
}

.service-card__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--color-brand);
  transition: width 0.28s ease;
}

.service-card:hover .service-card__line {
  width: 100%;
}

/* ==========================================================================
   Block: Promo Section
   ========================================================================== */

.promo {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

.promo-card {
  min-height: 26.875rem;
  padding: 3.75rem 4.125rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.125rem;
  color: #ffffff;
  background: linear-gradient(125deg, #143887, #1e5bd6 58%, #3284dc);
  border-radius: var(--radius-md);
  box-shadow: 0 1.875rem 4.375rem rgba(29, 72, 159, 0.22);
  transition: box-shadow 0.25s ease;
}

.promo-card:hover {
  box-shadow: 0 2.375rem 5.125rem rgba(29, 72, 159, 0.3);
}

.promo-card__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 2.8125rem 2.8125rem;
  mask-image: linear-gradient(90deg, transparent, #000000);
}

.promo-card__copy {
  position: relative;
  z-index: 2;
}

.promo-card h2 {
  max-width: 40.625rem;
  margin: 1.0625rem 0 1.1875rem;
  font-size: clamp(2.25rem, 4vw, 3.0625rem);
  line-height: 1.08;
  letter-spacing: -0.1375rem;
  font-weight: 650;
  color: #ffffff;
}

.promo-card__copy p {
  max-width: 40.625rem;
  margin: 0 0 1.8125rem;
  color: #dbe9ff;
  font-size: 0.9375rem;
}

.promo-card__visual {
  height: 18.75rem;
  position: relative;
  display: grid;
  place-items: center;
  z-index: 1;
}

.scan-ring {
  width: 14.375rem;
  height: 14.375rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 0 2.1875rem rgba(255, 255, 255, 0.04), 0 0 0 4.375rem rgba(255, 255, 255, 0.025);
}

.scan-ring>div {
  width: 6.25rem;
  height: 6.25rem;
  display: grid;
  place-items: center;
  color: #1760cc;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 1.125rem 2.5rem rgba(9, 30, 78, 0.32);
}

.scan-ring>span {
  width: 0.5625rem;
  height: 0.5625rem;
  position: absolute;
  border: 2px solid #ffffff;
  border-radius: var(--radius-full);
  background: #5bd9ee;
}

.scan-ring>span:nth-child(2) {
  left: 1.25rem;
  top: 2.125rem;
}

.scan-ring>span:nth-child(3) {
  right: -0.125rem;
  top: 6.5625rem;
}

.scan-ring>span:nth-child(4) {
  bottom: 0.6875rem;
  left: 3.5625rem;
}

.scan-label {
  position: absolute;
  padding: 0.5625rem 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #1b345e;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xs);
  box-shadow: 0 0.625rem 1.5rem rgba(9, 30, 78, 0.2);
}

.scan-label svg {
  color: #4dbb6b;
}

.scan-label--one {
  left: 0.1875rem;
  top: 1.875rem;
}

.scan-label--two {
  right: -0.4375rem;
  top: 6.6875rem;
}

.scan-label--three {
  left: 1.125rem;
  bottom: 1.5rem;
}

/* ==========================================================================
   Block: Legal / Terms Page
   ========================================================================== */

.legal-header__inner {
  justify-content: flex-start;
}

.legal-header__divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.legal-header__label {
  font-size: var(--font-size-md);
  letter-spacing: -0.0125rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-header__home {
  margin-left: auto;
  color: #4d596e;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.legal-header__home:hover {
  color: var(--color-brand);
}

.legal-hero {
  min-height: 20.625rem;
  padding: 4.75rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(120deg, #123f9f, #2367dd 62%, #398add);
}

.legal-hero::after {
  content: "";
  width: 460px;
  height: 460px;
  position: absolute;
  right: -100px;
  top: -220px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
}

.legal-hero h1 {
  margin: 1.0625rem 0 1rem;
  font-size: clamp(2.8125rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.1875rem;
  font-weight: 650;
  color: #ffffff;
}

.legal-hero p {
  margin: 0;
  color: #dceaff;
  font-size: 1.0625rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 14.375rem minmax(0, 49.375rem);
  gap: 5.625rem;
  align-items: start;
  padding-top: 5rem;
  padding-bottom: 7.5rem;
}

.legal-index {
  position: sticky;
  top: 6.5625rem;
  display: flex;
  flex-direction: column;
  padding: 1.4375rem 0;
  border-top: 2px solid var(--color-brand);
  border-bottom: 1px solid var(--border);
}

.legal-index>span {
  margin-bottom: 0.9375rem;
  color: #26344e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
}

.legal-index a {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.4375rem;
  padding: 0.5rem 0;
  color: #687387;
  font-size: 0.75rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.legal-index a:hover {
  color: var(--color-brand);
}

.legal-index b {
  color: #a5afbe;
  font-size: 0.625rem;
}

.legal-content section {
  position: relative;
  padding: 0 0 3.625rem;
  margin-bottom: 3.625rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 6.5625rem;
}

.legal-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content__number {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.0875rem;
}

.legal-content h2 {
  margin: 0 0 1.5rem;
  color: #142039;
  font-size: clamp(1.75rem, 3vw, 2.4375rem);
  line-height: 1.15;
  letter-spacing: -0.0875rem;
}

.legal-content p {
  margin: 0 0 1.0625rem;
  color: #505c70;
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: justify;
}

.legal-content ul {
  margin: 1.375rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-content li {
  position: relative;
  padding: 0 0 0.9375rem 1.5625rem;
  color: #505c70;
  font-size: 0.9375rem;
  line-height: 1.75;
  text-align: justify;
}

.legal-content li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 0;
  top: 10px;
  border-radius: var(--radius-full);
  background: var(--color-brand);
}

.legal-content li ul {
  margin: 1rem 0 0 0.25rem;
  padding-left: 1.125rem;
  border-left: 1px solid #d5deeb;
}

.legal-content li li {
  padding-bottom: 0.625rem;
  font-size: 0.875rem;
}

.legal-content li li::before {
  width: 5px;
  height: 5px;
  top: 10px;
  background: #8ca0be;
}

/* ==========================================================================
   Block: Intranet Portal Page
   ========================================================================== */

.intranet-body {
  background: linear-gradient(135deg, #0c1a30 0%, #112548 50%, #0d1e38 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.intranet-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 26, 48, 0.8);
  backdrop-filter: blur(10px);
}

.intranet-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intranet-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
}

.intranet-card {
  width: min(28rem, 100%);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  color: var(--ink);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.intranet-card__header {
  text-align: center;
  margin-bottom: 2rem;
}

.intranet-card__header h1 {
  font-size: 1.75rem;
  margin: 0.875rem 0 0.375rem;
}

.intranet-card__header p {
  color: var(--muted);
  font-size: 0.875rem;
}

.intranet-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intranet-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 700;
  color: #3b4659;
}

.intranet-form input[type="text"],
.intranet-form input[type="email"],
.intranet-form input[type="password"] {
  height: 2.875rem;
  padding: 0 1rem;
  margin-top: 0.4375rem;
  border: 1px solid #d8dee8;
  border-radius: var(--radius-sm);
  background: #fbfcfd;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.intranet-form input:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(41, 101, 232, 0.15);
}

.intranet-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.intranet-form__row label {
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
}

.intranet-form__row a {
  color: var(--color-brand);
  font-weight: 600;
}

.intranet-card__footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.intranet-footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #78859a;
  text-align: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (<= 1050px) */
@media (max-width: 65.625rem) {
  .hero {
    height: auto;
    min-height: 42.5rem;
    padding: 5.3125rem 0;
  }

  .hero__title {
    font-size: clamp(3.4375rem, 8vw, 4.875rem);
  }

  .hero__socials {
    right: 1.75rem;
  }

  .hero__controls {
    right: 11.25rem;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.1875rem;
  }

  .highlight-card {
    margin-top: 0;
  }

  .service-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-layout {
    grid-template-columns: 11.875rem minmax(0, 1fr);
    gap: 3.4375rem;
  }
}

/* Small Tablet / Large Phone (<= 800px) */
@media (max-width: 50rem) {
  .container {
    width: min(100% - 2rem, 42.5rem);
  }

  .section {
    padding: 5.125rem 0;
  }

  .site-header {
    height: 4.25rem;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.625rem;
    padding: 0.75rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 1.25rem 3.125rem rgba(20, 38, 70, 0.17);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav--open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    padding: 0.8125rem 0.75rem;
  }

  .nav a::after {
    display: none;
  }

  .menu-button {
    display: grid !important;
  }

  .header__actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 4.875rem 0 5.9375rem;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(7, 16, 34, 0.9), rgba(7, 16, 34, 0.48));
  }

  .hero__title {
    max-width: 38.75rem;
    font-size: clamp(2.875rem, 11vw, 4.0625rem);
  }

  .hero__socials {
    right: 1.25rem;
    bottom: 5.9375rem;
  }

  .hero__controls {
    left: 1rem;
    right: auto;
    bottom: 1.75rem;
  }

  .hero__scroll-cue {
    display: none;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 1.5625rem;
  }

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

  .highlight-card {
    min-height: 25rem;
    margin-top: 0;
  }

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

  .promo-card {
    padding: 3.125rem 2.5rem;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-card__copy p {
    margin-inline: auto;
  }

  .promo-card__visual {
    display: none;
  }

  .legal-header__inner {
    gap: 0.9375rem;
  }

  .legal-header__label,
  .legal-header__divider,
  .legal-header__inner .button {
    display: none;
  }

  .legal-hero {
    min-height: 17.8125rem;
    padding: 4.0625rem 0;
  }

  .legal-layout {
    display: block;
    padding-top: 4.0625rem;
    padding-bottom: 5.625rem;
  }

  .legal-index {
    display: none;
  }

  .legal-content {
    max-width: 45rem;
  }
}

/* Phone (<= 560px) */
@media (max-width: 35rem) {
  .hero {
    padding-top: 4.0625rem;
  }

  .hero__title {
    letter-spacing: -0.15rem;
  }

  .hero__copy>p {
    font-size: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .button {
    width: 100%;
  }

  .hero__socials {
    bottom: 1.8125rem;
  }

  .hero__socials a {
    width: 2.25rem;
    height: 2.25rem;
  }

  .hero__controls>span {
    display: none;
  }

  .hero__controls button {
    width: 2.625rem;
    height: 2.625rem;
  }

  .section-heading h2 {
    letter-spacing: -0.1rem;
  }

  .about__grid {
    margin-top: 0.9375rem;
  }

  .highlight-card {
    padding: 1.875rem;
  }

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

  .service-card {
    min-height: 13.75rem;
  }

  .promo {
    padding-block: 4.375rem;
  }

  .promo-card {
    padding: 2.625rem 1.5625rem;
    text-align: left;
  }

  .promo-card__copy p {
    margin-inline: 0;
  }

  .promo-card h2 {
    font-size: 2.125rem;
    letter-spacing: -0.09375rem;
  }

  .promo-card .button {
    width: 100%;
  }

  .section-heading--center {
    text-align: left;
  }

  .legal-hero {
    min-height: 15.625rem;
    padding: 3.375rem 0;
  }

  .legal-hero h1 {
    font-size: 2.625rem;
  }

  .legal-hero p {
    font-size: 0.9375rem;
  }

  .legal-layout {
    padding-top: 3.25rem;
    padding-bottom: 4.5rem;
  }

  .legal-content section {
    padding-bottom: 2.625rem;
    margin-bottom: 2.625rem;
  }

  .legal-content h2 {
    font-size: 1.8125rem;
    letter-spacing: -0.0625rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: 0.875rem;
  }
}