:root {
  --ink: #111827;
  --muted: #5b6573;
  --green: #006b54;
  --green-2: #00876d;
  --amber: #f7c843;
  --clay: #b84c28;
  --paper: #f7f8f5;
  --mist: #eceff1;
  --line: #d9dee4;
  --white: #ffffff;
  --charcoal: #0b1119;
  --shadow: 0 28px 80px rgba(11, 17, 25, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--green);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 13px max(18px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(16, 35, 29, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 176px;
}

.brand-logo {
  width: 158px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.brand .logo-white {
  display: none;
}

.brand .logo-primary {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 2px;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  outline: none;
}

.is-scrolled .site-nav a:hover,
.is-scrolled .site-nav a:focus-visible {
  background: var(--mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 36px);
  min-height: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.is-scrolled .language-switch {
  border-color: var(--line);
  background: var(--mist);
}

.language-switch button,
.icon-button,
.menu-toggle {
  border: 0;
  color: currentColor;
  background: transparent;
  cursor: pointer;
}

.language-switch button {
  min-width: 30px;
  min-height: 30px;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--charcoal);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.is-scrolled .icon-button {
  border-color: var(--line);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94svh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 10, 17, 0.9) 0%, rgba(6, 10, 17, 0.7) 42%, rgba(6, 10, 17, 0.12) 76%),
    linear-gradient(0deg, rgba(6, 10, 17, 0.88) 0%, rgba(6, 10, 17, 0.05) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 158px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: 5.15rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.hero-actions,
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: var(--charcoal);
  background: var(--amber);
  box-shadow: 0 16px 38px rgba(242, 184, 75, 0.26);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.button.tertiary {
  color: var(--white);
  background: var(--green);
}

.build-panel {
  max-width: 980px;
  margin: 48px 0 0;
}

.build-panel > p {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.42rem;
  font-weight: 900;
}

.build-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.build-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 166px;
  padding: 22px;
  background: rgba(9, 15, 23, 0.7);
  transition: background 180ms ease, transform 180ms ease;
}

.build-card:hover,
.build-card:focus-visible {
  background: rgba(247, 200, 67, 0.96);
  color: var(--charcoal);
  outline: none;
  transform: translateY(-2px);
}

.build-card span {
  color: var(--amber);
  font-weight: 900;
}

.build-card:hover span,
.build-card:focus-visible span {
  color: var(--charcoal);
}

.build-card strong {
  font-size: 1.28rem;
  line-height: 1.12;
}

.build-card small {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

.build-card:hover small,
.build-card:focus-visible small {
  color: rgba(11, 17, 25, 0.72);
}

section {
  scroll-margin-top: 110px;
}

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

.intro,
.services,
.project-types,
.workflow,
.quality,
.contact {
  padding: 92px 0;
}

.content-grid,
.section-heading,
.service-grid,
.project-grid,
.quality,
.contact,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}

.content-grid.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 0.22em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
  text-align: left;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card,
.project-card {
  min-height: 270px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover,
.project-card:hover {
  background: #fbfcfd;
  transform: translateY(-2px);
}

.service-card p,
.project-card p,
.workflow p,
.quality p,
.contact p {
  color: var(--muted);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 2px;
  color: var(--green);
  background: #dcefe9;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-card {
  min-height: 230px;
  background: var(--white);
}

.project-card strong {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--clay);
  font-size: 0.88rem;
}

.workflow-panel {
  padding: 8px;
  border-radius: 2px;
  background: var(--charcoal);
}

.workflow-panel ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
  list-style: none;
}

.workflow-panel li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  min-height: 122px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.workflow-panel li span {
  grid-row: span 2;
  color: var(--amber);
  font-weight: 900;
}

.workflow-panel li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: center;
}

.quality-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.quality-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 64% center;
}

.quality-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.quality-list article {
  padding: 22px;
  border-left: 4px solid var(--green);
  border-radius: 0;
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding-right: 18px;
  border-bottom: 2px solid var(--amber);
  color: var(--green);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label,
.contact-form .wide {
  min-width: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f8fbf8;
  color: var(--ink);
  padding: 13px 14px;
  font-weight: 500;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(0, 107, 84, 0.14);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.site-footer small {
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 15, 0.62);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(100%, 620px);
  padding: 32px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ink);
  border-color: var(--line);
}

.modal-panel .button.secondary {
  color: var(--green);
  border-color: var(--line);
  background: var(--mist);
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 12px;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 2px;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .is-scrolled .menu-toggle {
    border-color: var(--line);
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-media {
    object-position: 58% center;
  }

  .build-paths,
  .service-grid,
  .project-grid,
  .content-grid,
  .content-grid.reverse,
  .quality,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-card {
    min-height: auto;
  }

  .quality-media,
  .quality-media img {
    min-height: 380px;
  }

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 8px;
    padding-block: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 126px;
  }

  .language-switch {
    grid-template-columns: repeat(3, 32px);
  }

  .icon-button.portal-open {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-inner {
    width: min(100% - 24px, var(--max));
    padding-top: 118px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: 2.62rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .build-panel {
    margin-top: 26px;
  }

  .build-panel > p {
    font-size: 1.14rem;
  }

  .build-paths {
    grid-template-columns: 1fr;
  }

  .build-card {
    min-height: 92px;
    padding: 14px 16px;
  }

  .intro,
  .services,
  .project-types,
  .workflow,
  .quality,
  .contact {
    padding: 58px 0;
  }

  .content-grid,
  .quality,
  .contact {
    gap: 32px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .workflow-panel li {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .portal-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .modal-panel {
    padding: 28px 18px 20px;
  }
}
