/* JHome components v3. Colours, type, spacing and radii come from tokens.css;
   motion lives here because tokens.json has no motion family. Class prefix: jh- */

@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

/* ---------- Base ---------- */
.jh { --ease: cubic-bezier(.2, .8, .2, 1); --ease-wipe: cubic-bezier(.65, 0, .35, 1); --dur-1: 150ms; --dur-2: 240ms; --dur-3: 450ms; }
.jh, .jh *, .jh *::before, .jh *::after { box-sizing: border-box; }
.jh { font-family: var(--font-text); font-size: 18px; line-height: 1.55; font-optical-sizing: auto; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
.jh[data-theme], .jh [data-theme] { background: var(--surface); color: var(--ink); }
:where(.jh) img { max-width: 100%; display: block; }
:where(.jh) a { color: inherit; }
:where(.jh) button { font-family: inherit; }
.jh :focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--focus-ring); }
.jh-ic { flex: none; display: block; }
.jh-container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter-desktop); }
.jh-section { padding-block: var(--space-9); }
.jh-chapter { padding-block: var(--space-11); }
.jh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .jh-container { padding-inline: var(--gutter-phone); }
  .jh-section { padding-block: var(--space-7); }
  .jh-chapter { padding-block: var(--space-9); }
}

/* ---------- Type helpers: one family, two widths ---------- */
.jh-display { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; line-height: .9; letter-spacing: -0.02em; text-wrap: balance; }
.jh-display--1 { font-size: clamp(64px, 10vw, 144px); line-height: .84; letter-spacing: -0.025em; }
.jh-display--2 { font-size: clamp(44px, 5vw, 72px); line-height: .9; }
.jh-display--3 { font-size: clamp(36px, 3.4vw, 48px); line-height: .95; letter-spacing: -0.01em; }
.jh-numeral { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: clamp(96px, 10vw, 144px); line-height: .8; letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.jh-title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.01em; }
.jh-lead { margin: 0; font-size: 21px; line-height: 32px; color: var(--ink-muted); max-width: var(--measure); text-wrap: pretty; }
.jh-muted { color: var(--ink-muted); }
.jh-small { font-size: 14px; line-height: 20px; }
.jh-fine { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
@media (max-width: 600px) { .jh-lead { font-size: 18px; line-height: 28px; } }

/* ---------- Button: one pill, decided once ---------- */
.jh-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 1.5px solid transparent; background: transparent; color: var(--ink); font-family: var(--font-text); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-1) ease, color var(--dur-1) ease, border-color var(--dur-1) ease; }
.jh-btn--primary { background: var(--action); color: var(--on-action); }
.jh-btn--primary:hover { background: var(--action-hover); }
.jh-btn--outline { color: var(--ink); border-color: var(--line-strong); }
.jh-btn--outline:hover { border-color: var(--ink); }
.jh-btn--whatsapp { background: var(--whatsapp); color: var(--on-whatsapp); }
.jh-btn--whatsapp:hover { filter: brightness(.95); }
.jh-btn--quiet { min-height: 44px; padding-inline: 0; color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.jh-btn--quiet:hover { text-decoration-thickness: 2.5px; }
.jh-btn--lg { min-height: 56px; padding: 0 var(--space-6); font-size: 17px; }
.jh-btn--sm { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.jh-btn--block { display: flex; width: 100%; }
.jh-btn[disabled], .jh-btn[aria-disabled="true"] { background: var(--surface-alt); color: var(--ink-muted); border-color: transparent; cursor: not-allowed; }
.jh-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; flex: none; }
.jh-iconbtn:hover { background: var(--surface-alt); }
.jh-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font: 700 13px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.jh-iconbtn .jh-count { position: absolute; top: 0; right: -2px; }
.jh-link { font-weight: 600; color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.jh-link:hover { text-decoration-thickness: 2.5px; }

/* ---------- Chip ---------- */
.jh-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.jh-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.jh-chips--scroll::-webkit-scrollbar { display: none; }
.jh-chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-family: var(--font-text); font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none; flex: none; }
.jh-chip:hover { border-color: var(--ink); }
.jh-chip[aria-pressed="true"], .jh-chip.is-on { background: var(--action); color: var(--on-action); border-color: var(--action); }
.jh-chip-n { font-weight: 400; }

/* ---------- Badge and sample tag ---------- */
.jh-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--surface-alt); color: var(--ink); font: 600 14px/1 var(--font-text); white-space: nowrap; }
.jh-badge--ink { background: var(--action); color: var(--on-action); }
.jh-badge--accent { background: var(--accent); color: var(--on-accent); }
.jh-badge--photo { background: var(--on-scrim); color: var(--scrim-ink); }
.jh-sample { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); border: 1.5px dashed var(--line-strong); color: var(--ink-muted); font: 500 13px/1 var(--font-text); white-space: nowrap; vertical-align: middle; }

