/*
Theme Name: Urban Pulse
Theme URI: https://urbanpulsemanagement.com
Author: Urban Pulse Management
Author URI: https://urbanpulsemanagement.com
Description: Custom theme for Urban Pulse Management — a content portfolio & studio. Tailwind-based, designed in Stitch, ported by hand.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: urban-pulse
*/

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  background-color: #FAFAF7;
  color: #475569;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: #0F172A;
  letter-spacing: -0.04em;
}

/* Material Symbols default axes */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom utilities referenced by Stitch-generated markup */
.gradient-orange {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}
.pulse-gradient {
  background: linear-gradient(135deg, #F97316 0%, #BA1724 100%);
}
.pulse-line {
  height: 4px;
  background: linear-gradient(90deg, #F97316 0%, #BA1724 100%);
}
.orange-glow {
  box-shadow: 0 0 60px -15px rgba(249, 115, 22, 0.2);
}
.warm-glow {
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.08) 0%, rgba(250, 250, 247, 0) 70%);
}
.glass-panel {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
}
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(249, 115, 22, 0.1);
}
.tonal-transition { transition: background-color 0.3s ease; }
.kinetic-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.kinetic-card:hover { transform: translateY(-4px); }

/* Brand wordmark — Serif Masthead direction */
.site-wordmark {
  font-family: 'Literata', 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0F172A;
  text-decoration: none;
}
.site-wordmark::after {
  content: '.';
  color: #F97316;
  font-size: 1.3em;
}
.site-wordmark:hover { color: #0F172A; }

/* Reveal-on-hover underline (no layout shift) */
.link-underline-reveal {
  position: relative;
  display: inline-block;
}
.link-underline-reveal::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: #EA580C;
  transition: width 0.3s ease;
}
.link-underline-reveal:hover::after { width: 100%; }

/* Legal / long-form content typography */
.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0F172A;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 2rem 0 0.75rem;
}
.legal-content p {
  margin: 0.75rem 0;
  line-height: 1.8;
}
.legal-content ul, .legal-content ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}
.legal-content li {
  margin: 0.4rem 0;
  line-height: 1.7;
}
.legal-content a {
  color: #F97316;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: #EA580C; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.legal-content th, .legal-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E5E7EB;
}
.legal-content th {
  font-weight: 700;
  color: #0F172A;
  border-bottom: 2px solid #CBD5E1;
}
.legal-content strong { color: #0F172A; }

/* WP admin bar adjustment for sticky header */
html { scroll-behavior: smooth; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
