/* Schulman Slate — Global CSS
   Navy steel + amber gold palette with Playfair Display serif headings. */

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; display: block; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: .5rem 1rem;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--on-primary);
  font-weight: 600;
  border-radius: 4px;
  z-index: 9999;
  text-decoration: none;
}

/* ── Site header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding-block: .875rem;
}
.site-header .wp-block-group { max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-inline: 1.5rem; }
.wp-block-site-title a { text-decoration: none; color: inherit; }
.wp-block-site-title a:hover { color: var(--wp--preset--color--primary); }

/* ── Navigation ──────────────────────────────────────────────── */
.wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--contrast-2); transition: color .15s; }
.wp-block-navigation a:hover { color: var(--wp--preset--color--primary); }
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a { color: var(--wp--preset--color--primary); font-weight: 600; }
.wp-block-navigation__submenu-container { min-width: 12rem; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }

/* ── Hero section ────────────────────────────────────────────── */
.hero-section {
  padding-block: 6rem;
  background: linear-gradient(135deg, #152A47 0%, #1E3A5F 60%, #264e85 100%);
  color: #fff;
  text-align: center;
}
.hero-section h1 { color: #fff; max-width: 14ch; margin-inline: auto; }
.hero-section p   { color: rgba(255,255,255,.85); font-size: var(--wp--preset--font-size--lg); max-width: 48ch; margin-inline: auto; }
.hero-section .wp-block-buttons { justify-content: center; gap: .75rem; margin-top: 2rem; }
.hero-section .wp-block-button__link {
  padding: .875rem 2rem;
  border-radius: 6px;
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 600;
  transition: all .2s;
}
.hero-section .wp-block-button:first-child .wp-block-button__link {
  background: #fff;
  color: var(--wp--preset--color--primary);
}
.hero-section .wp-block-button:first-child .wp-block-button__link:hover {
  background: #f0f4ff;
}
.hero-section .wp-block-button:last-child .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.hero-section .wp-block-button:last-child .wp-block-button__link:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* ── Section intro ───────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
  margin-bottom: .5rem;
}

/* ── Card styles ─────────────────────────────────────────────── */
.is-style-card {
  background: #fff;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  padding: 2rem !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
}
.is-style-card:hover {
  box-shadow: 0 8px 24px rgba(30,58,95,.1);
  transform: translateY(-2px);
}
.is-style-card-highlight {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--on-primary);
  border-radius: 12px;
  padding: 2rem !important;
}
.is-style-card-highlight * { color: inherit !important; }

/* ── Service cards ───────────────────────────────────────────── */
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background: var(--wp--preset--color--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--wp--preset--color--primary);
  font-size: 1.5rem;
}

/* ── Stats row ───────────────────────────────────────────────── */
.stats-section .wp-block-column { text-align: center; padding: 2rem; }
.stats-section .stat-number {
  font-size: var(--wp--preset--font-size--5xl);
  font-weight: 800;
  color: var(--wp--preset--color--primary);
  line-height: 1;
}
.stats-section .stat-label {
  font-size: var(--wp--preset--font-size--sm);
  color: var(--wp--preset--color--contrast-3);
  margin-top: .5rem;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonial-block {
  background: #fff;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}
.testimonial-block::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--wp--preset--color--primary-light);
  position: absolute;
  top: .5rem;
  left: 1.5rem;
  font-family: Georgia, serif;
}
.testimonial-block blockquote { margin: 0; border: none; padding: 0; }
.testimonial-block blockquote p { font-size: var(--wp--preset--font-size--md); font-style: italic; padding-top: 1.5rem; }
.testimonial-block cite { font-size: var(--wp--preset--font-size--sm); font-style: normal; color: var(--wp--preset--color--contrast-3); }
.testimonial-block cite strong { color: var(--wp--preset--color--contrast); display: block; }

/* ── CTA band ────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #152A47 0%, #1E3A5F 100%);
  color: #fff;
  padding-block: 5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p  { color: rgba(255,255,255,.85); font-size: var(--wp--preset--font-size--lg); }
.cta-band .wp-block-buttons { justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.cta-band .wp-block-button__link {
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 600;
}
.cta-band .wp-block-button:first-child .wp-block-button__link {
  background: #fff;
  color: var(--wp--preset--color--primary);
}
.cta-band .wp-block-button:last-child .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--wp--preset--color--contrast);
  color: rgba(255,255,255,.7);
  padding-block: 4rem 2rem;
}
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .wp-block-site-title a { color: #fff; font-weight: 700; }
.site-footer .footer-copyright { font-size: .8125rem; color: rgba(255,255,255,.45); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ── Buttons (global) ────────────────────────────────────────── */
.wp-block-button__link {
  padding: .75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--sm);
  transition: all .2s;
  text-decoration: none;
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--wp--preset--color--primary) !important;
  border: 2px solid var(--wp--preset--color--primary) !important;
}
.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--primary) !important;
  color: #fff !important;
}

/* ── Slate: sharp buttons + gold accent ──────────────────────── */
.wp-block-button__link { border-radius: 4px !important; letter-spacing: .04em; text-transform: uppercase; font-size: .8125rem; }
h1 { font-style: italic; }
.site-footer a:hover { color: var(--wp--preset--color--accent); }

/* ── Page header ─────────────────────────────────────────────── */
.page-header {
  background: var(--wp--preset--color--base-alt);
  padding-block: 4rem;
  text-align: center;
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.page-header h1 { font-size: var(--wp--preset--font-size--4xl); }
.entry-header .wp-block-post-title { font-size: var(--wp--preset--font-size--4xl); }

/* ── Prose / content area ────────────────────────────────────── */
.entry-content p,
.entry-content li { font-size: var(--wp--preset--font-size--md); line-height: var(--wp--custom--line-height--relaxed); }
.entry-content h2 { margin-top: 3rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content blockquote {
  border-left: 4px solid var(--wp--preset--color--primary);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--wp--preset--color--contrast-2);
}

/* ── WooCommerce ─────────────────────────────────────────────── */
.woocommerce-page .entry-title,
.woocommerce .woocommerce-products-header__title { font-size: var(--wp--preset--font-size--3xl); font-weight: 700; }
.woocommerce ul.products li.product .price { color: var(--wp--preset--color--primary); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce .button {
  background: var(--wp--preset--color--primary) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--wp--preset--color--primary-dark) !important;
}
.woocommerce-cart-form .coupon input,
.woocommerce #payment #place_order { border-radius: 6px; }

/* ── Accessibility ────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}
