/* ============================================================
   COLOR ARCHITECTURE — Two-Layer Token System
   Layer 1: The ONLY place hex values are allowed.
   Layer 2: Everything else, derived via color-mix().
   ============================================================ */
:root {
  /* ---- LAYER 1: raw palette (5 values — client-editable) ---- */
  --p-accent:    #FDA672; /* primary accent  — Peachy peach       */
  --p-secondary: #DC4D4E; /* secondary / ink-base — cherry red    */
  --p-highlight: #FDC082; /* highlight       — soft apricot       */
  --p-subtle:    #90C14D; /* neutral / subtle — leaf green        */
  --p-surface:   #FFFFFF; /* base surface    — white              */

  /* ---- LAYER 2: derived tokens (no raw hex allowed) ---- */
  --c-ink:         color-mix(in srgb, var(--p-secondary) 14%, black);
  --c-ink-soft:    color-mix(in srgb, var(--c-ink) 68%, var(--p-surface));
  --c-ink-muted:   color-mix(in srgb, var(--c-ink) 50%, var(--p-surface));
  --c-ink-faint:   color-mix(in srgb, var(--c-ink) 28%, var(--p-surface));
  --c-on-ink:      var(--p-surface);
  --c-on-ink-soft: color-mix(in srgb, var(--p-surface) 72%, transparent);
  --c-on-ink-faint:color-mix(in srgb, var(--p-surface) 48%, transparent);

  --c-bg:          var(--p-surface);
  --c-bg-warm:     color-mix(in srgb, var(--p-accent) 7%, var(--p-surface));
  --c-bg-cool:     color-mix(in srgb, var(--p-subtle) 12%, var(--p-surface));
  --c-bg-soft:     color-mix(in srgb, var(--c-ink) 3%, var(--p-surface));
  --c-bg-paper:    color-mix(in srgb, var(--p-highlight) 6%, var(--p-surface));
  --c-bg-ink:      var(--c-ink);
  --c-bg-ink-deep: color-mix(in srgb, var(--c-ink) 86%, black);
  /* Picked live with the color-lab dev tool (see app.js) — a vivid coral-to-gold pair for
     the pricing card, in place of the earlier near-black rust gradient. Light enough now
     that the card's own text switched from white-on-dark to ink-on-light to match. */
  --c-pricing-card-1: #f5775b;
  --c-pricing-card-2: #edb06c;
  /* The card's own text/divider/badge colors flip with it — light gradient needs dark
     ink text, same as any other light surface on the page. The midnight skin overrides
     these back to their original light-on-dark values, since its card stays dark. */
  --c-pricing-title:   var(--c-ink);
  /* not --c-accent-strong: that's a dark burnt-orange, and it measured ~1.15:1 against
     the coral card stop — nearly invisible, two dark-warm tones sitting on top of each
     other. --c-ink softened down keeps it visually a "label" next to the bold title
     while actually reading, at a comfortable margin above the 4.5:1 floor. */
  --c-pricing-name:    color-mix(in srgb, var(--c-ink) 80%, transparent);
  --c-pricing-border:  var(--c-border);
  --c-pricing-chip-bg: var(--c-bg-ink);
  --c-pricing-chip-fg: var(--c-on-ink);

  --c-border:        color-mix(in srgb, var(--c-ink) 14%, var(--p-surface));
  --c-border-strong: color-mix(in srgb, var(--c-ink) 28%, var(--p-surface));
  --c-border-ink:    color-mix(in srgb, var(--p-surface) 18%, transparent);
  --c-divider:       color-mix(in srgb, var(--c-ink) 10%, transparent);

  --c-accent:        var(--p-accent);
  --c-accent-strong: color-mix(in srgb, var(--p-accent) 78%, black);
  --c-accent-soft:   color-mix(in srgb, var(--p-accent) 18%, var(--p-surface));
  --c-highlight:     var(--p-highlight);
  --c-highlight-soft:color-mix(in srgb, var(--p-highlight) 26%, var(--p-surface));
  --c-sage:          var(--p-subtle);
  --c-sage-soft:     color-mix(in srgb, var(--p-subtle) 24%, var(--p-surface));
  --c-turq:          var(--p-secondary);
  --c-turq-soft:     color-mix(in srgb, var(--p-secondary) 18%, var(--p-surface));
  --c-turq-deep:     color-mix(in srgb, var(--p-secondary) 60%, black);

  --c-btn-bg:       linear-gradient(135deg, var(--p-accent), var(--c-accent-strong));
  --c-btn-bg-hover: linear-gradient(135deg, var(--c-accent-strong), var(--p-accent));
  --c-btn-fg:       var(--c-ink);
  --c-btn-ghost-bd: var(--c-border-strong);

  --c-shadow:      color-mix(in srgb, var(--c-ink) 24%, transparent);
  --c-shadow-soft: color-mix(in srgb, var(--c-ink) 10%, transparent);
  --c-ring:        color-mix(in srgb, var(--p-accent) 45%, transparent);

  /* ============================================================
     TYPOGRAPHY — Three-Font Token System
     ============================================================ */
  --font-heading: "Rubik", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Assistant", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-button:  "Rubik", "Heebo", "Assistant", system-ui, sans-serif;

  --fs-mega:    clamp(3rem, 8.5vw + 0.5rem, 8rem);
  --fs-hero:    clamp(2.5rem, 5.8vw + 0.75rem, 6rem);
  --fs-display: clamp(2rem, 4vw + 0.5rem, 4rem);
  --fs-h2:      clamp(1.65rem, 2.8vw + 0.5rem, 2.85rem);
  --fs-h3:      clamp(1.15rem, 1.1vw + 0.75rem, 1.55rem);
  --fs-lead:    clamp(1.05rem, 0.5vw + 0.95rem, 1.3rem);
  --fs-body:    clamp(0.95rem, 0.2vw + 0.9rem, 1.075rem);
  --fs-small:   clamp(0.82rem, 0.15vw + 0.78rem, 0.92rem);
  --fs-label:   clamp(0.72rem, 0.1vw + 0.7rem, 0.8rem);
  --fs-btn:     clamp(0.95rem, 0.2vw + 0.9rem, 1.05rem);
  --fs-num:     clamp(2.5rem, 3vw + 1.5rem, 4.5rem);

  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 2.5rem; --s-6: 3rem; --s-7: 4rem; --s-8: 5rem;
  --s-9: 6rem; --s-10: 8rem;

  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-xl: 24px;

  --container:       1280px;
  --container-tight: 980px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6,
.display-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-button); cursor: pointer; border: 0; background: transparent; }

