/* Steel Cap Digital - style.v17.1.0.css
   Night and day: deep blue-black and warm white in rhythm, one confident orange,
   Mona Sans throughout, real colour photography and screenshots doing the work. */

@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans-latin-wdth-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0e1116;
  --night-2: #161b23;
  --night-3: #1e2530;
  --night-line: #2a313c;
  --on-night: #f3f1ec;
  --on-night-2: #a3abb7;

  --day: #faf8f4;
  --white: #ffffff;
  --sand: #f2ede4;
  --ink: #14171c;
  --ink-2: #545b66;
  --line: #e6e0d5;

  --orange: #e8622c;
  --orange-hi: #f2763f;
  --orange-deep: #b8461a;
  --orange-tint: #fdeee6;

  --sans: "Mona Sans", "Helvetica Neue", Arial, sans-serif;

  --t-xs: 13px;
  --t-sm: 15px;
  --t-body: 17px;
  --t-lede: clamp(18px, 1.5vw, 21px);
  --t-h3: clamp(21px, 1.9vw, 26px);
  --t-h2: clamp(32px, 3.7vw, 54px);
  --t-h1: clamp(42px, 5.3vw, 80px);
  --t-page: clamp(38px, 5vw, 74px);

  --wrap: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --sec: clamp(84px, 10vw, 148px);
  --gap: clamp(16px, 2vw, 28px);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 17, 22, 0.06), 0 18px 40px -18px rgba(14, 17, 22, 0.32);
  --shadow-lg: 0 2px 4px rgba(14, 17, 22, 0.06), 0 34px 70px -30px rgba(14, 17, 22, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 90px;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, dl, dd, figure, blockquote, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  text-wrap: pretty;
}

h2,
h3 {
  text-wrap: balance;
}

