/* ═══════════════════════════════════════════════════
   SAMRO STUDIOS · the consulting header and footer on older pages (V2, 2026-10-20)
   The portfolio, the case pages under /work, /about and /privacy are reached
   from the consulting home, so they wear its header and footer (the same
   markup as index.html). Their own styles stay as they were: everything here
   is scoped to .c-top, .c-foot and .c-skip, and the tokens are declared on
   those elements, not on :root, so a page's own --ink or --gold is untouched.
   The header is solid and sticky here (no dark photo hero under it), 68 px
   plus a 1 px rule, the height the portfolio's chip rail already expects.
   Zero em dashes.
   ═══════════════════════════════════════════════════ */

.c-top, .c-foot, .c-skip {
  --night: #070A12;
  --ink: #12141C;
  --white: #FFFFFF;
  --ivory: #F5F3EE;
  --line-dark: rgba(245, 243, 238, 0.12);
  --c-gold: linear-gradient(90deg, #D9A441 0%, #F2C766 100%);
  --c-head: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --c-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --c-pad: 40px;
  --c-ease: cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}
.c-top *, .c-foot * { box-sizing: border-box; }
@media (max-width: 760px) { .c-top, .c-foot { --c-pad: 20px; } }

.c-top .c-wrap, .c-foot .c-wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 var(--c-pad); }
.c-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px; background: var(--ivory); color: var(--ink);
  font: 600 15px/1.2 var(--c-body); text-decoration: none;
}
.c-skip:focus { top: 12px; }

/* header */
.c-top {
  position: sticky; top: 0; z-index: 900;
  background: rgba(7, 10, 18, 0.94); color: var(--ivory);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  font: 400 16px/1.5 var(--c-body);
}
.c-top a { text-decoration: none; }
.c-top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.c-top .c-logo, .c-foot .c-logo {
  display: inline-flex; align-items: baseline; gap: 0.32em; flex: none;
  font: 15px/1 var(--c-body); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  color: var(--ivory);
}
.c-top .c-logo b, .c-foot .c-logo b { font-weight: 700; color: var(--ivory); }
.c-top .c-logo i, .c-foot .c-logo i { font-style: normal; font-weight: 500; color: #C9A45C; }
.c-nav { display: none; margin-left: auto; gap: 4px; }
.c-nav a {
  padding: 10px 14px; border-radius: 8px;
  font: 600 14px/1 var(--c-body); color: rgba(245, 243, 238, 0.78);
  transition: color 0.2s, background 0.2s;
}
.c-nav a:hover { color: var(--white); background: rgba(245, 243, 238, 0.06); }
.c-top .c-top__cta { display: none; margin-left: 12px; }
.c-lang {
  display: none; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 8px; margin-left: 4px;
  border: 1px solid var(--line-dark); border-radius: 8px;
  font: 700 12px/1 var(--c-body); letter-spacing: 0.12em; color: rgba(245, 243, 238, 0.78); text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.c-lang:hover { color: var(--white); border-color: rgba(245, 243, 238, 0.32); }
.c-burger {
  margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent;
  display: grid; place-content: center; gap: 6px; cursor: pointer; color: var(--ivory);
}
.c-burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--c-ease); }
.c-top.is-open .c-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.c-top.is-open .c-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.c-menu { display: none; padding: 8px var(--c-pad) 28px; }
.c-top.is-open .c-menu { display: grid; gap: 4px; }
.c-menu a:not(.c-btn) {
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font: 600 20px/1.2 var(--c-head); color: var(--ivory);
}
.c-menu .c-btn { margin-top: 18px; justify-self: start; }
@media (min-width: 1180px) {
  .c-nav, .c-top .c-top__cta { display: flex; }
  .c-burger, .c-menu, .c-top.is-open .c-menu { display: none; }
  .c-lang { display: inline-flex; }
}

/* the gold pill, as on the home page */
.c-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 6px 6px 6px 20px; border: 0; border-radius: 999px;
  background: linear-gradient(90deg, #D9A441 0%, #F2C766 100%); color: #12141C;
  font: 700 14px/1 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(217, 164, 65, 0.55);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -14px rgba(217, 164, 65, 0.75); }
.c-btn__arrow {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%; background: #FFFFFF; color: #12141C;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-btn__arrow svg { display: block; width: 13px; height: 13px; }
.c-btn:hover .c-btn__arrow { transform: translateX(3px) rotate(-45deg); }
.c-btn--lg { min-height: 52px; padding: 7px 7px 7px 24px; font-size: 15px; }
.c-btn--lg .c-btn__arrow { width: 38px; height: 38px; }

/* footer */
.c-foot { background: var(--night); color: rgba(245, 243, 238, 0.72); padding: 88px 0 36px; font: 400 15px/1.6 var(--c-body); }
.c-foot a { text-decoration: none; }
.c-foot p, .c-foot h2 { margin: 0; }
.c-foot__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.c-foot__brand { display: flex; flex-direction: column; gap: 18px; max-width: 26rem; }
.c-foot__brand p { font-size: 15px; color: rgba(245, 243, 238, 0.72); }
.c-foot__serve { font: 600 15px/1.4 var(--c-head); color: var(--ivory); }
.c-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.c-foot__col { display: flex; flex-direction: column; gap: 12px; }
.c-foot__h { font: 700 12px/1.4 var(--c-head); letter-spacing: 0.16em; text-transform: uppercase; color: #C9A45C; margin-bottom: 4px; }
.c-foot__col a { font-size: 15px; color: rgba(245, 243, 238, 0.78); }
.c-foot__col a:hover { color: var(--white); }
.c-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13px; color: rgba(245, 243, 238, 0.5); }
.c-foot__bottom a { color: inherit; }
.c-foot__bottom > span:last-child { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 900px) {
  .c-foot__grid { grid-template-columns: 1fr; }
  .c-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .c-btn, .c-btn__arrow { transition: none; }
}

/* the portfolio's own ask bands keep the spacing their old button had */
.band .c-btn, .vcard .c-btn { margin-top: 24px; }
