/* SnapReport company landing, independent from the identity standards page */
:root {
  --blue: #0334ea;
  --blue-deep: #0228bc;
  --ink: #07132f;
  --white: #fcfcfe;
  --mist: #e6ebff;
  --orange: #ff5a36;
  --green: #009966;
  --muted: #6c7690;
  --line: rgba(7, 19, 47, 0.15);
  --surface: #f5f7fc;
  --satoshi: "Satoshi", "Arial", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --page: min(1380px, calc(100vw - 72px));
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--satoshi);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection { color: var(--white); background: var(--orange); }

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

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

button, a { -webkit-tap-highlight-color: transparent; }

button, input { font: inherit; }

button { color: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  font: 600 12px/1 var(--mono);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 250ms ease, background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  color: var(--ink);
  background: rgba(252, 252, 254, 0.95);
  border-color: var(--line);
  box-shadow: 0 14px 36px rgba(7, 19, 47, 0.08);
  backdrop-filter: blur(16px);
}

.site-brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
}

.site-brand__lockup,
.footer-brand__lockup { width: 90px; height: 64px; overflow: visible; }
.site-brand__lockup image { filter: url(#logo-white-transparent); }
.site-header.is-scrolled .site-brand__lockup image,
.site-header.menu-visible .site-brand__lockup image,
.footer-brand__lockup image { filter: url(#logo-blue-transparent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.02em;
}

.site-nav a,
.header-contact { transition: opacity 160ms ease; }
.site-nav a:hover,
.header-contact:hover { opacity: 0.58; }

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 12px/1 var(--mono);
}

.header-contact span { font-size: 17px; }

.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 600 11px/1 var(--mono);
  text-transform: uppercase;
}

.menu-toggle i,
.menu-toggle i::before {
  display: block;
  width: 21px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle i::before { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg); }

.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--white);
  background: var(--blue);
}

.signal-current {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../assets/snapreport-signal-pattern.svg");
  background-size: 256px 144px;
  opacity: .82;
  animation: signal-current 24s linear infinite;
}

@keyframes signal-current { to { background-position: 256px 0; } }

.hero::before {
  position: absolute;
  inset: 74px 0 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.85), transparent 67%);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 72% 42%, transparent 0, transparent 17%, rgba(0, 22, 125, 0.18) 58%, rgba(0, 18, 101, 0.26) 100%);
}

.hero-watermark {
  position: absolute;
  z-index: 1;
  left: -7vw;
  bottom: -10%;
  width: clamp(520px, 64vw, 1100px);
  height: auto;
  overflow: visible;
  pointer-events: none;
  opacity: .075;
  user-select: none;
}

.hero-watermark use { filter: brightness(0) invert(1); }

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  width: min(700px, 47vw);
  margin-left: max(36px, calc((100vw - 1380px) / 2));
  padding-top: 92px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--blue);
  font: 600 11px/1.3 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 25px;
  height: 2px;
  margin-right: 11px;
  content: "";
  vertical-align: 3px;
  background: currentColor;
}

.eyebrow--reverse { color: var(--white); }

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(60px, 6.25vw, 108px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.074em;
  text-wrap: balance;
}

.hero h1 em,
.company-statement h2 em {
  position: relative;
  color: var(--blue);
  font-style: normal;
  -webkit-text-stroke: 2px var(--white);
  text-shadow: 5px 5px 0 var(--orange);
}

.hero-lede {
  max-width: 635px;
  margin: 35px 0 0;
  color: rgba(255,255,255,.8);
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -.015em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 22px;
  font: 600 12px/1 var(--mono);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button--light { color: var(--blue); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--orange); }

.text-link {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font: 500 12px/1 var(--mono);
}

.text-link span { font-size: 17px; }

.hero-products {
  position: absolute;
  z-index: 3;
  top: 19%;
  right: -4.5vw;
  width: min(48vw, 830px);
  height: 66%;
}

.hero-product {
  position: absolute;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 32px 85px rgba(0, 14, 83, .42);
}

