/* ============================================================
   Highprime Co — editorial design system
   Paper / ink / one accent. Fraunces display + Inter text.
   ============================================================ */

:root {
  --paper: #fcfbf9;
  --paper-deep: #f3f1ec;
  --card: #ffffff;
  --ink: #191510;
  --ink-soft: #4f463c;
  --dim: #8a7f70;
  --accent: #c2451e;
  --hairline: rgba(25, 21, 16, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --measure: 62ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- shared type ---- */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

/* ---- topbar ---- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
}
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  text-decoration: none; letter-spacing: -0.01em;
}
.wordmark-logo { width: 30px; height: 30px; border-radius: 8px; display: inline-block; vertical-align: middle; margin-right: 9px; }
.wordmark-mark { font-size: 12px; vertical-align: super; color: var(--accent); }
.topnav { display: flex; align-items: center; gap: 28px; font-size: 13.5px; font-weight: 500; }
.topnav a { text-decoration: none; color: var(--ink-soft); }
.topnav a:hover { color: var(--ink); }
.topnav-cta {
  color: var(--paper) !important; background: var(--ink);
  padding: 7px 16px; border-radius: 999px;
}
.topnav-cta:hover { background: var(--accent); }
@media (max-width: 720px) { .topnav a:not(.topnav-cta) { display: none; } }

/* ---- hero ---- */
.hero { padding: clamp(70px, 12vh, 140px) var(--pad) clamp(50px, 8vh, 90px); }
.hero-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 8.2vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin-bottom: 34px;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.55;
}
.hl {
  font-style: italic;
  color: var(--accent);
  background-image: linear-gradient(color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent) 55%, transparent));
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 0% 0.05em;
  animation: hl-draw 0.9s ease-out 0.7s forwards;
}
@keyframes hl-draw { to { background-size: 100% 0.05em; } }

/* ---- float pop-in (container animates so button hover transforms stay live) ---- */
.floats {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transform-origin: bottom right;
  animation: float-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s forwards;
}
@keyframes float-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hl { background-size: 100% 0.05em; animation: none; }
  .floats { opacity: 1; transform: none; animation: none; }
}

/* ---- number strip ---- */
.numberstrip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.numberstrip-inner {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) var(--pad);
}
.numberstrip-figure {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(72px, 10vw, 140px); line-height: 0.9;
  color: var(--accent); letter-spacing: -0.03em;
}
.numberstrip-copy { font-size: clamp(16px, 1.5vw, 20px); max-width: 34ch; line-height: 1.5; }
.numberstrip-copy em { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }

/* ---- letter ---- */
.letter-section { padding: clamp(70px, 10vh, 120px) var(--pad); display: flex; flex-direction: column; align-items: center; }
.letter {
  max-width: 680px; width: 100%;
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px -30px rgba(25, 21, 16, 0.25);
}
.letter-meta {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 12px; color: var(--dim);
}
.letter-body { padding: 34px 30px 38px; }
.letter-body p { margin-bottom: 18px; max-width: var(--measure); font-size: 16.5px; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-sign { font-family: var(--serif); font-style: italic; font-size: 24px; margin-top: 28px; }
.letter-sign span { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ---- engage ---- */
.engage { padding: clamp(60px, 9vh, 110px) var(--pad); }
.engage-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
@media (max-width: 820px) { .engage-cards { grid-template-columns: 1fr; } }
.engage-card {
  border: 1px solid var(--ink);
  padding: clamp(26px, 3vw, 40px);
}
.engage-card--ink { background: var(--ink); color: var(--paper); }
.engage-card--ink .engage-label { color: var(--accent); }
.engage-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 40px; }
.engage-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; letter-spacing: -0.01em; }
.engage-card p:last-child { color: inherit; opacity: 0.82; max-width: 48ch; }

/* ---- traveling border shine (engage cards + offer bar) ---- */
@property --shine {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.engage-card, .offer, .panelmock, .speed-card { position: relative; }
.engage-card::after, .offer::after, .panelmock::after, .speed-card::after {
  content: "";
  position: absolute; inset: -1px;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(from var(--shine),
    transparent 0deg,
    transparent 255deg,
    color-mix(in srgb, var(--accent) 85%, transparent) 300deg,
    #f6f1e7 326deg,
    transparent 352deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: shine-sweep 7s linear infinite;
}
.engage-cards .engage-card:nth-child(2)::after { animation-delay: -2.3s; }
.offer::after { animation-delay: -4.6s; }
.panelmock::after { animation-delay: -1.2s; }
.speed-cards .speed-card:nth-child(1)::after { animation-delay: -0.8s; }
.speed-cards .speed-card:nth-child(2)::after { animation-delay: -2.6s; }
.speed-cards .speed-card:nth-child(3)::after { animation-delay: -4.4s; }
.speed-cards .speed-card:nth-child(4)::after { animation-delay: -6.2s; }
@keyframes shine-sweep { to { --shine: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .engage-card::after, .offer::after, .panelmock::after, .speed-card::after { animation: none; }
}

/* ---- "what do I get" offer accordion (joins the engage cards) ---- */
.offer { border: 1px solid var(--ink); border-top: none; }
.offer summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(26px, 3vw, 40px);
}
.offer summary::-webkit-details-marker { display: none; }
.offer-q { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.01em; }
.offer-chevron { width: 22px; height: 22px; color: var(--accent); transition: transform 0.25s ease; }
.offer[open] .offer-chevron { transform: rotate(180deg); }
.offer summary:hover .offer-q { color: var(--accent); }
.offer-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-item { padding: clamp(22px, 2.6vw, 32px) clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--hairline); }
.offer-item:nth-child(odd) { border-right: 1px solid var(--hairline); }
@media (max-width: 820px) { .offer-item:nth-child(odd) { border-right: none; } }
.offer-item svg { width: 24px; height: 24px; color: var(--accent); margin-bottom: 12px; }
.offer-item h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 1.8vw, 21px); letter-spacing: -0.01em; margin-bottom: 8px; }
.offer-item p { font-size: 14.5px; color: var(--ink-soft); max-width: 52ch; }
.offer-note {
  padding: 20px clamp(26px, 3vw, 40px);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-soft);
  border-top: 1px solid var(--hairline); max-width: none;
}

