:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f3f7f7;
  background: #081522;
  --ink: #081522;
  --surface: #0d2032;
  --muted: #b7ccd6;
  --teal: #8ce6dd;
  --peach: #ffab82;
  --line: #2b495c;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--peach); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.02; letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { line-height: 1.25; }
p, li { line-height: 1.65; }
.wrap { width: min(1184px, calc(100% - 5rem)); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 8vw, 7.25rem); }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 4; transform: translateY(-160%); padding: .65rem 1rem; color: var(--ink); background: var(--teal); }
.skip:focus { transform: none; }

.masthead { background: #081522; border-bottom: 1px solid #304c5c; }
.header-inner, nav { display: flex; align-items: center; }
.header-inner { min-height: 82px; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.2rem; font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.brand img { width: 49px; flex: none; }
.brand small { display: block; margin-top: .25rem; font-size: .7rem; font-weight: 600; color: var(--teal); letter-spacing: .04em; }
nav { flex-wrap: wrap; gap: .6rem clamp(1rem, 2.6vw, 2rem); }
nav a { font-size: .9375rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--teal); }
.nav-cta { padding: .55rem .85rem; border: 1px solid #538d99; border-radius: 99px; }

.summit-stage { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.summit-landscape {
  position: absolute;
  z-index: -2;
  inset: 0;
  transform: translateY(var(--parallax-y, 0px));
}
.summit-landscape::before {
  content: "";
  position: absolute;
  inset: clamp(29rem, 52vw, 44rem) 0 0;
  background: url("assets/summit-hero.jpg") center bottom / cover no-repeat;
  opacity: .24;
  mask-image: linear-gradient(transparent, black 32%, black 75%, transparent);
}
.summit-landscape img {
  position: absolute;
  top: -126px;
  width: 100%;
  height: calc(clamp(490px, 55vw, 730px) + 252px);
  object-fit: cover;
  object-position: center 53%;
  mask-image: linear-gradient(black 75%, transparent 100%);
}
.hero { position: relative; }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #071321ed, #071321ae 32%, #07132125 59%, transparent 78%);
}
.hero-content {
  min-height: clamp(490px, 55vw, 730px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 5rem 6.5rem;
}
h1 { font-size: clamp(3.65rem, 7vw, 7rem); text-wrap: balance; }
h1 em { color: var(--teal); font-style: normal; }
.hero-content > p { margin-top: 1.35rem; max-width: 35ch; color: #d4e4ec; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-block; border: 1px solid transparent; border-radius: .35rem; padding: .8rem 1rem; font-weight: 750; text-decoration: none; }
.primary { color: #1e1720; background: var(--peach); }
.primary:hover { background: #ffc39f; }
.outline { color: #edf7fa; background: #0b1b2ccc; border-color: #77a6b3; }
.outline:hover { border-color: var(--teal); background: #143047; }

.services { padding-top: clamp(2.5rem, 5vw, 4.75rem); }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 1rem 3rem; margin-bottom: 2rem; }
.section-heading > p { max-width: 43ch; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.service-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--surface);
}
.service-grid img { width: 100%; aspect-ratio: 1.9; object-fit: cover; border-bottom: 1px solid var(--line); }
.card-copy { padding: clamp(1.15rem, 2.3vw, 1.7rem); }
.card-copy h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.card-copy p { color: var(--muted); margin-top: .6rem; }
.service-examples { display: grid; gap: .9rem; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-examples li { padding-left: .8rem; border-left: 2px solid #4c848c; line-height: 1.5; }
.service-examples strong, .service-examples span { display: block; }
.service-examples strong { color: var(--teal); }
.service-examples span { color: var(--muted); margin-top: .15rem; }

.workflow-section {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% -20%, #21475d 0, transparent 60%),
    linear-gradient(120deg, #0b1b2b, #0b1726);
}
.workflow-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.eyebrow { color: var(--peach); font-size: .875rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
.workflow-intro h2 { margin-block: .65rem 1rem; }
.workflow-intro > p:last-child { max-width: 37ch; color: var(--muted); }
.demo { border-radius: .65rem; border: 1px solid #3c6677; background: #081827; padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: 0 20px 60px #02091250; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.steps button {
  background: #122b3e;
  color: #e2eef2;
  border: 1px solid #365769;
  border-radius: .3rem;
  padding: .65rem .2rem;
  min-height: 44px;
  font: 650 .875rem system-ui, sans-serif;
  cursor: pointer;
}
.steps button:hover { border-color: var(--teal); }
.steps button[aria-pressed="true"] { color: #061b23; background: var(--teal); border-color: var(--teal); }
.demo-progress { height: 2px; background: #294454; margin-top: 1rem; }
.demo-progress span { display: block; width: var(--progress, 25%); height: 100%; background: linear-gradient(90deg, var(--teal), var(--peach)); transition: width .23s ease; }
.detail { min-height: 12rem; padding-top: 1.25rem; }
.detail p { margin-top: .45rem; color: var(--muted); }
.detail .example { margin-top: 1rem; padding: .65rem .8rem; border-left: 2px solid var(--peach); background: #112736; color: #e1f0f1; }

.about { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.about-art { overflow: hidden; border-radius: .6rem; background: #081322; aspect-ratio: 1.15; }
.about-art img { width: 100%; height: calc(100% + 182px); margin-top: -91px; object-fit: cover; transform: translateY(var(--parallax-y, 0px)); }
.about-copy p { color: var(--muted); max-width: 52ch; margin-top: 1rem; }
.start { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.5rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.start p { margin-top: 1rem; color: var(--muted); max-width: 53ch; }
.planning { padding: clamp(1rem, 3vw, 1.65rem); background: #112b3b; border: 1px solid var(--line); border-radius: .6rem; }
.planning h3 { font-size: 1.5rem; }
.planning .preview-note { margin-top: .55rem; font-size: .875rem; color: var(--teal); }
#inquiry { display: grid; gap: .45rem; margin-top: .75rem; }
#inquiry label { margin-top: .65rem; font-weight: 650; }
#inquiry label span { color: var(--muted); font-weight: 400; }
#inquiry input, #inquiry textarea {
  width: 100%;
  border: 1px solid #537582;
  border-radius: .35rem;
  padding: .65rem .75rem;
  background: #081827;
  color: inherit;
  font: inherit;
}
#inquiry textarea { resize: vertical; }
#inquiry input:focus-visible, #inquiry textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
#inquiry .button { justify-self: start; margin-top: .7rem; font-family: inherit; font-size: 1rem; cursor: pointer; }
#inquiry .button:disabled { opacity: .65; cursor: wait; }
.inquiry-check { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#inquiry .inquiry-status { margin: 0; color: var(--teal); }
#inquiry .inquiry-status[data-error] { color: var(--peach); }
.footer a { color: var(--teal); text-underline-offset: .2em; }
.footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 1.35rem; color: var(--muted); }

@media (min-width: 1500px) {
  .summit-landscape img { object-position: center 58%; }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-content { min-height: 530px; }
  h1 { font-size: clamp(3.4rem, 9vw, 5.25rem); }
  .service-grid { gap: .7rem; }
  .workflow-layout, .start { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { padding-bottom: .85rem; gap: .45rem; }
  nav { width: 100%; justify-content: space-between; gap: .25rem .55rem; }
  nav a { font-size: .82rem; }
  .nav-cta { padding: .4rem .5rem; }
  .hero-content { min-height: auto; padding-block: clamp(15rem, 61vw, 24rem) 3rem; }
  .summit-landscape img { height: calc(clamp(390px, 115vw, 630px) + 76px); object-position: 74% center; }
  .summit-landscape::before { inset-block-start: 27rem; opacity: .18; }
  .hero::after { background: linear-gradient(0deg, transparent, #081522f2 22%, #081522df 43%, #0815224d 67%, transparent 100%); }
  h1 { font-size: clamp(2.85rem, 11vw, 4.4rem); }
  .section-heading, .service-grid, .about { grid-template-columns: 1fr; }
  .service-grid { gap: 1rem; }
  .about { gap: 1.75rem; }
  .about-art { max-width: 29rem; }
}
@media (max-width: 365px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .summit-landscape, .about-art img { transform: none; }
  .demo-progress span { transition: none; }
}