.nw {
  white-space: nowrap;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: 10px;
  left: 16px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------------------------------------------------------------- type */

.h1,
.h2,
.h3,
.hero__title,
.page-hero__title {
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__title {
  font-size: var(--t-h1);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-hero__title {
  font-size: var(--t-page);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.h2 {
  font-size: var(--t-h2);
  line-height: 1.04;
}

.h3 {
  font-size: var(--t-h3);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.accent {
  color: var(--orange);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kicker::before {
  content: "/";
  color: var(--orange);
  font-size: 1.25em;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.on-night .kicker {
  color: var(--on-night-2);
}

.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
}

.on-night .lede {
  color: var(--on-night-2);
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose p {
  max-width: 64ch;
}

.prose a,
.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.prose a:hover,
.text-link:hover {
  color: var(--orange-deep);
}

.on-night .prose a:hover {
  color: var(--orange-hi);
}

/* ---------------------------------------------------------------- buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  font-stretch: 104%;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: #170b05;
}

.btn--primary:hover {
  background: var(--orange-hi);
}

.btn--ghost {
  border-color: rgba(20, 23, 28, 0.28);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.on-night .btn--ghost {
  border-color: rgba(243, 241, 236, 0.32);
  color: var(--on-night);
}

.on-night .btn--ghost:hover {
  border-color: var(--on-night);
}

.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

.btn .arrow,
.arrow-link .arrow {
  display: inline-block;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.arrow-link > span:first-child {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1.5px;
  background-position: 0 100%;
  padding-bottom: 2px;
}

.arrow-link .arrow {
  color: var(--orange);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--night);
  color: var(--on-night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-night);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 32px;
}

.brand__name {
  font-size: 17px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav ul {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
}

.nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: rgba(243, 241, 236, 0.82);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--on-night);
}

.nav a:not([aria-current="page"]):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(243, 241, 236, 0.3);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

.head-tel {
  margin-left: auto;
  color: rgba(243, 241, 236, 0.82);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.head-tel:hover {
  color: var(--on-night);
}

/* ---------------------------------------------------------------- sections */

.sec {
  padding-block: var(--sec);
}

.sec--tight {
  padding-block: clamp(64px, 7vw, 104px);
}

.sec--white {
  background: var(--white);
}

.sec--sand {
  background: var(--sand);
}

.on-night {
  background: var(--night);
  color: var(--on-night);
}

.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap) clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.sec__head .lede {
  justify-self: start;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px clamp(28px, 6vw, 96px);
  align-items: start;
}

.split__title {
  position: sticky;
  top: 110px;
}

.split__title .intro {
  margin-top: 18px;
}

.intro {
  color: var(--ink-2);
  font-size: var(--t-lede);
  line-height: 1.5;
  max-width: 52ch;
}

.on-night .intro {
  color: var(--on-night-2);
}

/* ---------------------------------------------------------------- home hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 5.6vw, 84px) clamp(64px, 7vw, 96px);
}


.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr);
  gap: 48px clamp(32px, 5vw, 88px);
  align-items: center;
}

.hero__title {
  color: var(--on-night);
}

.hero .lede {
  margin-top: 28px;
  max-width: 40ch;
}

.hero .actions {
  margin-top: 36px;
}

.portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
  /* room for the name card, which hangs off the bottom edge */
  margin-bottom: 100px;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: calc(var(--r) + 6px);
  background: var(--orange);
}

.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: calc(var(--r) + 6px);
}

/* the card's top sits at 95% of the photo height, below the beard line,
   so it only ever overlaps the shirt, at every width */
.portrait__card {
  position: absolute;
  left: -28px;
  top: 95%;
  padding: 16px 20px 17px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.portrait__card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  font-stretch: 106%;
}

.portrait__card span {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 14px;
}

.portrait__card .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.portrait__card .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fa36b;
  box-shadow: 0 0 0 4px rgba(47, 163, 107, 0.16);
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 7vw, 104px);
  border-top: 1px solid var(--night-line);
}

.stats > div {
  padding: 28px clamp(16px, 2.4vw, 36px) 0 0;
}

.stats > div + div {
  padding-left: clamp(16px, 2.4vw, 36px);
  border-left: 1px solid var(--night-line);
}

.stats dt {
  order: 2;
  margin-top: 8px;
  color: var(--on-night-2);
  font-size: var(--t-sm);
  line-height: 1.45;
  max-width: 26ch;
}

.stats > div {
  display: flex;
  flex-direction: column;
}

.stats dd {
  order: 1;
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.stats dd small {
  font-size: 0.5em;
  letter-spacing: -0.01em;
  margin-left: 4px;
}

/* ---------------------------------------------------------------- page hero */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 100px) clamp(56px, 6vw, 88px);
}


.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(32px, 5vw, 88px);
  align-items: end;
}

.page-hero__title {
  color: var(--on-night);
}

.page-hero .lede {
  margin-top: 24px;
}

.page-hero .actions {
  margin-top: 30px;
}

.crumb {
  margin-bottom: 22px;
  color: var(--on-night-2);
  font-size: var(--t-sm);
}

.crumb a {
  color: var(--on-night);
  text-decoration: underline;
  text-decoration-color: rgba(243, 241, 236, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.crumb a:hover {
  color: var(--orange-hi);
}

.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--night-line);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0 15px;
  border-bottom: 1px solid var(--night-line);
}

