:root {
  --ink: #111111;
  --ink-2: #4b4b4b;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --paper: #ffffff;
  --mist: #efefef;
  --smoke: #f5f5f5;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --pad: clamp(20px, 3.4vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
h1, h2, h3 { margin: 0; font-weight: 500; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
br.wide { display: none; }
@media (min-width: 640px) { br.wide { display: inline; } }

/* Pill CTA with text roll + arrow turn (from the template's primitives). */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: background .3s var(--ease);
}
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark:hover { background: #2a2a2a; }
.pill.light { background: #fff; color: var(--ink); }
.pill.light:hover { background: #e9e9e9; }
.roll { display: block; height: 20px; overflow: hidden; }
.roll > span { display: block; height: 20px; line-height: 20px; transition: transform .5s var(--ease); }
.pill:hover .roll > span { transform: translateY(-100%); }
.pill-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.pill.dark .pill-icon { background: #fff; color: var(--ink); }
.pill.light .pill-icon { background: var(--ink); color: #fff; }
.pill-icon svg { transition: transform .5s var(--ease); }
.pill:hover .pill-icon svg { transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; background: var(--mist); isolation: isolate; }
.glass { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1s var(--ease); }
.glass[data-ready] { opacity: 1; }

.nav-wrap { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 12px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px; border-radius: 999px; background: #fff; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; padding: 0 12px 0 14px; }
/* Wordmark: the W (y 5-30.6 of the 38-unit-tall viewBox) is a little taller
   than the ascenders, its foot sits on the baseline, and the "o" tucks in
   under the W's bleeding top-right arm. */
.logo { display: inline-block; font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1; white-space: nowrap; color: var(--ink); }
.logo-mark { width: 1.42em; height: 1.35em; vertical-align: -.405em; margin-right: -.1em; fill: currentColor; }
.logo-mark .logo-cut { fill: var(--logo-cut, #fff); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; transition: color .3s; }
.nav-links a:hover { color: var(--muted); }
.nav-note { font-size: 13px; color: var(--muted); }
.nav .pill { padding: 6px 6px 6px 18px; font-size: 13px; }
.nav .pill-icon { width: 26px; height: 26px; }

.hero-copy { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; max-width: 1440px; margin: 0 auto; padding: 120px var(--pad) clamp(56px, 7vw, 80px); }
.eyebrow { display: block; margin-bottom: clamp(20px, 2.4vw, 32px); font-size: 14px; letter-spacing: .02em; }
h1 { font-size: clamp(30px, 5vw, 68px); line-height: 1.08; letter-spacing: -.03em; max-width: 22ch; }
@media (min-width: 640px) { h1 { max-width: none; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: clamp(32px, 4vw, 48px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 4px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.chip img { width: auto; height: 22px; }
.chip-tag { padding: 2px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; }

/* Numbered sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.white { background: var(--paper); }
.section.grey { background: var(--smoke); }
.section-tag { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(24px, 2.5vw, 32px); }
.section-tag .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; overflow: hidden; }
.section-tag .label { padding: 5px 16px; border: 1px solid #d4d4d4; border-radius: 999px; font-size: 13px; font-weight: 500; }
.section-tag.dark .num { width: auto; background: none; border-radius: 0; overflow: visible; color: #fff; --logo-cut: var(--ink); }
.section-tag.dark .logo-mark { width: 30px; height: 28px; vertical-align: 0; margin: 0; }
.section-tag.dark .label { border-color: rgba(255, 255, 255, .15); }
h2 { font-size: clamp(30px, 5vw, 68px); line-height: 1.08; letter-spacing: -.03em; }
h2.h2-small { font-size: clamp(26px, 4vw, 52px); line-height: 1.12; letter-spacing: -.02em; }

.principles { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin: clamp(48px, 8vw, 112px) 0 0; padding: 0; }
.principles li { counter-increment: p; padding-top: 24px; border-top: 1px solid var(--ink); }
.principles h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -.01em; }
.principles h3::before { content: counter(p, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.principles p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.65; }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px); margin-top: clamp(40px, 4.5vw, 64px); }
.product-visual { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.product-visual.lentis { background: #141414; color: #fff; }
.product-visual.dating { background: #d9d9d9; color: var(--ink); }
.visual-name { position: absolute; top: 20px; left: 22px; font-size: 14px; font-weight: 500; opacity: .7; }

.aperture { position: absolute; inset: 0; display: grid; place-items: center; }
.aperture i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); transition: transform .9s var(--ease); }
.aperture i:nth-child(1) { width: 62%; aspect-ratio: 1; }
.aperture i:nth-child(2) { width: 44%; aspect-ratio: 1; border-color: rgba(255, 255, 255, .35); }
.aperture i:nth-child(3) { width: 24%; aspect-ratio: 1; background: radial-gradient(circle at 35% 35%, #fff, #8a8a8a 45%, #2a2a2a 75%); border: none; }
.product-visual.lentis:hover .aperture i:nth-child(1) { transform: scale(1.08); }
.product-visual.lentis:hover .aperture i:nth-child(3) { transform: scale(.82); }

.orbits { position: absolute; inset: 0; display: grid; place-items: center; }
.orbits i { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--ink); animation: drift 7s ease-in-out infinite alternate; }
.orbits i:first-child { transform: translateX(-24%); }
.orbits i:last-child { transform: translateX(24%); animation-direction: alternate-reverse; }
@keyframes drift { from { translate: -6% 0; } to { translate: 6% 0; } }
@media (prefers-reduced-motion: reduce) { .orbits i { animation: none; } }

.reveal { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 999px; transition: width .3s ease-in-out; }
.reveal.light { background: #fff; color: var(--ink); }
.reveal-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; }
.reveal-icon svg { transform: rotate(-45deg); transition: transform .3s; }
.reveal-text { white-space: nowrap; font-size: 13px; font-weight: 500; opacity: 0; transition: opacity .3s .1s; }
.product-visual:hover .reveal, .product-visual:focus-visible .reveal { width: 136px; }
.product-visual:hover .reveal-icon svg, .product-visual:focus-visible .reveal-icon svg { transform: none; }
.product-visual:hover .reveal-text, .product-visual:focus-visible .reveal-text { opacity: 1; }
.product-visual:focus-visible { border-radius: 16px; }

.product-desc { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 52ch; }
.product h3 { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; font-weight: 600; }
.tag { padding: 2px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; }
.tag.outline { background: none; color: var(--ink); border: 1px solid #bdbdbd; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: clamp(64px, 7vw, 96px) 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (min-width: 1024px) { .footer-cta { align-items: flex-end; } }
.footer-mail { font-size: 14px; color: #9a9a9a; transition: color .3s; }
.footer-mail:hover { color: #fff; }
.footer-mid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px 24px; padding: clamp(48px, 6vw, 80px) 0; }
.footer .logo { color: #fff; --logo-cut: var(--ink); font-size: 22px; }
.footer .brand { padding: 0; }
.footer-brand p { max-width: 32ch; margin: 18px 0 0; color: #9a9a9a; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #9a9a9a; }
.footer-col h3 { margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; }
.footer-col a { width: fit-content; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-word { overflow: hidden; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5vw; font-weight: 500; line-height: .95; letter-spacing: -.05em; color: rgba(255, 255, 255, .06); white-space: nowrap; user-select: none; }
.footer-legal { margin: 32px 0 0; color: #6b6b6b; font-size: 13px; }

@media (max-width: 1023px) {
  .nav-note { display: none; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .principles { grid-template-columns: 1fr; gap: 32px; }
  .products { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .nav-wrap { padding: 8px; }
  .nav .pill .roll { display: none; }
  .nav .pill { padding: 6px; }
}
