:root {
  --ink: #111c2b;
  --ink-2: #172436;
  --paper: #f7faf8;
  --panel: #ffffff;
  --mist: #eaf4f1;
  --line: #dbe8e2;
  --blue: #75d4f6;
  --blue-deep: #1f6f9f;
  --teal: #117e78;
  --gold: #f4b956;
  --coral: #e8795e;
  --muted: #647184;
  --shadow: 0 18px 48px rgba(17, 28, 43, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 20;
  transform: translateY(-160%);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 18px 18px 0;
}

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 248, 255, .24);
  border-radius: 8px;
  background: rgba(5, 13, 24, .68);
  backdrop-filter: blur(12px);
  color: #ffffff;
}

.brand {
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(117, 212, 246, .45);
}

.brand-text span {
  color: #dff8ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, .1);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
}

.btn-primary {
  background: var(--blue);
  color: #06101d;
  box-shadow: 0 0 22px rgba(117, 212, 246, .32);
}

.btn-secondary {
  border: 1px solid rgba(223, 248, 255, .42);
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

.btn-light {
  background: #dff8ff;
  color: #06101d;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #06101d;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 22% 63%, rgba(196, 244, 255, .62) 0%, rgba(89, 190, 231, .28) 18%, rgba(42, 128, 199, .12) 34%, rgba(42, 128, 199, 0) 62%),
    linear-gradient(96deg, rgba(215, 249, 255, .34) 0%, rgba(114, 211, 244, .16) 23%, rgba(114, 211, 244, .05) 42%, rgba(114, 211, 244, 0) 66%);
  mix-blend-mode: screen;
  opacity: .72;
  transform: translate3d(-2%, 1%, 0) scale(1);
  animation: doorLightPulse 6.8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 16, 29, .42) 0%, rgba(6, 16, 29, .06) 28%, rgba(6, 16, 29, .32) 100%),
    linear-gradient(90deg, rgba(6, 16, 29, .02) 0%, rgba(6, 16, 29, .14) 45%, rgba(6, 16, 29, .76) 100%);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  min-height: 88vh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: 136px 0 72px;
  text-align: right;
}

.hero-text-inner {
  width: 100%;
  max-width: 740px;
  animation: heroTextIn 2200ms cubic-bezier(.2, .8, .2, 1) 2s both;
}

