/* ==========================================================================
   AppanDesign — Page styles
   Rules that belong to one page or one section, not to a reusable component.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero (home, case study)
   -------------------------------------------------------------------------- */
.hero__title {
  max-width: 14em;
  text-wrap: balance;
}
.hero__lede { max-width: 46ch; }
.hero__actions.row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   2. Interior page heads
   -------------------------------------------------------------------------- */
.pagehead__title { margin: var(--eyebrow-gap) 0 clamp(26px, 2.6vw, 44px); max-width: 12em; }
.pagehead__lede {
  border-top: 1px solid var(--border-hair);
  padding-top: clamp(20px, 2.2vw, 34px);
}
.pagehead__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border-hair);
  padding-top: clamp(20px, 2.2vw, 34px);
}
.deco-rule--about { top: 30%; right: clamp(20px, 6vw, 90px); }

/* --------------------------------------------------------------------------
   3. Home — introduction & monogram
   -------------------------------------------------------------------------- */
.intro__title {
  margin: var(--eyebrow-gap) 0 clamp(24px, 2.6vw, 40px);
  font-size: var(--size-h1);
  line-height: var(--lh-h1);
}
.monogram-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 40vh, 440px);
}
.monogram-stage--lg { min-height: clamp(260px, 42vh, 460px); }

/* Studio "orbit" monogram — three rings on different axes, each carrying a
   satellite, around a half-outline / half-solid AD. */
.orbit {
  position: relative;
  width: clamp(240px, 28vw, 400px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.orbit__text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: clamp(96px, 11vw, 190px);
  line-height: 1;
  letter-spacing: var(--track-tight);
  color: transparent;
  -webkit-text-stroke: 2px var(--text-heading);
  transform: translateZ(40px);
}
.orbit__text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--text-heading);
  -webkit-text-stroke: 0;
  clip-path: inset(0 0 0 50%);
}
.orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-hair);
  transform-style: preserve-3d;
}
.orbit__ring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.orbit__ring--1 { transform: rotateX(72deg); animation: orbitA 14s linear infinite; }
.orbit__ring--1::after { background: var(--text-heading); }
.orbit__ring--2 { inset: 10%; border-color: var(--amber); transform: rotateX(72deg) rotateY(50deg); animation: orbitB 18s linear infinite reverse; }
.orbit__ring--3 { inset: 22%; transform: rotateY(70deg); animation: orbitC 22s linear infinite; }
@keyframes orbitA { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbitB { to { transform: rotateX(72deg) rotateY(50deg) rotateZ(360deg); } }
@keyframes orbitC { to { transform: rotateY(70deg) rotateZ(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbit__ring { animation: none; }
}

/* 3D "service ring" floated in every interior banner (upper-right). */
.pagehead__deco {
  position: absolute;
  top: 50%;
  right: clamp(20px, 6vw, 150px);
  transform: translateY(-48%);
  z-index: 0;
}
.section--pagehead .shell { position: relative; z-index: 1; }

/* Eight chips on a slowly turning cylinder around a floating ink plate.
   Hover pauses the ring so a chip can be read. */
.sring { position: relative; perspective: 1200px; width: clamp(240px, 26vw, 360px); aspect-ratio: 1; }
.sring__scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-14deg); }
.sring__ring { position: absolute; inset: 0; transform-style: preserve-3d; animation: sringSpin 26s linear infinite; }
.sring:hover .sring__ring { animation-play-state: paused; }
.sring__chip {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 10px 18px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 30px -14px rgba(15, 15, 15, 0.7);
  backface-visibility: hidden;
  transform: rotateY(var(--a)) translateZ(175px);
}
.sring__chip--amber { background: var(--amber); color: var(--ink); }
.sring__plate {
  position: absolute;
  inset: 30%;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--ink-1e), var(--ink));
  color: var(--white);
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: sringBob 5s ease-in-out infinite;
}
.sring__plate svg { display: block; width: 52%; height: auto; }
.sring__shadow {
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 6%;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.28);
  filter: blur(14px);
  transform: rotateX(80deg);
}
@keyframes sringSpin { to { transform: rotateY(360deg); } }
@keyframes sringBob {
  0%, 100% { transform: translateZ(10px) translateY(0); }
  50%      { transform: translateZ(10px) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .sring__ring, .sring__plate { animation: none; }
}
/* Tablet-ish widths: pull the ring in so its chips clear the page title. */
@media (max-width: 1100px) {
  .pagehead__deco { right: clamp(16px, 3vw, 40px); }
  .sring { width: 220px; }
}
@media (max-width: 900px) {
  .pagehead__deco { display: none; }
}

/* --------------------------------------------------------------------------
   3b. Services — web management
   -------------------------------------------------------------------------- */
.mgmt {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: start;
}
.mgmt__lede { margin-top: clamp(20px, 2.2vw, 34px); }
.mgmt__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 2.6vw, 40px); }
.chip--sm { padding: 10px 18px; font-size: var(--size-body-sm); }
.mgmt__card {
  padding: clamp(8px, 1.5vw, 20px) clamp(24px, 3vw, 44px);
  border-radius: 24px;
  background: var(--surface-muted);
}
.acc--plain { border-top: 0; }
.acc--plain .acc__item { border-bottom: 0; }
.acc__title--label {
  font-family: var(--font-ui);
  font-weight: var(--weight-semibold);
  font-size: var(--size-body-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.acc__head:hover .acc__title--label { transform: none; }
.mgmt__list {
  list-style: none;
  margin: 0;
  padding: 0 0 clamp(20px, 2.2vw, 32px);
}
.mgmt__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.5;
  color: var(--text-strong);
}
.mgmt__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 860px) {
  .mgmt { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   3c. Pricing — web management plans (four cards)
   -------------------------------------------------------------------------- */
.plans__head { margin-bottom: clamp(28px, 3vw, 44px); }
.plans__intro { margin-top: 14px; }
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius-card);
  box-shadow: var(--ring-card);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), var(--ring-card); }
