/* Jones & Whitehead: shared styles (Tailwind Play CDN handles utilities) */
:root {
  --red: #D32222;
  --red-bright: #DF0024;
  --ink: #181818;
  --ink-2: #232323;
  --grey: #6A6969;
  --light: #EFEFEF;
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: 'Figtree', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
.font-display { font-family: 'Archivo', 'Figtree', sans-serif; font-stretch: 112%; }
.t-hero { font-size: clamp(2.5rem, 5vw + 0.6rem, 5.4rem); line-height: 0.95; letter-spacing: -0.035em; }
.t-1 { font-size: clamp(2.2rem, 4.2vw + 0.5rem, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.t-2 { font-size: clamp(1.8rem, 2.8vw + 0.6rem, 3.2rem); line-height: 1.04; letter-spacing: -0.025em; }
.t-3 { font-size: clamp(1.3rem, 1.2vw + 0.8rem, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.08rem, 0.5vw + 0.95rem, 1.3rem); line-height: 1.65; }
.prose-body p { line-height: 1.75; }
.prose-body p + p { margin-top: 1.1em; }
.eyebrow { font-family: 'Archivo', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.grecaptcha-badge { visibility: hidden; }

/* Header */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(24,24,24,.1); box-shadow: 0 1px 0 rgba(24,24,24,.06); }
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.dropdown { visibility: hidden; opacity: 0; transform: translateY(6px); transition: all .2s ease; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { visibility: visible; opacity: 1; transform: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; border-radius: 999px; padding: .95rem 1.6rem; min-height: 48px; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 12px 28px -12px rgba(211,34,34,.7); }
.btn-primary:hover { background: var(--red-bright); }
.btn-ghost { border: 1.5px solid currentColor; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Cards and images */
.lift { transition: transform .35s ease, box-shadow .35s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(24,24,24,.45); }
.zoom { overflow: hidden; }
.zoom img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.zoom:hover img, .group:hover .zoom img { transform: scale(1.07); }

/* Decorative */
.bolt-bg { background-image: radial-gradient(circle at 85% 15%, rgba(211,34,34,.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(223,0,36,.18), transparent 40%); }
.grid-lines { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; }
.grid-lines-dark { background-image: linear-gradient(rgba(24,24,24,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(24,24,24,.05) 1px, transparent 1px); background-size: 56px 56px; }
.slash { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Carousel */
.carousel-track { display: flex; align-items: flex-start; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.carousel-track > * { flex: 0 0 100%; }
[data-carousel] > .overflow-hidden { transition: height .5s ease; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(12,12,12,.94); display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 78vh; max-width: min(1100px, 100%); border-radius: 10px; }

/* Accordion */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .acc-icon { transform: rotate(45deg); }
.acc-icon { transition: transform .25s ease; }

/* Forms */
.field { width: 100%; border: 1.5px solid #d9d9d9; background: #fff; border-radius: 12px; padding: .9rem 1rem; min-height: 50px; font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(211,34,34,.14); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
