/* ==========================================================================
   Inner pages — blog listing, blog post (and the pages that follow).
   Built only from patterns that already exist on the home page:
   tokens + type registers (base.css), buttons / cards / footer
   (components.css), hairlines, square corners, the cell motif.
   ========================================================================== */

/* ---------- page hero: eyebrow row + loud headline ---------- */
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px var(--pad-x) clamp(36px, 6vh, 72px);
}
.page-hero .sec-head { margin-bottom: clamp(28px, 5vh, 56px); }
/* the Work page: no eyebrow row, the headline on one line right under the header */
.page-hero--compact { padding-top: calc(83px + var(--sec-pad)); }
.page-hero .sec-head a:hover { color: var(--accent); }

.page-hero__title {
  font-size: clamp(48px, 8vw, 130px);
  line-height: .84;
  font-weight: 900;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-wrap: balance;
}
.rise-line { display: block; overflow: hidden; padding-bottom: .04em; }
.rise-word { display: block; }
.js .rise-word {
  transform: translateY(105%);
  transition: transform 1.2s var(--ease-out);
}
.js .rise-word.is-in { transform: none; }

.page-hero__lead {
  max-width: 52ch;
  margin-top: clamp(22px, 3.5vh, 40px);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink-60);
  text-wrap: pretty;
}

/* ---------- category filter (sticks under the header while scrolling) ---------- */
.filter {
  position: sticky;
  top: 66px;
  z-index: 30;
  background: rgba(244, 241, 236, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.filter__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.filter__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--ink-14);
  border-bottom: 1px solid var(--ink-14);
}
.filter__list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__chip {
  display: block;
  padding: 9px 15px;
  border: 1px solid var(--ink-20);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-72);
  transition:
    background-color .35s var(--ease-out),
    border-color .35s var(--ease-out),
    color .35s var(--ease-out);
}
.filter__chip:hover { border-color: var(--accent); color: var(--ink); }
.filter__chip[aria-current="page"],
.filter__chip[aria-current="page"]:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.filter__count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* ---------- blocks that hold listing content ---------- */
.listing {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vh, 72px) var(--pad-x) var(--sec-pad);
}

/* featured post: image + text, like the About split */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: center;
  margin-bottom: clamp(48px, 8vh, 96px);
}
.feature:hover { color: inherit; }
.feature__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-06);
  isolation: isolate;
  border: 1px solid var(--ink-10);
}
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.feature__body { display: grid; gap: clamp(14px, 2vh, 22px); justify-items: start; }
.feature__title {
  font-size: clamp(28px, 3.6vw, 54px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.02;
  text-wrap: balance;
}
.feature__excerpt {
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-60);
  text-wrap: pretty;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(16px, 1.8vw, 26px);
}

/* ---------- blog cards: same hover as the Work cards (the pixel veil lives in components.css) ---------- */
.post__title { transition: color .35s ease; }
.post:hover .post__title { color: var(--accent); }
.post__more span { display: inline-block; transition: transform .45s var(--ease-out); }
.post:hover .post__more span { transform: translate(3px, -3px); }

/* ---------- empty state ---------- */
.listing__empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--ink-14);
  font-size: 16px;
  color: var(--ink-60);
}
.listing__empty-title {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.05;
  color: var(--ink);
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 44px); }

/* ---------- pagination ---------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 8vh, 96px);
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--ink-10);
}
.pager__pages { display: flex; gap: 8px; }
.pager__page {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--ink-16);
  font-size: 13px;
  font-weight: 700;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out);
}
.pager__page:hover { border-color: var(--accent); color: var(--ink); }
.pager__page[aria-current="page"],
.pager__page[aria-current="page"]:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.pager .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.pager__gap { display: grid; place-items: center; min-width: 24px; color: var(--ink-45); }

/* ---------- closing call-to-action band (every inner page) ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--white);
  padding: var(--sec-pad) var(--pad-x);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 60% at 84% 0%, rgba(255, 214, 170, .55), transparent 72%),
    radial-gradient(60% 70% at 4% 100%, rgba(255, 150, 90, .45), transparent 70%);
}
.cta__cells {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, clamp(20px, 2.4vw, 38px));
  grid-auto-rows: clamp(20px, 2.4vw, 38px);
}
.cta__cells .c1 { background: var(--ink); }
.cta__cells .c2 { background: rgba(255, 255, 255, .22); }
.cta__cells .c3 { background: rgba(18, 16, 14, .35); }
.cta__cells .c4 { background: rgba(255, 255, 255, .12); }
.cta__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  flex-wrap: wrap;
}
.cta__kicker {
  display: block;
  margin-bottom: clamp(14px, 2.4vh, 26px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.cta__title {
  max-width: 14ch;
  font-size: clamp(38px, 6vw, 96px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}
/* on the orange band the dark button fills white (orange would melt into the band) */
.cta .btn--dark { --pix: var(--white); }
.cta .btn--dark:hover,
.cta .btn--dark:focus-visible { color: var(--ink); }
.cta__side { display: grid; gap: 22px; justify-items: start; max-width: 34ch; }
.cta__text { font-size: clamp(15px, 1.2vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .9); text-wrap: pretty; }

/* ==========================================================================
   Blog post
   ========================================================================== */
.article-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px var(--pad-x) 0;
}
.article-head .sec-head { margin-bottom: clamp(22px, 4vh, 40px); }
.article-head .sec-head a:hover { color: var(--accent); }
.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.article__meta span { color: var(--ink-45); }
.article__title {
  max-width: 17ch;
  margin-bottom: clamp(20px, 3.5vh, 36px);
  font-size: clamp(36px, 7vw, 112px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.article__lead {
  max-width: 52ch;
  margin-bottom: clamp(30px, 5vh, 56px);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink-60);
  text-wrap: pretty;
}
.article__cover {
  height: clamp(240px, 52vh, 600px);
  overflow: hidden;
  background: var(--ink-06);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.article {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(34px, 6vh, 70px) var(--pad-x) var(--sec-pad);
  display: grid;
  grid-template-columns: minmax(260px, .5fr) minmax(0, 1.5fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

/* left rail: author, dates, tags, share */
.article__aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}
.fact { padding-top: 10px; border-top: 1px solid var(--ink-14); }
.fact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact__label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.fact__value { font-size: 15px; font-weight: 500; line-height: 1.3; }
.author { display: flex; align-items: center; gap: 14px; }
.author__avatar {
  display: block;
  flex: none;
  width: 50px;
  height: 46px;
  overflow: hidden;
  background: var(--ink-06);
}
.author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author__text { display: grid; gap: 3px; font-size: 16px; }
.author__name { font-weight: 600; }
.author__role { font-size: 14px; color: var(--ink-55); }

.tags { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.tags a,
.tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
  transition: color .3s ease;
}
.tags a::before,
.tags span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
}
.tags a:hover { color: var(--accent); }

/* share: same secondary button as "All posts" — white, bordered, with the arrow */
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ink-16);
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .35s var(--ease-out), color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.share__btn:hover { border-color: var(--accent); color: var(--ink); }
.share__btn.is-done { border-color: var(--accent); background: var(--accent); color: var(--white); }

/* "On this page" — built by js/page.js from the article's h2s */
.toc { display: grid; gap: 2px; border-left: 1px solid var(--ink-14); }
.toc a {
  position: relative;
  display: block;
  padding: 5px 0 5px 16px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-55);
  transition: color .3s ease;
}
.toc a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .4s var(--ease-out);
}
.toc a:hover,
.toc a.is-active { color: var(--ink); }
.toc a.is-active::before { transform: scaleY(1); }

.article__main { min-width: 0; }

/* ---------- long-form text ---------- */
.prose { max-width: 72ch; min-width: 0; }
.prose > * + * { margin-top: 1.4em; }
.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-72);
  text-wrap: pretty;
}
.prose strong { font-weight: 700; color: var(--ink); }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .3s ease;
}
.prose a:hover { color: var(--accent); }
.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.prose h3 {
  margin-top: 1.8em;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.prose h2 + *, .prose h3 + * { margin-top: .7em; }

.prose ul, .prose ol { display: grid; gap: .7em; }
.prose li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-72);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; }
.prose ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .3em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
}

