/*
Theme Name: Simpleton Scott
Theme URI: https://bloks.net/
Description: Custom Simpleton child theme for Scott Exteriors.
Author: BLOKS
Author URI: https://bloks.net/
Template: simpleton
Version: 0.2.4
Text Domain: simpleton-scott
*/

/* ==========================================================
   1. Design Tokens
   ========================================================== */

:root {
  --scott-green: #006633;
  --scott-green-light: #168052;
  --scott-green-dark: #003f25;
  --scott-green-deep: #021f16;

  --scott-bronze: #b49a6a;
  --scott-bronze-light: #d2c09a;
  --scott-bronze-dark: #806b47;

  --scott-ink: #07120e;
  --scott-charcoal: #151a18;
  --scott-stone: #d9d5cc;
  --scott-ivory: #f4f1e9;
  --scott-white: #faf9f6;

  --scott-header-bg: rgba(244, 241, 233, 0.97);
  --scott-serif: "Cormorant Garamond", serif;
  --scott-sans: "Inter", sans-serif;

  --scott-content-width: 1180px;
  --scott-reading-width: 760px;
  --scott-page-gutter: 20px;
  --scott-section-space: clamp(80px, 10vw, 140px);
  --scott-section-space-small: clamp(60px, 8vw, 100px);
  --scott-radius: 18px;
  --scott-shadow: 0 22px 50px rgba(7, 18, 14, 0.12);
  --scott-media-shadow: 0 24px 60px rgba(3, 28, 20, 0.10);
  --scott-section-border: rgba(6, 86, 49, 0.06);
}

/* ==========================================================
   2. Base
   ========================================================== */

body {
  color: var(--scott-ink);
  font-family: var(--scott-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--scott-serif);
}

img {
  max-width: 100%;
}

/* ==========================================================
   3. Reusable Layout Components
   ========================================================== */

.scott-wrap,
.scott-page-hero-inner,
.scott-feature-intro-grid,
.scott-section-heading,
.scott-info-grid,
.scott-benefit-grid,
.scott-project-grid,
.scott-process-grid,
.scott-editor-test-inner,
.scott-editor-test-grid,
.scott-editor-test-card-grid,
.scott-editor-test-cta > div {
  width: min(var(--scott-content-width), 100%);
  margin-inline: auto;
}

.scott-section,
.scott-page-hero,
.scott-feature-intro,
.scott-roofing-services,
.scott-why-section,
.scott-projects-section,
.scott-process-section {
  padding: var(--scott-section-space) var(--scott-page-gutter);
}

.scott-section--compact {
  padding-block: var(--scott-section-space-small);
}

.scott-section--light {
  color: var(--scott-ink);
  background: var(--scott-ivory);
}

.scott-section--white {
  color: var(--scott-ink);
  background: #fff;
}

.scott-section--dark {
  color: #fff;
  background: var(--scott-green-deep);
}

.scott-section-heading {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.scott-section-heading--center {
  max-width: 900px;
  text-align: center;
}

.scott-section-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.scott-section-heading > p:last-child:not(.scott-eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.scott-section-heading--center > p:last-child:not(.scott-eyebrow) {
  margin-inline: auto;
}

.scott-eyebrow {
  margin: 0 0 22px;
  color: var(--scott-green);
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scott-split,
.scott-feature-intro-grid,
.scott-editor-test-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}

.scott-split--reverse > :first-child {
  order: 2;
}

.scott-split img,
.scott-feature-intro-image img,
.scott-feature-secondary-image,
.scott-editor-test-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--scott-radius);
}

.scott-card-grid,
.scott-info-grid,
.scott-benefit-grid,
.scott-process-grid,
.scott-editor-test-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.scott-card,
.scott-info-card,
.scott-benefit-card,
.scott-process-card,
.scott-editor-test-card {
  padding: 34px;
  border: 1px solid rgba(7, 18, 14, 0.1);
  border-radius: var(--scott-radius);
  background: #fff;
  box-shadow: var(--scott-shadow);
}

