/* =========================================================
   Johnny Hotdog Web Co.
   ========================================================= */

:root {
  --ink: #111110;
  --ink-2: #1b1a18;
  --ink-3: #2a2825;
  --paper: #fafaf7;
  --tint: #f2f0ea;
  --white: #ffffff;
  --accent: #f2b705;
  --accent-deep: #d69f00;
  --red: #c8402a;
  --text: #161614;
  --muted: #5f5c55;
  --muted-dark: #a8a49b;
  --line: rgba(17, 17, 16, 0.10);
  --line-strong: rgba(17, 17, 16, 0.18);
  --line-dark: rgba(255, 255, 255, 0.10);

  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(17,17,16,.06), 0 2px 8px rgba(17,17,16,.04);
  --shadow: 0 1px 2px rgba(17,17,16,.05), 0 24px 48px -20px rgba(17,17,16,.28);
  --shadow-lg: 0 2px 4px rgba(17,17,16,.06), 0 40px 80px -30px rgba(17,17,16,.40);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.025em; line-height: 1.05; overflow-wrap: break-word; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--white);
  font: 600 15px/1 var(--sans);
  padding: 15px 24px; border-radius: 999px; border: 1px solid var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(17,17,16,.45); }
.btn:active { transform: none; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #ffc414; box-shadow: 0 10px 24px -10px rgba(214,159,0,.8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand__name { font: 800 19px/1 var(--display); letter-spacing: -0.02em; }
.brand__sub {
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 8px;
}

.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav__menu a:not(.btn):hover, .nav__menu a:not(.btn)[aria-current="page"] { color: var(--ink); }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--sans); color: var(--muted);
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 14px 8px 12px; border-radius: 999px; margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 4px rgba(47,179,107,.15); }
.kicker {
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .kicker { color: var(--muted-dark); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 104px; position: relative; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(600px 360px at 78% 30%, rgba(242,183,5,.16), transparent 70%),
    radial-gradient(500px 300px at 12% 0%, rgba(200,64,42,.06), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 24px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 34ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__note { font-size: 15px; color: var(--muted); margin: 0; }
.hero__note strong { color: var(--ink); }

.hero__visual { position: relative; aspect-ratio: 1.12 / 1; }
.frame {
  position: absolute; margin: 0; background: var(--white);
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.frame--back { width: 78%; top: 0; right: 0; opacity: .9; transform: translateY(0); }
.frame--front { width: 84%; left: 0; bottom: 6%; }
.frame__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  background: #f4f3ef; border-bottom: 1px solid var(--line);
}
.frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d9d6ce; }
.frame__bar em {
  font: 500 11px/1 var(--mono); font-style: normal; color: var(--muted);
  margin-left: 8px; background: var(--white); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 6px; flex: 1; max-width: 240px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* screenshot boxes (hero + work) */
.frame__shot, .project__shot {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, #ecebe6, #f7f6f2);
}
.frame__shot::before, .project__shot::before {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 500 13px/1 var(--mono); color: var(--muted);
}
.frame__shot img, .project__shot img {
  position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; transition: opacity .5s ease;
}
.frame__shot img.is-loaded, .project__shot img.is-loaded { opacity: 1; }
.no-js .frame__shot img, .no-js .project__shot img { opacity: 1; }

.frame--front { animation: rise .9s .15s cubic-bezier(.2,.8,.2,1) both; }
.frame--back { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.toast {
  position: absolute; right: 4%; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 12px 18px 12px 12px; border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.3;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.toast.is-in { opacity: 1; transform: none; }
.toast strong { display: block; font-weight: 600; color: var(--ink); }
.toast em { font-style: normal; color: var(--muted); }
.toast__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; flex: none; }
.toast__icon svg { width: 16px; height: 16px; fill: var(--accent); }

/* ---------- Strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding-top: 20px; padding-bottom: 20px;
  font: 500 14px/1.3 var(--sans); color: var(--muted);
}
.strip__inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip__inner span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23111110' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 16px; }
.section__lede { font-size: 19px; color: var(--muted); margin: 0; }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.project__shot { border-bottom: 1px solid var(--line); }
.project__shot img { transition: opacity .5s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.project:hover .project__shot img { transform: scale(1.03); }
.project__info { padding: 22px 26px 26px; }
.project__type { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.project h3 { font-size: 23px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.project:not(.project--cta) h3::after {
  content: "↗"; font: 500 16px/1 var(--sans); color: var(--muted);
  transition: transform .2s, color .2s;
}
.project:hover h3::after { transform: translate(2px,-2px); color: var(--ink); }
.project p { font-size: 15.5px; color: var(--muted); margin: 0; }

.project--cta {
  background: var(--ink); color: var(--white); border-color: var(--ink);
  padding: 36px; justify-content: space-between; gap: 28px; min-height: 280px;
  background-image: radial-gradient(420px 260px at 90% 0%, rgba(242,183,5,.22), transparent 70%);
}
.project--cta h3 { font-size: 34px; font-weight: 800; }
.project--cta p { color: var(--muted-dark); max-width: 36ch; }
.project--cta .project__type { color: var(--accent); }
.project--cta .btn { align-self: flex-start; background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 26px;
}
.tier h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.tier__for { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.tier__price {
  font: 800 46px/1 var(--display); letter-spacing: -0.04em; margin-bottom: 24px;
  display: flex; align-items: flex-start; gap: 2px; flex-wrap: wrap;
}
.tier__price span { font-size: 24px; margin-top: 5px; }
.tier__price small { width: 100%; font: 500 13px/1 var(--sans); letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.tier ul { list-style: none; padding: 22px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.tier li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23111110' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.tier--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.tier--featured li::before { background-color: rgba(242,183,5,.35); }
.tier__badge {
  position: absolute; top: -13px; left: 26px; margin: 0;
  background: var(--accent); color: var(--ink); font: 600 12px/1 var(--sans);
  padding: 7px 12px; border-radius: 999px;
}
.tier--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier--dark .tier__for, .tier--dark .tier__price small { color: var(--muted-dark); }
.tier--dark ul { border-top-color: var(--line-dark); }
.tier--dark li { color: #dcd8cf; }
.tier--dark li::before {
  background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23f2b705' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.tier strong { font-weight: 600; }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.extras__col { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 24px; }
.extras h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 12px 0; border-bottom: 1px dashed var(--line-strong); font-size: 15px;
}
.price-list li:last-child { border-bottom: 0; }
.price-list b { font-weight: 600; white-space: nowrap; }
.price-list small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.4; }
.extras__note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

.caveat {
  margin: 28px 0 0; padding: 20px 24px; border-radius: 14px;
  background: rgba(242,183,5,.12); border: 1px solid rgba(214,159,0,.3);
  font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 900px;
}
.caveat strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; }
.step__num { display: inline-block; font: 500 13px/1 var(--mono); color: var(--accent-deep); margin-bottom: 40px; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.est__builder { display: grid; gap: 18px; }
.est__step { margin: 0; border: 1px solid var(--line); background: var(--white); border-radius: 20px; padding: 26px; min-width: 0; }
.est__step legend {
  float: left; width: 100%; padding: 0; margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 12px;
  font: 700 19px/1.2 var(--display); letter-spacing: -0.02em;
}
.est__step legend span { font: 500 12px/1 var(--mono); color: var(--accent-deep); }
.est__step legend .opt { font: 400 14px/1 var(--sans); font-style: normal; color: var(--muted); letter-spacing: 0; }
.est__step legend + * { clear: both; }

.est__pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.est__pkg { cursor: pointer; position: relative; }
.est__pkg input, .est__addon input { position: absolute; opacity: 0; pointer-events: none; }
.est__pkg > span {
  display: grid; gap: 4px; height: 100%;
  padding: 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--paper);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.est__pkg b { font: 700 17px/1.2 var(--display); }
.est__pkg em { font-style: normal; font-size: 13px; color: var(--muted); }
.est__pkg strong { font-size: 15px; font-weight: 600; margin-top: 6px; }
.est__pkg:hover > span { border-color: var(--ink); }
.est__pkg input:checked + span { border: 2px solid var(--ink); padding: 15px; background: var(--white); box-shadow: var(--shadow-sm); }
.est__pkg input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

.est__addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est__addon {
  position: relative; cursor: pointer;
  display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--paper);
  transition: border-color .15s, background .15s;
}
.est__addon::before {
  content: ""; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--white); margin-top: 1px;
  transition: all .15s;
}
.est__addon:has(input:checked) { border-color: var(--ink); background: var(--white); }
.est__addon:has(input:checked)::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6 5.4-5.6' fill='none' stroke='%23f2b705' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--ink);
}
.est__addon.is-on::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6 5.4-5.6' fill='none' stroke='%23f2b705' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--ink);
}
.est__addon.is-on { border-color: var(--ink); background: var(--white); }
.est__addon:hover { border-color: var(--ink); }
.est__addon:has(input:focus-visible) { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.est__addon b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.est__addon em { display: block; font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.est__addon > strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.est__addon[hidden] { display: none !important; }

.est__counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tint);
}
.est__counter b { display: block; font-size: 14.5px; font-weight: 600; }
.est__counter em { font-style: normal; font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; flex: none; }
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tint); cursor: pointer;
  font: 600 20px/1 var(--sans); color: var(--ink); transition: background .15s;
}
.stepper button:hover { background: var(--accent); }
.stepper output { min-width: 32px; text-align: center; font-weight: 600; font-size: 16px; }

.est__total {
  position: sticky; top: 92px;
  background: var(--ink); color: var(--white); border-radius: 22px; padding: 30px 28px 26px;
  background-image: radial-gradient(360px 220px at 100% 0%, rgba(242,183,5,.22), transparent 70%);
  box-shadow: var(--shadow-lg);
}
.est__label { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 14px; }
.est__price { font: 800 54px/1 var(--display); letter-spacing: -0.045em; margin: 0 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.est__price small { font: 500 15px/1 var(--sans); letter-spacing: 0; color: var(--muted-dark); }
.est__monthly { color: var(--accent); font-weight: 600; font-size: 15px; margin: 0; }
.est__lines { list-style: none; margin: 20px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; }
.est__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #d6d2c9; }
.est__lines li span:last-child { white-space: nowrap; color: var(--white); }
.est__fine { font-size: 13px; color: var(--muted-dark); line-height: 1.5; margin: 14px 0 0; }

/* ---------- Brand logo, signature, mascot ---------- */
.brand__logo {
  width: 40px; height: 40px; border-radius: 12px; object-fit: contain;
  background: var(--white); border: 1px solid var(--line); padding: 2px;
}
.brand__logo--sm { width: 34px; height: 34px; border-radius: 10px; }
.signature {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 30px;
  padding: 8px 18px 8px 8px; border-radius: 999px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.signature:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.signature img { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; background: var(--tint); }
.signature strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.signature em { display: block; font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.3; }
.badge-mascot { width: 200px; height: 200px; object-fit: contain; margin: 0 auto 20px; }
.cta-band__mascot { width: 120px; height: 120px; object-fit: contain; flex: none; }
.cta-band__text { flex: 1; min-width: 240px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.about__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; padding-bottom: 28px; }
.photo { margin: 0; border-radius: 18px; overflow: hidden; position: relative; background: var(--ink-3); aspect-ratio: 3 / 4; }
.photo--then { transform: translateY(-28px); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .04em; color: var(--white);
  background: rgba(17,17,16,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 8px 10px; border-radius: 10px;
}
.photo--then img { filter: grayscale(1) contrast(1.05); }
.about__mascot {
  position: absolute; right: -18px; bottom: -6px; width: 120px; height: 120px; object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.45));
}
.about__copy p { font-size: 18px; color: #d6d2c9; }
.about__aside { font-size: 15px !important; color: var(--muted-dark) !important; margin: 0; }
.about__aside a { color: var(--accent); text-underline-offset: 3px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 64px 0 0; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 20px; overflow: hidden; }
.stats div { background: var(--ink-2); padding: 30px 26px; }
.stats dt { font: 800 52px/1 var(--display); letter-spacing: -0.04em; color: var(--white); margin-bottom: 10px; }
.stats div:last-child dt { color: var(--accent); }
.stats dd { margin: 0; font-size: 14.5px; color: var(--muted-dark); line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: 104px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23111110' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 112px; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--ink); color: var(--white); border-radius: 24px; padding: 48px 52px;
  background-image: radial-gradient(500px 300px at 100% 0%, rgba(242,183,5,.22), transparent 70%);
}
.cta-band h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 8px; }
.cta-band p { color: var(--muted-dark); margin: 0; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--muted); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { border-radius: 8px; }
.footer__brand strong { display: block; color: var(--ink); font: 700 16px/1.2 var(--display); }
.footer__brand span { font-size: 14px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--ink); }
.footer__fine { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Contact / project brief page
   ========================================================= */
.page-head { padding: 72px 0 40px; position: relative; overflow-x: clip; }
.page-head::before {
  content: ""; position: absolute; inset: -200px 0 auto; height: 600px; z-index: -1;
  background: radial-gradient(600px 340px at 85% 20%, rgba(242,183,5,.16), transparent 70%);
}
.page-head h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.page-head .lede { max-width: 52ch; }

.brief { display: grid; grid-template-columns: 1.45fr .85fr; gap: 40px; align-items: start; padding-bottom: 112px; }
.form {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px; box-shadow: var(--shadow);
  display: grid; gap: 30px;
}
.form__group { display: grid; gap: 16px; }
.form__group-title { display: flex; align-items: baseline; gap: 12px; font: 700 18px/1.2 var(--display); letter-spacing: -0.02em; margin: 0; }
.form__group-title span { font: 500 12px/1 var(--mono); color: var(--accent-deep); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.form label > input, .form label > select, .form label > textarea, .form .label > .segmented { display: block; margin-top: 7px; }
.form .label > .segmented { display: flex; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.form textarea, .form select {
  font: 400 16px/1.45 var(--sans); color: var(--text);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 13px 15px; width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235f5c55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(242,183,5,.28);
}
.form textarea { resize: vertical; }
.form .ramble { min-height: 320px; line-height: 1.6; }
.ramble-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: -6px; }
.ramble-meta .saved { color: #2f8f5b; opacity: 0; transition: opacity .3s; }
.ramble-meta .saved.is-on { opacity: 1; }
.tip {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--tint); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-3); line-height: 1.5;
}
.tip svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { display: inline-flex !important; cursor: pointer; font-weight: 500 !important; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white);
  font-size: 14px; transition: all .15s; user-select: none;
}
.segmented label:hover span { border-color: var(--ink); }
.segmented input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

.file {
  display: grid; gap: 7px; font-size: 14px; font-weight: 600;
}
.file input[type="file"] {
  font: 400 14px/1.4 var(--sans); color: var(--muted);
  padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--paper); width: 100%;
}
.file input[type="file"]::file-selector-button {
  font: 600 13px/1 var(--sans); background: var(--ink); color: var(--white); border: 0; border-radius: 999px;
  padding: 9px 14px; margin-right: 12px; cursor: pointer;
}
.field-note { font-size: 13px; font-weight: 400; color: var(--muted); }
.field-note.is-error { color: var(--red); }
.hp { position: absolute; left: -9999px; }
.form__submit { display: grid; gap: 12px; }
.form__submit p { font-size: 13.5px; color: var(--muted); margin: 0; text-align: center; }

.brief__aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.aside-card h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.aside-card > p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.checklist li::before {
  content: counter(c); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--tint); font: 500 11px/1 var(--mono); color: var(--ink);
}
.checklist b { font-weight: 600; color: var(--ink); }
.aside-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.aside-card--dark h2 { color: var(--white); }
.aside-card--dark > p { color: var(--muted-dark); }
.mini-prices { list-style: none; padding: 0; margin: 0 0 14px; }
.mini-prices li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.mini-prices li:last-child { border-bottom: 0; }
.mini-prices b { font-weight: 600; color: var(--accent); }
.aside-card--dark a { color: var(--white); font-size: 14px; text-underline-offset: 3px; }

[hidden] { display: none !important; }

.form .check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; cursor: pointer; }
.form .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }

.est-summary { background: var(--ink); color: var(--white); border-radius: 16px; padding: 20px 22px; }
.est-summary__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.est-summary__head b { font: 700 17px/1.2 var(--display); }
.est-summary__head span { font: 800 26px/1 var(--display); letter-spacing: -0.03em; color: var(--accent); }
.est-summary ul { list-style: none; margin: 0 0 12px; padding: 12px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; }
.est-summary li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #d6d2c9; }
.est-summary__fine { font-size: 13px; color: var(--muted-dark); margin: 0; }
.est-summary__fine a { color: var(--white); }

/* ---------- Multi-page additions ---------- */
.section--flush { padding-top: 0; }
.section--top { padding-top: 88px; }
.section h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 18px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }
.section__lede a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--accent); margin-top: 8px; }

.work--three { grid-template-columns: repeat(3, 1fr); }
.work--three .project h3 { font-size: 20px; }

.tiers-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tier-mini {
  display: grid; gap: 6px; text-decoration: none; padding: 24px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tier-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.tier-mini b { font: 700 17px/1.2 var(--display); }
.tier-mini strong { font: 800 34px/1.05 var(--display); letter-spacing: -0.04em; }
.tier-mini strong small { font: 500 13px/1 var(--sans); letter-spacing: 0; color: var(--muted); }
.tier-mini em { font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.4; }
.tier-mini--featured { border: 2px solid var(--accent); padding: 23px 21px; }
.tier-mini--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier-mini--dark em, .tier-mini--dark strong small { color: var(--muted-dark); }
.teaser-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.compare { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 24px; padding: 18px 26px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; align-items: stretch; }
.compare__row:first-child { border-top: 0; }
.compare__row--head { background: var(--ink); color: var(--white); font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding-top: 16px; padding-bottom: 16px; }
.compare__row--head span:last-child { color: var(--accent); }
.compare__row span:nth-child(2) { color: var(--muted); }
.compare__row span:last-child b { font-weight: 600; color: var(--ink); }
.compare__row:not(.compare__row--head) span:last-child { background: rgba(242,183,5,.12); margin: -18px -26px -18px 0; padding: 18px 26px; }
.compare sup { font-size: 11px; margin-left: 2px; }
.compare sup a { color: var(--accent-deep); text-decoration: none; font-weight: 600; }
.sources { margin: 22px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.sources a { color: var(--ink); text-underline-offset: 3px; }
.sources li:target { background: rgba(242,183,5,.25); border-radius: 4px; }
.sources__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; max-width: 760px; }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple { min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 64px 0; position: relative; overflow-x: clip; }
.simple::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px 320px at 50% 30%, rgba(242,183,5,.18), transparent 70%);
}
.simple h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.simple p { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }
.simple .badge-icon { width: 72px; margin: 0 auto 28px; border-radius: 18px; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .est { grid-template-columns: 1fr; }
  .est__total { position: static; }
  .est__pkgs { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tiers-mini { grid-template-columns: repeat(2, 1fr); }
  .work--three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .compare__row--head { display: none; }
  .compare__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .compare__row:nth-child(2) { border-top: 0; }
  .compare__row span[data-label]::before {
    content: attr(data-label); display: block; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
  }
  .compare__row span:first-child { font-weight: 600; color: var(--ink); }
  .compare__row span:first-child::before { display: none !important; }
  .compare__row:not(.compare__row--head) span:last-child { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; }
  .work--three { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
    box-shadow: 0 20px 30px -20px rgba(17,17,16,.25);
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav__menu .btn { margin-top: 16px; padding: 15px; font-size: 15px; }

  .hero { padding: 48px 0 80px; }
  .hero__grid, .about, .faq, .brief { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .lede { font-size: 18px; }
  .section { padding: 80px 0; }
  .faq .section__head, .brief__aside { position: static; }
  .work { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
  .cta-band { padding-bottom: 80px; }
  .cta-band__inner { padding: 36px 28px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .brand__sub { display: none; }
  .tiers, .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 auto; }
  .toast { right: 0; left: 8%; }
  .toast em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 210px; }
  .stats dt { font-size: 42px; }
  .stats div { padding: 24px 20px; }
  .form { padding: 22px; border-radius: 20px; gap: 26px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; gap: 18px; }
  .project__info { padding: 18px 20px 22px; }
  .project--cta { padding: 28px; min-height: 0; }
  .page-head { padding: 48px 0 32px; }
  .est__addons { grid-template-columns: 1fr; }
  .est__step { padding: 20px; }
  .est__price { font-size: 46px; }
  .about__photos { gap: 10px; }
  .about__mascot { width: 90px; height: 90px; right: -6px; }
  .cta-band__mascot { width: 88px; height: 88px; }
  .signature { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Final touches ---------- */
.compare__row--head span:nth-child(2) { color: var(--muted-dark); }
.cta-band { padding-top: 88px; }
@media (max-width: 900px) { .cta-band { padding-top: 64px; } }

/* ---------- Patch logo (has its own shape and border) ---------- */
.brand__logo { object-fit: contain; padding: 0; border: 0; background: none; border-radius: 0; }
.brand__logo--sm { border-radius: 0; }
.signature img { object-fit: contain; background: none; border-radius: 0; }
.badge-mascot { width: 220px; height: auto; aspect-ratio: 200 / 140; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 30px rgba(17,17,16,.35)); }
.cta-band__mascot { width: 140px; height: 98px; object-fit: contain; border-radius: 0; }
.about__mascot { width: 140px; height: 98px; object-fit: contain; border-radius: 0; border: 0; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); box-shadow: none; }
@media (max-width: 620px) {
  .about__mascot { width: 100px; height: 70px; }
  .cta-band__mascot { width: 100px; height: 70px; }
}

/* =========================================================
   Motion layer (motion.js) — only active with .motion-on
   ========================================================= */

/* Page-to-page transitions (Chrome, Edge, Safari 18+) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* Headlines: words rise out of a mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w__i {
  display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: left bottom;
  transition: transform .95s cubic-bezier(.16,.84,.24,1);
  transition-delay: calc(var(--i) * 60ms);
}
.split.split-in .w__i { transform: none; }
.w--mark .w__i {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 86%; background-size: 0% .2em;
  transition: transform .95s cubic-bezier(.16,.84,.24,1), background-size .8s cubic-bezier(.6,.1,.2,1) 1.05s;
  transition-delay: calc(var(--i) * 60ms), 1.05s;
}
.split.split-in .w--mark .w__i { background-size: 100% .2em; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--red));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* Nav: tucks away on scroll down, returns on scroll up */
.motion-on .nav { transition: box-shadow .3s, background .3s; }
.motion-on .nav.nav--scrolled { box-shadow: 0 10px 30px -20px rgba(17,17,16,.35); }


/* Hero: dot grid revealed by a cursor spotlight */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(17,17,16,.22) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(280px circle at var(--cx, 72%) var(--cy, 38%), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
          mask-image: radial-gradient(280px circle at var(--cx, 72%) var(--cy, 38%), #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
  transition: -webkit-mask-position .2s, mask-position .2s;
}

/* Hero: 3D parallax on the stacked browser windows */
.motion-on .hero__visual {
  transform: perspective(1600px) rotateY(calc(var(--px, 0) * 8deg)) rotateX(calc(var(--py, 0) * -7deg));
  transform-style: preserve-3d;
}
.motion-on .frame--front { translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 16px); }
.motion-on .frame--back { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); }
.motion-on .toast { translate: calc(var(--px, 0) * 34px) calc(var(--py, 0) * 26px); }
.frame { will-change: translate; }

/* Hero: site cycler */
.shot-layer {
  position: absolute !important; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0 !important; transform: scale(1.04);
  transition: opacity .8s ease, transform 1.2s cubic-bezier(.2,.8,.2,1) !important;
}
.shot-layer.is-on { opacity: 1 !important; transform: none; }
.frame__bar em.typing::after {
  content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px;
  vertical-align: -2px; background: var(--ink); animation: caret .7s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* Service ticker */
.strip__inner.is-marquee {
  display: block; max-width: none; padding: 20px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.strip:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 44px; padding-right: 44px; }
.marquee__group span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.marquee__group span::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23111110' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Card tilt + glare */
.has-tilt { position: relative; will-change: transform; }
.glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 45%);
  mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s ease;
}
.has-tilt:hover .glare { opacity: 1; }
.tier--dark .glare, .tier-mini--dark .glare, .est__total .glare { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(242,183,5,.22), transparent 50%); mix-blend-mode: screen; }