/* ---------- Section header ---------- */
.jh-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-7); }
.jh-sechead-text { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; max-width: 920px; }
.jh-sechead-end { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

/* ---------- Global header: a plain bar ---------- */
.jh-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--surface); color: var(--ink); }
.jh-header-in { display: flex; align-items: center; gap: var(--space-7); height: var(--header-h); max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter-desktop); }
.jh-wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; flex: none; }
.jh-nav { display: flex; gap: var(--space-6); }
.jh-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1 var(--font-text); color: var(--ink); text-decoration: none; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.jh-nav a:hover, .jh-nav a[aria-current="page"] { text-decoration-line: underline; }
.jh-header-end { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.jh-lang { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1 var(--font-text); color: var(--ink); text-decoration: none; }
.jh-lang:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 960px) {
  .jh-nav { display: none; }
  .jh-header-in { height: 60px; gap: var(--space-3); padding-inline: var(--gutter-phone); }
  .jh-wordmark { font-size: 30px; }
}

/* ---------- Job box: the hero request field ---------- */
.jh-jobbox { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 680px; }
.jh-jobbox > label { font: 600 16px/20px var(--font-text); color: var(--ink); }
.jh-jobbox-row { display: flex; align-items: center; gap: var(--space-2); min-height: 64px; padding: 6px 6px 6px var(--space-5); border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.jh-jobbox-row:focus-within { border-color: var(--focus); box-shadow: inset 0 0 0 1.5px var(--focus); }
.jh-jobbox-row input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 400 17px/1.3 var(--font-text); outline: none; }
.jh-jobbox-row input::placeholder { color: var(--ink-muted); }
.jh-jobbox-row input:focus-visible { box-shadow: none; }
.jh-jobbox-hint { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@media (max-width: 600px) {
  .jh-jobbox-row { flex-wrap: wrap; padding: 6px; border-radius: var(--radius-lg); }
  .jh-jobbox-row input { flex-basis: 100%; padding-inline: 14px; }
  .jh-jobbox-row .jh-btn { width: 100%; }
}

/* ---------- Story rings ---------- */
.jh-stories { display: flex; gap: var(--space-5); overflow-x: auto; scrollbar-width: none; margin: 0; padding: var(--space-2) 4px; list-style: none; }
.jh-stories::-webkit-scrollbar { display: none; }
.jh-story { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); flex: none; width: 96px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 14px/1.25 var(--font-text); text-align: center; cursor: pointer; text-decoration: none; }
.jh-story-ring { display: block; width: 88px; height: 88px; padding: 3px; border-radius: 50%; border: 3px solid var(--accent); }
.jh-story-ring img { width: 100%; height: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.jh-story.is-seen .jh-story-ring { padding: 4px; border: 2px solid var(--line-strong); }
.jh-story[aria-pressed="true"] .jh-story-ring { border-color: var(--ink); }

/* ---------- Story viewer ---------- */
.jh-storyview { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 640px; overflow: hidden; background: var(--brand-night); color: var(--on-scrim); }
.jh-storyview-media { position: absolute; inset: 0; margin: 0; }
.jh-storyview-media img { width: 100%; height: 100%; object-fit: cover; }
.jh-storyview-tag { position: absolute; left: var(--space-4); top: 104px; z-index: 2; }
.jh-storyview-tap { position: absolute; top: 0; bottom: 0; z-index: 1; width: 40%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.jh-storyview-tap--prev { left: 0; }
.jh-storyview-tap--next { right: 0; width: 60%; }
.jh-storyview-top { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-7); background: linear-gradient(to bottom, var(--scrim), transparent); }
.jh-story-bars { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.jh-story-bars li { position: relative; flex: 1; height: 3px; border-radius: var(--radius-pill); overflow: hidden; }
.jh-story-bars li::before { content: ""; position: absolute; inset: 0; background: var(--on-scrim); opacity: .4; }
.jh-story-bars span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--on-scrim); }
.jh-story-bars .is-done span { width: 100%; }
.jh-story-bars .is-on span { width: 100%; animation: jh-fill 5s linear backwards; }
.jh-storyview-head { display: flex; align-items: center; gap: var(--space-3); }
.jh-storyview-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.jh-storyview-head b { display: block; font-size: 15px; line-height: 20px; }
.jh-storyview-head span { display: block; font-size: 13px; line-height: 18px; }
.jh-storyview-head .jh-iconbtn { margin-left: auto; color: var(--on-scrim); }
.jh-storyview-head .jh-iconbtn:hover { background: var(--scrim); }
.jh-storyview-foot { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-4); margin-top: auto; padding: var(--space-8) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--scrim) 55%, transparent); }
.jh-storyview-caption { margin: 0; font-size: 17px; line-height: 24px; font-weight: 500; }
.jh-storyview-actions { display: flex; gap: var(--space-2); }
.jh-storyview-actions .jh-btn { flex: 1; }