.hero-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero-product--myqa {
  z-index: 2;
  top: 0;
  right: 7%;
  width: 76%;
  aspect-ratio: 1.6;
  transform: rotate(1.5deg);
}

.hero-product--laern {
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 73%;
  aspect-ratio: 1.62;
  transform: rotate(-2.5deg);
}

.browser-bar {
  height: 27px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-bottom: 1px solid #e5e8ef;
  background: #f7f8fb;
}

.browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9cfda;
}

.browser-bar small {
  margin-left: 7px;
  color: #7f899e;
  font: 500 7px/1 var(--mono);
}

.hero-product > img { height: calc(100% - 74px); }

.hero-product figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-top: 1px solid #e5e8ef;
  background: var(--white);
}

.hero-product figcaption strong { font-size: 12px; }
.hero-product figcaption span { color: var(--muted); font: 500 7px/1 var(--mono); text-transform: uppercase; }

.capture-frame {
  position: absolute;
  z-index: 5;
  inset: 5% 1% 5% 7%;
  pointer-events: none;
}

.capture-frame i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--orange);
  border-style: solid;
}

.capture-frame i:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; }
.capture-frame i:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; }
.capture-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.capture-frame i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 3px 3px; }

.hero-foot {
  position: relative;
  z-index: 4;
  height: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.25);
  font: 500 9px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-foot span { padding-left: 28px; }
.hero-foot span + span { border-left: 1px solid rgba(255,255,255,.25); }

.section-index {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 500 10px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.section-index--reverse {
  color: rgba(255,255,255,.62);
  border-color: rgba(255,255,255,.25);
}

.company-section {
  width: var(--page);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 80px 9vw;
  margin: 0 auto;
  padding: 125px 0 136px;
}

.company-statement h2,
.capabilities-heading h2,
.team-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(54px, 6.3vw, 104px);
  font-weight: 900;
  line-height: .91;
  letter-spacing: -.065em;
}

.company-statement h2 em {
  color: var(--white);
  -webkit-text-stroke-color: var(--blue);
  text-shadow: 5px 5px 0 var(--mist);
}

.company-detail {
  align-self: end;
  max-width: 570px;
  padding-bottom: 8px;
}

.company-detail p { margin: 0; color: var(--muted); font-size: 17px; }
.company-detail .company-lead { margin-bottom: 25px; color: var(--ink); font-size: 25px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }

.company-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-principles article { min-height: 230px; padding: 26px 28px 30px 0; }
.company-principles article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.company-principles span { display: block; margin-bottom: 48px; color: var(--blue); font: 600 10px/1 var(--mono); }
.company-principles strong { display: block; margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; }
.company-principles p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; }

.products-section {
  overflow: hidden;
  padding: 28px 0 0;
  color: var(--white);
  background-color: var(--ink);
  background-image: url("../assets/snapreport-signal-pattern.svg");
  background-size: 256px 144px;
  animation: signal-current 24s linear infinite;
}

.products-section > .section-index { width: var(--page); margin: 0 auto; padding-top: 14px; }

.product-case {
  position: relative;
  width: var(--page);
  min-height: 880px;
  display: grid;
  grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr);
  gap: 7vw;
  align-items: center;
  margin: 0 auto;
  padding: 115px 0 128px;
}

.product-case + .product-case { border-top: 1px solid rgba(255,255,255,.2); }

.product-case::before {
  display: none;
}

.product-case--laern::before { left: -30vw; right: auto; }

.product-copy { position: relative; z-index: 2; }

.product-number { margin-bottom: 45px; color: rgba(255,255,255,.52); font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.product-logo {
  object-fit: contain;
  object-position: left center;
}

.product-logo--myqa {
  width: 270px;
  height: 62px;
}

.product-logo--laern {
  width: 220px;
  height: 78px;
}

.product-tagline { margin: 16px 0 39px; color: rgba(255,255,255,.54); font: 500 10px/1.4 var(--mono); text-transform: uppercase; }

.product-copy h2 {
  max-width: 520px;
  margin: 0 0 25px;
  font-size: clamp(42px, 4.1vw, 68px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.058em;
}

.product-description { max-width: 520px; margin: 0; color: rgba(255,255,255,.7); font-size: 17px; }

.product-facts { margin: 40px 0 37px; padding: 0; list-style: none; }
.product-facts li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.68); font-size: 13px; }
.product-facts li:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.product-facts span { color: var(--white); font: 600 10px/1.7 var(--mono); text-transform: uppercase; }