.plan__num {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  font-family: var(--font-accent);
  font-weight: var(--weight-semibold);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
}
.plan__name {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.plan__for { margin: 0; font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--gray-66); min-height: 42px; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 4px 0 0;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price small { font-family: var(--font-ui); font-size: 13px; font-weight: var(--weight-semibold); color: var(--gray-66); letter-spacing: 0; }
.plan__host { margin: 8px 0 0; font-family: var(--font-ui); font-size: 12px; line-height: 1.4; color: var(--gray-66); }
.plan__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: #333; }
.plan__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan__list li.plus { font-weight: var(--weight-semibold); color: var(--ink); }
.plan__list li.plus::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ecb014' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E"); }
.plan__foot { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.plan__sla { font-family: var(--font-ui); font-size: 12px; color: var(--gray-66); }
.plan .btn { justify-content: center; }

.plan--featured {
  background: var(--ink);
  color: var(--white);
  --action-fill: var(--amber);
  --action-text: var(--ink);
  --action-knob: var(--ink);
  --action-glyph: var(--amber);
}
.plan--featured .plan__name { color: var(--white); }
.plan--featured .plan__list li { color: var(--gray-c5); }
.plan--featured .plan__list li.plus { color: var(--white); }
.plan--featured .plan__for,
.plan--featured .plan__sla,
.plan--featured .plan__host,
.plan--featured .plan__price small { color: var(--gray-c5); }
.plan--featured .plan__list li.plus::before { background-color: var(--amber); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E"); }

.plan--glove {
  position: relative;
  overflow: hidden;
  background: var(--amber);
  color: var(--ink);
  --action-fill: var(--ink);
  --action-text: var(--white);
  --action-knob: var(--ink);
  --action-glyph: var(--white);
}
.plan--glove::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), transparent 70%);
  pointer-events: none;
}
.plan--glove .plan__num { color: var(--ink); }
.plan--glove .plan__for,
.plan--glove .plan__sla,
.plan--glove .plan__host,
.plan--glove .plan__price small { color: rgba(15, 15, 15, 0.62); }
.plan--glove .plan__list li { color: rgba(15, 15, 15, 0.82); }
.plan--glove .plan__list li.plus { color: var(--ink); }
.plan--glove .plan__list li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ecb014' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E"); }

.badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge--amber { background: var(--amber); color: var(--ink); }
.badge--ink { background: var(--ink); color: var(--white); }
.plans__note { margin: 18px 0 0; font-family: var(--font-ui); font-size: 13px; line-height: 1.5; color: var(--gray-66); }

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   3c-ii. Pricing — cost estimator
   -------------------------------------------------------------------------- */
.est__intro { margin-top: 14px; }
.est {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--ring-card);
}
.est__form { display: grid; }
.est__q { margin: 0; padding: 18px 0 20px; border: 0; border-top: 1px solid var(--border-hair); min-width: 0; }
.est__q:first-child { padding-top: 0; border-top: 0; }
.est__legend {
  float: left;            /* takes the legend off the fieldset border so the rule stays above it */
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.est__legend small { font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--gray-66); }
.est__step { font-family: var(--font-accent); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--amber); }
.est__opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.est__opt { position: relative; }
.est__opt[hidden] { display: none; }
.est__opt input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.est__opt span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--ring-nav);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: var(--weight-medium);
  line-height: 1.3;
  color: var(--text-body);
  cursor: pointer;
  user-select: none;
  transition: box-shadow var(--duration-base) var(--ease), color var(--duration-base) var(--ease), background-color var(--duration-base) var(--ease);
}
.est__opt span:hover { box-shadow: inset 0 0 0 1px var(--amber); color: var(--ink); }
.est__opt input:checked + span { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.est__opt input[type="checkbox"]:checked + span { background: var(--amber); color: var(--ink); box-shadow: inset 0 0 0 1px var(--amber); }
.est__opt input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

.est__result {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
}
.est__k { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-c5); }
.est__big {
  margin: 8px 0 0;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.est__tier { margin: 8px 0 0; font-family: var(--font-ui); font-size: 14px; font-weight: var(--weight-semibold); color: var(--amber); }
.est__monthly { margin: 4px 0 0; font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--gray-c5); }
.est__action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.est__hint { max-width: 34ch; font-family: var(--font-ui); font-size: 12px; line-height: 1.45; color: var(--gray-c5); }
.est__note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--white-a20); font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; color: var(--gray-c5); }
@media (max-width: 640px) {
  .est__action .btn { width: 100%; justify-content: center; }
  .est__hint { max-width: none; }
}

/* --------------------------------------------------------------------------
   3c-iii. Comparison tables — pricing plans, and "us vs. agency vs. DIY"
   -------------------------------------------------------------------------- */
.cmp-wrap { margin-top: clamp(36px, 4vw, 64px); }
.cmp-wrap--vs { margin-top: 0; }
.cmp__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; box-shadow: var(--ring-card); }
.cmp {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  background: var(--white);
}
.cmp th, .cmp td { padding: 13px 16px; border-top: 1px solid var(--border-hair); text-align: center; vertical-align: middle; color: var(--text-body); }
.cmp thead th { border-top: 0; padding-top: 18px; padding-bottom: 16px; vertical-align: bottom; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp tbody th { font-weight: var(--weight-semibold); color: var(--ink); width: 34%; }
.cmp__plan { font-family: var(--font-ui); }
.cmp__name { display: block; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.cmp__price { display: block; margin-top: 2px; font-family: var(--font-accent); font-weight: 700; font-size: 18px; color: var(--ink); }
.cmp__price small { font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--gray-66); }
.cmp__plan--featured { background: var(--ink); }
.cmp__plan--featured .cmp__name, .cmp__plan--featured .cmp__price { color: var(--white); }
.cmp__plan--featured .cmp__price small { color: var(--gray-c5); }
.cmp__plan--glove { background: var(--amber); }
.cmp__plan--glove .cmp__price small { color: rgba(15, 15, 15, 0.62); }
.cmp__y::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.cmp__n { color: var(--gray-c5); }
.cmp__t { font-weight: var(--weight-semibold); color: var(--ink); }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: var(--surface-muted); }
.cmp__hint { display: none; margin: 0 0 10px; font-family: var(--font-ui); font-size: 12px; color: var(--gray-66); }
/* Phones: the label column stays put while the plans scroll underneath it. */
@media (max-width: 720px) {
  .cmp__hint { display: block; }
  .cmp thead th:first-child, .cmp tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--border-hair); }
  .cmp tbody th { width: 150px; min-width: 150px; }
  .cmp tbody tr:hover th { background: var(--surface-muted); }
}

/* Us vs. agency vs. DIY — text cells, our column highlighted */
.cmp--vs td { text-align: left; }
.cmp--vs thead th { text-align: left; }
.cmp--vs tbody th { width: 20%; }
.cmp--vs td { width: calc(80% / 3); }
.cmp__plan--us { background: var(--ink); }
.cmp__plan--us .cmp__name { color: var(--white); }
.cmp__us { font-weight: var(--weight-semibold); color: var(--ink); background: rgba(236, 176, 20, 0.12); }
.cmp--vs tbody tr:hover .cmp__us { background: rgba(236, 176, 20, 0.2); }
.cmp__us::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: -2px 8px 0 0;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 640px) {
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 11px 12px; }
}

/* --------------------------------------------------------------------------
   3c-iv. Home — guarantee strip
   -------------------------------------------------------------------------- */
