/* ============================================================
   Tulsa Home Painting — Design System
   Palette: Navy #1e3a5f (trust anchor) · Amber #e8a830 (warmth, signature)
            Off-white #f7f8fa (surface) · Charcoal #1a1f2e (text)
            Slate #4a6484 (secondary text) · Soft blue #dce8f5 (tinted background)
   Type: Syne 800 (display) + DM Sans 400/500/700 (body)
   Signature: paint chip cluster in Why Us + brushstroke wave divider between hero & content
   ============================================================ */

/* ── FONTS ── */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/syne-700.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/syne-800.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dmsans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dmsans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dmsans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── TOKENS ── */
:root {
  --navy:      #1e3a5f;
  --navy-dark: #152c48;
  --navy-mid:  #2a4e7a;
  --amber:     #e8a830;
  --amber-light: #f5c84a;
  --off-white: #f7f8fa;
  --blue-tint: #dce8f5;
  --charcoal:  #1a1f2e;
  --slate:     #4a6484;
  --mid:       #6b7a92;
  --border:    #c9d8ea;

  --font-display: 'Syne', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow-sm: 0 1px 4px rgba(30,58,95,.08), 0 4px 12px rgba(30,58,95,.06);
  --shadow-md: 0 4px 16px rgba(30,58,95,.12), 0 8px 32px rgba(30,58,95,.08);

  --wrap: 1200px;
  --px:   clamp(1.25rem, 4vw, 2.5rem);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── LAYOUT ── */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .75rem 1.6rem;
  border-radius: var(--r-md);
  min-height: 48px;
  transition: background .18s, color .18s, transform .12s, box-shadow .18s;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--amber);
  color: var(--charcoal);
  box-shadow: 0 2px 8px rgba(232,168,48,.35);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,168,48,.45);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
}
.btn-header {
  background: var(--amber);
  color: var(--charcoal);
  padding: .55rem 1.2rem;
  font-size: .8rem;
  min-height: 40px;
}
.btn-header:hover { background: var(--amber-light); }
.btn-mobile-nav {
  background: var(--amber);
  color: var(--charcoal);
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-submit { width: 100%; max-width: 320px; }

/* ── SECTION PATTERNS ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--charcoal);
}
.section-header {
  margin-bottom: 3rem;
}
.section-sub {
  margin-top: .75rem;
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 520px;
}
.br-desk { display: none; }
@media (min-width: 760px) { .br-desk { display: block; } }

/* ── REVEAL ANIMATIONS ── */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal-delay  { transition-delay: .12s; }
.js .reveal-delay1 { transition-delay: .10s; }
.js .reveal-delay2 { transition-delay: .20s; }
.js .reveal-delay3 { transition-delay: .30s; }
/* Ensure non-JS users see everything */
.reveal { opacity: 1; transform: none; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(30,58,95,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--amber);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.brand-mark.small { width: 32px; height: 32px; font-size: 1.1rem; }
.brand-words { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.2;
}
.brand-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s;
}
.site-nav a:hover { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-nav {
  background: var(--navy-dark);
  display: flex;
  flex-direction: column;
  padding: 1rem var(--px) 1.5rem;
  gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:last-of-type { border-bottom: none; }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--navy);
  padding: 5rem var(--px) 6rem;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
/* The ONE quiet signature: stacked paint swatches as abstract texture */
.paint-swatch {
  position: absolute;
  border-radius: 3px;
  opacity: .08;
}
.swatch-1 {
  width: 340px; height: 340px;
  background: var(--amber);
  top: -80px; right: -60px;
  transform: rotate(18deg);
  border-radius: 50% 40% 60% 30%;
}
.swatch-2 {
  width: 200px; height: 200px;
  background: #fff;
  top: 40%; right: 12%;
  transform: rotate(-8deg);
  border-radius: 30% 60% 40% 50%;
  opacity: .05;
}
.swatch-3 {
  width: 260px; height: 260px;
  background: var(--amber);
  bottom: -80px; right: 30%;
  transform: rotate(5deg);
  border-radius: 40% 60% 50% 30%;
  opacity: .06;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  width: 100%;
}
.hero-content {
  max-width: 640px;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.trust-stars { color: var(--amber); font-size: 1.1rem; letter-spacing: .08em; }
.trust-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}
.trust-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ── STROKE DIVIDER ── */
.stroke-divider {
  display: block;
  margin-top: -2px;
  line-height: 0;
  background: var(--navy);
}
.stroke-divider svg { width: 100%; display: block; }

/* ── SERVICES ── */
.services {
  background: var(--off-white);
  padding: 5rem var(--px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-tint);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: .6rem;
}
.service-card p {
  font-size: .93rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ── WHY US ── */
.why-us {
  background: var(--blue-tint);
  padding: 5rem var(--px);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 800px) {
  .why-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.why-text .section-title { margin-bottom: 1rem; }
.why-body {
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 2rem;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--charcoal);
}
.why-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: .45em;
}

/* Signature: paint chip cluster — an abstract palette swatch grid */
.why-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  padding-bottom: 2.5rem;
}
.paint-chip {
  border-radius: var(--r-lg);
  height: 120px;
  transition: transform .2s;
}
@media (min-width: 800px) {
  .paint-chip { height: 140px; }
}
.paint-chip:hover { transform: scale(1.03); }
.chip-navy  { background: var(--navy); }
.chip-amber { background: var(--amber); }
.chip-slate { background: var(--slate); }
.chip-sage  { background: #7a9e7e; }
.paint-chip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}

/* ── REVIEWS ── */
.reviews {
  background: var(--navy);
  padding: 5rem var(--px);
}
.reviews .section-eyebrow { color: var(--amber); }
.reviews .section-title { color: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.review-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: .08em;
  margin-bottom: .85rem;
}
.review-card blockquote p {
  font-size: .93rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.review-card cite {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-style: normal;
}
.reviews-source {
  margin-top: 2rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ── SERVICE AREA ── */
.service-area {
  background: var(--off-white);
  padding: 5rem var(--px);
  border-top: 1px solid var(--border);
}
.area-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 700px) {
  .area-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.area-text .section-title { margin-bottom: .75rem; }
.area-text p {
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 520px;
}
.area-text p + p { margin-top: .5rem; }
.area-hours { margin-top: .75rem !important; font-size: .9rem !important; color: var(--charcoal) !important; }
.area-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}
@media (min-width: 700px) { .area-cta { align-items: center; } }
.area-phone {
  font-size: .85rem;
  color: var(--slate);
}

/* ── CONTACT ── */
.contact {
  background: #fff;
  padding: 5rem var(--px);
  border-top: 1px solid var(--border);
}
.contact .section-header {
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  min-height: 48px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mid); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,95,.12);
}
.form-success {
  display: none;
  background: #edf7f0;
  border: 1.5px solid #7abf8e;
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  color: #1f6b36;
  font-weight: 500;
}
.form-note {
  font-size: .78rem;
  color: var(--mid);
  margin-top: -.5rem;
}
.contact-alt {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.contact-alt p {
  font-size: .9rem;
  color: var(--slate);
  margin-bottom: .4rem;
}
.contact-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy);
  transition: color .15s;
}
.contact-phone:hover { color: var(--navy-mid); }

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  padding: 2.5rem var(--px) 5rem; /* bottom pad accounts for mobile call bar */
  color: rgba(255,255,255,.65);
}
@media (min-width: 600px) {
  .site-footer { padding-bottom: 2.5rem; }
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.footer-brand .brand-mark {
  background: var(--amber);
  color: var(--charcoal);
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  margin-bottom: .25rem;
}
.footer-nap {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}
.footer-phone {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--amber);
  margin-top: .25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  width: 100%;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: .5rem;
}

/* ── MOBILE STICKY CALL BAR ── */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--amber);
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.mobile-call-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--charcoal);
  letter-spacing: .02em;
  min-height: 56px;
}
@media (max-width: 700px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-call-bar { display: block; }
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .hero { padding: 3.5rem var(--px) 4.5rem; }
  .hero-headline { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .hero-trust { gap: 1rem; }
  .services { padding: 3.5rem var(--px); }
  .why-us, .reviews, .service-area, .contact { padding: 3.5rem var(--px); }
  .services-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 260px; }
}

@media (min-width: 700px) and (max-width: 899px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
