* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: var(--font-body);
  line-height: 1.75;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.28; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }

.container {
  width: min(var(--content-width), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link { position: absolute; z-index: 2; top: 10px; left: 10px; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--color-line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 76px; }
.wordmark { color: var(--color-brand); font-weight: 900; font-size: clamp(1.2rem, 3vw, 1.6rem); text-decoration: none; letter-spacing: .06em; white-space: nowrap; }
.navigation { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.navigation a { text-decoration: none; font-weight: 700; font-size: .9375rem; white-space: nowrap; }
.navigation a:not(.button):hover { text-decoration: underline; text-underline-offset: .25em; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: var(--tap-size);
  padding: .8rem 1.35rem;
  color: white;
  background: var(--color-brand);
  border-radius: .4rem;
  text-decoration: none;
  font-weight: 750;
}

.button:hover { background: var(--color-brand-hover); }
.button-small { padding: .55rem 1rem; }

.hero { background: var(--color-surface-alt); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: stretch;
  min-height: clamp(29rem, 46vw, 39rem);
}
.hero-copy { align-self: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem) 0; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.2; letter-spacing: -.04em; }
.hero p { margin-block: 1.4rem 1.8rem; max-width: 27rem; color: var(--color-muted); }
.hero p.hero-history { margin-block: 0 .6rem; color: var(--color-brand); font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.secondary-link { display: inline-flex; align-items: center; min-height: var(--tap-size); color: var(--color-brand); font-weight: 750; text-underline-offset: .25em; }
.hero-photo {
  margin-inline-end: min(0px, calc((var(--content-width) - 100vw) / 2));
  background: var(--color-line) url("../assets/office.webp") center / cover no-repeat;
  min-height: 16rem;
}

.section { padding-block: var(--section-gap); }
.section-heading { margin-bottom: 2rem; }
.section-heading p, .service-card p { color: var(--color-muted); margin-top: .85rem; }
.preparation + .section { padding-top: 0; }
.preparation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.preparation-card { background: var(--color-surface-alt); border-radius: var(--radius); padding: clamp(1.15rem, 3vw, 2rem); }
.preparation-card ul, .service-examples, .contact-checklist { margin: .75rem 0 0; padding-inline-start: 1.35rem; }
.preparation-card li + li, .service-examples li + li, .contact-checklist li + li { margin-top: .35rem; }
.preparation-card li::marker, .service-examples li::marker { color: var(--color-brand); }
.preparation-action { margin-top: 1.25rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { border: 1px solid var(--color-line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); background: white; }
.service-examples { border-top: 1px solid var(--color-line); margin-top: 1rem; padding-top: .8rem; }
.used-equipment { margin-top: 1.2rem; padding: .95rem 1.15rem; border-inline-start: 3px solid var(--color-brand); background: var(--color-surface-alt); }
.used-equipment a { color: var(--color-brand); font-weight: 700; }
.service-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.15rem; background: var(--color-surface-alt); border-radius: .5rem; color: var(--color-brand); position: relative; }
.service-symbol::before, .service-symbol::after { content: ""; position: absolute; }
.symbol-equipment::before { width: 24px; height: 15px; top: 15px; border: 2px solid; border-radius: 2px; }
.symbol-equipment::after { width: 16px; height: 2px; bottom: 12px; background: currentColor; }
.symbol-network::before { width: 24px; height: 24px; background: linear-gradient(currentColor,currentColor) center / 2px 14px no-repeat, linear-gradient(currentColor,currentColor) center / 16px 2px no-repeat; }
.symbol-network::after { width: 6px; height: 6px; top: 12px; background: currentColor; box-shadow: 0 21px currentColor, -11px 10px currentColor, 11px 10px currentColor; border-radius: 50%; }
.symbol-web::before { width: 25px; height: 18px; border: 2px solid; border-radius: 3px; }
.symbol-web::after { width: 24px; height: 2px; top: 22px; background: currentColor; }
.brands { padding-top: 1.6rem; margin-top: 2.2rem; border-top: 1px solid var(--color-line); }
.brands h3 { font-size: 1rem; }
.brands ul { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; padding: 0; margin: .7rem 0 0; }
.brands li { font-size: .875rem; color: var(--color-muted); font-weight: 650; }

.video-section { background: var(--color-surface-alt); }
.video-inner, .company-grid, .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); }
.video-inner { align-items: center; }
.video-inner p { margin-top: .85rem; color: var(--color-muted); }
.video-transcript { margin-top: .75rem; }
.video-transcript summary { width: fit-content; min-height: var(--tap-size); padding-block: .65rem; color: var(--color-brand); cursor: pointer; font-weight: 700; }
.video-transcript ol { margin: .25rem 0 0; padding-inline-start: 1.5rem; }
.video-transcript li + li { margin-top: .35rem; }
.video-transcript a { color: var(--color-brand); }
.video-inner video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--color-ink); }
.company-details { margin-top: 1.2rem; }
.company-details div { display: grid; grid-template-columns: minmax(6.5rem, 1fr) 2fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--color-line); }
.company-details dt { color: var(--color-muted); }
.partners h3 { margin-bottom: 1rem; }
.partners ul { list-style: none; margin: .45rem 0 0; padding: 0; }
.partners a { display: inline-flex; align-items: center; min-height: var(--tap-size); color: var(--color-brand); text-underline-offset: .2em; font-weight: 650; }
.partners a:hover { color: var(--color-brand-hover); }

.contact { background: #122f47; color: white; }
.contact-inner { align-items: center; }
.contact p { margin-top: 1rem; color: #e2edf4; }
.contact-checklist { color: #e2edf4; }
.contact-actions { display: grid; gap: .75rem; min-width: 0; }
.contact-button { padding: .8rem 1.1rem; display: grid; border-radius: .45rem; background: white; color: var(--color-brand); text-decoration: none; }
.contact-button span { font-size: .875rem; font-weight: 700; }
.contact-button strong { font-size: clamp(1rem, 2vw, 1.3rem); overflow-wrap: anywhere; }
.contact-button:hover { background: var(--color-surface-alt); text-decoration: underline; }
.footer-inner { min-height: 84px; }
.site-footer small { color: var(--color-muted); }

@media (max-width: 950px) {
  .hero-photo { margin-inline-end: calc(var(--gutter) * -1); }
}

@media (max-width: 760px) {
  .hero-inner, .preparation-grid, .service-grid, .video-inner, .company-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(15rem, 55vw, 23rem); margin-inline: calc(var(--gutter) * -1); }
  .hero-copy { padding: 2.6rem 0 2.15rem; }
  .hero h1 { font-size: clamp(2.05rem, 8vw, 3.35rem); }
  .hero p { margin-block: 1rem 1.35rem; }
  .navigation { gap: .9rem; }
}

@media (max-width: 620px) {
  .header-inner { flex-wrap: wrap; gap: .15rem; padding-block: .5rem; }
  .navigation { justify-content: space-between; width: 100%; gap: .25rem .6rem; flex-wrap: wrap; }
  .navigation a { display: inline-flex; align-items: center; min-height: var(--tap-size); font-size: .875rem; }
  .navigation .button-small { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