.facts dt {
  color: var(--on-night-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}

.facts dd {
  color: var(--on-night);
  font-size: var(--t-sm);
  line-height: 1.5;
}

.page-hero--photo .portrait {
  width: min(100%, 380px);
}

/* the lead screenshot rides over the bottom of a case study hero */
.page-hero--case {
  padding-bottom: clamp(150px, 16vw, 230px);
}

.lead-shot {
  position: relative;
  z-index: 2;
  margin-top: clamp(-200px, -14vw, -120px);
}

/* ---------------------------------------------------------------- screenshots */

.shot {
  overflow: hidden;
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.shot img {
  width: 100%;
}

.shot--browser {
  padding-top: 30px;
  position: relative;
  background: #e9e5dd;
}

.shot--browser::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfc8bc;
  box-shadow: 14px 0 0 #cfc8bc, 28px 0 0 #cfc8bc;
}

.shot--browser img {
  border-top: 1px solid rgba(20, 23, 28, 0.08);
}

.shot--phone {
  border: 7px solid var(--night);
  border-radius: 30px;
  background: var(--night);
}

.shot--phone img {
  border-radius: 23px;
}

figure figcaption,
.caption {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.5;
  max-width: 60ch;
}

.on-night figure figcaption {
  color: var(--on-night-2);
}

/* ---------------------------------------------------------------- work feature rows */

.features {
  display: grid;
  gap: clamp(72px, 9vw, 136px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 36px clamp(32px, 5vw, 80px);
  align-items: center;
}

.feature--flip {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.feature--flip .feature__media {
  order: 2;
}

.feature__media {
  position: relative;
}

.feature__media .shot--phone {
  position: absolute;
  right: clamp(-20px, -1.5vw, -8px);
  bottom: -32px;
  width: 24%;
  min-width: 96px;
}

.feature__meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2px;
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 500;
}

.feature__meta span {
  white-space: nowrap;
}

.feature__meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 3px;
  border-radius: 50%;
  background: var(--orange);
}

.feature__name {
  margin-top: 12px;
}

.feature__name a {
  color: inherit;
  text-decoration: none;
}

.feature__name a:hover {
  color: var(--orange-deep);
}

.feature__line {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: var(--t-lede);
  line-height: 1.5;
}

.mini-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.mini-figs--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-figs dd {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.mini-figs dt {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
}

.mini-figs > div {
  display: flex;
  flex-direction: column;
}

.mini-figs dd {
  order: 1;
}

.mini-figs dt {
  order: 2;
}

.feature .arrow-link {
  margin-top: 28px;
}

.small-case {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(32px, 5vw, 80px);
  align-items: center;
  padding: 30px clamp(24px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.small-case h3 a {
  color: inherit;
  text-decoration: none;
}

.small-case p {
  color: var(--ink-2);
}

.small-case .feature__link {
  margin-top: 16px;
}

/* ---------------------------------------------------------------- cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.sec--white .card {
  background: var(--day);
}

.card h3 {
  font-size: var(--t-h3);
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.card p {
  margin-top: 12px;
  color: var(--ink-2);
}

.card .arrow-link {
  margin-top: auto;
  padding-top: 26px;
}

.card--link {
  transition: transform 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
}

.card--link:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.card__stretch {
  color: inherit;
  text-decoration: none;
}

.card__stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r);
}

.card__tag {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 600;
}

.on-night .card {
  background: var(--night-2);
  border-color: var(--night-line);
}

.on-night .card p {
  color: var(--on-night-2);
}

/* rows rendered as a compact two-column card list */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.points > div {
  padding: 26px 28px 28px;
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.points > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.sec--white .points > div {
  background: var(--day);
}

.points dt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.3;
}

.points dt::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
}

.points dd {
  margin-top: 10px;
  color: var(--ink-2);
}

.points dd a {
  color: var(--ink);
}

.on-night .points > div {
  background: var(--night-2);
  border-color: var(--night-line);
}

.on-night .points dd {
  color: var(--on-night-2);
}

.on-night .points dd a {
  color: var(--on-night);
}

/* ---------------------------------------------------------------- chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--t-sm);
  font-weight: 500;
}

.chips a {
  color: inherit;
  text-decoration: none;
}

.chips a:hover {
  color: var(--orange-deep);
}

.behind {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.behind__label {
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- checklist */

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px var(--gap);
}

.checklist--one {
  grid-template-columns: minmax(0, 1fr);
}

.checklist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
}

.sec--white .checklist li {
  background: var(--day);
}

.checklist li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23b8461a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.checklist--no li::before {
  background: #efebe4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23545b66' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------------------------------------------------------------- the high note */

.band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 160px);
  background: var(--orange);
  color: #1a0d06;
}

.band::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -55%;
  width: 56vw;
  height: 56vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  border: 1px solid rgba(26, 13, 6, 0.16);
  box-shadow: 0 0 0 70px rgba(26, 13, 6, 0.03), 0 0 0 140px rgba(26, 13, 6, 0.025);
  pointer-events: none;
}

.band__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
}

