:root {
  --deep: hsl(215, 73%, 22%);
  --deepDark: hsl(215, 58%, 12%);
  --deepSoft: hsl(215, 73%, 34%);
  --accent: hsl(65, 73%, 55%);
  --accentHover: hsl(65, 73%, 47%);
  --accentSoft: hsl(65, 73%, 86%);
  --accentInk: hsl(65, 73%, 23%);
  --ink: hsl(215, 28%, 14%);
  --inkSoft: hsl(215, 12%, 34%);
  --paper: hsl(215, 22%, 97%);
  --mist: hsl(215, 18%, 92%);
  --line: hsl(215, 14%, 84%);
  --white: #ffffff;
  --radiusSm: 10px;
  --radius: 13px;
  --radiusLg: 16px;
  --shellWidth: 1160px;
  --headFont: "Outfit", system-ui, sans-serif;
  --bodyFont: "Barlow", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--bodyFont);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--headFont);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: var(--deepSoft);
  text-underline-offset: 3px;
}

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

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 96px;
}

.shell {
  width: min(100% - 2.5rem, var(--shellWidth));
  margin-inline: auto;
}

.skipLink {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 50;
  background: var(--deep);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radiusSm);
}

.skipLink:focus {
  left: 0.5rem;
  color: var(--white);
}

.topBar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: hsla(215, 22%, 97%, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topBarInner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav lang";
  align-items: center;
  gap: 1rem 2rem;
  min-height: 74px;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

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

.brandMark {
  display: block;
  flex: none;
  width: 46px;
  height: 46px;
}

.brandName {
  font-family: var(--headFont);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
}

.brandName small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--bodyFont);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--inkSoft);
}

.mainNav {
  grid-area: nav;
  justify-self: end;
}

.mainNav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
}

.mainNav a {
  display: inline-block;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
}

.mainNav a:hover {
  border-color: var(--accent);
  color: var(--deep);
}

.langSwitch {
  grid-area: lang;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.25rem;
  border-radius: var(--radiusSm);
  background: var(--mist);
  font-family: var(--headFont);
  font-size: 0.85rem;
  font-weight: 600;
}

.langSwitch a {
  padding: 0.25rem 0.45rem;
  border-radius: 7px;
  color: var(--inkSoft);
  text-decoration: none;
}

.langSwitch a:hover {
  color: var(--deep);
  background: var(--white);
}

.langSwitch a[aria-current="page"] {
  background: var(--deep);
  color: var(--white);
}

.langDot {
  color: hsl(215, 12%, 62%);
}

.hasInitial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hasInitial::before {
  content: attr(data-initial);
  position: absolute;
  z-index: -1;
  top: -0.14em;
  right: -0.04em;
  font-family: var(--headFont);
  font-weight: 800;
  font-size: clamp(12rem, 34vw, 28rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--deep);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.historyBlock::before {
  right: auto;
  left: -0.02em;
}

.darkBlock.hasInitial::before,
.siteFooter.hasInitial::before {
  color: var(--white);
  opacity: 0.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  font-family: var(--headFont);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accentInk);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.accentMark {
  padding: 0 0.08em;
  background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%);
}

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

.heroGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: end;
}

.heroMain {
  grid-column: 1 / 9;
}

.heroLead {
  max-width: 34rem;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--inkSoft);
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btnPrimary,
.btnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radiusSm);
  font-family: var(--headFont);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btnPrimary {
  background: var(--accent);
  color: var(--deepDark);
}

.btnPrimary:hover {
  background: var(--accentHover);
  color: var(--deepDark);
  transform: translateY(-2px);
}

.btnGhost {
  border: 2px solid var(--deep);
  color: var(--deep);
}

.btnGhost:hover {
  background: var(--deep);
  color: var(--white);
}

.heroCard {
  grid-column: 9 / 13;
  transform: translateY(3.5rem);
  padding: 1.8rem;
  border-radius: var(--radiusLg);
  background: var(--deep);
  color: var(--white);
  box-shadow: 0 24px 48px -24px hsla(215, 73%, 18%, 0.55);
}

.heroCard p {
  color: hsla(0, 0%, 100%, 0.88);
}

.heroCard .heroCardLabel {
  margin-bottom: 0.7rem;
  font-family: var(--headFont);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.heroCard .heroCardAddress {
  font-family: var(--headFont);
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--white);
}

.heroFacts {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.18);
}

.heroFacts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 500;
}

.heroFacts li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.sectionBlock {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.sectionTag {
  margin-bottom: 0.9rem;
  font-family: var(--headFont);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accentInk);
}

