/* Petronix Technology. One stylesheet for the whole site. */

@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("/assets/fonts/instrument.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Colours come from the Petronix logo: its navy, plus a warm signal colour. */
  --ink: #0a1c30;
  --paper: #f3f5f9;
  --white: #ffffff;
  --brand: #153a66;
  --brand-deep: #0e2a4d;
  --tint: #a9bfd9;
  --tint-soft: #e3eaf3;
  --marigold: #f2b33d;
  --slate: #4f5b6e;
  --line: #d5dce7;
  --error: #b3261e;

  --display: "Bricolage", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --band: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(73rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--read { width: min(44rem, 100% - 2 * var(--gutter)); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--slate); max-width: 40rem; }
.text-link { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--brand-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.45rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--small { padding: .6rem 1.1rem; font-size: .95rem; }
.btn--wide { width: 100%; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--signal { background: var(--marigold); color: var(--ink); }
.btn--signal:hover { background: #f7c561; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--brand-deep); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.head { position: sticky; top: 0; z-index: 50; background: rgba(243, 245, 249, .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 2.85rem; width: auto; }
.foot .logo img { height: 3rem; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; gap: 1.6rem; }
.nav__list a { text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav__list a:hover { border-bottom-color: var(--tint); }
.nav__list a[aria-current="page"] { border-bottom-color: var(--brand); color: var(--brand-deep); }
.menu-btn { display: none; font: 600 1rem var(--body); background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .5rem 1.1rem; cursor: pointer; }

@media (max-width: 58rem) {
  .head__in { flex-wrap: wrap; padding-block: .6rem; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding-bottom: .9rem; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .js .menu-btn { display: inline-block; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
}

/* Hero */
.hero { padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__h { font-size: clamp(2.4rem, 5vw, 3.95rem); letter-spacing: -0.028em; line-height: 1.02; }
.hero__copy .lede { margin-top: 1.5rem; }
.hero__copy .actions { margin-top: 2rem; }
.hero__fact { margin-top: 1.5rem; font-size: .95rem; color: var(--slate); }

.log { background: var(--ink); color: var(--white); border-radius: 16px; padding: clamp(1.25rem, 2.4vw, 1.9rem); box-shadow: 14px 14px 0 var(--tint); }
.log :focus-visible { outline-color: var(--marigold); }
.log__cap { display: flex; align-items: center; gap: .65rem; font: 600 1.1rem/1.2 var(--display); padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.log__live { width: .65rem; height: .65rem; border-radius: 50%; background: var(--marigold); flex: none; }
.log__row { display: grid; grid-template-columns: 5.4rem 1fr; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .98rem; line-height: 1.4; }
.log__t { color: var(--tint); font-variant-numeric: tabular-nums; font-weight: 500; }
.log__q { display: block; color: var(--tint); font-style: normal; margin-top: .2rem; }
.log__note { margin-top: 1rem; font-size: .88rem; color: rgba(255, 255, 255, .68); }

@media (prefers-reduced-motion: no-preference) {
  .js .log__row { opacity: 0; transform: translateY(6px); animation: log-in .45s ease-out forwards; animation-delay: calc(var(--i) * .55s + .5s); }
  .js .log__live { animation: live 1.8s ease-in-out infinite; }
}
@keyframes log-in { to { opacity: 1; transform: none; } }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(242, 179, 61, .22); } }

@media (max-width: 58rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .log { box-shadow: 8px 8px 0 var(--tint); margin-right: 8px; }
}

/* Bands */
.band { padding-block: var(--band); }
.band--white { background: var(--white); }
.band--paper { background: var(--paper); }
.band--ink { background: var(--ink); color: var(--white); }
.band--ink :focus-visible { outline-color: var(--marigold); }
.band--tight-top { padding-top: clamp(2rem, 4vw, 3rem); }

.intro { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.intro p { margin-top: 1rem; color: var(--slate); font-size: 1.1rem; }
.intro--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; }
.intro--split p { margin-top: 0; }
@media (max-width: 46rem) { .intro--split { grid-template-columns: 1fr; } }

/* Page heads */
.page-head { padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 1.4rem; }
.page-head .actions { margin-top: 2rem; }
.page-head--article h1 { max-width: none; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-head--solo { padding-block: clamp(4rem, 12vw, 9rem); }
.crumb { font-size: .95rem; color: var(--slate); margin-bottom: 1rem; }
.crumb a { color: var(--brand); font-weight: 600; }

/* Compare */
.compare { border-top: 2px solid var(--ink); }
.compare__head, .compare__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.compare__head span { padding: .9rem 1.25rem; font-weight: 600; font-size: .95rem; color: var(--slate); }
.compare__head span:last-child { background: var(--tint-soft); color: var(--brand-deep); }
.compare__row span { padding: 1.15rem 1.25rem; border-top: 1px solid var(--line); }
.compare__a { color: var(--slate); padding-left: 0; }
.compare__head span:first-child, .compare__row .compare__a { padding-left: 0; }
.compare__b { background: var(--tint-soft); font-weight: 600; }
@media (max-width: 40rem) {
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .compare__row span { border-top: 0; }
  .compare__row .compare__a { padding: 1rem 0 .5rem; font-size: .98rem; }
  .compare__b { padding: .9rem 1rem; margin-bottom: 1rem; border-left: 3px solid var(--brand); }
}

/* Service rows on the homepage */
.rows { border-top: 2px solid var(--ink); }
.rows__link { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 1rem 2.5rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rows__name { font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.15 var(--display); letter-spacing: -0.015em; }
.rows__line { color: var(--slate); }
.rows__go { font-weight: 600; font-size: .95rem; color: var(--brand); border: 1.5px solid var(--tint); border-radius: 999px; padding: .4rem .95rem; }
.rows__link:hover .rows__name { color: var(--brand); }
.rows__link:hover .rows__go { background: var(--brand); border-color: var(--brand); color: var(--white); }
@media (max-width: 46rem) {
  .rows__link { grid-template-columns: 1fr; gap: .6rem; }
  .rows__go { justify-self: start; }
}

/* Project plates */
.plates { display: grid; gap: 1.5rem; }
.plates--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate { display: grid; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 6rem; }
.plate__face { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: clamp(1.25rem, 2.5vw, 2rem); min-height: 15rem; }
.plate__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; }
.plate__status { border: 1.5px solid currentColor; border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; }
.plate__status--live::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--marigold); margin-right: .45rem; vertical-align: .05em; }
.plate__name { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.02; margin-top: auto; }
.plate__sum { font-size: 1.02rem; line-height: 1.45; opacity: .92; }
.plate--ink .plate__face { background: var(--ink); color: var(--white); }
.plate--brand .plate__face { background: var(--brand); color: var(--white); }
.plate--marigold .plate__face { background: var(--marigold); color: var(--ink); }
.plate--marigold .plate__status--live::before { background: var(--ink); }
.plate--tint .plate__face { background: var(--tint); color: var(--ink); }
.plate--white .plate__face { background: var(--tint-soft); color: var(--ink); }
.plate__body { padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; }
.plate__body p { color: var(--slate); }
.plate__link { align-self: flex-start; margin-top: auto; color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.plate__link:hover { color: var(--brand-deep); }
.plate__dl { display: grid; gap: 1.1rem; }
.plate__dl dt { font-weight: 600; font-size: .92rem; color: var(--brand-deep); margin-bottom: .2rem; }
.plate__dl dd { color: var(--ink); }

.plates--full { gap: 2rem; }
.plates--full .plate { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.plates--full .plate:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.plates--full .plate:nth-child(even) .plate__face { order: 2; }
.plates--full .plate__face { min-height: 19rem; }
.plates--full .plate__name { font-size: clamp(1.8rem, 3.6vw, 3rem); }

@media (max-width: 58rem) {
  .plates--three { grid-template-columns: 1fr; }
  .plates--full .plate, .plates--full .plate:nth-child(even) { grid-template-columns: 1fr; }
  .plates--full .plate:nth-child(even) .plate__face { order: 0; }
  .plate__face, .plates--full .plate__face { min-height: 12rem; }
}

/* Seven-step track on the homepage */
.track { counter-reset: step; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.track__step { counter-increment: step; padding: 1.25rem 1rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.track__step::before { content: counter(step); font: 700 2.4rem/1 var(--display); color: var(--brand); letter-spacing: -0.03em; margin-bottom: .5rem; }
.track__name { font: 700 1.1rem/1.2 var(--display); }
.track__short { color: var(--slate); font-size: .95rem; line-height: 1.4; }
@media (max-width: 62rem) {
  .track { grid-template-columns: 1fr; border-top: 0; }
  .track__step { display: grid; grid-template-columns: 2.6rem 9.5rem 1fr; align-items: baseline; gap: .25rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
  .track__step::before { font-size: 1.6rem; margin: 0; }
}
@media (max-width: 34rem) {
  .track__step { grid-template-columns: 2.6rem 1fr; }
  .track__short { grid-column: 2; }
}

/* Founder note on the homepage */
.note { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.note__q p { font: 500 clamp(1.3rem, 2.3vw, 1.75rem)/1.32 var(--display); letter-spacing: -0.012em; }
.note__q footer { margin-top: 1.4rem; color: var(--slate); font-weight: 600; }
.facts li { padding: 1.1rem 0; border-top: 1px solid var(--line); color: var(--slate); }
.facts li:first-child { border-top: 2px solid var(--ink); }
.facts strong { display: block; color: var(--ink); font: 700 1.1rem/1.3 var(--display); margin-bottom: .2rem; }
@media (max-width: 52rem) { .note { grid-template-columns: 1fr; } }

/* Closing call to action */
.band--close { background: var(--brand); color: var(--white); }
.band--close :focus-visible { outline-color: var(--marigold); }
.close__h { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.close__p { margin-top: 1.1rem; max-width: 36rem; font-size: 1.12rem; color: rgba(255, 255, 255, .9); }
.close .actions { margin-top: 2rem; }

/* Services page */
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a { display: inline-block; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem 1rem; border: 1.5px solid var(--tint); border-radius: 999px; background: var(--white); }
.jump a:hover { border-color: var(--brand); color: var(--brand-deep); }
.band--service { scroll-margin-top: 4rem; }
.service { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.service__line { margin-top: 1.1rem; font-size: 1.15rem; color: var(--slate); }
.service__out { margin: 1.6rem 0 1.9rem; padding-left: 1.1rem; border-left: 4px solid var(--marigold); }
.service__out strong { display: block; font: 700 1rem/1.3 var(--display); margin-bottom: .2rem; }
.service__side h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.service__tools { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--slate); font-size: .98rem; }
.service__tools span { font-weight: 600; color: var(--ink); margin-right: .35rem; }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; border-radius: 2px; background: var(--brand); }
@media (max-width: 52rem) { .service { grid-template-columns: 1fr; } }

.extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.extra > div { max-width: 38rem; }
.extra p { margin-top: .8rem; color: var(--slate); font-size: 1.08rem; }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.way { padding: 1.75rem 2rem 0 0; }
.way + .way { padding-left: 2rem; border-left: 1px solid var(--line); }
.way p { margin: .7rem 0 1.2rem; color: var(--slate); }
@media (max-width: 52rem) {
  .ways { grid-template-columns: 1fr; }
  .way, .way + .way { padding: 1.75rem 0; border-left: 0; }
  .way + .way { border-top: 1px solid var(--line); }
}

/* Four-up definition grid */
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.quad__item { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.quad dt { font: 700 1.2rem/1.2 var(--display); margin-bottom: .5rem; }
.quad dd { color: var(--slate); }
@media (max-width: 58rem) { .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .quad { grid-template-columns: 1fr; gap: 1.5rem; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem 4rem; align-items: start; }
.faq .intro { margin-bottom: 0; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font: 700 1.15rem/1.3 var(--display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--brand); flex: none; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { padding: 0 2rem 1.3rem 0; color: var(--slate); max-width: 40rem; }
@media (max-width: 52rem) { .faq { grid-template-columns: 1fr; } .faq .intro { margin-bottom: 1.5rem; } }

/* Process page */
.pre { counter-reset: pre; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.pre__step { counter-increment: pre; border-top: 2px solid var(--ink); padding-top: 1rem; }
.pre__step::before { content: counter(pre); font: 700 2rem/1 var(--display); color: var(--brand); display: block; margin-bottom: .6rem; }
.pre__step p { margin-top: .5rem; color: var(--slate); }
@media (max-width: 58rem) { .pre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .pre { grid-template-columns: 1fr; } }

.stepper { counter-reset: st; border-top: 2px solid var(--ink); }
.stepper__step { counter-increment: st; display: grid; grid-template-columns: 4.5rem minmax(0, .8fr) minmax(0, 1.6fr); gap: 1rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.stepper__step::before { content: counter(st); font: 700 3.2rem/.9 var(--display); color: var(--brand); letter-spacing: -0.04em; }
.stepper__head p { margin-top: .4rem; color: var(--slate); }
.stepper__head h3 { font-size: 1.6rem; }
.stepper__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.stepper__dl dt { font-weight: 600; font-size: .92rem; color: var(--brand-deep); margin-bottom: .3rem; }
@media (max-width: 58rem) {
  .stepper__step { grid-template-columns: 3rem minmax(0, 1fr); }
  .stepper__step::before { font-size: 2.2rem; }
  .stepper__dl { grid-column: 2; }
}
@media (max-width: 34rem) { .stepper__dl { grid-template-columns: 1fr; gap: 1rem; } }

/* About page */
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story__text p { margin-top: 1.1rem; font-size: 1.1rem; }
.story__text h2 + p { margin-top: 1.4rem; }
.ledger { border-top: 2px solid var(--ink); }
.ledger div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ledger dt { color: var(--slate); font-size: .95rem; font-weight: 600; }
@media (max-width: 52rem) { .story { grid-template-columns: 1fr; } }

.founder h2 { font-size: 1.15rem; letter-spacing: 0; color: var(--tint); margin-bottom: 1.5rem; }
.founder blockquote { max-width: 50rem; }
.founder blockquote p { font: 500 clamp(1.35rem, 2.6vw, 2rem)/1.3 var(--display); letter-spacing: -0.015em; }
.founder blockquote p + p { margin-top: 1.2rem; }
.founder footer { margin-top: 1.75rem; color: var(--tint); font-weight: 600; }

/* Insights */
.posts { border-top: 2px solid var(--ink); }
.post__link { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .5rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post__topic { grid-row: span 3; font-weight: 600; color: var(--brand-deep); padding-top: .35rem; }
.post__title { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.12 var(--display); letter-spacing: -0.02em; }
.post__sum { color: var(--slate); max-width: 44rem; }
.post__meta { font-size: .92rem; color: var(--slate); }
.post__link:hover .post__title { color: var(--brand); }
@media (max-width: 40rem) {
  .post__link { grid-template-columns: 1fr; }
  .post__topic { grid-row: auto; padding: 0; }
}

.article__meta { margin-top: 1.2rem; font-size: .95rem; color: var(--slate); }
.prose p { font-size: 1.1rem; line-height: 1.7; margin-top: 1.1rem; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-top: 2.4rem; line-height: 1.2; }
.prose a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.prose .article__back { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.page-head--contact { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.contact__ways { margin-top: 2rem; display: grid; gap: .9rem; justify-items: start; }
.contact__num { color: var(--slate); }
.brief { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 14px 14px 0 var(--tint); display: grid; gap: 1.15rem; }
.brief__h { font-size: 1.5rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .98rem; }
.opt { font-weight: 400; color: var(--slate); font-size: .9rem; margin-left: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--white);
  border: 1.5px solid #98a6ba; border-radius: 9px; padding: .75rem .85rem;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--tint); outline-offset: 0; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__err { color: var(--error); font-size: .92rem; font-weight: 500; }
.brief__note { font-size: .9rem; color: var(--slate); }
.brief__done { background: var(--tint-soft); border-left: 4px solid var(--brand); padding: .9rem 1rem; border-radius: 4px; font-size: .98rem; }
@media (max-width: 58rem) {
  .contact { grid-template-columns: 1fr; }
  .brief { box-shadow: 8px 8px 0 var(--tint); margin-right: 8px; }
}

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .82); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; }
.foot :focus-visible { outline-color: var(--marigold); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot__brand p { margin-top: 1rem; max-width: 24rem; }
.foot__h { font: 700 1rem/1.3 var(--display); letter-spacing: 0; color: var(--white); margin-bottom: .9rem; }
.foot li { margin-bottom: .55rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot__note { margin-top: .9rem; font-size: .9rem; color: rgba(255, 255, 255, .62); }
.foot__base { margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 58rem) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .foot__grid { grid-template-columns: 1fr; } }


/* ------------------------------------------------------------------
   Images, reviews, platforms and motion
   ------------------------------------------------------------------ */

.btn { transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-2px); }

/* Platform strip under the hero */
.pmark { flex: none; color: inherit; }
.pmark--mono { display: inline-grid; place-items: center; min-width: 26px; height: 26px; font: 700 .78rem/1 var(--display); letter-spacing: -0.02em; }
.strip { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: center; }
.strip__label { font-weight: 600; font-size: .95rem; color: var(--slate); }
.strip__view { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.strip__list { display: flex; flex: none; align-items: center; gap: 2.75rem; padding-right: 2.75rem; }
.strip__item { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.15rem/1 var(--display); white-space: nowrap; }
.strip__item .pmark--mono { border: 1.5px solid currentColor; border-radius: 6px; padding: 0 .3rem; }
@keyframes strip-slide { to { transform: translateX(-100%); } }
@media (max-width: 46rem) { .strip { grid-template-columns: 1fr; } }

/* Flow graphic */
.flow { --pad: clamp(1rem, 3vw, 2rem); --dot: 3.25rem; position: relative; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 1.75rem var(--pad); background: var(--paper); border-radius: 16px; }
.flow__nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.flow__node { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.flow__dot { width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; background: var(--brand); border: 2px solid var(--brand); color: var(--white); }
.flow__name { font: 700 1rem/1.2 var(--display); }
.flow__track { position: absolute; top: calc(1.75rem + var(--dot) / 2 - 2px); left: calc(var(--pad) + (100% - 2 * var(--pad)) / 12); right: calc(var(--pad) + (100% - 2 * var(--pad)) / 12); height: 4px; border-radius: 2px; background: var(--line); }
.flow__bar { position: relative; display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--brand); }
.flow__bar::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 5px rgba(242, 179, 61, .28); }
@media (max-width: 40rem) {
  .flow__nodes { grid-template-columns: 1fr; gap: 1.1rem; }
  .flow__node { flex-direction: row; gap: 1rem; text-align: left; }
  .flow__track { top: calc(1.75rem + var(--dot) / 2); bottom: calc(1.75rem + var(--dot) / 2); left: calc(var(--pad) + var(--dot) / 2 - 2px); right: auto; width: 4px; height: auto; }
  .flow__bar::after { right: auto; left: 50%; top: auto; bottom: -7px; margin: 0 0 0 -7px; }
}

/* Project screenshots */
.plate__shot { border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(10, 28, 48, .14); }
.plate__bar { display: flex; gap: .35rem; padding: .5rem .7rem; background: #e9edf3; }
.plate__bar i { width: .5rem; height: .5rem; border-radius: 50%; background: #bcc7d6; }
.plate__shot a { display: block; overflow: hidden; }
.plate__shot img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.plate:hover .plate__shot img { transform: scale(1.04); }
.plate--shot .plate__face { justify-content: flex-start; gap: 1.1rem; }
.plate--shot .plate__name { margin-top: .15rem; }

/* Reviews */
.band--ink .intro p { color: rgba(255, 255, 255, .8); }
.band--ink .text-link { color: var(--tint); }
.band--ink .text-link:hover { color: var(--white); }
.reviews-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rating__n { color: var(--tint); font-size: 1.1rem; font-weight: 500; }
.rating__n span { font: 700 clamp(3.2rem, 6vw, 4.75rem)/1 var(--display); letter-spacing: -0.03em; color: var(--marigold); margin-right: .5rem; }
.rating__t { margin: .6rem 0 .8rem; max-width: 30rem; color: rgba(255, 255, 255, .8); }
.reviews { display: grid; gap: 1.25rem; }
.reviews--feature { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.reviews--feature .review--big { grid-row: span 2; }
.reviews--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reviews--wall { display: block; columns: 3 18rem; column-gap: 1.25rem; }
.reviews--wall .review { break-inside: avoid; margin-bottom: 1.25rem; }
.review { margin: 0; padding: 1.5rem; border-radius: 14px; display: flex; flex-direction: column; gap: 1rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); }
.review blockquote p { font-size: 1.02rem; line-height: 1.55; }
.review--big blockquote p { font: 500 clamp(1.2rem, 2vw, 1.5rem)/1.36 var(--display); letter-spacing: -0.01em; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-size: .92rem; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.review figcaption strong { display: block; font-weight: 600; color: var(--white); }
.review__av { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--white); font: 700 1rem/1 var(--display); }
.stars { display: inline-flex; align-items: center; gap: .1rem; color: var(--marigold); }
.stars__n { margin-left: .5rem; font-weight: 600; font-size: .9rem; }
.reviews-more { margin-top: 2rem; }
.reviews-note { margin-top: 2rem; max-width: 46rem; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.reviews-note a { color: var(--tint); font-weight: 600; text-underline-offset: 3px; }
.band--white .review { background: var(--paper); border-color: var(--line); }
.band--white .review figcaption { color: var(--slate); }
.band--white .review figcaption strong { color: var(--ink); }
.band--white .stars__n { color: var(--ink); }
@media (max-width: 58rem) {
  .reviews-head, .reviews--feature, .reviews--row { grid-template-columns: 1fr; }
  .reviews--feature .review--big { grid-row: auto; }
}

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.platform { scroll-margin-top: 6rem; padding: 1.5rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: .6rem; transition: background-color .2s, border-color .2s, transform .2s; }
.platform:hover { background: rgba(255, 255, 255, .06); border-color: var(--tint); transform: translateY(-4px); }
.platform__mark { width: 3rem; height: 3rem; margin-bottom: .4rem; border-radius: 10px; display: grid; place-items: center; background: var(--white); color: var(--ink); }
.platform p { color: rgba(255, 255, 255, .78); }
.platform__go { margin-top: auto; padding-top: .6rem; align-self: flex-start; color: var(--tint); font-weight: 600; text-underline-offset: 3px; }
.platform__go:hover { color: var(--white); }
.platforms__note { margin-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 58rem) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .platforms { grid-template-columns: 1fr; } }

/* Contact: two ways to send */
.brief__send { display: grid; gap: .75rem; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__done { display: grid; gap: .6rem; justify-items: start; }
.brief__done-h { font: 700 1.25rem/1.2 var(--display); color: var(--ink); }
.brief__done:focus { outline: none; }
[hidden] { display: none !important; }

/* Closing band shapes and email line */
.band--close { position: relative; overflow: hidden; }
.close { position: relative; z-index: 1; }
.close__shape { position: absolute; border-radius: 50%; pointer-events: none; }
.close__shape--a { width: 34rem; height: 34rem; right: -10rem; top: -14rem; background: var(--brand-deep); }
.close__shape--b { width: 17rem; height: 17rem; right: 12%; bottom: -9rem; border: 2px dashed rgba(169, 191, 217, .6); }
.close__mail { margin-top: 1.25rem; color: rgba(255, 255, 255, .88); }
.close__mail a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }

/* Orbit in page headers */
.page-head { position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; z-index: 1; }
.orbit { position: absolute; top: 50%; right: max(var(--gutter), calc((100% - 73rem) / 2)); width: clamp(14rem, 23vw, 19rem); height: auto; transform: translateY(-50%); pointer-events: none; }
.orbit__ring { fill: none; stroke: var(--tint); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.orbit__core { fill: var(--brand); }
.orbit__dot--signal { fill: var(--marigold); }
.orbit__dot--brand { fill: var(--brand); }
.orbit__dot--tint { fill: #7f9cc4; }
.orbit__g { transform-origin: 160px 160px; }
@media (max-width: 64rem) { .orbit { display: none; } }

/* Hero log offset is a variable so it can animate */
.log { --off: 14px; box-shadow: var(--off) var(--off) 0 var(--tint); }
@media (max-width: 58rem) { .log { --off: 8px; } }

/* Homepage track: the rule draws itself */
@media (min-width: 62.01rem) {
  .track { border-top: 0; position: relative; }
  .track::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--ink); transform-origin: left; }
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes log-pop { from { opacity: 0; transform: translateY(22px); box-shadow: 0 0 0 var(--tint); } to { opacity: 1; transform: none; box-shadow: var(--off) var(--off) 0 var(--tint); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(-3rem, 2.5rem) scale(1.1); } }
@keyframes flow-bar { 0% { width: 0; opacity: 1; } 80%, 94% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@keyframes flow-bar-v { 0% { height: 0; opacity: 1; } 80%, 94% { height: 100%; opacity: 1; } 100% { height: 100%; opacity: 0; } }
@keyframes flow-n1 { 0% { background: var(--white); border-color: var(--tint); color: var(--slate); transform: scale(1); } 2% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1.14); } 7%, 95% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1); } 100% { background: var(--white); border-color: var(--tint); color: var(--slate); } }
@keyframes flow-n2 { 0%, 15% { background: var(--white); border-color: var(--tint); color: var(--slate); transform: scale(1); } 18% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1.14); } 23%, 95% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1); } 100% { background: var(--white); border-color: var(--tint); color: var(--slate); } }
@keyframes flow-n3 { 0%, 31% { background: var(--white); border-color: var(--tint); color: var(--slate); transform: scale(1); } 34% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1.14); } 39%, 95% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1); } 100% { background: var(--white); border-color: var(--tint); color: var(--slate); } }
@keyframes flow-n4 { 0%, 47% { background: var(--white); border-color: var(--tint); color: var(--slate); transform: scale(1); } 50% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1.14); } 55%, 95% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1); } 100% { background: var(--white); border-color: var(--tint); color: var(--slate); } }
@keyframes flow-n5 { 0%, 63% { background: var(--white); border-color: var(--tint); color: var(--slate); transform: scale(1); } 66% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1.14); } 71%, 95% { background: var(--brand); border-color: var(--brand); color: var(--white); transform: scale(1); } 100% { background: var(--white); border-color: var(--tint); color: var(--slate); } }
@keyframes flow-n6 { 0%, 78% { background: var(--white); border-color: var(--tint); color: var(--slate); transform: scale(1); } 81% { background: var(--marigold); border-color: var(--marigold); color: var(--ink); transform: scale(1.18); } 86%, 95% { background: var(--marigold); border-color: var(--marigold); color: var(--ink); transform: scale(1); } 100% { background: var(--white); border-color: var(--tint); color: var(--slate); } }

@media (prefers-reduced-motion: no-preference) {
  /* Page-load sequence */
  .js .hero__copy > * { opacity: 0; animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero__copy > :nth-child(1) { animation-delay: .05s; }
  .js .hero__copy > :nth-child(2) { animation-delay: .2s; }
  .js .hero__copy > :nth-child(3) { animation-delay: .32s; }
  .js .hero__copy > :nth-child(4) { animation-delay: .44s; }
  .js .hero__copy > :nth-child(5) { animation-delay: .56s; }
  .js .log { animation: log-pop .8s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .js .page-head > .wrap > * { opacity: 0; animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .page-head > .wrap > :nth-child(2) { animation-delay: .12s; }
  .js .page-head > .wrap > :nth-child(3) { animation-delay: .24s; }
  .js .page-head > .wrap > :nth-child(4) { animation-delay: .36s; }

  /* Looping graphics */
  .strip__list { animation: strip-slide 30s linear infinite; }
  .strip__view:hover .strip__list { animation-play-state: paused; }
  .flow__bar { animation: flow-bar 9s linear infinite; }
  .flow__node--1 .flow__dot { animation: flow-n1 9s linear infinite; }
  .flow__node--2 .flow__dot { animation: flow-n2 9s linear infinite; }
  .flow__node--3 .flow__dot { animation: flow-n3 9s linear infinite; }
  .flow__node--4 .flow__dot { animation: flow-n4 9s linear infinite; }
  .flow__node--5 .flow__dot { animation: flow-n5 9s linear infinite; }
  .flow__node--6 .flow__dot { animation: flow-n6 9s linear infinite; }
  .orbit__g--a { animation: spin 22s linear infinite; }
  .orbit__g--b { animation: spin 34s linear infinite reverse; }
  .orbit__g--c { animation: spin 14s linear infinite; }
  .close__shape--a { animation: drift 14s ease-in-out infinite alternate; }
  .close__shape--b { animation: spin 60s linear infinite; }

  /* Scroll entrances. The class is added by site.js and removed once the element has arrived. */
  .motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 85ms); }
  .motion .rv.is-in { opacity: 1; transform: none; }
  .motion .track.rv { opacity: 1; transform: none; }
  .motion .track.rv::before { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
  .motion .track.rv.is-in::before { transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 40rem) {
  .flow__bar { animation-name: flow-bar-v; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__view { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .strip__list { flex-wrap: wrap; gap: 1rem 2rem; }
  .strip__list[aria-hidden] { display: none; }
}

/* A client's words beside their project */
.plate__quote { margin: 0; padding: .9rem 1.1rem; border-left: 4px solid var(--marigold); background: var(--paper); border-radius: 0 8px 8px 0; }
.plate__quote p { color: var(--ink); font-weight: 500; }
.plate__quote footer { margin-top: .35rem; font-size: .9rem; color: var(--slate); }

/* Landing pages */
.lhead__mark { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.service__more { margin-top: 1rem; color: var(--slate); font-size: 1.08rem; }
.quad--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 46rem) { .quad--three { grid-template-columns: 1fr; gap: 1.5rem; } }
.lreviews { margin-top: 1.5rem; }
.also h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.also .jump { margin-top: 1.25rem; }
a.strip__item { color: inherit; text-decoration: none; }
a.strip__item:hover { color: var(--brand); }

/* Footer with platform and industry columns */
.foot__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, .8fr) minmax(0, 1.6fr); gap: 2rem; }
.foot li { overflow-wrap: anywhere; }
@media (max-width: 74rem) { .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 24rem) { .foot__grid { grid-template-columns: 1fr; } }

/* Phone line in the header */
.nav__call { font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; color: var(--brand); }
.nav__call:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 58.01rem) and (max-width: 76rem) { .nav__call { display: none; } }
@media (min-width: 58.01rem) and (max-width: 84rem) { .nav { gap: 1.25rem; } .nav__list { gap: 1.2rem; } }
@media (max-width: 58rem) { .nav__call { padding: .4rem 0; font-size: 1.05rem; } }

/* Illustration gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.gallery img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 46rem) { .gallery { grid-template-columns: 1fr; } }

/* Team page */
.person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.person__photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 14px 14px 0 var(--tint); }
.person__photo img { display: block; width: 100%; height: auto; }
.person__role { font-weight: 600; color: var(--brand); margin-bottom: .5rem; }
.person__text h2 span { display: block; font-size: .55em; color: var(--slate); font-weight: 600; margin-top: .3rem; letter-spacing: 0; }
.person__text > p:not(.person__role) { margin-top: 1.1rem; font-size: 1.1rem; }
.person__text .actions { margin-top: 2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tags li { padding: .35rem .85rem; border-radius: 999px; background: var(--tint-soft); color: var(--brand-deep); font-weight: 600; font-size: .92rem; }
.pre__step--plain::before { display: none; }
.pre__step--plain h3 { color: var(--brand); }
@media (max-width: 52rem) { .person { grid-template-columns: 1fr; } .person__photo { max-width: 26rem; box-shadow: 8px 8px 0 var(--tint); } }
.note__q footer { display: flex; align-items: center; gap: .9rem; }
.note__face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.founder footer a { color: var(--white); }

.members { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; list-style: none; padding: 0; }
.members > .member { flex: 0 1 100%; }
.member__initials { display: grid; place-items: center; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--brand), var(--ink)); color: #fff; font-family: inherit; font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 700; letter-spacing: .04em; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.member img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.member__text { padding: 1.25rem 1.4rem 1.5rem; }
.member__role { color: var(--brand); font-weight: 600; margin: .25rem 0 .7rem; }
.member__text p:last-child { color: var(--slate); }
@media (min-width: 34rem) { .members > .member { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 52rem) { .members > .member { flex-basis: calc((100% - 2 * 1.25rem) / 3); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Homepage: proof under the hero buttons */
.hero__wa { margin-top: 1.1rem; font-size: .98rem; color: var(--slate); }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.faces { display: flex; list-style: none; margin: 0; padding: 0 0 0 .55rem; }
.faces li { margin-left: -.55rem; }
.faces img { display: block; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2.5px solid var(--paper); background: var(--ink); object-fit: cover; }
.proof__t { display: grid; gap: .1rem; font-size: .95rem; color: var(--slate); line-height: 1.4; }
.proof__r { color: var(--ink); text-decoration: none; }
.proof__r:hover strong { text-decoration: underline; }
.proof__stars { color: #b57a00; letter-spacing: .06em; }

/* Homepage: services in four groups */
.groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.group { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.group__media { aspect-ratio: 16 / 10; background: var(--tint-soft); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(1rem, 4vw, 2.25rem); }
.group__bar { display: block; height: 1.1rem; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; background-color: var(--white); background-image: radial-gradient(circle, var(--tint) 3px, transparent 3.5px), radial-gradient(circle, var(--tint) 3px, transparent 3.5px), radial-gradient(circle, var(--tint) 3px, transparent 3.5px); background-size: 8px 8px; background-repeat: no-repeat; background-position: 8px 50%, 20px 50%, 32px 50%; }
.group__media img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: 0 14px 28px -18px rgba(10, 28, 48, .45); }
.group__media--full { padding: 0; display: block; }
.group__media--full img { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; box-shadow: none; }
.group__body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .6rem; align-content: start; }
.group__body h3 { font: 700 clamp(1.3rem, 2.2vw, 1.6rem)/1.15 var(--display); letter-spacing: -0.015em; }
.group__body > p { color: var(--slate); }
.group__links { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.group__links a { display: inline-block; font-weight: 600; font-size: .93rem; color: var(--brand); border: 1.5px solid var(--tint); border-radius: 999px; padding: .38rem .9rem; text-decoration: none; }
.group__links a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.gmock { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--brand), var(--ink)); color: var(--white); padding: clamp(1rem, 3vw, 1.75rem); display: grid; align-content: center; gap: .75rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.gmock__q { justify-self: end; max-width: 85%; background: rgba(255, 255, 255, .14); border-radius: 14px 14px 4px 14px; padding: .6rem .85rem; }
.gmock__a { max-width: 92%; background: var(--white); color: var(--ink); border-radius: 14px 14px 14px 4px; padding: .7rem .9rem; }
.gmock__ai { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--tint-soft); border-radius: 4px; padding: .05rem .4rem; margin-right: .3rem; }
.gmock__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.gmock__checks li { font-size: .8rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: .15rem .6rem; }
.gmock__checks li::before { content: "✓ "; color: var(--marigold); }
@media (max-width: 46rem) {
  .groups { grid-template-columns: 1fr; }
  .plates--home > :nth-child(n + 4) { display: none; }
}
@media (max-width: 30rem) { .gmock { font-size: .86rem; } .gmock__checks { display: none; } }
.hero__wa a { white-space: nowrap; }
