:root {
  --bg: #f5f5ef;
  --ink: #1d201a;
  --muted: #61685a;
  --line: #d9ddcd;
  --lime: #d6f55b;
  --olive: #6c8a24;
  --dark: #171a14;
  --on-dark: #eeefe5;
  --muted-dark: #9da393;
  --line-dark: #353a2f;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Fine paper grain over the whole page. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .45 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
  border-radius: 4px;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
.wrap {
  width: min(1360px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 18px;
  border-radius: 999px;
}
.skip-link:focus {
  top: 16px;
}
.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s,
    color 0.3s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
}
.header.is-dark {
  background: color-mix(in srgb, var(--dark) 82%, transparent);
  border-bottom-color: var(--line-dark);
  color: var(--on-dark);
}
.header.is-dark .wordmark span,
.header.is-dark .nav-link:hover {
  color: var(--lime);
}
.header.is-dark .nav-link sup {
  color: var(--muted-dark);
}
.header.is-dark .nav-cta {
  background: var(--on-dark);
  color: var(--ink);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
}
.wordmark span {
  color: var(--olive);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}
.nav-link sup {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-left: 2px;
}
.nav-link:hover {
  color: var(--olive);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: background 0.25s;
}
.nav-cta-ico,
.btn-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
  transition: transform 0.35s var(--ease);
}
.nav-cta:hover .nav-cta-ico {
  transform: rotate(45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(36px, 7vh, 88px) 0 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: color-mix(in srgb, white 45%, transparent);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 70%, transparent);
}
.display {
  margin: clamp(22px, 4vh, 40px) 0 0;
  font-size: clamp(3.4rem, min(11.6vw, 19.5vh), 11.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}
.display .serif {
  letter-spacing: -0.035em;
}
.line {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.08em 0;
  margin-bottom: -0.08em;
}
.line > span {
  display: inline-block;
  animation: rise 1.1s var(--ease) both;
}
.l2 > span {
  animation-delay: 0.08s;
}
.l3 > span {
  animation-delay: 0.16s;
}
.l4 > span {
  animation-delay: 0.24s;
}
.l2 {
  padding-left: 1.05em;
}
.l3,
.l4 {
  padding-bottom: 0.24em;
  margin-bottom: -0.24em;
}
.l4 {
  text-align: right;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.14em;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 0;
  transform: rotate(var(--spin, 0deg));
  will-change: transform;
}
.mark svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 7;
  stroke-linecap: round;
}
.hl {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 86% / 0%
    0.2em;
  animation: underline 0.9s 0.9s var(--ease) forwards;
}
@keyframes rise {
  from {
    transform: translateY(105%);
  }
}
@keyframes underline {
  to {
    background-size: 100% 0.2em;
  }
}
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  align-items: end;
  gap: 40px;
  margin-top: clamp(36px, 6vh, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}
.hero-lede {
  margin: 0;
  max-width: 420px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}
.hero-stat strong {
  font-size: 56px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.btn,
button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s;
}
.btn-ink {
  background: var(--ink);
  color: var(--bg);
}
.btn-ink .btn-ico {
  width: 40px;
  height: 40px;
}
.btn-ink:hover .btn-ico {
  transform: translateY(3px);
}

