/*
Theme Name: Simpleton Scott
Theme URI: https://bloks.net/
Description: Simpleton Scott child theme for Simpleton.
Author: BLOKS
Author URI: https://bloks.net/
Template: simpleton
Version: 0.1.0
Text Domain: simpleton-scott
*/

/* ==========================================================
   Variables
   ========================================================== */

:root {
  --scott-gold: #c9a55c;
  --scott-gold-light: #e2c783;
  --scott-gold-dark: #8f6c34;

  --scott-ink: #08111b;
  --scott-charcoal: #111827;
  --scott-white: #f7f5f2;
  --scott-header-bg: #f8f6f2;

  --scott-serif: "Cormorant Garamond", serif;
  --scott-sans: "Inter", sans-serif;
}

/* ==========================================================
   Simpleton Header
   ========================================================== */

.simpleton-accent-bar {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--scott-gold-dark),
    var(--scott-gold),
    var(--scott-gold-light),
    var(--scott-gold),
    var(--scott-gold-dark)
  ) !important;
}

.simpleton-site-header {
  background: var(--scott-header-bg) !important;
  border: 0;
  box-shadow:
    0 10px 34px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(201, 165, 92, 0.14);
}

.simpleton-header-inner {
  min-height: 96px;
}

.simpleton-brand img,
.simpleton-brand .custom-logo {
  max-width: 360px;
  width: auto;
  height: auto;
}

.simpleton-nav a {
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--scott-ink);
}

.simpleton-nav a:hover,
.simpleton-nav .current-menu-item > a {
  color: var(--scott-gold);
}

/* ==========================================================
   Cinematic Reveal Hero
   ========================================================== */

.scott-reveal-hero {
  position: relative;
  min-height: calc(100vh - 96px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background: #05070a;
  color: #fff;
}

.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;
  background:
    linear-gradient(to bottom, transparent 45%, rgba(5, 7, 10, 0.72) 100%),
    url("https://scott.bloks.net/wp-content/uploads/2026/06/17464bf0-83ff-48c5-84f7-c19a1ccf7347.jpg") center center / cover no-repeat;
  opacity: 0;
  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(226, 184, 96, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.70)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.82));
}

.scott-reveal-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  padding: 9vh 0 150px;
  opacity: 0;
  transform: translateY(18px);
  animation: scottContentIn 1200ms ease-out 1300ms forwards;
}

.scott-reveal-logo {
  margin: 0;
  color: var(--scott-gold);
  font-family: var(--scott-sans);
  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-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scott-reveal-content h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--scott-serif);
  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-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--scott-sans);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.scott-reveal-btn:hover {
  transform: translateY(-2px);
}

.scott-reveal-btn-primary {
  background: var(--scott-gold);
  color: #111;
  box-shadow: 0 22px 44px rgba(201, 165, 92, 0.26);
}

.scott-reveal-btn-primary:hover {
  box-shadow: 0 24px 50px rgba(201, 165, 92, 0.32);
}

.scott-reveal-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.scott-reveal-services {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.scott-reveal-services span {
  padding: 18px 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scott-reveal-services span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

/* ==========================================================
   Animations
   ========================================================== */

@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);
  }
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 760px) {
  .simpleton-header-inner {
    min-height: 82px;
  }

  .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 {
    flex-direction: column;
  }

  .scott-reveal-btn {
    width: 100%;
  }

  .scott-reveal-services {
    grid-template-columns: 1fr;
    bottom: 20px;
  }

  .scott-reveal-services span + span {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* ==========================================================
   Service Showcase
   ========================================================== */

.scott-services-showcase {
  background: #05070a;
}

.scott-service-panel {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.scott-service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.18)),
    linear-gradient(to top, rgba(5, 7, 10, 0.92), transparent 58%);
  z-index: 1;
}

.scott-service-panel > div {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 90px;
}

.scott-service-panel p {
  margin: 0 0 18px;
  color: var(--scott-gold);
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scott-service-panel h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--scott-serif);
  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;
  color: #fff;
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--scott-gold);
  padding-bottom: 8px;
}

.scott-service-panel a:hover {
  color: var(--scott-gold);
}

/* Replace these with real/project images later */
.scott-service-roofing {
  background-image: url("https://scott.bloks.net/wp-content/uploads/2026/06/100Orchard-9.jpg");
}

.scott-service-siding {
  background-image: url("https://scott.bloks.net/wp-content/uploads/2026/06/vinyl_siding_styles.jpeg");
  background-position: center 42%;
}

.scott-service-windows {
  background-image: url("https://scott.bloks.net/wp-content/uploads/2026/06/shutterstock_2542520497-scaled.jpg");
  background-position: center 58%;
}

/* ==========================================================
   Craftsmanship Statement
   ========================================================== */

.scott-craft-section {
  background:
    radial-gradient(circle at 75% 20%, rgba(201, 165, 92, 0.16), transparent 34%),
    linear-gradient(135deg, #f8f6f2, #eee8dd);
  color: var(--scott-ink);
  padding: 140px 20px;
}

.scott-craft-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.scott-eyebrow {
  margin: 0 0 22px;
  color: var(--scott-gold-dark);
  font-family: var(--scott-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scott-craft-inner h2 {
  margin: 0;
  font-family: var(--scott-serif);
  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(8, 17, 27, 0.72);
  font-family: var(--scott-sans);
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ==========================================================
   Final CTA
   ========================================================== */

.scott-final-cta {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 120px 20px;
  background:
    linear-gradient(rgba(5, 7, 10, 0.72), rgba(5, 7, 10, 0.86)),
    url("https://scott.bloks.net/wp-content/uploads/2026/06/17464bf0-83ff-48c5-84f7-c19a1ccf7347.jpg") center center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.scott-final-cta > div {
  width: min(900px, 100%);
}

.scott-final-cta p {
  margin: 0 0 22px;
  color: var(--scott-gold);
  font-family: var(--scott-sans);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scott-final-cta h2 {
  margin: 0;
  font-family: var(--scott-serif);
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.scott-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 42px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--scott-gold);
  color: #111;
  font-family: var(--scott-sans);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 24px 50px rgba(201, 165, 92, 0.32);
}

@media (max-width: 760px) {
  .scott-service-panel {
    min-height: 68vh;
  }

  .scott-service-panel > div {
    padding-bottom: 70px;
  }

  .scott-craft-section {
    padding: 100px 20px;
  }
}