.scott-section--dark .scott-card,
.scott-section--dark .scott-info-card,
.scott-section--dark .scott-benefit-card,
.scott-section--dark .scott-process-card,
.scott-editor-test-services .scott-editor-test-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.scott-card-number,
.scott-info-number,
.scott-process-number,
.scott-benefit-card > span,
.scott-editor-test-card > span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--scott-bronze);
  font-family: var(--scott-sans);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.scott-card h3,
.scott-info-card h3,
.scott-benefit-card h3,
.scott-process-card h3,
.scott-editor-test-card h3 {
  margin: 0 0 14px;
  font-size: 2rem;
}

.scott-card p,
.scott-info-card p,
.scott-benefit-card p,
.scott-process-card p,
.scott-editor-test-card p {
  margin: 0;
  line-height: 1.7;
}

.scott-section--dark .scott-card p,
.scott-section--dark .scott-info-card p,
.scott-section--dark .scott-benefit-card p,
.scott-section--dark .scott-process-card p,
.scott-editor-test-services .scott-editor-test-card p {
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================
   4. Header and Navigation
   ========================================================== */

.simpleton-accent-bar {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--scott-green-dark),
    var(--scott-green),
    var(--scott-bronze),
    var(--scott-green),
    var(--scott-green-dark)
  ) !important;
}

.simpleton-site-header {
  border: 0;
  background: var(--scott-header-bg) !important;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(0, 102, 51, 0.12);
  backdrop-filter: blur(18px);
}

.simpleton-brand img,
.simpleton-brand .custom-logo {
  width: var(--simpleton-logo-width);
  max-width: 100%;
  height: auto;
}

.simpleton-nav a {
  color: var(--scott-ink);
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simpleton-nav a:hover,
.simpleton-nav a:focus,
.simpleton-nav .current-menu-item > a {
  color: var(--scott-green);
}

/* Financing is intentionally presented as a compact header CTA,
   rather than another ordinary navigation label. */
.simpleton-nav .scott-nav-financing > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--scott-bronze);
  border-radius: 999px;
  color: var(--scott-green-dark);
  background: rgba(255, 255, 255, 0.34);
  letter-spacing: 0.07em;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.simpleton-nav .scott-nav-financing > a:hover,
.simpleton-nav .scott-nav-financing > a:focus,
.simpleton-nav .scott-nav-financing.current-menu-item > a {
  color: #fff;
  background: var(--scott-green);
  border-color: var(--scott-green);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 102, 51, 0.16);
}

/* ==========================================================
   5. Buttons and Links
   ========================================================== */

.scott-btn,
.scott-reveal-btn,
.scott-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--scott-sans);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.scott-btn:hover,
.scott-reveal-btn:hover,
.scott-final-cta a:hover {
  transform: translateY(-2px);
}

.scott-btn--primary,
.scott-reveal-btn-primary,
.scott-final-cta a {
  color: #fff !important;
  background: var(--scott-green);
  box-shadow: 0 22px 44px rgba(0, 102, 51, 0.28);
}

.scott-btn--primary:hover,
.scott-btn--primary:focus,
.scott-reveal-btn-primary:hover,
.scott-reveal-btn-primary:focus,
.scott-final-cta a:hover,
.scott-final-cta a:focus {
  color: #fff !important;
  background: var(--scott-green-light);
  box-shadow: 0 24px 50px rgba(180, 154, 106, 0.26);
}

.scott-btn--secondary,
.scott-reveal-btn-secondary {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

/* Backward compatibility for content saved before BoCE Raw HTML mode. */
.scott-btn > br,
.scott-reveal-btn > br,
.scott-final-cta a > br,
.scott-reveal-services > br {
  display: none !important;
}

/* ==========================================================
   6. Homepage Cinematic Hero
   ========================================================== */

.scott-reveal-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - 96px);
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--scott-green-deep);
}

.scott-reveal-sky,
.scott-reveal-photo,
.scott-reveal-dark {
  position: absolute;
  inset: 0;
}

.scott-reveal-sky {
  z-index: 0;
  opacity: 0.55;
}

.scott-reveal-sky canvas,
.scott-reveal-sky .bloks-shader-display {
  width: 100%;
  height: 100%;
}