/* Magnetic buttons */
.motion-on .btn { transition: transform .15s ease, translate .35s cubic-bezier(.2,.8,.2,1), background .15s, border-color .15s, color .15s, box-shadow .15s; }

/* Project screenshots: slow cinematic zoom on hover */
.motion-on .project__shot img { transition: opacity .5s ease, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.motion-on .project:hover .project__shot img { transform: scale(1.07); }

/* Reveal: softer, with a touch of blur */
.motion-on .reveal { transition: opacity .7s ease, transform .8s cubic-bezier(.16,.84,.24,1); }

/* Call-to-action: slow drifting light */
.cta-band__inner { position: relative; overflow: hidden; isolation: isolate; }
.motion-on .cta-band__inner::before {
  content: ""; position: absolute; inset: -60%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(242,183,5,.28), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(200,64,42,.20), transparent);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: rotate(0deg) translateX(-6%); } to { transform: rotate(40deg) translateX(8%); } }

/* Estimator total: a quick pulse when it changes */
.est__total.bump .est__price { animation: bump .45s cubic-bezier(.2,.8,.2,1); }
@keyframes bump { 40% { transform: scale(1.05); color: var(--accent); } }

/* Live dot pulse */
.motion-on .dot { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,179,107,.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47,179,107,0); } }

