@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink:#16273a; --paper:#f7f9fa; --line:#dce4eb; --muted:#4b5f71; --accent:#204d71;
  --sans:"DM Sans",system-ui,sans-serif; --work:"Manrope",system-ui,sans-serif; --serif:"Instrument Serif",Georgia,serif;
  font-family:var(--sans); color:var(--ink); background:var(--paper); font-size:100%;
}
* {box-sizing:border-box}
body {margin:0; min-width:300px}
img {display:block;max-width:100%}
a {color:inherit; text-decoration:none}
button,select {font:inherit;color:inherit}
button {cursor:pointer}
a:focus-visible,button:focus-visible,select:focus-visible,[tabindex]:focus-visible,summary:focus-visible {outline:3px solid #247da9;outline-offset:4px}
h1,h2,h3,p {margin:0}
p {line-height:1.55}
h1 {font-size:clamp(2.2rem,5vw,4.75rem);line-height:1.04;letter-spacing:-.045em}
h2 {font-size:clamp(1.35rem,2.8vw,2.3rem);line-height:1.12;letter-spacing:-.027em}
h3 {font-size:1.15rem;line-height:1.22}
section[id],.panel[id] {scroll-margin-top:5.5rem}
.skip {position:fixed;left:1rem;top:-4rem;padding:.75rem;background:white;z-index:10}
.skip:focus {top:.5rem}
.review-bar {position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:.75rem clamp(1rem,4vw,3.75rem);min-height:64px;background:#fff;border-bottom:1px solid var(--line)}
.brand {display:inline-flex;align-items:center;gap:.65rem;font-weight:700;width:max-content}
.brand-mark {height:15px;width:15px;border:1.7px solid currentColor;transform:rotate(45deg);display:inline-block;position:relative}
.brand-mark::before {content:"";position:absolute;inset:3px;border-left:1px solid;border-top:1px solid}
.review-bar nav {display:flex;gap:1.35rem}
.review-bar nav a,.current-name {font-size:.9rem;color:var(--muted)}
.review-bar .select {justify-self:end;white-space:nowrap}
#choice-count {margin-inline-start:.4rem;font-variant-numeric:tabular-nums}
.quiet,.button {display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.55rem .9rem;font-weight:700;border-radius:5px;border:1px solid transparent;font-size:.875rem}
.quiet {background:transparent;border-color:var(--line)}
.quiet:hover {background:#eef5f8}
.select[aria-pressed=true] {color:#214e43;background:#e1f0e8;border-color:#b1d0be}
.button {min-height:46px;padding:.65rem 1rem;background:var(--accent);color:#fff}
.button:hover {filter:brightness(1.14)}
.button:disabled {opacity:.55;cursor:not-allowed}
.gallery-hero {max-width:1510px;min-height:28rem;margin:0 auto;display:grid;grid-template-columns:1fr 1.1fr;background:#101c2e;color:#eff7fb}
.gallery-hero > div {padding:clamp(2.3rem,6vw,6.5rem);align-self:center}
.gallery-hero h1 {font-family:var(--serif);font-size:clamp(3.15rem,6.5vw,6.4rem);font-weight:400;letter-spacing:-.027em;max-width:9.5em;line-height:.92}
.gallery-hero p {color:#c7d9e6;max-width:30ch;margin:1.2rem 0 1.65rem}
.gallery-hero img {height:100%;width:100%;object-fit:cover;object-position:72% center;min-height:15rem}
.gallery-hero .button {color:#16273a;background:#d9ebf3}
.gallery-section {padding:clamp(2.6rem,6vw,5.2rem) clamp(1rem,6vw,5.2rem);max-width:1510px;margin:auto}
.gallery-section + .gallery-section {border-top:1px solid var(--line)}
.section-heading {display:flex;justify-content:space-between;align-items:end;gap:1.25rem;margin-bottom:1.4rem}
.section-heading p {max-width:37ch;color:var(--muted)}
.concept-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.concept-card {display:flex;flex-direction:column;align-items:start;justify-content:space-between;gap:.8rem;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.concept-card > a {display:block;width:100%;flex:1}
.concept-card > a:hover h3 {text-decoration:underline;text-underline-offset:4px}
.concept-card h3 {margin:1rem 1rem .35rem}
.concept-card p {margin:0 1rem;color:var(--muted);font-size:.9rem}
.concept-card > button {margin:0 1rem .9rem}
.swatch {height:8rem;background:var(--screen,#cedce6);overflow:hidden}
.swatch img {width:100%;height:100%;object-fit:cover}
.swatch.market img {width:75%;margin:0 auto;border-left:8px solid #e4c486;border-right:8px solid #e4c486}
.swatch.market {background:#344e42}
.mini-layout {display:grid;height:calc(100% - 2.2rem);width:calc(100% - 2.4rem);margin:1.1rem auto;grid-template-columns:1fr 2fr 1.4fr;grid-template-rows:1fr 1.8fr;gap:.3rem}
.mini-layout span {border-radius:2px;background:var(--highlight,#fff);opacity:.88}
.mini-layout span:first-child {grid-row:span 2;background:var(--rail,#3b627f)}
.mini-layout span:nth-child(2) {grid-column:span 2}
.swatch.ledger .mini-layout span:nth-child(3) {grid-column:span 2}
.swatch.inbox .mini-layout {grid-template-columns:1fr 1fr 2fr}
.swatch.brief .mini-layout {grid-template-columns:1fr 1.6fr 1.6fr;transform:rotate(-2deg)}
.swatch.upload .mini-layout span:last-child,.swatch.feed .mini-layout span:nth-child(3) {border:2px dashed var(--rail,#3b627f)}
.swatch.snapshot .mini-layout {width:55%;grid-template-columns:1fr 1fr}
.swatch.snapshot .mini-layout span:first-child {grid-column:span 2;grid-row:span 1}
dialog {width:min(92vw,30rem);border:1px solid var(--line);border-radius:10px;padding:1.35rem;color:var(--ink)}
dialog::backdrop {background:#121e2ac7}
dialog .close {float:right}
dialog h2 {margin:1rem 0}
dialog ul {list-style:none;padding:0}
dialog li {border-bottom:1px solid var(--line);padding:.65rem 0}
dialog li span {color:var(--muted);font-size:.85rem}
dialog li a {font-weight:700;text-decoration:underline}
dialog .button {margin-top:1rem}
#copy-status {margin-top:.55rem}
.landing {--accent:#244d66;background:#f9fbfc;min-height:100vh}
.landing-nav {display:flex;gap:1.4rem;justify-content:center;padding:1rem 1.3rem;border-bottom:1px solid #dce4eb;font-weight:700;background:#fff}
.landing-hero {isolation:isolate;overflow:hidden;position:relative}
.landing-copy {padding:clamp(2.1rem,7vw,7rem);position:relative}
.landing-copy h1 {font:400 clamp(3.4rem,8vw,7.7rem)/.93 var(--serif);letter-spacing:-.026em;max-width:9.5em}
.landing-copy p {margin:1.25rem 0 1.55rem;max-width:37ch;font-size:clamp(1rem,1.6vw,1.18rem)}
.landing-photo {width:100%;height:100%;object-fit:cover}
.midnight.landing {--accent:#2a5475}
.midnight .landing-hero {min-height:min(68vw,36rem);background:#101b2b;color:#edf6fc;display:flex;align-items:center}
.midnight .landing-photo {position:absolute;inset:0;z-index:-2;object-position:65% center}
.midnight .landing-hero::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081421 5%,#081421cc 39%,#0814210f 90%);z-index:-1}
.midnight .button {background:#d9ebf6;color:#122c42}
.index .landing-hero {min-height:25rem;display:grid;grid-template-columns:1fr .8fr;background:#e5edf2}
.index .landing-photo {grid-column:2;grid-row:1;object-position:57% center}
.index .landing-copy {grid-column:1;grid-row:1}
.index .landing-copy h1 {font:800 clamp(2.45rem,5.6vw,5.5rem)/1 var(--work);letter-spacing:-.068em}
.craft.landing {--accent:#654336;background:#f6f2eb;color:#342720}
.craft .landing-hero {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;max-width:1450px;margin:auto;padding:clamp(1rem,4vw,3rem)}
.craft .landing-copy {padding:clamp(1rem,5vw,5rem)}
.craft .landing-photo {aspect-ratio:1.15;object-position:67% center;border-radius:50% 50% 3px 3px}
.market.landing {--accent:#28493e;background:#f6f6ee;color:#203e31}
.market .landing-hero {background:#e4ecdf}
.market .landing-copy {text-align:center;padding:clamp(2rem,5vw,4.5rem) 1rem 2rem}
.market .landing-copy h1,.market .landing-copy p {margin-inline:auto}
.market .market-hero > .collection-cards {padding:0 clamp(1rem,6vw,6.5rem) 2.65rem;max-width:1450px;margin:auto}
.landing-content,.trade {padding:clamp(2rem,6vw,5rem) clamp(1rem,6vw,6.5rem);max-width:1450px;margin:auto}
.landing-content > h2 {margin-bottom:1.25rem}
.collection-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-bottom:1.3rem}
.collection-card {padding:0;text-align:left;background:#fff;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.collection-card:hover {border-color:var(--accent)}
.collection-card img {aspect-ratio:2.65;width:100%;object-fit:cover}
.collection-card span {padding:.85rem;display:block}
.collection-card strong {display:block;font-size:1.1rem}
.collection-card small {display:block;margin-top:.25rem;font-size:.88rem;line-height:1.4}
.trade {border-block-start:1px solid var(--line)}
.trade p {margin:.6rem 0 1rem}
.desk {--rail:#173657;--screen:#a9c0d5;--highlight:#e9f1f7;--accent:#275c85}
.inbox {--rail:#53434f;--screen:#d8c4cf;--highlight:#f5ebf2;--accent:#784972}
.ledger {--rail:#243842;--screen:#91a9ab;--highlight:#e0ece9;--accent:#2d615f}
.brief {--rail:#633f34;--screen:#d6bfae;--highlight:#f5ebe0;--accent:#834d32}
.stock {--rail:#29482f;--screen:#acc3ab;--highlight:#e7f0e3;--accent:#346a42}
.upload {--rail:#354978;--screen:#aab9df;--highlight:#e6ebfc;--accent:#425fa5}
.feed {--rail:#123a42;--screen:#86b4bf;--highlight:#dff4f7;--accent:#185a69}
.snapshot {--rail:#634f37;--screen:#dfc899;--highlight:#fff8de;--accent:#745831}
.suite {font-family:var(--work);display:grid;grid-template-columns:11rem minmax(0,1fr);max-width:1550px;margin:auto;min-height:calc(100vh - 64px)}
.suite aside {background:var(--rail);min-height:100%;color:white}
.suite-nav {position:sticky;top:5.5rem;display:grid;gap:.3rem;padding:1.25rem .85rem}
.suite-nav a {padding:.68rem .75rem;line-height:1.4;border-radius:4px;font-weight:700}
.suite-nav a:hover {background:#ffffff2a}
.suite-body {padding:clamp(1rem,4vw,3rem);display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:1rem;min-width:0}
.suite-head {display:flex;justify-content:space-between;align-items:start;gap:1rem;padding:0 0 .9rem}
.suite-head p {font-weight:700;color:var(--accent);margin-bottom:.47rem}
.suite-head h1 {font-size:clamp(2rem,4.5vw,4.4rem);letter-spacing:-.055em}
.prototype-tag {border:1px solid var(--line);border-radius:2px;font-size:.84rem;padding:.35rem .55rem;white-space:nowrap}
.suite.brief .suite-head,.suite.snapshot .suite-head {padding:1.2rem;background:var(--highlight);border-top:3px solid var(--accent)}
.suite.brief .suite-head h1,.suite.snapshot .suite-head h1 {font-family:var(--serif);font-weight:400}
.suite.inbox .approval-panel {border-top:4px solid var(--accent)}
.suite.ledger .stock-panel {border-top:4px solid var(--accent)}
.suite.feed #feed-history {background:var(--highlight);border-top:4px solid var(--accent)}
.suite.snapshot {grid-template-columns:1fr}
.suite.snapshot aside {min-height:auto}
.suite.snapshot .suite-nav {display:flex;flex-wrap:wrap}
.suite.snapshot .suite-body {max-width:1200px;width:100%;margin:auto}
.stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.stats > div {display:grid;align-content:center;gap:.25rem;min-height:7rem;padding:.85rem 1rem;background:var(--highlight,#e6edf2);border-top:2px solid var(--accent);border-radius:3px}
.stats strong {font-size:clamp(1.5rem,3.7vw,2.5rem);letter-spacing:-.055em}
.stats span {font-size:.875rem}
.split {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:1rem}
.panel {border:1px solid var(--line);border-radius:6px;background:#fff;min-width:0}
.panel-head {display:flex;gap:.75rem;justify-content:space-between;align-items:center;padding:.9rem 1rem;border-bottom:1px solid var(--line)}
.panel-head h2,.priority h2 {font-size:clamp(1.05rem,1.8vw,1.35rem);letter-spacing:-.015em}
.panel-head p {font-size:.88rem;color:var(--muted);white-space:nowrap}
label {display:flex;align-items:center;gap:.45rem;font-size:.88rem;font-weight:700}
select {appearance:none;min-height:40px;background:#fff linear-gradient(45deg,transparent 50%,currentColor 0) right 14px center/5px 5px no-repeat;border:1px solid #a7b8c4;border-radius:5px;padding:.3rem 1.75rem .3rem .55rem}
.table-scroll {max-width:100%;overflow-x:auto}
table {border-collapse:collapse;width:100%;font-size:.9rem;font-variant-numeric:tabular-nums}
th,td {text-align:left;white-space:nowrap;padding:.74rem .9rem;border-bottom:1px solid #e9edf1}
th {background:#f3f7fa;font-weight:750}
tr:last-child td {border-bottom:0}
.pill {display:inline-block;border-radius:3px;background:#e5f3ed;color:#245244;font-weight:700;font-size:.82rem;padding:.25rem .43rem;white-space:nowrap}
.pill.in-review,.pill.needs-review,.pill.declined {color:#774315;background:#f8ead6}
.pill.unchanged,.pill.reserved {color:#3f576b;background:#e9eef3}
.empty {padding:.8rem}
.approval-layout {display:grid;grid-template-columns:minmax(9rem,1fr) minmax(0,1.15fr)}
.request-list {border-right:1px solid var(--line)}
.request {display:grid;gap:.27rem;text-align:left;padding:.75rem .8rem;background:#fff;border:none;border-bottom:1px solid var(--line);width:100%;font:inherit}
.request[aria-pressed=true] {background:var(--highlight);border-left:3px solid var(--accent)}
.request span {font-size:.8rem;color:var(--muted)}
.request-detail {padding:1rem;min-width:0}
.request-detail dl {display:grid;grid-template-columns:auto 1fr;gap:.45rem .7rem;font-size:.87rem}
.request-detail dt {color:var(--muted)}
.request-detail dd {margin:0}
.actions {display:flex;gap:.35rem;flex-wrap:wrap}
.feed-list details {border-bottom:1px solid var(--line);padding:.55rem .85rem;background:#ffffffab}
.feed-list details:last-child {border:0}
.feed-list summary {cursor:pointer;min-height:34px;padding:.25rem 0}
.feed-list summary strong,.feed-list summary span {margin-left:.4rem}
.feed-list summary > span:not(.pill) {font-size:.85rem;color:var(--muted)}
.feed-list details p {font-size:.9rem;padding:.55rem 0 .25rem}
.priority {padding:.9rem 1rem}
.priority a {display:flex;justify-content:space-between;align-items:center;gap:.45rem;border-top:1px solid var(--line);padding:.7rem 0;font-size:.9rem}
.priority h2 {margin-bottom:.65rem}
.priority a:hover strong {text-decoration:underline}
.priority a span {color:var(--muted)}
.upload-content {padding:1rem}
.upload-zone {margin-top:.8rem;padding:1rem;border:1px dashed var(--accent);background:var(--highlight);border-radius:4px}
.upload-zone p {font-size:.9rem;margin:.3rem 0 .7rem}
#upload-result:not(:empty) {margin-top:.8rem;padding:.7rem;background:#e7f2ed;color:#285744;border-radius:4px}
@media(max-width:1110px) {
  .split {grid-template-columns:1fr}
  .concept-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px) {
  .review-bar {grid-template-columns:1fr auto;gap:.5rem}
  .review-bar nav,.current-name {display:none}
  .gallery-hero {grid-template-columns:1fr}
  .gallery-hero img {aspect-ratio:2.4;min-height:0;object-position:right}
  .section-heading {display:grid;gap:.35rem}
  .suite {grid-template-columns:1fr}
  .suite aside {min-height:auto}
  .suite-nav {display:flex;flex-wrap:wrap;padding:.45rem}
  .suite-nav a {padding:.5rem;font-size:.85rem}
  .index .landing-hero,.craft .landing-hero {grid-template-columns:1fr}
  .index .landing-photo,.index .landing-copy {grid-column:1;grid-row:auto}
  .index .landing-photo {aspect-ratio:2.7}
  .craft .landing-photo {aspect-ratio:2.1;border-radius:6px}
  .collection-cards {grid-template-columns:1fr}
  .collection-card {display:grid;grid-template-columns:1fr 1.4fr}
  .collection-card img {height:100%;object-fit:cover;aspect-ratio:1.58}
}
@media(max-width:470px) {
  .concept-grid {grid-template-columns:1fr}
  .swatch {height:8.5rem}
  .suite-body {padding:.75rem}
  .suite-head {gap:.3rem}
  .stats {grid-template-columns:1fr}
  .stats > div {min-height:3.5rem;display:flex;align-items:center}
  .stats > div span {margin-left:auto}
  .panel-head {align-items:start;flex-wrap:wrap}
  .approval-layout {grid-template-columns:1fr}
  .request-list {border-right:0}
  .request-detail {border-top:1px solid var(--line)}
  .midnight .landing-hero {min-height:28rem}
  .midnight .landing-hero::after {background:linear-gradient(90deg,#081421ed,#08142178)}
}
