/* Archive Studio+ marketing shell — dark store chrome (design 2026-12-01).
   Align with CURSOR-DESIGN-archivestudioplus-com-20261201. Preview only. */

:root {
  color-scheme: dark;
  --bg: #131313;
  --studio: rgb(19, 19, 19);
  --s1: #161618;
  --s2: #1e1e21;
  --s3: #29292d;
  --ink: #f3f3f4;
  --muted: #a1a1a8;
  --quiet: #6c6c73;
  --accent: #5aa890;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --font: Poppins, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --rs: 999px;
  --ri: 8px;
  --r: 10px;
  --hh: 46px;
  --btn-h: 42px;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font: 400 14px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4, button, input, select, textarea, .landing__cta, nav {
  font-family: inherit;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: #fff; }

.visually-hidden, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  border-radius: var(--rs);
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* —— Header: P3a icon only —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--hh);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(12px, 3vw, 28px);
  background: rgba(14, 14, 16, 0.92);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header__home {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #5aa890;
  text-decoration: none;
}

.site-header__mark {
  width: 40px;
  height: 40px;
  display: block;
  image-rendering: auto;
}

@media (max-width: 720px) {
  .site-header__home { width: 36px; height: 36px; }
  .site-header__mark { width: 34px; height: 34px; }
}

.site-header__nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-header__nav::-webkit-scrollbar { display: none; }

.site-header__nav a {
  height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--rs);
  font-size: 12px;
  font-weight: 500;
  color: var(--quiet);
  white-space: nowrap;
}

.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.site-header__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  margin-left: 4px;
  border-radius: var(--rs);
  color: #f3f3f4;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}
.site-header__signin:hover,
.site-header__signin:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.site-header__signin:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-header__signin svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}
.site-header__signin-label { white-space: nowrap; }

.site-header__menu {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: var(--rs);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.site-header__menu:hover { background: rgba(255, 255, 255, 0.06); }
.site-header__menu-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(11, 11, 12, 0.55);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.site-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  width: min(20rem, 88vw);
  height: 100%;
  margin: 0;
  padding: 16px 16px 28px;
  background: #0b0b0c;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.site-nav-drawer[hidden],
.site-nav-backdrop[hidden] { display: none !important; }
.site-nav-drawer a {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--rs);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.site-nav-drawer a:hover,
.site-nav-drawer a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
}
.site-nav-drawer__close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--rs);
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-header__nav { display: none; }
  .site-header__menu { display: inline-flex; }
  .site-header__signin-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .site-header__signin {
    width: 44px;
    padding: 0;
  }
}

/* —— Landing (no large logo card) —— */
.landing {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.landing__stage {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 4rem) 0 clamp(3rem, 8vh, 5rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}

.landing__title {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.landing__lede {
  margin: 0 0 24px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
  opacity: 1;
  transform: none;
  animation: none;
}

.landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  opacity: 1;
  transform: none;
  animation: none;
}

.landing__cta,
.asp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--btn-h);
  height: auto;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  color: #0b0b0c;
  background: #f3f3f4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.landing__cta:hover:not(.landing__cta--ghost),
.asp-btn:hover:not(.asp-btn--ghost) {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  color: #0b0b0c;
}

.landing__cta:focus-visible,
.asp-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.landing__cta:disabled,
.asp-btn:disabled,
.landing__cta[aria-disabled="true"],
.asp-btn[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.landing__cta--ghost,
.asp-btn--ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.landing__cta--ghost:hover,
.asp-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.asp-btn--block { width: 100%; }

.asp-social {
  display: grid;
  gap: 10px;
  max-width: 22rem;
  margin: 1.25rem 0 0;
}

.asp-social__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.asp-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.asp-social__link:hover,
.asp-social__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.asp-social__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.asp-social__mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.asp-social__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 22rem;
  margin: 1.25rem 0 0;
  color: var(--quiet);
  font-size: 12px;
}

