:root {
  --ink: #0f1012;
  --muted: #666970;
  --paper: #ffffff;
  --soft: #f3f3f1;
  --line: rgba(15,16,18,.14);
  --page: min(1240px, calc(100vw - 64px));
  --ease: cubic-bezier(.22,.72,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
::selection { background: var(--ink); color: #fff; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(-140%); }
.skip-link:focus { transform: none; }

.application-hero { position: relative; min-height: 100svh; margin: 0 0 12px; overflow: hidden; background: #ececea; }
.application-hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 30%, rgba(255,255,255,.34) 58%, rgba(255,255,255,.02) 78%); pointer-events: none; }
.application-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.application-hero-inner { position: relative; z-index: 2; width: var(--page); min-height: 100svh; margin: 0 auto; padding: 145px 0 48px; display: flex; flex-direction: column; justify-content: center; }
.application-hero-copy { max-width: 620px; padding-bottom: 30px; }
.application-eyebrow { margin: 0 0 25px; color: var(--muted); font-size: 10px; font-weight: 720; letter-spacing: .15em; text-transform: uppercase; }
.application-hero h1 { max-width: 700px; margin: 0; font-size: clamp(54px, 6.2vw, 92px); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.application-hero h1 span { display: block; color: #989a9f; }
.application-lead { max-width: 570px; margin: 30px 0 0; color: #555960; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; }
.hero-facts { position: relative; z-index: 2; align-self: flex-end; margin-top: 28px; width: min(720px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid rgba(255,255,255,.78); border-radius: 22px; background: rgba(255,255,255,.7); box-shadow: 0 18px 50px rgba(15,16,18,.08); backdrop-filter: blur(18px) saturate(135%); }
.hero-fact { min-height: 92px; padding: 20px 23px; border-right: 1px solid var(--line); }
.hero-fact:last-child { border-right: 0; }
.hero-fact span { display: block; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-fact strong { display: block; margin-top: 8px; font-size: 16px; font-weight: 600; }

.application-section { width: var(--page); margin: 0 auto; padding: clamp(44px, 4vw, 64px) 0; }
.section-marker { margin-bottom: 56px; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.section-marker i { height: 1px; flex: 1; background: var(--line); }
.overview-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: clamp(55px, 8vw, 120px); }
.display-title { margin: 0; font-size: clamp(45px, 5.2vw, 74px); font-weight: 490; letter-spacing: -.06em; line-height: .96; }
.display-title span { color: #989a9f; }
.overview-copy { max-width: 560px; justify-self: end; color: var(--muted); font-size: 15px; line-height: 1.75; }
.overview-copy p { margin: 0; }
.overview-copy p + p { margin-top: 16px; color: var(--ink); }
.capability-grid { margin-top: 74px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.capability-card { min-height: 235px; padding: 27px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-card > span { color: var(--muted); font-size: 9px; }
.capability-card h3 { margin: auto 0 10px; font-size: 22px; font-weight: 560; letter-spacing: -.035em; }
.capability-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.62; }

.stories-section { padding: 0 0 clamp(44px, 4vw, 64px); }
.story-row { width: var(--page); margin: 0 auto 22px; display: grid; grid-template-columns: 1.12fr .88fr; min-height: 610px; overflow: hidden; border-radius: 30px; background: var(--soft); }
.story-row.is-reverse { grid-template-columns: .88fr 1.12fr; }
.story-row.is-reverse .story-media { order: 2; }
.story-media { position: relative; min-height: 560px; overflow: hidden; background: #e7e7e4; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.story-row:hover .story-media img { transform: scale(1.025); }
.story-media.is-product img { padding: 8%; object-fit: contain; filter: saturate(.2) drop-shadow(0 24px 26px rgba(15,16,18,.1)); }
.story-media > span { position: absolute; z-index: 2; top: 20px; left: 20px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,255,255,.76); font-size: 8px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(12px); }
.story-copy { padding: clamp(42px, 6vw, 78px); display: flex; flex-direction: column; justify-content: center; }
.story-copy .story-label { margin: 0 0 19px; color: var(--muted); font-size: 9px; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.story-copy h2 { margin: 0; font-size: clamp(35px, 3.8vw, 54px); font-weight: 500; letter-spacing: -.055em; line-height: .97; }
.story-copy > p:not(.story-label) { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.story-copy ul { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.story-copy li { padding: 13px 0; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
.story-copy li::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--ink); }

.application-cta { position: relative; min-height: 620px; margin: 12px; padding: 95px max(32px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; overflow: hidden; border-radius: 40px; background: var(--ink); color: #fff; }
.application-cta::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 64px 64px; }
.cta-content { position: relative; z-index: 2; max-width: 820px; }
.cta-content .application-eyebrow { color: #a5a8af; }
.cta-content h2 { margin: 0; font-size: clamp(46px, 6vw, 80px); font-weight: 480; letter-spacing: -.065em; line-height: .94; }
.cta-content h2 span { color: #777b84; }
.cta-content > p:not(.application-eyebrow) { max-width: 610px; margin: 28px 0 0; color: #a7aab1; font-size: 14px; line-height: 1.7; }
.cta-button { max-width: 100%; min-height: 54px; margin-top: 28px; padding: 11px 15px 11px 23px; display: inline-flex; align-items: center; gap: 22px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 680; transition: transform .25s var(--ease); }
.cta-button:hover { transform: translateY(-3px); }
.cta-button span { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #efefec; transition: transform .25s var(--ease); }
.cta-button:is(:hover, :focus-visible) span { transform: rotate(45deg); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .68s var(--ease), transform .68s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }
  .application-hero { min-height: 0; margin: 0; padding-top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: repeat(5,auto); background: #fff; }
  .application-hero::after { display: none; }
  .application-hero > img { position: relative; grid-row: 3; inset: auto; height: auto; aspect-ratio: 16 / 10; margin-top: 22px; object-position: 68% center; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 94%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 94%, transparent); }
  .application-hero-inner, .application-hero-copy { display: contents; }
  .application-hero .application-eyebrow { grid-row: 1; width: var(--page); margin: 0 auto 18px; }
  .application-hero h1 { grid-row: 2; width: var(--page); max-width: none; margin: 0 auto; font-size: clamp(42px,7.5vw,68px); line-height: 1.02; }
  .application-lead { grid-row: 4; width: var(--page); max-width: none; margin: 20px auto 0; font-size: 16px; }
  .hero-facts { grid-row: 5; width: var(--page); margin: 24px auto 32px; }
  .overview-grid { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .overview-copy { justify-self: start; }
  .story-row, .story-row.is-reverse { grid-template-columns: 1fr; min-height: 0; }
  .story-row.is-reverse .story-media { order: 0; }
  .story-media { min-height: 0; aspect-ratio: 16 / 10; }
  .story-media.is-product { aspect-ratio: 1; }
  .story-copy { min-height: 0; }
  .application-cta { min-height: 0; padding-block: 64px; }
}

@media (max-width: 620px) {
  :root { --page: calc(100vw - 28px); }
  .application-eyebrow { margin-bottom: 18px; font-size: 12px; }
  .application-hero h1 { font-size: clamp(38px,10.5vw,58px); }
  .application-lead { line-height: 1.65; }
  .hero-facts { grid-template-columns: 1fr; border-radius: 19px; }
  .hero-fact { min-height: 0; padding: 14px 16px; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-fact:last-child { border-bottom: 0; }
  .hero-fact span { font-size: 12px; }
  .hero-fact strong { margin: 0; font-size: 14px; text-align: right; }
  .application-section { padding: 44px 0; }
  .section-marker { margin-bottom: 35px; gap: 10px; font-size: 7px; }
  .section-marker span:last-child { display: none; }
  .display-title { font-size: clamp(40px, 12vw, 53px); }
  .overview-copy { font-size: 16px; }
  .capability-grid { margin-top: 50px; grid-template-columns: 1fr; }
  .capability-card { min-height: 190px; padding: 23px; }
  .story-row, .story-row.is-reverse { width: calc(100vw - 12px); min-height: 0; margin-bottom: 7px; border-radius: 24px; }
  .story-copy { min-height: 0; padding: 42px 25px 48px; }
  .story-copy h2 { font-size: 38px; }
  .application-cta { margin: 6px; padding: 56px 24px; border-radius: 28px; }
  .cta-content h2 { font-size: clamp(36px,10vw,52px); line-height: 1.05; }
  .cta-content > p:not(.application-eyebrow), .story-copy > p:not(.story-label), .capability-card p { font-size: 16px; }
  .story-copy li { font-size: 14px; }
}

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