/*
Theme Name: Rub A Dub Dub Window Scrub Coming Soon
Theme URI: https://rubadubdubwindowscrub.com
Author: Wayne McAlister
Description: A lightweight, responsive coming-soon theme for Rub A Dub Dub Window Scrub.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rddws-coming-soon
*/

:root {
  --navy: #032758;
  --navy-deep: #011b3d;
  --aqua: #00c8f2;
  --aqua-light: #8de7f7;
  --yellow: #ffd600;
  --orange: #ff7900;
  --white: #ffffff;
  --ink-soft: #34516f;
  --page: #f7fdff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}

button, input { font: inherit; }

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 26%, rgba(0, 200, 242, 0.18), transparent 29rem),
    radial-gradient(circle at 8% 86%, rgba(141, 231, 247, 0.27), transparent 24rem),
    linear-gradient(145deg, #ffffff 0%, #f5fdff 48%, #eafaff 100%);
}

.site-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(3, 39, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 39, 88, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero {
  min-height: 100vh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 56px 0;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  padding: 10px 15px 10px 11px;
  border: 1px solid rgba(3, 39, 88, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(3, 39, 88, 0.08);
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 2px var(--aqua), 0 0 14px rgba(0, 200, 242, 0.65);
}

.launch-label {
  margin: 0 0 10px;
  color: #08769f;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(4rem, 9vw, 7.7rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-shadow: 0 5px 0 rgba(0, 200, 242, 0.12);
}

.tagline {
  margin: 26px 0 0;
  color: #007da8;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  font-weight: 900;
  line-height: 1.25;
}

.intro {
  max-width: 570px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
}

.launch-status {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 32px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(3, 39, 88, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 40px rgba(3, 39, 88, 0.08);
  backdrop-filter: blur(14px);
}

.status-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(255, 214, 0, 0.28);
}

.launch-status strong, .launch-status span { display: block; }
.launch-status strong { font-size: 0.94rem; }
.launch-status div > span { margin-top: 3px; color: #5b718a; font-size: 0.8rem; }

.hero-art {
  min-height: min(76vw, 700px);
  position: relative;
  display: grid;
  place-items: center;
}

.logo-glow {
  position: absolute;
  width: min(92%, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 40px 90px rgba(3, 39, 88, 0.16),
    0 0 0 22px rgba(255, 255, 255, 0.3),
    0 0 0 52px rgba(0, 200, 242, 0.08);
}

.brand-logo {
  width: min(100%, 700px);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 28px 34px rgba(3, 39, 88, 0.17));
  animation: logo-float 5.5s ease-in-out infinite;
}

.ambient-bubbles, .bubble, .sparkle { pointer-events: none; position: absolute; }
.ambient-bubbles { z-index: -1; inset: 0; }

.bubble {
  border: 2px solid rgba(0, 200, 242, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95), rgba(141,231,247,0.22) 36%, rgba(0,200,242,0.08));
  box-shadow: inset -8px -8px 18px rgba(0, 200, 242, 0.08);
}

.bubble-one { width: 84px; height: 84px; top: 8%; left: 4%; }
.bubble-two { width: 32px; height: 32px; top: 17%; right: 6%; }
.bubble-three { width: 54px; height: 54px; bottom: 10%; left: 47%; }
.bubble-four { width: 20px; height: 20px; bottom: 24%; right: 3%; }

.sparkle { color: rgba(0, 163, 207, 0.46); font-size: 2.2rem; }
.sparkle-one { top: 14%; left: 48%; }
.sparkle-two { right: 3%; bottom: 12%; font-size: 1.5rem; }

.services {
  width: min(1180px, calc(100% - 48px));
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 96px 0 42px;
}

.services-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
}

.section-kicker {
  margin: 0 0 12px;
  color: #08769f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.services-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.05em;
}

.services-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.service-card {
  min-height: 250px;
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(3, 39, 88, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 50px rgba(3, 39, 88, 0.08);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -54px;
  bottom: -62px;
  border: 18px solid rgba(0, 200, 242, 0.1);
  border-radius: 50%;
}

.featured-card {
  color: white;
  border-color: var(--navy);
  background: linear-gradient(145deg, #073a78, var(--navy-deep));
  box-shadow: 0 22px 52px rgba(3, 39, 88, 0.2);
}

.featured-card::after { border-color: rgba(141, 231, 247, 0.16); }

.service-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(0, 200, 242, 0.13);
  color: #007fa8;
  font-size: 0.78rem;
  font-weight: 950;
}

.featured-card .service-number {
  background: var(--yellow);
  color: var(--navy);
}

.service-card h3 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.service-card p {
  max-width: 310px;
  margin: 0;
  color: #55708c;
  font-size: 0.94rem;
  line-height: 1.7;
}

.featured-card p { color: #c7e9f6; }

.launch-panel {
  min-height: 220px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  position: relative;
  margin-top: 72px;
  padding: 34px 38px 34px 18px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% -50%, rgba(0, 200, 242, 0.35), transparent 19rem),
    linear-gradient(135deg, #073a78, var(--navy-deep));
  color: white;
  box-shadow: 0 28px 70px rgba(3, 39, 88, 0.18);
}

.launch-panel::after {
  content: "✦";
  position: absolute;
  top: 18px;
  right: 26px;
  color: rgba(141, 231, 247, 0.42);
  font-size: 2rem;
}

.launch-duck {
  width: 144px;
  height: 144px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.18));
}

.launch-panel-copy p {
  margin: 0 0 8px;
  color: var(--aqua-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-panel-copy h2 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.domain-block {
  min-width: 250px;
  padding: 17px 20px;
  border: 1px solid rgba(141, 231, 247, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.domain-block span,
.domain-block strong { display: block; }

.domain-block span {
  color: var(--aqua-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.domain-block strong {
  margin-top: 7px;
  color: white;
  font-size: 0.88rem;
}

footer {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 30px 0 36px;
  color: #58728d;
  font-size: 0.74rem;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 920px) {
  .hero {
    width: min(720px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 36px 0 54px;
    text-align: center;
  }

  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .eyebrow { margin-bottom: 30px; }
  .intro { max-width: 600px; }
  .hero-art { min-height: auto; order: -1; }
  .brand-logo { width: min(76vw, 480px); }
  .logo-glow { width: min(67vw, 430px); }

  .services { width: min(720px, calc(100% - 36px)); }
  .services-heading { grid-template-columns: 1fr; gap: 18px; }
  .services-heading > p { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }

  .launch-panel {
    grid-template-columns: 115px 1fr;
    padding: 28px;
  }

  .launch-duck { width: 112px; height: 112px; }
  .domain-block { grid-column: 1 / -1; margin-left: 0; }
  footer { width: min(720px, calc(100% - 36px)); }
}

@media (max-width: 560px) {
  .hero { width: min(100% - 28px, 480px); padding-top: 22px; }
  .hero-art { margin-bottom: 10px; }
  .brand-logo { width: min(92vw, 390px); }
  .logo-glow { width: min(78vw, 330px); }

  .eyebrow {
    max-width: 100%;
    justify-content: center;
    font-size: 0.64rem;
    letter-spacing: 0.065em;
  }

  h1 { font-size: clamp(3.65rem, 19vw, 5.5rem); }
  .launch-status { width: 100%; text-align: left; }
  .bubble-one, .sparkle-one { display: none; }

  .services {
    width: min(100% - 28px, 480px);
    padding-top: 72px;
  }

  .service-card { padding: 25px; border-radius: 24px; }

  .launch-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 46px;
    padding: 26px;
    text-align: center;
  }

  .launch-duck { margin: 0 auto; }
  .domain-block { min-width: 0; text-align: left; }
  .domain-block strong { font-size: 0.78rem; overflow-wrap: anywhere; }

  footer {
    width: min(100% - 28px, 480px);
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-logo { animation: none; }
}
