:root {
  --ink: #202325;
  --accent: #252a2c;
  --muted: #50565a;
  --line: #d9dcdd;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.55 "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #27617e; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1296px, 90%); margin-inline: auto; }
.footer-links, .product-filters { display: flex; flex-wrap: wrap; align-items: center; }
.hero { background: #16253b; color: #f7f6ef; }
.button, .work-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 650; text-decoration: none; }
.work-footer a:hover { text-decoration: underline; }
.atlas-layout {
  display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1fr);
  align-items: center; gap: 4%; padding-block: clamp(32px,4.5vw,70px);
}
.hero h1 { font-size: clamp(3.5rem,7.3vw,7rem); font-weight: 580; line-height: .98; letter-spacing: -.067em; }
.hero h1 em { font-style: normal; color: #a3d9ef; }
.atlas-copy p { max-width: 34ch; font-size: clamp(1rem,1.45vw,1.25rem); line-height: 1.55; color: #e3e8ef; margin-top: 20px; }
.collections { display: grid; border-top: 1px solid #566272; }
.collection-row { display: flex; align-items: center; border-bottom: 1px solid #566272; }
.collection-row:hover, .collection-row:focus-within { background: #20344d; }
.collection { flex: 1; min-width: 0; display: grid; grid-template-columns: 25% minmax(0,1fr); align-items: center; gap: clamp(10px,1.5vw,22px); padding: clamp(12px,1.7vw,25px) 4px; text-decoration: none; }
.collection-preview { display: block; padding: 4px; background: #cbd2d7; transform: rotate(-2deg); }
.collection-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; object-position: top; }
.collection-label strong, .collection-label small { display: block; }
.collection-label strong { font-size: clamp(1rem,1.85vw,1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.collection-label small { margin-top: 4px; color: #ccd6e0; font-size: clamp(.85rem,1.1vw,1rem); line-height: 1.4; }
.collection:hover strong { text-decoration: underline; }
.preview-toggle { width:44px; height:44px; flex:none; background:transparent; color:#a3d9ef; border:0; font-family:inherit; font-size:1.35rem; cursor:pointer; }
.preview-toggle:hover { background: #2d425a; }
.hero :focus-visible { outline-color: #a3d9ef; outline-offset: 0; }
#preview-dialog { padding: clamp(14px,2vw,24px); width: min(720px,92vw); max-height: 90vh; overflow: auto; border: 1px solid #ccd6e0; border-radius: 8px; color: #16253b; background:#fff; }
#preview-dialog::backdrop { background: rgba(12,22,37,.76); }
.preview-head { display:flex; gap:16px; justify-content:space-between; align-items:center; margin-bottom:12px; }
.preview-head h2 { font-size:1.35rem; }
.preview-head button { min-height:44px; padding-inline:16px; background:#16253b; color:white; border:0; border-radius:5px; font:inherit; cursor:pointer; }
#preview-image { width:100%; height:auto; display:block; }
#preview-caption { margin-top:10px; }
.button { padding:9px 20px; border-radius:9px; }
.button.light { margin-top:18px; }
.catalog { border-top: 1px solid var(--line); padding-block: clamp(40px,5vw,82px); }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.catalog h2, .studio h2 { font-size: clamp(2rem,3.4vw,3.4rem); font-weight: 600; line-height: 1.12; letter-spacing: -.065em; }
.filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-filters { gap: 6px; margin-block: 18px 24px; }
.product-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 17px; border: 1px solid var(--line); border-radius: 32px; text-decoration: none; font-weight: 600; font-size: .89rem; scroll-margin-top: 90px; }
.product-filters a:hover { border-color: var(--accent); }
.product-filters a[aria-current] { background: var(--ink); color: white; border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,1.8vw,30px); }
.work-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.product-preview { padding: 20px 10% 0; background: #edf0ef; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-screen { width: 100%; height: auto; display: block; aspect-ratio: 2.5; object-fit: cover; object-position: top; border-radius: 6px 6px 0 0; box-shadow: 0 1px 9px #17212421; }
.product-copy, .work-footer { padding-inline: clamp(16px,1.5vw,26px); }
.product-copy { padding-top: 16px; }
.product-name { font-size: clamp(1.45rem,2.1vw,2.05rem); line-height: 1.18; letter-spacing: -.05em; font-weight: 650; }
.work-title { font-weight: 650; margin-top: 7px; }
.work-outcome { color: var(--muted); margin-top: 6px; }
.work-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 16px; margin-top: auto; padding-block: 13px 16px; }
.work-footer .open-tool { color: var(--ink); text-decoration: underline; }
.work-footer .link-subtle { font-size: .84rem; color: var(--muted); text-decoration: underline; }
.studio { background: #24292b; color: #fff; }
.studio-inner { padding-block: clamp(40px,5.5vw,88px); }
.studio-inner > div:first-child { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 8px 8%; align-items: start; }
.studio h2 { max-width: 15ch; font-size: clamp(2.5rem,4.8vw,4.8rem); grid-row: span 2; }
.studio p { color: #e4e7e8; max-width: 54ch; }
.studio .button { justify-self: start; color: var(--ink); background: white; }
.studio .button:hover { background: #e7ebec; }
.studio :focus-visible { outline-color: white; }
#process { margin-top: clamp(34px,4vw,64px); }
#process h3 { font-size: 1.25rem; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2.6vw,40px); list-style: none; padding: 0; margin-top: 15px; counter-reset: step; }
.steps li { border-top: 1px solid #788083; padding-top: 14px; counter-increment: step; }
.steps h4 { font-size: 1.03rem; margin-bottom: 6px; }
.steps h4::before { content: counter(step) ". "; color: #bec8ca; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 18px; padding-block: 32px; }
.footer-signature { display: grid; gap: 4px; }
.footer-links { width: min(100%,650px); gap: 0 20px; }
.footer-signature .brand { display: inline-flex; align-items: center; font-size: 1.32rem; font-weight: 750; letter-spacing: -.055em; text-decoration: none; }
.footer-links a, .site-footer small { color: var(--muted); font-size: .85rem; }
.footer-links a { display: inline-flex; min-height: 40px; align-items: center; }
@media (max-width: 950px) {
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .atlas-layout, .studio-inner > div:first-child { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .atlas-layout { padding-block: 24px; }
  .hero h1 { font-size: clamp(2.7rem,11.4vw,4rem); }
  .atlas-copy p { margin-top: 12px; }
  .collection { grid-template-columns: 66px minmax(0,1fr); padding-block: 11px; }
  .collection-label small { margin-top: 2px; }
  .catalog { border-top: 1px solid var(--line); padding-block: 32px; }
  .product-filters a { padding-inline: 12px; }
  .work-grid, .steps { grid-template-columns: minmax(0,1fr); }
  .studio h2 { grid-row: auto; }
  .studio .button { margin-top: 0; }
  .product-screen { aspect-ratio: 3; }
}
