/* Permatop Roofing: shared styles (Tailwind Play CDN handles utilities) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
.font-display { font-family: 'Archivo', system-ui, sans-serif; }
.display-xl { font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6.25rem); line-height: .95; letter-spacing: -0.035em; }
.display-l  { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; }
.display-m  { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.025em; }
.display-s  { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.stat { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; color: #232323; }
.stat-l { margin-top: .6rem; color: #767676; font-size: .95rem; line-height: 1.4; max-width: 15rem; }
.footer-h { font-family: 'Archivo', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; letter-spacing: .02em; }
.chip { border-radius: 999px; padding: .4rem .8rem; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; }

/* buttons */
.btn-gold, .btn-dark, .btn-ghost-light { display: inline-flex; align-items: center; gap: .55rem; border-radius: .9rem; padding: .8rem 1.25rem; font-weight: 600; line-height: 1.2; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn-gold { background: #c4bc3b; color: #1f1f1f; box-shadow: 0 6px 20px -6px rgba(196,188,59,.6); }
.btn-gold:hover { background: #d3cb4c; transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(196,188,59,.7); }
.btn-dark { background: #2e2e2e; color: #fff; }
.btn-dark:hover { background: #1f1f1f; transform: translateY(-2px); }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
button:disabled { opacity: .6; cursor: progress; transform: none !important; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #232323; border-bottom: 2px solid #c4bc3b; padding-bottom: .2rem; transition: gap .2s ease, color .2s ease; }
.link-arrow:hover { gap: .8rem; color: #a39c2a; }

/* nav */
.nav-link { position: relative; color: #232323; padding: .4rem 0; transition: color .2s; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #c4bc3b; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #000; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.mob-link { display: block; padding: .9rem 0; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; border-bottom: 1px solid rgba(255,255,255,.08); }
.mob-link[aria-current="page"] { color: #c4bc3b; }
.site-header.scrolled .header-bar { background: rgba(255,255,255,.95); }

/* hero diagonal brand shape */
.hero-slash { position: absolute; right: -12%; bottom: -30%; width: 55%; height: 90%; background: linear-gradient(135deg, rgba(196,188,59,.0), rgba(196,188,59,.22)); transform: skewX(-18deg); pointer-events: none; }
.hero-slash::before { content: ''; position: absolute; left: -2.5rem; top: 0; bottom: 0; width: 6px; background: #c4bc3b; opacity: .7; }

/* process connector */
@media (min-width: 1024px) { .process li:not(:last-child)::after { content: ''; position: absolute; top: 1.5rem; left: 3.75rem; right: -1.5rem; height: 1px; background: linear-gradient(90deg, rgba(196,188,59,.7), rgba(196,188,59,0)); } }

/* forms */
.form-label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .4rem; color: #232323; }
.form-input { width: 100%; border-radius: .9rem; border: 1px solid rgba(0,0,0,.14); background: #fff; padding: .85rem 1rem; font-size: 1rem; color: #232323; transition: border-color .2s, box-shadow .2s; }
.form-input:focus { outline: none; border-color: #a39c2a; box-shadow: 0 0 0 4px rgba(196,188,59,.25); }
.form-input::placeholder { color: #9a9a9a; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }

/* misc */
.no-scrollbar { scrollbar-width: none; } .no-scrollbar::-webkit-scrollbar { display: none; }
.lightbox.open { display: flex; }
:focus-visible { outline: 3px solid #c4bc3b; outline-offset: 3px; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-img { animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