/* ---- trust strip ---- */
.truststrip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: var(--paper-deep);
}
.truststat {
  padding: clamp(26px, 3.5vw, 44px) var(--pad);
  display: flex; flex-direction: column; gap: 6px;
  align-items: center; text-align: center;
}
.truststat-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 8px; }
.truststat + .truststat { border-left: 1px solid var(--hairline); }
.truststat-figure { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); font-weight: 500; letter-spacing: -0.02em; }
.truststat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 720px) {
  .truststrip { grid-template-columns: 1fr; }
  .truststat + .truststat { border-left: none; border-top: 1px solid var(--hairline); }
}

/* ---- work / case studies ---- */
.work { padding: clamp(70px, 10vh, 130px) var(--pad); }
.work-intro { color: var(--ink-soft); max-width: 52ch; font-size: 17px; margin-bottom: clamp(40px, 6vh, 70px); }
.case { border-top: 1px solid var(--hairline); padding: clamp(36px, 5vh, 56px) 0; }
.case-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.case-title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.015em; max-width: 22ch; margin-bottom: 24px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 260px); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 820px) { .case-grid { grid-template-columns: 1fr; } }
.case-body { max-width: var(--measure); font-size: 16.5px; color: var(--ink-soft); }
.case-stat { border-left: 3px solid var(--accent); padding-left: 20px; }
.case-stat-figure { display: block; font-family: var(--serif); font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.case-stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* ---- what we don't do ---- */
.dontdo { padding: clamp(60px, 9vh, 110px) var(--pad); background: var(--paper-deep); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.dontdo-list { list-style: none; margin-top: 10px; }
.dontdo-list li {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2.6vw, 32px); letter-spacing: -0.01em;
  padding: 22px 0; border-bottom: 1px solid var(--hairline);
  display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap;
}
.dontdo-list li:last-child { border-bottom: none; }
.dontdo-x { color: var(--accent); font-size: 0.9em; }
.dontdo-list em { font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--dim); font-weight: 400; }

/* ---- faq ---- */
.faq { padding: clamp(60px, 9vh, 110px) var(--pad); max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2vw, 24px);
  padding: 20px 36px 20px 0; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-family: var(--sans); font-size: 22px; font-weight: 400;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 22px; max-width: var(--measure); color: var(--ink-soft); }

/* ---- inquiry ---- */
.inquire { background: var(--ink); color: var(--paper); padding: clamp(70px, 10vh, 120px) var(--pad); }
.inquire-inner { max-width: 640px; }
.inquire-title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 54px); letter-spacing: -0.015em; margin-bottom: 12px; }
.inquire-sub { opacity: 0.7; margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; margin-bottom: 14px;
  background: transparent; border: 1px solid rgba(246, 242, 234, 0.3);
  color: var(--paper); font-family: var(--sans); font-size: 15px;
  padding: 14px 16px; border-radius: 2px; resize: vertical;
}
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: rgba(246, 242, 234, 0.45); }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--accent); }
.btn-submit {
  background: var(--accent); color: var(--paper);
  border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 14px 34px; border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-submit:hover { background: #d6502a; transform: translateY(-1px); }
.form-status { margin-top: 14px; font-size: 14px; min-height: 20px; color: rgba(246, 242, 234, 0.8); }

/* ---- footer ---- */
.footer { padding: 34px var(--pad); border-top: 1px solid var(--hairline); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: baseline; }
.footer-brand { font-family: var(--serif); font-weight: 500; }
.footer-dim { font-family: var(--sans); font-size: 13px; color: var(--dim); font-weight: 400; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.footer-nav a { color: var(--dim); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }

/* ---- webdev page ---- */
.hero-headline--small { font-size: clamp(34px, 5.5vw, 72px); max-width: 20ch; }
.webdev-includes {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px; max-width: 720px;
}
.webdev-includes li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 8px 16px; background: var(--card);
  display: flex; align-items: center; gap: 7px;
}
.webdev-includes li svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }
.speed-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; display: block; }
.panelmock-section { padding: clamp(60px, 9vh, 110px) var(--pad); background: var(--paper-deep); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.panelmock {
  max-width: 860px; background: var(--card); border: 1px solid var(--ink);
  box-shadow: 0 30px 70px -34px rgba(25, 21, 16, 0.4);
}
.panelmock-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--hairline);
}
.panelmock-chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline); }
.panelmock-chrome em { font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--dim); margin-left: 10px; }
.panelmock-body { display: grid; grid-template-columns: 150px 1fr; }
@media (max-width: 640px) { .panelmock-body { grid-template-columns: 1fr; } .panelmock-nav { flex-direction: row; flex-wrap: wrap; } }
.panelmock-nav {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px; border-right: 1px solid var(--hairline);
  font-size: 12.5px;
}
.panelmock-nav strong { font-family: var(--serif); margin-bottom: 8px; }
.panelmock-nav button {
  font: inherit; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--dim); padding: 6px 10px; border-radius: 6px;
}
.panelmock-nav button.on { color: var(--paper); background: var(--ink); font-weight: 600; }
.panelmock-nav button:not(.on):hover { color: var(--ink); background: rgba(127, 127, 127, 0.12); }