.prose blockquote {
  margin-top: 2em;
  padding-left: clamp(18px, 2.4vw, 32px);
  border-left: 4px solid var(--accent);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: pretty;
}
.prose blockquote p { font: inherit; color: inherit; letter-spacing: inherit; }
.prose blockquote p + p {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.prose blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.prose figure { margin-top: 2em; }
.prose figure img { width: 100%; border: 1px solid var(--ink-10); }
.prose figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-50); }

.prose code {
  padding: .15em .4em;
  background: var(--ink-06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
}
.prose pre {
  margin-top: 1.8em;
  padding: 22px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  line-height: 1.65;
}
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--ink-14); }

.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--ink-14); }
.prose th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* heading anchors: "#" appears on hover so a section can be linked */
.prose h2, .prose h3 { position: relative; scroll-margin-top: 96px; }
.prose .anchor {
  position: absolute;
  left: -1.1em;
  top: 0;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose .anchor:focus-visible { opacity: 1; }

/* end of article: author card */
.article__end { max-width: 72ch; margin-top: clamp(40px, 6vh, 72px); }
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-14);
}
.author-card .author__avatar { width: 64px; height: 64px; }
.author-card__name { margin-top: 8px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.author-card__bio { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-60); text-wrap: pretty; }

/* ---------- previous / next ---------- */
.post-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(48px, 8vh, 96px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.post-nav__link {
  display: grid;
  align-content: space-between;
  gap: 26px;
  min-height: 190px;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid var(--ink-16);
  color: var(--ink);
  transition: background .5s ease, border-color .5s ease, color .5s ease;
}
.post-nav__link:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.post-nav__link--next { grid-column: 2; text-align: right; }
.post-nav__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
}
.post-nav__title {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

/* ---------- "keep reading" ---------- */
.related {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--sec-pad) var(--pad-x);
  border-top: 1px solid var(--ink-08);
}
.related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vh, 64px);
}
.related__title { margin-top: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .page-hero,
  .article-head { padding-top: 120px; }

  .feature,
  .article { grid-template-columns: 1fr; }

  .article__aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
  .article__aside .fact--wide { grid-column: 1 / -1; }
  .article__aside { order: 2; }

  .toc-fact { display: none; }
  .prose .anchor { display: none; }

  /* category chips become a single swipeable row */
  .filter { top: 62px; }
  .filter__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(var(--pad-x) * -1);
    padding: 0 var(--pad-x);
    scrollbar-width: none;
  }
  .filter__list::-webkit-scrollbar { display: none; }
  .filter__count { display: none; }
  .filter__bar { padding: 10px 0; }

  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link { min-height: 150px; }
  .post-nav__link--next { grid-column: auto; text-align: left; }
}

@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .article__aside { grid-template-columns: 1fr; }
  .pager { justify-content: center; }
  .cta__inner { align-items: flex-start; }
}

/* ---------- admin preview banner ---------- */
.preview-bar {
  position: sticky;
  top: 66px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px var(--pad-x);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}
.preview-bar span {
  padding: 4px 8px;
  background: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.preview-bar a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ==========================================================================
   Studio pages — services, work, about, contact, legal
   Same language as the blog pages: hairlines, square corners, one accent.
   ========================================================================== */
.page-hero--tight { padding-bottom: clamp(18px, 3vh, 36px); }
.page-hero__title--medium { font-size: clamp(40px, 7.2vw, 118px); }

/* ---------- services listing: one wide row per service ---------- */
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-14); }
.svc-rows li { border-bottom: 1px solid var(--ink-14); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1.5fr) minmax(0, 0.8fr) 40px;
  gap: clamp(14px, 2.4vw, 40px);
  align-items: center;
  padding: clamp(22px, 3.4vw, 44px) 0;
  color: var(--ink);
  transition: padding .6s var(--ease-out), color .35s ease;
}
.svc-row:hover { color: var(--ink); padding-left: clamp(8px, 1.2vw, 18px); }
.svc-row__num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-40); }
.svc-row__text { display: grid; gap: 8px; min-width: 0; }
.svc-row__title {
  font-size: clamp(32px, 5.6vw, 92px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: uppercase;
  transition: color .35s ease;
}
.svc-row:hover .svc-row__title { color: var(--accent); }
.svc-row__tagline { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); }
.svc-row__summary { max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--ink-60); text-wrap: pretty; }
.svc-row__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-06); border: 1px solid var(--ink-10); }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .7s ease, transform 1s var(--ease-out); }
.svc-row:hover .svc-row__media img { filter: none; transform: scale(1.06); }
.svc-row__go { font-size: 28px; transition: transform .45s var(--ease-out), color .3s ease; }
.svc-row:hover .svc-row__go { transform: translate(4px, -4px); color: var(--accent); }

/* ---------- service page ---------- */
.shots { display: grid; gap: clamp(8px, 1.2vw, 18px); max-width: var(--max); margin: clamp(28px, 5vh, 56px) auto 0; padding: 0 var(--pad-x); }
.shots--1 { grid-template-columns: minmax(0, 1fr); }
.shots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots--3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.shots--3 .shots__item:first-child { grid-row: 1 / 3; }
.shots__item { position: relative; margin: 0; overflow: hidden; background: var(--ink-06); border: 1px solid var(--ink-10); aspect-ratio: 4 / 3; }
.shots--1 .shots__item { aspect-ratio: 21 / 9; }
.shots--2 .shots__item { aspect-ratio: 4 / 3; }
.shots--3 .shots__item:first-child { aspect-ratio: auto; }
.shots__item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.service__summary {
  margin: 0 0 clamp(24px, 4vh, 40px);
  max-width: 34ch;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.chip-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.chip-links a {
  display: grid;
  gap: 6px;
  min-height: 130px;
  align-content: space-between;
  padding: clamp(16px, 1.8vw, 26px);
  border: 1px solid var(--ink-16);
  color: var(--ink);
  transition: background .5s ease, border-color .5s ease, color .5s ease;
}
.chip-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.chip-links span { font-size: clamp(20px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.chip-links small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }

/* ---------- work listing + case study ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4.4vw, 64px) clamp(16px, 2vw, 30px); }
.case-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.case-card:hover { color: var(--ink); }
.case-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; background: var(--ink-06); border: 1px solid var(--ink-10); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case-card:hover .case-card__media img, .case-card:focus-visible .case-card__media img { transform: scale(1.05); }
.case-card__meta { display: flex; gap: 12px; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.case-card__meta span { color: var(--ink-45); }
.case-card__title { font-size: clamp(26px, 3vw, 46px); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; transition: color .35s ease; }
.case-card__summary { max-width: 46ch; font-size: 15px; line-height: 1.6; color: var(--ink-60); }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); }
.related .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 clamp(30px, 5vh, 56px); border-top: 1px solid var(--ink-14); }
.results__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--ink-14); }
.results__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.results__value { margin: 0; font-size: clamp(40px, 5vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.results__value span { color: var(--accent); }
.fact__value { font-size: 16px; font-weight: 500; line-height: 1.45; }

/* ---------- legal ---------- */
.legal { padding-top: clamp(24px, 4vh, 48px); }
.legal .prose { max-width: 74ch; }

/* ---------- 404 helper links ---------- */
.lost-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: clamp(26px, 4vh, 44px); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lost-links a { color: var(--ink-60); transition: color .3s ease; }
.lost-links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 28px; }
  .svc-row__media { display: none; }
  .shots--3 { grid-template-columns: 1fr; grid-template-rows: none; }
  .shots--3 .shots__item:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .shots--2 { grid-template-columns: 1fr; }
  .chip-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid, .related .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .chip-links { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr 28px; }
  .svc-row__num { display: none; }
}
@media (hover: none), (pointer: coarse) {
  .svc-row__media img { filter: none; }
}

/* the headline reveal clips overflow: give mixed-case titles room for descenders (g, y, p) */
.article__title .rise-line { padding-bottom: .2em; margin-bottom: -.14em; }

/* ==========================================================================
   Service page: the Design service layout, shared by every service.
   Sections are 90px (--sec-gap) apart: half (--sec-pad) above, half below; tinted sections alternate with plain ones.
   Sections whose field is empty in the admin are simply not rendered.
   ========================================================================== */