/* Solutions index */
.solutions {
  padding-top: clamp(96px, 14vw, 180px);
}
.sol-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}
.sol-head .kicker {
  align-self: start;
  padding-top: 0.9em;
}
.sol-head h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.sol-head h2 .serif {
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.sol-intro {
  margin: 0;
  text-align: right;
  font-size: 14px;
  color: var(--muted);
}
.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.product {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 210px 46px;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.35s;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  border-radius: 18px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  transition:
    transform 0.45s var(--ease),
    border-radius 0.45s;
}
.product:hover::before,
.product:focus-visible::before {
  transform: scaleY(1);
}
.product:focus-visible {
  outline: none;
}
.product-list:has(.product:hover) .product:not(:hover) {
  opacity: 0.4;
}
.p-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.p-title {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  transition: transform 0.45s var(--ease);
}
.p-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--tint, var(--ink));
  color: var(--tint-ink, var(--lime));
  box-shadow:
    0 0 0 1px rgb(29 32 26 / 0.07),
    0 8px 18px -10px rgb(29 32 26 / 0.45);
  transition: transform 0.45s var(--ease);
}
.p-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-logo--mono {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.p-logo--small {
  --tint-ink: #fff;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.p-logo--plus {
  background: transparent;
  color: var(--olive);
  border: 1.5px dashed var(--olive);
  box-shadow: none;
  font-size: 26px;
  font-weight: 400;
}
.product:hover .p-logo,
.product:focus-visible .p-logo {
  transform: rotate(-6deg) scale(1.06);
}
.p-name {
  margin: 0;
  font-size: clamp(26px, 3.1vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.p-name .serif {
  letter-spacing: -0.02em;
}
.product:hover .p-title,
.product:focus-visible .p-title {
  transform: translateX(12px);
}
.p-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.p-host {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product:hover :is(.p-desc, .p-host, .p-num),
.product:focus-visible :is(.p-desc, .p-host, .p-num) {
  color: var(--ink);
}
.p-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  transition:
    transform 0.45s var(--ease),
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.product:hover .p-arrow,
.product:focus-visible .p-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
  transform: rotate(45deg);
}
.product--cta {
  border-bottom: 1px dashed var(--muted);
}
.product--cta .p-name {
  color: var(--olive);
}
.product--cta:hover .p-name {
  color: var(--ink);
}
.product--cta:hover .p-logo--plus {
  color: var(--ink);
  border-color: var(--ink);
}
.product--cta:hover .p-arrow {
  transform: none;
}
.product-item.is-hidden {
  opacity: 0;
  transform: translateY(18px);
}
.product-item {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.noscript {
  font-size: 18px;
  line-height: 1.8;
}

/* Contact */
.contact {
  margin-top: clamp(96px, 14vw, 180px);
  padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  background: var(--dark);
  color: var(--on-dark);
  border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
}
.contact :focus-visible {
  outline-color: var(--lime);
}
.contact ::selection {
  background: var(--lime);
  color: var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
}
.contact .kicker {
  color: var(--lime);
  margin-bottom: 28px;
}
.contact h2 {
  margin: 0 0 32px;
  font-size: clamp(46px, 6.6vw, 100px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.contact h2 .serif {
  display: block;
  color: var(--lime);
  letter-spacing: -0.03em;
}
.contact-copy p:not(.kicker) {
  max-width: 440px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-dark);
}
.contact-copy p.confidential {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
}
.lock {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 28px;
  align-content: start;
  padding-top: 8px;
}
.field {
  display: flex;
  flex-direction: column;
}
.field--full,
.form-actions {
  grid-column: 1 / -1;
}
label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
input,
textarea {
  width: 100%;
  padding: 12px 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
  color: var(--on-dark);
  font-size: 19px;
  letter-spacing: -0.01em;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
input:hover,
textarea:hover {
  border-bottom-color: var(--muted-dark);
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--lime);
  box-shadow: 0 1px 0 var(--lime);
}
input:-webkit-autofill {
  -webkit-text-fill-color: var(--on-dark);
  -webkit-box-shadow: 0 0 0 40px var(--dark) inset;
  caret-color: var(--on-dark);
}
textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
textarea::placeholder {
  color: #6d7364;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
button {
  flex: none;
  padding: 8px 8px 8px 26px;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
button .btn-ico {
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: var(--lime);
}
button:hover:not(:disabled) .btn-ico {
  transform: rotate(45deg);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.form-note {
  margin: 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-dark);
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--muted-dark);
  overflow: hidden;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}
.footer-slogan {
  margin-inline: auto;
}
.footer-slogan em {
  font-family: var(--serif);
  color: var(--on-dark);
}
.footer-row a:hover {
  color: var(--lime);
}
.footer-mark {
  margin: 0;
  padding-top: 0.06em;
  text-align: center;
  font-size: 44vw;
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.085em;
  color: var(--on-dark);
  user-select: none;
}
.footer-mark span {
  color: var(--lime);
}

/* Tablet */
@media (max-width: 960px) {
  .hero-foot {
    grid-template-columns: 1fr auto;
  }
  .hero-actions {
    grid-column: 1 / -1;
  }
  .product {
    grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 46px;
  }
  .p-host {
    display: none;
  }
  .sol-head {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .sol-intro {
    grid-column: 2;
    text-align: left;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Phone */
@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }
  .wordmark {
    font-size: 29px;
  }
  nav {
    gap: 14px;
    font-size: 14px;
  }
  .nav-link {
    display: none;
  }
  .nav-cta {
    padding: 5px 5px 5px 14px;
    gap: 10px;
  }
  .nav-cta-ico {
    width: 26px;
    height: 26px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .display {
    font-size: clamp(2.9rem, 15.4vw, 5.5rem);
  }
  .l2 {
    padding-left: 0.6em;
  }
  .l4 {
    text-align: left;
    padding-left: 0.45em;
  }
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-stat {
    display: none;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: space-between;
  }
  .sol-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
  }
  .sol-head .kicker {
    padding-top: 0;
  }
  .sol-intro {
    grid-column: 1;
  }
  .product {
    grid-template-columns: minmax(0, 1fr) 40px;
    grid-template-areas:
      "name arrow"
      "desc desc";
    gap: 12px;
    padding: 20px 0;
  }
  .product::before {
    inset: 0 -12px;
    border-radius: 14px;
  }
  .p-num {
    display: none;
  }
  .p-title {
    grid-area: name;
    gap: 14px;
  }
  .p-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .p-logo--mono,
  .p-logo--plus {
    font-size: 22px;
  }
  .p-logo--small {
    font-size: 13px;
  }
  .p-name {
    font-size: 24px;
  }
  .p-desc {
    grid-area: desc;
    font-size: 14px;
  }
  .p-arrow {
    grid-area: arrow;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .product:hover .p-title {
    transform: none;
  }
  .contact h2 {
    font-size: clamp(40px, 12vw, 60px);
  }
  .contact-copy p:not(.kicker) {
    font-size: 16px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  button {
    justify-content: space-between;
  }
  .footer-row {
    flex-wrap: wrap;
    gap: 10px 24px;
  }
  .footer-slogan {
    order: -1;
    flex-basis: 100%;
    margin: 0;
  }
  .footer-row a {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before {
    animation: none !important;
    transition: none !important;
  }
  .hl {
    background-size: 100% 0.2em;
  }
  .mark {
    transform: none;
  }
}