.guar { padding-block: clamp(28px, 3vw, 44px); background: var(--white); border-bottom: 1px solid var(--border-hair); }
.guar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}
.guar__item { display: flex; gap: 14px; align-items: flex-start; padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--border-hair); }
.guar__item:first-child { padding-left: 0; border-left: 0; }
.guar__mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.guar__title { display: block; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: 17px; letter-spacing: -0.02em; color: var(--ink); }
.guar__text { margin: 4px 0 0; max-width: 34ch; font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--text-body); }
@media (max-width: 860px) {
  .guar__list { grid-template-columns: 1fr; gap: 18px; }
  .guar__item { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--border-hair); }
  .guar__item:first-child { padding-top: 0; border-top: 0; }
  .guar__text { max-width: none; }
}

/* --------------------------------------------------------------------------
   3c-v. Areas we serve — landing-page hubs
   -------------------------------------------------------------------------- */
.areas__back { color: inherit; text-decoration: none; border-bottom: 1px solid var(--amber); }
.areas__services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2vw, 28px); }
.areas__card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 44px); border-radius: var(--radius-card); background: var(--white); box-shadow: var(--ring-card); text-decoration: none; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.areas__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), var(--ring-card); }
.areas__num { font-family: var(--font-accent); font-weight: var(--weight-semibold); font-size: 12px; letter-spacing: 0.16em; color: var(--amber); }
.areas__title { margin: 12px 0 4px; }
.areas__count { margin: 0; font-family: var(--font-accent); font-weight: 700; font-size: var(--size-h4); color: var(--ink); }
.areas__sample { margin: 16px 0 0; font-family: var(--font-ui); font-size: var(--size-body-sm); line-height: 1.7; color: var(--gray-66); }
.areas__sample span::after { content: " · "; color: var(--amber); }
.areas__sample span:last-child::after { content: ""; }
.areas__more { color: var(--ink); }
.areas__az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: clamp(28px, 3vw, 48px); }
.areas__az a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: var(--ring-nav); font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: var(--ink); text-decoration: none; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.areas__az a:hover { background: var(--amber); }
.areas__group { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: clamp(20px, 2.2vw, 32px) 0; border-top: 1px solid var(--border-hair); scroll-margin-top: 120px; }
.areas__letter { font-family: var(--font-accent); font-weight: 700; font-size: var(--size-h2); line-height: 1; color: var(--amber); }
.areas__towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 20px; }
.areas__towns a { display: block; padding: 6px 0; font-family: var(--font-body); font-size: var(--size-body); color: var(--text-body); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s var(--ease); }
.areas__towns a:hover { color: var(--ink); border-bottom-color: var(--amber); }
@media (max-width: 640px) {
  .areas__group { grid-template-columns: 1fr; gap: 8px; }
}

/* --------------------------------------------------------------------------
   3c-vi. Landing pages ("<service> in <town>") — landing.php
   Everything else on those pages is an existing site component.
   -------------------------------------------------------------------------- */
.lp-hero__title { max-width: 16ch; text-wrap: balance; }
.lp-nearby { margin: clamp(18px, 2vw, 28px) 0 14px; max-width: 40ch; font-family: var(--font-ui); font-size: var(--size-body-sm); line-height: 1.7; color: var(--text-muted); }
.lp-nearby strong { color: var(--text-heading); font-weight: var(--weight-semibold); }
.lp-prose { display: grid; gap: 1.1em; max-width: 68ch; }
.lp-prose .lede { color: var(--text-heading); }
.lp-why__intro { margin-top: 16px; }
.lp-more { margin-top: 26px; }

/* What We Create: the site's .step card, six across two rows, each one a link */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 28px); }
.lp-step { display: flex; flex-direction: column; color: inherit; text-decoration: none; background: var(--white); }
.lp-step.step--ink { background: var(--ink); }
.lp-step.step--ink .copy { color: var(--gray-c5); }
.lp-step__link { margin-top: auto; padding-top: 22px; font-family: var(--font-ui); font-weight: var(--weight-semibold); font-size: var(--size-body-sm); color: var(--ink); }
.lp-step.step--ink .lp-step__link { color: var(--amber); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .svc-grid { grid-template-columns: 1fr; } }

/* Benefits: numbered rows, same number style as the step cards */
.lp-benefits { list-style: none; margin: 0; padding: 0; }
.lp-benefit { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 18px; padding: clamp(20px, 2vw, 28px) 0; border-top: 1px solid var(--border-hair); }
.lp-benefit:first-child { border-top: 0; padding-top: 0; }
.lp-benefit__title { margin: 0 0 6px; }