/* Film-grain texture for depth (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .motion-on body::after {
    content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

@media (prefers-reduced-motion: reduce) {
  .split .w__i { transform: none !important; }
  .marquee__track { animation: none; }
}

/* ---------- Stability: header always pinned, no stutter ---------- */
.nav { position: sticky; top: 0; transform: none !important; }
.frame { will-change: auto; }

/* ---------- Audit fixes ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer__contact { margin-left: 6px; }
.footer__contact a { color: inherit; text-underline-offset: 3px; }
.footer__contact a:hover { color: var(--ink); }
.home .footer__contact a:hover { color: #fff; }

.quick { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; padding-bottom: 24px; }
.quick__form { gap: 18px; }
.quick__direct { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; }
.quick__direct .kicker { color: var(--muted-dark); }
.direct { display: grid; gap: 4px; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.direct span { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.direct b { font-weight: 600; font-size: 17px; color: #fff; word-break: break-all; }
.direct:hover b { text-decoration: underline; text-underline-offset: 3px; }
.quick__note { font-size: 14px; color: var(--muted-dark); margin: 16px 0 0; }
.form__privacy { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form__privacy a, .form__submit p a { color: var(--ink); }
.page-head--sub { padding-top: 64px; }
.brief-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }

.legal { max-width: 760px; }
.legal h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p { color: var(--ink-3); }
.legal a { color: var(--ink); }

@media (max-width: 900px) { .quick { grid-template-columns: 1fr; } }

/* ---------- Terms page + contact extras + mobile bar ---------- */
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 10px; color: var(--ink-3); margin: 0 0 1em; }
.legal h2 { scroll-margin-top: 90px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.legal__toc a { font-size: 13.5px; text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--white); }
.legal__toc a:hover { border-color: var(--ink); }
.direct em { font-style: normal; font-size: 13px; color: var(--muted-dark); }