input, textarea, select { font-family: var(--font-body); color: var(--c-ink); }
::selection { background: var(--c-accent); color: var(--c-ink); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--c-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}
.container--tight { max-width: var(--container-tight); }

.section        { padding-block: clamp(4.5rem, 8vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--paper { background: var(--c-bg-paper); }
.section--cool  { background: var(--c-bg-cool); }

/* Soft peach-to-white gradient wash with faint blob glows + dot texture, for depth without adding much color.
   Applied once to a wrapper spanning both the pricing and gallery sections, so the wash reads as one
   continuous background rather than restarting at each section boundary. */
.dreamy-zone {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--p-highlight) 10%, var(--p-surface)) 0%,
    color-mix(in srgb, var(--p-accent) 6%, var(--p-surface)) 50%,
    color-mix(in srgb, var(--p-subtle) 8%, var(--p-surface)) 100%);
}
.dreamy-zone::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 8% 6%, color-mix(in srgb, var(--p-accent) 20%, transparent) 0%, transparent 30%),
    radial-gradient(circle at 95% 14%, color-mix(in srgb, var(--p-subtle) 16%, transparent) 0%, transparent 26%),
    radial-gradient(circle at 90% 60%, color-mix(in srgb, var(--p-highlight) 20%, transparent) 0%, transparent 30%),
    radial-gradient(circle at 6% 55%, color-mix(in srgb, var(--p-accent) 14%, transparent) 0%, transparent 26%),
    radial-gradient(circle at 88% 96%, color-mix(in srgb, var(--p-highlight) 22%, transparent) 0%, transparent 32%),
    radial-gradient(circle at 4% 94%, color-mix(in srgb, var(--p-subtle) 16%, transparent) 0%, transparent 28%);
  z-index: -2;
}
.dreamy-zone::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--c-ink) 7%, transparent) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 0%, transparent 78%);
  z-index: -1;
}

/* ============================================================
   BUTTONS — font-button ONLY here
   ============================================================ */
.btn {
  font-family: var(--font-button);
  font-size: var(--fs-btn);
  font-weight: 700;
  letter-spacing: 0.005em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.85rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition:
    transform 180ms cubic-bezier(.2,.7,.2,1),
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 220ms ease,
    border-color 180ms ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn__arrow { display: inline-flex; transition: transform 200ms ease; }
.btn:hover .btn__arrow { transform: translateX(-4px); } /* RTL: arrow "moves forward" = leftwards */

.btn--primary {
  background: var(--c-btn-bg);
  color: var(--c-btn-fg);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 22%, transparent) inset,
    0 14px 30px -18px var(--c-shadow);
}
.btn--primary:hover { background: var(--c-btn-bg-hover); transform: translateY(-1px); }

.btn--accent {
  /* the hero's own two-tone warm gradient, not a flat fill — ties the site's
     boldest CTAs back to that first-impression color instead of a plain chip */
  background: linear-gradient(135deg, var(--p-highlight), var(--p-accent));
  color: var(--c-ink);
  box-shadow: 0 16px 32px -14px var(--c-shadow);
}
.btn--accent:hover {
  background: linear-gradient(135deg, var(--p-accent), var(--c-accent-strong));
  color: var(--p-surface);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--p-surface);
  color: var(--c-ink);
  box-shadow: 0 16px 32px -14px color-mix(in srgb, var(--c-ink) 35%, transparent);
}
.btn--white:hover { background: color-mix(in srgb, var(--p-surface) 85%, var(--c-ink)); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-btn-ghost-bd);
}
.btn--ghost:hover { border-color: var(--c-ink); background: var(--c-bg-cool); }

.btn--ghost-ink {
  background: transparent;
  color: var(--c-on-ink);
  border-color: var(--c-border-ink);
}
.btn--ghost-ink:hover {
  border-color: var(--c-on-ink);
  background: color-mix(in srgb, var(--p-surface) 8%, transparent);
}