.sv { --sv-line: #D9D4CB; --sv-tint: rgba(255, 255, 255, .5); --sv-stone: #EFEAE1; }
.sv .accent { color: var(--accent); }
.sv-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.sv-sec { padding: var(--sec-pad) 0; }
.sv-sec--tint { background: var(--sv-tint); }

.sv-h { margin-bottom: 56px; font-size: var(--h2); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.sv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 56px; }
.sv-head .sv-h { margin-bottom: 0; }
.sv-head__note { font-size: 17px; color: var(--ink-60); }
.sv-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sv-link { display: inline-block; padding-bottom: 1px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; }

/* ---- hero ---- */
.sv-hero { padding: calc(83px + var(--sec-pad)) 0 var(--sec-pad); }
.sv-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 52%); gap: clamp(28px, 5vw, 70px); align-items: center; }
.sv-hero__title { font-size: clamp(46px, 6.6vw, 90px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.sv-hero__line { display: block; }
.sv-hero__lead { max-width: 36ch; margin-top: 40px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-60); }
.sv-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.sv-hero__meta { display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 4vw, 56px); margin: 32px 0 0; }
.sv-hero__meta dt { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.sv-hero__meta dd { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.sv-hero__meta dd.is-accent { color: var(--accent); }
.sv-hero__photo img { width: 100%; aspect-ratio: 690 / 520; object-fit: cover; }
.sv-hero:not(:has(.sv-hero__photo)) .sv-hero__grid { grid-template-columns: minmax(0, 1fr); }

/* ---- clients strip: the home page marquee, unchanged (see .clients in components.css) ---- */

/* ---- tabs: "What we design" ----
   Default (no script, a small or short screen, reduced motion): every panel is shown one under the other, each with its
   own small title, and the tab row is not needed. With the script, on a large screen, it adds .is-play: the section is
   pinned and the tabs play one after another as the page scrolls. Three tabs show and the next one peeks in. */
.sv-tabs__list { display: none; }
.sv-tabs__track { position: relative; display: flex; gap: 24px; transition: transform .7s var(--ease-out); }
.sv-tab {
  position: relative; flex: 1 1 0; min-width: 0; height: 96px; display: flex; align-items: center; gap: 22px; padding: 0 28px;
  border: 1px solid var(--sv-line); background: transparent; text-align: left; color: var(--ink);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.sv-tab:hover { border-color: var(--ink); }
.sv-tab:focus-visible { outline-offset: -4px; }
.sv-tab.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.sv-tab.is-on::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.sv-tab__n { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink-45); }
.sv-tab.is-on .sv-tab__n, .sv-tab.is-on .sv-tab__a { color: var(--accent); }
.sv-tab__t { min-width: 0; font-size: clamp(18px, 1.9vw, 27px); letter-spacing: -.03em; line-height: 1.1; }
.sv-tab__a { margin-left: auto; font-size: 22px; color: var(--ink-45); }
/* more than three tabs: three are shown whole and half of the next one, so visitors see there is more */
.sv-play--peek .sv-tab { flex: 0 0 calc((100% - 72px) / 3.5); }

.sv-panel { display: grid; grid-template-columns: minmax(0, 709fr) minmax(0, 539fr); gap: clamp(32px, 5.5vw, 80px); align-items: center; margin-top: 56px; }
.sv-panel + .sv-panel { padding-top: 56px; border-top: 1px solid var(--sv-line); }
.sv-panel__kicker { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.sv-panel__kicker span { margin-right: 10px; color: var(--accent); }
/* a single tab needs no number, no tab row and no scrolling */
.sv-play--solo .sv-panel__kicker { display: none; }
/* the beige box; the drawn example sits in an inner box that measures itself (cqw) so it keeps its proportions */
.sv-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; aspect-ratio: 709 / 540; overflow: hidden; background: var(--sv-stone); }
.sv-stage__in { container-type: inline-size; display: grid; place-items: center; width: 100%; height: 100%; }
.sv-stage__img { width: 100%; height: 100%; object-fit: cover; }
.sv-panel__title { margin: 18px 0 24px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.sv-panel__p { font-size: 18px; line-height: 1.55; color: var(--ink-60); }
.sv-panel__list { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--sv-line); }
.sv-panel__list li { padding: 16px 0; border-bottom: 1px solid var(--sv-line); font-size: 17px; font-weight: 500; }
.sv-panel .sv-link { margin-top: 32px; }

/* pinned and playing (.is-play is added by js/svtabs.js): the content keeps the same 45px above and below as every
   other section; a spacer under it adds the scrolling the tabs need while it sticks under the header, and the
   panels sit on top of each other and fade one into the next */
.sv-play.is-play { padding: 0; }
.sv-play.is-play::after { content: ""; display: block; height: calc((var(--n, 3) - 1) * 62vh); }
/* the content sticks 24px under the header (the rest of the padding slides under it), or in the middle of a taller screen */
.is-play .sv-play__pin { position: sticky; top: max(calc(var(--hdr, 83px) - var(--sec-pad) + 24px), calc((100vh - var(--pin-h, 0px)) / 2)); padding: var(--sec-pad) 0; }
.is-play .sv-tabs__list { display: block; overflow: hidden; margin-top: 28px; }
.is-play .sv-tab { height: 84px; }
.is-play .sv-panels { display: grid; margin-top: 28px; }
.is-play .sv-panel {
  grid-area: 1 / 1; margin-top: 0; padding-top: 0; border-top: 0; opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity .55s ease, transform .7s var(--ease-out), visibility 0s linear .55s;
}
.is-play .sv-panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.is-play .sv-panel__kicker { display: none; }
/* the picture is sized by the height that is left, so a short screen still shows the whole panel */
.sv-play.is-play { --stage-h: clamp(340px, calc(100vh - var(--hdr, 83px) - 270px), 540px); }
/* the beige box fills its column, so there is no wide empty gap beside the text; the drawing keeps its shape in the middle */
.is-play .sv-stage { width: 100%; height: var(--stage-h); aspect-ratio: auto; }
.is-play .sv-stage__in { width: auto; max-width: 100%; height: 100%; aspect-ratio: 709 / 540; }
@media (max-height: 820px) {
  .is-play .sv-panel__title { margin: 12px 0 16px; font-size: clamp(28px, 3vw, 40px); }
  .is-play .sv-panel__p { font-size: 16px; line-height: 1.5; }
  .is-play .sv-panel__list { margin-top: 20px; }
  .is-play .sv-panel__list li { padding: 10px 0; font-size: 16px; }
  .is-play .sv-panel .sv-link { margin-top: 20px; }
}
/* a laptop browser window is often only about 600px tall: tighter, so the tabs still play on scroll */
@media (max-height: 740px) {
  .is-play .sv-h { margin-bottom: 24px; }
  .is-play .sv-tabs__list { margin-top: 0; }
  .is-play .sv-tab { height: 64px; }
  .is-play .sv-panels { margin-top: 20px; }
  .is-play .sv-panel__title { margin: 10px 0 12px; font-size: clamp(26px, 2.6vw, 34px); }
  .is-play .sv-panel__p { font-size: 15px; }
  .is-play .sv-panel__list { margin-top: 14px; }
  .is-play .sv-panel__list li { padding: 8px 0; font-size: 15px; }
  .is-play .sv-panel .sv-link { margin-top: 14px; }
  .sv-play.is-play { --stage-h: clamp(340px, calc(100vh - var(--hdr, 83px) - 250px), 540px); }
}
@media (max-height: 640px) {
  .is-play .sv-h { margin-bottom: 14px; }
  .is-play .sv-tab { height: 52px; }
  .is-play .sv-panels { margin-top: 14px; }
  .is-play .sv-panel__title { margin: 6px 0 8px; font-size: 26px; }
  .is-play .sv-panel__p { font-size: 14px; line-height: 1.45; }
  .is-play .sv-panel__list { margin-top: 10px; }
  .is-play .sv-panel__list li { padding: 6px 0; font-size: 14px; }
  .is-play .sv-panel .sv-link { margin-top: 10px; }
  .sv-play.is-play { --stage-h: clamp(340px, calc(100vh - var(--hdr, 83px) - 210px), 540px); }
}
@media (prefers-reduced-motion: reduce) {
  .sv-tabs__track, .is-play .sv-panel { transition: none; }
  .is-play .sv-panel { transform: none; }
}

/* the drawn examples inside a tab: flat, square and sized by their stage */
.sv-ui, .sv-web { width: 89%; background: var(--white); border: 1px solid var(--sv-line); }
.sv-ui small, .sv-gfx small { display: block; font-size: max(12px, 1.5cqw); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.sv-ui h4, .sv-web h4, .sv-gfx h4 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.sv-ui__bar { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--sv-line); font-size: max(12px, 1.9cqw); font-weight: 700; }
.sv-ui__bar i { width: 10px; height: 10px; background: var(--accent); }
.sv-ui__bar em { margin-left: auto; font-style: normal; letter-spacing: .2em; color: var(--ink-40); }
.sv-ui__body { display: grid; grid-template-columns: 24% minmax(0, 1fr); }
.sv-ui__nav { display: grid; align-content: start; gap: 14px; padding: 22px 18px; border-right: 1px solid var(--sv-line); font-size: max(12px, 1.8cqw); color: var(--ink-60); }
.sv-ui__nav .is-on { font-weight: 700; color: var(--ink); }
.sv-ui__nav .is-on::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--accent); }
.sv-ui__main { display: grid; gap: 8px; padding: 18px 26px; }
.sv-ui__main h4 { font-size: max(16px, 3.4cqw); }
.sv-ui__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sv-ui__stats div { padding: 10px 14px; border: 1px solid var(--sv-line); background: var(--bg); }
.sv-ui__stats small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.sv-ui__stats b { font-size: max(22px, 5.2cqw); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.sv-ui__bars { display: flex; align-items: flex-end; gap: 10px; height: 14cqw; }
.sv-ui__bars i { flex: 1; background: #E2DED4; }
.sv-ui__bars .o { background: var(--accent); }
.sv-ui__bars .k { background: var(--ink); }
.sv-ui__bars .h34 { height: 34%; } .sv-ui__bars .h38 { height: 38%; } .sv-ui__bars .h42 { height: 42%; } .sv-ui__bars .h46 { height: 46%; }
.sv-ui__bars .h52 { height: 52%; } .sv-ui__bars .h70 { height: 70%; } .sv-ui__bars .h84 { height: 84%; } .sv-ui__bars .h100 { height: 100%; }
.sv-ui__main p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-top: 8px; border-top: 1px solid var(--sv-line); font-size: max(12px, 1.6cqw); }
.sv-ui__main p em { font-style: normal; color: var(--ink-45); }

.sv-web__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--sv-line); }
.sv-web__bar i { width: 9px; height: 9px; background: #DAD6CD; }
.sv-web__bar i:first-child { background: var(--accent); }
.sv-web__bar span { flex: 1; margin-left: 14px; padding: 4px 12px; background: var(--bg); font-size: max(12px, 1.5cqw); color: var(--ink-45); }
.sv-web__nav { display: flex; align-items: center; gap: 22px; padding: 14px 22px; border-bottom: 1px solid var(--sv-line); font-size: max(12px, 1.5cqw); }
.sv-web__nav b { display: flex; align-items: center; gap: 7px; margin-right: auto; }
.sv-web__nav b i { width: 9px; height: 9px; background: var(--accent); }
.sv-web__nav em { padding: 6px 12px; background: var(--ink); color: var(--white); font-style: normal; }
.sv-web__hero { padding: 6cqw 22px; background: var(--bg); }
.sv-web__hero h4 { font-size: max(20px, 4.8cqw); letter-spacing: -.04em; line-height: 1.04; }
.sv-web__hero p { margin: 10px 0 0; font-size: max(12px, 1.6cqw); color: var(--ink-60); }
.sv-web__btn { display: inline-block; margin-top: 14px; padding: 8px 14px; background: var(--accent); color: var(--white); font-size: max(12px, 1.5cqw); font-weight: 700; }
.sv-web__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sv-line); }
.sv-web__cols div { padding: 14px 18px; font-size: max(12px, 1.5cqw); font-weight: 700; }
.sv-web__cols small { display: block; color: var(--accent); }

