/* Synthia Jahan Studio: bridge for the existing project and guide pages.
   Gives them the new SYN header, menu, footer and ivory ground while leaving their content untouched. */

@font-face { font-family: "Baskervville"; src: url("../fonts/baskervville-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }

:root { --paper: #f5f3eb; --ink: #191919; }
html { background: #f5f3eb; }
body { background: #f5f3eb; }

.sjs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  width: min(calc(100% - 2 * clamp(24px, 5.2vw, 88px)), 1320px); margin-inline: auto;
  padding: max(32px, env(safe-area-inset-top)) 0 18px; font-family: "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #191919; }
.sjs-logo { font: 26px/.9 "Baskervville", Baskerville, "Baskerville Old Face", Georgia, serif; letter-spacing: .005em; color: inherit; text-decoration: none; }
.sjs-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 35px); }
.sjs-nav a { padding-bottom: 4px; font-size: 12px; letter-spacing: .105em; color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.sjs-nav a[aria-current], .sjs-nav a:hover { border-bottom-color: #191919; }
.sjs-head a:focus-visible, .sjs-foot a:focus-visible { outline: 2px solid #2442c5; outline-offset: 4px; }

.sjs-foot { width: min(calc(100% - 2 * clamp(24px, 5.2vw, 88px)), 1320px); margin: 72px auto 0;
  padding: 22px 0 max(30px, env(safe-area-inset-bottom)); border-top: 1px solid #d4d2cb;
  font: 11px/1.4 "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #66655e; }
.sjs-foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; }
.sjs-foot .sjs-mail { color: #191919; text-decoration: none; border-bottom: 1px solid #191919; padding-bottom: 2px; }
.sjs-foot .sjs-mail:hover { color: #2442c5; border-color: #2442c5; }
.sjs-foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.sjs-foot-links a { color: #66655e; text-decoration: none; letter-spacing: .06em; }
.sjs-foot-links a:hover { color: #191919; }

@media (max-width: 600px) {
  .sjs-head { width: calc(100% - 44px); padding-top: max(26px, env(safe-area-inset-top)); }
  .sjs-logo { font-size: 22px; }
  .sjs-nav { gap: 13px; }
  .sjs-nav a { font-size: 10px; letter-spacing: .055em; }
  .sjs-foot { width: calc(100% - 44px); font-size: 10px; }
  .sjs-foot .sjs-mail { order: -1; flex-basis: 100%; font-size: 12px; margin-bottom: 6px; border: 0; text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 360px) {
  .sjs-head, .sjs-foot { width: calc(100% - 40px); }
  .sjs-logo { font-size: 20px; }
  .sjs-nav { gap: 8px; }
  .sjs-nav a { font-size: 9.2px; }
}
@media print { .sjs-head, .sjs-foot { display: none; } }

/* One context-specific invitation above the footer (pages without their own closing enquiry) */
.sjs-foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 36px;
  padding: 8px 0 26px; margin-bottom: 22px; border-bottom: 1px solid #d4d2cb; }
.sjs-foot-cta p { margin: 0; max-width: 26ch; font: 400 clamp(22px, 2.2vw, 30px)/1.15 "Baskervville", Baskerville, "Baskerville Old Face", Georgia, serif; letter-spacing: -.015em; color: #191919; }
.sjs-foot-cta div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.sjs-foot-cta a { font-size: 12px; letter-spacing: .095em; text-transform: uppercase; text-decoration: none; color: #191919; }
.sjs-foot-cta .sjs-cta-main { padding: 14px 20px; background: #191919; color: #f5f3eb; }
.sjs-foot-cta .sjs-cta-main:hover { background: #2442c5; }
.sjs-foot-cta .sjs-cta-alt { border-bottom: 1px solid #191919; padding-bottom: 3px; }
.sjs-foot-cta .sjs-cta-alt:hover { color: #2442c5; border-color: #2442c5; }
@media (max-width: 600px) { .sjs-foot-cta p { font-size: 22px; } .sjs-foot-cta .sjs-cta-main { padding: 13px 16px; } }

/* Case-study titles: keep the category pills clear of the title, including when a pill wraps on a phone */
.project-hero .eyebrow { margin-bottom: 18px; }
@media (max-width: 600px) {
  .project-hero .eyebrow span { border-radius: 16px; line-height: 1.5; }
}
