/* Vacuum on vacuum.acific.com, in the acific.labs card language. */
:root {
  --wall: #f5f5f4; --card: #ebebeb; --ink: #1f1f1f; --muted: #747474; --faint: #a3a3a3; --rule: #d5d5d5;
  --chip: #f0c64a; --band: #5f9e98;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 7.5vw, 66px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--wall); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 15px;
  line-height: 1.45; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11"; }
::selection { background: var(--ink); color: var(--card); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.muted { color: var(--muted); }
.u { border-bottom: 1px solid var(--faint); transition: border-color .2s; }
.u:hover { border-color: var(--ink); }
.lab-id, .mono { font-family: var(--mono); font-weight: 400; letter-spacing: -0.01em; }

/* The card: rounded top, scalloped ticket edge, colour band */
.wall { padding: clamp(0px, 3vw, 40px) clamp(0px, 3vw, 40px) clamp(0px, 4vw, 56px); }
.card { position: relative; max-width: 760px; margin: 0 auto; min-height: 100vh; background: var(--card);
  border-radius: 28px 28px 0 0; padding: 104px var(--pad) 64px; display: flex; flex-direction: column;
  --scallop: radial-gradient(circle at 7px 100%, transparent 5px, #000 5.5px) left bottom / 14px 8px repeat-x;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, var(--scallop);
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, var(--scallop); }
.card::before { content: ""; position: absolute; top: 22px; left: 28px; right: 28px; height: 8px; border-radius: 999px; background: var(--band); }

/* Head: α key, lab ID, status chip */
.card-head { display: grid; grid-template-columns: 1fr minmax(150px, 260px) auto; gap: 16px; align-items: start; margin-bottom: 72px; }
.mark .alpha { display: inline-block; width: 44px; height: 44px; background: var(--band);
  -webkit-mask: url("/assets/key.svg") center / 100% no-repeat; mask: url("/assets/key.svg") center / 100% no-repeat;
  color: transparent; overflow: hidden; transition: transform .4s var(--ease); }
.mark:hover .alpha { transform: rotate(-8deg); }
.meta { font-size: 13px; line-height: 1.3; }
.chip { justify-self: end; white-space: nowrap; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--chip); color: var(--ink); }

.title { font-size: clamp(30px, 4.4vw, 38px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  border-top: 1px solid var(--rule); padding: 38px 0 0; }
.by { font-size: clamp(20px, 2.6vw, 25px); letter-spacing: -0.015em; padding: 4px 0 40px; border-bottom: 1px solid var(--rule); }

.fig { margin: clamp(40px, 8vw, 84px) 0 clamp(36px, 6vw, 64px); display: flex; justify-content: center; }
.fig svg { width: min(100%, 520px); height: auto; aspect-ratio: 1; overflow: visible; display: block; }
.spin { transform-origin: 250px 250px; animation: spin 60s linear infinite; }
.spin.rev { animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hint { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--faint); margin: -28px 0 48px; letter-spacing: .02em; }

/* Sections */
.sect { padding: 32px 0; border-top: 1px solid var(--rule); }
.label { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.lede { font-size: clamp(20px, 2.6vw, 25px); line-height: 1.25; letter-spacing: -0.015em; }
.lede + .lede { margin-top: 14px; }
.lede em { font-style: normal; font-weight: 600; }
p + p { margin-top: 12px; }
.bullets { list-style: none; }
.bullets li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.bullets li:last-child { border-bottom: 0; }

/* Numbered modes, like a spec sheet */
.modes { list-style: none; counter-reset: m; }
.modes li { display: grid; grid-template-columns: 54px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.modes li:last-child { border-bottom: 0; }
.modes .n { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 5px; }
.modes h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.modes p { grid-column: 2; color: var(--muted); margin: 0; }

/* Plates: screenshots shown like product shots on the card */
.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 3vw, 28px); }
.plate { background: var(--wall); border-radius: 18px; padding: clamp(16px, 4vw, 30px) clamp(16px, 4vw, 30px) 14px; }
.plate img { display: block; width: 100%; max-width: 230px; margin: 0 auto; border-radius: 26px;
  box-shadow: 0 0 0 5px #121317, 0 0 0 6px #3a3c42, 0 18px 40px rgba(0,0,0,.22); }
.plate figcaption { margin-top: 22px; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.plate figcaption .mono { color: var(--muted); }

/* Spec sheet */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { font-weight: 400; }
.st { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--chip); }

/* Questions */
details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
details:last-of-type { border-bottom: 0; }
summary { cursor: pointer; list-style: none; font-weight: 400; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 8px; }
strong { font-weight: 600; }

/* Next / links */
.next { display: flex; flex-direction: column; gap: 6px; padding: 24px 0 26px; border-top: 1px solid var(--rule); }
.next .label { margin: 0; }
.next-title { font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; transition: transform .4s var(--ease); display: inline-block; }
.next:hover .next-title { transform: translateX(6px); }

.card-foot { margin-top: auto; padding-top: 56px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.wordmark { font-weight: 400; } .wordmark span { font-weight: 600; }
.wm b { font-weight: 600; }
.card-foot nav { display: flex; gap: 18px; color: var(--muted); }
.card-foot nav a:hover, .card-foot nav a[aria-current] { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 620px) {
  .card-head { grid-template-columns: 1fr auto auto; gap: 12px; }
  .chip { font-size: 10px; padding: 1px 6px; }
  .facts { grid-template-columns: 1fr; }
  .plates { gap: 10px; }
  .plate { padding: 14px 12px 10px; border-radius: 14px; }
  .plate img { border-radius: 16px; box-shadow: 0 0 0 3px #121317, 0 0 0 4px #3a3c42, 0 10px 24px rgba(0,0,0,.2); }
  .plate figcaption { margin-top: 14px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } }

/* Full screen: opened directly, the page is the card itself, edge to edge, with the text in a centred column. */
body { background: var(--card); }
.wall { padding: 0; }
.card { max-width: none; border-radius: 0; -webkit-mask: none; mask: none;
  padding-left: max(var(--pad), calc((100% - 760px) / 2 + var(--pad)));
  padding-right: max(var(--pad), calc((100% - 760px) / 2 + var(--pad))); }
.card::before { left: max(20px, calc((100% - 760px) / 2 + 28px)); right: max(20px, calc((100% - 760px) / 2 + 28px)); }

/* ---------- Intro ---------- */
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
html.intro-on, html.intro-on body { overflow: hidden; }
#intro { position: fixed; inset: 0; z-index: 100; background: #0b0b0c; color: #ececec; cursor: pointer;
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask: radial-gradient(circle at 50% 46%, transparent var(--hole), #000 calc(var(--hole) + 1px)); }
#intro.out { animation: hole 1s cubic-bezier(.75, 0, .2, 1) forwards; }
@keyframes hole { to { --hole: 160vmax; } }
.i-dust { position: absolute; inset: 0; width: 100%; height: 100%; }

.i-top { position: absolute; top: max(22px, env(safe-area-inset-top)); left: clamp(20px, 5vw, 40px); display: flex; align-items: center; gap: 10px;
  font-size: 13px; opacity: 0; animation: fade .8s .15s forwards; }
.i-top b { font-weight: 600; }
.i-key { width: 24px; height: 24px; background: #ececec;
  -webkit-mask: url("/assets/key.svg") center / 100% no-repeat; mask: url("/assets/key.svg") center / 100% no-repeat; }

.i-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.i-svg { width: min(64vmin, 440px); height: auto; overflow: visible; margin-top: -6vh; transition: transform .65s cubic-bezier(.6, 0, .9, .3), opacity .65s, filter .65s; }
.i-svg path, .i-ring { fill: none; stroke: #ececec; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.i-svg path { animation: draw 1.5s cubic-bezier(.3, .1, .2, 1) forwards; }
.i-ring { stroke: rgba(236,236,236,.35); stroke-dasharray: .004 .012; stroke-dashoffset: 0; opacity: 0; animation: fade 1.2s .3s forwards; }
.i-spin { transform-origin: 250px 250px; animation: ispin 3.2s cubic-bezier(.4, 0, .6, 1) forwards; }
.i-core { fill: #000; stroke: rgba(236,236,236,.5); stroke-width: 1; vector-effect: non-scaling-stroke; transform-origin: 250px 250px;
  transform: scale(0); animation: core .9s .7s cubic-bezier(.2, .9, .2, 1.2) forwards; }
.i-title { font-size: clamp(44px, 10vw, 96px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin-top: 3vh;
  opacity: 0; filter: blur(10px); transform: translateY(14px); animation: rise 1s .85s cubic-bezier(.2, .8, .2, 1) forwards;
  transition: transform .6s cubic-bezier(.6, 0, .9, .3), opacity .5s, filter .6s; }
.i-sub b { font-weight: 600; color: #ececec; }
.i-sub { font-size: 15px; color: #8d8d8d; opacity: 0; animation: fade .8s 1.2s forwards; transition: opacity .3s; }

.i-meta { position: absolute; left: clamp(20px, 5vw, 40px); right: clamp(20px, 5vw, 40px); bottom: max(24px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #8d8d8d;
  opacity: 0; animation: fade .6s .3s forwards; transition: opacity .3s; }
.i-line { flex: 1; height: 1px; background: rgba(236,236,236,.15); position: relative; overflow: hidden; }
.i-line i { position: absolute; inset: 0; background: #ececec; transform-origin: left; transform: scaleX(0); animation: grow 2.05s linear forwards; }

#intro.suck .i-svg { transform: scale(.02) rotate(220deg); opacity: .2; filter: blur(2px); }
#intro.suck .i-title { transform: translateY(-14vh) scale(.1); opacity: 0; filter: blur(8px); }
#intro.suck .i-sub, #intro.suck .i-meta { opacity: 0; }

html.intro-reveal .card { animation: settle 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes settle { from { transform: scale(.96); filter: blur(6px); } to { transform: none; filter: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ispin { from { transform: rotate(-40deg); } to { transform: rotate(80deg); } }
@keyframes core { to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes grow { to { transform: scaleX(1); } }