/* Contact band: copy on the dark Capabilities background, form on a white card */
.lp-contact { align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.lp-contact__copy .lede { margin-top: 16px; }
.lp-contact__rows { margin-top: clamp(24px, 2.6vw, 40px); display: grid; gap: 18px; }
.lp-contact__rows a { color: inherit; }
.lp-formcard {
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  /* back to the light tokens: this card sits inside an .is-dark band */
  --text-heading: var(--ink); --text-body: var(--gray); --text-strong: var(--ink); --text-muted: var(--gray-66); --text-faint: var(--gray-a50);
  --surface: var(--white); --surface-muted: var(--off-f5); --surface-card: var(--white);
  --border-hair: var(--gray-a30); --border-soft: var(--gray-a20); --border-field: var(--gray-a12); --border-strong: var(--ink);
  --action-fill: var(--ink); --action-text: var(--white); --action-knob: var(--white); --action-glyph: var(--ink);
  --ring-pill: inset 0 0 0 1px var(--ink); --ring-card: inset 0 0 0 1px var(--gray-a50); --ring-panel: inset 0 0 0 1px var(--gray-a30);
}
@media (max-width: 900px) { .lp-contact { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   3d. About — "Why I still answer the phone"
   -------------------------------------------------------------------------- */
.phone {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}
.phone__copy .sec-head__title { margin: var(--eyebrow-gap) 0 clamp(20px, 2.2vw, 32px); }
.phone__card {
  display: grid;
  gap: 10px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--white);
}
.phone__label {
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.phone__number {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: 8px 0 6px;
  font-family: var(--font-accent);
  font-weight: var(--weight-bold);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease);
}
.phone__number:hover { color: var(--amber); }
.phone__ico { width: 0.8em; height: 0.8em; flex: 0 0 auto; color: var(--amber); }
.phone__who { font-family: var(--font-body); font-size: var(--size-body-sm); color: var(--gray-c5); }
.phone__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--white-a20);
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  font-weight: 600;
  color: var(--white);
}
.phone__status i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.18); }
@media (max-width: 860px) {
  .phone { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   3e. Services — hosting (ADhostCo) with the 3D server icon
   -------------------------------------------------------------------------- */
.host {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}
.host__art {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--white);
}
.host__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 176, 20, 0.28), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.host__brand {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
  justify-items: start;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--white-a20);
  width: 100%;
  color: var(--white);
  text-decoration: none;
}
.host__brand img { grid-row: 1 / 3; display: block; width: 46px; height: auto; }
.host__brand span { font-family: var(--font-brand); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.host__brand span b { color: #ff7a17; }   /* ADhostCo's own accent */
.host__brand small { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.06em; color: var(--gray-c5); }
.host__brand:hover span { color: var(--amber); }
.host__copy .sec-head__title { margin: var(--eyebrow-gap) 0 clamp(20px, 2.2vw, 32px); }
.host__link { color: var(--text-heading); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.host__link:hover { color: var(--amber); }
.host__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.4vw, 32px); }
.host__actions { margin-top: clamp(24px, 2.6vw, 36px); }

/* The 3D server rack: white/grey iso faces, amber top, blinking LEDs, gentle float. */
.srv { position: relative; display: block; width: min(100%, 300px); height: auto; overflow: visible; }
.srv__rack { animation: srvFloat 6s ease-in-out infinite; transform-origin: 100px 110px; }
.srv__shadow { fill: rgba(0, 0, 0, 0.55); filter: blur(6px); animation: srvShadow 6s ease-in-out infinite; }
.srv__top   { fill: #F5F5F5; }
.srv__left  { fill: #D6D6D6; }
.srv__right { fill: #B4B4B4; }
.srv__vent  { stroke: rgba(15, 15, 15, 0.28); stroke-width: 2; stroke-linecap: round; }
.srv__bay   { fill: rgba(15, 15, 15, 0.10); }
.srv__led   { fill: #3ddc84; }
.srv__led--a { fill: var(--amber); animation: srvBlink 1.4s steps(2, end) infinite; }
.srv__rack g:nth-child(2) .srv__led--a { animation-delay: 0.45s; }
.srv__rack g:nth-child(3) .srv__led--a { animation-delay: 0.9s; }
@keyframes srvFloat  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes srvShadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.9); opacity: 0.7; } }
@keyframes srvBlink  { 0% { opacity: 1; } 100% { opacity: 0.25; } }
@media (max-width: 900px) {
  .host { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .srv { width: min(62%, 220px); }   /* phones: the rack was filling the whole card */
  .host__art { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .srv__rack, .srv__shadow, .srv__led--a { animation: none; }
}

/* --------------------------------------------------------------------------
   3f. Portfolio — ADigital Player (Android app) feature
   -------------------------------------------------------------------------- */
.app-feat { position: relative; }
.app-feat__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: center;
}
.app-feat__copy .sec-head__title { margin: var(--eyebrow-gap) 0 10px; }
.app-feat__sub {
  margin: 0 0 clamp(20px, 2.2vw, 30px);
  font-family: var(--font-body);
  font-size: var(--size-body-lg);
  color: var(--amber);
}
.app-feat__link { color: var(--text-heading); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.app-feat__link:hover { color: var(--amber); }
.app-feat__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.4vw, 32px); }
.app-feat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(24px, 2.6vw, 36px); }
/* Google Play badge, in the site's pill language */
.app-feat__play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}
.app-feat__play:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.9); }
.app-feat__play svg { width: 28px; height: 28px; flex: 0 0 auto; }
.app-feat__play span { display: grid; line-height: 1.05; font-family: var(--font-ui); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.app-feat__play small { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.app-feat__hero img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: 0 50px 90px -40px rgba(15, 15, 15, 0.55); }
.app-feat__screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr);
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(44px, 5vw, 80px);
  align-items: end;
}
.app-feat__shot { margin: 0; }
.app-feat__shot img { display: block; width: 100%; height: auto; } /* transparent mockups — no radius/shadow box */
.app-feat__shot figcaption {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  color: var(--text-muted);
}
@media (max-width: 1000px) {
  .app-feat__top { grid-template-columns: 1fr; }
  .app-feat__screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-feat__shot--tv { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   3g. Portfolio — iOS apps
   -------------------------------------------------------------------------- */
.ios .sec-head--stack .lede { margin-top: 12px; }
.ios__app {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 4.4vw, 72px);
  margin-top: clamp(40px, 4.4vw, 72px);
  border-top: 1px solid var(--border-hair);
}
.ios__app--flip .ios__copy { order: 2; }
.ios__name { margin: 12px 0 6px; }
.ios__kicker { margin: 0 0 clamp(16px, 1.8vw, 24px); font-family: var(--font-body); font-size: var(--size-body-lg); color: var(--amber); }
.ios__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 2vw, 28px); }
.ios__shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); align-items: end; }
.ios__shot { margin: 0; }
.ios__shot img { display: block; width: 100%; height: auto; }
.ios__shot figcaption { margin-top: 10px; font-family: var(--font-ui); font-size: var(--size-body-sm); color: var(--text-muted); }
@media (max-width: 900px) {
  .ios__app { grid-template-columns: 1fr; }
  .ios__app--flip .ios__copy { order: 0; }
}
@media (max-width: 520px) {
  .ios__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ios__shot:last-child { grid-column: 1 / -1; max-width: 60%; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   3h. Legal pages — privacy & terms
   -------------------------------------------------------------------------- */
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: clamp(20px, 2.2vw, 30px);
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  color: var(--text-muted);
}
.legal-meta b { color: var(--text-heading); font-weight: var(--weight-semibold); }
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
.legal__toc { position: sticky; top: 130px; }
.legal__toc-k { margin: 0 0 12px; font-family: var(--font-ui); font-size: var(--size-body-sm); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-hair); }
.legal__toc li { border-bottom: 1px solid var(--border-hair); }
.legal__toc a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; font-family: var(--font-ui); font-size: var(--size-body-sm); color: var(--text-body); text-decoration: none; transition: color var(--duration-base) var(--ease); }
.legal__toc a span { font-family: var(--font-accent); font-weight: var(--weight-semibold); font-size: 11px; letter-spacing: 0.12em; color: var(--amber); min-width: 24px; }
.legal__toc a:hover { color: var(--amber); }
.legal__body { max-width: 72ch; }
.legal__lead {
  margin: 0 0 clamp(36px, 4vw, 56px);
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.4vw, 32px);
  border-radius: 20px;
  background: var(--surface-muted);
  font-family: var(--font-body);
  font-size: var(--size-body-lg);
  line-height: 1.6;
  color: var(--text-strong);
}
.legal__sec { padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--border-hair); scroll-margin-top: 120px; }
.legal__h { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.legal__n { font-family: var(--font-accent); font-weight: var(--weight-semibold); font-size: var(--size-body-sm); letter-spacing: 0.14em; color: var(--amber); }
.legal__b { font-family: var(--font-body); font-size: var(--size-body); line-height: 1.7; color: var(--text-body); }
.legal__b p { margin: 0 0 14px; }
.legal__b h3 { margin: 22px 0 8px; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--size-h4); line-height: var(--lh-h4); letter-spacing: var(--track-snug); color: var(--text-heading); }
.legal__b ul { margin: 0 0 16px; padding-left: 22px; }
.legal__b li { margin: 6px 0; }
.legal__b strong { color: var(--text-heading); font-weight: var(--weight-semibold); }
.legal__b a { color: var(--text-heading); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.legal__b a:hover { color: var(--amber); }
.legal__b .legal-warn { padding: 14px 18px; border-left: 3px solid var(--amber); background: var(--surface-muted); border-radius: 0 12px 12px 0; }
.legal__note { margin: clamp(28px, 3vw, 40px) 0 0; padding-top: 20px; border-top: 1px solid var(--border-hair); font-family: var(--font-body); font-size: var(--size-body-sm); line-height: 1.6; color: var(--text-muted); }
.legal-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 5vw, 80px);
}
.legal-card { padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; display: grid; align-content: start; gap: 8px; min-height: 200px; }
.legal-card--amber { background: var(--amber); color: var(--ink); }
.legal-card--muted { background: var(--surface-muted); color: var(--ink); }
.legal-card--ink { background: var(--ink); color: var(--white); }
.legal-card__k { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.legal-card__t { margin: 6px 0 0; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--size-h4); line-height: var(--lh-h4); letter-spacing: var(--track-snug); }
.legal-card__d { margin: 0; font-family: var(--font-body); font-size: var(--size-body-sm); line-height: 1.55; opacity: 0.8; }
.legal-card__d a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-card--ink .legal-card__d a { text-decoration-color: var(--amber); }
.footer-legal { display: flex; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; }
.footer-legal a { font-family: var(--font-ui); font-size: 13px; color: var(--gray-8a, #8a8a8a); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .legal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .legal-cards { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   3i. Free website audit
   -------------------------------------------------------------------------- */
.audit-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 720px;
  margin-top: clamp(24px, 2.6vw, 36px);
}
.audit-form__field { margin: 0; }
.audit-form__btn { justify-self: start; }
.audit-note { margin: 12px 0 0; font-family: var(--font-ui); font-size: var(--size-body-sm); color: var(--text-muted); }
.audit-error {
  margin: 0;
  padding: 16px 20px;
  border-radius: 16px;
  border-left: 3px solid #ff6b57;
  background: rgba(255, 107, 87, 0.08);
  font-family: var(--font-body);
  color: var(--text-heading);
}
.audit-target { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; font-family: var(--font-ui); font-size: var(--size-body-sm); color: var(--text-muted); }
.audit-target b { color: var(--text-heading); font-weight: var(--weight-semibold); }
.audit-target .status-dot { margin: 0; }

.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3vw, 44px);
}
.acard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 24px;
}
.acard--wide  { grid-column: span 2; }
.acard--half  { grid-column: span 2; }
.acard--full  { grid-column: 1 / -1; }
.acard--amber { background: var(--amber); color: var(--ink); }
.acard--muted { background: var(--surface-muted); color: var(--ink); }
.acard--ink   { background: var(--ink); color: var(--white); --border-hair: var(--white-a20); }
.acard__k { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.acard__big { margin: 0; font-family: var(--font-accent); font-weight: var(--weight-bold); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.acard__big small { font-size: 0.5em; font-weight: var(--weight-semibold); opacity: 0.7; }
.acard__d { margin: 0; max-width: 44ch; font-family: var(--font-body); font-size: var(--size-body); line-height: 1.55; opacity: 0.85; }
.acard__action { margin-top: auto; padding-top: 10px; }
.acard__head { display: flex; align-items: flex-start; gap: 12px; }
.acard__icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(127, 127, 127, 0.14); }
.acard__icon svg { width: 20px; height: 20px; }
.acard--amber .acard__icon, .acard--muted .acard__icon { background: rgba(15, 15, 15, 0.08); }
.acard--ink .acard__icon { background: rgba(255, 255, 255, 0.08); }
.acard__t { margin: 0; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--size-h4); line-height: var(--lh-h4); letter-spacing: var(--track-snug); }
.acard--ink .acard__t { color: var(--white); }   /* global h3 colour would paint it ink-on-ink */
.acard__sub { margin: 2px 0 0; font-family: var(--font-body); font-size: var(--size-body-sm); line-height: 1.5; opacity: 0.7; }
.acard__foot { margin-top: auto; }
.acard__gauge { display: flex; justify-content: center; padding: 6px 0; }

