/* Base: resets, shell, shared components. Tokens live in tokens.css. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--wit-ink-soft); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: #0B0B0C; text-decoration: none; }
a:hover { color: #FF2E8B; }
::selection { background: #CDF73A; color: #0B0B0C; }
:focus-visible { outline: 3px solid #7A3FF2; outline-offset: 2px; }
h1, h2, h3, h4, p { margin: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: #0B0B0C; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 32px); }
.sec { border-top: 1px solid var(--wit-line); }
.sec--mist { background: var(--wit-mist); }
.sec--ink { background: var(--wit-ink); color: #fff; }
.sec--first { border-top: 0; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--wit-line); }
.hdr--landing { z-index: 30; }
.hdr__in { max-width: 1200px; margin: 0 auto; padding: 16px clamp(20px, 5vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__nav { display: flex; align-items: center; gap: 28px; }
.hdr__links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wit-ink-soft); }
.nav-link[aria-current="page"] { color: #0B0B0C; }
.logo { display: inline-flex; align-items: baseline; color: #0B0B0C; }
.logo:hover { color: #0B0B0C; }
.logo__wit { font-family: 'Archivo', var(--font-body); font-weight: 900; font-size: 26px; letter-spacing: -0.03em; line-height: 1; background-image: var(--wit-spray-full); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.logo__agency { font-family: 'Syne', var(--font-body); font-weight: 600; font-size: 12px; color: #0B0B0C; }
.logo--foot .logo__wit { font-size: 22px; }
.logo--foot .logo__agency { font-size: 11px; }

.lang { display: inline-flex; border: 1px solid var(--wit-line); border-radius: 999px; overflow: hidden; }
.lang a { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 6px 11px; color: var(--wit-ink-muted); background: transparent; }
.lang a[aria-current="true"] { background: #0B0B0C; color: #fff; }
.lang a:hover { color: #FF2E8B; }
.lang a[aria-current="true"]:hover { color: #fff; }

.menu-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--wit-line-strong); border-radius: 999px; background: #fff; font: 700 13px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: #0B0B0C; cursor: pointer; }
.menu-btn__bars { display: grid; gap: 5px; }
.menu-btn__bars i { display: block; width: 18px; height: 1.5px; background: #0B0B0C; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 15px var(--font-body); padding: 15px 32px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast); text-align: center; }
.btn--ink { background: #0B0B0C; color: #fff; }
.btn--ink:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--wit-line-strong); color: #0B0B0C; background: transparent; }
.btn--ghost:hover { background: var(--wit-mist); color: #0B0B0C; }
.btn--white { background: #fff; color: #0B0B0C; }
.btn--white:hover { color: #0B0B0C; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(0.98); box-shadow: var(--shadow-xs); }
.btn[disabled] { background: var(--wit-cloud); color: var(--wit-ink-faint); box-shadow: none; cursor: not-allowed; }
.btn--sm { font-size: 13px; letter-spacing: 0.04em; padding: 10px 20px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Typography helpers */
.overline { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.c-cyan { color: var(--wit-cyan); } .c-violet { color: var(--wit-violet); } .c-pink { color: var(--wit-pink); } .c-coral { color: var(--wit-coral); } .c-lime { color: var(--wit-lime); } .c-muted { color: var(--wit-ink-muted); }
.spray { background-image: var(--wit-spray-full); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-weight: 400; }
.rule { display: block; width: 56px; height: 3px; background: var(--wit-spray-full); margin-bottom: 20px; }
.h-thin { font-family: var(--font-display); font-weight: 200; color: #0B0B0C; letter-spacing: -0.035em; }
.lead { font-size: clamp(19px, 2vw, 25px); line-height: 1.5; color: var(--wit-ink-muted); max-width: 46ch; }
.link-arrow { font-size: 14px; font-weight: 700; color: var(--wit-pink); }
.link-arrow::after { content: " \2192"; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--wit-line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); min-width: 0; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.card__bar { width: 52px; height: 4px; border-radius: 2px; }
.bg-cyan { background: var(--wit-cyan); } .bg-violet { background: var(--wit-violet); } .bg-pink { background: var(--wit-pink); } .bg-coral { background: var(--wit-coral); }
.card__name { font-family: var(--font-display); font-weight: 300; font-size: 34px; letter-spacing: -0.02em; line-height: 1; color: #0B0B0C; }
.card__body { font-size: 17px; line-height: 1.55; color: var(--wit-ink-muted); flex: 1; }

/* Work tiles */
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--wit-line); box-shadow: var(--shadow-sm); background: var(--wit-ink); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter var(--dur-slow) var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: var(--wit-spray-full); opacity: 0.58; mix-blend-mode: multiply; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:hover img { filter: grayscale(0) contrast(1); }
.tile:hover::after { opacity: 0; }
.tile__name { position: absolute; left: 18px; bottom: 15px; z-index: 1; font-family: var(--font-display); font-weight: 300; font-size: 24px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.tile__tag { position: absolute; left: 18px; bottom: 46px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.tile:hover .tile__name { color: #fff; }
.tile--ghost { background: #fff; border-color: var(--wit-line-strong); box-shadow: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; gap: 8px; }
.tile--ghost::after { display: none; }
.tile--ghost:hover { background: var(--wit-mist); box-shadow: none; transform: none; }
.tile--ghost .tile__name { position: static; color: #0B0B0C; text-shadow: none; }
@media (hover: none) {
  .tile img { filter: none; }
  .tile::after { opacity: 0; }
  .tile__name, .tile__tag { text-shadow: 0 2px 14px rgba(0,0,0,0.7); }
}
.tile--noimg { background: var(--wit-spray-soft); }
.tile--noimg::after { display: none; }
.tile--noimg .tile__name, .tile--noimg .tile__tag { color: #0B0B0C; text-shadow: none; }

/* Footer */
.ftr { border-top: 1px solid var(--wit-line); background: #fff; }
.ftr__in { max-width: 1200px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 32px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ftr__meta { font-size: 14px; color: var(--wit-ink-muted); }
.ftr__meta a { color: var(--wit-ink-muted); }
.ftr__meta a:hover { color: #FF2E8B; }

/* Mobile menu sheet */
.sheet { display: none; }
@media (max-width: 779px) {
  .hdr__links { display: none; }
  .hdr__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__in { padding-block: 12px; }
  .hdr__nav { gap: 12px; }
  .logo__wit { font-size: 24px; } .logo__agency { font-size: 11px; }
  .sheet { position: fixed; inset: 0; z-index: 40; background: #fff; flex-direction: column; padding: 12px 20px 32px; overflow: auto; }
  .sheet[data-open="true"] { display: flex; }
  .sheet__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .sheet a.sheet__link { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 300; font-size: 40px; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--wit-line); }
  .sheet a.sheet__link[aria-current="page"]::before { content: ""; border-style: solid; border-width: 9px 0 9px 12px; border-color: transparent transparent transparent var(--wit-lime); }
  .sheet .btn { width: 100%; margin-top: 32px; }
  .sheet__meta { margin-top: 24px; display: grid; gap: 6px; font-size: 15px; color: var(--wit-ink-muted); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 639px) {
  .ftr__in { flex-direction: column; align-items: flex-start; padding-block: 32px; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; animation: none !important; }
  .btn:hover, a.card:hover, .tile:hover { transform: none !important; }
}
