@font-face { font-family: "Neue Montreal"; src: url(fonts/NeueMontreal-Regular.otf) format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url(fonts/NeueMontreal-Light.otf) format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url(fonts/NeueMontreal-Medium.otf) format("opentype"); font-weight: 500; font-display: swap; }

:root {
  --mag: #141414;        /* Magnetic gray: the brand surface */
  --mag-2: #1d1d1d;
  --paper: #efebe4;
  --ink: #171717;
  --ink-2: #4a4a4a;
  --on-mag: #f2efe9;
  --on-mag-dim: rgba(242, 239, 233, .66);
  --line-dark: rgba(23, 23, 23, .16);
  --line-light: rgba(242, 239, 233, .14);
  --pad: 40px;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; font-family: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 20px; line-height: 1.25; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: 100%; padding: 0 var(--pad); margin: 0 auto; max-width: 1440px; }
h1, h2, h3 { font-weight: 400; }
h2 { font-size: 50px; line-height: 1.1; letter-spacing: -.01em; }
h3 { font-size: 34px; line-height: 1.15; letter-spacing: -.01em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 22px; height: 48px; padding: 0 25px; border-radius: 999px; font-size: 20px; line-height: 1; transition: background .2s, color .2s; }
.btn .arr { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s ease; }
.btn:hover .arr, .text-link:hover .arr { transform: translateX(4px); }
.btn-light { background: var(--on-mag); color: var(--ink); }
.btn-light:hover { background: #faf8f3; }
.btn-dark { background: var(--mag); color: var(--on-mag); }
.btn-dark:hover { background: #2a2a2a; }

/* hero (Magnetic gray) */
.hero-wrap { background: var(--mag); color: var(--on-mag); padding-bottom: 110px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); height: 93px; max-width: 1440px; margin: 0 auto; }
.nav-logo img { height: 25px; width: auto; }
.nav-links { display: flex; gap: 52px; }
.nav-links a { position: relative; font-size: 20px; padding: 6px 0; opacity: .92; }
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active::after, .nav-links a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; }
.nav-burger { display: none; width: 32px; height: 32px; position: relative; }
.nav-burger span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--on-mag); transition: transform .25s; }
.nav-burger span:first-child { top: 12px; } .nav-burger span:last-child { top: 19px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { display: flex; align-items: center; justify-content: space-between; min-height: 635px; padding-top: 50px; }
.hero h1 { font-size: 140px; line-height: 1.1; letter-spacing: -.03em; margin-left: -6px; }
.hero p { max-width: 560px; margin-top: 30px; color: var(--on-mag-dim); line-height: 1.5; }
.hero p strong { color: var(--on-mag); font-weight: 500; }
.hero .btn { margin-top: 40px; }
.hero-art { width: 300px; height: 376px; flex: none; overflow: visible; margin-top: 40px; }
.hero-art path { fill: none; stroke: var(--on-mag); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.hero-art path.back { stroke-opacity: .32; }

.cover { border-radius: 8px; overflow: hidden; aspect-ratio: 1360 / 788; background: var(--mag-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }

.core { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 112px; }
.core-copy { max-width: 600px; }
.core-copy p { margin-top: 30px; color: var(--on-mag-dim); line-height: 1.5; max-width: 570px; }
.loop { position: relative; width: 752px; flex: none; margin-right: -12px; }
.loop svg { width: 100%; height: auto; overflow: visible; display: block; }
.loop span { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: 22px; color: var(--on-mag); }
.loop-l { left: 21.7%; } .loop-r { left: 77.8%; }
.loop .track { fill: none; stroke: var(--on-mag); stroke-opacity: .32; stroke-width: 1; }
.loop .gap { fill: none; stroke: var(--mag); stroke-width: 22; }
.loop .run { fill: none; stroke: var(--on-mag); stroke-width: 1.6; stroke-linecap: round; }

/* light body */
.companies { padding-top: 100px; }
.co-head { display: flex; align-items: flex-end; justify-content: space-between; }
.co-arrows { display: flex; gap: 10px; margin-bottom: 4px; }
.chev { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: background .2s, opacity .2s; }
.chev svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 1.4; }
.chev:disabled { background: #d3cec5; cursor: default; }
.chev:disabled svg { stroke: var(--paper); }
.co-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); padding: 80px var(--pad) 0; scrollbar-width: none; max-width: 1440px; margin: 0 auto; }
.co-track::-webkit-scrollbar { display: none; }
.co-card { flex: 0 0 440px; scroll-snap-align: start; }
.co-media { height: 247px; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 14px; overflow: hidden; }
.co-media.white { background: #f8f5ef; color: #222; }
.co-media.char { background: var(--mag); color: #f2efe9; }
.co-media.stone { background: #e3ded4; color: #1b1b1b; }
.co-media.graph { background: #2b2b2b; color: #f2f2f2; }
.co-media svg { width: 52px; height: 52px; flex: none; }
.co-media b { font-size: 44px; font-weight: 500; letter-spacing: -.02em; }
.co-media b.light { font-weight: 300; }
.co-card h3 { font-size: 28px; margin-top: 28px; }
.co-card p { font-size: 18px; margin-top: 12px; color: var(--ink); }
.companies .btn { margin-top: 74px; }

.partner { display: grid; grid-template-columns: 1fr 670px; gap: 40px; padding-top: 200px; }
.partner-copy h2 { margin-top: 6px; }
.lede { font-size: 28px; line-height: 1.25; margin-top: 30px; max-width: 520px; }
.type { border-top: 1px solid var(--line-dark); padding: 26px 0 42px; }
.type:last-child { border-bottom: 1px solid var(--line-dark); padding-bottom: 42px; }
.type h3 { font-size: 38px; }
.type p { margin-top: 14px; line-height: 1.5; max-width: 440px; }

.community { display: grid; grid-template-columns: 648px 1fr; gap: 42px; padding-top: 200px; align-items: start; }
.community h2 { padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.comm-block { padding: 22px 0 44px; border-bottom: 1px solid var(--line-dark); }
.comm-block h3 { font-size: 38px; }
.comm-block p { margin-top: 14px; line-height: 1.5; max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tags li { border: 1px solid var(--ink); border-radius: 4px; padding: 0 12px; height: 38px; display: flex; align-items: center; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; }
.text-link .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s; }
.comm-grid { display: grid; grid-template-columns: 295fr 117fr 210fr; grid-template-rows: 288px 408px; gap: 24px; }
.comm-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.comm-grid .g1 { grid-column: 1 / 3; } .comm-grid .g2 { grid-column: 3; }
.comm-grid .g3 { grid-column: 1; grid-row: 2; } .comm-grid .g4 { grid-column: 2 / 4; grid-row: 2; }

.cta-wrap { padding-top: 160px; padding-bottom: 100px; }
.cta { display: grid; grid-template-columns: 1fr 1fr; background: var(--mag); color: var(--on-mag); border-radius: 8px; overflow: hidden; min-height: 477px; }
.cta-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-copy p { font-size: 18px; color: var(--on-mag-dim); margin-top: 22px; }
.cta-copy .btn { margin-top: 30px; align-self: flex-start; }
.cta img { width: 100%; height: 100%; object-fit: cover; }

.footer { background: var(--mag); color: var(--on-mag); padding: 44px 0 50px; }
.foot-top { display: grid; grid-template-columns: 115px 230px 1fr 440px; align-items: start; }
.foot-logo { height: 18px; width: auto; margin-top: 5px; }
.foot-col li + li { margin-top: 22px; }
.foot-col a { font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ext { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; position: relative; opacity: .8; }
.ext::after { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 9.5l5-5M5.5 4.5h4v4' stroke='black' fill='none' stroke-width='1.1'/%3E%3C/svg%3E") center/100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 9.5l5-5M5.5 4.5h4v4' stroke='black' fill='none' stroke-width='1.1'/%3E%3C/svg%3E") center/100% no-repeat; }
.news h3 { font-size: 24px; line-height: 1.25; }
.news input { display: block; width: 100%; height: 56px; margin-top: 18px; padding: 0 16px; border: 1px solid var(--line-light); border-color: rgba(242,239,233,.5); border-radius: 4px; background: transparent; color: var(--on-mag); font: inherit; }
.news input::placeholder { color: rgba(242,239,233,.55); }
.news input:focus { outline: none; border-color: var(--on-mag); }
.news .btn { margin-top: 16px; }
.news-msg { font-size: 16px; margin-top: 12px; color: var(--on-mag-dim); }
.foot-bot { display: grid; grid-template-columns: 460px 1fr auto; margin-top: 110px; font-size: 18px; }
.foot-bot a:hover { text-decoration: underline; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1200px) {
  .hero h1 { font-size: 112px; }
  .loop { width: 56%; }
  .partner { grid-template-columns: 1fr 1fr; }
  .community { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  h2 { font-size: 38px; }
  h2 br { display: none; }
  .comm-grid { grid-template-rows: 200px 280px; gap: 12px; }
  .nav { height: 72px; }
  .nav-burger { display: block; z-index: 3; }
  .nav-links { position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 26px; padding: 0 var(--pad); background: rgba(20,20,20,.96); backdrop-filter: blur(14px); transform: translateY(-100%); transition: transform .35s ease; }
  .nav-links a { font-size: 36px; }
  .nav.open .nav-links { transform: none; }
  .hero { flex-direction: column; align-items: flex-start; min-height: 0; padding: 70px var(--pad) 80px; gap: 50px; }
  .hero h1 { font-size: 84px; }
  .hero-art { align-self: center; width: 240px; height: 276px; margin: 0; }
  .hero-wrap { padding-bottom: 100px; }
  .core { flex-direction: column; align-items: flex-start; padding-top: 70px; }
  .loop { width: 100%; margin: 0; }
  .loop span { font-size: 15px; }
  .co-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .co-track { padding-top: 40px; }
  .co-card { flex-basis: 82%; }
  .co-media { height: 200px; }
  .co-media b { font-size: 34px; }
  .partner, .community { grid-template-columns: 1fr; padding-top: 110px; }
  .cta { grid-template-columns: 1fr; }
  .cta img { height: 280px; }
  .cta-copy { padding: 36px 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .foot-logo { grid-column: 1 / -1; }
  .news { grid-column: 1 / -1; }
  .foot-bot { grid-template-columns: 1fr; gap: 12px; margin-top: 60px; font-size: 16px; }
}