/* Gauges */
.gauge { position: relative; width: clamp(108px, 11vw, 140px); height: clamp(108px, 11vw, 140px); flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(127, 127, 127, 0.18); stroke-width: 8; }
.gauge__bar { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(0.6, 0, 0.2, 1); }
.gauge__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-accent); font-size: clamp(28px, 3vw, 38px); font-weight: var(--weight-bold); letter-spacing: -0.04em; }
.gauge.is-good .gauge__bar { stroke: #2fbf7f; }  .gauge.is-good .gauge__num { color: #2fbf7f; }
.gauge.is-ok   .gauge__bar { stroke: var(--amber); } .gauge.is-ok .gauge__num { color: inherit; }
.gauge.is-bad  .gauge__bar { stroke: #ff6b57; }  .gauge.is-bad .gauge__num { color: #ff6b57; }
.gauge.is-na   .gauge__bar { stroke: rgba(127, 127, 127, 0.3); } .gauge.is-na .gauge__num { opacity: 0.5; font-size: 20px; }

/* Checks list */
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--border-hair); }
.checks li:first-child { border-top: none; }
.checks__mark { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-ui); font-size: 11px; font-weight: 700; margin-top: 2px; }
.checks__mark--pass { background: rgba(47, 191, 127, 0.18); color: #2fbf7f; }
.checks__mark--warn { background: rgba(236, 176, 20, 0.22); color: var(--amber); }
.checks__mark--fail { background: rgba(255, 107, 87, 0.18); color: #ff6b57; }
.checks__label { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; }
.checks__note { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; line-height: 1.5; opacity: 0.7; }

/* Core Web Vitals */
.vitals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.vital { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); }
.vital__k { font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.vital__v { display: block; margin-top: 8px; font-family: var(--font-accent); font-size: clamp(20px, 2vw, 27px); font-weight: var(--weight-semibold); letter-spacing: -0.03em; }
.vital.is-good .vital__v { color: #2fbf7f; }
.vital.is-bad  .vital__v { color: #ff6b57; }

.footer-legal__audit { color: var(--amber) !important; }

@media (max-width: 960px) {
  .audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acard--wide, .acard--half { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .audit-form { grid-template-columns: 1fr; }
  .audit-form__btn { justify-self: stretch; }
  .audit-grid { grid-template-columns: 1fr; }
  .acard { min-height: 0; }
}

/* --------------------------------------------------------------------------
   3j. Start here
   -------------------------------------------------------------------------- */
.builds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.build { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 44px); border-radius: var(--radius-card); box-shadow: var(--ring-panel); transition: background var(--duration-base) var(--ease); }
.build:hover { background: var(--surface-muted); }
.build__k { margin: 14px 0 4px; }
.build__sub { font-family: var(--font-ui); font-size: var(--size-body-sm); font-weight: 600; color: var(--amber); }
.build__d { margin: 16px 0 0; }
.build__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }

.story-x { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 96px); align-items: start; }
.story-x__rail { position: sticky; top: 130px; }
.story-x__lede { font-size: var(--size-h3); line-height: var(--lh-h3); color: var(--text-heading); max-width: 26ch; margin: 0 0 clamp(24px, 2.6vw, 36px); }
.story-x__copy { font-family: var(--font-body); font-size: var(--size-body-lg); line-height: 1.65; color: var(--text-body); max-width: 60ch; }
.story-x__copy p { margin: 0 0 18px; }
.story-x__copy strong { color: var(--text-heading); font-weight: var(--weight-semibold); }
.story-x__quote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--amber); background: var(--white); border-radius: 0 16px 16px 0; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--size-h4); line-height: var(--lh-h4); letter-spacing: var(--track-snug); color: var(--text-heading); }

