/* brand.acific.com: the Acific Labs brand guidelines. One page, no script.
   The look is the logo sheet's: white, near-black, hairlines, light tiles and dark tiles. */
:root {
  --black: #0b0b0d;      /* the logo's black */
  --white: #fafafa;      /* the logo's white */
  --ink: #1f1f1f;
  --muted: #747474;
  --rule: #e4e4e7;
  --card: #ebebeb;
  --wall: #f5f5f4;
  --no: #b3261e;         /* the cross on a "don't" */
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --word: "Google Sans", var(--sans);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --page: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 300 17px/1.55 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.u { border-bottom: 1px solid var(--rule); }
.u:hover { border-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 16px; max-width: 62ch; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
code, .num { font-family: var(--mono); font-size: 0.82em; letter-spacing: -0.01em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.top-logo img { height: 24px; width: auto; }
.top-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; font-size: 14px; font-weight: 400; color: var(--muted); }
.top-nav a:hover { color: var(--ink); }

main, .foot { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Opening ---------- */
.hero { padding: clamp(56px, 11vw, 132px) 0 clamp(48px, 8vw, 96px); }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -0.035em; max-width: 15ch; }
.lead { font-size: clamp(18px, 2vw, 21px); margin: 26px 0 34px; max-width: 54ch; color: #3a3a3c; }
.actions { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; max-width: none; }
.btn {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: var(--black); color: var(--white); border-radius: 999px; padding: 13px 22px;
  font-size: 15px; font-weight: 500;
}
.btn:hover { background: #26262a; }
.btn-note { font-family: var(--mono); font-size: 12px; font-weight: 400; color: #a1a1a6; }
.link { font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--rule); }
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- A section: its number and title on the left, the matter on the right ---------- */
.sec {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 56px;
  padding: clamp(44px, 7vw, 84px) 0; border-top: 1px solid var(--rule);
}
.sec-head { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 6px; }
.sec-head .num { font-size: 13px; }
.sec-head h2 { font-size: 22px; }
.big { font-size: clamp(22px, 2.9vw, 31px); line-height: 1.22; font-weight: 400; letter-spacing: -0.02em; max-width: 26ch; margin-bottom: 26px; color: var(--black); }
.sub { font-size: 15px; margin: 56px 0 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
.note { font-size: 14px; color: var(--muted); }

/* Write / don't write */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.say { border: 1px solid var(--rule); border-radius: 18px; padding: 20px 22px 16px; }
.say h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.say h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.say.no h3::before { background: none; border: 1.5px solid var(--no); }
.say li { padding: 9px 0; border-top: 1px solid var(--rule); font-weight: 400; }
.say.no li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, 0.55); }
.facts { margin: 28px 0 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 400; }

/* ---------- Logo tiles, as on the logo sheet ---------- */
.tiles { display: grid; gap: 16px; margin: 20px 0 8px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { margin: 0; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.tile.light { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.tile.dark { background: var(--black); color: var(--white); }
.tile.plain { background: var(--wall); }
.tile img { margin: auto; }
.tile.light img, .tile.dark img, .tile.plain img { padding: 0; }
.t-lockup { width: min(66%, 300px); margin-top: 64px !important; margin-bottom: 52px !important; }
.t-mark { width: min(30%, 110px); margin-top: 52px !important; margin-bottom: 40px !important; }
.t-word { width: min(52%, 220px); margin-top: 68px !important; margin-bottom: 56px !important; }
.t-icon { width: min(46%, 132px); margin-top: 40px !important; margin-bottom: 28px !important; }
.tile figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 18px 14px; font-size: 13px; font-weight: 400; color: var(--muted);
}
.tile.dark figcaption { color: #a1a1a6; }
.dl { display: inline-flex; gap: 6px; }
.dl a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px;
}
.dl a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.dark .dl a { color: var(--white); border-color: #3a3a3e; }
.tile.dark .dl a:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* Drawings */
.plate { margin: 20px 0 24px; border-radius: 22px; background: var(--wall); padding: clamp(14px, 3vw, 34px); }
.plate img { width: 100%; }

/* Small tables of facts */
.spec { border-collapse: collapse; width: 100%; max-width: 620px; margin: 8px 0 18px; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 10px 14px 10px 0; border-top: 1px solid var(--rule); font-weight: 300; vertical-align: top; }
.spec thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 400; }
.spec tbody th { color: var(--muted); font-weight: 400; width: 150px; }
.spec td { font-family: var(--mono); font-size: 13.5px; }

/* The mark in one color: the one-color file as a mask over each area's color */
.m {
  display: inline-block; width: 1.332em; height: 1em; background: var(--ink);
  -webkit-mask: url("/logos/acific-labs-mark-onecolor.svg") center / contain no-repeat;
  mask: url("/logos/acific-labs-mark-onecolor.svg") center / contain no-repeat;
}
.marks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 22px 0 14px; }
.marks li {
  background: var(--card); border-radius: 16px; padding: 22px 6px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 12px; font-weight: 400; color: var(--muted);
}
.marks .m { font-size: 34px; }
.m-lab, .sw-lab { background-color: #b07a78; }
.m-intelligence, .sw-intelligence { background-color: #7d8fb3; }
.m-computers, .sw-computers { background-color: #a8a548; }
.m-objects, .sw-objects { background-color: #b5835a; }
.m-work, .sw-work { background-color: #5f9a8c; }
.m-messages, .sw-messages { background-color: #8f7bb5; }
.m-experiments, .sw-experiments { background-color: #e8a13c; }

/* Don'ts */
.donts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; font-size: 14px; font-weight: 400; }
.bad {
  position: relative; height: 132px; margin-bottom: 10px; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: inset 0 0 0 1px var(--rule);
  display: flex; align-items: center; justify-content: center;
}
.bad::after {                               /* the cross */
  content: ""; position: absolute; top: 10px; right: 10px; width: 16px; height: 16px;
  background:
    linear-gradient(45deg, transparent 44%, var(--no) 44%, var(--no) 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--no) 44%, var(--no) 56%, transparent 56%);
}
.bad img { width: 62%; }
.bad .b-stretch { transform: scaleX(1.32) scaleY(0.72); width: 56%; }
.bad .b-rotate { transform: rotate(-14deg); }
.bad .b-shadow { filter: drop-shadow(0 6px 5px rgba(0, 0, 0, 0.55)); }
.bad-mid { background: #55565c; box-shadow: none; }
.b-color { display: inline-flex; align-items: center; gap: 9px; }
.b-color .m { font-size: 27px; }
.b-color .b-mark { width: 36px; }
.b-color .b-wm { width: 84px; }
.b-flip { flex-direction: row-reverse; }
.b-word { font-family: var(--word); font-weight: 500; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
.b-word-color { color: #e8a13c; }
.b-word-serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: 0; }
.b-crowd { display: flex; flex-direction: column; align-items: center; width: 100%; }
.b-crowd img { width: 58%; }
.b-crowd span { font-size: 11px; font-weight: 600; margin-top: 1px; white-space: nowrap; }

/* ---------- Color ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 16px 0 14px; }
.swatches li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.swatches b { font-weight: 500; margin-top: 10px; }
.swatches i { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.35; }
.sw { display: block; height: 84px; border-radius: 16px; }
.sw-black { background: var(--black); }
.sw-white { background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); }
.sw-ink { background: #1f1f1f; }
.sw-muted { background: #747474; }
.sw-rule { background: #d5d5d5; }
.sw-card { background: #ebebeb; }
.sw-wall { background: #f5f5f4; box-shadow: inset 0 0 0 1px var(--rule); }
.sw-status { background: #f0c64a; }

/* ---------- Type ---------- */
.type { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 32px; padding: 26px 0; border-top: 1px solid var(--rule); }
.type-name { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.type-name b { font-weight: 500; }
.type-name span { color: var(--muted); }
.type-show p { margin-bottom: 12px; }
.ty-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--black); }
.ty-text { font-size: 16px; }
.ty-weights { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.w3 { font-weight: 300; } .w4 { font-weight: 400; } .w6 { font-weight: 600; }
.ty-word { font-family: var(--word); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; color: var(--black); }
.ty-mono { font-family: var(--mono); font-size: clamp(17px, 2.2vw, 22px); color: var(--black); letter-spacing: -0.01em; }

/* ---------- Voice ---------- */
.rules { margin: 6px 0 4px; max-width: 640px; }
.rules li { padding: 13px 0; border-top: 1px solid var(--rule); }
.rules b { font-weight: 500; }

/* ---------- Downloads ---------- */
.files { border-collapse: collapse; width: 100%; margin: 26px 0 8px; font-size: 15px; }
.files th, .files td { text-align: left; padding: 12px 14px 12px 0; border-top: 1px solid var(--rule); vertical-align: middle; }
.files thead th { border-top: 0; font-size: 13px; font-weight: 400; color: var(--muted); }
.files td:first-child { font-weight: 400; white-space: nowrap; }
.files td:nth-child(2) { color: var(--muted); }
.files td.dl { display: table-cell; text-align: right; padding-right: 0; white-space: nowrap; }
.files td.dl a { display: inline-block; margin-left: 6px; }

/* ---------- Foot ---------- */
.foot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: 28px; padding-bottom: 44px; margin-top: 12px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--muted);
}
.foot img { height: 20px; width: auto; }
.foot a:hover { color: var(--ink); }
.foot .num { margin-left: auto; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .sec { grid-template-columns: 1fr; gap: 18px; }
  .sec-head { position: static; flex-direction: row; align-items: baseline; gap: 12px; }
  .donts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { padding-top: 12px; padding-bottom: 12px; }
  .top-nav { gap: 4px 16px; font-size: 13px; }
  html { scroll-padding-top: 110px; }
  .tiles.two, .cols { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .files td:nth-child(2), .files th:nth-child(2) { display: none; }
  .marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .num { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