/* ---------- Service tile: a service shown like a product ---------- */
.jh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-7) var(--tile-gap); margin: 0; padding: 0; list-style: none; }
.jh-tiles--rail { display: flex; gap: var(--tile-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.jh-tiles--rail::-webkit-scrollbar { display: none; }
.jh-tiles--rail > .jh-tile { flex: 0 0 272px; scroll-snap-align: start; }
@media (max-width: 960px) { .jh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jh-tile { position: relative; display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.jh-tile-frame { position: relative; }
.jh-tile-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-alt); }
.jh-tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jh-tile-before, .jh-tile-tag { opacity: 0; transition: opacity var(--dur-2) ease; }
.jh-tile-frame:hover .jh-tile-before, .jh-tile-media:focus-visible .jh-tile-before, .jh-tile-frame:hover .jh-tile-tag, .jh-tile-media:focus-visible .jh-tile-tag, .jh-tile-frame.is-peek .jh-tile-before, .jh-tile-frame.is-peek .jh-tile-tag { opacity: 1; }
.jh-tile-tag { position: absolute; top: var(--space-3); left: var(--space-3); }
.jh-tile-add { position: absolute; right: var(--space-3); bottom: var(--space-3); }
.jh-tile-body { display: flex; flex-direction: column; gap: 4px; }
.jh-tile-name { margin: 0; font: 600 18px/26px var(--font-text); }
.jh-tile-name a { color: inherit; text-decoration: none; }
.jh-tile-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jh-tile-meta { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.jh-tile-rating { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.jh-tile-rating b { color: var(--ink); font-weight: 600; }
.jh-add { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--on-scrim); color: var(--scrim-ink); box-shadow: var(--shadow-raise); cursor: pointer; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.jh-add:hover, .jh-add[aria-pressed="true"] { background: var(--brand-night); color: var(--brand-paper); }
.jh-add--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.jh-add--line:hover, .jh-add--line[aria-pressed="true"] { background: var(--action); color: var(--on-action); box-shadow: none; }

/* ---------- Before / After slider ---------- */
.jh-ba { --pos: 50%; position: relative; margin: 0; overflow: hidden; background: var(--surface-alt); user-select: none; touch-action: pan-y; }
.jh-ba > img, .jh-ba-before img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.jh-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.jh-ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--on-scrim); pointer-events: none; }
.jh-ba-knob { position: absolute; top: 50%; left: var(--pos); display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--on-scrim); color: var(--scrim-ink); box-shadow: var(--shadow-raise); pointer-events: none; }
.jh-ba-tag { position: absolute; bottom: var(--space-4); padding: 8px 12px; border-radius: var(--radius-pill); font: 600 14px/1 var(--font-text); pointer-events: none; }
.jh-ba-tag--before { left: var(--space-4); background: var(--brand-cedar); color: var(--brand-paper); }
.jh-ba-tag--after { right: var(--space-4); background: var(--on-scrim); color: var(--scrim-ink); }
.jh-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.jh-ba-range:focus-visible ~ .jh-ba-knob { box-shadow: var(--focus-ring); }
.jh-ba--intro { animation: jh-wipe 1600ms var(--ease-wipe) 600ms backwards; }
.jh-picks { display: flex; gap: var(--space-4); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.jh-picks button { display: flex; flex-direction: column; gap: var(--space-2); width: 176px; padding: 0; border: 0; background: none; color: var(--ink-muted); font: 600 15px/20px var(--font-text); text-align: left; cursor: pointer; }
.jh-picks img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.jh-picks button:hover, .jh-picks button[aria-pressed="true"] { color: var(--ink); }
.jh-picks button[aria-pressed="true"] img { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Shop tag (hotspot on a photo) ---------- */
.jh-hotspot { position: absolute; display: inline-flex; align-items: center; gap: var(--space-2); padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transform: translate(-12px, -12px); }
.jh-hotspot-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--on-scrim); box-shadow: 0 0 0 4px var(--scrim); }
.jh-hotspot-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-cedar); }
.jh-hotspot-label { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--on-scrim); color: var(--scrim-ink); font: 600 14px/1 var(--font-text); white-space: nowrap; box-shadow: var(--shadow-float); }