.leadText {
  font-size: 1.15rem;
  color: var(--inkSoft);
}

.sectionHead {
  max-width: 38rem;
}

.sectionHeadShift {
  margin-left: auto;
}

.offsetGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.offsetMain {
  grid-column: 1 / 8;
}

.offsetSide {
  grid-column: 8 / 13;
  margin-top: 4rem;
}

.offsetGridReverse .offsetMain {
  grid-column: 6 / 13;
  grid-row: 1;
}

.offsetGridReverse .offsetSide {
  grid-column: 1 / 6;
  grid-row: 1;
  margin-top: 6rem;
}

.locationBlock {
  background: var(--white);
}

.addressPanel {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radiusLg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 14px 14px 0 var(--accentSoft);
}

.panelLabel {
  margin-bottom: 0.5rem;
  font-family: var(--headFont);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--inkSoft);
}

.addressLine {
  margin: 0;
  font-family: var(--headFont);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
}

.pullQuote {
  margin: 0;
  padding-left: 1.3rem;
  border-left: 4px solid var(--accent);
  font-family: var(--headFont);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  color: var(--deep);
}

.approachBlock {
  background: var(--mist);
}

.stepGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.stepCard {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radiusLg);
  background: var(--white);
  color: var(--ink);
}

.stepCard:nth-child(2) {
  margin-top: 3rem;
}

.stepCard:nth-child(3) {
  margin-top: 6rem;
}

.stepCard h3 {
  color: var(--deep);
}

.stepCard p {
  margin: 0;
  color: var(--inkSoft);
}

.stepNumber {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: var(--radiusSm);
  background: var(--deep);
  color: var(--accent);
  font-family: var(--headFont);
  font-weight: 700;
}

.darkBlock {
  background: var(--deep);
  color: var(--white);
}

.darkBlock h2 {
  color: var(--white);
}

.darkBlock .sectionTag {
  color: var(--accent);
}

.darkBlock .leadText {
  color: hsla(0, 0%, 100%, 0.86);
}

.lightCard {
  padding: 2rem;
  border-radius: var(--radiusLg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 48px -28px hsla(215, 60%, 6%, 0.7);
}

.lightCard h3 {
  color: var(--deep);
}

.lightCard p {
  margin: 0;
  color: var(--inkSoft);
}

.lightCard a {
  color: var(--deepSoft);
  overflow-wrap: anywhere;
}

.roleList {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.roleList li {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radiusSm);
  background: var(--mist);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.industryBlock {
  padding-bottom: clamp(6rem, 11vw, 9rem);
}

.industryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.industryItem {
  padding: 1.5rem;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px -22px hsla(215, 40%, 20%, 0.5);
}

.industryItem:nth-child(even) {
  transform: translateY(2rem);
}

.industryItem h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  color: var(--deep);
}

.industryItem p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--inkSoft);
}

.qualityBlock {
  background: var(--white);
}

.qualityList {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.qualityList li {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--ink);
}

.qualityList li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-top: 0.35rem;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 4px 4px 0 var(--deep);
}

.qualityArt {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radiusLg);
  background: repeating-linear-gradient(135deg, var(--mist) 0 22px, var(--paper) 22px 26px);
  box-shadow: -14px 14px 0 var(--deep);
}

.qualityArt svg {
  display: block;
  width: 52%;
  height: auto;
}

.faqGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.faqHead {
  grid-column: 1 / 5;
}

.faqList {
  grid-column: 5 / 13;
  display: grid;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.faqItem {
  padding: 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.faqItem summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--headFont);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

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

.faqItem summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--mist);
  color: var(--deep);
  font-size: 1.2rem;
}

.faqItem[open] summary::after {
  content: "\2013";
  background: var(--accent);
  color: var(--deepDark);
}

.faqItem p {
  margin: 0;
  padding-bottom: 1.2rem;
  color: var(--inkSoft);
}

.contactBlock {
  background: var(--mist);
}

.contactGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.contactInfo {
  grid-column: 1 / 6;
}

.contactInfo .leadText {
  color: var(--inkSoft);
}

.contactCard {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding: 1.8rem;
  border-radius: var(--radiusLg);
  background: var(--white);
  color: var(--ink);
}

.contactRow p {
  margin: 0;
}

.contactValue {
  font-family: var(--headFont);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contactValue a {
  color: var(--deep);
}

.contactValue a:hover {
  color: var(--deepSoft);
}

.contactMap {
  grid-column: 6 / 13;
  margin-top: 4rem;
}

.mapFrame {
  padding: 0.8rem;
  border-radius: var(--radiusLg);
  background: var(--white);
  box-shadow: -14px 14px 0 var(--deep);
}

.mapFrame svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.legalHero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 2.5rem;
}