.quals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.qual { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 44px); border-radius: var(--radius-card); box-shadow: var(--ring-panel); transition: background var(--duration-base) var(--ease); }
.qual:hover { background: var(--surface-muted); }
.qual--ask { background: var(--ink); color: var(--white); --text-heading: var(--white); --text-body: var(--gray-c5); box-shadow: none; }
.qual--ask:hover { background: var(--ink); }
.qual__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(47, 191, 127, 0.16); color: #2fbf7f; font-family: var(--font-ui); font-weight: 700; }
.qual--ask .qual__mark { background: var(--amber); color: var(--ink); }
.qual__t { margin: 18px 0 10px; }
.qual__d { margin: 0; }
.qual__action { margin-top: auto; padding-top: 24px; }
.qual--ask .btn { --action-fill: var(--amber); --action-text: var(--ink); --action-knob: var(--ink); --action-glyph: var(--amber); }

.step--paper { background: var(--white); box-shadow: none; }
.step--amber { background: var(--amber); color: var(--ink); --text-heading: var(--ink); --text-body: rgba(15, 15, 15, 0.78); }
.step--amber .step__num { color: var(--ink); }
.step--paper:hover { background: var(--white); }
.step--amber:hover { background: var(--amber); }
.step__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.step__wk { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.step--amber .step__wk { color: rgba(15, 15, 15, 0.62); }

@media (max-width: 960px) {
  .builds { grid-template-columns: 1fr; }
  .story-x { grid-template-columns: 1fr; }
  .story-x__rail { position: static; }
}
@media (max-width: 700px) {
  .quals { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   3k. Case study — hero with the site in a browser frame
   -------------------------------------------------------------------------- */
.csh { padding-bottom: clamp(48px, 5vw, 90px); }
.csh__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: center;
}
.csh .cs__title { margin: var(--eyebrow-gap) 0 clamp(24px, 2.6vw, 40px); max-width: 10em; font-size: clamp(42px, 5vw, 74px); line-height: 1.02; overflow-wrap: anywhere; }
.csh .cs__facts { margin-top: 0; }
.browser {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-1e);
  box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--white-a20);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: 50% 50%;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  background: #2a2a2a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser__bar i:first-child { background: var(--amber); }
.browser__url {
  margin-left: 12px;
  flex: 1;
  height: 20px;
  line-height: 20px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--gray-c5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .csh__grid { grid-template-columns: 1fr; }
  .browser { transform: none; }
}

.work__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.work__cs { color: var(--amber); font-weight: 600; }

/* --------------------------------------------------------------------------
   3l. FAQ page — categories rail + grouped accordions
   -------------------------------------------------------------------------- */
.faqp { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(36px, 5vw, 90px); align-items: start; }
.faqp__rail { position: sticky; top: 130px; }
.faqp__k { margin: 0 0 12px; font-family: var(--font-ui); font-size: var(--size-body-sm); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.faqp__rail ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-hair); }
.faqp__rail li { border-bottom: 1px solid var(--border-hair); }
.faqp__rail a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; font-family: var(--font-ui); font-size: var(--size-body-sm); color: var(--text-body); text-decoration: none; transition: color var(--duration-base) var(--ease); }
.faqp__rail a span { font-family: var(--font-accent); font-weight: var(--weight-semibold); font-size: 11px; letter-spacing: 0.12em; color: var(--amber); min-width: 24px; }
.faqp__rail a:hover { color: var(--amber); }
.faqp__body { max-width: 76ch; }
.faqp__group { padding-bottom: clamp(36px, 4vw, 64px); scroll-margin-top: 120px; }
.faqp__group + .faqp__group { padding-top: clamp(8px, 1vw, 16px); }
.faqp__head { margin-bottom: clamp(14px, 1.6vw, 22px); }
.faqp__intro { margin-top: 12px; }
@media (max-width: 960px) {
  .faqp { grid-template-columns: 1fr; }
  .faqp__rail { position: static; }
}

/* --------------------------------------------------------------------------
   4. Home — work & services tails
   -------------------------------------------------------------------------- */
.work__more {
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter) var(--section-y);
}
.services__more { margin-top: clamp(40px, 4vw, 64px); }
.cta__eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   5. Home — why & stats
   -------------------------------------------------------------------------- */
.why__title {
  margin: var(--eyebrow-gap) 0 clamp(40px, 4.4vw, 84px);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--size-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--track-snug);
  color: var(--text-heading);
  max-width: 16em;
}
.stats {
  border-top: 1px solid var(--border-hair);
  padding-top: clamp(36px, 3.6vw, 64px);
}
/* Two-up on phones so the four stats don't stack into one tall column. */
@media (max-width: 620px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 8vw, 44px) clamp(16px, 5vw, 28px);
  }
  .stats .stat__value { font-size: clamp(40px, 13vw, 64px); }
}

/* --------------------------------------------------------------------------
   6. Home — expertise cloud statement
   -------------------------------------------------------------------------- */
.cloud__statement {
  margin-inline: auto;
  max-width: 24ch;
  text-align: center;
  font-size: var(--size-h1);
  line-height: var(--lh-h1);
}

/* --------------------------------------------------------------------------
   7. Home — studio block
   -------------------------------------------------------------------------- */