/* ---------- Feed (Instagram-style grid) ---------- */
.jh-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--feed-gap); margin: 0; padding: 0; list-style: none; }
.jh-feed--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jh-feed-item { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; padding: 0; border: 0; background: var(--surface-alt); color: var(--on-scrim); cursor: pointer; text-decoration: none; }
.jh-feed-item img { width: 100%; height: 100%; object-fit: cover; }
.jh-feed-flag { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--scrim); color: var(--on-scrim); }
.jh-feed-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: var(--space-5); background: var(--scrim); color: var(--on-scrim); text-align: left; opacity: 0; transition: opacity var(--dur-2) ease; }
.jh-feed-item:hover .jh-feed-hover, .jh-feed-item:focus-visible .jh-feed-hover, .jh-feed-item.is-peek .jh-feed-hover { opacity: 1; }
.jh-feed-hover b { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 30px; line-height: .95; letter-spacing: -0.02em; }
.jh-feed-hover span { font-size: 14px; line-height: 20px; }
.jh-profile { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.jh-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; padding: 3px; border: 3px solid var(--accent); background: var(--surface); }

/* ---------- Overlays: post viewer, drawer, toast ---------- */
.jh-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); width: 100%; padding: 0; border: 0; background: var(--scrim); cursor: pointer; }
.jh-modal { position: fixed; inset: 0; z-index: var(--z-overlay); display: grid; place-items: center; padding: var(--space-7); pointer-events: none; }
.jh-modal > * { pointer-events: auto; }
.jh-post { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); width: min(1080px, 100%); max-height: 100%; overflow: auto; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-modal); }
.jh-post-side { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); min-width: 0; }
.jh-post-author { display: flex; align-items: center; gap: var(--space-3); }
.jh-post-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.jh-post-caption { margin: 0; font-size: 17px; line-height: 26px; }
.jh-post-services { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.jh-post-service { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.jh-post-service:first-child { border-top: 1px solid var(--line); }
.jh-post-service-name { flex: 1; min-width: 0; font-weight: 600; font-size: 16px; line-height: 22px; }
@media (max-width: 760px) { .jh-post { grid-template-columns: minmax(0, 1fr); } }
.jh-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-overlay); display: flex; flex-direction: column; width: min(460px, 100%); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-float); }
.jh-drawer--static { position: relative; top: auto; right: auto; bottom: auto; z-index: auto; height: 100%; }
.jh-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5); }
.jh-drawer-body { flex: 1; display: flex; flex-direction: column; gap: var(--space-5); overflow: auto; padding: 0 var(--space-5) var(--space-5); }
.jh-drawer-foot { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--space-5) var(--space-5); border-top: 1px solid var(--line); }
.jh-toast { position: fixed; left: 50%; bottom: var(--space-6); z-index: var(--z-toast); display: flex; align-items: center; gap: var(--space-4); max-width: calc(100% - 32px); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--brand-night); color: var(--brand-paper); font-size: 15px; line-height: 20px; box-shadow: var(--shadow-float); transform: translateX(-50%); animation: jh-rise var(--dur-2) var(--ease) backwards; }
.jh-toast a { color: inherit; font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.jh-toast--static { position: static; transform: none; animation: none; }

/* ---------- Job size selector ---------- */
.jh-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.jh-sizes legend { margin-bottom: var(--space-3); padding: 0; font: 600 16px/20px var(--font-text); }
.jh-size { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); cursor: pointer; }
.jh-size input { position: absolute; opacity: 0; pointer-events: none; }
.jh-size b { font-size: 15px; line-height: 20px; }
.jh-size small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.jh-size:has(input:checked), .jh-size.is-on { border: 2px solid var(--ink); padding: 11.5px 13.5px; }
.jh-size:has(input:focus-visible) { box-shadow: var(--focus-ring); }