.scott-reveal-photo {
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(to bottom, transparent 45%, rgba(2, 31, 22, 0.76) 100%),
    url("https://mason.bloks.net/wp-content/uploads/2026/06/17464bf0-83ff-48c5-84f7-c19a1ccf7347.jpg") center / cover no-repeat;
  transform: scale(1.08);
  animation:
    scottPhotoReveal 2600ms ease-out 400ms forwards,
    scottSlowSettle 24000ms ease-in-out 3200ms infinite alternate;
}

.scott-reveal-dark {
  z-index: 2;
  background:
    radial-gradient(circle at 72% 34%, rgba(180, 154, 106, 0.18), transparent 28%),
    radial-gradient(circle at 18% 70%, rgba(0, 102, 51, 0.16), transparent 35%),
    linear-gradient(90deg, rgba(2, 18, 14, 0.88), rgba(2, 18, 14, 0.32) 52%, rgba(2, 18, 14, 0.72)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(2, 18, 14, 0.88));
}

.scott-reveal-content {
  position: relative;
  z-index: 3;
  width: min(var(--scott-content-width), calc(100% - 40px));
  padding: 9vh 0 150px;
  opacity: 0;
  transform: translateY(18px);
  animation: scottContentIn 1200ms ease-out 1300ms forwards;
}

.scott-reveal-logo,
.scott-reveal-sub,
.scott-reveal-services span,
.scott-service-panel p,
.scott-service-panel a,
.scott-final-cta p {
  font-family: var(--scott-sans);
}

.scott-reveal-logo {
  margin: 0;
  color: var(--scott-bronze);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scott-reveal-sub {
  margin: 12px 0 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scott-reveal-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(4.5rem, 11vw, 12rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.scott-reveal-line {
  max-width: 560px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--scott-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
}

.scott-reveal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.scott-reveal-services {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(900px, calc(100% - 40px));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 31, 22, 0.22);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.scott-reveal-services > span {
  display: block;
  padding: 18px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.scott-reveal-services span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

/* ==========================================================
   7. Homepage Service Showcase
   ========================================================== */

.scott-services-showcase {
  background: var(--scott-green-deep);
}

.scott-service-panel {
  position: relative;
  display: flex;
  min-height: 72vh;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.scott-service-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 18, 14, 0.88), rgba(2, 18, 14, 0.16)),
    linear-gradient(to top, rgba(2, 18, 14, 0.94), transparent 58%);
}

.scott-service-panel > div {
  position: relative;
  z-index: 2;
  width: min(var(--scott-content-width), calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: 90px;
}

.scott-service-panel p {
  margin: 0 0 18px;
  color: var(--scott-bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scott-service-panel h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 8.8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.scott-service-panel a {
  display: inline-flex;
  margin-top: 34px;
  padding-bottom: 8px;
  color: #fff;
  border-bottom: 1px solid var(--scott-bronze);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.scott-service-panel a:hover {
  color: var(--scott-bronze-light);
}

.scott-service-roofing {
  background-image: url("https://mason.bloks.net/wp-content/uploads/2026/06/100Orchard-9.jpg");
}

.scott-service-siding {
  background-image: url("https://mason.bloks.net/wp-content/uploads/2026/06/vinyl_siding_styles.jpeg");
  background-position: center 42%;
}

.scott-service-windows {
  background-image: url("https://mason.bloks.net/wp-content/uploads/2026/06/shutterstock_2542520497-scaled.jpg");
  background-position: center 58%;
}

/* ==========================================================
   8. Homepage Supporting Sections
   ========================================================== */

.scott-craft-section {
  padding: var(--scott-section-space) var(--scott-page-gutter);
  color: var(--scott-ink);
  background:
    radial-gradient(circle at 75% 20%, rgba(0, 102, 51, 0.09), transparent 34%),
    linear-gradient(135deg, var(--scott-ivory), #e7e2d8);
}

.scott-craft-inner {
  width: min(980px, 100%);
  margin-inline: auto;
  text-align: center;
}

.scott-craft-inner h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.scott-craft-inner p:last-child {
  max-width: 680px;
  margin: 34px auto 0;
  color: rgba(7, 18, 14, 0.72);
  font-size: 1.15rem;
  line-height: 1.8;
}

.scott-final-cta {
  display: grid;
  min-height: 70vh;
  padding: 120px 20px;
  place-items: center;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(2, 18, 14, 0.72), rgba(2, 18, 14, 0.9)),
    url("https://mason.bloks.net/wp-content/uploads/2026/06/17464bf0-83ff-48c5-84f7-c19a1ccf7347.jpg") center / cover no-repeat;
}

.scott-final-cta > div {
  width: min(900px, 100%);
}

.scott-final-cta p {
  margin: 0 0 22px;
  color: var(--scott-bronze);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scott-final-cta h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.scott-final-cta a {
  margin-top: 42px;
}

/* ==========================================================
   9. Interior Page Foundation
   ========================================================== */

.scott-page-hero {
  padding-block: clamp(90px, 10vw, 140px);
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 102, 51, 0.1), transparent 34%),
    var(--scott-ivory);
}

.scott-page-hero-inner {
  max-width: 900px;
}

.scott-page-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.scott-page-lead {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 1.15rem;
  line-height: 1.8;
}

.scott-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.scott-feature-intro-content h2,
.scott-editor-test-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
}

.scott-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.scott-project-card {
  display: block;
  overflow: hidden;
  border-radius: var(--scott-radius);
  background: var(--scott-charcoal);
}

.scott-project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 300ms ease;
}

.scott-project-card:hover img {
  transform: scale(1.035);
}

/* ==========================================================
   10. Editor Test Page
   Temporary but intentionally built from shared components.
   ========================================================== */

.scott-editor-test-hero {
  padding: 150px 20px 120px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 102, 51, 0.12), transparent 35%),
    var(--scott-ivory);
}

.scott-editor-test-inner {
  max-width: 820px;
  text-align: center;
}

.scott-editor-test-inner h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.scott-editor-test-inner > p:not(.scott-eyebrow) {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: 1.15rem;
  line-height: 1.8;
}

.scott-editor-test-inner .scott-reveal-btn,
.scott-editor-test-cta .scott-reveal-btn {
  margin-top: 30px;
}

.scott-editor-test-section,
.scott-editor-test-services,
.scott-editor-test-cta {
  padding: 110px 20px;
}

.scott-editor-test-section {
  background: #fff;
}

.scott-editor-test-services {
  color: #fff;
  background: var(--scott-green-deep);
}

.scott-editor-test-services .scott-section-heading {
  max-width: 820px;
  margin-bottom: 56px;
  text-align: center;
}

.scott-editor-test-services .scott-section-heading h2,
.scott-editor-test-cta h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
}