.studio__title { margin: var(--eyebrow-gap) 0 clamp(24px, 2.6vw, 40px); }
.studio__copy { margin-bottom: 22px; }
.studio__copy--soft { color: var(--text-muted); margin-bottom: clamp(28px, 3vw, 42px); }

/* --------------------------------------------------------------------------
   8. Home — process tiles & industry rows
   -------------------------------------------------------------------------- */
.steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 2vw, 28px); }
/* Desktop: always five across so the last step is the only one on its own row. */
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps .step { padding: clamp(22px, 2vw, 34px); }
}
/* Last step stretches the full row, in ink, with room for the longer copy. */
.steps .step--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 64px);
  align-items: start;
}
.step--ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
  --text-heading: var(--white);
  --text-body: var(--gray-c5);
  --action-fill: var(--amber);
  --action-text: var(--ink);
  --action-knob: var(--amber);
  --action-glyph: var(--ink);
}
.step--ink:hover { background: var(--ink); box-shadow: none; }
.step--ink .step__title { color: var(--white); }
.step__more { display: grid; gap: 14px; justify-items: start; justify-self: end; width: 100%; max-width: 52ch; }
.step__more p { margin: 0; max-width: none; font-family: var(--font-body); font-size: var(--size-body); line-height: 1.65; color: var(--gray-c5); }
.step__more .btn { margin-top: 8px; }
@media (max-width: 760px) {
  .steps .step--wide { grid-template-columns: 1fr; }
}
.rows { border-top: 1px solid var(--border-hair); }

/* --------------------------------------------------------------------------
   9. Home — insights & contact block
   -------------------------------------------------------------------------- */
.eyebrow--muted {
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  color: var(--text-muted);
}
.contact__value {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: var(--size-body-lg);
  line-height: 1.6;
  color: var(--text-heading);
}
.contact__value a:hover { color: var(--amber); }
.contact__social { display: flex; flex-wrap: wrap; gap: 20px; }

/* --------------------------------------------------------------------------
   10. About — story, principles, process rail
   -------------------------------------------------------------------------- */
.story__title { margin: var(--eyebrow-gap) 0 clamp(24px, 2.6vw, 40px); }
.story__copy { margin-bottom: 20px; }
.story__copy--bright { color: var(--text-strong); }
.story__media { min-height: 300px; }
/* "What you own" list under the story copy */
.story__own {
  list-style: none;
  margin: clamp(20px, 2.2vw, 30px) 0 0;
  padding: 0;
  max-width: 58ch;
}
.story__own li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-hair);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.55;
  color: var(--text-body);
}
.story__own li:last-child { border-bottom: 1px solid var(--border-hair); }
.story__own li strong { color: var(--text-heading); font-weight: var(--weight-semibold); }
.story__own li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f0f0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.principles { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2vw, 28px); }
.principle {
  padding: clamp(30px, 3.2vw, 56px);
  border-radius: var(--radius-card);
  box-shadow: var(--ring-panel);
  transition: background var(--duration-base) var(--ease);
}
.principle:hover { background: var(--surface-muted); }
.principle__title { margin: 18px 0 16px; font-size: var(--size-h2); line-height: var(--lh-h2); }
.process__intro { margin-top: 20px; }

/* --------------------------------------------------------------------------
   11. Pricing
   -------------------------------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2vw, 28px);
}

/* --------------------------------------------------------------------------
   12. Contact page
   -------------------------------------------------------------------------- */
.form-stage { position: relative; min-height: 420px; }
.form-done__note { margin-top: 24px; }

.contact-rail { position: sticky; top: 140px; }
.contact-rail__mark { height: 28px; }
.contact-rail__name { font-size: 16px; }
.contact-rail__tag {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.contact-rail__rule {
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transition: width 1.8s var(--ease);
}
@media (max-width: 960px) {
  .contact-rail { position: static; }
}

/* Honeypot — off-screen, never focusable by a person */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   13. Case study
   -------------------------------------------------------------------------- */
.section--flush-media { padding-top: 0; }

.cs__back {
  font-family: var(--font-ui);
  font-weight: var(--weight-semibold);
  font-size: var(--size-body-sm);
  color: var(--text-muted);
}
.cs__back:hover { color: var(--amber); }
.cs__title {
  margin: clamp(20px, 2.2vw, 34px) 0 clamp(26px, 2.6vw, 40px);
  font-size: var(--size-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--track-tight);
  max-width: 14em;
}
.cs__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--border-hair);
  padding-top: clamp(20px, 2.2vw, 34px);
}
.cs__fact { margin-top: 8px; font-size: var(--size-body-sm); color: var(--text-body); }

.cs__chapter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(30px, 5vw, 80px);
}
.cs__heading { margin-top: 14px; }
.cs__body {
  grid-column: span 2;
  max-width: 58ch;
  font-family: var(--font-body);
  font-size: var(--size-body-lg);
  line-height: var(--lh-lead);
  color: var(--text-body);
}
.cs__para { margin-bottom: 24px; }
.cs__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }   /* two tiles up top … */
.cs__gallery .frame--21x9 { grid-column: 1 / -1; }                                                  /* … the wide band full-width below */
@media (max-width: 640px) { .cs__gallery { grid-template-columns: 1fr; } }
.cs__results { padding-top: clamp(70px, 10vh, 120px); }
.cs__metrics { grid-column: span 2; }
.cs__note {
  grid-column: 1 / -1;
  font-family: var(--font-ui);
  font-size: var(--size-body-sm);
  color: var(--text-muted);
}

.cs__next {
  display: block;
  position: relative;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.cs__next-label { position: relative; display: block; margin-bottom: 20px; }
.cs__next-title {
  position: relative;
  display: block;
  font-size: var(--size-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-tight);
  color: var(--text-heading);
  transition: color var(--duration-base) var(--ease);
}
.cs__next:hover .cs__next-title { color: var(--amber); }

/* --------------------------------------------------------------------------
   14. Narrow screens
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  /* The 12-column editorial grid collapses to a single column */
  .grid-12 { grid-template-columns: 1fr; }
  .col-5, .col-6, .col-7, .col-12 { grid-column: 1 / -1; }
  .col-end { align-self: auto; }

  .cs__body, .cs__metrics { grid-column: 1 / -1; }
  .tier__action { justify-content: flex-start; }
  .split-sticky__rail { position: static; }
  .member--offset { margin-top: 0; }
}

@media (max-width: 560px) {
  .footer__legal { flex-direction: column; gap: 8px; }
  .eyebrow::before { width: 24px; }
}

/* --------------------------------------------------------------------------
   404 — matching banner + a 3D extruded "404" that floats, turns, and tilts
   toward the pointer (data-tilt via motion.js).
   -------------------------------------------------------------------------- */
