/* Editorial layout refresh. The compact product interfaces remain in styles.css. */
:root {
  --ink: #142238;
  --muted: #617084;
  --line: #e1e8f0;
  --soft: #f6f9fd;
  --blue: #1c5dc9;
  --blue-dark: #164ba6;
  --navy: #12243e;
  --container: 1220px;
  --type-hero: clamp(48px, 4.7vw, 66px);
  --type-section: clamp(38px, 3.8vw, 48px);
  --type-feature: 30px;
  --type-card: 30px;
}

body { background: #fff; }
.container { width: min(calc(100% - 80px), var(--container)); }
.section { padding: 120px 0; }
.section h2 { line-height: 1.12; letter-spacing: -.052em; }
.section-intro { max-width: 810px; margin-bottom: 56px; }
.section-intro h2 { max-width: 760px; margin-bottom: 22px; }
.section-intro > p:last-child { max-width: 610px; }
.eyebrow { gap: 12px; margin-bottom: 22px; font-size: 11px; letter-spacing: .16em; }
.eyebrow-line { width: 24px; }

/* Navigation */
.site-header {
  background: rgba(255, 255, 255, .87);
  border-bottom: 1px solid rgba(225, 232, 240, .7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.scrolled, .site-header.menu-open { box-shadow: 0 12px 30px rgba(20, 34, 56, .045); }
.nav-shell { height: 76px; }
.brand { gap: 9px; }
.brand-mark { width: auto; height: auto; border: 0; border-radius: 0; color: var(--blue); font-size: 21px; letter-spacing: -.09em; }
.brand-mark span { color: #79a7ee; }
.brand-text { font-size: 18px; letter-spacing: -.06em; }
.brand-text span { color: #8491a2; }
.desktop-nav { gap: 30px; }
.desktop-nav a { color: #536276; font-size: 13px; font-weight: 600; }
.desktop-nav a:hover { color: var(--blue); }
.nav-actions { gap: 26px; }
.button { min-height: 48px; padding: 12px 19px; border-radius: 8px; }
.button-primary { background: var(--blue); box-shadow: 0 8px 20px rgba(28, 93, 201, .13); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 24px rgba(28, 93, 201, .18); }
.button-secondary { padding-inline: 7px; border-color: transparent; background: transparent; box-shadow: none; }
.button-secondary:hover { border-color: transparent; background: transparent; }
.nav-cta { min-height: 39px; padding: 9px 15px; font-size: 12px; }
.menu-toggle { border-radius: 8px; }

/* Hero: typography and one layered product view. */
.hero {
  position: relative;
  padding: 112px 0 118px;
  background: radial-gradient(circle at 78% 43%, #eaf2ff 0, #f7faff 26%, transparent 52%),
              linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.hero-grid { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 7%; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 650px; line-height: 1.07; letter-spacing: -.062em; }
.hero-lead { max-width: 510px; margin-top: 30px; color: #52647a; }
.hero-actions { margin-top: 35px; }
.hero-footnote { margin-top: 67px; color: #748295; font-size: 13px; }
.footnote-rule { width: 36px; background: #96b8e8; }
.hero-scene { min-height: 490px; }
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 4% -5% 0 3%;
  border-radius: 50%;
  background: radial-gradient(circle, #dceaff 0%, #eef5ff 52%, transparent 72%);
  filter: blur(8px);
}
.scene-orbit { display: none; }
.scene-layer { max-width: 650px; }
.hero-window { border: 1px solid #dae5f3; border-radius: 16px; box-shadow: 0 45px 85px rgba(39, 77, 126, .15), 0 9px 25px rgba(39, 77, 126, .06); }
.floating-card { border-color: #e4ecf5; border-radius: 10px; box-shadow: 0 18px 35px rgba(30, 63, 107, .11); }
.scene-caption { bottom: -20px; }

/* Compact capability line instead of a boxed logo strip. */
.credibility-strip { border: 0; background: #f6f9fd; }
.credibility-inner { min-height: 100px; justify-content: flex-start; gap: 36px; }
.credibility-inner .credibility-label { max-width: 175px; margin-right: auto; color: #35465e; font-size: 12px; font-weight: 700; }
.credibility-inner span:not(.credibility-label) { display: inline-flex; align-items: center; gap: 9px; color: #617084; font-size: 10px; letter-spacing: .06em; }
.credibility-inner span:not(.credibility-label)::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #8bb2e7; }

/* Services use open alternating compositions. */
.services-section { overflow: hidden; }
.service-list { border-top: 0; }
.service-row {
  position: relative;
  min-height: 420px;
  gap: 10%;
  padding: 70px 0;
  border-bottom: 0;
}
.service-row:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #e4ebf3 13%, #e4ebf3 87%, transparent); }
.service-copy { max-width: 515px; }
.service-number { margin-bottom: 22px; color: var(--blue); }
.service-copy h3 { max-width: 500px; margin-bottom: 20px; font-size: var(--type-feature); letter-spacing: -.045em; }
.service-copy p { margin-bottom: 27px; color: #5c6d82; }
.service-points { gap: 10px; margin-bottom: 0; }
.service-points li { padding-left: 22px; color: #3e5068; }
.service-points li::before { top: .65em; width: 7px; height: 7px; border-radius: 50%; background: #91b8ed; }
.service-tag { display: none; }
.service-visual {
  min-height: 310px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 3% 1%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #e8f2ff 0, #f4f9ff 58%, rgba(244, 249, 255, 0) 73%);
}
.visual-flow { padding-inline: 0; }
.visual-system, .visual-flow, .visual-app, .visual-integration { background: transparent; }
.mini-app { position: relative; z-index: 1; border-radius: 12px; box-shadow: 0 24px 48px rgba(28, 78, 145, .14); }
.flow-step { border-radius: 10px; box-shadow: 0 15px 30px rgba(28, 78, 145, .08); }
.app-desktop { border-radius: 12px; box-shadow: 0 23px 40px rgba(28, 78, 145, .14); }
.app-phone { z-index: 2; border-radius: 19px; }
.integration-core { border-radius: 12px; }
.integration-node { z-index: 1; border-radius: 8px; }

/* Work is a series of case studies, not a grid of tiles. */
.work-section { background: #f6f9fd; }
.work-header { align-items: end; margin-bottom: 70px; }
.work-header h2 { max-width: 690px; }
.work-header > p { max-width: 320px; color: #68798e; }
.work-grid { grid-template-columns: 1fr; gap: 112px; }
.work-card, .work-card-featured, .work-card-wide {
  display: grid;
  grid-column: auto;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 7%;
  min-height: 370px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.work-card:nth-child(even) .work-copy { order: 2; }
.work-card:nth-child(even) .work-visual { order: 1; }
.work-copy, .work-card-featured .work-copy, .work-card-wide .work-copy { display: block; padding: 0; }
.work-index { color: var(--blue); font-size: 11px; }
.work-card h3, .work-card-featured h3, .work-card-wide h3 { max-width: 520px; margin: 19px 0 18px; font-size: var(--type-card); letter-spacing: -.045em; }
.work-card .work-copy > p { margin-bottom: 27px; }
.work-card .case-detail { gap: 20px; margin-bottom: 0; padding-top: 20px; border-color: #dbe5ef; }
.work-card .case-detail strong { margin-bottom: 7px; }
.work-card .case-detail p { margin-bottom: 0; }
.tag-list { display: none; }
.work-card .work-visual { min-height: 365px; border-radius: 16px; box-shadow: 0 22px 48px rgba(28, 71, 126, .07); }
.operations-visual, .document-visual, .hospitality-visual, .transaction-visual { background: linear-gradient(135deg, #e8f2fe, #f2f7fd); }
.work-screen { border-radius: 10px; }
.document-page { border-radius: 9px; }

/* The practical examples stay immersive while diagrams sit lightly on the page. */
.engineering-section { position: relative; overflow: hidden; background: #132640; }
.engineering-section::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 113, 186, .18), transparent 68%); pointer-events: none; }
.engineering-grid { position: relative; z-index: 1; gap: 10%; }
.engineering-copy h2 { max-width: 570px; }
.engineering-copy > p:not(.eyebrow) { color: #c3d0de; }
.engineering-section p.engineering-principle { border-color: #71a7ef; color: #eff5fc; }
.capability-list { margin-top: 40px; }
.capability-list > div { padding: 18px 0; border-color: rgba(196, 215, 237, .17); }
.engineering-section .capability-list strong { font-size: 14px; }
.engineering-section .capability-list span { color: #becbd9; }
.architecture { border: 0; border-radius: 16px; background: rgba(255, 255, 255, .045); box-shadow: none; }
.operations-gallery { position: relative; z-index: 1; gap: 30px; margin-top: 70px; }
.operations-illustration { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.operations-illustration img { border-radius: 13px; box-shadow: 0 22px 48px rgba(0, 0, 0, .16); }
.operations-illustration figcaption { padding: 19px 1px 0; }
.operations-illustration small { color: #9bb9de; }

/* A continuous four-step timeline. */
.process-section { overflow: hidden; }
.process-grid { position: relative; gap: 40px; }
.process-grid::before { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: #cfdded; }
.process-grid article { position: relative; padding-top: 0; border-top: 0; }
.process-grid article > span { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #cfe0f7; border-radius: 50%; background: #eff6ff; color: var(--blue); font-size: 14px; }
.process-grid h3 { margin-top: 29px; font-size: 21px; }
.process-grid p { color: #617084; }
.process-grid small { margin-top: 22px; border-color: #dfe8f2; }

/* About and contact become spacious closing statements. */
.about-section { background: #f6f9fd; }
.about-grid { gap: 12%; }
.about-grid h2 { max-width: 590px; }
.about-content { max-width: 540px; }
.about-content > p { color: #4d5f75; }
.founder { margin-top: 44px; padding-top: 24px; border-color: #d6e2ee; }
.founder-monogram { width: 48px; height: 48px; border: 0; border-radius: 50%; background: #dfecff; }
.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 12%; align-items: start; }
.faq-intro { position: sticky; top: 116px; }
.faq-intro h2 { max-width: 450px; margin: 0 0 20px; }
.faq-intro > p:last-child { max-width: 370px; margin: 0; color: #617084; font-size: 15px; }
.faq-list { border-top: 1px solid #dce5ef; }
.faq-item { padding: 23px 0 25px; border-bottom: 1px solid #dce5ef; }
.faq-item h3 { margin: 0 0 10px; color: #1b304b; font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.faq-item p { max-width: 590px; margin: 0; color: #586a80; font-size: 14px; line-height: 1.75; }
.faq-item a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-item a:hover { color: var(--blue-dark); }
.cta-section { position: relative; overflow: hidden; padding: 105px 0; background: #eaf3ff; color: var(--ink); }
.cta-section::after { content: ""; position: absolute; width: 680px; height: 680px; right: -210px; bottom: -390px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 157, 231, .24), transparent 70%); pointer-events: none; }
.cta-grid { position: relative; z-index: 1; }
.cta-section .eyebrow { color: var(--blue); }
.cta-section h2 { max-width: 680px; }
.cta-section p:not(.eyebrow), .cta-section p.cta-prompt { color: #52647a; }
.cta-section p.cta-prompt { border-left: 2px solid #8cb5ec; padding-left: 15px; }
.button-light { background: var(--blue); color: white; box-shadow: 0 10px 24px rgba(28, 93, 201, .14); }
.button-light:hover { background: var(--blue-dark); }
.cta-email { color: #21476e; border-color: #a7bfdc; }
.site-footer { background: #f9fbfe; }
.footer-bottom { border-color: #dfe7f1; }

/* Depth is concentrated in the hero and product examples. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero-scene { perspective: 1050px; }
  .scene-layer { transition: transform .18s ease-out; }
  .floating-card-top { transform: translateZ(90px) rotateY(3deg); }
  .floating-card-bottom { transform: translateZ(70px) rotateY(-3deg); }
  .work-card { perspective: 1200px; }
  .work-card .work-visual { transform-style: preserve-3d; transition: transform .5s ease, box-shadow .5s ease; }
  .work-card:hover .work-visual { transform: translate3d(0, -7px, 12px) rotateX(2deg) rotateY(-2deg); box-shadow: 0 30px 58px rgba(28, 71, 126, .13); }
  .work-card:nth-child(even):hover .work-visual { transform: translate3d(0, -7px, 12px) rotateX(2deg) rotateY(2deg); }
  .js-motion .service-row .service-visual { transition: transform .75s cubic-bezier(.2, .7, .2, 1); }
  .js-motion .service-row:not(.in-view) .service-visual { transform: translate3d(0, 20px, 25px) rotateY(4deg); }
  .js-motion .service-row.reverse:not(.in-view) .service-visual { transform: translate3d(0, 20px, 25px) rotateY(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .scene-layer, .work-card .work-visual, .service-row .service-visual { transition: none !important; transform: none !important; }
}

@media (max-width: 1100px) {
  .container { width: min(calc(100% - 56px), var(--container)); }
  .hero-grid { gap: 3%; }
  .credibility-inner { gap: 20px; }
  .work-card, .work-card-featured, .work-card-wide { gap: 5%; }
}

@media (max-width: 900px) {
  .section { padding: 94px 0; }
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-scene { max-width: 680px; }
  .credibility-inner { gap: 18px 26px; }
  .credibility-inner .credibility-label { margin-right: 0; }
  .service-row { gap: 5%; }
  .work-header { display: block; }
  .work-header > p { max-width: 590px; margin-top: 18px; }
  .work-grid { gap: 95px; }
  .work-card, .work-card-featured, .work-card-wide { grid-template-columns: 1fr; gap: 30px; }
  .work-card:nth-child(even) .work-copy, .work-card:nth-child(even) .work-visual { order: initial; }
  .work-card .work-visual { min-height: 340px; }
  .engineering-grid { gap: 7%; }
  .operations-gallery { gap: 20px; }
  .faq-grid { gap: 7%; }
}

@media (max-width: 700px) {
  :root {
    --type-hero: clamp(39px, 10vw, 45px);
    --type-section: clamp(33px, 8vw, 39px);
    --type-feature: 26px;
    --type-card: 26px;
  }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .nav-shell { height: 68px; }
  .hero { padding: 65px 0 72px; }
  .hero h1 { line-height: 1.09; }
  .hero-lead { margin-top: 22px; }
  .hero-footnote { margin-top: 40px; }
  .hero-scene { min-height: 320px; }
  .hero-scene::before { inset: 0; }
  .scene-caption { bottom: -15px; }
  .credibility-inner { padding-block: 25px; }
  .credibility-inner .credibility-label { width: 100%; max-width: none; }
  .section { padding: 78px 0; }
  .section-intro { margin-bottom: 35px; }
  .service-row, .service-row.reverse { gap: 18px; padding: 48px 0; }
  .service-copy h3 { margin-bottom: 15px; }
  .service-visual { min-height: 260px; }
  .work-header { margin-bottom: 50px; }
  .work-grid { gap: 78px; }
  .work-card, .work-card-featured, .work-card-wide { gap: 26px; }
  .work-card h3, .work-card-featured h3, .work-card-wide h3 { margin: 15px 0; }
  .work-card .work-visual { min-height: 270px; }
  .work-card .case-detail { gap: 16px; }
  .engineering-grid { gap: 35px; }
  .operations-gallery { gap: 28px; margin-top: 42px; }
  .operations-illustration figcaption { padding: 14px 0 0; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
  .process-grid::before { display: none; }
  .process-grid article > span { width: 48px; height: 48px; }
  .about-grid { gap: 30px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .faq-intro h2 { max-width: 600px; }
  .faq-item { padding: 20px 0 22px; }
  .cta-section { padding: 78px 0; }
  .cta-actions { margin-top: 32px; }
}

@media (max-width: 440px) {
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-grid article { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .process-grid article > span { grid-row: 1 / span 3; }
  .process-grid h3 { margin: 0 0 9px; }
  .process-grid p { margin-bottom: 0; }
  .process-grid small { grid-column: 2; margin-top: 12px; }
  .operations-illustration figcaption { gap: 6px; }
}