.scott-editor-test-cta {
  text-align: center;
  background: var(--scott-ivory);
}

.scott-editor-test-cta > div {
  max-width: 820px;
}

.scott-editor-test-cta p:not(.scott-eyebrow) {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

/* ==========================================================
   11. Motion
   ========================================================== */

@keyframes scottPhotoReveal {
  to {
    opacity: 0.92;
    transform: scale(1.02);
  }
}

@keyframes scottSlowSettle {
  from {
    transform: scale(1.02) translateY(0);
  }

  to {
    transform: scale(1.07) translateY(-10px);
  }
}

@keyframes scottContentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scott-reveal-photo,
  .scott-reveal-content {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .scott-project-card img,
  .scott-btn,
  .scott-reveal-btn,
  .scott-final-cta a {
    transition: none;
  }
}

/* ==========================================================
   12. Responsive
   ========================================================== */

@media (max-width: 900px) {
  .scott-split,
  .scott-feature-intro-grid,
  .scott-editor-test-grid {
    grid-template-columns: 1fr;
  }

  .scott-split--reverse > :first-child {
    order: initial;
  }

  .scott-card-grid,
  .scott-info-grid,
  .scott-benefit-grid,
  .scott-process-grid,
  .scott-editor-test-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .simpleton-brand img,
  .simpleton-brand .custom-logo {
    max-width: 260px;
  }

  .scott-reveal-hero {
    min-height: calc(100vh - 82px);
  }

  .scott-reveal-content {
    padding: 100px 0 170px;
  }

  .scott-reveal-content h1 {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .scott-reveal-actions,
  .scott-page-actions {
    flex-direction: column;
  }

  .scott-btn,
  .scott-reveal-btn {
    width: 100%;
  }

  .scott-reveal-services {
    bottom: 20px;
    grid-template-columns: 1fr;
  }

  .scott-reveal-services span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .scott-service-panel {
    min-height: 68vh;
  }

  .scott-service-panel > div {
    padding-bottom: 70px;
  }

  .scott-card-grid,
  .scott-info-grid,
  .scott-benefit-grid,
  .scott-process-grid,
  .scott-project-grid,
  .scott-editor-test-card-grid {
    grid-template-columns: 1fr;
  }

  .scott-editor-test-hero {
    padding: 110px 20px 90px;
  }

  .scott-editor-test-section,
  .scott-editor-test-services,
  .scott-editor-test-cta {
    padding: 90px 20px;
  }
}

/* ==========================================================
   Service Panel Contrast Fix
   Roofing / Siding / Windows
   ========================================================== */

.scott-service-panel p {
  display: inline-flex;
  align-items: center;

  padding: 8px 12px;
  margin-bottom: 18px;

  background: rgba(2, 18, 14, 0.72);
  border: 1px solid rgba(180, 154, 106, 0.42);
  border-radius: 999px;

  color: var(--scott-bronze-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.scott-service-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 18px;
  margin-top: 28px;

  color: #fff;
  background: rgba(2, 18, 14, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;

  text-decoration: none;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.scott-service-panel a:hover,
.scott-service-panel a:focus {
  background: var(--scott-green);
  border-color: var(--scott-green-light);
  color: #fff;
  transform: translateY(-2px);
}

.scott-service-panel::before {
  background:
    radial-gradient(
      circle at 18% 72%,
      rgba(2, 18, 14, 0.72),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(2, 18, 14, 0.82),
      rgba(2, 18, 14, 0.12) 62%
    ),
    linear-gradient(
      to top,
      rgba(2, 18, 14, 0.88),
      transparent 58%
    );
}

/* ==========================================================
   13. Shared Interior Section Treatments
   Promoted from proven About / service / Contact page styles.
   Page-specific classes remain as compatibility hooks while
   reusable modifiers are available for future page markup.
   ========================================================== */

.scott-section--warm,
.scott-about-story,
.scott-service-intro,
.scott-contact-intro {
  background:
    radial-gradient(circle at 85% 35%, rgba(6, 86, 49, 0.08), transparent 34%),
    #f7f5ee;
  border-top: 1px solid var(--scott-section-border);
}

.scott-section--sage,
.scott-about-values,
.scott-contact-expect {
  background: linear-gradient(135deg, #edf3ed 0%, #f5f4ee 100%);
  border-top: 1px solid var(--scott-section-border);
}

.scott-section--warm-left,
.scott-about-visit,
.scott-contact-visit {
  background:
    radial-gradient(circle at 18% 50%, rgba(6, 86, 49, 0.10), transparent 36%),
    #f4f1e8;
  border-top: 1px solid var(--scott-section-border);
}

.scott-section--promise,
.scott-about-promise {
  color: #fff;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.07), transparent 35%),
    linear-gradient(135deg, #032d20 0%, #075237 100%);
  border-top: 1px solid var(--scott-section-border);
}

.scott-section--promise p,
.scott-section--promise h2,
.scott-about-promise p,
.scott-about-promise h2 {
  color: #fff;
}

.scott-section--promise .scott-eyebrow,
.scott-about-promise .scott-eyebrow {
  color: #d6c08a;
}

.scott-section--promise .scott-large-copy,
.scott-about-promise .scott-large-copy {
  color: rgba(255, 255, 255, 0.86);
}

.scott-section--warm-cta,
.scott-about-cta {
  background: linear-gradient(180deg, #f2f0e8 0%, #faf9f5 100%);
  border-top: 1px solid var(--scott-section-border);
}

/* Polished media treatment used throughout interior split layouts. */
.scott-about-story .scott-split img,
.scott-about-visit .scott-split img,
.scott-service-intro .scott-split img,
.scott-split-image,
.scott-split--polished img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--scott-radius);
  box-shadow: var(--scott-media-shadow);
}

/* Four-card sections use a balanced 2 x 2 layout on larger screens. */
.scott-card-grid.scott-card-grid-2x2,
.scott-card-grid.scott-process-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ==========================================================
   14. Contact Page Components
   ========================================================== */

.scott-contact-details {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.scott-contact-detail {
  padding-top: 24px;
  border-top: 1px solid rgba(6, 86, 49, 0.12);
}

.scott-contact-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.scott-contact-detail p {
  margin-bottom: 0;
}

.scott-contact-detail a {
  color: inherit;
  text-decoration: none;
}

.scott-contact-detail a:hover,
.scott-contact-detail a:focus {
  color: var(--scott-green);
}

.scott-contact-large {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.5;
}

.scott-contact-map {
  overflow: hidden;
  margin-top: 40px;
  border-radius: var(--scott-radius);
  box-shadow: var(--scott-media-shadow);
}

.scott-contact-map iframe {
  display: block;
  width: 100%;
}

.scott-contact-intro .wpforms-container {
  width: 100%;
  max-width: 100%;
  margin-top: 36px;
}

.scott-contact-intro .wpforms-container .wpforms-field {
  padding: 10px 0;
}

.scott-contact-intro .wpforms-container input,
.scott-contact-intro .wpforms-container textarea,
.scott-contact-intro .wpforms-container select {
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================
   15. Financing Page — Hearth Integration
   Hearth owns the calculator; Simpleton Scott owns presentation.
   ========================================================== */

.scott-financing-intro {
  background:
    radial-gradient(circle at 85% 35%, rgba(6, 86, 49, 0.08), transparent 34%),
    #f7f5ee;
  border-top: 1px solid rgba(6, 86, 49, 0.06);
}

.scott-financing-calculator {
  display: flex;
  justify-content: center;
  max-width: 560px;
  margin: 50px auto 0;
  padding: 48px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 86, 49, 0.10);
  border-radius: var(--scott-radius);
  box-shadow: 0 24px 60px rgba(3, 28, 20, 0.08);
}

.scott-financing-calculator iframe {
  display: block;
  width: 100%;
  max-width: 300px;
  min-height: 620px;
  margin: 0 auto;
  border: 0;
}

.scott-financing-benefits {
  background: linear-gradient(135deg, #edf3ed 0%, #f5f4ee 100%);
  border-top: 1px solid rgba(6, 86, 49, 0.06);
}

.scott-financing-next .scott-btn {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .scott-financing-calculator {
    padding: 28px 16px;
  }
}

/* ==========================================================
   16. BLOKS Reviews — Scott Exteriors Integration
   BLOKS Reviews owns functionality; this theme owns presentation.
   ========================================================== */

.scott-reviews-section {
  padding: 120px var(--scott-page-gutter);
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 86, 49, 0.08), transparent 34%),
    linear-gradient(135deg, #edf3ed 0%, #f7f5ee 100%);
}

.scott-reviews-section .bloks-reviews {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.scott-reviews-section .bloks-reviews__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.scott-reviews-section .bloks-reviews__source-row {
  margin: 0 0 24px;
}

.scott-reviews-section .bloks-reviews__viewport {
  overflow: hidden;
  padding: 24px 28px 40px;
  margin: -24px 0 -40px;
}

.scott-reviews-section .bloks-review-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(6, 86, 49, 0.10);
  box-shadow:
    0 12px 30px rgba(3, 28, 20, 0.07),
    0 2px 8px rgba(3, 28, 20, 0.04);
}

@media (max-width: 760px) {
  .scott-card-grid.scott-card-grid-2x2,
  .scott-card-grid.scott-process-cards {
    grid-template-columns: 1fr;
  }
}

/* WPForms submit button — Scott Exteriors */

.scott-contact-intro .wpforms-container .wpforms-submit,
.scott-contact-intro .wpforms-container button.wpforms-submit {
  background-color: var(--scott-green) !important;
  border-color: var(--scott-green) !important;
  color: #fff !important;

  border-radius: 999px !important;
  padding: 15px 24px !important;

  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.scott-contact-intro .wpforms-container .wpforms-submit:hover,
.scott-contact-intro .wpforms-container button.wpforms-submit:hover {
  background-color: var(--scott-green-dark) !important;
  border-color: var(--scott-green-dark) !important;
  color: #fff !important;

  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(3, 28, 20, 0.14);
}