.band__title {
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.band__body {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: rgba(26, 13, 6, 0.92);
}

.band .kicker {
  color: rgba(26, 13, 6, 0.92);
}

.band .kicker::before {
  color: #1a0d06;
}

/* ---------------------------------------------------------------- steps (how the work runs) */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 30px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: #1a0d06;
  font-size: 14px;
  font-weight: 700;
}

.steps {
  border-top: 1px solid var(--night-line);
  padding-top: 15px;
}

.steps strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.3;
}

.steps span {
  display: block;
  margin-top: 10px;
  color: var(--on-night-2);
  font-size: var(--t-sm);
  line-height: 1.55;
}

/* ---------------------------------------------------------------- quote */

.quote {
  position: relative;
}

.quote__fig {
  max-width: 980px;
}

.quote__mark {
  display: block;
  height: 0.7em;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: clamp(90px, 10vw, 150px);
  font-weight: 800;
  line-height: 1;
}

.quote__text p {
  font-size: clamp(26px, 3.1vw, 44px);
  font-weight: 500;
  font-stretch: 102%;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.quote__cite {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--ink-2);
  font-size: var(--t-sm);
}

.quote__cite strong {
  color: var(--ink);
  font-weight: 700;
}

.quote__cite::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--orange);
}

/* ---------------------------------------------------------------- duo panels */

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.panel {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.6vw, 52px);
  border-radius: calc(var(--r) + 6px);
  background: var(--sand);
}

.panel h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.panel > p {
  margin-top: 16px;
  color: var(--ink-2);
  max-width: 50ch;
}

.panel .arrow-link {
  margin-top: auto;
  padding-top: 28px;
}

.panel--night {
  background: var(--night);
  color: var(--on-night);
}

.panel--night > p {
  color: var(--on-night-2);
}

/* ---------------------------------------------------------------- probe (site check input) */

.probe {
  margin-top: 26px;
  max-width: 640px;
}

.probe-label {
  display: block;
  margin-bottom: 10px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.8;
}

.probe-row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
}

.panel--night .probe-row {
  background: var(--night-3);
  border-color: var(--night-line);
}

.probe-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: var(--sans);
  font-size: 16px;
}

.probe-row input::placeholder {
  color: #8a909a;
}

.probe-row input:focus-visible {
  outline: none;
}

.probe-row:focus-within {
  border-color: var(--orange);
}

.probe-row input[aria-invalid="true"] {
  color: var(--orange-deep);
}

.probe-row .btn {
  min-height: 46px;
}

.probe-row .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.probe-error {
  display: none;
  margin-top: 10px;
  color: var(--orange-deep);
  font-size: var(--t-sm);
}

.panel--night .probe-error,
.on-night .probe-error {
  color: var(--orange-hi);
}

.probe-error.is-visible {
  display: block;
}

.probe-note {
  margin-top: 12px;
  font-size: var(--t-sm);
  opacity: 0.8;
}

/* ---------------------------------------------------------------- closing */

.closing {
  padding-block: clamp(56px, 6vw, 96px) var(--sec);
}

.closing__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 28px clamp(32px, 5vw, 80px);
  align-items: end;
  padding: clamp(40px, 6vw, 88px);
  border-radius: calc(var(--r) + 10px);
  background: var(--night);
  color: var(--on-night);
}


.closing__title {
  position: relative;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.closing__body {
  position: relative;
  color: var(--on-night-2);
  font-size: var(--t-lede);
  line-height: 1.5;
}

.closing__body a:not(.btn) {
  color: var(--on-night);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.closing__body .actions {
  margin-top: 28px;
}

/* ---------------------------------------------------------------- figures */

.figs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.figs--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.figs--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.figs > div {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.figs dd {
  order: 1;
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.figs dd .to {
  margin: 0 0.2em;
  color: var(--ink-2);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
}

.figs dt {
  order: 2;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.45;
}

.figs + .note {
  margin-top: 14px;
}

.note {
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------------------------------------------------------------- galleries */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) var(--gap);
  align-items: start;
}

.gallery--phone {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.42fr);
}

.gallery + .gallery,
.gallery + .wide-shot,
.wide-shot + .gallery {
  margin-top: clamp(36px, 4vw, 56px);
}

/* ---------------------------------------------------------------- chain and timeline */

.chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: chain;
}

.chain li {
  padding: 26px 26px 28px;
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.sec--white .chain li {
  background: var(--day);
}

.chain li::before {
  counter-increment: chain;
  content: counter(chain);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 700;
}

.chain strong,
.timeline strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.3;
}

.chain span,
.timeline span {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 18px var(--gap);
  padding: 0 0 34px 34px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-tint);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child::after {
  content: none;
}

.timeline time {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink-2);
  padding-top: 2px;
}

