:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --brand: #40a6df;
  --brand-hover: #2b8fc8;
  --brand-deep: #0a4a6e;
  --brand-muted: #e8f4fb;
  --cyan-glow: rgba(64, 166, 223, 0.35);
  --fog: #f1f5f9;
  --paper: #f8fafc;
  --line: rgba(15, 23, 42, 0.1);
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --amber: #f59e0b;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  color: var(--brand-hover);
}

.wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand-lockup img {
  height: 44px;
  width: auto;
  max-width: min(240px, 58vw);
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  border-radius: 0.65rem;
  border: 0;
  background: var(--brand);
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(64, 166, 223, 0.28);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.nav-cta:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  border-radius: 0.5rem;
}

.site-header-solid {
  position: relative;
  background: var(--ink);
}

.status-page {
  padding: 2.5rem 0 4.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fde8e8;
  color: #9b1c1c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #e02424;
  box-shadow: 0 0 0 4px rgba(224, 36, 36, 0.18);
}

.status-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0.85rem 0 0.75rem;
  max-width: 22ch;
}

.status-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.status-shot {
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.08);
}

.status-shot img {
  width: 100%;
  height: auto;
}

.status-copy {
  max-width: 68ch;
}

.status-copy h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.7rem;
}

.status-copy p,
.status-copy li {
  color: var(--ink-soft);
}

.status-copy ul {
  padding-left: 1.15rem;
}

.status-faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.status-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--cyan-glow), transparent),
    linear-gradient(180deg, transparent 0%, var(--paper) 85%),
    var(--paper);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.hero::before {
  width: 24rem;
  height: 24rem;
  top: 4rem;
  right: -6rem;
  background: rgba(64, 166, 223, 0.18);
}

.hero::after {
  width: 18rem;
  height: 18rem;
  bottom: 6rem;
  left: -4rem;
  background: rgba(103, 232, 249, 0.15);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(64, 166, 223, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(64, 166, 223, 0.12);
}

.hero-brand {
  display: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 auto 1.25rem;
  animation: rise 0.9s var(--ease) both;
}

.hero h1 .gradient {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 42ch;
  margin: 0 auto 2.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  animation: rise 0.9s var(--ease) 0.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--brand-deep);
  border-color: rgba(64, 166, 223, 0.4);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--white);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-fog {
  background:
    radial-gradient(circle at 10% 0%, rgba(13, 115, 119, 0.08), transparent 40%),
    linear-gradient(180deg, #f2f6f9, #eef3f7);
}

.section-ink {
  background:
    linear-gradient(135deg, #0a4a6e 0%, #0f172a 50%, #1a6fa8 160%);
  color: var(--white);
}

.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.section-ink .kicker {
  color: var(--amber);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  max-width: 20ch;
}

.section-lead {
  max-width: 54ch;
  color: var(--ink-soft);
  margin: 0 0 3rem;
  line-height: 1.75;
}

.section-ink .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-item {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.service-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.city-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.city-rail article {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.city-rail h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.city-rail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

.proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.proof > div {
  padding: 1.35rem 1.2rem;
  background: rgba(11, 31, 51, 0.03);
  border: 1px solid var(--line);
}

.proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 0.55rem;
}

.proof span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.2rem 1.35rem;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  list-style: none;
  line-height: 1.45;
  padding-right: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-grid h2 {
  max-width: 14ch;
}

.contactform .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.contactForm textarea {
  min-height: 150px;
  resize: vertical;
}

.validation,
#sendmessage,
#errormessage {
  display: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

#sendmessage.show,
#errormessage.show {
  display: block;
}

.site-footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.trust-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.trust-grid strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.prose-wide .section-lead {
  max-width: 68ch;
}

.prose {
  max-width: 68ch;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

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

.industry-grid,
.process-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.industry-grid article,
.process-grid article,
.case-item {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.section-ink .process-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.industry-grid h3,
.process-grid h3,
.case-item h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.industry-grid p,
.process-grid p,
.case-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.section-ink .process-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

.stack-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.stack-rail p {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  line-height: 1.65;
}

.stack-rail strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

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

.locations-foot {
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.locations-foot a {
  color: var(--amber);
}

.check-list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--brand);
}

.cta-strip {
  background:
    linear-gradient(135deg, #0b1f33 0%, #0d7377 130%);
  color: #fff;
}

.cta-strip .kicker {
  color: var(--amber);
}

.cta-strip .section-lead {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-strip h2 {
  color: #fff;
  max-width: 16ch;
}

.site-footer-rich {
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.footer-grid p,
.footer-grid li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .service-list,
  .city-rail,
  .industry-grid,
  .case-grid,
  .city-rail-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .wrap {
    width: min(1120px, calc(100% - 2rem));
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 31, 51, 0.97);
    padding: 0.5rem;
    z-index: 30;
  }

  .nav.open a {
    padding: 0.95rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .brand-lockup img {
    height: 38px;
  }

  .split,
  .contact-grid,
  .cta-strip-inner {
    grid-template-columns: 1fr;
    display: grid;
    gap: 2rem;
  }

  .contactform .row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 7.5rem 0 3.5rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .stack-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 1.5rem);
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-lead {
    margin-bottom: 2rem;
  }

  .service-list,
  .city-rail,
  .proof,
  .industry-grid,
  .process-grid,
  .case-grid,
  .trust-grid,
  .footer-grid,
  .city-rail-rich {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item,
  .city-rail article,
  .proof > div,
  .faq details,
  .industry-grid article,
  .process-grid article,
  .case-item {
    padding: 1.35rem 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    max-width: none;
  }

  .footer-links {
    width: 100%;
  }
}