.btn--lg { padding: 1.1rem 2.15rem; }
.btn--xl { padding: 1.25rem 2.5rem; font-size: calc(var(--fs-btn) + 0.06rem); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, border-color 260ms ease, color 260ms ease, backdrop-filter 260ms ease;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--p-surface) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--c-divider);
}
/* Over the dark hero (top of page, before scroll), invert nav colors */
.nav:not(.is-scrolled) .brand { color: var(--c-on-ink); }
.nav:not(.is-scrolled) .brand__mark {
  background: color-mix(in srgb, var(--p-surface) 15%, transparent);
  color: var(--c-on-ink);
  border: 1px solid color-mix(in srgb, var(--p-surface) 25%, transparent);
}
.nav:not(.is-scrolled) .brand__mark::after { opacity: .5; }
.nav:not(.is-scrolled) .nav__link { color: var(--c-on-ink-soft); }
.nav:not(.is-scrolled) .nav__link:hover { color: var(--c-on-ink); }
.nav:not(.is-scrolled) .nav__cta.btn--primary {
  background: color-mix(in srgb, var(--p-surface) 12%, transparent);
  color: var(--c-on-ink);
  border: 1px solid color-mix(in srgb, var(--p-surface) 30%, transparent);
}
.nav:not(.is-scrolled) .nav__cta.btn--primary:hover {
  background: color-mix(in srgb, var(--p-surface) 22%, transparent);
}
/* Offset first section for fixed nav */
body { padding-top: 0; }
main > .hero:first-child { padding-top: clamp(7rem, 12vw, 10rem); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.4vw + 1rem, 1.3rem);
  color: var(--c-ink);
  letter-spacing: -0.015em;
}
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--p-highlight), var(--p-accent));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--p-surface);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c-accent) 0%, transparent 60%);
  opacity: .8;
  z-index: -1;
}
.nav__links {
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  font-weight: 500;
  transition: color 160ms ease;
}
.nav__link:hover { color: var(--c-ink); }
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section__head {
  max-width: 62ch;
  margin-bottom: var(--s-7);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 0.9rem;
}
.section__eyebrow::before {
  content: ""; width: 18px; height: 1px;
  background: var(--c-ink-muted);
  display: inline-block;
}
.section__title {
  font-size: var(--fs-display);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.section__title em {
  font-style: normal;
  font-weight: 800;
  color: var(--c-accent-strong);
}
.section__lead {
  margin-top: 1rem;
  color: var(--c-ink-muted);
  font-size: var(--fs-lead);
  max-width: 60ch;
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO — grid
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.8vw, 1.75rem);
}
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

.card-work {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--p-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform 240ms ease,
    box-shadow 300ms ease,
    border-color 200ms ease;
}
.card-work:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 58px -30px var(--c-shadow);
  border-color: var(--c-border-strong);
}
.card-work__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-bg-soft);
}
.card-work__tag {
  position: absolute;
  top: 1rem; inset-inline-start: 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: color-mix(in srgb, var(--p-surface) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  z-index: 2;
}
.card-work__body {
  padding: 1.15rem 1.3rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  border-top: 1px solid var(--c-border);
  background: var(--p-surface);
}
.card-work__title {
  font-size: var(--fs-h3);
  font-weight: 700;
}
.card-work__meta {
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
}
.card-work__arrow {
  position: absolute;
  top: 1rem; inset-inline-end: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--p-surface);
  border: 1px solid var(--c-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  z-index: 2;
  transition: background-color 160ms, color 160ms, transform 200ms;
}
.card-work:hover .card-work__arrow {
  background: var(--c-ink); color: var(--p-surface);
  transform: rotate(-45deg);
}

/* Mini landing mockup — abstract schematic */
.mock {
  position: absolute; inset: 0;
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.mock__hero {
  flex: 1.8;
  border-radius: 10px;
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c-ink) 6%, transparent);
}
.mock__hero::before {
  content: "";
  position: absolute;
  top: 0.7rem; inset-inline-start: 0.7rem;
  width: 28px; height: 5px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--c-ink) 35%, transparent);
}
.mock__hero::after {
  content: "";
  position: absolute;
  top: 0.7rem; inset-inline-end: 0.7rem;
  width: 44px; height: 5px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--c-ink) 18%, transparent);
}
.mock__title {
  height: 12px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--c-ink) 82%, transparent);
  width: 72%;
}
.mock__title + .mock__title { width: 52%; height: 12px; }
.mock__line {
  height: 5px; border-radius: 3px;
  background: color-mix(in srgb, var(--c-ink) 20%, transparent);
  width: 60%;
}
.mock__line--s { width: 38%; }
.mock__btns { display: flex; gap: 0.4rem; margin-top: 0.25rem; }
.mock__btn {
  height: 22px; width: 72px;
  border-radius: 5px;
  background: var(--c-ink);
}
.mock__btn--g {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--c-ink) 25%, transparent);
  width: 56px;
}
.mock__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem;
  flex: 0.8;
  min-height: 36px;
}
.mock__cell {
  background: color-mix(in srgb, var(--c-ink) 14%, transparent);
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--c-ink) 6%, transparent);
}

/* Mock variants */
.mock--coral .mock__hero   { background: color-mix(in srgb, var(--p-accent) 28%, var(--p-surface)); }
.mock--coral .mock__cell   { background: color-mix(in srgb, var(--p-accent) 42%, var(--p-surface)); border-color: transparent; }
.mock--coral .mock__title  { background: color-mix(in srgb, var(--p-accent) 70%, black); }

