/* =========================================================
   Pixel Peak Logos - inner pages
   Loaded after styles.css on every page except the home page. It reuses the design system
   (tokens, type, buttons, sections, plans, FAQ, contact form) and adds the inner-page templates.
   See website/README.md, "Inner pages".
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  --cell: clamp(56px, 6.5vw, 88px);
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + 12px + clamp(56px, 8vw, 112px)) 0 clamp(64px, 8vw, 120px);
}
.page-hero--paper { background: var(--paper-2); }
.page-hero--grad { background: var(--grad); color: var(--ink); }
.page-hero--ink { background: var(--ink); color: #fff; }
.page-hero--orange { background: var(--orange); color: var(--ink); }

/* Pixel grid, like the home hero: lines start at the page centre so the filled cells snap to it */
.page-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-grid::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(50% - var(--cell) * 25); width: calc(var(--cell) * 50);
  background-image:
    linear-gradient(to right, var(--grid-line, rgba(20, 13, 13, .06)) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line, rgba(20, 13, 13, .06)) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 90% at 70% 20%, #000 30%, transparent 100%);
}
.page-grid .pixel { background: var(--grid-pixel, rgba(239, 90, 26, .1)); }
.page-grid .pixel--soft { background: var(--grid-pixel-soft, rgba(239, 90, 26, .05)); }
.page-hero--grad { --grid-line: rgba(255, 255, 255, .22); --grid-pixel: rgba(255, 255, 255, .2); --grid-pixel-soft: rgba(255, 255, 255, .1); }
.page-hero--ink { --grid-line: rgba(255, 255, 255, .06); --grid-pixel: rgba(255, 255, 255, .05); --grid-pixel-soft: rgba(255, 255, 255, .03); }
.page-hero--orange { --grid-line: rgba(20, 13, 13, .07); --grid-pixel: rgba(255, 255, 255, .22); --grid-pixel-soft: rgba(255, 255, 255, .12); }
@media (max-width: 767px) { .page-grid .pixel { display: none; } }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; background: currentColor; opacity: .35; }
.crumbs a { text-decoration: none; opacity: .62; transition: opacity .2s; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .25em; }
.crumbs [aria-current] { opacity: 1; }

.page-hero__title {
  max-width: 14em;
  font-size: clamp(2.75rem, 6.4vw, 6rem);
  font-weight: 800; line-height: .95; letter-spacing: -.045em;
  text-wrap: balance;
}
.page-hero__title--md { font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1; }
.page-hero__lede {
  max-width: 36em; margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55;
  color: var(--muted); text-wrap: pretty;
}
.page-hero__lede + .page-hero__lede { margin-top: 16px; }
.page-hero--grad .page-hero__lede, .page-hero--orange .page-hero__lede { color: var(--ink); }
.page-hero--ink .page-hero__lede { color: var(--muted-on-ink); }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(28px, 3vw, 40px); }

/* Title on the left, copy on the right (services, pricing, portfolio) */
.page-hero__split { display: grid; gap: 28px clamp(40px, 6vw, 96px); }
@media (min-width: 1000px) {
  .page-hero__split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
  .page-hero__split .page-hero__lede:first-child { margin-top: 0; }
}

