/* Shared colours and controls across the private website. */
.home-page {
 --ink:#1a2c35; --muted:#4d626d; --forest:#245e70; --forest-deep:#193e4a;
 --editorial-teal:#245e70; --deep-teal:#193e4a; --lime:#e2eef1;
 --paper:#f5f7f8; --ivory:#f5f7f8; --white:#fff; --sage:#e6f0f2; --line:#d4dfe2;
 --font:"IBM Plex Sans",system-ui,sans-serif;
}
.home-page .site-header {background:var(--white);border-bottom:1px solid var(--line);}
.home-page :is(.nav-contact,.button-forest,.button-lime) {background:var(--deep-teal);color:white;border:1px solid var(--deep-teal);border-radius:5px;font-weight:500;}
.home-page :is(.nav-contact,.button-forest,.button-lime):hover {background:var(--forest);color:white;border-color:var(--forest);}
.home-page :is(.chapter-lead,.workflow-heading,.type-opening,.product-lead,.index-intro) {background:var(--paper);}
.home-page :is(.chapter-band,.workflow-next,.watch-pilot) {background:var(--sage);}
.home-page :is(.chapter-copy h1 em,.type-opening h1 em,.utility-intro h1 em,.workflow-lead h1 span,.text-link) {color:var(--editorial-teal);}
.home-page .workspace-mount,.home-page .capture-sheet {border-color:var(--line);}
.home-page .change-example {background:var(--deep-teal);color:white;}
.home-page .transfer-example {background:var(--sage);color:var(--ink);}
.home-page .transfer-example p {color:var(--muted);}
.home-page .workflow-evidence {margin:0;min-width:0;}
.workflow-evidence a {display:block;cursor:zoom-in;}
.workflow-evidence img {display:block;width:100%;height:auto;border:1px solid var(--line);}
.workflow-evidence figcaption {margin-top:.75rem;}
.workflow-evidence figcaption p,.workflow-evidence small {color:var(--muted);}
.home-page :is(.chapter-copy,.workflow-lead,.trust-intro,.product-deck) p {text-wrap:pretty;}
@media(max-width:480px){.home-page .type-opening h1 em {white-space:normal;}}

