@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --midnight: #17243b;
  --azure: #1a6bff;
  --citron: #d5f45a;
  --orange: #ff6b35;
  --cloud: #f5f7fa;
  --surface-blue: #eaf0f9;
  --ink: #15233b;
  --blue-text: #0850ca;
  --blue-on-dark: #83b2ff;
  --muted: #47566c;
  --line: #dce4ef;
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
em { font-style: normal; color: var(--blue-text); }
.wrap { width: min(1260px, 89%); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: 1rem; z-index: 5; padding: 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.header { background: #050c1f; color: white; }
.nav, nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: clamp(.8rem, 3vw, 2.5rem); }
.nav { min-height: 78px; }
.logo { display: block; width: clamp(144px, 22vw, 216px); flex-shrink: 0; }
nav a, .footer a { font-size: .82rem; font-weight: 700; }
.text-link:hover, .contact-link:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { color: var(--citron); border: 1px solid #ffffff55; border-radius: 100px; padding: .75em 1em; white-space: nowrap; }
.hero { background: linear-gradient(125deg, white 35%, #edf4ff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span:first-child { width: 24px; height: 3px; background: var(--azure); border-radius: 3px; flex-shrink: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.055em; line-height: 1.03; }
h1 { font-size: clamp(2.85rem, 5.7vw, 6rem); margin-top: 1.15rem; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); margin-top: .85rem; }
h3 { font-size: clamp(1.5rem, 2.55vw, 2.4rem); }
.intro, .section-intro { color: var(--muted); font-size: clamp(.98rem, 1.3vw, 1.12rem); line-height: 1.68; max-width: 38rem; margin-top: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border-radius: 100px; border: 0; background: var(--citron); color: var(--ink); font: 800 .85rem/1.25 Montserrat, system-ui, sans-serif; padding: 1rem 1.2rem; cursor: pointer; }
.button:hover { background: #e3fb88; }
.text-link { font-size: .84rem; font-weight: 750; }
.services, .packages { padding-block: clamp(1.4rem, 3.5svh, 2.5rem) clamp(2.5rem, 5vw, 5rem); }
.services { background: #eaf0f9; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem,4vw,3.5rem); margin-top: 1.8rem; }
.service-grid article { border-top: 4px solid var(--azure); padding-top: 1.05rem; }
.service-grid article:nth-child(2) { border-color: var(--citron); }
.service-grid article:nth-child(3) { border-color: var(--orange); }
dl { margin-top: 1rem; }
dt { font-weight: 800; padding-top: .7rem; border-top: 1px solid var(--line); }
dd { padding-block: .25rem .75rem; line-height: 1.5; color: var(--muted); font-size: .87rem; }
.tagline, .proposal { color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: .55rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem,6vw,6rem); align-items: start; }
.contact {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-height, 78px));
}
.contact-grid {
  align-self: center;
  padding-block: clamp(1.5rem, 4svh, 3.5rem);
}
.contact .eyebrow > span:first-child { background: var(--citron); }
.contact-intro { margin-block: 1.2rem; line-height: 1.6; max-width: 23rem; }
.contact-link { display: block; width: fit-content; font-weight: 650; margin-top: .65rem; overflow-wrap: anywhere; }
form { background: white; color: var(--ink); border-radius: 1rem; padding: clamp(1rem,3vw,2rem); }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .9rem; }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; padding: .66rem; border: 1px solid #aebbd0; border-radius: .45rem; font: inherit; font-weight: 500; color: var(--ink); background: white; }
textarea { resize: vertical; }
#consultation-status:not(:empty) { font-size: .77rem; line-height: 1.5; color: var(--muted); margin-top: .65rem; }
.contact footer { color: white; }
.footer { flex-wrap: wrap; padding-block: .7rem; }
.footer-dock { overflow: clip; }
@media (prefers-reduced-motion: no-preference) {
  .footer-motion footer {
    transform: translateY(100%);
    transition: transform 620ms cubic-bezier(.22, 1, .36, 1);
  }
  .footer-motion:is(.footer-revealed, :focus-within) footer { transform: translateY(0); }
}
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: 0; padding-bottom: .85rem; }
  .nav nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: .65rem 1rem; }
  .hero-grid, .contact-grid, .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  nav a { font-size: .72rem; }
}