.hero-kicker {
  margin: 0 0 22px;
  color: rgba(228, 250, 255, .8);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: #e4faff;
  font-size: clamp(58px, 8vw, 124px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow:
    0 0 8px rgba(201, 243, 255, .9),
    0 0 26px rgba(90, 190, 231, .7),
    0 0 58px rgba(64, 145, 213, .52);
  animation: titleGlow 5.8s ease-in-out infinite;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: .04em;
}

.beam-line {
  width: min(560px, 82%);
  height: 2px;
  margin: 30px 0 0 auto;
  background: linear-gradient(90deg, rgba(101, 198, 236, 0), rgba(226, 250, 255, .95));
  box-shadow: 0 0 18px rgba(117, 211, 244, .9);
  transform-origin: right;
  animation: beamLine 5.8s ease-in-out infinite;
}

.hero-copy {
  margin: 24px 0 0 auto;
  max-width: 600px;
  color: rgba(228, 250, 255, .84);
  font-size: 22px;
  line-height: 1.45;
  text-shadow: 0 0 18px rgba(33, 112, 167, .8);
  animation: subtitleIn 1900ms cubic-bezier(.2, .8, .2, 1) 2600ms both;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.trust-row {
  width: min(1120px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  background: #ffffff;
}

.trust-item strong {
  font-size: 20px;
}

.trust-item span {
  color: var(--muted);
  line-height: 1.4;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: #eef6f3;
}

.section-dark {
  background: var(--ink);
  color: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.intro-section {
  padding-top: 98px;
}

.section-head {
  max-width: 760px;
}

.section-head.compact {
  margin-bottom: 34px;
}

.section-head.light p,
.section-head.light h2 {
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.text-block p,
.section-head p,
.package-card p,
.work-card p,
.process-step p,
.contact-section p,
.faq-list p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.text-block p {
  margin: 0 0 18px;
}

.package-grid,
.work-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.package-card,
.work-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-card.featured {
  border-color: rgba(31, 111, 159, .38);
  box-shadow: 0 22px 50px rgba(31, 111, 159, .14);
}

.package-top {
  display: grid;
  gap: 10px;
}

.package-label {
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
}

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

.tick-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  line-height: 1.45;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .34em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--teal), var(--blue-deep));
}

.tick-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: .58em;
  width: 6px;
  height: 3px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

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

.work-card {
  display: grid;
  gap: 16px;
  align-content: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.work-card:hover,
.work-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(17, 126, 120, .34);
  box-shadow: var(--shadow);
}

.work-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf8f6;
  color: var(--teal);
}

.work-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-open {
  justify-self: start;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: #edf8f6;
  color: var(--teal);
  padding: 11px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.work-open:hover,
.work-open:focus {
  background: var(--teal);
  color: #ffffff;
}

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

.process-step {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.process-step span {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.process-step p {
  color: rgba(255, 255, 255, .74);
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
}

details p {
  margin: 14px 0 0;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(17, 126, 120, .12), rgba(244, 185, 86, .12)),
    #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd9d4;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(117, 212, 246, .34);
  border-color: var(--blue-deep);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.site-footer {
  padding: 26px 0;
  background: #06101d;
  color: rgba(255, 255, 255, .76);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #dff8ff;
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 16, 29, .72);
  backdrop-filter: blur(7px);
}

.project-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(117, 212, 246, .32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(117, 212, 246, .12), rgba(244, 185, 86, .08)),
    #ffffff;
  box-shadow: 0 26px 90px rgba(6, 16, 29, .36);
  padding: 34px;
}

.project-modal h2 {
  max-width: 520px;
  margin-bottom: 16px;
}

.project-modal p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.modal-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

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

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

.modal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.modal-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 9px 12px;
  color: var(--ink-2);
  font-weight: 800;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-modal-secondary {
  border: 1px solid #bfd2cc;
  background: #ffffff;
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

@keyframes doorLightPulse {
  0%,
  100% {
    opacity: .48;
    transform: translate3d(-4%, 2%, 0) scale(.98);
    filter: blur(0);
  }

  48% {
    opacity: .95;
    transform: translate3d(2%, -1%, 0) scale(1.05);
    filter: blur(1px);
  }

  72% {
    opacity: .7;
    transform: translate3d(0, 0, 0) scale(1.02);
  }
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow:
      0 0 8px rgba(201, 243, 255, .82),
      0 0 24px rgba(90, 190, 231, .64),
      0 0 52px rgba(64, 145, 213, .46);
  }

  50% {
    text-shadow:
      0 0 12px rgba(237, 252, 255, .98),
      0 0 34px rgba(128, 218, 248, .88),
      0 0 76px rgba(64, 145, 213, .68);
  }
}

@keyframes beamLine {
  0%,
  100% {
    opacity: .68;
    transform: scaleX(.84);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes subtitleIn {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav-actions {
    order: 3;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .package-grid,
  .work-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .faq-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .nav {
    width: auto;
    position: relative;
    min-height: 62px;
    padding: 10px;
    padding-right: 64px;
    gap: 10px;
    justify-content: space-between;
  }

  .brand {
    flex: 1 1 auto;
    max-width: 100%;
    white-space: normal;
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1.1;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 9px;
    right: 10px;
    flex: 0 0 44px;
    margin-left: 0;
    z-index: 2;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-image {
    height: 58svh;
    object-fit: cover;
    object-position: 26% top;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 28% 34%, rgba(196, 244, 255, .62) 0%, rgba(89, 190, 231, .28) 18%, rgba(42, 128, 199, .08) 36%, rgba(42, 128, 199, 0) 62%);
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 16, 29, .08) 0%, rgba(6, 16, 29, .2) 40%, rgba(6, 16, 29, .94) 62%, rgba(6, 16, 29, .98) 100%);
  }

  .hero-text {
    min-height: 100svh;
    align-items: start;
    justify-items: start;
    padding: 49svh 0 22px;
    text-align: left;
  }

  .hero-text-inner {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  h1 {
    font-size: clamp(42px, 14vw, 56px);
    max-width: 100%;
  }

  .hero-kicker {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .hero-copy {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.42;
  }

  .beam-line {
    width: 100%;
    margin-top: 18px;
    margin-left: 0;
    margin-right: 0;
    transform-origin: left;
  }

  .hero-actions {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .trust-row {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .intro-section {
    padding-top: 64px;
  }

  .package-card,
  .work-card,
  .process-step,
  .contact-form {
    padding: 22px;
  }

  .project-modal {
    padding: 26px 20px;
  }

  .project-modal h2 {
    font-size: clamp(32px, 12vw, 46px);
  }

  .modal-actions .btn {
    width: 100%;
  }

  .contact-grid {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