.mock--sage  .mock__hero   { background: color-mix(in srgb, var(--p-subtle) 32%, var(--p-surface)); }
.mock--sage  .mock__cell   { background: color-mix(in srgb, var(--p-subtle) 50%, var(--p-surface)); border-color: transparent; }
.mock--sage  .mock__title  { background: color-mix(in srgb, var(--p-subtle) 70%, black); }

.mock--turq  .mock__hero   { background: color-mix(in srgb, var(--p-secondary) 24%, var(--p-surface)); }
.mock--turq  .mock__cell   { background: color-mix(in srgb, var(--p-secondary) 40%, var(--p-surface)); border-color: transparent; }
.mock--turq  .mock__title  { background: var(--c-turq-deep); }

.mock--yellow .mock__hero  { background: color-mix(in srgb, var(--p-highlight) 36%, var(--p-surface)); }
.mock--yellow .mock__cell  { background: color-mix(in srgb, var(--p-highlight) 55%, var(--p-surface)); border-color: transparent; }
.mock--yellow .mock__title { background: color-mix(in srgb, var(--p-highlight) 65%, black); }

.mock--ink .mock__hero {
  background: linear-gradient(160deg, var(--c-ink) 0%, color-mix(in srgb, var(--c-ink) 82%, black) 100%);
}
.mock--ink .mock__hero::before { background: color-mix(in srgb, var(--p-surface) 55%, transparent); }
.mock--ink .mock__hero::after  { background: color-mix(in srgb, var(--p-surface) 30%, transparent); }
.mock--ink .mock__title { background: var(--p-surface); }
.mock--ink .mock__line  { background: color-mix(in srgb, var(--p-surface) 40%, transparent); }
.mock--ink .mock__btn   { background: var(--c-accent); }
.mock--ink .mock__btn--g { background: transparent; border-color: color-mix(in srgb, var(--p-surface) 30%, transparent); }
.mock--ink .mock__cell  { background: color-mix(in srgb, var(--c-ink) 80%, black); border-color: color-mix(in srgb, var(--p-surface) 8%, transparent); }

.mock--mix .mock__hero {
  background:
    radial-gradient(circle at 85% 20%, var(--c-accent-soft) 0%, transparent 55%),
    radial-gradient(circle at 20% 90%, var(--c-highlight-soft) 0%, transparent 60%),
    var(--c-bg-paper);
}
.mock--mix .mock__cell  { background: color-mix(in srgb, var(--p-accent) 28%, var(--p-surface)); border-color: transparent; }
.mock--mix .mock__title { background: var(--c-ink); }

/* ============================================================
   PROCESS — flowing, unboxed: glowing icon badges on a dotted path
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3vw, 2.5rem);
  position: relative;
}
.process__line {
  position: absolute;
  top: 44px;
  inset-inline: 16%;
  width: 68%;
  height: 70px;
  overflow: visible;
  z-index: 0;
}
.process__line path {
  fill: none;
  stroke: var(--c-border-strong);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 14;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.step__badge {
  position: relative;
  width: 157px; height: 157px;
  border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--step-color) 55%, transparent) 0%, color-mix(in srgb, var(--step-color) 22%, transparent) 45%, transparent 72%);
}
.step__num {
  position: absolute;
  top: -3.7rem;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--step-color) 30%, var(--p-surface));
  z-index: -1;
}
.step__icon {
  width: 87px; height: 87px;
  border-radius: 50%;
  /* always pure white, not var(--p-surface) — the step photos themselves are shot on white,
     so a themed (e.g. dark-skin) surface color would show as a mismatched ring around them */
  background: #FFFFFF;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--step-color) 60%, transparent);
  overflow: hidden;
}
.step__icon img { width: 88%; height: 88%; object-fit: contain; }
.step__icon img.step__icon-img--zoom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transform: scale(1.55);
}
.step__title { font-size: var(--fs-h3); }
.step__text  { color: var(--c-ink-muted); line-height: 1.65; max-width: 30ch; }

@media (max-width: 820px) {
  .process { grid-template-columns: 1fr; gap: 5.5rem; }
  .process__line { display: none; }
  .step__num { top: -3.2rem; }
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, color-mix(in srgb, var(--p-accent) 30%, var(--p-surface)) 0%, color-mix(in srgb, var(--p-highlight) 35%, var(--p-surface)) 100%);
  color: var(--c-ink);
  border-radius: var(--r-xl);
  padding: clamp(2.75rem, 5vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--p-accent) 30%, transparent);
}
.cta-final__mascot {
  position: absolute;
  bottom: -14px;
  inset-inline-end: clamp(1rem, 6vw, 4rem);
  width: 108px; height: auto;
  z-index: -1;
  opacity: 0.85;
}
@media (max-width: 620px) {
  .cta-final__mascot { display: none; }
}
.cta-final__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 1rem;
}
.cta-final__eyebrow::before {
  content:""; width: 18px; height: 1px; background: var(--c-ink-muted);
}
.cta-final__title {
  color: var(--c-ink);
  font-size: var(--fs-display);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
  max-width: 22ch;
  margin-inline: auto;
}
.cta-final__title em { font-style: normal; color: var(--c-accent-strong); font-weight: 800; }
.cta-final__text {
  color: var(--c-ink-muted);
  font-size: var(--fs-lead);
  margin-bottom: 1.75rem;
  max-width: 54ch; margin-inline: auto;
  line-height: 1.55;
}
.cta-final__actions {
  display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--c-divider);
  padding-block: 1.1rem;
  background: var(--c-bg);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem 1.5rem; flex-wrap: wrap;
}
.footer__credit {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
}
.footer__credit b { color: var(--c-ink); font-weight: 700; font-family: var(--font-heading); }
.footer__meta {
  font-size: var(--fs-small);
  color: var(--c-ink-muted);
  display: flex; gap: 1rem 1.5rem; flex-wrap: wrap;
}
.footer__meta a { transition: color 160ms; }
.footer__meta a:hover { color: var(--c-ink); }

