/* Contact page (markup in tools/content/contact.html): the Resume page's light bento grid,
   with the email up front, Chicago local time, and the vCard QR for desktop visitors. */
.ca {
  --tile: #fff; --ink: #111; --muted: #6b6b6b; --rule: rgba(0,0,0,.08); --accent: var(--orange-300, #e16a08);
  box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 136px 24px 120px;
  color: var(--ink); font-family: Font, sans-serif; font-size: 16px; line-height: 1.5;
}
.ca *, .ca *::before, .ca *::after { box-sizing: inherit; }
.ca :where(h1, h2, p) { margin: 0; padding: 0; text-align: left; }
.ca a { color: inherit; text-decoration: none; }

@keyframes ca-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ca-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }

.ca-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "hero hero hero where"
    "li x cv qr";
}
.ca-tile {
  position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: var(--tile);
  border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(0,0,0,.04); animation: ca-in .7s cubic-bezier(.22,1,.36,1) both;
  transition: border-color .25s, box-shadow .25s, background-color .2s, color .2s;
}
.ca-tile:nth-child(2) { animation-delay: .05s; } .ca-tile:nth-child(3) { animation-delay: .1s; }
.ca-tile:nth-child(4) { animation-delay: .15s; } .ca-tile:nth-child(5) { animation-delay: .2s; }
.ca-tile:nth-child(6) { animation-delay: .25s; }

.ca-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Hero */
.ca-hero { grid-area: hero; display: flex; flex-direction: column; min-height: 380px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(225,106,8,.16), transparent 55%), var(--tile); }
.ca-h1 { font-size: clamp(56px, 8vw, 112px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.ca-sub { margin-top: 18px; max-width: 520px; font-size: 20px; line-height: 1.45; color: var(--muted); }
.ca-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 32px; }
.ca-btn { display: inline-flex; gap: 8px; padding: 12px 18px; border-radius: 99px; background: rgba(0,0,0,.04); border: 1px solid var(--rule);
  font: 500 16px/1.5 Font, sans-serif; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.ca-btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.ca-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ca-btn span { transition: transform .2s; } .ca-btn:hover span { transform: translateX(3px); }

/* Location */
.ca-where { grid-area: where; display: flex; flex-direction: column; background: var(--accent); border-color: transparent; color: #fff; }
.ca-where .ca-eyebrow { color: rgba(255,255,255,.75); }
.ca-live { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ca-pulse 1.8s infinite; }
.ca-where h2 { margin-top: auto; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.ca-time { margin-top: 6px; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }

/* Links */
.ca-link { display: flex; flex-direction: column; min-height: 180px; }
.is--li { grid-area: li; } .is--x { grid-area: x; } .is--cv { grid-area: cv; }
.ca-link img { width: 28px; height: 28px; filter: brightness(0); opacity: .85; transition: filter .2s; }
.ca-name { margin-top: auto; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.ca-go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.05); transition: background-color .2s, transform .25s cubic-bezier(.22,1,.36,1); }
.ca-go svg { width: 22px; height: 22px; }
.ca-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ca-link:hover img { filter: brightness(0) invert(1); }
.ca-link:hover .ca-go { background: rgba(255,255,255,.2); transform: translate(3px, -3px); }

/* QR (a vCard): only where someone could scan it with another device */
.ca-qr { grid-area: qr; display: flex; align-items: center; gap: 18px; }
.ca-qr img { width: 112px; height: 112px; border-radius: 8px; }
.ca-qr p { font-size: 15px; line-height: 1.35; color: var(--muted); }

@media (max-width: 991px) {
  .ca-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "hero hero" "where qr" "li x" "cv cv"; }
  .ca-link { min-height: 130px; }
}
@media (max-width: 600px) {
  .ca { padding: 120px 12px 80px; }
  .ca-tile { padding: 22px; border-radius: 20px; }
  .ca-hero { min-height: 0; }
  .ca-sub { font-size: 17px; }
  .ca-where h2 { margin-top: 12px; }
  .ca-link { min-height: 120px; }
  .ca-name { font-size: 22px; }
}
@media (hover: none) {
  .ca-qr { display: none; }
  .ca-grid { grid-template-areas: "hero hero hero where" "li x cv cv"; }
}
@media (hover: none) and (max-width: 991px) {
  .ca-grid { grid-template-areas: "hero hero" "where where" "li x" "cv cv"; }
}
@media (prefers-reduced-motion: reduce) { .ca * { animation: none !important; } }