/* Two columns with the artwork on the right (service pages) */
.page-hero__media { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .page-hero__media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

/* Call and chat shortcuts */
.quick { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.quick__item {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 6px 20px 6px 6px;
  border: 1.5px solid rgba(20, 13, 13, .12); border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: left; text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.quick__item:hover { border-color: var(--ink); background: #fff; }
.quick__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.1rem; flex: none; }
.quick__k { display: block; font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.page-hero--grad .quick__item, .page-hero--orange .quick__item { border-color: rgba(20, 13, 13, .18); background: rgba(255, 255, 255, .28); }
.page-hero--grad .quick__item:hover, .page-hero--orange .quick__item:hover { background: #fff; }
.page-hero--grad .quick__k, .page-hero--orange .quick__k { color: var(--ink); opacity: .7; }
.page-hero--ink .quick__item { border-color: var(--ink-3); background: var(--ink-2); color: #fff; }
.page-hero--ink .quick__item:hover { border-color: #fff; }
.page-hero--ink .quick__icon { background: var(--grad); }
.page-hero--ink .quick__k { color: var(--muted-on-ink); }

/* Proof band under a hero (portfolio, reviews).
   Same anatomy as the home page's .stats: a rule across the top, one column per number,
   the number big and tabular, the label small and mono underneath. */
.hero-facts {
  --facts-edge: rgba(20, 13, 13, .85);
  --facts-rule: rgba(20, 13, 13, .18);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(44px, 5.5vw, 72px);
  border-top: 1.5px solid var(--facts-edge);
}
.page-hero--ink .hero-facts { --facts-edge: rgba(255, 255, 255, .55); --facts-rule: rgba(255, 255, 255, .16); }
.hero-facts > div { display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 28px) clamp(16px, 2vw, 28px) 0 0; }
.hero-facts > div + div { padding-left: clamp(20px, 2.4vw, 32px); border-left: 1.5px solid var(--facts-rule); }
.hero-facts dt {
  order: 2; margin-top: 10px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  opacity: .68;
}
.hero-facts dd {
  order: 1;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem); font-weight: 800; line-height: .95; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.hero-facts sup { font-size: .42em; vertical-align: top; position: relative; top: .3em; margin-left: .04em; letter-spacing: -.02em; }
@media (max-width: 599px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div { padding-right: 0; }
  .hero-facts > div + div { padding-left: 0; border-left: 0; border-top: 1.5px solid var(--facts-rule); }
}

/* The rating drawn as stars beside the number: a dim row of five with a bright row clipped to --rating */
.rating-stars {
  position: relative; display: inline-flex; width: max-content;
  top: -.34em; margin-left: 1.1em; font-size: .32em; line-height: 1; vertical-align: middle;
}
.rating-stars__row { display: flex; gap: .18em; opacity: .3; }
.rating-stars__row--on { position: absolute; left: 0; top: 0; width: var(--rating, 100%); overflow: hidden; opacity: 1; }

/* Three short value points (pricing hero) */
.points { display: grid; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points li {
  position: relative;
  padding: 24px 24px 24px 56px;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm);
  font-size: .96875rem; line-height: 1.55; color: var(--muted);
}
.points li::before { content: ""; position: absolute; left: 24px; top: 30px; width: 12px; height: 12px; background: var(--grad); }
.points strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.0625rem; letter-spacing: -.01em; }

/* ---------- Shared section bits ---------- */
.section--grad { background: var(--grad); color: var(--ink); }
.section--grad .lede { color: var(--ink); }
.section-head--left { max-width: 820px; }
.section-head--left .lede { margin-top: 20px; }
.split { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
}
.stack > * + * { margin-top: 18px; }
.body-copy { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; color: var(--muted); }
.body-copy strong { color: var(--ink); }
.section--ink .body-copy { color: var(--muted-on-ink); }
.section--grad .body-copy, .section--orange .body-copy { color: var(--ink); }
.statement { font-size: clamp(1.625rem, 3.2vw, 2.75rem); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }

/* Glance cards: a few quick facts set beside a statement */
.glance { display: grid; gap: 12px; }
@media (min-width: 640px) { .glance { grid-template-columns: 1fr 1fr; } }
.glance__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: clamp(18px, 2vw, 22px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--paper-2);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.glance__icon {
  display: grid; place-items: center;
  flex: none; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 13px; background: #fff;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.glance__icon .svc-icon { width: 23px; height: 23px; }
.glance__text { display: grid; gap: 5px; min-width: 0; }
.glance__k { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.glance__v { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; text-wrap: pretty; }
@media (hover: hover) {
  .glance__item:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow); }
  .glance__item:hover .glance__icon { border-color: transparent; box-shadow: var(--shadow-sm); }
}
.section--paper .glance__item { background: #fff; }
.section--paper .glance__item:hover { background: #fff; border-color: var(--line); }
.body-copy + .glance, .statement + .glance { margin-top: 40px; }
.contact__brief { margin-top: 28px; font-size: .9375rem; color: var(--muted); }
.contact__brief .text-link { color: var(--ink); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-grid > li { display: flex; }
.svc-card {
  position: relative;
  display: flex; flex-direction: column; width: 100%;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 56px); }
.svc-card__num { font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; color: var(--muted); transition: color .35s; }
.svc-card__icon, .svc-icon {
  width: 48px; height: 48px;
  fill: none; stroke: url(#g-brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.svc-card__title { font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.svc-card__text { margin-top: 12px; color: var(--muted); font-size: .96875rem; line-height: 1.55; transition: color .35s; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 28px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.svc-card__more .btn__dot { width: 34px; height: 34px; font-size: .95rem; }
@media (hover: hover) {
  .svc-card:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .svc-card:hover .svc-card__num, .svc-card:hover .svc-card__text { color: var(--muted-on-ink); }
  .svc-card:hover .btn__dot { transform: rotate(-45deg); }
}
.svc-card:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }

/* Other services, as a compact list of links */
.svc-links { display: grid; gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
@media (min-width: 700px) { .svc-links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .svc-links { grid-template-columns: repeat(3, 1fr); } }
.svc-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none;
  transition: color .2s, gap .25s var(--ease);
}
.svc-links .svc-icon { width: 28px; height: 28px; }
.svc-links a .icon { margin-left: auto; opacity: .35; transition: opacity .2s, transform .25s var(--ease); }
.svc-links a:hover { color: var(--grad-a); }
.svc-links a:hover .icon { opacity: 1; transform: translateX(4px); }

/* ---------- Service page: statement band and price hint ---------- */
.band { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1000px) { .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.band .title-xl { max-width: 11em; }
.band .body-copy p + p { margin-top: 16px; }
.band .btn { margin-top: 32px; }

.hint {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px 22px 22px 28px;
  border-radius: var(--radius); background: var(--paper-2);
}
.hint p { flex: 1 1 24em; font-size: 1.0625rem; line-height: 1.45; }
.hint strong { font-weight: 700; }

/* ---------- Portfolio ---------- */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%;
  margin: 0 auto clamp(32px, 4vw, 48px);
  padding: 6px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--ink-3);
}
.filters button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent;
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-on-ink);
  transition: background-color .2s, color .2s;
}
.filters button:hover { color: #fff; }
.filters button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.filters button[aria-pressed="true"] .tabs__count { background: var(--grad); }
@media (max-width: 599px) {
  .filters { border-radius: 24px; }
  .filters button { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.gallery__item { position: relative; }
.gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--ink-2);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gallery__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-ink); }
.gallery__cap span:first-child { color: #fff; }
@media (hover: hover) { .gallery__item:hover img { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); } }
.section:not(.section--ink) .gallery__cap span:first-child { color: var(--ink); }
.section:not(.section--ink) .gallery__cap { color: var(--muted); }
.section:not(.section--ink) .gallery__item img { background: var(--paper-2); }
.js .gallery__item.is-hidden { display: none; }
.gallery__more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
html:not(.js) .gallery__more { display: none; }
@media (max-width: 899px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .gallery__cap span:last-child { display: none; } }

/* ---------- Pricing: compare table ---------- */
.compare-wrap {
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.compare { width: 100%; min-width: 860px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.compare col:first-child { width: 22%; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.35; }
.compare thead th { position: sticky; top: 0; z-index: 1; padding-block: 18px; background: #fff; vertical-align: bottom; border-bottom: 1.5px solid var(--ink); }
.compare thead th span { display: block; font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare thead th strong { display: block; margin-top: 4px; font-size: 1.0625rem; letter-spacing: -.02em; }
.compare thead th em { display: block; margin-top: 2px; font-style: normal; font-size: 1.375rem; font-weight: 800; letter-spacing: -.04em; }
.compare tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-weight: 500; min-width: 210px; }
.compare .is-featured { background: #FFF4EF; }
.compare thead .is-featured { background: #FFF4EF; box-shadow: inset 0 3px 0 var(--grad-a); }
.compare tr.compare__group th {
  padding-top: 28px; border-bottom: 0;
  font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.compare tr.compare__group td { border-bottom: 0; }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; }
.compare .no { color: #C9BDB6; }
.compare td strong { font-weight: 700; }
.compare tfoot td { border-bottom: 0; padding-top: 20px; }
.compare thead td { border-bottom: 1.5px solid var(--ink); }
.compare tfoot .btn--light { border-color: var(--line); }
.compare tfoot .btn--light:hover { border-color: var(--ink); }
.compare tfoot .btn { min-height: 44px; padding-left: 16px; gap: 8px; font-size: .6875rem; }
.compare tfoot .btn__dot { width: 30px; height: 30px; font-size: .85rem; }
.compare-note { margin-top: 20px; font-size: .875rem; color: var(--muted); }

/* ---------- About ---------- */
.values { display: grid; gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: clamp(24px, 2.6vw, 36px); background: #fff; }
.value .svc-icon { width: 40px; height: 40px; }
.value h3 { margin-top: 28px; font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.1; }
.value p { margin-top: 10px; color: var(--muted); font-size: .96875rem; line-height: 1.55; }

.mvp .tabs { margin: 0 0 clamp(36px, 4vw, 56px); }
.mvp__panel { max-width: 1000px; }
.mvp__panel .statement { color: #fff; }
.mvp__panel p + p { margin-top: 20px; max-width: 42em; }

/* ---------- Reviews ---------- */
.reviews { columns: 3 320px; column-gap: clamp(14px, 1.6vw, 20px); }
.review {
  display: block; margin-top: 0;
  margin-bottom: clamp(14px, 1.6vw, 20px);
  padding: 26px 26px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  break-inside: avoid;
}
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; letter-spacing: -.005em; text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 700; letter-spacing: -.01em; }
.review__avatar {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.review__who { display: flex; flex-direction: column; gap: 2px; }
.review__who small { font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.reviews > li { break-inside: avoid; }
.reviews > li:nth-child(3n + 2) .review__avatar { background: var(--grad); color: var(--ink); }
.reviews > li:nth-child(3n + 3) .review__avatar { background: var(--orange); color: var(--ink); }
.js [data-more-list] > .is-hidden { display: none; }

/* ---------- CTA band (end of page) ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 140px); }
.cta-band .container { position: relative; display: grid; justify-items: center; text-align: center; }
.cta-band .title-xl { max-width: 13em; }
.cta-band .lede { margin-top: 20px; }
.cta-band .page-hero__actions { justify-content: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 100%);
}

/* Promo card linking to the website brief */
.promo {
  display: grid; gap: 24px; align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg); background: var(--ink); color: #fff;
}
@media (min-width: 900px) { .promo { grid-template-columns: 1fr auto; } }
.promo h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.promo p { margin-top: 12px; color: var(--muted-on-ink); max-width: 40em; }

/* ---------- Website brief ---------- */
.brief-layout { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1100px) {
  .brief-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .brief-aside { position: sticky; top: calc(var(--header-h) + 40px); }
}
.brief { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.brief-step {
  margin: 0; padding: clamp(24px, 3.4vw, 44px);
  border: 0; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm);
  min-width: 0;
}
.brief-step__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; padding: 0; float: left; width: 100%; }
.brief-step__head + * { clear: both; }
.brief-step__num { font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; color: var(--muted); }
.brief-step__title { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; }
/* Every block after the first one below the step heading */
.brief-step > :not(legend) ~ :not(legend) { margin-top: 24px; }
.field__hint { font-size: .8125rem; color: var(--muted); }

.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 10px; font-size: .875rem; font-weight: 600; }
.choice-group .service-options { gap: 8px; }
.service-option input[type="checkbox"] + span::before {
  content: ""; width: 10px; height: 10px; margin-right: 8px;
  border: 1.5px solid currentColor; border-radius: 2px; opacity: .5;
}
.service-option input[type="checkbox"]:checked + span::before { background: var(--grad); border-color: transparent; opacity: 1; }

.yesno { display: grid; gap: 12px; }
@media (min-width: 640px) { .yesno { grid-template-columns: 1fr 1fr; } }
.yesno__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 18px; border: 1.5px solid var(--line); border-radius: 14px; }
.yesno__item legend { float: left; font-size: .9375rem; font-weight: 600; line-height: 1.3; padding: 0; }
.yesno__item { margin: 0; }
.seg { display: inline-flex; flex: none; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: .875rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--grad-a); outline-offset: 2px; }

.stepper { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1.5px solid var(--line); border-radius: 999px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper-2); font-size: 1.25rem; font-weight: 600; }
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper input { width: 64px; min-height: 44px; border: 0; padding: 0; text-align: center; font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 0; }
.stepper:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(239, 90, 26, .18); }

.upload {
  position: relative; display: grid; justify-items: center; gap: 8px;
  padding: 28px 20px; border: 1.5px dashed #D2C6BE; border-radius: 16px;
  background: var(--paper-2); text-align: center; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload:hover, .upload.is-dragover { border-color: var(--ink); background: #fff; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .svc-icon { width: 36px; height: 36px; }
.upload__title { font-weight: 600; }
.upload__meta { font-size: .8125rem; color: var(--muted); }
.upload__file { font-family: var(--mono); font-size: .8125rem; color: var(--ink); word-break: break-all; }
.upload:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(239, 90, 26, .18); }
.upload.is-invalid { border-color: #C8102E; background: #FFF7F7; }

.meter { padding: 24px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.meter__label { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); }
.meter__value { font-size: 2.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter__bar { height: 8px; margin-top: 16px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.meter__fill { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); border-radius: inherit; transition: width .5s var(--ease); }
.meter p { margin-top: 14px; font-size: .875rem; color: var(--muted-on-ink); line-height: 1.5; }
.brief-aside .contact__list { margin-top: 20px; }
.brief-submit { display: grid; gap: 12px; }
.brief-submit .form-card__status { margin-top: 0; }

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1000px) {
  .legal { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 40px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; }
}
.legal__toc p { margin-bottom: 12px; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal__toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .875rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.legal__toc a:hover { color: var(--ink); border-left-color: var(--grad-a); }
@media (max-width: 999px) { .legal__toc { display: none; } }

.prose { max-width: 760px; color: #3A302E; font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { margin-top: 56px; margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 32px); font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; margin-bottom: 10px; font-size: 1.125rem; letter-spacing: -.015em; color: var(--ink); }
.prose p + p, .prose ul + p, .prose p + ul, .prose h3 + ul { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; background: var(--grad); }
.prose a { color: var(--ink); font-weight: 600; }
.prose__end { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Not found ---------- */
.nf-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.nf-links a { color: #fff; border-color: var(--ink-3); }
.nf-links a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Mobile tidy-ups ---------- */
@media (max-width: 599px) {
  .quick__item { flex: 1 1 100%; }
  .page-hero__actions .btn { flex: 1 1 auto; }
}
.section--flush-top { padding-top: 0; }

/* Closing card in the services grid: fills the rest of the last row */
.svc-cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; width: 100%;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius-lg); background: var(--grad); color: var(--ink);
}
.svc-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000);
  mask-image: linear-gradient(115deg, transparent 30%, #000);
}
.svc-cta > * { position: relative; }
.svc-cta__title { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; max-width: 12em; }
.svc-cta p { margin-top: 14px; max-width: 34em; font-size: .96875rem; line-height: 1.55; }
.svc-cta .page-hero__actions { margin-top: 24px; }
@media (min-width: 640px) { .svc-grid__cta { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .svc-grid__cta { grid-column: span 2; } }
.section--flush-bottom { padding-bottom: 0; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 767px) { .form-grid--3 { grid-template-columns: 1fr; } }
.field__label { font-size: .875rem; font-weight: 600; }
.brief .field__error:not(:empty) { margin-top: -2px; }
.plan { scroll-margin-top: calc(var(--header-h) + 32px); }

/* Highlight cards: what a service covers, six at a time */
.body-copy + .hl-grid, .statement + .hl-grid, .stack + .hl-grid { margin-top: clamp(32px, 3.4vw, 44px); }
.hl-grid { display: grid; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 560px) { .hl-grid { grid-template-columns: 1fr 1fr; } }
.hl-grid li { display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.2vw, 28px); background: #fff; transition: background-color .3s var(--ease); }
.hl-grid li:hover { background: var(--paper-2); }
.hl-grid__num { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.hl-grid__rule { display: block; width: 26px; height: 3px; background: var(--grad); transition: width .35s var(--ease); }
.hl-grid li:hover .hl-grid__rule { width: 44px; }
.hl-grid h3 { font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.section--paper .hl-grid li:hover { background: #fff; }

/* File chips: what you walk away with (service pages) */
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.files li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .9375rem; font-weight: 600;
}
.files li span { font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.files li::before { content: ""; width: 9px; height: 9px; background: var(--grad); }
.section--ink .files li { border-color: var(--ink-3); }
.section--ink .files li span { color: var(--muted-on-ink); }

@media (min-width: 1000px) { .svc-grid__cta { grid-column: 1 / -1; } }
