/* HuoVision — v09 · statement-type.
   Type does the work: no icons, no badges, no cards, no colour.
   Off-white ground, ink, one hairline. Radius 0 throughout. */

:root {
  --bg: #FBFBF9;
  --ink: #0E0E0E;
  --muted: #565656;
  --hairline: #DEDEDA;
  --nav-h: 64px;
  --container: 1180px;
  --pad: 32px;
  --gutter: 72px; /* the page's column gap; the grid lines follow it */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

section { scroll-margin-top: var(--nav-h); }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* ---- Nav: fixed 64px, white, wordmark + four items ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  z-index: 50;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--ink);
  display: inline-block;
  flex: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul a {
  display: inline-block;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.nav ul a:hover { border-bottom-color: var(--ink); }

main { padding-top: var(--nav-h); }

/* ---- Hero: the statement, one screen ---- */

.hero {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.eyebrow {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: 0 0 32px;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 40px;
  max-width: 7.7em;
  overflow-wrap: break-word;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}

/* ---- Buttons: rectangles, radius 0 ---- */

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: #000; }

.btn-text {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  padding: 16px 0;
  transition: text-decoration-thickness 0.15s ease, transform 0.15s ease;
}

.btn-text:hover { text-decoration-thickness: 2px; transform: translateY(-1px); }
.btn-text:active { transform: translateY(0); }

/* ---- Section shell ---- */

.section { padding: 180px 0; }

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 64px;
}

/* ---- Four business lines: statement rows ---- */

.line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  align-items: end;
  padding: 60px 0;
  border-top: 1px solid var(--hairline);
}

.lines .line:last-child { padding-bottom: 8px; }

.line h3 {
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}

.line-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

.line-body {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

/* ---- Why on-device: three full-width statements ---- */

.why-item {
  border-top: 1px solid var(--hairline);
  padding: 72px 0;
}

.why-item:last-child { padding-bottom: 8px; }

.why-claim {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 1080px;
}

.why-claim strong { font-weight: 500; }

.why-body {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

/* ---- Products: compact 2x2, deliberately quiet ---- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px var(--gutter);
}

.product {
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
}

.product-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.product-name {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.product-line {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 480px;
}

/* ---- Customers: four statements, 28px ---- */

.case {
  border-top: 1px solid var(--hairline);
  padding: 56px 0;
}

.case:last-child { padding-bottom: 8px; }

.case-statement {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  max-width: 1000px;
}

.case-statement strong { font-weight: 500; }

.case-body {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 860px;
}

/* ---- Resources: plain rows ---- */

.paper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  padding: 44px 0;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
}

.paper:last-child { padding-bottom: 8px; }

.paper-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}

.paper:hover .paper-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.paper-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* ---- Closing CTA: final full-height block ---- */

.cta {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  border-top: 1px solid var(--hairline);
  padding: 96px 0;
}

.cta h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  max-width: 900px;
}

.cta-body {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 48px;
  max-width: 640px;
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  font-size: 13px;
  color: var(--muted);
}

.legal ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal li + li::before {
  content: "·";
  margin: 0 10px;
  color: var(--muted);
}

.legal a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}

.legal a:hover { color: var(--ink); text-decoration: underline; }

.footer-columns {
  margin-top: 40px; /* the legal row sits 40px above the column block */
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
}

.footer-columns a {
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
}

.footer-columns a:hover { text-decoration: underline; text-underline-offset: 6px; }

.bottom {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
}

/* Language selector: native details, keyboard reachable */

.lang { position: relative; font-size: 13px; }

.lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  padding: 6px 0;
}

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

.lang summary:hover { color: var(--ink); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 8px 0;
  z-index: 60;
}

.lang-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.lang-menu a:hover { background: #F4F4F0; }
.lang-menu a[aria-current] { font-weight: 600; }

/* ---- Hero entrance, once ---- */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow, .hero h1, .hero-sub, .hero-actions {
  animation: rise 0.6s ease both;
}
.hero h1 { animation-delay: 0.08s; }
.hero-sub { animation-delay: 0.16s; }
.hero-actions { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyebrow, .hero h1, .hero-sub, .hero-actions { animation: none; }
  *, *::before, *::after { transition: none !important; }
}

/* ---- Responsive ---- */

@media (max-width: 860px) {
  :root { --pad: 24px; }

  .nav ul { gap: 20px; }
  .nav ul a { font-size: 13px; padding: 20px 0; }

  .hero { padding: 72px 0; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: column;
    align-items: stretch; gap: 8px; }
  .hero-actions .btn, .hero-actions .btn-text { text-align: center; }

  .section { padding: 88px 0; }
  .section-label { margin-bottom: 40px; }

  .line {
    grid-template-columns: 1fr;
    row-gap: 18px;
    align-items: start;
    padding: 48px 0;
  }

  .why-item { padding: 56px 0; }
  .why-body { font-size: 16px; }

  .product-grid { grid-template-columns: 1fr; gap: 40px; }

  .case { padding: 44px 0; }

  .paper { grid-template-columns: 1fr; row-gap: 8px; padding: 36px 0; }

  .cta { padding: 72px 0; }
  .cta-body { font-size: 17px; }

  .bottom { margin-top: 56px; }
}

@media (max-width: 520px) {
  /* The bar keeps the mark and the four items; the wordmark text steps aside. */
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }
  .nav ul { gap: 16px; }
}