.asp-social__divider::before,
.asp-social__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.landing__featured {
  margin-top: clamp(2rem, 6vh, 3rem);
}

.landing__featured-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--quiet);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing__featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .landing__featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.landing__featured-tile {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.landing__featured-tile .im {
  aspect-ratio: 1;
  border-radius: var(--ri);
  overflow: hidden;
  background: var(--studio);
}

.landing__featured-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing__featured-tile .common {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing__featured-tile .sci {
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.draft { display: none !important; }

.legal-draft-banner {
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--s1);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

/* —— Doc pages —— */
.doc-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.doc-main {
  width: min(100% - 2rem, 40rem);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vh, 2.75rem) 0 clamp(3rem, 8vw, 4.5rem);
  flex: 1;
}

.doc-main h1 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.doc-main .doc-lede {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.doc-main h2 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.doc-main p,
.doc-main li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.doc-main p { margin: 0 0 12px; }

.doc-main ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  display: grid;
  gap: 6px;
}

.doc-main .meta {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0;
  color: var(--quiet);
}

.doc-main a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.doc-main a:hover { color: #fff; }
/* Social sign-in pills must not inherit doc-link underlines. */
.doc-main .asp-social__link,
.doc-main .asp-social__link:hover,
.doc-main .asp-social__link:focus-visible,
.doc-main .asp-social__link span {
  text-decoration: none;
}

/* —— Footer —— */
.site-footer {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-start;
  align-items: center;
  font-size: 12px;
  color: var(--quiet);
}

.site-footer a {
  color: var(--quiet);
  text-decoration: none;
}

.site-footer a:hover { color: var(--muted); }

.site-footer__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

/* Legacy wordmark class — force icon-only sizing if any page still references it */
.site-header__logo {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .landing__stage {
    width: min(100% - 1.5rem, 44rem);
    padding: 2rem 0 3rem;
  }
}

/* Quiet landing: icon header, one line, animated hero gallery. */
.landing .site-header__nav,
.landing .site-header__signin-label { display: none !important; }
.landing .landing__stage {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 1.5rem;
}
.landing__line {
  margin: 0;
  padding: 1.25rem 1.25rem 0.75rem;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.landing__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: #131313;
  min-height: 46vh;
}
.landing__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #131313;
  overflow: hidden;
}
.landing__frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.landing__frame img.is-on { opacity: 1; }
.landing__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 0.8rem 0.8rem;
  background: linear-gradient(transparent, rgba(19,19,19,.88));
  color: #f3f3f4;
  opacity: 0;
  transition: opacity .35s ease;
}
.landing__frame:hover .landing__cap,
.landing__frame:focus-within .landing__cap,
.landing__frame.is-open .landing__cap { opacity: 1; }
.landing__cap .sci { font-size: 13px; font-style: italic; }
.landing__cap .common { font-size: 12px; color: var(--muted); }
.landing__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
@media (max-width: 719px) {
  .landing__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .landing__frame img { transition: none; }
}

.doc-shell .site-header__nav,
.doc-shell .site-header__menu,
.doc-shell .site-nav-drawer,
.doc-shell .site-nav-backdrop,
.doc-shell .site-header__signin-label { display: none !important; }
.doc-shell .site-header { display: flex; align-items: center; justify-content: space-between; }
.site-header__browse {
  margin-left: auto;
  margin-right: 14px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.doc-shell h1 {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  text-align: center;
}
.doc-shell .asp-social {
  width: min(360px, 100%);
  margin: 18px auto 0;
  gap: 12px;
}
.doc-shell .asp-social__link {
  width: 100%;
  height: 52px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #f2f2f0;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 500;
  justify-content: center;
}
.doc-shell .asp-social__link:hover { background: rgba(255, 255, 255, 0.08); }
.doc-shell .asp-social__link:focus-visible {
  outline: 2px solid #5aa890;
  outline-offset: 2px;
}
.signin-foot {
  margin: 18px 0 0;
  text-align: center;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.signin-foot a { color: inherit; }