/* ---------- Field ---------- */
.jh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jh-field > label, .jh-label { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.jh-input { width: 100%; height: 52px; padding: 0 var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 1.3; }
.jh-input::placeholder { color: var(--ink-muted); }
.jh-input:focus { outline: none; border-color: var(--ink); box-shadow: var(--focus-ring); }
textarea.jh-input { height: auto; min-height: 112px; padding: 14px var(--space-4); line-height: 1.5; resize: vertical; }
.jh-hint { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.jh-field--error .jh-input { border-color: var(--danger); }
.jh-error { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--danger); }
.jh-check { display: flex; align-items: flex-start; gap: var(--space-3); font-size: 14px; line-height: 20px; cursor: pointer; }
.jh-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.jh-drop { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-alt); }
.jh-thumbs { display: flex; gap: var(--space-2); }
.jh-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Estimate list ---------- */
.jh-bag { display: flex; flex-direction: column; gap: var(--space-5); background: var(--surface); color: var(--ink); }
.jh-bag-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.jh-bag-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
.jh-bag-item img { width: 72px; height: 90px; object-fit: cover; }
.jh-bag-item b { display: block; font-size: 16px; line-height: 22px; }
.jh-bag-item span { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* ---------- Ratings and reviews ---------- */
.jh-stars { display: inline-flex; gap: 2px; color: var(--star); }
.jh-rating { display: flex; flex-direction: column; gap: var(--space-6); }
.jh-rating-top { display: flex; align-items: flex-end; gap: var(--space-5); flex-wrap: wrap; }
.jh-rating-meta { display: flex; flex-direction: column; gap: var(--space-2); padding-bottom: 8px; }
.jh-rating-meta p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.jh-bars { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; max-width: 420px; }
.jh-bar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; align-items: center; gap: var(--space-3); font-size: 14px; line-height: 20px; }
.jh-bar > span:last-child { text-align: right; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.jh-bar-track { height: 8px; border-radius: var(--radius-pill); background: var(--surface); overflow: hidden; }
.jh-bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.jh-review { display: flex; flex-direction: column; gap: var(--space-4); margin: 0; }
.jh-review blockquote { margin: 0; font-size: 21px; line-height: 32px; text-wrap: pretty; }
.jh-review figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.jh-review figcaption b { color: var(--ink); font-size: 17px; line-height: 24px; font-weight: 600; }

/* ---------- Trust bar and live status ---------- */
.jh-trust { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin: 0; padding: 0; list-style: none; }
.jh-trust li { display: flex; align-items: center; gap: var(--space-2); font: 600 15px/20px var(--font-text); }
.jh-live { display: inline-flex; align-items: center; gap: var(--space-2); font: 600 15px/20px var(--font-text); }
.jh-live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--success); flex: none; }
.jh-live.is-closed::before { background: var(--ink-muted); }

/* ---------- Steps: a real sequence ---------- */
.jh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); margin: 0; padding: 0; list-style: none; counter-reset: jhstep; }
.jh-step { display: flex; flex-direction: column; gap: var(--space-3); counter-increment: jhstep; }
.jh-step::before { content: counter(jhstep); margin-bottom: var(--space-3); font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 96px; line-height: .8; letter-spacing: -0.04em; color: var(--ink); }
.jh-step h3 { margin: 0; font: 700 24px/30px var(--font-text); letter-spacing: -0.01em; }
.jh-step p { margin: 0; color: var(--ink-muted); max-width: 30em; }
@media (max-width: 960px) { .jh-steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); } .jh-step::before { font-size: 72px; } }

/* ---------- Mobile action bar ---------- */
.jh-actionbar { position: sticky; bottom: 0; z-index: var(--z-fab); display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: var(--space-2); padding: var(--space-2) var(--gutter-phone) calc(var(--space-2) + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
.jh-actionbar .jh-btn { min-height: 48px; padding: 0 var(--space-3); font-size: 15px; }

/* ---------- Footer with the full-width wordmark ---------- */
.jh-footer { padding-block: var(--space-10) var(--space-6); }
.jh-footer-grid { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.jh-footer h2 { margin: 0 0 var(--space-3); font: 700 17px/24px var(--font-text); }
.jh-footer ul { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px; color: var(--ink-muted); overflow-wrap: anywhere; }
.jh-footer a { text-decoration: none; }
.jh-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.jh-footer-mark { display: block; width: 100%; height: auto; margin-top: var(--space-10); fill: currentColor; overflow: visible; }
.jh-footer-mark text { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 473px; letter-spacing: 0; }
.jh-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 760px) { .jh-footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion: one orchestrated moment, the rest answers the person ---------- */
@keyframes jh-wipe { from { --pos: 96%; } to { --pos: 50%; } }
@keyframes jh-fill { from { width: 0; } to { width: 100%; } }
@keyframes jh-rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .jh *, .jh *::before, .jh *::after { transition: none !important; animation: none !important; }
}