.case-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 8px; border-bottom: 1px solid currentColor; color: var(--white); font: 600 11px/1 var(--mono); }
.case-link span { color: var(--orange); font-size: 17px; }

.product-gallery {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 11px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 40px 90px rgba(0,0,0,.32);
  transform: rotate(.45deg);
}

.product-case--laern .product-gallery { transform: rotate(-.45deg); }

.gallery-cue { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px; border-bottom: 1px solid var(--line); color: var(--blue); font: 600 8px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.gallery-cue > span { display: inline-flex; align-items: center; gap: 8px; }
.gallery-cue > span i { width: 7px; height: 7px; display: block; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(3,52,234,.12); animation: gallery-pulse 1.7s ease-in-out infinite; }
.gallery-autoplay { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.gallery-autoplay span { font-size: 11px; }
.gallery-autoplay:hover { color: var(--orange); }
.gallery-autoplay[aria-pressed="false"] { color: var(--muted); }
@keyframes gallery-pulse { 50% { transform: scale(.72); opacity: .45; } }

.gallery-toolbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
}

.gallery-toolbar [role="tablist"] { display: flex; align-items: center; gap: 5px; }

.gallery-toolbar button {
  padding: 8px 11px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: 600 9px/1 var(--mono);
  transition: color 160ms ease, background 160ms ease;
}

.gallery-toolbar button:hover { color: var(--ink); }
.gallery-toolbar button.is-active { color: var(--white); background: var(--blue); }
.product-case--myqa .gallery-toolbar button.is-active { background: var(--green); }
.product-case--laern .gallery-toolbar button.is-active { background: var(--blue); }
.gallery-toolbar > span { flex: none; color: var(--muted); font: 500 8px/1 var(--mono); }

.product-gallery figure { margin: 11px 0 0; overflow: hidden; background: #eff2f8; }
.product-gallery figure img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: top center; transition: opacity 130ms ease, transform 450ms var(--ease); }
.product-case--myqa .product-gallery figure img { aspect-ratio: 1250 / 585; object-fit: contain; }
.product-case--laern .product-gallery figure img { aspect-ratio: 1853 / 868; object-fit: contain; }
.product-gallery.is-changing figure img { opacity: .22; transform: scale(.99); }
.product-gallery figcaption { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 12px; background: var(--white); }
.product-gallery figcaption span:first-child { flex: none; color: var(--ink); font: 600 9px/1 var(--mono); text-transform: uppercase; }
.product-gallery figcaption span:last-child { max-width: 360px; color: var(--muted); font-size: 11px; text-align: right; }

.capabilities-section {
  width: var(--page);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px 9vw;
  margin: 0 auto;
  padding: 125px 0 140px;
}

.capabilities-heading { grid-column: 1 / -1; }
.capabilities-heading h2 { max-width: 1050px; }

.capability-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article { min-height: 310px; padding: 30px 44px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-grid span { display: block; color: var(--blue); font: 900 clamp(25px, 2.45vw, 38px)/.94 var(--satoshi); letter-spacing: -.055em; text-transform: uppercase; }
.capability-grid h3 { max-width: 410px; margin: 26px 0 18px; font-size: 20px; line-height: 1.15; letter-spacing: -.03em; }
.capability-grid p { max-width: 470px; margin: 0; color: var(--muted); font-size: 15px; }

.capability-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.capability-stack li {
  padding: 7px 9px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  font: 600 8px/1 var(--mono);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.capabilities-foot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: start;
  padding: 29px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.capabilities-foot > span { color: var(--blue); font: 600 10px/1.6 var(--mono); text-transform: uppercase; }
.capabilities-foot p { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }

.team-section {
  position: relative;
  overflow: hidden;
  padding: 30px max(36px, calc((100vw - 1380px) / 2)) 120px;
  color: var(--white);
  background: var(--blue);
}

.team-section .signal-current { opacity: .68; }
.team-section > *:not(.signal-current) { position: relative; z-index: 2; }

.team-heading {
  display: grid;
  grid-template-columns: 1fr .68fr;
  gap: 10vw;
  align-items: end;
  margin: 100px 0 80px;
}

.team-heading h2 { font-size: clamp(62px, 7vw, 116px); }
.team-heading > p { max-width: 520px; margin: 0 0 8px; color: rgba(255,255,255,.73); font-size: 19px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.28);
  border-left: 1px solid rgba(255,255,255,.28);
}

.team-grid article,
.team-note { min-height: 275px; padding: 28px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }

.team-grid article { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: 1fr auto; gap: 0 26px; }

.team-monogram {
  grid-row: 1 / 3;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

.team-monogram--orange { color: var(--white); background: var(--orange); }

.team-photo {
  grid-row: 1 / 3;
  width: 110px;
  height: 110px;
  object-fit: cover;
  object-position: 50% 35%;
  border: 1px solid rgba(255,255,255,.42);
  filter: grayscale(1) contrast(1.06);
  transition: filter 240ms ease;
}

.team-grid article:hover .team-photo { filter: grayscale(0) contrast(1); }
.team-grid article span,
.team-note span { color: rgba(255,255,255,.55); font: 500 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.team-grid h3 { margin: 9px 0 1px; font-size: 32px; line-height: 1; letter-spacing: -.045em; }
.team-grid article p { margin: 0; color: rgba(255,255,255,.67); font-size: 13px; }
.team-grid article a { align-self: end; width: max-content; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.5); font: 600 10px/1 var(--mono); }
.team-grid article a span { margin-left: 8px; color: var(--orange); font-size: 15px; }

.team-note { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(0,20,120,.17); }
.team-note p { max-width: 600px; margin: 0; font-size: 26px; font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }

.contact-section {
  position: relative;
  min-height: 710px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: 1fr auto;
  gap: 9vw;
  align-items: center;
  padding: 100px max(36px, calc((100vw - 1380px) / 2)) 0;
  color: var(--white);
  background: var(--ink);
}

.signal-current--contact { opacity: .08; }
.contact-section::before { position: absolute; top: -170px; right: 6vw; width: 590px; height: 590px; content: ""; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.contact-section::after { position: absolute; right: 22vw; bottom: -350px; width: 670px; height: 670px; content: ""; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.contact-section > *:not(.signal-current) { position: relative; z-index: 2; }

.contact-copy h2 { max-width: 760px; font-size: clamp(58px, 7vw, 118px); }
.contact-copy > p:last-child { max-width: 570px; margin: 31px 0 0; color: rgba(255,255,255,.67); font-size: 18px; }

.contact-card { align-self: center; padding: 36px; color: var(--ink); background: var(--white); box-shadow: 14px 14px 0 var(--orange); transform: rotate(1deg); }
.contact-card__eyebrow { display: block; color: var(--blue); font: 600 10px/1 var(--mono); text-transform: uppercase; }
.contact-form { margin-top: 27px; }
.contact-form label { display: block; margin-top: 16px; color: var(--ink); font: 600 9px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.contact-form label span { color: var(--muted); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form__row label { margin-top: 0; }
.contact-form input,
.contact-form textarea { width: 100%; margin-top: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: transparent; font: 500 14px/1.35 var(--satoshi); transition: border-color 160ms ease; }
.contact-form textarea { min-height: 82px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.contact-form__submit { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 0 15px; border: 0; color: var(--white); background: var(--blue); cursor: pointer; font: 600 10px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; transition: background 160ms ease, transform 160ms ease; }
.contact-form__submit:hover { background: var(--ink); transform: translateY(-2px); }
.contact-form__submit span { color: var(--white); font-size: 17px; }
.contact-form__status { min-height: 16px; margin: 9px 0 0; color: var(--muted); font: 500 9px/1.4 var(--mono); }
.contact-email { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.contact-email a { color: var(--blue); font-weight: 700; }
.contact-email a:hover { color: var(--orange); }
.contact-card__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font: 500 8px/1.4 var(--mono); text-transform: uppercase; }

.contact-footer { grid-column: 1 / -1; min-height: 67px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.54); font: 500 9px/1 var(--mono); text-transform: uppercase; }

.site-footer {
  min-height: 185px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 60px;
  padding: 38px max(36px, calc((100vw - 1380px) / 2));
  background: var(--white);
}

.footer-brand { display: inline-flex; align-items: center; width: max-content; }
.site-footer nav { display: flex; gap: 25px; font: 600 10px/1 var(--mono); }
.site-footer > div { justify-self: end; display: flex; gap: 24px; color: var(--muted); font: 500 9px/1 var(--mono); }
.site-footer a:hover { color: var(--blue); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  :root { --page: calc(100vw - 56px); }

  .hero { min-height: 840px; }
  .hero-copy { width: 52vw; margin-left: 28px; }
  .hero-products { right: -9vw; width: 52vw; }
  .hero h1 { font-size: clamp(56px, 7.3vw, 86px); }
  .hero-lede { font-size: 17px; }

  .company-section { gap: 70px 6vw; }
  .product-case { gap: 5vw; }
  .product-copy h2 { font-size: 49px; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; padding: 10px; }
  .gallery-toolbar > span { display: none; }
  .product-gallery figcaption span:last-child { display: none; }

  .team-section,
  .contact-section,
  .site-footer { padding-left: 28px; padding-right: 28px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-note { grid-column: 1 / -1; min-height: 180px; }
  .team-note p { max-width: 500px; }
}

@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }

  .site-header { grid-template-columns: 1fr auto; height: 66px; padding: 0 20px; }
  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    height: calc(100svh - 66px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 36px 20px;
    color: var(--ink);
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { width: 100%; padding: 21px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .menu-toggle { display: inline-flex; }
  .header-contact { display: none; }

  .hero { min-height: 1040px; height: auto; padding-top: 66px; }
  .hero-copy { align-self: start; width: auto; margin: 0; padding: 74px 20px 0; }
  .hero h1 { max-width: 680px; font-size: clamp(58px, 11.8vw, 92px); }
  .hero-lede { max-width: 660px; }
  .hero-products { position: relative; top: auto; right: auto; width: calc(100% - 40px); height: 430px; margin: 80px 20px 30px; }
  .hero-product--myqa { right: 0; width: 72%; }
  .hero-product--laern { width: 69%; }
  .hero-foot { margin-top: 10px; }
  .hero-watermark { display: none; }

  .company-section,
  .capabilities-section { grid-template-columns: 1fr; gap: 60px; padding: 100px 0; }
  .company-statement,
  .company-detail { grid-column: 1; }
  .company-detail { max-width: 650px; }
  .company-principles { grid-template-columns: 1fr; }
  .company-principles article { min-height: auto; padding: 25px 0 28px; }
  .company-principles article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .company-principles span { margin-bottom: 26px; }

  .product-case { grid-template-columns: 1fr; gap: 70px; min-height: 0; padding: 95px 0 110px; }
  .product-copy { max-width: 680px; }
  .product-copy h2 { max-width: 650px; font-size: clamp(45px, 7vw, 64px); }
  .product-gallery { width: 100%; }

  .capabilities-heading { grid-column: 1; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 265px; }
  .capability-grid h3 { margin-top: 24px; }

  .team-heading { grid-template-columns: 1fr; gap: 45px; }
  .team-heading > p { max-width: 630px; }

  .contact-section { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 70px; padding-top: 110px; }
  .contact-copy { max-width: 760px; }
  .contact-card { width: min(620px, calc(100% - 14px)); }
  .contact-footer { grid-column: 1; }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer nav { justify-self: end; }
  .site-footer > div { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  :root { --page: calc(100vw - 32px); }

  .hero { min-height: 920px; }
  .hero-copy { padding: 61px 16px 0; }
  .hero h1 { font-size: clamp(51px, 16vw, 75px); line-height: .89; }
  .hero h1 em { -webkit-text-stroke-width: 1px; text-shadow: 3px 3px 0 var(--orange); }
  .hero-lede { margin-top: 27px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 30px; }
  .hero-products { width: calc(100% - 16px); height: 330px; margin: 59px 0 28px 16px; }
  .hero-product--myqa { width: 85%; }
  .hero-product--laern { width: 82%; }
  .browser-bar { height: 21px; }
  .hero-product > img { height: calc(100% - 57px); }
  .hero-product figcaption { min-height: 36px; padding: 0 9px; }
  .hero-product figcaption span { display: none; }
  .capture-frame { inset: 2% 1% 2% 3%; }
  .hero-foot { height: auto; grid-template-columns: 1fr; }
  .hero-foot span { min-height: 40px; display: flex; align-items: center; padding-left: 16px; border-top: 1px solid rgba(255,255,255,.18); }
  .hero-foot span + span { border-left: 0; }

  .section-index { align-items: flex-start; gap: 20px; }
  .section-index span:last-child { max-width: 145px; text-align: right; }

  .company-section,
  .capabilities-section { gap: 48px; padding: 80px 0 90px; }
  .company-statement h2,
  .capabilities-heading h2,
  .team-heading h2,
  .contact-copy h2 { font-size: clamp(49px, 14vw, 71px); }
  .company-statement h2 em { -webkit-text-stroke-width: 1px; text-shadow: 3px 3px 0 var(--mist); }
  .company-detail .company-lead { font-size: 22px; }

  .products-section { padding-top: 16px; }
  .product-case { gap: 52px; padding: 75px 0 86px; }
  .product-number { margin-bottom: 34px; }
  .product-logo--myqa { width: 220px; height: 51px; }
  .product-logo--laern { width: 190px; height: 67px; }
  .product-copy h2 { font-size: 42px; }
  .product-description { font-size: 15px; }
  .product-facts li { grid-template-columns: 66px 1fr; }
  .product-gallery { padding: 6px; transform: none; }
  .product-case--laern .product-gallery { transform: none; }
  .gallery-cue { min-height: 39px; padding: 0 3px; font-size: 7px; }
  .gallery-toolbar { min-height: 49px; overflow-x: auto; flex-direction: row; padding: 7px 3px; }
  .gallery-toolbar [role="tablist"] { flex: none; }
  .gallery-toolbar button { padding: 8px; font-size: 8px; }
  .product-gallery figure { margin-top: 6px; }
  .product-gallery figure img { aspect-ratio: 1.32; }
  .product-gallery figcaption { min-height: 42px; }

  .capability-grid article { min-height: 255px; padding: 25px 25px 30px; }
  .capability-grid h3 { margin-top: 22px; font-size: 19px; }
  .capabilities-foot { grid-template-columns: 1fr; gap: 18px; }
  .capabilities-foot p { font-size: 17px; }

  .team-section { padding: 24px 16px 80px; }
  .team-heading { margin: 75px 0 55px; }
  .team-heading > p { font-size: 16px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid article { min-height: 250px; grid-template-columns: 82px 1fr; padding: 20px; }
  .team-monogram,
  .team-photo { width: 82px; height: 82px; }
  .team-monogram { font-size: 42px; }
  .team-grid h3 { font-size: 28px; }
  .team-note { grid-column: 1; min-height: 160px; padding: 21px; }
  .team-note p { font-size: 23px; }

  .contact-section { gap: 53px; min-height: 0; padding: 88px 16px 0; }
  .contact-copy > p:last-child { font-size: 16px; }
  .contact-card { padding: 25px 21px; box-shadow: 8px 8px 0 var(--orange); transform: none; }
  .contact-card__meta { flex-direction: column; }
  .contact-footer { min-height: 62px; }

  .site-footer { grid-template-columns: 1fr; gap: 28px; min-height: 240px; padding: 42px 16px; }
  .site-footer nav,
  .site-footer > div { justify-self: start; }
  .site-footer nav { flex-wrap: wrap; }
  .site-footer > div { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