.err-page { text-align: center; overflow: hidden; }
.err {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1100px;
}
.err .eyebrow::before { margin-inline: auto; }   /* centre the eyebrow rule */
.err__stage {
  position: relative;
  transform-style: preserve-3d;
  margin: clamp(8px, 2.4vw, 34px) 0 clamp(22px, 3.4vw, 52px);
}
.err__num {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: clamp(120px, 27vw, 380px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--ink);
  transform-style: preserve-3d;
  text-shadow:
    0 1px 0 #d2d2d2, 0 2px 0 #cecece, 0 3px 0 #cacaca, 0 4px 0 #c6c6c6,
    0 5px 0 #c2c2c2, 0 6px 0 #bebebe, 0 7px 0 #bababa, 0 8px 0 #b6b6b6,
    0 9px 0 #b2b2b2, 0 10px 0 #aeaeae, 0 18px 26px rgba(15, 15, 15, 0.28);
  animation: err-float 6s var(--ease-inout) infinite;
  will-change: transform;
}
.err__o {
  color: var(--amber);
  text-shadow:
    0 1px 0 #cd9d10, 0 2px 0 #c8990e, 0 3px 0 #c3950c, 0 4px 0 #be910a,
    0 5px 0 #b98d08, 0 6px 0 #b48906, 0 7px 0 #af8504, 0 8px 0 #aa8102,
    0 9px 0 #a57d00, 0 10px 0 #a07900, 0 18px 26px rgba(15, 15, 15, 0.28);
}
.err__shadow {
  position: absolute;
  left: 50%;
  bottom: -7%;
  width: 60%;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(15, 15, 15, 0.20), transparent 70%);
  filter: blur(4px);
  animation: err-shadow 6s var(--ease-inout) infinite;
}
.err__title { margin-bottom: clamp(14px, 1.6vw, 22px); }
.err__lede { margin-inline: auto; }
.err__actions { margin-top: clamp(28px, 3vw, 44px); }

@keyframes err-float {
  0%, 100% { transform: rotateX(9deg) rotateY(-15deg) translateY(0); }
  50%      { transform: rotateX(9deg) rotateY(15deg) translateY(-18px); }
}
@keyframes err-shadow {
  0%, 100% { transform: translateX(-50%) scale(1);    opacity: 0.85; }
  50%      { transform: translateX(-50%) scale(0.8);  opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .err__num { animation: none; transform: rotateX(6deg) rotateY(-10deg); }
  .err__shadow { animation: none; }
}

/* --------------------------------------------------------------------------
   Mossbit — app landing + support page (appandesign.com/mossbit)
   -------------------------------------------------------------------------- */
.moss-hero { padding-top: clamp(120px, 14vh, 180px); }
.moss-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.moss-hero__icon {
  width: 72px;
  height: 72px;
  margin-bottom: clamp(18px, 2vw, 28px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}
.moss-hero__icon .img-slot { width: 100%; height: 100%; }
.moss-hero__icon .img-slot__img { width: 100%; height: 100%; object-fit: cover; }
.moss-hero__icon .img-slot__ph { font-size: 10px; letter-spacing: 0.04em; text-align: center; padding: 6px; }
.moss-hero__title { margin: var(--eyebrow-gap) 0 clamp(18px, 2vw, 26px); max-width: 11em; }
.moss-hero__lede { max-width: 42ch; }
.moss-hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(26px, 3vw, 40px); }
.moss-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}
.moss-store svg { width: 22px; height: 22px; flex: 0 0 auto; }
.moss-store span { display: grid; line-height: 1.1; font-family: var(--font-ui); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.moss-store small { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-66); }
.moss-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.moss-lock svg { width: 14px; height: 14px; color: var(--amber); flex: 0 0 auto; }
.moss-hero__media { position: relative; }
.moss-hero__media img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, 0.65); }

/* About */
.moss-about { display: grid; gap: clamp(48px, 6vw, 88px); }
.moss-about__head { position: relative; z-index: 0; max-width: 900px; }
.moss-about__bg {
  position: absolute;
  top: -0.08em;
  left: -0.02em;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(90px, 15vw, 260px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-a08);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.moss-about__head > .eyebrow,
.moss-about__title { position: relative; z-index: 2; }
.moss-about__title { margin: var(--eyebrow-gap) 0 0; max-width: 16em; }
.moss-story { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.moss-story__kicker p {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-heading);
}
.moss-story__body { padding-top: 4px; }
@media (max-width: 900px) {
  .moss-story { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .moss-about__bg { font-size: clamp(60px, 22vw, 90px); top: -0.35em; }
}

/* Requirements — icon cards */
.moss-req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.moss-req__card { padding: clamp(26px, 2.8vw, 34px); border-radius: var(--radius-card); background: var(--surface-card); box-shadow: var(--ring-card); }
.moss-req__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: clamp(16px, 1.8vw, 22px);
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--amber);
}
.moss-req__icon svg { width: 22px; height: 22px; }
.moss-req__card h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--size-h4); color: var(--text-heading); }
.moss-req__card p { margin: 8px 0 0; font-family: var(--font-body); font-size: var(--size-body-sm); line-height: 1.55; color: var(--text-body); }

/* Free vs Pro — cards reuse the sitewide .plan / .plan--featured component (see pricing.php) */
.moss-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.moss-plans .plan__price { font-size: clamp(34px, 3.4vw, 44px); }

/* Screenshot showcase — every image sits in an identical-shaped box, phone bottom-anchored,
   so the caption row stays level even if a source crop's padding isn't pixel-identical. */
.moss-shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
.moss-shots figure { margin: 0; }
.moss-shots img { display: block; width: 100%; aspect-ratio: 640 / 1234; object-fit: contain; object-position: bottom center; }
.moss-shots figcaption { margin-top: 10px; font-family: var(--font-ui); font-size: var(--size-body-sm); color: var(--text-muted); }

/* Privacy summary */
.moss-priv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }

/* Closing band */
.moss-close { border-radius: 28px; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); text-align: center; }
.moss-close__title { max-width: 16ch; margin-inline: auto; }
.moss-close__lede { max-width: 44ch; margin: clamp(14px, 1.6vw, 20px) auto 0; }
.moss-close .moss-hero__badges { justify-content: center; margin-top: clamp(28px, 3vw, 40px); }
.moss-close__more { display: block; margin-top: clamp(20px, 2.2vw, 30px); font-family: var(--font-ui); font-size: 13px; color: var(--white-a50); }
.moss-close__more a { color: var(--white); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .moss-hero__grid { grid-template-columns: 1fr; }
  .moss-hero__media { order: -1; max-width: 420px; margin-inline: auto; }
  .moss-req { grid-template-columns: 1fr; gap: 18px; }
  .moss-plans { grid-template-columns: 1fr; }
  .moss-priv { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .moss-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
