/*
Theme Name: Aaron Tudor
Theme URI: https://aarontudor.com
Author: Aaron Tudor
Description: Lightweight block theme for aarontudor.com — learning Claude in public, vibe-coded projects, and LinkedIn-ready project sharing.
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: aarontudor
*/

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3 { text-wrap: balance; }

.at-card { transition: transform .15s ease, box-shadow .15s ease; }
.at-card:hover, .at-card:focus-within { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.at-tag { display:inline-block; font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; padding:.2rem .6rem; border-radius:999px; background:var(--wp--preset--color--accent-soft); color:var(--wp--preset--color--accent); font-weight:600; }
.at-share a { font-weight:600; text-decoration:none; }
.at-share a:hover, .at-share a:focus-visible { text-decoration:underline; }
.at-share a::before { content:"↗ "; content:"↗ " / ""; }
.wp-block-button__link { transition: opacity .15s ease; }
.wp-block-button__link:hover { opacity:.88; }

:where(a, button, .wp-block-button__link, .wp-block-navigation-item__content):focus-visible {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.has-ink-background-color :focus-visible { outline-color: var(--wp--preset--color--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .at-card, .wp-block-button__link { transition: none; }
  .at-card:hover, .at-card:focus-within { transform: none; }
}

.at-brand { display: flex; align-items: center; gap: .6rem; }
.at-logo-mark { width: 36px; height: 36px; display: block; flex: none; }
