/* 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: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .2; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.40  0 0 0 0 0.34  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
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; }
}