.sv-gfx { width: 89%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.sv-gfx > div { padding: 16px; border: 1px solid var(--sv-line); background: var(--white); }
.sv-gfx h4 { margin-top: 8px; font-size: max(16px, 3.2cqw); }
.sv-gfx__poster { grid-row: 1 / 4; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: var(--ink) !important; border-color: var(--ink) !important; color: var(--bg); }
.sv-gfx__poster small { color: #BDB7AD; }
.sv-gfx__mos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.sv-gfx__mos i { aspect-ratio: 1; background: var(--accent); }
.sv-gfx__mos i:nth-child(3n) { background: #3A342E; }
.sv-gfx__mos i:nth-child(5n) { background: rgba(255, 90, 31, .45); }
.sv-gfx__post { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--white); }
.sv-gfx__post small { color: var(--white); opacity: .85; }
.sv-gfx__type b { display: block; font-size: max(32px, 7cqw); font-weight: 900; line-height: 1; }
.sv-gfx__palette span { display: flex; gap: 6px; margin-top: 8px; }
.sv-gfx__palette i { flex: 1; height: 5cqw; min-height: 24px; border: 1px solid var(--sv-line); }
.sv-gfx__palette .p1 { background: var(--accent); border-color: var(--accent); }
.sv-gfx__palette .p2 { background: var(--ink); border-color: var(--ink); }
.sv-gfx__palette .p3 { background: var(--bg); }
.sv-gfx__palette .p4 { background: var(--sv-stone); }

/* more drawn examples: video, social, campaign, strategy, brand, code (same flat look, sized by the stage) */
.sv-vid, .sv-soc, .sv-cmp, .sv-str, .sv-brd, .sv-code { width: 89%; display: grid; gap: 14px; }
.sv-vid small, .sv-soc small, .sv-cmp small, .sv-str small, .sv-brd small, .sv-code small { display: block; font-size: max(12px, 1.5cqw); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.sv-soc h4, .sv-cmp h4, .sv-str h4 { margin: 0; font-weight: 500; letter-spacing: -.03em; line-height: 1.08; font-size: max(16px, 3.2cqw); }

.sv-vid__screen { position: relative; display: grid; align-content: end; aspect-ratio: 16 / 8.4; padding: 18px 22px; background: var(--ink); color: var(--bg); }
.sv-vid__screen small { color: #BDB7AD; }
.sv-vid__play { position: absolute; top: 46%; left: 50%; width: 8cqw; height: 8cqw; background: var(--accent); clip-path: polygon(18% 0, 100% 50%, 18% 100%); transform: translate(-50%, -50%); }
.sv-vid__screen em { position: absolute; right: 22px; bottom: 18px; font-style: normal; font-size: max(12px, 1.5cqw); color: #BDB7AD; }
.sv-vid__track { display: grid; grid-template-columns: 3fr 2fr 4fr 2fr 3fr; gap: 4px; }
.sv-vid__track i { height: 5cqw; min-height: 24px; background: #E2DED4; }
.sv-vid__track .o { background: var(--accent); }
.sv-vid__track .k { background: var(--ink); }
.sv-vid__steps { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; border: 1px solid var(--sv-line); background: var(--white); font-size: max(12px, 1.5cqw); font-weight: 700; }

.sv-soc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-soc__post { display: grid; align-content: space-between; gap: 10px; aspect-ratio: 3 / 4; padding: 14px; border: 1px solid var(--sv-line); background: var(--white); }
.sv-soc__post.p1 { border-color: var(--accent); background: var(--accent); color: var(--white); }
.sv-soc__post.p1 small { color: rgba(255, 255, 255, .85); }
.sv-soc__post.p2 { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.sv-soc__post.p2 small { color: #BDB7AD; }
.sv-soc__bars { grid-column: 1 / -1; display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--sv-line); background: var(--white); }
.sv-soc__bars span { display: flex; align-items: flex-end; gap: 8px; height: 9cqw; min-height: 44px; }
.sv-soc__bars i { flex: 1; background: #E2DED4; }
.sv-soc__bars .o { background: var(--accent); }
.sv-soc__bars .k { background: var(--ink); }
.sv-soc__bars .h30 { height: 30%; } .sv-soc__bars .h38 { height: 38%; } .sv-soc__bars .h44 { height: 44%; } .sv-soc__bars .h54 { height: 54%; }
.sv-soc__bars .h62 { height: 62%; } .sv-soc__bars .h80 { height: 80%; } .sv-soc__bars .h100 { height: 100%; }

.sv-cmp { gap: 10px; padding: 20px 22px; border: 1px solid var(--sv-line); background: var(--white); }
.sv-cmp__list > div { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--sv-line); font-size: max(14px, 2cqw); font-weight: 500; }
.sv-cmp__list i { flex: none; width: 4.4cqw; height: 4.4cqw; min-width: 22px; min-height: 22px; background: #E2DED4; }
.sv-cmp__list .a2 { background: var(--ink); }
.sv-cmp__list .a3 { background: var(--accent); }
.sv-cmp__list em { margin-left: auto; font-style: normal; font-size: max(12px, 1.5cqw); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-45); }

.sv-str > div { display: grid; gap: 6px; padding: 16px 22px; border: 1px solid var(--sv-line); background: var(--white); }
.sv-str > div.k { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.sv-str > div.k small, .sv-str > div.k p { color: #BDB7AD; }
.sv-str > div:first-child small { color: var(--accent); }
.sv-str p { margin: 0; font-size: max(12px, 1.8cqw); color: var(--ink-60); }

.sv-brd { grid-template-columns: 1.1fr 1fr; }
.sv-brd > div { display: grid; align-content: start; gap: 10px; padding: 16px; border: 1px solid var(--sv-line); background: var(--white); }
.sv-brd__logo { grid-row: 1 / 4; justify-items: center; align-content: center; text-align: center; }
.sv-brd__logo i { display: block; width: 7cqw; height: 7cqw; background: var(--accent); }
.sv-brd__logo b { font-size: max(20px, 4.4cqw); font-weight: 900; letter-spacing: -.04em; }
.sv-brd__clear span { display: grid; place-items: center; height: 9cqw; min-height: 44px; border: 1px dashed var(--ink-45); }
.sv-brd__clear i { width: 3cqw; height: 3cqw; min-width: 14px; min-height: 14px; background: var(--accent); }
.sv-brd__colors span { display: flex; gap: 6px; }
.sv-brd__colors i { flex: 1; height: 5cqw; min-height: 24px; border: 1px solid var(--sv-line); }
.sv-brd__colors .p1 { background: var(--accent); border-color: var(--accent); }
.sv-brd__colors .p2 { background: var(--ink); border-color: var(--ink); }
.sv-brd__colors .p3 { background: var(--bg); }
.sv-brd__colors .p4 { background: var(--sv-stone); }
.sv-brd__type b { font-size: max(28px, 6cqw); font-weight: 900; line-height: 1; }

.sv-code { gap: 0; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); }
.sv-code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #2E2A26; font-size: max(12px, 1.5cqw); color: #BDB7AD; }
.sv-code__bar i { width: 9px; height: 9px; background: #3A3632; }
.sv-code__bar i:first-child { background: var(--accent); }
.sv-code__bar span { margin-left: 10px; }
.sv-code__body { display: grid; gap: 12px; padding: 18px 22px; }
.sv-code__body p { display: flex; align-items: center; gap: 14px; margin: 0; }
.sv-code__body em { flex: none; width: 3cqw; min-width: 12px; font-style: normal; font-size: max(12px, 1.4cqw); color: #6F6A62; }
.sv-code__body i { height: 1.3cqw; min-height: 8px; background: #3A3632; }
.sv-code__body .o { background: var(--accent); }
.sv-code__body .w35 { width: 35%; } .sv-code__body .w40 { width: 40%; } .sv-code__body .w55 { width: 55%; }
.sv-code__body .w60 { width: 60%; } .sv-code__body .w70 { width: 70%; } .sv-code__body .w80 { width: 80%; }
.sv-code__foot { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid #2E2A26; font-size: max(12px, 1.5cqw); color: #BDB7AD; }
.sv-code__foot b { color: var(--accent); }

/* ---- how we work ---- */
.sv-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 48px 24px; margin: 0; padding: 0; list-style: none; }
.sv-step { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; }
.sv-step__tile {
  position: relative; z-index: 1; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  background: #FBF9F5; color: var(--ink); box-shadow: 0 16px 40px -14px rgba(255, 90, 31, .3), 0 0 0 1px rgba(255, 90, 31, .06);
}
.sv-step__icon { width: 56px; height: 56px; }
.sv-step__icon .o { stroke: var(--accent); }
.sv-step__path { position: absolute; top: 34px; left: calc(50% + 68px); width: calc(100% + 24px - 136px); height: 44px; overflow: visible; fill: none; stroke: var(--accent); stroke-width: 1; }
.sv-step__path path { vector-effect: non-scaling-stroke; opacity: .75; }
.sv-step__dot { position: absolute; top: 39px; left: calc(100% + 8px); width: 8px; height: 8px; background: var(--accent); }
.sv-step__title { margin-top: 28px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.sv-step p { max-width: 230px; margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-60); }

/* ---- expertise ----
   An outlined square holds the description; a black square with the title sits on top of it. On hover the black
   square shrinks to nothing around its centre and the outlined one is left. */
.sv-exp { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 990px; margin: 0 auto; padding: 0; list-style: none; }
.sv-sq {
  position: relative; flex: 0 0 min(314px, 100%); aspect-ratio: 1; border: 1.5px solid var(--ink); background: var(--bg);
  text-align: center; outline-offset: 4px;
}
.sv-sq__face {
  position: absolute; inset: -1.5px; z-index: 1; display: grid; place-items: center; padding: 24px;
  background: var(--ink); color: var(--bg);
  transition: transform .85s cubic-bezier(.65, 0, .35, 1);
}
.sv-sq__px { position: absolute; z-index: 2; top: 24px; left: 24px; width: 14px; height: 14px; background: var(--accent); }
.sv-sq__ico { position: absolute; z-index: 2; top: 18px; right: 22px; width: 36px; height: 36px; color: var(--bg); transition: color .6s ease; }
.sv-sq__ico svg { display: block; }
.sv-sq__t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; text-transform: uppercase; text-wrap: balance; }
.sv-sq__d {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 24px 28px;
  color: var(--ink); font-size: 20px; line-height: 1.4;
}
.sv-sq__k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sv-sq:hover .sv-sq__face, .sv-sq:focus-visible .sv-sq__face { transform: scale(0); }
.sv-sq:hover .sv-sq__ico, .sv-sq:focus-visible .sv-sq__ico { color: var(--ink); }
.sv-exp__more { display: flex; justify-content: center; margin-top: 56px; }
@media (hover: none) {
  /* no hover on touch: the square simply shows its title and its description */
  .sv-sq { display: grid; align-content: center; gap: 14px; padding: 24px; border-color: var(--ink); background: var(--ink); color: var(--bg); }
  .sv-sq__face { position: static; padding: 0; background: none; }
  .sv-sq:hover .sv-sq__face { transform: none; }
  .sv-sq:hover .sv-sq__ico { color: var(--bg); }
  .sv-sq__d { position: static; display: block; padding: 0; color: #BDB7AD; font-size: 15px; }
  .sv-sq__k { display: none; }
}

/* ---- what you get ---- */
.sv-deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin: 0; padding: 0; list-style: none; }
.sv-deliver li {
  --pix: var(--accent);
  display: grid; align-content: start; gap: 14px; min-height: 215px; padding: 28px 24px;
  border: 1px solid var(--sv-line); transition: color .35s ease .12s;
}
.sv-deliver__num, .sv-deliver small { transition: color .35s ease .12s; }
.sv-deliver__num { font-size: 15px; color: var(--ink-45); }
.sv-deliver b { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.sv-deliver small { font-size: 17px; line-height: 1.5; color: var(--ink-60); }
.sv-deliver li:hover { color: var(--white); }
.sv-deliver li:hover .sv-deliver__num, .sv-deliver li:hover small { color: var(--white); }
.sv-extras { margin: 28px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-60); }
.sv-extras span { margin-right: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---- selected work and tools ---- */
.sv-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px 24px; }
.sv-card { display: grid; align-content: start; color: var(--ink); }
.sv-card:hover { color: var(--ink); }
.sv-card__media { position: relative; display: block; aspect-ratio: 314 / 323; overflow: hidden; isolation: isolate; background: var(--ink-06); }
.sv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.sv-card:hover .sv-card__media img, .sv-card:focus-visible .sv-card__media img { transform: scale(1.05); }
.sv-card__title { margin-top: 20px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.04em; line-height: 1.1; }
.sv-card__kind { margin-top: 8px; font-size: 14px; color: var(--ink-60); }
.sv-toolbar { display: grid; grid-template-columns: minmax(0, 427fr) minmax(0, 877fr); gap: 24px; align-items: center; margin-top: var(--sec-gap); padding-top: 40px; border-top: 1px solid var(--sv-line); }
.sv-toolbar__lead p { margin-top: 10px; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.03em; line-height: 1.15; }
.sv-tools { display: flex; flex-wrap: wrap; margin: 0; padding: 0 0 0 1px; list-style: none; }
.sv-tool { flex: 1 1 140px; display: flex; align-items: center; gap: 14px; min-height: 68px; margin: 0 0 -1px -1px; padding: 0 22px; border: 1px solid var(--sv-line); background: var(--white); font-size: 16px; font-weight: 500; }
.sv-tool img { flex: none; width: 28px; height: 28px; object-fit: contain; }

/* ---- pricing, quote and longer text (shown only when filled in) ---- */
.sv-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); border: 1px solid var(--ink-14); background: var(--white); }
.sv-tier { display: grid; gap: 8px; align-content: start; padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.4vw, 30px) clamp(26px, 3vw, 36px); border-right: 1px solid var(--ink-14); }
.sv-tier:last-child { border-right: 0; }
.sv-tier__name { font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.035em; }
.sv-tier__price { margin-top: 10px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.sv-tier__time { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sv-tier ul { margin: 0; padding: 0; list-style: none; }
.sv-tier li { padding: 10px 0; border-top: 1px solid var(--ink-14); font-size: 15px; color: var(--ink-60); }
.sv-tier.is-hot { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sv-tier.is-hot li { color: var(--on-dark-60); border-color: var(--on-dark-14); }
.sv-note { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--ink-60); }
.sv-note b { color: var(--ink); }
.sv-quote { padding: clamp(32px, 6vw, 72px); background: var(--ink); color: var(--white); }
.sv-quote::before { content: ""; display: block; width: 26px; height: 26px; margin-bottom: 28px; background: var(--accent); }
.sv-quote blockquote { margin: 0; }
.sv-quote p { max-width: 28ch; font-size: clamp(24px, 3.4vw, 44px); font-weight: 400; letter-spacing: -.035em; line-height: 1.16; text-wrap: balance; }
.sv-quote__who { display: grid; gap: 2px; margin-top: 30px; font-size: 15px; color: var(--on-dark-60); }
.sv-quote__who b { font-size: 18px; font-weight: 500; color: var(--white); }
.sv-more { max-width: 820px; }

/* ---- good questions (the home page accordion, laid out beside its heading) ---- */
.sv-faq__grid { display: grid; grid-template-columns: minmax(0, 427fr) minmax(0, 877fr); gap: 24px; align-items: start; }
.sv-faq .sv-h { margin-bottom: 0; }
.sv-faq__intro p { margin-top: 28px; font-size: 17px; color: var(--ink-60); }
.sv-faq__intro .sv-link { margin-top: 16px; }
.sv-faq .faq__list { border-top: 0; }
.sv-faq .faq-item { border-bottom: 1px solid var(--sv-line); }
/* the questions and their + buttons are the home page ones, unchanged */
.sv-faq .faq-item__a p { max-width: 70ch; }

/* ---- the bigger picture ---- */
.sv-bp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sv-bp__card {
  --pix: var(--ink);
  display: grid; align-content: start; height: 100%; min-height: 270px; padding: 22px; border: 1px solid var(--sv-line); background: var(--white); color: var(--ink);
  transition: color .35s ease .12s;
}
.sv-bp__icon, .sv-bp__t, .sv-bp__d { transition: color .35s ease .12s; }
.sv-bp__top { display: flex; align-items: center; justify-content: space-between; }
.sv-bp__a { font-size: 18px; color: var(--accent); }
.sv-bp__icon { display: block; }
.sv-bp__icon svg { display: block; width: 44px; height: 44px; }
.sv-ico__o { fill: var(--accent); }
.sv-bp__t { margin-top: 56px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.sv-bp__d { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-60); }
.sv-bp__card:hover, .sv-bp__card:focus-visible { color: var(--bg); }
.sv-bp__card:hover .sv-bp__t, .sv-bp__card:focus-visible .sv-bp__t { color: var(--accent); }
.sv-bp__card:hover .sv-bp__d, .sv-bp__card:focus-visible .sv-bp__d { color: #BDB7AD; }

/* ---- closing call to action: the shared orange band, with this page's wording ---- */
.sv-cta::before { display: none; }
.sv-cta .cta__title { max-width: none; font-size: clamp(40px, 6.6vw, 90px); color: var(--ink); }
.sv-cta__em { display: block; color: var(--white); }
.sv-cta .cta__cells { top: auto; bottom: 0; grid-template-columns: repeat(2, clamp(20px, 3.6vw, 52px)); grid-auto-rows: clamp(20px, 3.6vw, 52px); }
.sv-cta .cta__cells i { background: transparent; }
.sv-cta .cta__cells i:nth-child(2) { background: #2B1710; }
.sv-cta .cta__cells i:nth-child(3) { background: var(--ink); }
.sv-cta .cta__cells i:nth-child(4) { background: var(--white); }

@media (max-width: 1000px) {
  .sv-panel, .sv-toolbar, .sv-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .sv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sv-deliver { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-bp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-step__path, .sv-step__dot { display: none; }
}
@media (max-width: 620px) {
  .sv-deliver { grid-template-columns: minmax(0, 1fr); }
  .sv-bp { grid-template-columns: minmax(0, 1fr); }
  .sv-bp__card { min-height: 0; }
  .sv-stage { aspect-ratio: auto; padding: 28px 0; }
  .sv-stage__in { height: auto; }
  .sv-ui, .sv-web, .sv-gfx { width: 92%; }
  .sv-ui__body { grid-template-columns: minmax(0, 1fr); }
  .sv-ui__nav { display: none; }
  .sv-gfx { grid-template-columns: minmax(0, 1fr); }
  .sv-gfx__poster { grid-row: auto; }
  .sv-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sv-step { grid-template-columns: 96px minmax(0, 1fr); justify-items: start; column-gap: 20px; text-align: left; }
  .sv-step__tile { grid-row: 1 / 3; width: 96px; height: 96px; }
  .sv-step__title { align-self: end; margin-top: 0; }
  .sv-step p { align-self: start; margin-top: 6px; }
}

/* ==========================================================================
   Case study page: company name, 2 or 4 mockups, what we worked on + services
   ========================================================================== */
.cs-head .article__title { max-width: 18ch; margin-bottom: clamp(26px, 5vh, 52px); }
.cs-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
/* one large image on top, the rest two across; a lone last image spans the full width */
.cs-shot:first-child,
.cs-shot:last-child:nth-child(even) { grid-column: 1 / -1; }
.cs-shot {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-06);
  border: 1px solid var(--ink-10);
}
.cs-shot:first-child,
.cs-shot:last-child:nth-child(even) { aspect-ratio: 16 / 9; }
.cs-shot img { width: 100%; height: 100%; object-fit: cover; }
.cs-shot--empty { display: grid; place-items: center; background: var(--ink-06); }
.cs-shot--empty img { width: min(46%, 280px); height: auto; object-fit: contain; }
.cs-shot--empty span { font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.04em; color: var(--ink-45); }

.cs-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vh, 48px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(34px, 6vh, 70px) var(--pad-x) var(--sec-pad);
}
.cs-work__col > .eyebrow { display: block; margin-bottom: clamp(14px, 2.4vh, 22px); }
.cs-work__text { max-width: 62ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--ink-60); text-wrap: pretty; }
.cs-work__text.prose > * + * { margin-top: 1em; }
.cs-work__col + .cs-work__col { padding-top: clamp(24px, 4vh, 36px); border-top: 1px solid var(--ink-14); }
.cs-work__soon { color: var(--ink-45); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cs-tags li {
  padding: 10px 16px;
  border: 1px solid var(--ink-14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color .3s ease, color .3s ease;
}
.cs-tags li:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 480px) {
  .cs-shots { grid-template-columns: minmax(0, 1fr); }
  .cs-shot,
  .cs-shot:first-child,
  .cs-shot:last-child:nth-child(even) { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   About page: hero, who, story, promises, team, disciplines, process, clients, visit
   ========================================================================== */
.ab-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.ab-sec { padding: var(--sec-pad) 0; }
.ab-sec .sec-head, .ab-dark .sec-head { margin-bottom: clamp(28px, 4.5vh, 48px); }
.ab-title { font-size: var(--h2); font-weight: 500; letter-spacing: -.05em; line-height: 1.04; text-wrap: balance; }
.ab-num { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }

/* hero */
.ab-hero { max-width: var(--max); margin: 0 auto; padding: 150px var(--pad-x) 0; }
.ab-hero .sec-head { margin-bottom: clamp(28px, 5vh, 56px); }
.ab-hero__grid { display: grid; grid-template-columns: minmax(0, 1.43fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ab-hero__title { font-size: clamp(44px, 6.4vw, 94px); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.ab-hero__title .rise-line { padding-bottom: .2em; margin-bottom: -.14em; }
.ab-hero__lead { max-width: 34em; margin-top: clamp(22px, 3.5vh, 40px); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.01em; color: var(--ink-60); text-wrap: pretty; }
.ab-hero__media { position: relative; aspect-ratio: 520 / 600; background: var(--ink-06); }
.ab-hero__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-cells { position: absolute; top: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); width: 40%; aspect-ratio: 4 / 3; }
.ab-cells i { display: block; }
.ab-cells .a { grid-area: 1 / 1; background: var(--accent); }
.ab-cells .b { grid-area: 1 / 2; background: var(--ink); }
.ab-cells .c { grid-area: 1 / 4; background: rgba(255, 90, 31, .7); }
.ab-cells .d { grid-area: 2 / 1; background: var(--ink); }
.ab-cells .e { grid-area: 2 / 2; background: rgba(18, 16, 14, .82); }
.ab-cells .f { grid-area: 3 / 1; background: rgba(255, 90, 31, .62); }
.ab-card { position: absolute; left: -40px; bottom: 36px; width: min(300px, 80%); margin: 0; background: var(--white); border: 1px solid var(--ink-10); }
.ab-card > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; }
.ab-card > div + div { border-top: 1px solid var(--ink-10); }
.ab-card dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.ab-card dd { margin: 0; font-size: 16px; font-weight: 500; white-space: nowrap; }

.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 8vh, 96px) 0 0; border-top: 1px solid var(--ink-40); }
.ab-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: clamp(18px, 2.6vw, 34px) clamp(12px, 2vw, 28px) clamp(22px, 3vw, 40px) 0; }
.ab-stats > div + div { padding-left: clamp(12px, 2vw, 34px); border-left: 1px solid var(--ink-14); }
.ab-stats dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.ab-stats dd { margin: 0; font-size: clamp(48px, 6.6vw, 96px); font-weight: 300; line-height: 1; letter-spacing: -.055em; }
.ab-stats .is-accent dd { color: var(--accent); }

/* disciplines ticker */
.ab-ticker { overflow: hidden; margin-top: clamp(40px, 7vh, 80px); padding: clamp(16px, 2.2vw, 26px) 0; border-top: 1px solid var(--ink-14); border-bottom: 1px solid var(--ink-14); }
.ab-ticker__track { display: flex; align-items: center; width: max-content; animation: dz-marquee var(--marquee-dur, 46s) linear infinite; }
.ab-ticker span { margin: 0 clamp(22px, 3vw, 44px); font-size: clamp(26px, 3vw, 42px); font-weight: 500; letter-spacing: -.045em; white-space: nowrap; }
.ab-ticker i { flex: none; width: 10px; height: 10px; background: var(--accent); }

/* who we are */
.ab-who { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.ab-who__text { max-width: none; }
.ab-who__text p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-60); }
.ab-facts { margin: clamp(24px, 4vh, 40px) 0 0; border-top: 1px solid var(--ink-14); }
.ab-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--ink-10); }
.ab-facts dt { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.ab-facts dd { margin: 0; text-align: right; font-size: 16px; font-weight: 500; line-height: 1.4; }

/* story */
.ab-story { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(44px, 7vh, 72px) 0 0; padding: 0; border-top: 1px solid var(--ink-40); }
.ab-story li { position: relative; padding: 44px 36px 0 0; }
.ab-story li + li { padding-left: 40px; border-left: 1px solid var(--ink-14); }
.ab-story__mark { position: absolute; top: -9px; left: 0; width: 17px; height: 17px; border: 1px solid var(--ink); background: var(--bg); }
.ab-story li + li .ab-story__mark { left: 40px; }
.ab-story li.is-on .ab-story__mark { border-color: var(--accent); background: var(--accent); }
.ab-story__num { display: block; font-size: clamp(60px, 8.4vw, 120px); font-weight: 300; line-height: 1; letter-spacing: -.055em; }
.ab-story li.is-on .ab-story__num { color: var(--accent); }
.ab-story h3 { max-width: 16em; margin: 22px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.3; }
.ab-story p { max-width: 34ch; margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-60); }

/* promises (dark band) */
.ab-dark { padding: var(--sec-pad) 0; background: var(--ink); color: var(--white); }
.ab-dark .eyebrow--faint { color: var(--on-dark-45); }
.ab-dark .rule { background: var(--on-dark-14); }
.ab-promises { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(44px, 7vh, 72px) 0 0; padding: 0; border-top: 1px solid var(--on-dark-14); }
.ab-promises li { min-height: 340px; padding: 36px 32px 8px 0; }
.ab-promises li + li { padding-left: 32px; border-left: 1px solid var(--on-dark-14); }
.ab-promises .ab-num { color: var(--accent); }
.ab-promises h3 { margin: 0; padding-top: clamp(56px, 9vw, 128px); font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.ab-promises p { max-width: 30ch; margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--on-dark-60); }

/* team */
.ab-founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px); margin-top: clamp(36px, 6vh, 60px); }
.ab-founder { display: grid; grid-template-columns: 41.5% minmax(0, 1fr); min-height: 330px; background: var(--white); border: 1px solid var(--ink-14); }
.ab-founder__ph { position: relative; display: grid; place-items: center; min-height: 100%; background: var(--ink-06); overflow: hidden; }
.ab-founder__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.ab-founder__ph > span { font-size: clamp(40px, 5vw, 72px); font-weight: 300; letter-spacing: -.04em; color: var(--ink-40); }
.ab-founder__sq { position: absolute; top: 0; left: 0; width: 34px; height: 34px; background: var(--accent); }
.ab-founder__body { display: flex; flex-direction: column; justify-content: center; padding: 30px clamp(20px, 2.4vw, 34px); }
.ab-founder h3 { margin: 12px 0 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.ab-founder p { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-60); }
.ab-members { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(20px, 2vw, 28px) 0 0; padding: 0; background: var(--white); border-top: 1px solid var(--ink-14); border-left: 1px solid var(--ink-14); }
.ab-member { padding: 30px clamp(18px, 2vw, 28px) 34px; border-right: 1px solid var(--ink-14); border-bottom: 1px solid var(--ink-14); }
.ab-member__ph { display: grid; place-items: center; width: min(100%, 168px); aspect-ratio: 1; background: var(--ink-06); overflow: hidden; }
.ab-member__ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ab-member__ph > span { font-size: 40px; font-weight: 300; letter-spacing: -.04em; color: var(--ink-40); }
.ab-member h3 { margin: 26px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.ab-member__role { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ab-member p { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-60); }

/* disciplines */
.ab-svc { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; border-top: 1px solid var(--ink-14); border-left: 1px solid var(--ink-14); }
.ab-svc li { border-right: 1px solid var(--ink-14); border-bottom: 1px solid var(--ink-14); }
.ab-svc a { display: flex; flex-direction: column; height: 100%; min-height: 330px; padding: 34px 32px 30px; transition: background .4s ease, color .4s ease; }
.ab-svc__top { display: flex; justify-content: space-between; align-items: center; }
.ab-svc__arrow { font-size: 22px; line-height: 1; }
.ab-svc strong { margin-top: clamp(36px, 6vh, 72px); font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.ab-svc__text { max-width: 34ch; margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--ink-60); transition: color .4s ease; }
.ab-svc__tools { display: flex; gap: 10px; margin-top: auto; padding-top: 28px; }
.ab-tool { display: grid; place-items: center; width: 44px; height: 44px; background: var(--white); border: 1px solid var(--ink-14); font-size: 14px; font-weight: 700; color: var(--ink); }
.ab-tool img { display: block; width: 22px; height: 22px; object-fit: contain; }
.ab-svc a:hover, .ab-svc a:focus-visible { background: var(--accent); color: var(--white); }
.ab-svc a:hover .ab-svc__text, .ab-svc a:focus-visible .ab-svc__text, .ab-svc a:hover .ab-num, .ab-svc a:focus-visible .ab-num { color: rgba(255, 255, 255, .88); }

/* process */
.ab-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; margin: clamp(44px, 7vh, 72px) 0 0; padding: 0; }
.ab-steps__line { display: flex; align-items: center; height: 17px; }
.ab-steps__line i { flex: none; width: 17px; height: 17px; background: var(--accent); }
.ab-steps__line::after { content: ''; flex: 1; height: 1px; background: var(--ink-40); }
.ab-steps .ab-num { display: block; margin-top: 26px; }
.ab-steps h3 { margin: 14px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.ab-steps p { max-width: 30ch; margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-60); }

/* clients */
.ab-wall { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: clamp(36px, 6vh, 60px) 0 0; padding: 0; border: 1px solid var(--ink-14); background: var(--white); }
.ab-wall li { display: grid; place-items: center; min-height: 132px; padding: 0 28px; text-align: center; }
.ab-wall img { display: block; width: auto; height: auto; max-width: 150px; max-height: 64px; object-fit: contain; }
.ab-wall span { font-size: 16px; font-weight: 600; color: var(--ink-60); }
.ab-wall .ab-wall__more { background: var(--bg); }
.ab-wall__more a { font-size: 14px; font-weight: 500; transition: color .3s ease; }
.ab-wall__more a:hover { color: var(--accent); }
.ab-quote { display: grid; grid-template-columns: minmax(0, 2.9fr) minmax(0, 1fr); margin: clamp(28px, 4vh, 40px) 0 0; }
.ab-quote__main { display: flex; flex-direction: column; padding: clamp(28px, 4.4vw, 64px); background: var(--ink); color: var(--white); }
.ab-quote__stars { font-size: 16px; letter-spacing: 4px; color: var(--accent); }
.ab-quote blockquote { margin: 26px 0 0; max-width: 24em; font-size: clamp(24px, 3.2vw, 46px); font-weight: 300; letter-spacing: -.04em; line-height: 1.18; }
.ab-quote figcaption { margin-top: auto; padding-top: clamp(28px, 4vh, 44px); font-size: 18px; font-weight: 500; }
.ab-quote figcaption span { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--on-dark-45); }
.ab-quote__side { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); background: var(--accent); color: var(--white); }
.ab-quote__side .eyebrow { color: var(--white); }
.ab-quote__side strong { margin-top: auto; padding-top: 40px; font-size: clamp(64px, 6.6vw, 96px); font-weight: 300; line-height: 1; letter-spacing: -.055em; }
.ab-quote__side p { margin: 14px 0 0; font-size: 16px; line-height: 1.5; }

/* find us */
.ab-visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 6vh, 60px); background: var(--white); border: 1px solid var(--ink-14); }
.ab-map {
  position: relative; min-height: 440px; background-color: var(--ink-05);
  background-image:
    linear-gradient(90deg, transparent 18%, rgba(18, 16, 14, .07) 18%, rgba(18, 16, 14, .07) 20%, transparent 20%, transparent 47%, rgba(18, 16, 14, .09) 47%, rgba(18, 16, 14, .09) 51%, transparent 51%, transparent 71%, rgba(18, 16, 14, .07) 71%, rgba(18, 16, 14, .07) 72.6%, transparent 72.6%),
    linear-gradient(180deg, transparent 21%, rgba(18, 16, 14, .07) 21%, rgba(18, 16, 14, .07) 24%, transparent 24%, transparent 56%, rgba(18, 16, 14, .09) 56%, rgba(18, 16, 14, .09) 61%, transparent 61%, transparent 79%, rgba(18, 16, 14, .06) 79%, rgba(18, 16, 14, .06) 81%, transparent 81%);
}
.ab-map__chip { position: absolute; top: 24px; left: 24px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--ink); color: var(--white); }
.ab-map__chip span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ab-map__chip b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.ab-map__pin { position: absolute; left: 52%; top: 45%; width: 26px; height: 26px; background: var(--accent); box-shadow: 0 0 0 10px rgba(255, 90, 31, .18); }
.ab-map__label { position: absolute; left: 24px; bottom: 24px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.ab-info { display: flex; flex-direction: column; }
.ab-info__row { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 20px; padding: 28px clamp(20px, 3vw, 44px); }
.ab-info__row + .ab-info__row { border-top: 1px solid var(--ink-10); }
.ab-info__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-45); }
.ab-info address, .ab-info__value { font-style: normal; font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; overflow-wrap: anywhere; }
.ab-info__value { transition: color .3s ease; }
.ab-info__value:hover { color: var(--accent); }
.ab-info__go { flex: none; padding: 12px 18px; border: 1px solid var(--ink); background: transparent; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background .3s ease, color .3s ease; }
.ab-info__go:hover, .ab-info__go:focus-visible { background: var(--ink); color: var(--white); }

