/* Header and identity */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--ink); color: var(--paper); font-size: 25px; font-weight: 500; letter-spacing: -.08em; padding-right: 3px; border-radius: 8px; }
.brand-mark span { color: var(--lime); }
nav { display: flex; align-items: center; gap: 30px; font-size: 12px; }
nav a { padding-block: 10px; }
nav a:hover, .footer-navigation a:hover, .footer-bottom a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.nav-business { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #aebdb5; }

/* Introduction and an illustration of the engineering stack */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 75px; padding-block: 88px 82px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(43px, 4.7vw, 65px); letter-spacing: -.065em; white-space: nowrap; }
.title-period { color: var(--accent); }
.hero-statement { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.35; letter-spacing: -.035em; margin-top: 21px; }
.hero-description { color: var(--muted); max-width: 400px; margin-top: 20px; font-size: 15px; line-height: 1.8; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 44px; margin-top: 30px; padding: 13px 19px; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: 4px; font-size: 13px; transition: background .15s ease; }
.button:hover { background: var(--accent); }
.button span { color: var(--lime); font-size: 19px; line-height: 1; }
.location { display: flex; align-items: center; gap: 7px; margin-top: 25px; color: var(--muted); font-size: 11px; }
.location svg { width: 14px; height: 14px; }
.engineering-visual { padding: 27px 29px 23px; color: #f2f5ef; background-color: var(--ink); background-image: radial-gradient(#ffffff0e .7px, transparent .7px); background-size: 15px 15px; border-radius: 8px; position: relative; }
.visual-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #c1d2ce; font-family: var(--font-mono); font-size: 9px; letter-spacing: .03em; }
.visual-topline > span:last-child { color: var(--lime); font-size: 20px; }
.visual-heading { margin-top: 20px; margin-bottom: 25px; font-size: 31px; line-height: 1.15; letter-spacing: -.04em; }
.stack-layer { display: flex; align-items: center; gap: 15px; min-height: 70px; border: 1px solid #566a6c; background: #223840; border-radius: 5px; padding: 12px 15px; }
.layer-index { color: #a9c8bb; font: 10px var(--font-mono); }
.layer-label { display: block; font-size: 13px; line-height: 1.5; }
.layer-technologies { display: block; color: #b8c9c7; font: 10px/1.7 var(--font-mono); margin-top: 3px; }
.layer-symbol { margin-left: auto; color: var(--lime); font: 18px var(--font-mono); }
.stack-connector { height: 16px; padding-left: 20px; }
.stack-connector span { display: block; height: 100%; width: 1px; background: #77978a; }
.visual-bottomline { display: flex; align-items: center; gap: 7px; margin-top: 23px; color: #b8c9c7; font: 9px/1.5 var(--font-mono); }
.visual-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* Service descriptions */
.services { padding-block: 75px; }
.services-layout { display: grid; grid-template-columns: 1fr 1.45fr; gap: 90px; }
h2 { font-size: 34px; letter-spacing: -.045em; }
.section-intro h2 { margin-top: 18px; }
.section-intro > p:last-child { color: var(--muted); font-size: 14px; max-width: 290px; margin-top: 22px; line-height: 1.8; }
.service { display: grid; grid-template-columns: 33px 1fr; gap: 13px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.service:first-child { padding-top: 0; }
.service:last-child { padding-bottom: 0; border-bottom: 0; }
.service-number { font: 10px/2.6 var(--font-mono); color: var(--accent); }
h3 { font-size: 20px; letter-spacing: -.025em; }
.service p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 12px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.service-tags span { padding: 3px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font: 9px/1.5 var(--font-mono); }

/* Technology logos are local assets; the grid remains readable without images. */
.technologies { padding-block: 69px 77px; }
.technology-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.technology-heading h2 { margin-top: 16px; font-size: 30px; }
.technology-heading > p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.technology-grid { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.technology-grid li { display: flex; flex-direction: column; align-items: center; padding: 26px 5px 23px; border-right: 1px solid var(--line); }
.technology-grid li:last-child { border-right: 0; }
.technology-grid img { width: 34px; height: 34px; object-fit: contain; margin-bottom: 16px; }
.technology-grid li > span:first-of-type { font-size: 12px; font-weight: 600; }
.technology-type { color: var(--muted); font-size: 9px; margin-top: 2px; }

/* Public business identity */
.site-footer { background: #edf0e9; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.7fr 1fr .65fr; gap: 50px; padding-block: 48px 44px; }
.footer-brand > p { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-main h2 { font: 10px/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 17px; color: var(--muted); }
address { font-style: normal; font-size: 13px; line-height: 1.95; }
address strong { font-weight: 600; }
.footer-navigation a { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 7px; font-size: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 19px; border-top: 1px solid #d6ddd3; color: var(--muted); font-size: 10px; }
.footer-bottom a { display: flex; gap: 25px; align-items: center; }

/* Tablet and mobile layouts */
@media (min-width: 1440px) { .hero { padding-block: 104px; } }
@media (max-width: 1000px) {
  .hero { gap: 35px; padding-block: 64px; }
  h1 { font-size: 46px; }
  .engineering-visual { padding: 23px; }
  .services-layout { gap: 45px; }
  .technology-heading { align-items: start; }
  .technology-heading h2 { font-size: 27px; }
  .technology-grid { grid-template-columns: repeat(4, 1fr); }
  .technology-grid li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .technology-grid li:nth-child(4) { border-right: 0; }
  .footer-main { grid-template-columns: 1.3fr 1fr .7fr; gap: 30px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 84px; flex-wrap: wrap; justify-content: center; padding-block: 20px 14px; gap: 16px; }
  nav { justify-content: center; gap: 25px; width: 100%; font-size: 11px; }
  nav a { padding-block: 3px; }
  .nav-business { gap: 8px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 49px; }
  h1 { font-size: clamp(38px, 8vw, 60px); }
  .hero-statement { font-size: 27px; }
  .hero-description { max-width: 460px; }
  .engineering-visual { padding: 25px; }
  .visual-heading { font-size: 29px; }
  .services { padding-block: 49px; }
  .services-layout { grid-template-columns: 1fr; gap: 35px; }
  .section-intro h2 br { display: none; }
  h2 { font-size: 30px; }
  .section-intro > p:last-child { max-width: 460px; margin-top: 16px; }
  .technology-heading { display: block; }
  .technology-heading > p { margin-top: 18px; }
  .desktop-break { display: none; }
  .technologies { padding-block: 45px 50px; }
  .footer-main { grid-template-columns: 1.2fr 1fr; gap: 35px 25px; padding-block: 35px; }
  .footer-navigation { grid-column: 1 / -1; }
  .footer-navigation a { display: inline-flex; gap: 15px; margin-right: 25px; }
}
@media (max-width: 380px) {
  .brand { font-size: 16px; }
  nav { gap: 17px; }
  h1 { font-size: 37px; }
  .hero-statement { font-size: 24px; }
  .technology-grid { grid-template-columns: repeat(2, 1fr); }
  .technology-grid li:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
  .technology-grid li:nth-child(even) { border-right: 0; }
  .footer-main { grid-template-columns: 1fr; }
}