/* ============================================================
   UTILITIES / RESPONSIVE
   ============================================================ */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 540px) {
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cta-final__actions .btn { width: 100%; }
}

/* ============================================================
   PORTFOLIO LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: color-mix(in srgb, var(--c-bg-ink-deep) 78%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 4rem);
  background: var(--p-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  box-shadow: 0 50px 120px -30px var(--c-shadow);
  transform: translateY(14px) scale(.98);
  transition: transform 280ms cubic-bezier(.2,.9,.3,1);
}
.lightbox.is-open .lightbox__panel { transform: translateY(0) scale(1); }
.lightbox__close {
  position: absolute;
  top: 0.9rem; inset-inline-end: 0.9rem;
  z-index: 2;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--c-border);
  background: color-mix(in srgb, var(--p-surface) 85%, transparent);
  color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 180ms ease, transform 180ms ease;
}
.lightbox__close:hover { background: var(--p-surface); transform: scale(1.05); }
.lightbox__stage {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 20% 20%, var(--c-accent-soft) 0%, transparent 55%),
    var(--c-bg-soft);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.lightbox__stage .card-work__visual {
  width: 100%;
  aspect-ratio: 4/3;
  max-height: min(72vh, 620px);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  box-shadow: 0 30px 60px -30px var(--c-shadow);
}
.lightbox__meta {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column; gap: 0.8rem;
  justify-content: center;
}
.lightbox__tag {
  align-self: start;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--c-border);
}
.lightbox__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--c-ink);
}
.lightbox__sub {
  color: var(--c-ink-muted);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.lightbox__cta { align-self: start; margin-top: 0.5rem; }

@media (max-width: 800px) {
  .lightbox__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
  .lightbox__stage { min-height: 220px; }
  .lightbox__stage .card-work__visual { max-height: 48vh; }
}

/* ============================================================
   SKINS — alternate full-site palettes, cycled by the side arrows.
   Only Layer-1 (+ a few structural tokens for the dark skin) change;
   every component above restyles itself for free through the tokens.
   ============================================================ */
html[data-skin="sorbet"] {
  --p-accent:    #F37159;
  --p-secondary: #90C14D;
  --p-highlight: #FDA672;
  --p-subtle:    #FDC082;
}
html[data-skin="midnight"] {
  --p-accent:    #FDA672;
  --p-secondary: #FDC082;
  --p-highlight: #DC4D4E;
  --p-subtle:    #90C14D;
  --p-surface:   #241019;
  color-scheme: dark;
}
html[data-skin="midnight"] body {
  --c-ink:         #FBEDE8;
  --c-ink-soft:    color-mix(in srgb, var(--c-ink) 80%, var(--p-surface));
  --c-ink-muted:   color-mix(in srgb, var(--c-ink) 62%, var(--p-surface));
  --c-ink-faint:   color-mix(in srgb, var(--c-ink) 38%, var(--p-surface));
  --c-on-ink:      #FBEDE8;
  --c-on-ink-soft: color-mix(in srgb, #FBEDE8 78%, transparent);
  --c-on-ink-faint:color-mix(in srgb, #FBEDE8 50%, transparent);
  --c-bg-ink:      #150a0f;
  --c-bg-ink-deep: #0d0609;
  /* keep the pricing card on the same dark-maroon surface as the rest of this skin,
     rather than the classic skin's coral/gold pair — it already reads right here */
  --c-pricing-card-1: var(--c-bg-ink);
  --c-pricing-card-2: var(--c-bg-ink-deep);
  /* ...and keep the original light-on-dark treatment that pairs with it, rather than
     the classic skin's now-dark-ink-on-light text and dark price badge */
  --c-pricing-title:   var(--c-on-ink);
  --c-pricing-name:    var(--p-accent);
  --c-pricing-border:  var(--c-border-ink);
  --c-pricing-chip-bg: var(--c-btn-bg);
  --c-pricing-chip-fg: var(--c-btn-fg);
  --c-bg-warm:     color-mix(in srgb, var(--p-accent) 14%, var(--p-surface));
  --c-bg-cool:     color-mix(in srgb, var(--p-subtle) 16%, var(--p-surface));
  --c-bg-soft:     color-mix(in srgb, var(--p-surface) 90%, white);
  --c-bg-paper:    color-mix(in srgb, var(--p-highlight) 10%, var(--p-surface));
  --c-border:        color-mix(in srgb, var(--c-ink) 18%, var(--p-surface));
  --c-border-strong: color-mix(in srgb, var(--c-ink) 34%, var(--p-surface));
  --c-btn-bg:       var(--p-accent);
  --c-btn-bg-hover: color-mix(in srgb, var(--p-accent) 85%, white);
  --c-btn-fg:       #150a0f;
}
html[data-skin="midnight"] .nav.is-scrolled { background: color-mix(in srgb, var(--p-surface) 82%, transparent); }

/* Cross-fade the swap when the View Transitions API is available */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 480ms; }

.skin-dots {
  position: fixed;
  left: clamp(0.85rem, 2.2vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: grid;
  gap: 0.65rem;
  padding: 0.65rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--p-surface) 78%, transparent);
  border: 1px solid var(--c-border);
  box-shadow: 0 16px 32px -18px var(--c-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.skin-dots__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid var(--c-border-strong);
  background: transparent;
  display: block;
  cursor: pointer;
  transition: transform 200ms ease, width 200ms ease, height 200ms ease, border-color 200ms ease;
}
.skin-dots__dot::after {
  content: "";
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--skin-dot-color, var(--p-accent));
  transform: scale(0);
  transition: transform 200ms ease;
}
.skin-dots__dot:hover { transform: scale(1.15); }
.skin-dots__dot.is-active {
  width: 20px; height: 20px;
  border-color: transparent;
}
.skin-dots__dot.is-active::after { transform: scale(1); }
@media (max-width: 640px) {
  .skin-dots { display: none; }
}