/* panel views */
.pv { display: none; }
.pv.pv-on { display: block; animation: pv-in 0.25s ease; }
@keyframes pv-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panelmock-live {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-style: normal; font-weight: 600;
  font-size: 9.5px; letter-spacing: 0.14em; color: var(--accent);
}
.panelmock-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.panelmock-subhead { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.panelmock-chart { display: flex; align-items: flex-end; gap: 8px; height: 88px; padding-top: 6px; }
.panelmock-chart i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--accent) 75%, transparent);
  transition: background 0.15s ease, transform 0.15s ease;
}
.panelmock-chart i:hover { background: var(--accent); transform: scaleY(1.04); transform-origin: bottom; }
.pill-cycle { cursor: pointer; border: none; font-weight: 600; }
.pill-cycle:hover { outline: 1px solid var(--accent); }
.panelmock-toolbar { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.panelmock-toolbar .panelmock-subhead { margin-bottom: 0; }
.panelmock-btn {
  display: inline-block; cursor: pointer; font-size: 12.5px; font-weight: 600;
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 7px 16px;
}
.panelmock-btn:hover { background: var(--accent); }
.panelmock-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.panelmock-field span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.panelmock-field input {
  font: inherit; font-size: 13.5px; padding: 9px 12px;
  border: 1px solid var(--hairline); border-radius: 6px;
  background: transparent; color: var(--ink);
}
.panelmock-field input:focus { outline: none; border-color: var(--accent); }
.pv-saved { font-size: 12.5px; color: #24823c; font-style: normal; opacity: 0; transition: opacity 0.25s ease; }
/* ---- panel demo v2: light SaaS dashboard look (self-contained palette,
        deliberately NOT themed — it's a "product screenshot" floating on the page) ---- */
.panelmock {
  max-width: 1080px;
  background: #f2f5f7;
  border: 1px solid rgba(16, 19, 24, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
.engage-card::after, .offer::after, .panelmock::after { border-radius: inherit; }
.panelmock .panelmock-chrome { background: #e9edf2; border-bottom: 1px solid rgba(16, 19, 24, 0.07); }
.panelmock .panelmock-chrome span { background: rgba(16, 19, 24, 0.18); }
.panelmock .panelmock-chrome em { color: #6b7280; }

.pm-body { display: grid; grid-template-columns: 225px 1fr; min-height: 520px; }
.pm-side {
  background: #ffffff; border-right: 1px solid rgba(16, 19, 24, 0.07);
  padding: 20px 14px; display: flex; flex-direction: column; gap: 4px;
}
.pm-brand { padding: 0 10px 16px; border-bottom: 1px solid rgba(16, 19, 24, 0.07); margin-bottom: 12px; }
.pm-brand strong { display: block; font-size: 15.5px; color: #101318; letter-spacing: -0.01em; }
.pm-brand span { font-size: 11.5px; color: #6b7280; }
.pm-nav { display: flex; flex-direction: column; gap: 3px; }
.pm-nav button, .pm-signout {
  font: inherit; font-size: 13.5px; font-weight: 500; text-align: left;
  background: none; border: none; cursor: pointer;
  color: #3f4550; padding: 9px 12px; border-radius: 9px;
  display: flex; align-items: center; gap: 10px;
}
.pm-nav button svg, .pm-signout svg { width: 16px; height: 16px; flex-shrink: 0; }
.pm-nav button.on { background: #7443e6; color: #fff; font-weight: 600; }
.pm-nav button:not(.on):hover { background: #f0f2f5; color: #101318; }
.pm-signout { margin-top: auto; color: #6b7280; border-top: 1px solid rgba(16, 19, 24, 0.07); border-radius: 0; padding-top: 14px; }
.pm-signout:hover { color: #d64545; }

.pm-main { padding: clamp(16px, 2.4vw, 28px); }
.pm-h { font-family: var(--sans); font-size: 16px; font-weight: 700; color: #101318; letter-spacing: -0.01em; margin: 0 0 12px; }
.pm-h + .pm-h, .pm-cards + .pm-h { margin-top: 22px; }
.pm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.pm-cards + .pm-h { margin-top: 22px; }
.pm-cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 66%; }
.pm-card {
  background: #fff; border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(16, 19, 24, 0.05), 0 4px 14px -8px rgba(16, 19, 24, 0.08);
}
.pm-card--wide { margin-bottom: 14px; }
.pm-row { display: flex; align-items: center; gap: 11px; }
.pm-row span { font-size: 13.5px; color: #4b5563; font-weight: 500; }
.pm-chip {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-style: normal;
}
.pm-chip svg { width: 18px; height: 18px; }
.pm-chip--mint { background: #e4f3ec; color: #199662; }
.pm-chip--lav { background: #ece5fb; color: #7443e6; }
.pm-chip--peach { background: #fdeee3; color: #e8703a; }
.pm-card b.panelmock-figure {
  display: block; margin-top: 12px;
  font-family: var(--sans); font-size: 30px; font-weight: 700; color: #101318;
  letter-spacing: -0.02em; line-height: 1;
}

.pm-table { width: 100%; border-collapse: collapse; }
.pm-table th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8a919c; padding: 6px 8px 10px; border-bottom: 1px solid #eef1f4; }
.pm-table td { font-size: 13.5px; color: #22262e; padding: 11px 8px; border-bottom: 1px solid #eef1f4; }
.pm-table tr:last-child td { border-bottom: none; }

.panelmock .panelmock-chart { height: 120px; gap: 10px; }
.panelmock .panelmock-chart i { background: #b9a2f2; border-radius: 5px 5px 0 0; }
.panelmock .panelmock-chart i:hover { background: #7443e6; }

.pm-funnel { display: flex; flex-direction: column; gap: 12px; }
.pm-frow { display: flex; align-items: center; gap: 12px; }
.pm-frow span { width: 64px; font-size: 12px; color: #6b7280; font-weight: 500; flex-shrink: 0; }
.pm-frow i { height: 24px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #7443e6, #9a77ee); transition: filter 0.15s ease; }
.pm-frow:hover i { filter: brightness(1.12); }
.pm-frow b { font-size: 13.5px; color: #101318; }

.panelmock .panelmock-btn { background: #7443e6; }
.panelmock .panelmock-btn:hover { background: #5f30cb; }
.panelmock .panelmock-toolbar { margin: 0 0 12px; }
.panelmock .panelmock-toolbar .pm-h { margin-bottom: 0; }
.panelmock .panelmock-field input { background: #fff; border: 1px solid #e3e8ee; color: #101318; }
.panelmock .panelmock-field input:focus { border-color: #7443e6; }
.panelmock .panelmock-field span { color: #8a919c; }
.pm-toast { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: #6b7280; font-style: italic; opacity: 0; transition: opacity 0.3s ease; }
.pm-toast.show { opacity: 1; }

/* panel v3: full replica structure */
.pm-main { position: relative; max-height: 640px; overflow-y: auto; }
.pm-viewhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pm-viewhead .pm-h { margin-bottom: 2px; }
.pm-sub { font-size: 12px; color: #6b7280; margin: 0; }
.pm-ranges { display: flex; gap: 3px; background: #e6eaee; border-radius: 9px; padding: 3px; }
.pm-ranges button {
  font: inherit; font-size: 12px; font-weight: 500; border: none; cursor: pointer;
  background: none; color: #4b5563; padding: 6px 11px; border-radius: 7px;
}
.pm-ranges button.on { background: #7443e6; color: #fff; font-weight: 600; }
.pm-cards--4 { grid-template-columns: repeat(4, 1fr); }
.pm-cards--full { max-width: none; margin-top: 13px; }
.pm-cards + .pm-cols, .pm-cards + .pm-cards { margin-top: 13px; }
.pm-kpi .pm-kpi-l { font-size: 12px; color: #6b7280; font-weight: 500; display: block; }
.pm-kpi b { display: block; margin-top: 8px; font-size: 26px; font-weight: 700; color: #101318; letter-spacing: -0.02em; line-height: 1; }
.pm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.pm-cols--3 { grid-template-columns: repeat(3, 1fr); }
.pm-cols .pm-card--wide { margin-bottom: 0; }
.pm-card h6 { font-size: 13px; font-weight: 700; color: #101318; margin: 0 0 12px; }
.pm-list { display: flex; flex-direction: column; gap: 9px; }
.pm-li { display: flex; justify-content: space-between; font-size: 12.5px; color: #374151; }
.pm-li b { color: #101318; }
.pm-bar-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 12.5px; color: #374151; margin-bottom: 9px; }
.pm-bar-row em { font-style: normal; color: #6b7280; }
.pm-bar { grid-column: 1 / -1; height: 7px; background: #eef1f4; border-radius: 99px; overflow: hidden; }
.pm-bar i { display: block; height: 100%; width: var(--w); background: #7443e6; border-radius: 99px; }
.pm-bar--mint i { background: #199662; }
.pm-bar--peach i { background: #e8a23a; }
.pm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
.pm-tile { background: #f4f6f8; border-radius: 11px; padding: 14px; text-align: center; }
.pm-tile b { display: block; font-size: 21px; font-weight: 700; color: #101318; }
.pm-tile span { font-size: 11.5px; color: #6b7280; }
.pm-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pm-tool { background: #f4f6f8; border-radius: 11px; padding: 18px 12px; text-align: center; cursor: pointer; transition: background 0.15s ease; display: flex; flex-direction: column; gap: 3px; }
.pm-tool:hover { background: #ece5fb; }
.pm-tool b { font-size: 13px; color: #101318; }
.pm-tool span { font-size: 11px; color: #6b7280; }
.pm-filterbar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 9px; margin-bottom: 13px; }
.pm-filterbar input, .pm-filterbar select {
  font: inherit; font-size: 12.5px; color: #374151;
  background: #fff; border: 1px solid #e3e8ee; border-radius: 9px; padding: 8px 11px;
}
.pm-filterbar input:focus, .pm-filterbar select:focus { outline: none; border-color: #7443e6; }
.pm-card--table { padding: 6px 18px 0; }
.pm-lead { cursor: pointer; }
.pm-lead:hover td { background: #f7f5fd; }
.pm-pager { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 12px; color: #6b7280; border-top: 1px solid #eef1f4; }
.pm-pager-btns button { font: inherit; font-size: 15px; background: #fff; border: 1px solid #e3e8ee; border-radius: 7px; padding: 2px 10px; cursor: pointer; color: #4b5563; margin-left: 6px; }
.pm-pager-btns button:hover { border-color: #7443e6; color: #7443e6; }
.pm-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86%);
  background: #fff; border-left: 1px solid #e3e8ee; box-shadow: -16px 0 40px -20px rgba(16, 19, 24, 0.25);
  z-index: 5; display: flex; flex-direction: column;
  animation: drawer-in 0.22s ease;
}
.pm-drawer[hidden] { display: none; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.pm-lead.pm-lead--sel td { background: #f3eefe; }
.pm-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eef1f4; }
.pm-drawer-head h6 { margin: 0; }
.pm-drawer-x { font: inherit; font-size: 20px; line-height: 1; background: none; border: none; cursor: pointer; color: #6b7280; }
.pm-drawer-x:hover { color: #101318; }
.pm-drawer-body { padding: 16px; font-size: 13px; color: #374151; overflow-y: auto; }
.pm-drawer-body dl { margin: 0; }
.pm-drawer-body dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.07em; color: #8a919c; margin-top: 12px; }
.pm-drawer-body dd { margin: 2px 0 0; color: #101318; font-weight: 500; }
.pm-fstep { margin-bottom: 16px; }
.pm-fmeta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; color: #22262e; font-weight: 500; }
.pm-fmeta b { font-size: 16px; }
.pm-drop { font-style: normal; font-size: 10.5px; font-weight: 600; color: #d64545; background: #fdecec; border-radius: 99px; padding: 2px 8px; margin-left: 8px; }
.pm-fbar { height: 34px; background: #eef1f4; border-radius: 9px; overflow: hidden; }
.pm-fbar i { display: block; height: 100%; width: var(--w); border-radius: 9px; background: linear-gradient(90deg, #7443e6, #9a77ee); }
.pm-fsummary { margin-top: 20px !important; padding-top: 16px; border-top: 1px solid #eef1f4; }
.pm-tabs { display: flex; gap: 4px; margin-bottom: 13px; background: #e6eaee; border-radius: 9px; padding: 3px; width: fit-content; }
.pm-tabs button { font: inherit; font-size: 12.5px; font-weight: 500; border: none; cursor: pointer; background: none; color: #4b5563; padding: 7px 14px; border-radius: 7px; }
.pm-tabs button.on { background: #fff; color: #101318; font-weight: 600; box-shadow: 0 1px 3px rgba(16, 19, 24, 0.08); }
.panelmock-btn--ghost { background: #fff; color: #4b5563; border: 1px solid #e3e8ee; }
.panelmock-btn--ghost:hover { background: #fff; border-color: #7443e6; color: #7443e6; }
.pm-link { color: #7443e6; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.pm-link:hover { text-decoration: underline; }
.pm-link--dim { color: #199662; }
.pm-rowactions { display: flex; gap: 12px; }
@media (max-width: 760px) {
  .pm-main { max-height: none; }
  .pm-cards--4, .pm-cols, .pm-cols--3, .pm-tools { grid-template-columns: 1fr; }
  .pm-filterbar { grid-template-columns: 1fr 1fr; }
  /* let wide tables scroll sideways instead of getting clipped by the panel */
  .pm-card--table, .pm-card--wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pm-table { min-width: 440px; }
}

@media (max-width: 760px) {
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { flex-direction: row; flex-wrap: wrap; align-items: center; border-right: none; border-bottom: 1px solid rgba(16, 19, 24, 0.07); }
  .pm-brand { padding: 0 10px 0 0; border-bottom: none; margin-bottom: 0; }
  .pm-nav { flex-direction: row; flex-wrap: wrap; }
  .pm-signout { margin-top: 0; margin-left: auto; border-top: none; padding-top: 9px; }
  .pm-cards { grid-template-columns: 1fr; }
  .pm-cards--2 { grid-template-columns: 1fr; max-width: none; }
}
.panelmock-main { padding: 18px; }
.panelmock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
@media (max-width: 640px) { .panelmock-cards { grid-template-columns: 1fr; } }
.panelmock-card { border: 1px solid var(--hairline); padding: 12px 14px; display: flex; flex-direction: column; }
.panelmock-figure { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.panelmock-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.panelmock-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.panelmock-table th { text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding: 6px 8px; border-bottom: 1px solid var(--hairline); }
.panelmock-table td { padding: 8px; border-bottom: 1px solid var(--hairline); }
.pill { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px; }
.pill-new { background: rgba(194, 69, 30, 0.12); color: var(--accent); }
.pill-ok { background: rgba(36, 130, 60, 0.12); color: #24823c; }
.pill-done { background: rgba(25, 21, 16, 0.08); color: var(--ink-soft); }
.case--single { border-top: none; }
.speed-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 900px) { .speed-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .speed-cards { grid-template-columns: 1fr; } }
.speed-card { border: 1px solid var(--ink); padding: 24px; }
.speed-figure { display: block; font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); font-weight: 500; margin-bottom: 10px; color: var(--accent); }
.speed-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---- blog ---- */
.bloglist { padding: 0 var(--pad) clamp(70px, 10vh, 120px); max-width: 860px; }
.bloglist-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 0; border-top: 1px solid var(--hairline);
  text-decoration: none;
}
.bloglist-date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--dim); }
.bloglist-title { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.01em; }
.bloglist-item:hover .bloglist-title { color: var(--accent); }
.bloglist-desc { color: var(--ink-soft); font-size: 15px; max-width: 60ch; }
.bloglist-empty { color: var(--dim); padding: 30px 0; }
.post { padding: clamp(50px, 8vh, 90px) var(--pad) clamp(70px, 10vh, 120px); max-width: 820px; }
.post-body { margin-top: 36px; }
.post-body p { max-width: var(--measure); font-size: 17px; margin-bottom: 20px; color: var(--ink-soft); }
.post-back { display: inline-block; margin-top: 30px; font-size: 14px; color: var(--dim); text-decoration: none; }
.post-back:hover { color: var(--accent); }

/* rich post body: headings, links, lists, tables, figures */
.post-standfirst { margin-top: 18px; max-width: var(--measure); font-size: 19px; line-height: 1.5; color: var(--dim); }
.post-body h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(23px, 2.8vw, 30px); line-height: 1.2;
  margin: 52px 0 16px; scroll-margin-top: 90px;
}
.post-body h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(19px, 2.1vw, 22px); line-height: 1.3;
  margin: 34px 0 12px; scroll-margin-top: 90px;
}
.post-body h4 { font-size: 16px; font-weight: 600; margin: 26px 0 10px; letter-spacing: 0.01em; }
.post-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--accent); }
.post-body a:hover { color: var(--accent); }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body code { font-family: var(--mono); font-size: 0.88em; background: rgba(128,128,128,0.12); padding: 1px 5px; border-radius: 4px; }
.post-list { max-width: var(--measure); margin: 0 0 22px; padding-left: 22px; color: var(--ink-soft); font-size: 17px; }
.post-list li { margin-bottom: 9px; padding-left: 4px; }
.post-body blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent);
  max-width: var(--measure);
}
.post-body blockquote p { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ink); margin-bottom: 0; }
.post-rule { border: 0; border-top: 1px solid var(--hairline); margin: 44px 0; }

.post-table-wrap { margin: 28px 0 30px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post-table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 15px; }
.post-table th, .post-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--hairline); }
.post-table th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); font-weight: 400; border-bottom-color: var(--ink-soft);
}
.post-table td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.post-table tbody tr:last-child td { border-bottom: 0; }

.post-figure { margin: 34px 0; }
.post-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.post-figure figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--dim); max-width: var(--measure); }
.post-figure--hero { margin: 30px 0 8px; }

.post-toc { margin: 34px 0 0; padding: 20px 24px; border: 1px solid var(--hairline); border-radius: 8px; max-width: var(--measure); }
.post-toc__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
/* headings may carry their own numbering, so the TOC never adds its own */
.post-toc ul { margin: 0; padding-left: 0; list-style: none; }
.post-toc li { margin-bottom: 7px; font-size: 15px; }
.post-toc a { color: var(--ink-soft); text-decoration: none; }
.post-toc a:hover { color: var(--accent); }

/* ---- city + legal + contact pages ---- */
.city-body p { max-width: var(--measure); font-size: 17px; color: var(--ink-soft); margin-bottom: 20px; }
.contact-office { margin-top: 26px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.legal-updated {
  display: inline-block; margin-top: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--hairline); border-radius: 999px; padding: 7px 16px;
}
.legal-body { padding: 0 var(--pad) clamp(40px, 6vh, 70px); max-width: 800px; counter-reset: legal; }
.legal-body > p:first-child { font-size: 18px; color: var(--ink-soft); max-width: 58ch; }
.legal-body h2 {
  counter-increment: legal;
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 16px;
}
.legal-body h2::before {
  content: "0" counter(legal);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent); flex-shrink: 0;
}
.legal-body p { color: var(--ink-soft); margin-bottom: 12px; max-width: 62ch; }
.legal-cta { padding: 0 var(--pad) clamp(70px, 10vh, 120px); }
.legal-cta p { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; }
.legal-cta a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---- fine print strip (webdev LP: business identity for ad compliance) ---- */
.fineprint { padding: clamp(40px, 6vh, 64px) var(--pad); border-top: 1px solid var(--hairline); }
.fineprint-title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 10px; }
.fineprint p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 18px; }
.fineprint-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fineprint-links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 9px 18px;
}
.fineprint-links a:hover { border-color: var(--accent); color: var(--accent); }
.footer-cities {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid var(--hairline);
  font-size: 12.5px;
}
.footer-cities span { color: var(--dim); }
.footer-cities a { color: var(--dim); text-decoration: none; }
.footer-cities a:hover { color: var(--ink); }

/* ---- floating buttons ---- */
.floats { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 100; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(25, 21, 16, 0.45);
  transition: transform 0.15s ease;
}
.float-btn:hover { transform: translateY(-2px) scale(1.05); }
.float-wa { background: #24b358; color: #fff; }
.float-mail { background: var(--ink); color: var(--paper); }
.float-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }

/* ---- inquiry callout bubble (points at the floats) ---- */
.float-callout {
  position: fixed; right: 84px; bottom: 34px; z-index: 101;
  display: flex; align-items: center; gap: 10px;
  background: var(--accent); color: #131110;
  font-size: 13.5px; font-weight: 600;
  padding: 12px 14px 12px 18px; border-radius: 12px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5);
  animation: callout-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: min(300px, calc(100vw - 110px));
}
.float-callout[hidden] { display: none; }
.float-callout::after {
  content: ""; position: absolute; right: -7px; bottom: 20px;
  border: 7px solid transparent; border-left-color: var(--accent); border-right: none;
}
.float-callout button {
  font: inherit; font-size: 17px; line-height: 1; font-weight: 400;
  background: none; border: none; cursor: pointer; color: rgba(19, 17, 16, 0.6); padding: 0;
}
.float-callout button:hover { color: #131110; }
@keyframes callout-in { from { opacity: 0; transform: translateX(14px) scale(0.94); } to { opacity: 1; transform: none; } }

/* ---- footer socials ---- */
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--dim);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---- limited-period offer bar (homepage, very top) ---- */
.offerbar {
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
  border-bottom: 1px solid var(--hairline);
  padding: 11px var(--pad);
}
.offerbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 26px; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto;
}
.offerbar-copy {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-soft); margin: 0;
}
.offerbar-copy strong { color: var(--accent); font-weight: 600; }
.offerbar-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--paper); padding: 4px 11px; border-radius: 999px; font-weight: 600;
}
.offerbar-link {
  font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.offerbar-link:hover { border-bottom-color: var(--accent); }
@media (max-width: 640px) {
  .offerbar-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- "Make an enquiry" button pair (webdev hero + offer bar) ---- */
.enquiry-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.enquiry-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  padding: 12px 20px; border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.enquiry-btn svg { flex-shrink: 0; }
.enquiry-btn:hover { transform: translateY(-1px); }
.enquiry-btn--wa { background: #24b358; color: #fff; }
.enquiry-btn--wa:hover { background: #1fa04e; }
.enquiry-btn--mail { background: var(--ink); color: var(--paper); }
.enquiry-btn--mail:hover { background: var(--accent); color: var(--paper); }

/* webdev hero: enquiry block + rolling-offer flag */
.webdev-enquire { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.offer-flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--dim); margin: 0;
}
.offer-flag strong { color: var(--accent); font-weight: 600; }
.offer-flag-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: live-pulse 1.6s ease-in-out infinite; flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) { .offer-flag-dot { animation: none; } }

/* ---- panel demo: "best on desktop" hint (mobile only) ---- */
.panel-hint {
  display: none;
  margin: 18px 0 34px; max-width: 52ch;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; line-height: 1.55;
  color: var(--ink-soft); border-left: 2px solid var(--accent); padding-left: 12px;
}
@media (max-width: 760px) { .panel-hint { display: block; } }

/* ---- panel demo: dismissible "live demo" sticker ---- */
.pm-demobadge {
  position: absolute; right: 14px; bottom: 14px; z-index: 8;
  display: flex; align-items: center; gap: 10px;
  background: #101318; color: #fff;
  font-size: 12.5px; line-height: 1.4;
  padding: 10px 12px 10px 14px; border-radius: 12px;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.55);
  max-width: min(300px, calc(100% - 28px));
  animation: demobadge-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s both;
}
.pm-demobadge strong { color: #ff7a4d; }
.pm-demobadge-x {
  font: inherit; font-size: 18px; line-height: 1; flex-shrink: 0;
  background: none; border: none; cursor: pointer; color: rgba(255, 255, 255, 0.6); padding: 0;
}
.pm-demobadge-x:hover { color: #fff; }
.pm-demobadge--gone { display: none; }
@keyframes demobadge-in { from { opacity: 0; transform: translateY(10px) scale(0.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pm-demobadge { animation: none; } }
@media (max-width: 560px) { .pm-demobadge { right: 10px; bottom: 10px; font-size: 11.5px; } }

/* ---- "Make an inquiry" email CTA under the founder letter ---- */
.inquire-alt {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 26px; flex-wrap: wrap;
  width: 100%; max-width: 680px;
}
.inquire-alt > span { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-soft); }
.inquire-alt .btn-mailcta {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; background: transparent; color: var(--ink);
  border: 1px solid var(--hairline);
}
.inquire-alt .btn-mailcta:hover { background: var(--accent); border-color: var(--accent); color: #131110; transform: translateY(-1px); }

/* ============================================================
   Service hub pages (/amazon-marketing-agency etc.)
   ============================================================ */

/* ---- the illustrative math block ---- */
.svc-math-wrap { padding: 0 var(--pad) clamp(50px, 8vh, 90px); }
.svc-math {
  max-width: 760px; border: 1px solid var(--hairline);
  padding: clamp(26px, 4vw, 44px);
  background: var(--paper-deep);
}
.svc-math .kicker { margin-bottom: 22px; }
.svc-math-rows { display: grid; gap: 0; }
.svc-math-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--hairline);
}
.svc-math-row:last-child { border-bottom: 0; }
.svc-math-row dt { color: var(--ink-soft); font-size: 15.5px; }
.svc-math-row dd {
  font-family: var(--serif); font-size: clamp(17px, 2vw, 21px);
  text-align: right; letter-spacing: -0.01em;
}
.svc-math-row:last-child dd { color: var(--accent); }
.svc-math-note {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline);
  font-size: 14px; color: var(--dim); max-width: 56ch;
}

/* ---- service page: scannable breakdown cards (replaces prose wall) ---- */
.svc-points-wrap { padding: 0 var(--pad) clamp(50px, 8vh, 90px); }
.svc-points-wrap .offer-grid { border: 1px solid var(--ink); border-top: 1px solid var(--hairline); }

/* ---- what we do / what we do not do ---- */
.svc-lists-wrap { padding-top: 0; }
.svc-lists { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); }
.svc-list .kicker { margin-bottom: 20px; }
.svc-list-items { list-style: none; }
.svc-list-items li {
  position: relative; padding: 0 0 15px 26px; margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px; color: var(--ink-soft);
}
.svc-list-items li:last-child { border-bottom: 0; }
.svc-list-items li::before {
  content: "+"; position: absolute; left: 0; top: -1px;
  font-family: var(--mono); color: var(--accent); font-size: 15px;
}
.svc-list--dont .svc-list-items li::before { content: "\2212"; color: var(--dim); }

/* ---- cross-links to the other service hubs ---- */
.svc-alsowrap { padding-top: 0; }
.svc-also { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.svc-alsocard {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--hairline); padding: 24px; text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.svc-alsocard:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-alsocard-kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dim);
}
.svc-alsocard-title {
  font-family: var(--serif); font-size: clamp(17px, 2vw, 21px);
  line-height: 1.3; letter-spacing: -0.01em;
}

@media (max-width: 780px) {
  .svc-lists { grid-template-columns: 1fr; }
  .svc-also { grid-template-columns: 1fr; }
  .svc-math-row { flex-direction: column; gap: 4px; }
  .svc-math-row dd { text-align: left; }
}

/* ---- service page: work head + cases + arithmetic (rebuilt 2026-08-31) ---- */
.svc-workhead { padding-bottom: clamp(28px, 4vh, 48px); }
.svc-workhead .work-intro { margin-bottom: 0; }
.svc-caseswrap { padding-top: clamp(20px, 3vh, 36px); }
.svc-caseswrap .case-body .svc-math-rows { margin-top: 2px; }
.svc-caseswrap .case-body .svc-math-note { margin-top: 18px; }

/* ---- PAA answer pages (2026-08-31) ----
   The answer is the first thing on the page and is styled to look like the
   answer, not like an intro paragraph. Everything below is for the reader who
   wants the substance. */
.ans-head { padding: clamp(48px, 8vh, 96px) var(--pad) clamp(24px, 4vh, 40px); }
.ans-head .kicker a { color: inherit; border-bottom: 1px solid var(--hairline); }
.ans-head .kicker a:hover { border-bottom-color: var(--accent); }
.ans-head .hero-headline { max-width: 24ch; margin-bottom: clamp(28px, 4vh, 44px); }
.ans-answer {
  border-left: 3px solid var(--accent);
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 32px);
  background: var(--paper-deep);
  max-width: 74ch;
}
.ans-answer-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.ans-answer-body { font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.62; color: var(--ink); }

.ans-body { padding: clamp(30px, 5vh, 56px) var(--pad) clamp(40px, 6vh, 70px); }
.ans-section { max-width: 68ch; margin-bottom: clamp(30px, 4.5vh, 48px); }
.ans-section h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(21px, 2.3vw, 29px); letter-spacing: -0.012em;
  margin-bottom: 14px; max-width: 26ch;
}
.ans-section p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 13px; }
.ans-section p:last-child { margin-bottom: 0; }

.ans-table-wrap { max-width: 74ch; margin: clamp(28px, 4vh, 44px) 0 0; }
.ans-table-caption {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 12px;
}
.ans-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ans-table { width: 100%; border-collapse: collapse; min-width: 340px; }
.ans-table th, .ans-table td {
  text-align: left; padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--hairline); font-size: 15px;
}
.ans-table th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.ans-table td { color: var(--ink-soft); }
.ans-table td:last-child { color: var(--ink); }
.ans-table-note { font-size: 13.5px; color: var(--dim); margin-top: 14px; max-width: 62ch; }

.ans-cta {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
  justify-content: space-between;
  padding: clamp(26px, 4vh, 40px) var(--pad);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: var(--paper-deep);
}
.ans-cta-copy { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); max-width: 40ch; }

.ans-related { padding-bottom: clamp(40px, 6vh, 70px); }
.ans-more-kicker { margin-top: clamp(32px, 5vh, 52px); }
.ans-more { list-style: none; margin-top: 18px; max-width: 68ch; }
.ans-more li { border-bottom: 1px solid var(--hairline); }
.ans-more li a { display: block; padding: 14px 0; font-size: 16px; color: var(--ink-soft); }
.ans-more li a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .ans-cta { flex-direction: column; align-items: flex-start; }
}
.svc-answerswrap { padding-top: 0; }
.svc-answerswrap .ans-more { margin-top: 26px; }