/* ---------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
}

.sec--white .faq details {
  background: var(--day);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  justify-self: end;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23b8461a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 200ms ease-out;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq__a {
  padding: 0 22px 22px;
  color: var(--ink-2);
  max-width: 70ch;
}

.faq .faq__a a {
  color: var(--ink);
}

/* ---------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px clamp(28px, 5vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list > div {
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-list dt {
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--orange-deep);
}

.contact-side .note {
  margin-top: 16px;
}

.form-card {
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: calc(var(--r) + 6px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px var(--gap);
}

.field {
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field > label,
.legend {
  display: block;
  margin-bottom: 8px;
  font-size: var(--t-sm);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d9d3c8;
  border-radius: var(--r-sm);
  background: var(--day);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
}

.field textarea {
  min-height: 160px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: transparent;
  background: var(--white);
}

.field [aria-invalid="true"] {
  border-color: var(--orange-deep);
  background: var(--orange-tint);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: var(--orange-deep);
  font-size: var(--t-sm);
}

.field-error.is-visible {
  display: block;
}

.hint {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

.checks {
  margin: 0;
  padding: 0;
  border: 0;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid #d9d3c8;
  border-radius: 999px;
  background: var(--day);
  cursor: pointer;
  font-size: var(--t-sm);
  font-weight: 500;
}

.check input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--orange-deep);
}

.check:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange-tint);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 28px;
}

.form-note {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14px;
}

.form-note a {
  color: var(--ink-2);
}

.form-alert {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: var(--orange-tint);
  color: var(--orange-deep);
}

.form-alert.show {
  display: block;
}

.form-alert a {
  color: inherit;
}

.form-success {
  display: none;
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: calc(var(--r) + 6px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-success.show {
  display: block;
}

.form-success h2 {
  font-size: var(--t-h3);
  font-weight: 700;
}

.form-success p {
  margin-top: 8px;
  color: var(--ink-2);
  max-width: 56ch;
}

.form-hidden {
  display: none;
}

/* ---------------------------------------------------------------- site check report */

.report {
  padding-bottom: clamp(56px, 6vw, 88px);
}

.report[hidden] {
  display: none;
}