@media (max-width: 1100px) {
  .ab-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-founders { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ab-hero__grid, .ab-who, .ab-visit, .ab-quote { grid-template-columns: 1fr; }
  .ab-hero__media { max-width: 520px; aspect-ratio: 1 / 1; }
  .ab-card { left: 12px; bottom: 12px; }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ab-stats > div:nth-child(n + 3) { border-top: 1px solid var(--ink-14); }
  .ab-story { grid-template-columns: 1fr; border-top: 0; }
  .ab-story li, .ab-story li + li { padding: 40px 0 36px; border-left: 0; border-top: 1px solid var(--ink-40); }
  .ab-story li + li .ab-story__mark { left: 0; }
  .ab-promises, .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-promises li { min-height: 280px; }
  .ab-promises li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ab-promises li:nth-child(n + 3) { border-top: 1px solid var(--on-dark-14); }
  .ab-steps { gap: 40px 28px; }
  .ab-map { min-height: 300px; }
}
@media (max-width: 560px) {
  .ab-founder { grid-template-columns: 1fr; }
  .ab-founder__ph { min-height: 300px; }
  .ab-svc { grid-template-columns: 1fr; }
  .ab-member { padding: 16px 14px 22px; }
  .ab-member__ph { width: 100%; }
  .ab-member h3 { margin-top: 18px; font-size: 18px; }
  .ab-member p { font-size: 14px; }
  .ab-promises, .ab-steps { grid-template-columns: 1fr; }
  .ab-promises li, .ab-promises li + li, .ab-promises li:nth-child(odd) { min-height: 0; padding: 28px 0 32px; border-left: 0; border-top: 1px solid var(--on-dark-14); }
  .ab-promises li:first-child { border-top: 0; }
  .ab-promises h3 { padding-top: 28px; }
  .ab-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-wall li { min-height: 104px; padding: 0 16px; }
  .ab-info__row { flex-wrap: wrap; }
  .ab-facts > div { flex-direction: column; gap: 6px; }
  .ab-facts dd { text-align: left; }
}
