/* Salt Studios: the premium layer, shared by every page. Loaded after the kit's stylesheets and the page's :root. */

/* ---------- tokens: near-black buttons, square corners, a display face with real weight range ---------- */
:root {
  --p-action: #24211d; --p-action-ink: #ece8e2;
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --r-lg: 2px; --r-md: 2px; --r-sm: 2px; --r-btn: 2px;
  --salt-pad: clamp(96px, 11vw, 176px);
}

/* ---------- paper grain over the whole page (very light, never on top of the nav's words) ---------- */
body { position: relative; }
body::before { content: none; }
/* the grain is a small image tile on the page itself: it scrolls with the page and needs no blending, so it costs nothing per frame */
body { background-image: url("img/grain.png"); background-repeat: repeat; background-size: 160px 160px; }
main, footer.closing { position: relative; z-index: 1; }
@media print { body::before { display: none; } }

/* ---------- the Salt mark: a salt crystal ---------- */
.salt-mark { display: inline-block; width: 22px; height: 22px; flex: none; color: currentColor; }
.salt-mark svg { display: block; width: 100%; height: 100%; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- buttons: flat, square, near-black ---------- */
.btn { border-radius: var(--r-btn); font-weight: 500; letter-spacing: 0; }

/* ---------- headings: the display face; weight contrast where a heading has two sentences ---------- */
h1, h2, .statement-band__text { font-family: var(--font-display); }
.h-strong { font-weight: 700; display: block; letter-spacing: -0.035em; }
.h-light { font-weight: 300; display: block; letter-spacing: -0.03em; }

/* small numbered labels above section headings */
.salt-label { display: flex; gap: 12px; align-items: baseline; margin: 0 0 var(--s-5); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.salt-label span:first-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.salt-label::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; max-width: 120px; }
.ground-inverse .salt-label span:first-child { color: var(--p-inv-ink); }

/* ---------- every section flows at its own height, with generous room ---------- */
main > section.section:not([data-moment="photo-chapters"]) { height: auto !important; min-height: 0 !important; padding-top: var(--salt-pad) !important; padding-bottom: 0 !important; }
footer.closing { height: auto !important; min-height: 0 !important; }

/* ---------- hero: type first, the work wide beneath it ---------- */
.salt-hero { height: auto !important; min-height: 0 !important; padding-top: calc(var(--nav) + clamp(64px, 9vw, 140px)); padding-bottom: 0; }
.salt-hero h1 { margin: 0; max-width: 17ch; font-size: clamp(44px, 6.6vw, 104px); line-height: 1.0; }
.salt-hero__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(32px, 4vw, 56px); align-items: end; }
.salt-hero__lead { grid-column: 1 / span 6; margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink); max-width: 46ch; }
.salt-hero__actions { grid-column: 8 / -1; justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; }
.salt-hero__frame { margin: clamp(56px, 7vw, 104px) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.salt-hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
@media (max-width: 1023px) {
  .salt-hero__row { display: block; }
  .salt-hero__actions { justify-self: start; margin-top: var(--s-6); }
  .salt-hero__frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 639px) {
  .salt-hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- statement band: the same weight contrast, on darker stone ---------- */
main > section#reputation.statement-band { display: block; margin-top: var(--salt-pad); padding-block: clamp(88px, 10vw, 160px) !important; background: var(--surface); }
.statement-band__text { font-size: clamp(36px, 5vw, 80px) !important; line-height: 1.04 !important; max-width: 19ch !important; }

/* ---------- services: a numbered list across the page ---------- */
.salt-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s-5); }
.salt-head h2 { grid-column: 1 / span 7; margin: 0; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 400; }
.salt-head p { grid-column: 8 / -1; margin: 0; align-self: end; color: var(--muted); font-size: 17px; line-height: 1.6; }
@media (max-width: 1023px) { .salt-head h2, .salt-head p { grid-column: 1 / -1; } }
.salt-list { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.salt-list li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.salt-list__num { grid-column: 1 / span 1; font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 10px; font-variant-numeric: tabular-nums; }
.salt-list__name { grid-column: 2 / span 5; margin: 0; font: 400 clamp(24px, 2.4vw, 34px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.salt-list__text { grid-column: 8 / -1; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; padding-top: 6px; }
@media (max-width: 1023px) {
  .salt-list li { grid-template-columns: 48px 1fr; row-gap: 10px; }
  .salt-list__num { grid-column: 1; grid-row: 1; padding-top: 8px; }
  .salt-list__name { grid-column: 2; }
  .salt-list__text { grid-column: 2; padding-top: 0; }
}
.salt-more { margin: var(--s-7) 0 0; }

/* ---------- process (photo-chapters): square corners on its photographs ---------- */
#steps .mo-ph__pic, #steps .mo-ph__pic img { border-radius: var(--r-lg); }

/* ---------- about: the mark large beside the photograph, then the card ---------- */
.salt-about__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.salt-about__mark { grid-column: 1 / span 6; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; color: var(--ink); }
.salt-about__mark svg { width: 64%; height: auto; }
.salt-about__photo { grid-column: 7 / -1; margin: 0; aspect-ratio: 1; overflow: hidden; height: auto !important; border-radius: var(--r-lg) !important; }
.salt-about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.salt-card { margin-top: 24px; background: var(--surface); padding: clamp(28px, 4.5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.salt-card__who { grid-column: 1 / span 4; }
.salt-card__name { margin: 0; font: 600 15px/1.3 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; }
.salt-card__role { margin: 0; color: var(--muted); }
.salt-card__body { grid-column: 6 / -1; }
.salt-card__body p { margin: 0 0 1em; max-width: 62ch; }
.salt-card__body p:first-child { font-size: 20px; line-height: 1.5; }
.salt-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: var(--s-6) 0 0; padding-top: var(--s-6); border-top: 1px solid var(--line); }
.salt-facts dt { font-weight: 500; }
.salt-facts dd { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 1023px) {
  .salt-about__top { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .salt-about__mark { grid-column: 1; }
  .salt-about__photo { grid-column: 2; }
  .salt-card { display: block; }
  .salt-card__body { margin-top: var(--s-6); }
}

/* ---------- questions: hairline rows, full width ---------- */
#questions .qa-list { gap: 0 !important; margin-top: clamp(40px, 5vw, 72px) !important; border-top: 1px solid var(--ink); max-width: none; }
#questions .qa { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; }
#questions .qa summary { padding: clamp(18px, 2vw, 26px) 0 !important; min-height: 0; }
#questions .qa summary h3 { font: 400 clamp(18px, 1.6vw, 22px)/1.35 var(--font-display) !important; letter-spacing: -0.01em !important; }
#questions .qa p { padding: 0 0 clamp(20px, 2vw, 28px) !important; max-width: 70ch; color: var(--muted); }

/* ---------- footer: light stone, the close, four lines, and the name set across the page ---------- */
footer.closing.salt-footer { background: transparent; color: var(--ink); padding-top: var(--salt-pad); padding-bottom: 0; }
.salt-footer .closing__cta { padding-bottom: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.salt-footer .closing__cta h2 { font-weight: 400; }
.salt-footer__base { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: var(--s-7); }
.salt-footer__lines { grid-column: 1 / span 6; }
.salt-footer__lines p { margin: 0; color: var(--muted); line-height: 1.7; }
.salt-footer__lines .salt-footer__name { color: var(--ink); font-weight: 500; }
.salt-footer__credits { grid-column: 7 / -1; justify-self: end; align-self: end; margin: 0; font-size: 14px; }
.salt-footer__credits a { color: var(--muted); }
.salt-wordmark { display: flex; align-items: center; gap: 0.18em; margin: clamp(48px, 6vw, 96px) 0 0; padding: 0 0 clamp(8px, 1vw, 16px); font: 700 clamp(48px, 15.6vw, 236px)/0.82 var(--font-display); letter-spacing: -0.05em; color: var(--ink); white-space: nowrap; overflow: hidden; }
.salt-wordmark .salt-mark { width: 0.62em; height: 0.62em; }
@media (max-width: 1023px) {
  .salt-footer__base { display: block; }
  .salt-footer__credits { margin-top: var(--s-6); }
  .salt-wordmark { font-size: 14.6vw; }
}

/* approach heading: as wide as the other headings */
#steps .mo-ph__head { max-width: none; }
#steps .mo-ph__head h2 { max-width: 16ch; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.06; }
#steps .mo-ph__head > p:not(.salt-label) { max-width: 52ch; color: var(--muted); }

/* =====================================================================================================
   Round 2: lighter cream, light and dark rhythm, the name on the first screen, services as type
   ===================================================================================================== */
:root {
  --p-bg: #f0ebe3; --p-surface: #e6dfd4; --p-ink: #22201c; --p-muted: #5c564e;
  --p-inv-bg: #22201c; --p-inv-surface: #2d2a26; --p-inv-ink: #f0ebe3; --p-inv-muted: #a7a19a;
  --p-action: #22201c; --p-action-ink: #f0ebe3;
}

/* dark bands: near-black ground, cream words */
.salt-dark { background: var(--p-inv-bg) !important; color: var(--p-inv-ink); --ink: var(--p-inv-ink); --muted: var(--p-inv-muted); --line: rgba(240,235,227,.16); }
.salt-dark .salt-label span:first-child { color: var(--p-inv-ink); }
.salt-dark .btn--primary { background: var(--p-inv-ink); color: var(--p-inv-bg); border-color: var(--p-inv-ink); }

/* hero: a calmer headline, the name set across the foot of the first screen, the work below */
.salt-hero { padding-top: calc(var(--nav) + clamp(48px, 7vw, 112px)); }
.salt-hero__first { min-height: calc(100svh - var(--nav) - clamp(48px, 7vw, 112px)); display: flex; flex-direction: column; }
.salt-hero h1 { font-size: clamp(36px, 4.4vw, 68px); line-height: 1.02; max-width: 22ch; }
.salt-hero__name { margin: auto 0 0; padding-top: clamp(40px, 6vw, 80px); display: flex; align-items: center; gap: 0.16em; font: 700 clamp(56px, 15.6vw, 236px)/0.8 var(--font-display); letter-spacing: -0.055em; color: var(--ink); white-space: nowrap; overflow: hidden; }
.salt-hero__name .salt-mark { width: 0.6em; height: 0.6em; }
.salt-hero__frame { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 639px) {
  .salt-hero__first { min-height: calc(100svh - var(--nav) - 48px); }
  .salt-hero__name { font-size: 14.4vw; }
}

/* statement band, now dark */
main > section#reputation.statement-band { background: var(--p-inv-bg) !important; color: var(--p-inv-ink); }
#reputation .h-light { color: var(--p-inv-muted); }

/* services: three names set large; on a pointer, the one you are on stays and the others fade */
.salt-big { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.salt-big li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding: clamp(20px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); transition: opacity .35s cubic-bezier(.22,1,.36,1); }
.salt-big__num { grid-column: 1 / span 1; align-self: start; padding-top: 0.6em; font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.salt-big__name { grid-column: 2 / span 7; margin: 0; font: 600 clamp(36px, 6vw, 96px)/0.98 var(--font-display); letter-spacing: -0.045em; }
.salt-big__text { grid-column: 9 / -1; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; padding-bottom: 0.4em; }
@media (hover: hover) and (min-width: 1024px) { .salt-big:hover li:not(:hover) { opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .salt-big li { transition: none; } }
@media (max-width: 1023px) {
  .salt-big li { grid-template-columns: 40px 1fr; row-gap: 12px; }
  .salt-big__num { grid-column: 1; grid-row: 1; padding-top: 0.5em; }
  .salt-big__name { grid-column: 2; }
  .salt-big__text { grid-column: 2; padding-bottom: 0; }
}

/* questions, now on a dark band */
main > section#questions.salt-dark { margin-top: var(--salt-pad); padding-bottom: var(--salt-pad) !important; }
#questions.salt-dark .qa-list { border-top-color: var(--p-inv-ink); }
#questions.salt-dark .qa__icon { color: var(--p-inv-muted); }
#questions.salt-dark .qa summary:hover .qa__icon { color: var(--p-inv-ink); }

/* footer: the close on cream, then a dark base with the email large and the name in cream */
.salt-footer .closing__cta { border-bottom: 0; }
.salt-footer__dark { margin-top: 0; padding-top: clamp(56px, 7vw, 104px); }
.salt-footer__email { display: inline-block; margin: 0 0 clamp(40px, 5vw, 72px); font: 500 clamp(28px, 4.4vw, 64px)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--p-inv-ink); text-decoration: none; border-bottom: 1px solid rgba(240,235,227,.3); }
.salt-footer__email:hover { border-bottom-color: var(--p-inv-ink); }
.salt-footer__dark .salt-footer__lines p { color: var(--p-inv-muted); }
.salt-footer__dark .salt-footer__lines .salt-footer__name { color: var(--p-inv-ink); }
.salt-footer__dark .salt-footer__credits a { color: var(--p-inv-muted); }
.salt-footer__dark .salt-wordmark { color: var(--p-inv-ink); }
.salt-footer__dark .salt-footer__base { padding-top: 0; }

/* =====================================================================================================
   Round 3: Clash Grotesk for headings, Author for text (Fontshare, Indian Type Foundry, free for commercial use)
   ===================================================================================================== */
:root {
  --font-display: "Clash Grotesk", "Author", system-ui, sans-serif;
  --font-text: "Author", system-ui, sans-serif;
  --display-tracking: 0; --display-tracking-xl: -0.01em;
}
body { font-family: var(--font-text); }
.h-strong { font-weight: 600; letter-spacing: 0; }
.h-light { font-weight: 400; letter-spacing: 0; }
.salt-hero h1, .statement-band__text { line-height: 0.95 !important; }
.salt-head h2, #steps .mo-ph__head h2 { letter-spacing: 0; font-weight: 500; }
.salt-big__name { font-weight: 600; letter-spacing: -0.01em; }
.salt-hero__name, .salt-wordmark { font-weight: 600; letter-spacing: -0.03em; }
.nav__logo { font-weight: 600; letter-spacing: 0; }
.salt-footer__email { font-weight: 500; letter-spacing: 0; }
#questions .qa summary h3 { font-weight: 500 !important; letter-spacing: 0 !important; }
.salt-hero__lead, .salt-head p, .salt-big__text, .salt-card__body p { font-weight: 500; }
/* Clash Grotesk is wider: the name sized to end on the right line */
.salt-hero__name, .salt-wordmark { font-size: clamp(48px, 13.3vw, 200px) !important; }
@media (max-width: 639px) { .salt-hero__name, .salt-wordmark { font-size: 14.2vw !important; } }

/* answers with more than one paragraph */
#questions .qa__a { padding: 0 0 clamp(20px, 2vw, 28px); max-width: 70ch; }
#questions .qa__a p { padding: 0 !important; margin: 0 0 0.9em; color: var(--muted); }
#questions .qa__a p:last-child { margin-bottom: 0; }

/* =====================================================================================================
   Round 4: no mark; the name in words only
   ===================================================================================================== */
.nav__logo { gap: 0; }
.salt-hero__name, .salt-wordmark { gap: 0; font-size: clamp(56px, 17.3vw, 252px) !important; }
@media (max-width: 639px) { .salt-hero__name, .salt-wordmark { font-size: 16.4vw !important; } }
.salt-about__name { grid-column: 1 / span 6; align-self: end; margin: 0; font: 600 clamp(56px, 9.4vw, 148px)/0.9 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 1023px) { .salt-about__name { grid-column: 1; font-size: clamp(40px, 10vw, 96px); } }

/* about: the heading level with the photo's top, the name at the foot of the same column */
.salt-about__left { grid-column: 1 / span 6; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7); }
.salt-about__left h2 { margin: 0; max-width: 16ch; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.06; font-weight: 500; letter-spacing: 0; }
.salt-about__left .salt-about__name { grid-column: auto; align-self: auto; }
.salt-about__top { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 1023px) {
  .salt-about__top { display: block; }
  .salt-about__left { gap: var(--s-6); }
  .salt-about__photo { margin-top: var(--s-6); }
}
/* phones and tablets: the heading across the top, then the name beside a square photo */
@media (max-width: 1023px) {
  .salt-about__top { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: var(--s-6); }
  .salt-about__left { display: contents; }
  .salt-about__left h2 { grid-column: 1 / -1; grid-row: 1; max-width: none; font-size: clamp(30px, 7.4vw, 48px); }
  .salt-about__left .salt-about__name { grid-column: 1; grid-row: 2; align-self: end; font-size: clamp(36px, 11vw, 80px); }
  .salt-about__photo { grid-column: 2; grid-row: 2; margin-top: 0 !important; aspect-ratio: 1; }
}

/* =====================================================================================================
   Motion touches (assets/salt.js): rising wordmarks, services hover, smooth questions
   ===================================================================================================== */
/* wordmark letters rise from a mask; without the script (or under reduced motion) they simply stand */
.salt-rise { overflow: hidden; padding-bottom: 0.06em; }
.salt-rise:not(.is-in) .salt-l { will-change: transform; }
.salt-rise .salt-l { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i) * 45ms); }
.salt-rise.is-in .salt-l { transform: none; }

/* services: the hovered name slides a little and an arrow draws in */
.salt-big__name { position: relative; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.salt-big__name::after { content: "\2192"; display: inline-block; margin-left: 0.25em; font-weight: 400; opacity: 0; transform: translateX(-0.3em); transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (min-width: 1024px) {
  .salt-big li:hover .salt-big__name { transform: translateX(16px); }
  .salt-big li:hover .salt-big__name::after { opacity: 1; transform: none; }
}

/* questions: the open and close animation runs in assets/salt.js */


@media (prefers-reduced-motion: reduce) {
  .salt-rise .salt-l, .salt-big__name, .salt-big__name::after { transition: none !important; }
  .salt-rise .salt-l { transform: none; }
}

/* services: the platforms row */
.salt-plat { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
.salt-plat__head { grid-column: 1 / span 4; }
.salt-plat__head h3 { margin: 0 0 12px; font: 500 clamp(22px, 2vw, 28px)/1.15 var(--font-display); max-width: 16ch; }
.salt-plat__head p { margin: 0; color: var(--muted); max-width: 34ch; }
.salt-plat__list { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); }
.salt-plat__list li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.salt-plat__ic { width: 22px; height: 22px; grid-row: 1 / span 2; align-self: start; margin-top: 3px; color: var(--ink); }
.salt-plat__name { font: 500 18px/1.3 var(--font-display); }
.salt-plat__line { color: var(--muted); font-size: 15px; }
@media (max-width: 1023px) { .salt-plat__head, .salt-plat__list { grid-column: 1 / -1; } }
@media (max-width: 520px) { .salt-plat__list { grid-template-columns: 1fr; } }

/* =====================================================================================================
   Who I work with: a ruled 3 x 2 grid of cards; line drawings draw in on scroll, the accent fills follow
   ===================================================================================================== */
.salt-who { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.salt-who__card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px); min-height: 340px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.salt-who__art { width: 200px; height: 125px; margin: 0 0 auto -4px; overflow: visible; }
.salt-who__art .d { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.salt-who__art .acc { fill: #c9b49a; stroke: none; }
.salt-who__num { margin-top: 28px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.salt-who__card h3 { margin: 8px 0 10px; font: 600 clamp(24px, 2.2vw, 32px)/1.1 var(--font-display); letter-spacing: -0.01em; }
.salt-who__card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 32ch; }
@media (max-width: 1023px) { .salt-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .salt-who { grid-template-columns: 1fr; } .salt-who__card { min-height: 0; } .salt-who__art { margin-bottom: 8px; } }

/* the draw-in: only when the script has armed the grid, so without it the drawings simply stand */
.salt-who.is-armed .salt-who__art .d { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.32,.72,0,1); transition-delay: calc(var(--k, 0) * 120ms); }
.salt-who.is-armed .salt-who__art .acc { opacity: 0; transition: opacity .6s cubic-bezier(.32,.72,0,1); transition-delay: calc(var(--k, 0) * 120ms + 700ms); }
.salt-who.is-armed .salt-who__card.is-drawn .salt-who__art .d { stroke-dashoffset: 0; }
.salt-who.is-armed .salt-who__card.is-drawn .salt-who__art .acc { opacity: 1; }
/* small idle details once drawn: the steam drifts, the flag sways */
@keyframes salt-steam { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: .55; } }
@keyframes salt-flag { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-4deg); } }
.salt-who__card.is-drawn .steam { animation: salt-steam 3.2s ease-in-out 1.6s infinite; }
.salt-who__card.is-drawn .flag { transform-origin: 82px 32px; animation: salt-flag 4s ease-in-out 1.8s infinite; }
@media (prefers-reduced-motion: reduce) {
  .salt-who.is-armed .salt-who__art .d { stroke-dashoffset: 0; transition: none; }
  .salt-who.is-armed .salt-who__art .acc { opacity: 1; transition: none; }
  .salt-who .steam, .salt-who .flag { animation: none !important; }
}

/* phones: the first screen is as tall as its content, with a fixed gap before the name (no stretched empty space) */
@media (max-width: 639px) {
  .salt-hero__first { min-height: 0 !important; }
  .salt-hero__name { margin-top: 0 !important; padding-top: 56px !important; }
}

/* phones: the approach steps as a plain stack (set by the small script after the section) */
.salt-steps-static .mo-ph { display: grid; gap: 40px; }
.salt-steps-static .mo-ph__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.salt-steps-static .mo-ph__ch { display: grid; gap: 14px; }
.salt-steps-static .mo-ph__pic { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.salt-steps-static .mo-ph__pic > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.salt-steps-static .mo-ph__ch h3 { margin: 6px 0 0; font: 500 24px/1.2 var(--font-display); }
.salt-steps-static .mo-ph__ch p { margin: 0; color: var(--muted); }
.salt-steps-static .mo-ph__ch::before { counter-increment: step; content: "0" counter(step) " / 03"; order: 1; font-size: 13px; color: var(--muted); }
.salt-steps-static .mo-ph__list { counter-reset: step; }
.salt-steps-static .mo-ph__pic { order: 0; }
.salt-steps-static .mo-ph__ch h3 { order: 2; }
.salt-steps-static .mo-ph__ch p { order: 3; }

/* phones: the flick-through stays, but its pinned frame is compact so the photo and the whole text panel fit one screen */
@media (max-width: 639px) {
  #steps.is-live .mo-ph__head .salt-label { margin-bottom: 8px; }
  #steps.is-live .mo-ph__head h2 { font-size: 26px !important; line-height: 1.05; }
  #steps.is-live .mo-ph__head > p:not(.salt-label) { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  #steps.is-live .mo-ph { gap: 16px !important; }
  #steps.is-live .mo-ph__panel { padding: 16px 18px !important; gap: 6px !important; left: 10px !important; right: 10px !important; bottom: 10px !important; }
  #steps.is-live .mo-ph__ch h3 { font-size: 20px !important; line-height: 1.2; }
  #steps.is-live .mo-ph__ch p { font-size: 14px; line-height: 1.5; }
  #steps.is-live .mo-ph__count { font-size: 12px; }
}

/* =====================================================================================================
   Packages & pricing, and the Care Plan (accent: the umber --p-accent on numbers and prices)
   ===================================================================================================== */
.salt-pkgs { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1199px) { .salt-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.salt-pkg { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px); background: var(--surface); border-radius: var(--r-lg); }
.salt-pkg__num { font-size: 13px; font-weight: 600; color: var(--p-accent); font-variant-numeric: tabular-nums; }
.salt-pkg__name { margin: 8px 0 20px; font: 600 clamp(24px, 2.2vw, 30px)/1.1 var(--font-display); letter-spacing: -0.01em; }
.salt-pkg__meta { margin: 0; display: grid; gap: 18px; }
.salt-pkg__meta dt { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.salt-pkg__meta dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.salt-pkg__meta ul { margin: 0; padding-left: 1.1em; }
.salt-pkg__meta li { margin-bottom: 4px; }
.salt-pkg__price { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.salt-pkg__meta { margin-bottom: 28px; }
.salt-pkg__label { display: inline-block; font-size: 12px; font-weight: 600; color: var(--p-accent); letter-spacing: 0.02em; }
.salt-pkg__price p { margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.salt-pkg__price strong { font: 600 clamp(36px, 3.4vw, 48px)/1 var(--font-display); color: var(--p-accent); letter-spacing: -0.02em; }
.salt-pkg__from { font-size: 15px; color: var(--muted); }
.salt-pkg__price s { color: var(--muted); font-size: 18px; }
.salt-pkgs__note { margin: 16px 0 0; max-width: 70ch; color: var(--muted); font-size: 14px; }
@media (max-width: 1023px) { .salt-pkgs { grid-template-columns: 1fr; } }

.salt-care { max-width: 560px; margin: clamp(40px, 5vw, 72px) auto 0; padding: clamp(28px, 3vw, 44px); background: var(--surface); border-radius: var(--r-lg); text-align: left; }
.salt-care__name { margin: 0; font: 600 clamp(24px, 2.2vw, 30px)/1.1 var(--font-display); }
.salt-care__price { margin: 8px 0 20px; color: var(--muted); }
.salt-care__price strong { font: 600 clamp(36px, 3.4vw, 48px)/1 var(--font-display); color: var(--p-accent); }
.salt-care ul { margin: 0; padding: 20px 0 0 1.1em; border-top: 1px solid var(--line); color: var(--muted); }
.salt-care li { margin-bottom: 6px; }
.salt-assure { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.salt-assure li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.salt-assure__ic { flex: none; width: 24px; height: 24px; color: var(--p-accent); }
@media (max-width: 1023px) { .salt-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .salt-assure { grid-template-columns: 1fr; } }

/* statement band: scroll reveal (assets/salt.js); words rest faint, then light to their final colour and stay */
.salt-reveal .salt-w { opacity: .16; transition: opacity .5s ease; }
.salt-reveal .salt-w.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .salt-reveal .salt-w { opacity: 1; transition: none; } }