.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 55;
    padding: 8px; border-radius: 18px;
    background: rgba(17,17,16,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -14px rgba(0,0,0,.6);
  }
  .mbar__btn { display: grid; place-items: center; height: 46px; border-radius: 12px; text-decoration: none; font: 600 15px/1 var(--sans); color: #fff; background: rgba(255,255,255,.1); }
  .mbar__btn--accent { background: var(--accent); color: var(--ink); }
  body { padding-bottom: 76px; }
}

/* ---------- The Works (pricing page) ---------- */
.works-sec { background: var(--ink); color: #fff; }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.works h2 { color: #fff; font-size: clamp(44px, 6vw, 76px); }
.works-sec .kicker { color: var(--accent); }
.works__lede { font-size: 19px; color: #d6d2c9; max-width: 40ch; }
.works__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.works__list li { position: relative; padding-left: 28px; color: #e8e5de; }
.works__list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }
.works__price { border-top: 1px solid var(--line-dark); padding-top: 18px; margin-bottom: 24px; }
.works__price p { margin: 0 0 6px; color: var(--muted-dark); font-size: 15px; }
.works__price b { color: #fff; }
.works__price p:first-child { font-size: 20px; color: #fff; }
.works__price p:first-child b { font: 800 34px/1 var(--display); color: var(--accent); letter-spacing: -0.03em; margin-right: 6px; }
.works__side { display: grid; gap: 18px; }
.works__vs { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 20px 22px; }
.works__vs-title { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 12px; }
.works__vs p:not(.works__vs-title) { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; margin: 0; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.works__vs span { color: #fff; font-weight: 600; font-size: 15px; }
.works__vs b { font: 800 20px/1 var(--display); color: var(--accent); }
.works__vs em { grid-column: 1 / -1; font-style: normal; font-size: 13.5px; color: var(--muted-dark); }
.works__vs sup a { color: inherit; text-decoration: none; }
.works__fine { margin-top: 36px; border-top: 1px solid var(--line-dark); padding-top: 22px; max-width: 900px; }
.works__fine p { color: var(--muted-dark); font-size: 14.5px; }
.works__fine b { color: #fff; }
.works__src a { color: #fff; }
.est__carenote { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.segmented input:disabled + span { opacity: .4; cursor: not-allowed; }
.est__addon--works { border-color: rgba(214,159,0,.5); background: rgba(242,183,5,.08); }
.price-list a { color: var(--ink); font-weight: 600; }

/* ledger mock (shared with homepage) */
.ledger { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.7); }
.ledger__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.ledger__top b { font: 800 20px/1 var(--display); letter-spacing: -0.02em; }
.ledger__top span { font-size: 12.5px; color: var(--muted); }
.ledger__pl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.ledger__pl div { background: var(--tint); border-radius: 12px; padding: 12px; }
.ledger__pl span { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ledger__pl b { font: 800 clamp(16px, 1.6vw, 21px)/1 var(--display); letter-spacing: -0.02em; }
.ledger__profit { background: var(--ink) !important; color: #fff; }
.ledger__profit span { color: var(--accent) !important; }
.ledger__chart { display: flex; align-items: flex-end; gap: 5px; height: 64px; margin-bottom: 14px; }
.ledger__chart i { flex: 1; height: var(--h); background: #e8e4da; border-radius: 4px 4px 1px 1px; }
.ledger__chart i:nth-last-child(-n+3) { background: var(--accent); }
.ledger__rows p { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; margin: 0; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ledger__rows em { font: 500 10px/1 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ledger__rows em:not(:empty) { border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 6px; }
.ledger__rows b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger__rows b.in { color: #2f8f5b; }
.ledger__btn { display: block; margin-top: 14px; text-align: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px; font-weight: 600; font-size: 14px; }
.ledger__demo { position: absolute; right: 18px; bottom: -28px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; gap: 40px; } }
.works__side { gap: 40px; }

/* ---------- Services explained page ---------- */
.svc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; padding-bottom: 112px; }
.svc-toc { position: sticky; top: 96px; display: grid; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
.svc-toc__group { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin: 18px 0 8px; }
.svc-toc__group:first-child { margin-top: 0; }
.svc-toc a { text-decoration: none; font-size: 14.5px; color: var(--muted); padding: 6px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.svc-toc a:hover { color: var(--ink); background: var(--tint); }
.svc-main { display: grid; gap: 64px; min-width: 0; }
.svc-group { display: grid; gap: 18px; scroll-margin-top: 90px; }
.svc-group__head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 6px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px; scroll-margin-top: 90px; transition: border-color .3s, box-shadow .3s; }
.svc:target { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242,183,5,.25); }
.svc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.svc__head h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.svc__price { font: 800 22px/1 var(--display); letter-spacing: -0.02em; background: var(--ink); color: var(--accent); padding: 10px 14px; border-radius: 12px; white-space: nowrap; }
.svc__short { font-size: 18px; color: var(--ink-3); margin: 0 0 22px; }
.svc__body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.svc h4 { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.svc__body p { font-size: 15.5px; color: var(--ink-3); margin: 0 0 20px; }
.svc__get { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.svc__get li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.svc__get li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(242,183,5,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23111110' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.svc__know { margin-top: 20px; background: var(--tint); border-radius: 14px; padding: 16px 18px; }
.svc__know ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-3); }
.gloss { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gloss div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.gloss dt { font-weight: 700; margin-bottom: 4px; }
.gloss dd { margin: 0; font-size: 15px; color: var(--muted); }
.svc-cta { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; }
.svc-cta h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.035em; margin: 0 0 10px; }
.svc-cta p { color: var(--muted-dark); margin: 0 0 22px; }
.svc-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.svc-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }

/* links into the services page */
.tier__more { display: block; font-size: 14px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; margin: -12px 0 14px; }
.tier--dark .tier__more { color: var(--accent); }
.extras__more { font: 500 13px/1 var(--sans); color: var(--muted); margin-left: 8px; text-underline-offset: 3px; }
.price-list a { color: var(--ink); font-weight: 500; text-decoration-color: rgba(17,17,16,.3); text-underline-offset: 3px; }
.price-list a:hover { text-decoration-color: var(--ink); }
.est__info { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink); text-underline-offset: 2px; }
.est__info--inline { margin: 0 0 0 6px; font-weight: 500; }
.bt__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.bt__more::after { content: "\2192"; transition: transform .2s; }
.bt__more:hover::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; gap: 24px; }
  .svc-toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .svc-toc__group { width: 100%; margin: 10px 0 2px; }
  .svc-toc a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; background: var(--white); }
  .svc__body { grid-template-columns: 1fr; gap: 6px; }
  .gloss { grid-template-columns: 1fr; }
  .svc { padding: 24px 22px; }
  .svc-cta { padding: 30px 24px; }
}
