:root {
  --background: #ffffff;
  --text: #18212b;
  --muted: #616c77;
  --line: #dce2e7;
  --line-dark: rgba(255,255,255,.16);
  --soft: #f4f7f9;
  --soft-blue: #eef3f6;
  --primary: #1f4f6f;
  --primary-deep: #122f43;
  --primary-dark: #0d2637;
  --accent: #d71944;
  --max-width: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.965);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 220px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  position: relative;
  padding: 10px 2px;
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 650;
  color: #28333e;
}
.nav-links > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 3px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links > a:not(.button):hover::after,
.nav-links > a.active:not(.button)::after { transform: scaleX(1); }
.nav-links > a:hover,
.nav-links > a.active { color: var(--primary); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 750;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-1px); }
.button-small { min-height: 38px; padding: 7px 14px !important; }
.button-outline { background: transparent; color: var(--primary) !important; }
.button-outline:hover { background: var(--primary); color: #fff !important; }
.active-button { background: var(--primary-deep); border-color: var(--primary-deep); }
.text-link { color: var(--primary); font-weight: 750; text-decoration: none; }
.text-link:hover { color: var(--accent); }

h1, h2, h3 { margin-top: 0; color: var(--text); line-height: 1.17; }
h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(1.85rem, 6vw, 2.3rem);
  letter-spacing: -0.04em;
  font-weight: 760;
}
h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.8vw, 2.05rem); letter-spacing: -.025em; font-weight: 740; }
h3 { margin-bottom: 10px; font-size: 1.13rem; letter-spacing: -.012em; }
p { margin-top: 0; }
.lead { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.eyebrow {
  margin: 0 0 11px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .125em;
  text-transform: uppercase;
}
.eyebrow-light { color: #f29aae; }

/* Internal section hierarchy: clearer technical labels, quieter supporting headlines */
.focus-section .eyebrow,
.capability-band .eyebrow,
.process-section .eyebrow,
.experience-section .eyebrow,
.cta-section .eyebrow {
  font-size: .82rem;
  letter-spacing: .105em;
}

.section-heading h2,
.band-heading h2,
.process-copy h2,
.experience-layout h2,
.cta-layout h2 {
  font-size: clamp(1.34rem, 2.15vw, 1.72rem);
  font-weight: 680;
  letter-spacing: -.018em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 70px;
  background:
    linear-gradient(90deg, rgba(31,79,111,.035) 1px, transparent 1px),
    linear-gradient(rgba(31,79,111,.035) 1px, transparent 1px),
    linear-gradient(135deg, #fafcfd 0%, #eef3f6 100%);
  background-size: 34px 34px, 34px 34px, auto;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -190px;
  border: 1px solid rgba(31,79,111,.12);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 74px;
  align-items: center;
}
.hero-copy .lead { max-width: 670px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero-stage {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  display: grid;
  place-items: center;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31,79,111,.16);
  border-radius: 50%;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,79,111,.09) 0%, rgba(31,79,111,.03) 42%, rgba(31,79,111,0) 72%);
  filter: blur(2px);
}
.hero-stage img {
  position: relative;
  z-index: 3;
  width: 200px;
  height: auto;
  box-shadow: 0 18px 46px rgba(13,38,55,.10);
}

.page-header {
  padding: 58px 0 60px;
  background:
    linear-gradient(90deg, rgba(31,79,111,.03) 1px, transparent 1px),
    linear-gradient(rgba(31,79,111,.03) 1px, transparent 1px),
    linear-gradient(135deg, #fafcfd, #eef3f6);
  background-size: 38px 38px, 38px 38px, auto;
  border-bottom: 1px solid var(--line);
}
.page-header-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: end; }
.page-header-grid h1 { margin-bottom: 0; }

.section { padding: 78px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: end; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { margin: 0; color: var(--muted); max-width: 590px; }

.focus-section { background: #fff; }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.focus-card {
  position: relative;
  padding: 32px 31px 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 34px rgba(18,47,67,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.focus-card:hover { transform: translateY(-3px); border-color: #c8d3db; box-shadow: 0 18px 42px rgba(18,47,67,.075); }
.focus-topline { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.focus-number { color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .09em; }
.focus-rule { height: 1px; flex: 1; background: var(--line); }
.focus-card h3 { max-width: 430px; margin-bottom: 14px; font-size: 1.28rem; }
.focus-card > p { color: var(--muted); max-width: 520px; margin-bottom: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.tag-list span { padding: 6px 9px; border: 1px solid #d6e0e6; background: var(--soft); color: #40515f; font-size: .78rem; font-weight: 650; }

.capability-band,
.method-strip,
.expertise-block {
  color: #fff;
  background: linear-gradient(112deg, var(--primary-dark), #173d56 72%, #1a4561);
}
.capability-band { padding: 67px 0 65px; }
.capability-band h2,
.capability-band h3,
.method-strip h2,
.expertise-block h2 { color: #fff; }
.band-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.band-heading h2 { margin: 0; max-width: 570px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.capability-grid article { min-height: 190px; padding: 27px 22px 8px 0; border-right: 1px solid var(--line-dark); }
.capability-grid article:not(:first-child) { padding-left: 22px; }
.capability-grid article:last-child { border-right: 0; }
.capability-grid p { color: rgba(255,255,255,.72); margin-bottom: 0; font-size: .9rem; }
.cap-index { display: block; margin-bottom: 28px; color: #ef7892; font-size: .7rem; font-weight: 850; letter-spacing: .12em; }

.process-section { background: var(--soft); }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.process-copy p:last-child { color: var(--muted); max-width: 450px; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 8px; }
.process-track::before { content: ""; position: absolute; top: 26px; left: 4%; right: 4%; height: 1px; background: #bac8d2; }
.process-track article { position: relative; padding: 0 18px 0 0; }
.process-track article:not(:first-child) { padding-left: 18px; }
.process-track span { position: relative; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 24px; border: 1px solid #afc0cb; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: .7rem; font-weight: 850; }
.process-track h3 { margin-bottom: 8px; }
.process-track p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.experience-section { background: #fff; }
.experience-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: start; }
.experience-lead { color: var(--muted); max-width: 500px; }
.experience-list { border-top: 1px solid var(--line); }
.experience-list article { display: grid; grid-template-columns: 190px 1fr; gap: 25px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.experience-list span { color: var(--primary); font-size: .9rem; font-weight: 800; }
.experience-list p { margin: 0; color: var(--muted); font-size: .92rem; }

.cta-section { padding: 52px 0; background: var(--soft-blue); border-top: 1px solid #d8e3ea; }
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta-layout h2 { margin-bottom: 9px; max-width: 700px; }
.cta-layout p:last-child { margin-bottom: 0; color: var(--muted); max-width: 730px; }

.tech-feature { padding: 82px 0; scroll-margin-top: 90px; }
.tech-feature-alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-grid { display: grid; grid-template-columns: 1.32fr .68fr; gap: 72px; align-items: start; }
.tech-main { max-width: 730px; }
.tech-main h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.tech-main > p { color: var(--muted); }
.tech-main .tech-lead { color: #34424e; font-size: 1.03rem; }
.section-marker { display: flex; align-items: center; gap: 12px; width: 145px; margin-bottom: 24px; }
.section-marker span { color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.section-marker i { height: 1px; flex: 1; background: var(--line); }
.focus-panel { padding: 27px 27px 25px; background: #fff; border-top: 3px solid var(--primary); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(18,47,67,.045); }
.tech-feature-alt .focus-panel { background: #fdfefe; }
.panel-label { margin-bottom: 14px; color: var(--primary); font-size: .75rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.focus-panel ul { list-style: none; padding: 0; margin: 0; }
.focus-panel li { position: relative; padding: 10px 0 10px 18px; border-top: 1px solid #edf0f2; color: #34424e; font-size: .9rem; }
.focus-panel li:first-child { border-top: 0; }
.focus-panel li::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.method-strip { padding: 58px 0; }
.method-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.method-layout h2 { margin-bottom: 0; }
.method-terms { display: flex; flex-wrap: wrap; gap: 9px; }
.method-terms span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.9); font-size: .84rem; font-weight: 650; }

.principles-section { background: #fff; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article { padding: 27px 28px 27px 0; border-right: 1px solid var(--line); }
.principle-grid article:not(:first-child) { padding-left: 28px; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.about-intro { background: #fff; }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 78px; }
.prose p { color: var(--muted); }
.prose-large { max-width: 720px; font-size: 1.02rem; }
.prose-large p:last-child { margin-bottom: 0; }
.expertise-block { padding: 61px 0; }
.expertise-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: center; }
.expertise-layout h2 { margin-bottom: 0; }
.expertise-terms { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line-dark); }
.expertise-terms span { padding: 15px 13px 15px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255,255,255,.92); font-size: .93rem; font-weight: 700; }
.expertise-terms span:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.experience-detail { background: var(--soft); }
.approach-section { background: #fff; }

.contact-section { min-height: 430px; }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; align-items: start; }
.contact-copy { max-width: 620px; color: var(--muted); }
.contact-card { padding: 31px 32px; border-top: 3px solid var(--primary); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 14px 36px rgba(18,47,67,.06); }
.contact-card a { display: block; margin-top: 7px; color: var(--primary); font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.contact-card a:hover { color: var(--accent); }
.contact-label { display: block; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.location-label { margin-top: 27px; }
.contact-card strong { display: block; margin-top: 6px; font-size: 1rem; }
.footer-bottom { margin-top: auto; }

.site-footer { padding: 25px 0; background: #0b2232; color: rgba(255,255,255,.88); font-size: .86rem; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 42px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid article:nth-child(2) { border-right: 0; }
  .capability-grid article:nth-child(3), .capability-grid article:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .tech-grid { gap: 48px; }
  .process-layout { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--max-width)); }
  .nav-wrap { min-height: 76px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 14px 18px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(18,47,67,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links .button { margin-top: 6px; text-align: center; }
  .nav-links > a:not(.button)::after { display: none; }
  .hero { padding: 47px 0 52px; }
  .hero-grid,
  .page-header-grid,
  .section-heading,
  .focus-grid,
  .experience-layout,
  .tech-grid,
  .method-layout,
  .about-grid,
  .expertise-layout,
  .contact-grid,
  .cta-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-stage { width: 250px; justify-self: start; margin-top: 7px; }
  .hero-stage::before { inset: 14px; }
  .hero-stage::after { inset: 42px; }
  .hero-stage img { width: 160px; }
  .section, .tech-feature { padding: 57px 0; }
  .page-header { padding: 46px 0; }
  .section-heading { align-items: start; margin-bottom: 25px; }
  .capability-band { padding: 52px 0; }
  .band-heading { display: block; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article,
  .capability-grid article:not(:first-child) { min-height: 0; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line-dark); }
  .capability-grid article:first-child { border-top: 0; }
  .cap-index { margin-bottom: 12px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 30px 10px; }
  .process-track::before { display: none; }
  .process-track article,
  .process-track article:not(:first-child) { padding: 0 15px 0 0; }
  .process-track span { margin-bottom: 12px; }
  .experience-list article { grid-template-columns: 1fr; gap: 7px; }
  .method-strip, .expertise-block { padding: 50px 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article,
  .principle-grid article:not(:first-child) { padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .principle-grid article:first-child { border-top: 0; }
  .expertise-terms { grid-template-columns: 1fr; }
  .expertise-terms span:nth-child(even) { padding-left: 0; border-left: 0; }
  .cta-layout .button { justify-self: start; }
  .footer-wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
}