.header { position: sticky; top: 0; z-index: 4; }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: 0; padding-bottom: .85rem; }
  .nav nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: .65rem 1rem; }
}
@media (max-width: 720px) {
}

.packages { background: var(--surface-blue); }
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.85rem, 2vw, 1.5rem);
  margin-top: 2rem;
}
.package {
  --accent: var(--azure);
  --tint: #e9f1ff;
  --edge: #a7c6ff;
  display: grid;
  gap: 0;
  border: 1px solid #cdd9eb;
  border-radius: 1.2rem;
  background: white;
  box-shadow: 0 8px 20px #17243b0a;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.package:nth-child(3n + 2) { --accent: var(--citron); --tint: #f0f7d6; --edge: #a5bd51; }
.package:nth-child(3n + 3) { --accent: var(--orange); --tint: #fff0e9; --edge: #efb199; }
.package:focus-within, .package:has(details[open]) {
  border-color: var(--edge);
  box-shadow: 0 12px 30px #17243b19;
}
@media (hover: hover) {
  .package:hover {
    transform: translateY(-4px) scale(1.012);
    border-color: var(--edge);
    box-shadow: 0 16px 32px #17243b20;
  }
}
.package-heading {
  display: flex;
  flex-direction: column;
  min-height: 14rem;
  padding: 1.2rem clamp(1rem, 2vw, 1.65rem);
  border-radius: 1.13rem 1.13rem 0 0;
  background: var(--tint);
}
.package .category {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .8rem;
  font-size: .73rem;
  font-weight: 750;
  line-height: 1.4;
}
.package .category::before {
  content: '';
  flex: 0 0 .63rem;
  height: .63rem;
  border-radius: 50%;
  background: var(--accent);
  outline: 1px solid #17243b33;
}
.package h3 { font-size: clamp(1.55rem, 2.8vw, 2.55rem); }
.package .tagline { color: var(--muted); font-size: .84rem; line-height: 1.45; margin: .55rem 0 1rem; }
.package .price { margin-top: auto; font-weight: 750; font-size: clamp(.85rem, 1.2vw, 1rem); line-height: 1.3; }
.package .price strong { font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -.055em; }
.package .proposal { color: var(--muted); font-size: .75rem; margin-top: .3rem; }
.package-details { margin-inline: clamp(1rem, 2vw, 1.65rem); }
.package summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.3rem;
  gap: .5rem;
  list-style: none;
  font-size: .85rem;
  font-weight: 750;
  color: var(--ink);
}
.package summary::-webkit-details-marker { display: none; }
.package summary::after {
  content: '';
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(currentColor,currentColor) center / 10px 2px no-repeat,
              linear-gradient(currentColor,currentColor) center / 2px 10px no-repeat, var(--tint);
  transition: transform 240ms ease;
}
.package details[open] summary::after { transform: rotate(45deg); }
.package .scope { border-top: 1px solid var(--line); padding-top: .8rem; }
.package h4 { font-size: .83rem; }
.package ul { padding-left: 1.15rem; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.package li + li { margin-top: .3rem; }
.package li::marker { color: var(--blue-text); }
.package-link {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin: 0 clamp(1rem, 2vw, 1.65rem) 1.2rem;
  border-radius: .65rem;
  background: var(--midnight);
  color: white;
  padding: .8rem .9rem;
  font-size: .79rem;
  font-weight: 750;
  transition: background-color 220ms ease;
}
.package-link:hover { background: var(--blue-text); }
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
  .package-details { interpolate-size: allow-keywords; }
  .package-details::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition: block-size 300ms ease, opacity 240ms ease, content-visibility 300ms allow-discrete;
  }
  .package-details[open]::details-content { block-size: auto; opacity: 1; }
}
@media (max-width: 940px) {
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .package-grid { grid-template-columns: 1fr; }
  .package-heading { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .package, .package summary::after, .package-link { transition: none; }
  .package-details::details-content { transition: none; }
  .package:hover { transform: none; }
}

.package-grid { align-items: stretch; }
.package { grid-template-rows: auto 1fr auto auto; }
.package-inclusions { padding: 1.2rem clamp(1rem, 2vw, 1.65rem) .25rem; }
.package-inclusions ul { list-style: none; padding: 0; margin: .75rem 0; }
.package-inclusions li { position: relative; padding-left: 1.4rem; }
.package-inclusions li + li { margin-top: .65rem; }
.package-inclusions li::before {
  content: '';
  position: absolute;
  left: .12rem;
  top: .43rem;
  width: .62rem;
  height: .32rem;
  border: solid var(--blue-text);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.package-details { border-top: 1px solid var(--line); }
.package summary { color: var(--muted); font-size: .78rem; }
@media (hover: hover) {
  .package:hover .package-link { background: var(--blue-text); }
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height, 78px); }
.service-grid article[id] { scroll-margin-top: 1rem; }
.header nav { gap: clamp(.25rem, 1vw, .8rem); }
.header nav a {
  --hover-fill: #f5f7fa1c;
  --hover-text: #f5f7fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding: .55rem .9rem;
  border-radius: 100px;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}
.header nav a:is([href="#services"], [href="/#services"]) { --hover-fill: #1a6bff35; --hover-text: #b6d3ff; }
.header nav a:is([href="#packages"], [href="/#packages"]) { --hover-fill: #d5f45a25; --hover-text: #e0fa86; }
.header nav a:is([href="#about"], [href="/#about"]) { --hover-fill: #ff6b3533; --hover-text: #ffc3ad; }
.header nav a[href="portal.html"] { --hover-fill: #293d61; --hover-text: #eef3ff; }
.header nav .nav-contact {
  --hover-fill: #d5f45a28;
  --hover-text: #edffa9;
  background: #d5f45a12;
  color: var(--citron);
  border-color: #d5f45a52;
}
.header nav a:is(:focus-visible, [aria-current="location"], [aria-current="page"]) {
  background: var(--hover-fill);
  color: var(--hover-text);
  box-shadow: inset 0 0 0 1px #ffffff12;
}
@media (hover: hover) and (pointer: fine) {
  .header nav a:hover {
    background: var(--hover-fill);
    color: var(--hover-text);
    box-shadow: inset 0 0 0 1px #ffffff12;
  }
}

/* Use the same dark surface and glow for the opening and consultation sections. */
.hero, .contact {
  position: relative;
  isolation: isolate;
  background: #050c1f;
  color: var(--cloud);
}
.hero::before, .contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 105%, #1a6bff44, transparent 64%);
}
.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 0;
  min-height: calc(100svh - var(--header-height, 78px));
  padding-block: clamp(1.4rem, 5svh, 3rem);
}
.hero-brand { width: clamp(15rem, 33vw, 31rem); max-width: 100%; }
@media (hover: none) and (pointer: coarse) {
  .hero-grid { min-height: calc(100dvh - var(--header-height, 78px)); }
}
.hero-brand img { width: 100%; }
.hero-copy { text-align: center; width: min(100%, 66rem); }
.hero .eyebrow { justify-content: center; color: #d0dcf5; }
.hero .eyebrow > span:first-child { background: var(--citron); }
.hero h1 {
  margin-top: 1.15rem;
  font-size: clamp(1.9rem, min(6.5vw, 11svh), 6.25rem);
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero h1 em, .contact h2 em { color: var(--blue-on-dark); }
.hero .intro { color: #d0dcf5; max-width: 43rem; margin: .95rem auto 0; text-wrap: pretty; }
.hero .actions { justify-content: center; gap: .65rem; margin-top: 1.1rem; }
.hero .actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  line-height: 1.25;
  padding: .8rem 1.2rem;
}
.hero .button { background: var(--citron); color: var(--ink); }
.hero .button:hover { background: #e9ff9a; box-shadow: 0 0 22px #d5f45a40; }
.hero .text-link {
  border: 1px solid #ffffff52;
  border-radius: 100px;
  color: white;
}
.hero .text-link:hover { background: #ffffff18; text-decoration: none; }
.hero .button, .hero .text-link { transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.hero .button:hover, .hero .text-link:hover { transform: translateY(-2px); }
.hero .button:active, .hero .text-link:active { transform: scale(.98); }

@media (min-width: 721px) {
  .service-grid article {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header nav a, .hero .button, .hero .text-link { transition: none; }
  .hero .button:is(:hover, :active), .hero .text-link:is(:hover, :active) { transform: none; }
}

.hero-brand { margin-bottom: clamp(1.1rem, 3svh, 2rem); }
.service-grid h3 span, .service-grid h3 em { display: block; }
@media (min-width: 721px) {
  .service-grid h3 { font-size: clamp(1.25rem, 3vw, 2.4rem); }
  .service-grid h3 span { white-space: nowrap; }
}
@media (max-width: 860px) {
  .nav > .logo { margin-block: .85rem; }
  .header nav a { padding-inline: .65rem; }
}


.portal-entry {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-height, 78px));
  background: var(--cloud);
  padding-block: 3rem;
  text-align: center;
}
.portal-entry .wrap { max-width: 38rem; }
.portal-label { margin-top: 1.75rem; font-weight: 750; color: var(--blue-text); }
.portal-entry h1 { margin-top: .45rem; font-size: clamp(2.8rem, 8vw, 6rem); }
.portal-mark {
  display: grid;
  place-items: center;
  width: clamp(6rem, 16vw, 9rem);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 29%;
  background: #050c1f;
  box-shadow: 0 16px 32px #17243b20;
  transform: rotate(-8deg);
}
.portal-mark::before, .portal-mark::after {
  content: '';
  grid-area: 1 / 1;
  width: 66%;
  height: 14%;
  border-radius: 100px;
}
.portal-mark::before {
  background: linear-gradient(90deg, var(--azure) 50%, var(--orange) 50%);
  transform: rotate(45deg);
}
.portal-mark::after {
  background: linear-gradient(90deg, var(--cloud) 50%, var(--citron) 50%);
  transform: rotate(-45deg);
}

.about {
  background: var(--surface-blue);
  min-height: calc(100svh - var(--header-height, 78px));
  padding-block: clamp(1.4rem, 3.5svh, 2.5rem);
  display: grid;
  align-content: center;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: start;
}
.about h2 { font-size: clamp(2.4rem, min(5vw, 9svh), 4.7rem); max-width: 17ch; text-wrap: balance; }
.about-copy { color: var(--muted); line-height: 1.58; font-size: 1rem; }
.about-copy p + p { margin-top: .75rem; }
.about-copy p:first-child { color: var(--ink); font-size: clamp(1.12rem, 1.7vw, 1.45rem); font-weight: 700; line-height: 1.45; }
.about-example {
  background: var(--midnight);
  color: var(--cloud);
  border-radius: 1.4rem;
  padding: clamp(1.1rem, 3svh, 2rem);
  margin-top: clamp(1.25rem, 3svh, 2rem);
}
.about-example h3 { letter-spacing: -.035em; }
.about-example p { font-size: .9rem; line-height: 1.6; color: #dce4f2; margin-top: .55rem; }
.about-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.about-journey li { border-top: 3px solid #79aaff; padding-top: .85rem; }
.about-journey li:nth-child(2) { border-color: var(--citron); }
.about-journey li:nth-child(3) { border-color: var(--orange); }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  margin-top: .55rem;
  color: var(--blue-text);
  font-weight: 750;
}
.about-link:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 720px) {
  .about-grid, .about-journey { grid-template-columns: 1fr; }
  .about h2 { max-width: 14ch; }
}

.brand-name { display: inline-block; white-space: nowrap; }
.brand-canvas { color: var(--blue-text); }
:is(.header, .hero, .contact) .brand-canvas { color: var(--blue-on-dark); }

#consultation-status.is-error { color: #a31824; }
#consultation [aria-invalid="true"] { border-color: #a31824; }
#consultation button:disabled { cursor: wait; opacity: .7; }
