:root {
  color-scheme: light;
  --night: #08141e;
  --night-deep: #060e16;
  --surface-dark: #0d202d;
  --ice: #f7fbfc;
  --white: #fff;
  --ink: #102331;
  --muted: #4e626f;
  --muted-dark: #b0c4cd;
  --line: #d9e5e9;
  --line-dark: #24404d;
  --cyan: #79ede6;
  --cyan-light: #b6fbf3;
  --teal: #006a6b;
  --gold: #ffbd72;
  --wrap: 1280px;
  --gutter: clamp(22px, 5.25vw, 82px);
  font-family: Inter, "Helvetica Neue", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ice); }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
section[id], #main { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid #00a29e; outline-offset: 4px; }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.svg-library, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  white-space: nowrap;
  clip-path: inset(50%);
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 16px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { min-height: 79px; background: var(--night-deep); border-bottom: 1px solid #243844; position: relative; z-index: 2; }
.header-layout { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 79px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 760; letter-spacing: -.059em; white-space: nowrap; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-accent { color: var(--cyan); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3.3vw, 46px); font-size: 14px; font-weight: 560; color: #d3e0e5; }
.main-nav > a:not(.header-cta):hover { color: var(--cyan); }
.menu-toggle { display: none; }
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.button .icon { width: 18px; height: 18px; }
.header-cta { min-height: 42px; color: var(--cyan-light); border-color: #3b6672; padding-inline: 14px; }
.header-cta:hover { background: #15303d; border-color: #639ea9; }
.button-primary { color: #062227; background: var(--cyan); }
.button-primary:hover { background: var(--cyan-light); }
.button-primary:disabled { cursor: default; opacity: .55; }
.button-text { color: #e4eff0; padding-inline: 2px; }
.button-text:hover { color: var(--cyan-light); }

.hero { position: relative; isolation: isolate; background: var(--night-deep); overflow: hidden; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: min(79%, 1430px); z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 48%; opacity: .92; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--night-deep) 1%, #060e16ee 16%, #060e169e 33%, #060e160d 65%), linear-gradient(0deg, var(--night-deep), #060e1600 29%);
}
.hero-layout { display: grid; align-content: center; min-height: clamp(496px, 43vw, 660px); padding-block: 76px 61px; }
.hero-copy { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 740; letter-spacing: .145em; line-height: 1.5; text-transform: uppercase; color: var(--teal); }
.eyebrow > span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 7px; }
.hero .eyebrow, .process .eyebrow, .contact .eyebrow { color: var(--cyan); }
.hero .eyebrow > span { color: var(--gold); box-shadow: 0 0 15px #ffbd7290; }
.hero h1 { font-size: clamp(56px, 7.05vw, 112px); line-height: .98; font-weight: 695; letter-spacing: -.081em; margin: 23px 0; }
.hero h1 em { color: var(--cyan-light); font-style: normal; }
.hero-lead { max-width: 37ch; color: #cadee5; font-size: clamp(16px, 1.65vw, 21px); line-height: 1.58; letter-spacing: -.018em; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 23px; margin-top: 29px; }
.hero-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.hero-index a { min-height: 67px; padding: 9px 24px; display: flex; align-items: center; gap: 11px; color: #cfdee3; font-size: 13px; font-weight: 620; }
.hero-index a:first-child { padding-left: 0; }
.hero-index a:last-child { padding-right: 0; }
.hero-index a + a { border-left: 1px solid var(--line-dark); }
.hero-index a > span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: 0 0 6px; }
.hero-index a:nth-child(2) > span { background: var(--gold); }
.hero-index .icon { margin-left: auto; width: 16px; height: 16px; color: #91b6bf; }
.hero-index a:hover, .hero-index a:hover .icon { color: var(--cyan-light); }

.section-light { color: var(--ink); background: var(--ice); }
.services, .process, .faq, .contact { padding: clamp(68px, 8.6vw, 125px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); gap: 24px 60px; align-items: end; }
.section-heading > p { color: var(--muted); font-size: 17px; line-height: 1.63; max-width: 38ch; margin-bottom: 3px; justify-self: end; }
.section-heading h2, .faq h2, .contact h2 {
  font-size: clamp(40px, 5.25vw, 75px);
  font-weight: 690;
  line-height: 1.01;
  letter-spacing: -.073em;
  margin-top: 13px;
}
.service-filters { display: flex; gap: 7px; flex-wrap: wrap; margin: 29px 0 14px; }
.service-filters button { min-height: 38px; padding: 5px 14px; color: var(--ink); background: #e9f1f3; border: 1px solid #dce8ea; border-radius: 100px; font-size: 13px; font-weight: 650; }
.service-filters button:hover { background: #deedf0; }
.service-filters button[aria-pressed="true"] { background: #123746; color: #f9fdfd; border-color: #123746; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 22px; }
.service-filters:not([hidden]) ~ .services-grid { margin-top: 0; }
.service-card {
  --card-detail: #4a616b;
  --card-wash: #e8f5f1;
  --card-line: #cfdfe1;
  --card-highlight: #75adb1;
  --card-action: #0c5d60;
  --card-icon: #ddf2ee;
  --card-tags: #edf5f3;
  --card-tag-ink: #385961;
  --card-art: #3d8d92;
  --card-glow: #9ff0df5e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 278px;
  padding: clamp(18px, 2.45vw, 29px);
  color: var(--ink);
  background: linear-gradient(145deg, var(--card-wash), var(--white) 72%);
  border: 1px solid var(--card-line);
  border-radius: 15px;
  box-shadow: 0 3px 10px #122f3c05;
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}
.service-card[data-group="automate"] {
  --card-wash: #fbf1e4;
  --card-line: #e6dcd0;
  --card-highlight: #ba9364;
  --card-action: #73461d;
  --card-icon: #f9ebd7;
  --card-tags: #f8f1e6;
  --card-tag-ink: #624c38;
  --card-art: #a16c3b;
  --card-glow: #ffd78369;
}
.service-card[data-group="operate"] {
  --card-wash: #e9f1fa;
  --card-line: #d2dfe9;
  --card-highlight: #82a9c3;
  --card-action: #275a78;
  --card-icon: #e2eef8;
  --card-tags: #ecf2f8;
  --card-tag-ink: #3c5770;
  --card-art: #477e9f;
  --card-glow: #b2daff80;
}
.service-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 auto auto;
  width: min(51%, 190px);
  height: 107px;
  pointer-events: none;
  background-image: radial-gradient(var(--card-art) 0.75px, transparent 0.9px);
  background-size: 11px 11px;
  mask-image: radial-gradient(ellipse at 74% 28%, #000, transparent 77%);
  opacity: .35;
}
.service-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 225px at var(--spot-x, 77%) var(--spot-y, 16%), var(--card-glow), transparent 76%);
  opacity: 0;
  transition: opacity 210ms;
}
.service-card:focus-within {
  border-color: var(--card-highlight);
  box-shadow: 0 9px 22px #10233115;
}
.service-card:focus-within::after { opacity: .62; }
.service-art {
  position: absolute;
  z-index: -1;
  top: 6px;
  right: 12px;
  width: min(44%, 150px);
  height: 85px;
  color: var(--card-art);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .62;
  pointer-events: none;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 15px;
  color: var(--card-action);
  background: var(--card-icon);
  border: 1px solid var(--card-line);
  border-radius: 10px;
}
.service-icon .icon { width: 23px; height: 23px; }
.service-card h3 { font-size: clamp(19px, 1.8vw, 26px); font-weight: 690; line-height: 1.15; letter-spacing: -.049em; margin-bottom: 8px; }
.service-card p { color: var(--card-detail); font-size: 14px; line-height: 1.55; }
.service-card ul { display: flex; list-style: none; flex-wrap: wrap; gap: 5px; padding: 0; margin: 13px 0 17px; }
.service-card li { color: var(--card-tag-ink); background: var(--card-tags); border-radius: 5px; padding: 4px 7px; font-size: 11px; line-height: 1.15; }
.service-card > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--card-line);
  color: var(--card-action);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 710;
}
.service-card > a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.service-card > a:focus-visible { outline-color: var(--card-action); }
.service-card a .icon {
  width: 31px;
  height: 31px;
  padding: 6px;
  background: var(--card-icon);
  border: 1px solid var(--card-line);
  border-radius: 50%;
  transition: transform 200ms, border-color 200ms;
}
.service-card > a:is(:hover, :focus-visible) .icon { border-color: var(--card-highlight); }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover { border-color: var(--card-highlight); box-shadow: 0 12px 27px #1023311f; }
  .service-card:hover::after { opacity: 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card:hover { transform: translateY(-4px); }
  .service-card > a:hover .icon { transform: translate(2px, -2px); }
}

.process { background: radial-gradient(ellipse at 93% 8%, #133646 0%, transparent 48%), var(--night); border-bottom: 1px solid var(--line-dark); }
.process .section-heading > p { color: var(--muted-dark); }
.process-steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-steps li { min-width: 0; padding: 22px 26px 6px 0; border-top: 1px solid #456771; position: relative; }
.process-steps li + li { padding-left: 21px; border-left: 1px solid #29444f; }
.step-label { display: inline-block; font-size: 12px; font-weight: 730; letter-spacing: .07em; color: var(--cyan); margin-bottom: 17px; }
.process-steps li:last-child .step-label { color: var(--gold); }
.process-steps h3 { font-size: clamp(18px, 2vw, 27px); font-weight: 630; line-height: 1.15; letter-spacing: -.041em; margin-bottom: 9px; }
.process-steps p { color: var(--muted-dark); font-size: 14px; line-height: 1.56; max-width: 28ch; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 25px clamp(26px, 7.5vw, 105px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 68px; font-size: 16px; font-weight: 660; padding: 12px 4px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--teal); transition: transform 150ms; }
.faq-list details[open] .icon { transform: rotate(45deg); }
.faq-list p { color: var(--muted); font-size: 15px; line-height: 1.58; max-width: 59ch; padding: 0 25px 17px 4px; }

.contact { background: radial-gradient(ellipse at 9% 85%, #0d3647, transparent 57%), var(--night); border-bottom: 1px solid var(--line-dark); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1fr); gap: 31px clamp(25px, 7vw, 100px); align-items: start; }
.contact-copy { padding-top: 12px; }
.contact-copy > p:last-child { color: var(--muted-dark); font-size: 17px; line-height: 1.65; max-width: 34ch; margin-top: 19px; }
.contact h2:focus { outline: none; }
.inquiry-form { min-width: 0; display: grid; gap: 17px; color: var(--ink); background: var(--white); border-radius: 14px; padding: clamp(19px, 3vw, 36px); }
.form-heading h3 { font-size: 24px; font-weight: 700; letter-spacing: -.045em; }
.form-heading p, .inquiry-form noscript { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { min-width: 0; }
.inquiry-form label { display: block; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 650; }
.inquiry-form label span { color: #006a6b; }
.inquiry-form :is(input, select, textarea) { width: 100%; margin-top: 5px; color: var(--ink); font-size: 15px; font-weight: 430; line-height: 1.4; min-height: 44px; background: #f7fafb; border: 1px solid #cddde2; border-radius: 6px; padding: 9px 10px; }
.inquiry-form :is(input, textarea)::placeholder { color: #617783; }
.inquiry-form select { text-overflow: ellipsis; }
.inquiry-form textarea { display: block; min-height: 96px; resize: vertical; }
.inquiry-form .button { justify-self: start; }
.inquiry-form .button-primary, .inquiry-review .button-primary { color: #f9ffff; background: #123d49; }
.inquiry-form .button-primary:hover, .inquiry-review .button-primary:hover { background: #18616a; }

.site-footer { background: var(--night-deep); padding: 22px 0; }
.footer-layout { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 26px; }
.footer-brand { flex: 0 0 103px; }
.footer-brand img { width: 103px; height: auto; }
.footer-text p { font-weight: 600; font-size: 15px; }
.footer-text span { display: inline-block; color: var(--muted-dark); font-size: 13px; margin-top: 4px; }
.footer-layout nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #cbdce0; font-size: 14px; }
.footer-layout nav a:hover { color: var(--cyan-light); }

.inquiry-review { width: min(515px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: clamp(17px, 3vw, 28px); border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: var(--white); box-shadow: 0 24px 65px #05141e48; }
.inquiry-review::backdrop { background: rgb(5 15 24 / .73); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.review-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--teal); background: #dff7f2; border-radius: 50%; }
.review-close { color: var(--ink); background: #edf4f6; display: grid; place-items: center; width: 43px; height: 43px; border: 0; border-radius: 6px; }
.inquiry-review h2 { font-size: 27px; letter-spacing: -.055em; font-weight: 710; }
.inquiry-review > p { margin-top: 5px; font-size: 14px; color: var(--muted); }
.review-details { display: grid; grid-template-columns: minmax(82px, .38fr) minmax(0, 1fr); gap: 8px 12px; margin: 18px 0; padding: 14px; background: #f4f8fa; border-radius: 7px; font-size: 14px; }
.review-details dt { font-weight: 690; }
.review-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 930px) {
  .hero-art { width: 83%; }
  .hero-art::after { background: linear-gradient(90deg, var(--night-deep), #060e16df 19%, #060e169b 44%, #060e1605 80%), linear-gradient(0deg, var(--night-deep), #060e1600 33%); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps li { padding-right: 12px; }
  .process-steps li + li { padding-left: 12px; }
}

@media (max-width: 700px) {
  .site-header, .header-layout { min-height: 65px; }
  .header-layout { flex-wrap: wrap; column-gap: 15px; row-gap: 0; }
  .brand { font-size: 21px; }
  .brand img { width: 41px; height: 41px; }
  .menu-toggle:not([hidden]) { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ice); background: transparent; border: 1px solid #466371; border-radius: 6px; }
  .main-nav { width: 100%; display: grid; align-items: stretch; gap: 0; padding: 4px 0 14px; }
  .main-nav a:not(.header-cta) { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--line-dark); }
  .main-nav .header-cta { justify-self: start; margin-top: 6px; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .main-nav { display: none; }
  .hero-art { width: 100%; bottom: 56px; top: auto; height: clamp(270px, 59vw, 420px); }
  .hero-art img { object-position: 60% 59%; }
  .hero-art::after { background: linear-gradient(180deg, var(--night-deep), #060e1600 27% 81%, var(--night-deep)); }
  .hero-layout { display: block; min-height: 0; padding: 58px 0 clamp(230px, 48vw, 365px); }
  .hero h1 { font-size: clamp(42px, 10.6vw, 72px); margin: 16px 0; }
  .hero-lead { font-size: 16px; max-width: 34ch; }
  .hero-actions { gap: 5px 13px; margin-top: 19px; }
  .hero-index a { min-height: 55px; font-size: 11px; padding: 5px 8px; gap: 5px; line-height: 1.2; }
  .hero-index a > span { width: 4px; height: 4px; flex-basis: 4px; }
  .hero-index .icon { display: none; }
  .section-heading, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 16px; }
  .section-heading > p { justify-self: start; font-size: 15px; }
  .service-filters { margin-top: 18px; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 27px; }
  .process-steps li { padding: 15px 12px 18px 0; }
  .process-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .step-label { margin-bottom: 10px; }
  .faq-list summary { min-height: 59px; font-size: 15px; }
  .contact-copy { padding-top: 0; }
  .contact-copy > p:last-child { font-size: 15px; margin-top: 12px; }
  .footer-layout { gap: 12px 18px; }
  .footer-brand { flex-basis: 75px; }
  .footer-brand img { width: 75px; }
  .footer-layout nav { margin-left: 0; }
}

@media (max-width: 470px) {
  .services-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-card { min-height: 0; }
  .form-pair { grid-template-columns: 1fr; gap: 12px; }
  .inquiry-form { gap: 12px; }
  .inquiry-form :is(input, select, textarea) { font-size: 16px; }
  .hero-actions .button { font-size: 13px; min-height: 44px; gap: 6px; }
  .hero-actions .button-primary { padding-inline: 10px; }
  .hero-actions .icon { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