.rplate {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: calc(var(--r) + 6px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.rplate__main {
  padding: clamp(24px, 3vw, 40px);
}

.rplate__main h2 {
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.rplate__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rplate__fields > div {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--day);
}

.rplate__fields dt,
.tally dt {
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rplate__fields dd {
  margin-top: 4px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.rplate__tally {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  background: var(--night);
  color: var(--on-night);
}

.tally {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
}

.tally dt {
  color: var(--on-night-2);
}

.tally + .tally {
  border-top: 1px solid var(--night-line);
}

.tally dd {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tally--fix dd {
  color: var(--orange-hi);
}

.first-fix {
  margin-top: 20px;
  padding: 22px clamp(22px, 3vw, 36px) 24px;
  border-radius: var(--r);
  background: var(--orange-tint);
  border-left: 6px solid var(--orange);
}

.first-fix[hidden] {
  display: none;
}

.first-fix-k {
  color: var(--orange-deep);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.first-fix h3 {
  margin: 8px 0 6px;
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.2;
}

.first-fix p:last-child {
  max-width: 64ch;
}

.report-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(28px, 3vw, 44px);
}

.rg {
  padding: 22px 24px 10px;
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--line);
}

.rg h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 700;
}

.rg-list {
  list-style: none;
}

.ck {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ck:last-child {
  border-bottom: 0;
}

.ck-title {
  font-weight: 600;
  line-height: 1.4;
}

.ck-detail {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.5;
}

.tag {
  align-self: start;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--good {
  background: #e2f2e8;
  color: #1f6b43;
}

.tag--look {
  background: #f8efd9;
  color: #7a560b;
}

.tag--fix {
  background: var(--orange-tint);
  color: var(--orange-deep);
}

.tag--info {
  background: #eceae5;
  color: var(--ink-2);
}

.ck--pending .ck-title {
  color: var(--ink-2);
  font-weight: 400;
}

.ck-wire {
  position: relative;
  align-self: center;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--line);
}

.ck-wire::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 35%;
  border-radius: 3px;
  background: var(--orange);
}

.report-cta {
  margin-top: clamp(28px, 3vw, 44px);
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: calc(var(--r) + 6px);
  background: var(--night);
  color: var(--on-night);
}

.report-cta h3 {
  font-size: var(--t-h3);
  font-weight: 700;
}

.report-cta > p {
  margin-top: 10px;
  color: var(--on-night-2);
  max-width: 62ch;
}

.report-cta .btn--ghost {
  border-color: rgba(243, 241, 236, 0.32);
  color: var(--on-night);
}

.report-cta .btn--ghost:hover {
  border-color: var(--on-night);
}

.report-cta .actions {
  margin-top: 22px;
}

.report-cta .note {
  margin-top: 18px;
  color: var(--on-night-2);
  max-width: 72ch;
}

.check-hero .probe {
  margin-top: 30px;
}

/* ---------------------------------------------------------------- simple pages */

.simple .prose {
  max-width: 760px;
}

.simple .prose h2 {
  margin-top: 1.8em;
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.2;
}

.simple .prose h2:first-child {
  margin-top: 0;
}

.simple .prose ul {
  list-style: disc;
  padding-left: 1.2em;
}

.simple .prose li + li {
  margin-top: 0.4em;
}

/* ---------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(64px, 7vw, 96px) 0 40px;
  background: var(--night);
  color: var(--on-night);
}

.site-foot__in {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 40px clamp(24px, 4vw, 64px);
  align-items: start;
}

.site-foot__logo img {
  width: 150px;
  height: auto;
}

.site-foot__info p {
  color: var(--on-night-2);
  font-size: var(--t-sm);
  line-height: 1.7;
}

.site-foot__info p + p {
  margin-top: 12px;
}

.site-foot__info a {
  color: var(--on-night);
  text-decoration: none;
}

.site-foot__info a:hover {
  color: var(--orange-hi);
}

.site-foot__nav ul {
  columns: 2;
  column-gap: 24px;
}

.site-foot__nav a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(243, 241, 236, 0.82);
  font-size: var(--t-sm);
  text-decoration: none;
}

.site-foot__nav a:hover {
  color: var(--orange-hi);
}

.site-foot__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 26px;
  border-top: 1px solid var(--night-line);
  color: var(--on-night-2);
  font-size: 14px;
}

/* ---------------------------------------------------------------- motion (opt-in) */

@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero .lede,
  .hero .actions,
  .portrait {
    animation: rise 760ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }

  .hero .lede {
    animation-delay: 90ms;
  }

  .hero .actions {
    animation-delay: 160ms;
  }

  .portrait {
    animation-delay: 120ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }

    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(36px);
      }
    }
  }

  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 220ms;
  }

  .btn,
  .nav a,
  .arrow-link .arrow,
  .card--link {
    transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, transform 220ms ease-out, box-shadow 220ms ease-out;
  }

  .arrow-link:hover .arrow,
  .btn:hover .arrow {
    transform: translateX(4px);
  }

  .ck-wire::after {
    animation: wire 1.2s ease-in-out infinite;
  }

  @keyframes wire {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(300%);
    }
  }
}

/* ---------------------------------------------------------------- 1100 */