/* ============================================================
   HERO — fills the first viewport. The base background is the same
   two-tone gradient the source photo already fades through, so the
   photo (cropped to cover) always blends into it with no visible seam.
   ============================================================ */
main > .hero.hero--split:first-child { padding-top: 0; }
.hero--split {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  min-height: 100vh;
  min-height: 100svh;
}
.hero__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background: linear-gradient(to right, #FDC082, #F37159);
}
.hero__creature {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% center; /* keeps the mascot (the source's right side) safely in frame after the mirror */
  transform: scaleX(-1); /* mirror only — mascot lands on the left, copy sits right */
}
.hero__bg::after {
  content: "";
  position: absolute; inset-inline: 0; bottom: 0;
  height: 14%;
  min-height: 90px;
  background: linear-gradient(to bottom, transparent, var(--p-surface));
  pointer-events: none;
  z-index: 3;
}
.hero__content {
  position: absolute; inset: 0; z-index: 2;
  direction: ltr; /* pins the copy box to the true physical right, independent of RTL flex quirks */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline: 0;
}
.hero__copy {
  direction: rtl;
  max-width: min(50%, 44rem);
  text-align: start;
  padding-inline: clamp(1.25rem, 3vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.hero__title {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--c-on-ink);
  margin-bottom: var(--s-3);
  text-shadow: 0 2px 18px color-mix(in srgb, var(--c-ink) 55%, transparent);
}
.hero__title em {
  font-style: normal;
  color: #B9E46A; /* brand green accent, used for hero emphasis only */
  font-weight: 800;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: var(--c-on-ink-soft);
  line-height: 1.6;
  margin-bottom: var(--s-5);
  text-shadow: 0 1px 14px color-mix(in srgb, var(--c-ink) 55%, transparent);
}
.hero__actions { display: inline-flex; gap: 0.85rem; flex-wrap: wrap; }
.btn--glass {
  background: color-mix(in srgb, var(--p-surface) 10%, transparent);
  color: var(--c-on-ink);
  border-color: color-mix(in srgb, var(--p-surface) 30%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover {
  background: color-mix(in srgb, var(--p-surface) 18%, transparent);
  border-color: color-mix(in srgb, var(--p-surface) 50%, transparent);
}
@media (max-width: 860px) {
  /* below this width the copy moves off the photo entirely, onto its own
     plain panel — safer for legibility than overlay text with no scrim,
     and reads as a clean, deliberate break rather than a busy overlay. */
  .hero--split { min-height: 0; }
  .hero__bg { position: relative; inset: auto; height: 62vh; height: 62svh; }
  .hero__creature { object-fit: cover; object-position: right center; } /* portrait crop here, so cover (not contain) keeps the mascot large; scaleX(-1) then flips the crop to the visual left */
  .hero__bg::after { height: 20%; }
  /* stays a positioned element (not static) so its z-index actually applies — otherwise
     .hero__bg (also positioned, for its background) paints on top and hides the copy
     wherever hero__copy's negative margin pulls it up under the photo */
  .hero__content { position: relative; z-index: 2; display: block; }
  .hero__copy {
    position: relative;
    max-width: 100%;
    text-align: center;
    margin-top: 0; /* sits cleanly below the photo/fade — no overlap, so the dark text never sits over the busy image */
    padding: clamp(1.5rem, 6vw, 2.5rem) 1.25rem 1.5rem;
  }
  .hero__title, .hero__sub { text-shadow: none; }
  .hero__title { color: var(--c-ink); }
  .hero__sub { color: var(--c-ink-muted); }
  .hero__actions { justify-content: center; }
  .hero__actions .btn--white { display: none; } /* the header's always-visible "בואו נתחיל" already covers this action on mobile */
  .hero__actions .btn--glass {
    background: transparent;
    color: var(--c-ink);
    border-color: var(--c-border-strong);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero__actions .btn--glass:hover { background: var(--c-bg-cool); border-color: var(--c-ink); }
}

/* ============================================================
   HOW WE WORK — mascot checklist + heading, side by side
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(5rem, 10vw, 9rem);
}
.compare__text { display: grid; gap: 0.25rem; }
.compare__text .section__title { margin-top: 0.25rem; }
.compare__text .section__lead { margin-top: 0.85rem; }
.compare__col {
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--c-border);
}
.compare__col--monster {
  position: relative;
  background: color-mix(in srgb, var(--p-accent) 14%, var(--p-surface));
  border: 2px solid var(--p-accent);
  box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--p-accent) 55%, transparent);
}
.compare__mascot {
  position: absolute;
  top: -34px;
  inset-inline-end: 1.5rem;
  width: 64px; height: auto;
  transform: rotate(6deg);
  filter: drop-shadow(0 10px 14px color-mix(in srgb, var(--c-ink) 25%, transparent));
}
@media (max-width: 760px) {
  .compare__mascot { top: -28px; width: 52px; }
}
.compare__head {
  display: flex; align-items: center; gap: 0.65rem;
  margin-bottom: var(--s-4);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-h3);
  color: var(--c-ink);
}
.compare__badge {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 0.95rem; font-weight: 800;
  flex: 0 0 auto;
  background: var(--p-accent); color: var(--p-surface);
}
.compare__list { display: grid; gap: 0.85rem; list-style: none; margin: 0; padding: 0; }
.compare__list li { display: flex; align-items: flex-start; gap: 0.65rem; line-height: 1.5; color: var(--c-ink); font-weight: 500; }
.compare__list li::before {
  content: "✓";
  flex: 0 0 auto; margin-top: 0.2em; font-size: 0.85em;
  color: var(--p-accent); font-weight: 800;
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING — single all-inclusive package
   ============================================================ */
/* Single centered column, not a 2-up split — a lone heading in its own grid
   track next to the card left a large dead void beside it (the reported
   "imbalanced, empty" section). Centering everything over one plan-card is
   also the standard convention for a single-tier pricing section. */
.pricing-head { margin-bottom: var(--s-6); }
/* A high-contrast card — this is the buy step, and a pastel-on-pastel card
   (peach card on the section's own peach wash, cream text on a cream chip)
   let everything melt together instead of demanding a decision. This vivid
   coral-to-gold fill makes it the obvious focal point: the checklist chips,
   the dark price badge and the CTA button all pop hard against it. */
.pricing-card {
  position: relative;
  max-width: 830px;
  margin-inline: auto;
  border-radius: 40px;
  background: linear-gradient(160deg, var(--c-pricing-card-1) 0%, var(--c-pricing-card-2) 100%);
  color: var(--c-pricing-title);
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
  border: 3px solid var(--p-surface);
  box-shadow:
    0 1.5px 0 color-mix(in srgb, var(--p-surface) 12%, transparent) inset,
    0 44px 80px -30px color-mix(in srgb, var(--p-accent) 55%, transparent),
    0 16px 32px -14px color-mix(in srgb, black 55%, transparent);
}
.pricing-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 92% -6%, color-mix(in srgb, var(--p-accent) 45%, transparent) 0%, transparent 55%),
    radial-gradient(circle at -6% 108%, color-mix(in srgb, var(--p-subtle) 38%, transparent) 0%, transparent 55%);
  z-index: -1;
}
.pricing-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, color-mix(in srgb, var(--p-surface) 10%, transparent) 0%, transparent 30%);
  pointer-events: none;
  z-index: -1;
}
.pricing-card__mascot {
  position: absolute;
  left: 10%; top: 0;
  height: 100%;
  width: auto;
  max-width: none;
}
.pricing-card__top {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--c-pricing-border);
}
.pricing-card__name {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-pricing-name);
  margin-bottom: 0.6rem;
}
.pricing-card__title {
  font-size: var(--fs-display);
  color: var(--c-pricing-title);
  max-width: 14ch;
}
.pricing-card__price {
  /* Deliberately its own dark "badge" rather than matching the card — on the classic
     skin's now-light coral/gold card, a same-tone chip would sink into the background
     instead of popping, and --p-surface itself goes dark in the midnight skin (it IS
     that skin's page background), which would sink it there for a different reason.
     --c-pricing-chip-* stays high-contrast against the card in both skins. */
  text-align: center;
  padding: 0.5rem 1.1rem;
  border-radius: 24px;
  background: var(--c-pricing-chip-bg);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 40%, transparent) inset,
    0 14px 28px -14px color-mix(in srgb, black 60%, transparent);
  transform-origin: 50% 0%;
  animation: price-tag-wiggle 5s ease-in-out infinite;
}
/* A brief jiggle every few seconds, like a price tag someone just flicked —
   not constant motion, so it stays a moment rather than becoming a fidget.
   Rests at the tag's usual -1.5° tilt for most of the cycle. */
