:root { --paper:#f4f2eb; --ink:#191817; --muted:#5d5954; --line:#dcd6cc; --accent:#d1baa6; --accent-strong:#a98469; --white:#fff; font-family:Arial,Helvetica,sans-serif; color:var(--ink); background:var(--paper); font-synthesis:none; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; min-width:320px; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button,select,input,textarea { font:inherit; }
button,a,select,input,textarea { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #8a6449; outline-offset:3px; }
.shell { width:min(1240px,calc(100% - 96px)); margin:0 auto; }
.skip-link { position:absolute; top:-100px; left:15px; z-index:100; background:#fff;padding:10px; }.skip-link:focus{top:12px;}
.site-header { border-bottom:1px solid var(--line); }
.header-inner { min-height:102px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:flex; flex-direction:column; gap:5px; }
.brand-name { font-size:32px; font-weight:900; letter-spacing:-2.1px; line-height:.95; }
.brand-period { color:var(--accent-strong); }
.brand-sub { font-size:8.5px; letter-spacing:.4px; font-weight:700; line-height:1.3; }
.top-nav { display:flex; gap:30px; font-size:12px; font-weight:700; }.top-nav a:hover{color:#9a7458;}
.hero { padding:76px 0 82px; }
.eyebrow { display:flex; align-items:center; gap:12px; font-size:10px; font-weight:800; letter-spacing:2px; }
.small-line { width:25px; height:1px; background:#987b68; }
h1 { margin:29px 0 22px; max-width:1100px; font-size:clamp(43px,5.7vw,82px); line-height:1.055; letter-spacing:-3.9px; font-weight:800; }
.highlight { background:linear-gradient(to top,var(--accent) 32%,transparent 32%); box-decoration-break:clone; -webkit-box-decoration-break:clone; }
.hero-copy { margin:0; color:var(--muted); max-width:640px; font-size:16px; line-height:1.78; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.button { border:1px solid transparent; display:inline-flex; justify-content:center; align-items:center; gap:18px; min-height:51px; padding:14px 22px; font-weight:700; font-size:13px; border-radius:2px; cursor:pointer; transition:background .2s,color .2s,border-color .2s; }
.button-primary { background:var(--ink); color:#fff; }.button-primary:hover{background:#3a3029;}
.button-outline { border-color:#a8a095; background:transparent; color:var(--ink); }.button-outline:hover{background:#e9e3d9;}
.section-head { display:flex; justify-content:space-between; align-items:end; gap:25px; margin-bottom:25px; }
.section-eyebrow { font-size:10px; letter-spacing:1.8px; color:#7c7268; font-weight:800; }
.section-head h2 { font-size:31px; letter-spacing:-1.3px; margin:9px 0 7px; }
.section-head p { font-size:13px; color:var(--muted); margin:0; line-height:1.55; }
.workspace { display:grid; grid-template-columns:258px minmax(0,1fr); min-height:590px; background:#fff; border:1px solid #ddd8cf; box-shadow:0 15px 45px #2c251d0b; }
.process-sidebar { border-right:1px solid #e7e4df; min-height:590px; display:flex; flex-direction:column; min-width:0; }
.sidebar-head { display:flex; justify-content:space-between; align-items:center; gap:7px; padding:19px 15px 13px; }
.sidebar-title { font-size:12px; font-weight:800; }.sidebar-count{font-size:10px; color:#9a9185;}
.search-wrap { margin:0 13px 13px; border:1px solid #e3dfd7; padding:0 11px; display:flex; align-items:center; gap:8px; color:#777; }
.search-wrap input { width:100%; border:0; height:35px; outline:0; min-width:0; font-size:11px; background:transparent; }
.stage-list { overflow:auto; max-height:610px; padding:0 0 14px; }
.sidebar-loading { padding:18px;font-size:11px;color:#777; }
.stage-item { display:block; width:100%; text-align:left; background:#fff; color:#555; border:0; border-left:3px solid transparent; padding:10px 12px; font-size:11px; line-height:1.38; cursor:pointer; }
.stage-item:hover{background:#f8f5f0;}.stage-item[aria-current="page"]{background:#f3e9de;color:#211910;border-left-color:#a98469;font-weight:800;}
.stage-depth { display:block; padding-left:calc(var(--depth) * 11px); }.stage-item small { display:block; color:#999; font-size:9px; margin-bottom:3px; font-weight:600; letter-spacing:.3px; }
.diagram-column { display:flex; flex-direction:column; min-width:0; }
.diagram-toolbar { padding:11px 16px; min-height:55px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #e7e4df; }
.crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:4px; font-size:11px; color:#5f5b56; max-width:calc(100% - 180px); }
.crumbs button { background:none; color:#706354; font-size:11px; border:0; cursor:pointer; padding:4px; }.crumbs strong{font-weight:800;color:#1b1b1b;}
.diagram-controls { display:flex; align-items:center; gap:5px; flex-shrink:0; }
.tool-button { min-width:30px; height:29px; border:1px solid #e1dfdc; background:#fff; border-radius:2px; padding:0 7px; cursor:pointer; font-weight:700; font-size:13px; }
.tool-button:hover{background:#f3f0eb;}.fit-button{font-size:10px;}
.diagram-shell { position:relative; flex:1; background-image:radial-gradient(#dedede .7px,transparent .7px);background-size:17px 17px;background-color:#fcfcfb; min-height:495px; }
#canvas { width:100%; height:100%; position:absolute; inset:0; }
#canvas svg { width:100%; height:100%; }
.diagram-state { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center;justify-content:center; gap:15px;background:#faf9f7; z-index:2; padding:26px; color:#79756c; font-size:12px; text-align:center; }
.diagram-fallback { width:90%; max-height:275px; object-fit:contain; filter:drop-shadow(0 2px 1px #aaa5); }
.diagram-state.is-hidden{display:none;}
.diagram-bottom { min-height:49px; display:flex; justify-content:space-between;align-items:center;gap:12px;padding:10px 17px;border-top:1px solid #e7e4df;font-size:11px;color:#69635d; }
.text-button { padding:0; color:#665040; font-weight:800; background:none;border:0;text-align:left;font-size:11px;cursor:pointer; }.text-button:hover{text-decoration:underline;}
.stage-details { margin-top:11px; padding:19px 24px; background:#eae3da; }.details-label{font-size:9px;letter-spacing:1.8px;color:#6e6156;font-weight:800;}.stage-details h3{font-size:16px;margin:9px 0;}.stage-details p{font-size:13px;color:#514d48;line-height:1.65;max-width:950px;max-height:125px;overflow:auto;white-space:pre-wrap;}
.viewer-footnote { font-size:11px; color:#6e6860; line-height:1.6; margin:15px 0 0; }
.contact-section { background:#e9e1d6; margin-top:90px; padding:77px 0; }
.contact-grid { display:grid; grid-template-columns:1fr .87fr; gap:min(9vw,120px); }
.contact-intro h2 { font-size:clamp(32px,3.6vw,52px);line-height:1.13;letter-spacing:-2px; margin:26px 0 25px; }
.contact-intro p { max-width:480px; font-size:14px; color:#524b43; line-height:1.8; }
.contact-form { background:#f9f7f3; padding:30px 29px; border:1px solid #d8cfc3; box-shadow:0 13px 30px #51453509; display:flex; flex-direction:column; gap:9px; }
.contact-form label {font-size:11px;font-weight:800;margin-top:6px;}
.contact-form select,.contact-form textarea { border:1px solid #dad4cc; background:#fff;color:#2b2b2b;border-radius:2px; width:100%; padding:13px 13px; font-size:12px; outline-offset:2px; }
.contact-form select { min-height:45px; }.contact-form textarea{min-height:115px;resize:vertical;line-height:1.55;}
.contact-submit { width:100%;margin-top:13px; }.contact-submit:disabled{opacity:.5;cursor:not-allowed;}
.form-hint{font-size:10px;color:#716b64;line-height:1.5;margin:4px 0 0;}
.site-footer { border-top:1px solid var(--line);padding:24px 0; }.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:#797168;}.footer-inner strong{font-size:18px;letter-spacing:-1px;color:#171717;margin-right:9px;}
.consent-banner { background:#fff;position:fixed;bottom:20px;left:20px;right:20px;z-index:25;max-width:900px;margin:auto;box-shadow:0 5px 40px #17171730;border:1px solid #cfc8bf;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px; }
.consent-banner[hidden]{display:none;}.consent-banner p{font-size:11px;line-height:1.55;margin:0;max-width:560px;}.consent-banner>div{display:flex;gap:7px;flex-shrink:0;}.button-small { min-height:35px;font-size:10px;padding:9px 12px;white-space:nowrap; }
#workspace:fullscreen { width:100%;height:100%;background:#fff;display:grid;grid-template-columns:290px minmax(0,1fr); }
#workspace:fullscreen .process-sidebar{height:100vh;}#workspace:fullscreen .diagram-shell{height:calc(100vh - 110px);}
@media (max-width:1080px) { .shell{width:min(100% - 58px,1240px)} h1{font-size:clamp(40px,6vw,66px);letter-spacing:-2.8px;} .workspace{grid-template-columns:215px minmax(0,1fr);} .contact-grid{gap:45px;} }
@media (max-width:700px) { .shell{width:calc(100% - 36px);} .header-inner{min-height:85px;}.brand-name{font-size:27px;}.brand-sub{font-size:7px;}.top-nav{font-size:10px;gap:12px;} .hero{padding:52px 0 58px;} h1{font-size:clamp(38px,9vw,54px);letter-spacing:-2px;} h1 br{display:none;}.hero-copy{font-size:13px;} .section-head{align-items:start;}.section-head h2{font-size:25px;} .workspace{grid-template-columns:1fr;} .process-sidebar{min-height:0;max-height:175px;border-right:0;border-bottom:1px solid #e7e4df;}.sidebar-head{padding:11px 14px 7px;}.search-wrap{margin-bottom:8px;}.stage-list{max-height:80px;}.diagram-shell{min-height:380px;} .diagram-toolbar{flex-wrap:wrap;}.crumbs{max-width:none;flex:1;} .diagram-bottom{align-items:start;}.contact-section{margin-top:56px;padding:53px 0;}.contact-grid{grid-template-columns:1fr;gap:22px;}.contact-intro h2{font-size:36px;}.contact-form{padding:22px;} .footer-inner{align-items:start;flex-direction:column;}.consent-banner{flex-direction:column;align-items:stretch;left:10px;right:10px;bottom:10px;}.consent-banner>div{justify-content:flex-end;} #workspace:fullscreen{grid-template-columns:1fr;}#workspace:fullscreen .process-sidebar{max-height:130px;height:auto;}#workspace:fullscreen .diagram-shell{height:calc(100vh - 250px);}}
@media (max-width:440px) { .top-nav a:first-child{display:none;} .hero-actions .button{width:100%;}.diagram-controls{width:100%;justify-content:flex-end;}.diagram-shell{min-height:350px;}.diagram-bottom{flex-direction:column;align-items:start;} }
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto;}*{transition:none!important;} }