/* Shared navigation */
.home-page .site-nav {align-items:center}
.nav-group {position:relative}
.nav-group summary {display:flex;align-items:center;gap:.48rem;padding:.65rem .85rem;border-radius:.35rem;color:var(--muted);cursor:pointer;list-style:none}
.nav-group summary::-webkit-details-marker {display:none}
.nav-group summary::after {content:"";width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg)}
.nav-group[open] summary,.nav-group summary:hover {background:#edf3f1;color:var(--ink)}
.nav-pop {position:absolute;z-index:25;top:calc(100% + .45rem);left:0;width:19rem;background:white;border:1px solid var(--line);padding:.4rem;border-radius:8px;box-shadow:0 12px 34px #102c3226}
.site-nav .nav-pop a {display:block;padding:.85rem 1rem;color:var(--ink);font-weight:600;border-radius:5px}
.nav-pop small {display:block;margin-top:.18rem;font-size:.85rem;font-weight:400;color:var(--muted)}
.workflow-nav:has(a[aria-current="page"]) > summary {background:var(--lime);color:var(--forest)}
.workflow-nav[open] > summary::after {transform:translateY(1px) rotate(225deg)}
.workflow-nav .workflow-overview {border-bottom:1px solid var(--line);margin-bottom:.25rem}
@media (max-width: 800px) {
  .home-page .home-menu { position: static; }
  .home-menu > summary { display: grid; place-items: center; min-width: 48px; min-height: 44px; }
  .home-page .home-menu nav {
    inset: 100% 0 auto; width: auto; padding: .5rem 1rem;
    max-height: calc(100vh - 5rem); background: white; box-shadow: 0 12px 34px #102c3226;
  }
  .home-menu nav a, .mobile-workflows-toggle {
    display: flex; align-items: center; min-height: 44px; padding: .5rem .7rem;
  }
  .mobile-workflows-toggle {
    width: 100%; justify-content: space-between; border: 0; background: transparent;
    font: inherit; color: inherit; cursor: pointer; text-align: left;
  }
  .mobile-workflows-toggle::after {
    content: ""; width: .45rem; height: .45rem; border: solid currentColor;
    border-width: 0 1px 1px 0; transform: rotate(45deg);
  }
  .mobile-workflows-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
  .home-menu .mobile-workflow-links { margin-left: .75rem; padding-left: .5rem; border-left: 1px solid var(--line); }
  .home-menu [hidden] { display: none; }
}
.home-page .studio-hero {color:#fff;background:radial-gradient(ellipse at 82% 60%,#205461 0,transparent 54%),#102d36;overflow:hidden}
.studio-grid {display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);gap:3%;align-items:center;position:relative}
.studio-intro {position:relative;z-index:1;padding-block:clamp(4.25rem,7.7vw,8rem)}
.studio-intro h1 {font:500 clamp(3.5rem,5.4vw,6rem)/1.01 var(--font);letter-spacing:-.058em}
.home-page .studio-intro h1 em {display:block;color:#a9dfd1;font-size:1.05em;line-height:1.06}
.studio-intro p {max-width:43ch;margin:1.45rem 0 0;color:#e0eceb;line-height:1.55;font-size:clamp(1.03rem,1.28vw,1.22rem)}
.studio-actions {display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;margin-top:1.8rem}
.home-page .studio-primary {background:#e1f2ea;color:#103138;border:0;border-radius:5px}
.home-page .studio-primary:hover {background:white}
.studio-secondary {color:white;font-weight:500;text-underline-offset:5px}
.studio-art {position:relative;display:grid;align-items:center;justify-items:center;align-self:stretch;isolation:isolate;padding:2.25rem 0}
.thread-fold {position:absolute;width:125%;max-width:none;height:123%;object-fit:contain;left:-7%;top:-14%;z-index:-1;pointer-events:none}
.screen-switch {width:86%;margin-top:2rem;margin-left:5%;border:1px solid #b8d9d172;background:#fff;color:var(--ink);border-radius:9px;box-shadow:0 25px 65px #001c2690;overflow:hidden}
.screen-switch nav {display:flex;gap:1.25rem;padding:.1rem 1.25rem 0;background:#f1f6f5;border-bottom:1px solid #dae5e3}
.screen-switch nav a {display:block;padding:.72rem 0 .62rem;color:#526863;text-decoration:none;font-size:.93rem;font-weight:500;border-bottom:2px solid transparent}
.screen-switch nav a[aria-selected=true] {border-color:#246456;color:#17453d}
.screen-detail,.screen-detail img {display:block;width:100%;height:auto}
.studio-hero :focus-visible {outline:3px solid #94c6b8;outline-offset:2px}
.screen-switch a:focus-visible {outline-offset:-3px}
.source-rail {background:#f0f5f3;border-block:1px solid #d2e1db}
.source-rail .shell,.source-rail ul {display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}
.source-rail .shell {padding-block:1.15rem}
.source-rail a {color:#3b5654;font-size:.95rem;text-decoration:none}
.source-rail a:hover {text-decoration:underline}
.source-rail ul {list-style:none;margin:0;padding:0;gap:clamp(1.25rem,4.5vw,5rem)}
.source-rail li {font-size:clamp(.95rem,1.4vw,1.25rem);font-weight:600;letter-spacing:-.035em;color:#345250}
.product-spread {display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,4vw,4rem);padding-block:clamp(3rem,6vw,6rem)}
.product-spread article {min-width:0;display:flex;flex-direction:column}
.edition-name {margin:0 0 .7rem;color:#35675d;font-weight:600;font-size:.95rem}
.edition-copy h2,.work-directory h2 {font:500 clamp(2rem,3.2vw,3.5rem)/1.08 var(--font);letter-spacing:-.05em;text-wrap:balance}
.edition-copy h2+p {max-width:44ch;color:var(--muted);line-height:1.55;margin:1rem 0}
.edition-copy {margin-bottom:1.55rem}
.product-spread figure {margin:auto 0 0}
.edition-screen,.home-page :is(.workflow-evidence>a,.capture-sheet,.product-frame-section figure>a,.platform-sequence figure>a,.citation-art) {display:block;background:radial-gradient(ellipse at 76% 4%,#d6e9e3,transparent 68%),linear-gradient(125deg,#aacbc5,#749b9b);padding:clamp(1rem,2.45vw,2.65rem);border:1px solid #a0bfba;border-radius:7px;overflow:hidden;cursor:zoom-in}
.home-page .word-addin-preview-spread .capture-sheet,#for-word .edition-screen,.platform-sequence figure:nth-of-type(2)>a {background:linear-gradient(130deg,#d8e7ed,#9eb8c8);border-color:#afc2cd}
.edition-screen img,.home-page :is(.workflow-evidence,.capture-sheet,.product-frame-section,.platform-sequence,.citation-art) img {display:block;width:100%;height:auto;border:1px solid #ffffffba;border-radius:4px;box-shadow:0 6px 16px #153f4829}
.product-spread figcaption {line-height:1.4;font-size:.88rem;color:var(--muted);margin-top:.65rem}
.product-spread figcaption a {text-underline-offset:3px}
.home-page .citation-art img {max-width:458px;margin:auto}
.home-page .work-boundary .text-link {color:#d5f2e8}
.work-directory {display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2rem,7vw,6rem);padding-block:clamp(3rem,6vw,6rem)}
.work-directory h2 {max-width:16ch;margin:0 0 1.3rem}
.work-directory ul {list-style:none;padding:0;margin:0;border-top:1px solid #afc3bc}
.work-directory li {position:relative;display:grid;grid-template-columns:.9fr 1fr;align-items:baseline;gap:1rem;padding:1.3rem 0;border-bottom:1px solid #c6d6d1}
.work-directory li a {font-size:1.12rem;font-weight:600;color:var(--ink);text-decoration:none}
.work-directory li a::after {content:"";position:absolute;inset:0}
.work-directory li:hover a {text-decoration:underline;text-underline-offset:3px}
.work-directory li span {font-size:1rem;line-height:1.5;color:var(--muted)}
@media(max-width:850px){
 .studio-grid {grid-template-columns:1fr 1fr;gap:1%}
 .studio-intro h1 {font-size:clamp(3rem,6.2vw,4rem)}
 .screen-switch {width:96%;margin-left:0}
 .source-rail ul {gap:1.5rem}
}
@media(max-width:680px){
 .studio-grid,.product-spread,.work-directory {grid-template-columns:1fr}
 .studio-intro {padding:3rem 0 0}
 .studio-intro h1 {font-size:clamp(3.25rem,10.7vw,4.5rem)}
 .studio-intro p {margin-top:1rem}
 .studio-actions {margin-top:1.3rem}
 .studio-art {padding:2.4rem 0 2.7rem}
 .thread-fold {width:115%;height:150%;top:-18%}
 .screen-switch {width:90%;margin:0}
 .source-rail .shell {gap:.6rem}
 .source-rail ul {gap:.4rem 1.1rem}
 .product-spread {gap:2.5rem}
 .work-directory li {grid-template-columns:1fr;gap:.3rem}
}

.screen-detail {color:#21594f;text-decoration:none}
.screen-detail span {display:block;padding:.65rem 1.25rem;border-top:1px solid #dae5e3;font-size:.9rem;font-weight:500;background:#f9fbfa}
.screen-detail:hover span {text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.screen-switch{width:100%}.studio-art{padding-inline:.25rem}}


/* Company, quality controls and dedicated workflow pages. */
.home-page .brand-mark {display:block;flex:none;background:transparent}
.home-page .home-menu nav {max-height:calc(100dvh - 5rem);overflow-y:auto;overscroll-behavior:contain}
.home-page .site-header .nav-pop {z-index:35}
.home-page .studio-intro h1 {max-width:13.4ch;line-height:1.02;text-wrap:balance}
.home-page .atlas-intro h1 {max-width:17ch}
.home-page .site-footer nav {flex-wrap:wrap}
.home-page .blog-list a:focus-visible,.home-page .work-item h3 a:focus-visible {outline:3px solid #24786a;outline-offset:4px}
.home-page .work-item h3 a {color:#175c51;text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:1px}
.home-page .work-item h3 a:hover {text-decoration-thickness:2px}
.home-page .legal-contact {margin-top:1.5rem;color:var(--muted)}
.home-page .source-to-review {grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(0,1fr)}
.home-page .case-hero {background:#102e36;color:#fff}
.case-spread {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.93fr);align-items:center;gap:clamp(2.5rem,8vw,8rem);padding-block:clamp(3rem,6vw,6.5rem)}
.case-intro h1,.light-intro h1 {font:500 clamp(2.85rem,5.4vw,5.8rem)/1.035 var(--font);letter-spacing:-.055em;text-wrap:balance}
.case-intro h1 {max-width:15ch}
.case-intro>p:not(.section-label),.light-intro .shell>p:last-child {font-size:clamp(1.05rem,1.35vw,1.23rem);line-height:1.6;max-width:47ch;margin:1.15rem 0 1.6rem}
.case-intro>p {color:#dfebe8}
.section-label,.back-link,.role {display:block;font-size:1rem;font-weight:500;line-height:1.4;margin:0 0 1rem}
.case-intro .section-label,.case-intro .back-link {color:#a9d7cd}
.back-link,.text-link {text-underline-offset:.2em}
.case-intro .button.button-forest {background:#e1f2ea;color:#103138;border-color:#e1f2ea}
.case-intro .button.button-forest:hover {background:white}
.case-record {margin:0;background:#f9fcfa;color:#1a3038;box-shadow:0 14px 35px #041f2655;border:1px solid #c0d6d0;border-radius:7px;overflow:hidden}
.case-record figcaption {font-size:.93rem;color:#34554e;background:#e7f0eb;padding:.85rem clamp(1.15rem,2.5vw,2.3rem);border-bottom:1px solid #c8d9d1}
.record-paper {padding:clamp(1.15rem,2.5vw,2.3rem)}
.record-paper h2 {font:500 clamp(1.5rem,2.25vw,2.1rem)/1.15 var(--font);letter-spacing:-.035em;margin:0 0 1.3rem}
.record-paper .record-label {font-weight:600;font-size:.91rem;color:#376359;margin:1.2rem 0 .4rem}
.record-paper p,.record-paper blockquote {line-height:1.55;font-size:1.03rem}
.record-paper blockquote {margin:.35rem 0;padding:.35rem 0 .35rem .85rem;border-left:3px solid #76a89b}
.record-paper .text-link {display:inline-block;margin-top:1rem}
.control-spread,.compact-close,.blog-list article {display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(2rem,7vw,7rem);padding-block:clamp(2.8rem,5.3vw,5.4rem)}
.control-spread h2,.compact-close h2,.blog-list h2 {font:500 clamp(1.85rem,3.2vw,3.3rem)/1.12 var(--font);letter-spacing:-.045em;text-wrap:balance}
.control-spread p,.compact-close p,.control-list dd,.founders article>p:last-child,.blog-list article p {font-size:1.045rem;line-height:1.6;color:#425a63}
.control-spread p,.compact-close p {margin:.9rem 0;max-width:55ch}
.control-list {margin:0}
.control-list>div {border-top:1px solid #c5d6d2;padding:1.05rem 0 1.25rem}
.control-list>div:first-child {border-color:#8eada5}
.control-list dt {font-weight:600;font-size:1.15rem;margin:0 0 .3rem}
.control-list dd {margin:0}
.control-spread>div>p:first-child {margin-top:0}
.outcome-band,.light-intro {background:#edf3f0;border-block:1px solid #ccdbd5}
.compact-close {align-items:center}
.compact-close>div:last-child {display:flex;gap:1.3rem;flex-wrap:wrap}
.light-intro .shell {padding-block:clamp(2.7rem,5.5vw,5.5rem)}
.light-intro .section-label,.role {color:#34675c}
.light-intro .shell>p:last-child {margin-bottom:0;max-width:63ch;color:#425a63}
.founders {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.4rem,3.2vw,3.25rem);padding-block:clamp(2.5rem,5vw,5rem)}
.founders img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:5px}
.founders .role {margin:1.2rem 0 .35rem}
.founders h2 {font:500 clamp(1.65rem,2.4vw,2.35rem)/1.15 var(--font);letter-spacing:-.035em;margin:0 0 .75rem}
.blog-list article {border-bottom:1px solid #ccdbd5;align-items:start}
.blog-list h2 {font-size:clamp(1.8rem,2.8vw,2.7rem);margin:0 0 .8rem}
.blog-list h2 a {text-decoration:none;color:inherit}
.blog-list h2 a:hover {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.17em}
.blog-list .text-link {display:inline-block;margin-top:1rem}
.byline {display:flex;gap:.85rem;align-items:center}
.byline img {width:48px;height:48px;border-radius:50%;object-fit:cover}
.byline strong,.byline time {display:block}
.byline strong {font-weight:500}
.byline time {font-size:.92rem;color:var(--muted);margin-top:.1rem}
@media(max-width:760px) {
  .case-spread,.control-spread,.compact-close,.blog-list article {grid-template-columns:1fr;gap:1.7rem}
  .case-intro h1 {max-width:20ch}
  .founders {grid-template-columns:1fr}
  .founders article {display:grid;grid-template-columns:minmax(5.5rem,23%) 1fr;gap:.25rem 1rem;padding-top:1rem;border-top:1px solid #c5d6d2;align-content:start}
  .founders img {grid-row:1/4}
  .founders .role,.founders h2 {margin:0}
  .founders article>p:last-child {margin-top:.3rem}
}
@media(max-width:800px) {.home-page .source-to-review {grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference) {
  @keyframes review-appear {from {opacity:0;transform:translateY(6px)} to {opacity:1;transform:translateY(0)}}
  .screen-switch,.case-record {animation:review-appear .45s ease-out both}
  .screen-switch [role="tabpanel"]:not([hidden]) {animation:review-appear .22s ease-out}
  .nav-group[open] .nav-pop {animation:review-appear .16s ease-out}
  .button,.nav-contact {transition:background-color .18s,color .18s}
}

/* Keep link labels clear in every interaction state. */
a:any-link, a:any-link :is(span, strong, em), .link-button { text-decoration-line: none !important; }
