/* Onchinas Lockouts and Key — landing */

:root {
  --navy: #0b1220;
  --navy-mid: #1a2740;
  --slate: #3d4d66;
  --mint: #39c6b8;
  --mint-deep: #2a9e93;
  --fog: #e9eef5;
  --panel: #f5f7fb;
  --white: #f8fafc;
  --max: 1120px;
  --header-h: 4.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Mulish", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(57, 198, 184, 0.12), transparent 55%),
    linear-gradient(180deg, var(--panel) 0%, var(--fog) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

h1,
h2,
h3,
.hero__brand,
.logo,
.site-footer__brand {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  color: var(--white);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.85), transparent);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white);
}

.nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.6rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.9);
}

.nav a:hover {
  color: var(--white);
}

.nav__phone {
  color: var(--mint) !important;
  border-bottom: 1px solid rgba(57, 198, 184, 0.55);
  padding-bottom: 0.1rem;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(248, 250, 252, 0.35);
  background: rgba(11, 18, 32, 0.45);
  display: inline-grid;
  place-content: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: rgba(11, 18, 32, 0.97);
  padding: 0.5rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(57, 198, 184, 0.28);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0.35rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--mint);
  color: var(--navy);
}

.btn--primary:hover {
  background: #4fd4c6;
  color: var(--navy);
}

.btn--ghost {
  border-color: rgba(248, 250, 252, 0.55);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-mid);
  color: var(--white);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: drift 18s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.22) 38%, rgba(11, 18, 32, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.45) 52%, rgba(11, 18, 32, 0.2) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 1.5rem) 0 2.75rem;
}

.hero__content {
  width: min(100% - 2rem, var(--max));
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  text-align: left;
  animation: rise 0.9s var(--ease) both;
}

.hero__brand {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 6.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
}

.hero__headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 22ch;
  color: rgba(248, 250, 252, 0.95);
}

.hero__lede {
  margin: 0 0 1.5rem;
  max-width: 36ch;
  color: rgba(248, 250, 252, 0.84);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes drift {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12) translate(-1%, -0.6%);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* About — full-bleed band + centered frame */

.about {
  padding: clamp(3.25rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6.5rem);
}

.about__band {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 0;
  overflow: hidden;
}

.about__band img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.04) saturate(0.92);
}

.about__frame {
  width: min(100% - 2rem, 40rem);
  margin: -2.5rem auto 0;
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.12);
  border-top: 3px solid var(--mint);
}

.about__frame h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  max-width: 16ch;
  color: var(--navy);
}

.about__frame p {
  margin: 0 0 0.95rem;
  color: var(--slate);
}

.about__address {
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(11, 18, 32, 0.12);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--navy);
}

.about__address a {
  color: var(--mint-deep);
  font-weight: 700;
  text-decoration: none;
}

.about__address a:hover {
  color: var(--navy);
}

/* Services */

.services {
  padding: 0 0 clamp(3.5rem, 9vw, 6.5rem);
}

.services__head {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 2rem;
}

.services__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--navy);
}

.services__lede {
  margin: 0;
  color: var(--slate);
  max-width: 36ch;
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.service-row {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.service-row__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-row:hover .service-row__media img {
  transform: scale(1.04);
}

.service-row__body {
  padding: 1.5rem 1.35rem 1.75rem;
  border-left: 3px solid var(--mint);
}

.service-row__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mint);
  margin-bottom: 0.4rem;
}

.service-row h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
}

.service-row p {
  margin: 0;
  color: rgba(248, 250, 252, 0.78);
  max-width: 38ch;
}

.services__cta {
  width: min(100% - 2rem, var(--max));
  margin: 2.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 18, 32, 0.14);
}

.services__cta p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 700;
  max-width: 18ch;
  line-height: 1.2;
  color: var(--navy);
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: rgba(248, 250, 252, 0.78);
  padding: 2.75rem 0;
}

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 0.45rem;
}

.site-footer__brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.site-footer__address {
  margin: 0;
  font-style: normal;
  font-size: 0.92rem;
}

.site-footer__meta {
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: #4fd4c6;
}

.site-footer__copy {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.5);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Breakpoints */

@media (min-width: 760px) {
  .nav__list {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .about__band img {
    min-height: 18rem;
  }

  .about__frame {
    margin-top: -3.25rem;
  }

  .service-row,
  .service-row--alt {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .service-row--alt .service-row__media {
    order: 2;
  }

  .service-row--alt .service-row__body {
    border-left: 0;
    border-right: 3px solid var(--mint);
  }

  .service-row__body {
    display: grid;
    align-content: center;
    padding: 2rem 2.25rem;
  }

  .service-row__media img {
    height: 100%;
    min-height: 16rem;
    aspect-ratio: auto;
  }
}

@media (min-width: 1040px) {
  .hero__inner {
    padding-bottom: 4.25rem;
  }
}