@keyframes price-tag-wiggle {
  0%, 65%, 100% { transform: rotate(-1.5deg) scale(1); }
  71% { transform: rotate(-9deg) scale(1.06); }
  77% { transform: rotate(6deg) scale(1.06); }
  83% { transform: rotate(-4deg) scale(1.03); }
  89% { transform: rotate(2deg) scale(1.01); }
  95% { transform: rotate(-1.5deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card__price { animation: none; transform: rotate(-1.5deg); }
}
.pricing-card__amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 3.5vw + 1rem, 3.6rem);
  color: var(--c-pricing-chip-fg);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-card__amount span { font-size: 0.45em; color: color-mix(in srgb, var(--c-pricing-chip-fg) 65%, transparent); font-weight: 600; }
.pricing-card__alt { color: var(--c-ink-muted); font-size: var(--fs-small); margin-top: 0.35rem; }
.pricing-card__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 0.75rem;
  list-style: none; margin: 0 0 var(--s-5); padding: 0;
}
.pricing-card__list li {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--c-ink-soft);
  line-height: 1.4;
  font-size: var(--fs-small);
  font-weight: 600;
  background: #FFF5EF;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 70%, transparent) inset,
    0 6px 14px -10px color-mix(in srgb, var(--p-accent) 55%, transparent);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.pricing-card__list li:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 70%, transparent) inset,
    0 10px 20px -12px color-mix(in srgb, var(--p-accent) 65%, transparent);
}
.pricing-card__list li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--c-accent); color: var(--p-surface);
  font-size: 0.65rem; font-weight: 800;
}
.pricing-card__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
}
.pricing-card__cta {
  position: relative;
  width: 80%;
  margin-inline: auto;
  min-height: 59px;
  padding-block: 0.75rem;
  justify-content: center;
  overflow: hidden;
  padding-left: 145px; /* reserves room for the full-height, uncropped mascot pinned near the left edge */
}
/* The whole button's own background/color intentionally do NOT change on hover — that used to
   flash from the idle gradient to a flat fill (they'd drifted out of sync when .btn--accent's
   idle background became a gradient), which showed as a jarring flatten-then-restore right over
   the mascot photo. Only the text/arrow pill below gets a hover highlight, since it's the one
   area with no photo behind it. */
