/* Homepage only. Built from the approved design canvas, 2026-11-08.
   Colors: royal blue #0A5FD8 (approved), charcoal #18191D, amber #F5B73B,
   warm gray #F1EFEA; product tints #FFEEDF (Crewli) and #E2F3EA (Bonafide). */
@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: optional; }
@font-face { font-family: 'InterVar'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: optional; }

:root { --blue: #0A5FD8; --blue-deep: #084BAD; --ink: #14161A; --ink-2: #52585F; --line: #E4E4E0; --char: #18191D; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, ul, figure, blockquote { margin: 0; padding: 0; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid #B6CFF5; outline-offset: 3px; }
em { font-style: normal; color: var(--blue); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Header */
.head { height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 max(5%, calc((100% - 1300px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.wm { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wm span { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; display: grid; place-items: center; letter-spacing: 0; }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-deep); color: #fff; }

/* Hero */
.hero { padding: 48px 5% 36px; display: flex; flex-direction: column; gap: 36px; max-width: 1300px; margin: 0 auto; box-sizing: content-box; }
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.top h1 { font-family: 'Sora', 'InterVar', sans-serif; font-size: 70px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.seal { position: relative; width: 140px; height: 140px; flex: none; display: block; text-decoration: none; margin-right: 20px; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal span { position: absolute; inset: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 600; transition: transform .2s; }
.seal:hover span { transform: translateY(3px); background: var(--blue-deep); }
.tiles { display: grid; grid-template-columns: 1.25fr 1.5fr .975fr .975fr; gap: 16px; height: 340px; margin-top: 48px; }
.t { position: relative; border-radius: 32px; overflow: hidden; min-width: 0; }
.me { background: #000; }
.me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.stack { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-width: 0; }
.num { background: var(--blue); color: #fff; padding: 24px 26px; }
.num p { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.82); }
.num b { display: block; font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; color: #fff; margin-bottom: 14px; }
.avail { background: #F5B73B; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pill { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--char); color: #fff; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.avail p.big { font-size: 18px; font-weight: 500; line-height: 1.3; max-width: 19ch; color: var(--ink); }
.badge { position: relative; width: 118px; height: 118px; flex: none; text-decoration: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge span { position: absolute; inset: 30px; border-radius: 50%; background: var(--char); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 500; }
.prod { background: #F1EFEA; padding: 20px; text-decoration: none; }
.prod .pn { font-weight: 500; font-size: 16px; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.prod img { position: absolute; left: 50%; top: 62px; width: 190px; margin-left: -95px; border-radius: 22px; border: 5px solid #16181D; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.bot { margin-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bot p { color: var(--ink-2); font-size: 16px; letter-spacing: -.02em; line-height: 1.3; }
.fnd { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.fnd:hover { color: var(--ink); }
.faces { display: flex; }
.faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.faces img + img { margin-left: -12px; }
.arw { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; font-size: 18px; transition: background .15s; }
.fnd:hover .arw { background: var(--blue-deep); }

/* Sections */
.sx { padding: 104px 6%; }
.sx-in { max-width: 1240px; margin: 0 auto; }
.eb { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sx h2 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 46px; letter-spacing: -.035em; line-height: 1.08; }

/* Case studies */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px; border-radius: 24px; }
.cph { padding: 4px; border-radius: 20px; background: #16181D; box-shadow: 0 16px 36px rgba(20,22,26,.22); }
.cph img { width: 100%; border-radius: 16px; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 5px 11px; border-radius: 999px; }
.card h3 { font-family: 'Sora', sans-serif; font-size: 28px; letter-spacing: -.035em; line-height: 1.05; margin: 22px 0 10px; }
.card .kind { font-weight: 600; margin-bottom: 16px; }
.card .line { color: var(--ink-2); margin-bottom: 28px; }
.cbtn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; background: var(--blue); color: #fff; }
.cbtn:hover { background: var(--blue-deep); color: #fff; }

/* Testimonials */
.tv-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.tv-faces { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-2); }
.tv-stack { display: flex; }
.tv-stack img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.tv-stack img + img { margin-left: -14px; }
.tv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tv-q { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 44px 40px 0 0; }
.tv-q + .tv-q { padding-left: 40px; border-left: 1px solid var(--line); }
.tv-mark { font-family: 'Sora', sans-serif; font-size: 64px; line-height: .6; color: var(--blue); height: 30px; }
.tv-q blockquote { font-family: 'Sora', sans-serif; font-weight: 500; font-size: 21px; line-height: 1.45; letter-spacing: -.015em; margin-top: 20px; }
.tv-who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.tv-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.tv-who b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; }
.tv-who a { color: inherit; }

/* Contact */
.closing { text-align: center; }
.tagpill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #EAF1FC; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.closing h2 { max-width: 18ch; margin: 0 auto 16px; }
.cbody { max-width: 52ch; margin: 0 auto 36px; color: var(--ink-2); font-size: 18px; }
.contact { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 720px; }
.contact a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 28px 16px; min-height: 150px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .15s, background-color .15s, transform .15s, box-shadow .15s; }
.contact a:hover { border-color: var(--brand); background: #F4F4F2; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,22,26,.10); }
.contact svg { width: 34px; height: 34px; fill: var(--brand); }
.ct-mail { --brand: #EA4335; } .ct-li { --brand: #0A66C2; } .ct-cv { --brand: var(--blue); }

.foot { padding: 32px 6%; border-top: 1px solid #ECEDF0; display: flex; flex-wrap: wrap; gap: 16px 32px; font-size: 14px; color: var(--ink-2); }
.foot b { color: var(--ink); font-weight: 600; margin-right: auto; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .seal span, .contact a { transition: none; } }

/* Phones and small tablets */
@media (max-width: 999px) {
  .nav { display: none; }
  .head { padding: 0 16px; }
  .hero { padding: 36px 16px 32px; }
  .top { flex-wrap: nowrap; align-items: center; gap: 16px; }
  .top h1 { font-size: 38px; }
  .seal { width: 96px; height: 96px; margin-right: 0; }
  .seal span { inset: 24px; font-size: 20px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; margin-top: 8px; }
  .me, .prod { height: 300px; }
  .stack { grid-column: 1 / span 2; }
  .num, .avail { min-height: 150px; }
  .prod img { width: 150px; margin-left: -75px; top: 56px; }
  .sx { padding: 72px 16px; }
  .sx h2 { font-size: 32px; }
  .cards, .tv-row { grid-template-columns: minmax(0, 1fr); }
  .card { grid-template-columns: minmax(0, 1fr); }
  .cph { width: 170px; justify-self: center; }
  .tv-q, .tv-q + .tv-q { padding: 36px 0; border-left: 0; }
  .tv-q + .tv-q { border-top: 1px solid var(--line); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact a { min-height: 110px; }
}
@media (max-width: 520px) {
  .top h1 { font-size: 32px; }
  .me { grid-column: 1 / span 2; height: 340px; }
  .prod { height: 260px; }
  .prod img { width: 120px; margin-left: -60px; }
}

/* Joe is a cutout, so his circle gets a color behind him */
img.joe { background: #F5B73B; }

/* Section bands, so each section reads as its own thing */
.band { background: #F6F4EF; }

/* What I do: tabs */
.wd-h { text-align: center; }
.wd-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 32px auto 28px; padding: 6px; border-radius: 999px; background: #E9E6DE; }
.wd-tabs button { border: 0; background: transparent; font: 600 17px 'InterVar', sans-serif; color: #3A3F46; padding: 13px 28px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.wd-tabs button:hover { color: var(--ink); }
.wd-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(10,95,216,.35); }
.wd-tabs button:focus-visible { outline: 3px solid #B6CFF5; outline-offset: 2px; }
.wd-card { background: #fff; border-radius: 32px; border: 1px solid #ECE9E1; box-shadow: 0 24px 60px rgba(20,22,26,.08); padding: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; min-height: 560px; }
.wd-card[hidden] { display: none; }
.wd-l { padding: 40px 24px 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.wd-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(10,95,216,.3); margin-bottom: 22px; }
.wd-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wd-l h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 64px; letter-spacing: -.045em; line-height: 1; margin: 0 0 20px; }
.wd-l p { font-size: 21px; line-height: 1.45; color: #3A3F46; margin: 0 0 30px; max-width: 26ch; }
.wd-bars { display: flex; gap: 6px; margin-bottom: 30px; }
.wd-bars i { width: 96px; height: 7px; border-radius: 999px; background: #E4E2DA; }
.wd-bars i.on { background: var(--blue); }
.wd-l a { font-weight: 700; font-size: 18px; text-decoration: none; }
.wd-l a:hover { color: var(--blue-deep); }
.wd-p { position: relative; border-radius: 24px; overflow: hidden; padding: 44px 44px 36px; color: #fff; background: #071433 url(../img/wid-nyc.jpg) center 30% / cover no-repeat; display: flex; flex-direction: column; justify-content: center; }
.wd-p::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,40,.78), rgba(5,15,40,.9)); }
.wd-p > * { position: relative; }
.wd-p h4 { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 22px; }
.wd-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.wd-rows li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.8); }
.wd-rows b { display: block; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: #fff; margin: 2px 0 2px; }
.ring { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #0B1C45; border: 2px solid #3D86F5; box-shadow: 0 0 0 4px rgba(61,134,245,.14); }
.ring svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wd-dash { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.45); margin-bottom: 20px; border: 1px solid rgba(255,255,255,.2); }
.wd-dash img { display: block; width: 100%; height: auto; }
.wd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wd-chips li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #3D86F5; background: rgba(61,134,245,.16); font-weight: 600; font-size: 15px; }
@media (max-width: 999px) {
  .wd-tabs { border-radius: 24px; flex-wrap: wrap; }
  .wd-tabs button { padding: 11px 18px; font-size: 15px; }
  .wd-card { grid-template-columns: minmax(0, 1fr); padding: 16px; min-height: 0; }
  .wd-l { padding: 24px 12px; }
  .wd-l h3 { font-size: 44px; }
  .wd-p { padding: 28px 22px; }
  .wd-rows { grid-template-columns: minmax(0, 1fr); }
}

/* Each tab gets its own photo and color */
.wd-p.op { background-image: url(../img/wid-ops.jpg); background-position: center; }
.wd-p.op::before { background: linear-gradient(180deg, rgba(24,20,14,.8), rgba(24,20,14,.92)); }
.wd-p.op .ring { background: #2A2216; border-color: #F5B73B; box-shadow: 0 0 0 4px rgba(245,183,59,.16); }
.wd-p.ap { background-image: url(../img/wid-apps.jpg); background-position: center; }
.wd-p.ap::before { background: linear-gradient(180deg, rgba(4,36,26,.8), rgba(4,36,26,.92)); }
.wd-p.ap .wd-chips li { border-color: #2BB673; background: rgba(43,182,115,.18); }