.legalHero h1 {
  font-size: clamp(1.75rem, 5vw, 3.6rem);
}

.legalMeta {
  color: var(--inkSoft);
}

.legalSection {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.legalGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.legalAside {
  grid-column: 1 / 5;
  position: sticky;
  top: 100px;
  padding: 1.6rem;
  border-radius: var(--radiusLg);
  background: var(--deep);
  color: var(--white);
}

.legalAside p {
  color: hsla(0, 0%, 100%, 0.88);
}

.legalAside p:last-child {
  margin-bottom: 0;
}

.legalAside .panelLabel {
  color: var(--accent);
}

.legalAside a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.legalAside a:hover {
  color: var(--accent);
}

.legalBody {
  grid-column: 5 / 13;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radiusLg);
  background: var(--white);
  color: var(--ink);
}

.legalBody h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--deep);
}

.legalBody h2:first-child {
  margin-top: 0;
}

.legalBody p {
  color: var(--inkSoft);
}

.legalBody p:last-child {
  margin-bottom: 0;
}

.legalBody a {
  color: var(--deepSoft);
  overflow-wrap: anywhere;
}

.siteFooter {
  padding: 4rem 0 1.5rem;
  background: var(--deepDark);
  color: hsla(0, 0%, 100%, 0.82);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footerMark {
  display: block;
  width: 52px;
  height: 52px;
}

.footerName {
  margin: 0.8rem 0 0.4rem;
  font-family: var(--headFont);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.siteFooter p,
.siteFooter address {
  color: hsla(0, 0%, 100%, 0.82);
}

.footerHead {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.siteFooter a {
  color: var(--white);
  text-decoration-color: hsla(65, 73%, 55%, 0.6);
  overflow-wrap: anywhere;
}

.siteFooter a:hover {
  color: var(--accent);
}

.footerLinks {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footerBottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.14);
  font-size: 0.92rem;
}

.footerBottom p {
  margin: 0;
}

@media (max-width: 960px) {
  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .topBarInner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    gap: 0.5rem 1rem;
    min-height: 0;
    padding: 0.6rem 0 0.3rem;
  }

  .mainNav {
    justify-self: stretch;
    overflow-x: auto;
  }

  .mainNav ul {
    flex-wrap: nowrap;
    gap: 1.1rem;
    padding-bottom: 0.2rem;
  }

  .mainNav a {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .heroMain,
  .heroCard,
  .offsetMain,
  .offsetSide,
  .offsetGridReverse .offsetMain,
  .offsetGridReverse .offsetSide,
  .faqHead,
  .faqList,
  .contactInfo,
  .contactMap,
  .legalAside,
  .legalBody {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .heroCard {
    transform: none;
    margin-left: 12%;
  }

  .offsetSide {
    margin-top: 0;
    margin-left: 8%;
  }

  .offsetGridReverse .offsetSide {
    margin-top: 0;
    margin-left: 0;
  }

  .qualityArt {
    max-width: 220px;
    margin-left: 14px;
  }

  .stepGrid {
    grid-template-columns: 1fr;
  }

  .stepCard:nth-child(2),
  .stepCard:nth-child(3) {
    margin-top: 0;
  }

  .stepCard:nth-child(2) {
    margin-left: 6%;
  }

  .stepCard:nth-child(3) {
    margin-left: 12%;
  }

  .faqList {
    margin-top: 0;
  }

  .contactMap {
    margin-top: 1rem;
  }

  .legalAside {
    position: static;
  }

  .legalBody {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 2rem, var(--shellWidth));
  }

  .industryGrid,
  .footerGrid {
    grid-template-columns: 1fr;
  }

  .industryItem:nth-child(even) {
    transform: none;
    margin-left: 8%;
  }

  .industryBlock {
    padding-bottom: clamp(4rem, 9vw, 7rem);
  }

  .heroCard {
    margin-left: 0;
  }

  .addressPanel {
    box-shadow: 8px 8px 0 var(--accentSoft);
  }

  .mapFrame {
    margin-left: 8px;
    box-shadow: -8px 8px 0 var(--deep);
  }

  .lightCard,
  .contactCard {
    padding: 1.4rem;
  }

  .faqItem {
    padding: 0 1rem;
  }
}

@media (max-width: 420px) {
  .brandMark {
    width: 38px;
    height: 38px;
  }

  .brandName {
    font-size: 1rem;
  }

  .brandName small {
    display: none;
  }

  .langSwitch a {
    padding: 0.25rem 0.32rem;
  }
}