.pricing-card__cta:hover,
.pricing-card__cta:focus-visible {
  background: linear-gradient(135deg, var(--p-highlight), var(--p-accent));
  color: var(--c-ink);
}
.pricing-card__cta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-block: -0.5rem;
  transition: background-color 180ms ease, color 180ms ease;
}
.pricing-card__cta:hover .pricing-card__cta-label,
.pricing-card__cta:focus-visible .pricing-card__cta-label {
  background: var(--c-accent-strong);
  color: var(--p-surface);
}
@media (max-width: 620px) {
  .pricing-card__cta { width: 100%; min-height: 60px; padding: 0.6rem 1.25rem 0.6rem 95px; }
  .pricing-card__cta-label { white-space: normal; text-align: center; line-height: 1.3; font-size: 0.9rem; }
}
.pricing-card__foot .btn--accent {
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 45%, transparent) inset,
    0 6px 0 var(--c-accent-strong),
    0 14px 26px -12px color-mix(in srgb, var(--p-accent) 60%, transparent);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 180ms ease;
}
.pricing-card__foot .btn--accent:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 45%, transparent) inset,
    0 8px 0 var(--c-accent-strong),
    0 18px 30px -12px color-mix(in srgb, var(--p-accent) 65%, transparent);
}
.pricing-card__foot .btn--accent:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--p-surface) 45%, transparent) inset,
    0 2px 0 var(--c-accent-strong);
}
@media (max-width: 620px) {
  .pricing-card__list { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY FILTERS
   ============================================================ */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: var(--s-6);
}
.gallery-filters__btn {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--c-border-strong);
  color: var(--c-ink-muted);
  background: var(--p-surface);
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.gallery-filters__btn:hover { border-color: var(--c-ink); color: var(--c-ink); }
.gallery-filters__btn.is-active {
  background: var(--c-ink); color: var(--p-surface); border-color: var(--c-ink);
}
.card-work[hidden] { display: none; }

/* ============================================================
   FAQ — accordion (native <details>, zero JS). Branded to match the
   pricing card's peach-gradient-plus-accent-border identity instead of
   a generic bordered list, with a CSS-only open/close animation (the
   grid-template-rows 0fr→1fr technique — no JS, degrades to an instant
   snap on any browser that doesn't animate grid tracks).
   ============================================================ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 1rem; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--p-surface);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--p-surface) 80%, transparent) inset, 0 10px 24px -20px var(--c-shadow);
}
.faq-item[open] {
  border-color: var(--p-accent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--p-surface) 80%, transparent) inset, 0 18px 34px -18px color-mix(in srgb, var(--p-accent) 40%, transparent);
}
.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h3);
  color: var(--c-ink);
  transition: background-color 200ms ease, color 200ms ease;
}
.faq-item__q:hover { background: var(--c-accent-soft); }
.faq-item[open] .faq-item__q { color: var(--c-accent-strong); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--p-accent);
  display: inline-grid; place-items: center;
  color: var(--c-accent-strong);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.faq-item[open] .faq-item__icon {
  background: var(--c-btn-bg);
  border-color: transparent;
  color: var(--c-ink);
  transform: rotate(45deg);
}
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 340ms cubic-bezier(.16,1,.3,1), opacity 200ms ease;
}
.faq-item[open] .faq-item__a { grid-template-rows: 1fr; opacity: 1; }
.faq-item__a > span {
  display: block;
  overflow: hidden;
  padding: 0 1.5rem 1.35rem;
  color: var(--c-ink-soft); /* --c-ink-muted measured at 3.59:1 on white, below the 4.5:1 body-text floor; ink-soft clears it at 6.68:1 */
  line-height: 1.65;
  max-width: 68ch;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item__a { transition: none; }
  .faq-item__icon { transition: background 220ms ease, border-color 220ms ease, color 220ms ease; }
}

/* ============================================================
   SECTION DIVIDER — soft blob shape between sections
   ============================================================ */
.section-divider { display: block; width: 100%; height: clamp(36px, 6vw, 72px); }
.section-divider--flip { transform: scaleY(-1); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   FOOTER — brand mark image
   ============================================================ */
.footer__brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-heading); font-weight: 800;
  color: var(--c-ink); font-size: 1.05rem;
}
.footer__brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.brand__mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
