:root {
  --paper: #fbf7f3;
  --white: #fffdfc;
  --ink: #2d203a;
  --muted: #6c5c70;
  --line: #e6dde5;
  --accent: #efa575;
  --accent-strong: #9d4a2d;
  --soft: #f3eaef;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(1312px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -70px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { width: min(1312px, calc(100% - 96px)); height: 92px; margin-inline: auto; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 18px; font-weight: 760; line-height: 1; letter-spacing: .09em; }
.wordmark img { border-radius: 4px; }
.heading-period { color: var(--accent-strong); }
.site-nav { display: flex; gap: 34px; margin-left: auto; font-size: 13px; font-weight: 600; }
.site-nav a, .header-link, .subtle-link { transition: opacity .2s ease; }
.site-nav a:hover, .header-link:hover, .subtle-link:hover { opacity: .58; }
.header-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; margin-left: 22px; padding: 12px 0 12px 20px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-link span { font-size: 18px; font-weight: 400; }

.hero { min-height: 682px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 7%; align-items: center; padding-block: 76px 92px; }
.eyebrow, .section-kicker { margin-bottom: 32px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 9px; height: 9px; border-radius: 1px; background: var(--accent); box-shadow: 0 0 0 4px rgba(239, 165, 117, .2); }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(60px, 6.2vw, 101px); font-weight: 600; line-height: .96; letter-spacing: -.077em; }
h1 em { font-weight: 500; font-style: normal; color: #77536d; }
.hero-description { max-width: 575px; margin-bottom: 36px; color: #5f5361; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-width: 192px; padding: 17px 19px; border-radius: 2px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 18px; font-weight: 400; line-height: 1; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #51365c; }
.subtle-link { display: inline-flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 700; }
.subtle-link span { font-size: 17px; font-weight: 400; }

.hero-art { min-height: 512px; display: flex; flex-direction: column; padding: 24px; border: 1px solid #503757; border-radius: 2px; background: linear-gradient(145deg, #3a2846, #2d203a 65%, #24182f); box-shadow: 14px 14px 0 #e9dfe7; }
.art-topline, .art-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #dfc8d3; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.art-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: space-around; overflow: hidden; background-image: linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px); background-size: 34px 34px; background-position: center; }
.source-cluster { position: relative; z-index: 1; width: 112px; height: 194px; flex-shrink: 0; }
.source-node { position: absolute; display: block; width: 20px; height: 20px; border: 1px solid #f5bf9c; border-radius: 2px; background: var(--accent); box-shadow: 5px 5px 0 rgba(20, 9, 28, .28); }
.source-node:nth-child(3n) { background: #fbe8dc; border-color: #fbe8dc; }
.node-one { left: 31px; top: 7px; }.node-two { left: 77px; top: 16px; }.node-three { left: 2px; top: 58px; }.node-four { left: 51px; top: 63px; }.node-five { left: 88px; top: 92px; }.node-six { left: 15px; top: 119px; }.node-seven { left: 64px; top: 145px; }.node-eight { left: 1px; top: 170px; }
.flow-line { position: relative; z-index: 1; width: 25%; height: 1px; background: var(--accent); }
.flow-line::before, .flow-line::after { content: ""; position: absolute; width: 5px; height: 5px; top: -2px; background: var(--accent); }
.flow-line::before { left: 0; }.flow-line::after { right: 0; }
.dataset-cube { position: relative; z-index: 1; width: 160px; height: 160px; flex-shrink: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 12px; border: 1px solid #dcbfae; border-radius: 2px; background: #f9efe8; box-shadow: 12px 12px 0 #6c4a6d, 20px 24px 34px rgba(20, 9, 28, .3); }
.dataset-cube span { border-radius: 1px; background: #b790a4; }
.dataset-cube span:nth-child(2), .dataset-cube span:nth-child(4), .dataset-cube span:nth-child(9) { background: var(--accent); }
.dataset-cube span:nth-child(3), .dataset-cube span:nth-child(7) { background: #6c4a6d; }
.art-footer { border-top: 1px solid #785d78; padding-top: 17px; }

.section { scroll-margin-top: 25px; }
.services { padding: 112px 0 125px; background: var(--white); border-block: 1px solid var(--line); }
.section-intro { margin-bottom: 54px; }
.section-kicker { margin-bottom: 22px; color: #77536d; }
h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(42px, 5.1vw, 76px); line-height: 1.04; font-weight: 600; letter-spacing: -.069em; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { min-height: 390px; display: flex; flex-direction: column; padding: 28px 29px 25px; border: 1px solid var(--line); border-radius: 2px; background: #fdf9f7; }
.service-card-featured { border-color: var(--ink); background: var(--ink); color: white; }
.card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: auto; }
.card-number { font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.card-glyph { font-size: 26px; line-height: 1; font-weight: 300; }
.service-card h3 { margin-bottom: 15px; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -.055em; }
.service-card p { max-width: 360px; min-height: 120px; margin-bottom: 28px; color: #67566a; font-size: 15px; line-height: 1.65; }
.service-card-featured p { color: #d7c9d6; }
.card-foot { padding-top: 17px; border-top: 1px solid var(--line); color: #69546d; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 10px; font-weight: 700; letter-spacing: .015em; }
.service-card-featured .card-foot { border-color: #6d566e; color: #f2b58d; }

.process { padding: 135px 0 150px; }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 13%; }
.process-heading { position: sticky; top: 40px; align-self: start; }
.process-heading h2 { margin-bottom: 26px; }
.process-heading > p:last-child { max-width: 330px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d9ccd7; }
.process-list li { min-height: 93px; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; padding: 17px 12px 17px 2px; border-bottom: 1px solid #d9ccd7; font-size: clamp(17px, 1.65vw, 23px); line-height: 1.35; letter-spacing: -.035em; }
.step-number { align-self: center; color: #785c73; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; }

.community { padding: 95px 0 110px; border-top: 1px solid var(--line); background: var(--soft); }
.community-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 11%; }
.community h2 { max-width: 560px; font-size: clamp(42px, 4.6vw, 65px); }
.community-items { border-top: 1px solid #d9ccd7; }
.community-item { min-height: 92px; display: grid; grid-template-columns: 53px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid #d9ccd7; font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.platform-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 2px; background: var(--ink); color: #f2b58d; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: -.06em; }

.contact { padding: 110px 0 120px; background: var(--ink); color: white; }
.contact-inner { display: flex; flex-direction: column; align-items: flex-start; }
.contact .section-kicker { color: var(--accent); }
.contact h2 { max-width: 800px; margin-bottom: 45px; font-size: clamp(53px, 6.7vw, 96px); }
.button-light { background: var(--accent); color: var(--ink); }
.button-light:hover { background: #f5bc97; }
.button-pending { cursor: not-allowed; }
.button-pending:hover { transform: none; background: var(--accent); }
.pending-note { margin: 15px 0 0; color: #d8cad9; font-size: 12px; }
.site-footer { background: #24182f; color: white; }
.footer-inner { min-height: 146px; display: flex; align-items: center; gap: 30px; }
.footer-wordmark { font-size: 16px; }
.footer-inner p { margin: 0 auto 0 0; color: #d8cad9; font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #f4e9ed; font-size: 12px; font-weight: 600; text-decoration: underline; text-decoration-color: #9e859e; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer-inner > span { color: #d8cad9; font-size: 12px; white-space: nowrap; }

@media (max-width: 1100px) {
  .wrap, .site-header { width: min(100% - 64px, 1312px); }
  .hero { gap: 5%; }
  h1 { font-size: clamp(58px, 6.6vw, 85px); }
  .hero-art { min-height: 450px; }
  .dataset-cube { width: 125px; height: 125px; }
  .source-cluster { transform: scale(.82); }
  .process-layout { gap: 8%; }
}
@media (max-width: 780px) {
  .site-header { height: 78px; }
  .site-nav { display: none; }
  .header-link { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 54px; padding-block: 80px 100px; }
  h1 { max-width: 730px; font-size: clamp(62px, 10vw, 84px); }
  .hero-art { min-height: 410px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; }
  .card-top { margin-bottom: 70px; }
  .service-card p { min-height: 0; }
  .process-layout, .community-layout { grid-template-columns: 1fr; gap: 55px; }
  .process-heading { position: static; }
  .community-layout { align-items: start; }
}
@media (max-width: 540px) {
  .wrap, .site-header { width: calc(100% - 36px); }
  .site-header { height: 72px; }
  .wordmark { gap: 8px; font-size: 16px; }
  .wordmark img { width: 29px; height: 29px; }
  .header-link { gap: 9px; padding-left: 12px; font-size: 12px; }
  .header-link span { font-size: 15px; }
  .hero { gap: 44px; padding-block: 64px 78px; }
  .eyebrow { margin-bottom: 26px; }
  h1 { font-size: clamp(49px, 12.5vw, 68px); line-height: .98; }
  .hero-description { font-size: 16px; line-height: 1.6; }
  .hero-actions { gap: 22px; }
  .hero-art { min-height: 300px; padding: 15px; }
  .art-topline, .art-footer { font-size: 7px; }
  .source-cluster { margin-left: -24px; transform: scale(.63); }
  .flow-line { width: 18%; margin-inline: -12px; }
  .dataset-cube { width: 96px; height: 96px; gap: 4px; padding: 7px; margin-right: 8px; box-shadow: 9px 10px 0 #6c4a6d, 18px 20px 24px rgba(20, 9, 28, .3); }
  .services, .process, .community { padding-block: 78px 86px; }
  .section-intro { margin-bottom: 35px; }
  h2 { font-size: 48px; }
  .service-card { padding: 25px; }
  .process-layout { gap: 40px; }
  .process-list li { min-height: 82px; grid-template-columns: 39px 1fr; padding-block: 14px; font-size: 18px; }
  .community h2 { font-size: 46px; }
  .community-item { min-height: 82px; font-size: 18px; }
  .contact { padding-block: 82px 95px; }
  .contact h2 { margin-bottom: 35px; font-size: 55px; }
  .footer-inner { min-height: 180px; flex-wrap: wrap; align-content: center; gap: 18px 30px; }
  .footer-inner p { flex-basis: calc(100% - 46px); margin: 0; }
  .footer-inner > span { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