@media (max-width: 1100px) {
  .nav ul {
    gap: 18px;
  }

  .head-tel {
    display: none;
  }

  .nav {
    margin-left: auto;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 44px;
  }

  .figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------- header, 960 */

@media (max-width: 960px) {
  html {
    scroll-padding-top: 130px;
  }

  .site-head__in {
    flex-wrap: wrap;
    gap: 0 12px;
    min-height: 0;
    padding-top: 12px;
  }

  .brand__name {
    font-size: 16px;
  }

  .head-btn {
    margin-left: auto;
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    margin: 10px 0 0;
    border-top: 1px solid var(--night-line);
  }

  .nav ul {
    justify-content: space-between;
    gap: 6px;
  }

  .nav a {
    padding: 11px 0 12px;
  }
}

/* ---------------------------------------------------------------- 900 */

@media (max-width: 900px) {
  .hero__grid,
  .page-hero__grid,
  .sec__head,
  .split,
  .feature,
  .feature--flip,
  .band__grid,
  .closing__panel,
  .contact-grid,
  .small-case,
  .duo,
  .rplate {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature--flip .feature__media {
    order: 0;
  }

  .split__title {
    position: static;
  }

  .portrait {
    justify-self: start;
    width: min(86%, 400px);
    margin-top: 8px;
  }

  .portrait__card {
    left: auto;
    right: -14px;
  }

  .page-hero--photo .portrait {
    width: min(86%, 380px);
  }

  .rplate__tally {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tally {
    flex-direction: column;
    align-items: flex-start;
  }

  .tally + .tally {
    border-top: 0;
    border-left: 1px solid var(--night-line);
  }

  .report-groups,
  .points,
  .checklist,
  .gallery,
  .chain {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery--phone {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  }

  .gallery--phone > :first-child {
    grid-column: 1 / -1;
  }

  .site-foot__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-foot__logo {
    grid-column: 1 / -1;
  }
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats > div,
  .stats > div + div {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--night-line);
  }

  .cards,
  .cards--2,
  .figs,
  .figs--3,
  .figs--2,
  .steps,
  .mini-figs {
    grid-template-columns: minmax(0, 1fr);
  }

  .mini-figs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mini-figs--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .facts > div,
  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .probe-row {
    flex-direction: column;
    border-radius: var(--r);
  }

  .probe-row input {
    min-height: 48px;
  }

  .rplate__fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .ck {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature__media .shot--phone {
    right: -6px;
    bottom: -24px;
  }

  .site-foot__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-foot__legal {
    flex-direction: column;
  }

  .closing .actions .btn,
  .hero .actions .btn {
    flex: 1 1 auto;
  }
}

/* ---------------------------------------------------------------- details */

.figs dd {
  white-space: nowrap;
  font-size: clamp(32px, 3.3vw, 52px);
}

.lead-prose {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--ink-2);
}

.lead-prose p:first-child {
  color: var(--ink);
}

.on-night .lead-prose {
  color: var(--on-night-2);
}

.on-night .lead-prose p:first-child {
  color: var(--on-night);
}

.on-night.sec + .closing {
  padding-top: var(--sec);
}

.probe-row input {
  color: var(--ink);
}

.panel--night .probe-row input {
  color: var(--on-night);
}

/* ---------------------------------------------------------------- small phones */

@media (max-width: 480px) {
  .closing__panel {
    padding: 36px 24px;
  }

  .actions .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

/* ---------------------------------------------------------------- v17.1 details */

h2 .nw,
h3 .nw {
  white-space: nowrap;
}

.faq summary {
  text-wrap: pretty;
}

.stats dt,
.mini-figs dt,
.figs dt {
  text-wrap: balance;
}

a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

@media (min-width: 600px) and (max-width: 900px) {
  .portrait {
    justify-self: end;
  }

  .portrait__card {
    left: -28px;
    right: auto;
  }
}

@media (max-width: 480px) {
  .gallery--phone {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery--phone > :first-child {
    grid-column: auto;
  }

  .gallery--phone .shot--phone {
    max-width: 240px;
  }
}

@media (max-width: 420px) {
  .nav ul {
    gap: 4px;
  }

  .nav a {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .brand {
    gap: 9px;
  }

  .brand img {
    width: 32px;
    height: 27px;
  }

  .brand__name {
    font-size: 15px;
  }

  .head-btn {
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .nav ul {
    gap: 2px;
  }

  .nav a {
    font-size: 12.5px;
  }
}
