/* ============ CLEANMYDECK.COM — SUNNY BACKYARD EDITION ============ */

:root {
  --cream: #fdf5e8;
  --cream-2: #f7ead4;
  --wood: #a0653a;
  --wood-dark: #6b3f1e;
  --ink: #33251a;
  --ink-soft: #6f5b48;
  --orange: #ff7a1a;
  --orange-dark: #e05e00;
  --green: #3e9b4f;
  --sky: #bfe3f2;
  --white: #fffdf8;
  --font-display: "Lilita One", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-scribble: "Caveat", cursive;
  --shadow: 0 6px 0 rgba(51, 37, 26, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 5vw;
  background: rgba(253, 245, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}

.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }

.logo-bubble {
  font-size: 1.5rem;
  display: inline-block;
  animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-4px) rotate(6deg); }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.logo-text em { font-style: normal; color: var(--orange); }
.logo-dot { color: var(--ink-soft); font-size: 0.7em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a { color: var(--ink); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }

/* ---------- HERO ---------- */
.hero {
  padding: 5.5rem 5vw 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 420px at 50% -80px, var(--sky) 0%, transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(160, 101, 58, 0.06) 118px 122px);
  position: relative;
}

.hero-inner { max-width: 880px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.8rem;
  transform: rotate(-1.5deg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-title .line { display: block; }

.hero-title .accent {
  color: var(--orange);
  text-shadow: 3px 3px 0 var(--ink);
  font-size: 1.25em;
  transform: rotate(-1deg);
}

.hero-sub {
  max-width: 620px;
  margin: 1.6rem auto 2.2rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-sub strong { color: var(--ink); }
.hero-sub em { color: var(--wood-dark); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  border-radius: 14px;
  border: 3px solid var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 5px 0 var(--ink);
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }

.btn-primary { background: var(--orange); color: #fff; }
.btn-outline { background: var(--white); color: var(--ink); }
.btn-wood { background: var(--wood); color: #fff; }
.btn-full { width: 100%; }

.hero-fine {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.hero-scribble {
  font-family: var(--font-scribble);
  font-size: 1.7rem;
  color: var(--wood-dark);
  transform: rotate(-3deg);
  margin-top: 1.4rem;
}

.hero-scribble span { font-size: 0.65em; color: var(--ink-soft); }

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--ink);
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: 0.75rem 0;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.marquee-track span:nth-child(odd) { color: var(--orange); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  padding: 3.2rem 5vw;
  max-width: 1150px;
  margin: 0 auto;
}

.stat {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transform: rotate(-0.8deg);
}

.stat:nth-child(even) { transform: rotate(0.8deg); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  text-shadow: 2px 2px 0 var(--ink);
}

.stat-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* ---------- SECTIONS ---------- */
.section { padding: 5rem 5vw; max-width: 1150px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  transform: rotate(-1deg);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin: 1rem 0 0.5rem;
  text-transform: uppercase;
}

.section-sub { color: var(--ink-soft); font-size: 0.98rem; }

.tilt-l { transform: rotate(-1deg); }
.tilt-r { transform: rotate(1deg); }

/* ---------- DECK TALK ---------- */
.talk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.talk-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.7rem 1.5rem;
  position: relative;
  transition: transform 0.18s;
}

.talk-card:hover { transform: rotate(0deg) translateY(-5px); }

.talk-card::before {
  content: "❝";
  position: absolute;
  top: -1.15rem;
  left: 1.1rem;
  font-size: 2.4rem;
  color: var(--orange);
  background: var(--white);
  line-height: 1;
  padding: 0 0.3rem;
}

.talk-card p { font-size: 1rem; font-style: italic; margin-bottom: 0.9rem; }

.talk-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--wood-dark);
}

/* ---------- CREW ---------- */
.crew-section {
  background: var(--cream-2);
  max-width: none;
}

.crew-section .duo-card,
.crew-section .section-head { max-width: 980px; margin-left: auto; margin-right: auto; }

.crew-section .section-head { margin-bottom: 3rem; }

.duo-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(51, 37, 26, 0.2);
  overflow: hidden;
}

.duo-photo-wrap {
  position: relative;
  background: var(--sky);
  border-bottom: 3px solid var(--ink);
  /* original photo is 4:3; a whisker wider so it shrinks slightly without a heavy crop */
  aspect-ratio: 10 / 7;
}

.duo-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.crew-sticker {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  transform: rotate(6deg);
  box-shadow: 0 3px 0 var(--ink);
}

.duo-sticker-l {
  left: 1rem;
  right: auto;
  transform: rotate(-5deg);
}

.duo-sticker-r {
  top: auto;
  bottom: 1rem;
  background: var(--green);
}

.duo-info { padding: 2rem 2.2rem 2.3rem; }

.duo-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
}

.crew-role {
  font-family: var(--font-scribble);
  font-size: 1.35rem;
  color: var(--orange-dark);
  margin: 0.15rem 0 0.9rem;
}

.crew-bio { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.crew-bio em { color: var(--ink); }

.duo-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.crew-facts {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  background: var(--cream);
  border: 2px dashed var(--wood);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.7rem 1.5rem;
  transition: transform 0.18s, box-shadow 0.18s;
}

.service-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 10px 0 rgba(51, 37, 26, 0.2);
}

.service-emoji { font-size: 2.1rem; margin-bottom: 0.6rem; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.service-card b { color: var(--ink); }

.service-tag {
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--wood-dark);
  background: var(--cream-2);
  border: 2px solid var(--wood);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.services-fine {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- RATE MY DECK ---------- */
.rate-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(51, 37, 26, 0.2);
  padding: 2.4rem 2rem;
  min-height: 250px;
}

.rq-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 1.4rem;
}

.rq-opts { display: grid; gap: 0.8rem; }

.rq-opts button {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 3px 0 var(--ink);
}

.rq-opts button:hover {
  background: #ffe9d2;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--ink);
}

.hidden { display: none !important; }

.rr-scan-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.dots::after { content: ""; animation: dots 1.2s steps(4) infinite; }

@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

.rr-progress {
  height: 14px;
  border-radius: 7px;
  border: 2px solid var(--ink);
  background: var(--cream);
  overflow: hidden;
}

.rr-progress-fill {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(45deg, var(--orange) 0 12px, var(--orange-dark) 12px 24px);
  transition: width 0.15s linear;
}

.rr-verdict { text-align: center; }

.rr-grade {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.rr-grade.g-good { color: var(--green); text-shadow: 2px 2px 0 var(--ink); }
.rr-grade.g-mid { color: var(--orange); text-shadow: 2px 2px 0 var(--ink); }
.rr-grade.g-bad { color: #d43a3a; text-shadow: 2px 2px 0 var(--ink); animation: wobble 0.5s ease-in-out 2; }

@keyframes wobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

.rr-text { color: var(--ink-soft); max-width: 460px; margin: 0 auto 1.5rem; }

.rr-verdict .btn { margin: 0.3rem; }

/* compliment generator */
.compliment {
  text-align: center;
  margin-top: 3rem;
}

.compliment-label {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.compliment-out {
  font-family: var(--font-scribble);
  font-size: 1.9rem;
  color: var(--wood-dark);
  margin-top: 1.1rem;
  min-height: 2.4rem;
  transform: rotate(-1.5deg);
}

/* ---------- TESTIMONIALS ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testi {
  background: var(--white);
  border: 3px solid var(--ink);
  border-left: 10px solid var(--green);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}

.testi p { font-size: 0.93rem; font-style: italic; margin-bottom: 0.9rem; }

.testi cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.83rem;
  color: var(--green);
}

.testi-moss { border-left-color: #d43a3a; }
.testi-moss cite { color: #d43a3a; }

/* ---------- CONTACT ---------- */
.contact { max-width: 1100px; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin: 1rem 0;
  text-transform: uppercase;
}

.contact-copy > p { color: var(--ink-soft); margin-bottom: 1.8rem; }

.contact-list { list-style: none; display: grid; gap: 1.1rem; }

.contact-list li { font-size: 1rem; font-weight: 600; }

.contact-list a { color: var(--orange-dark); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-list small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-left: 2.1rem;
}

.c-ico { display: inline-block; width: 1.7rem; }

.contact-form {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(51, 37, 26, 0.2);
  padding: 1.9rem 1.7rem;
  display: grid;
  gap: 1rem;
}

.form-head {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding-bottom: 0.7rem;
  border-bottom: 2px dashed var(--wood);
}

.contact-form label {
  font-weight: 700;
  font-size: 0.82rem;
  display: grid;
  gap: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: box-shadow 0.15s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.35); }

.form-status {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
  text-align: center;
  min-height: 1.2em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 5vw;
  border-top: 6px solid var(--orange);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.6rem;
}

.footer .logo-text { color: var(--cream); }
.footer .logo-dot { color: rgba(253, 245, 232, 0.6); }

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(253, 245, 232, 0.75);
  max-width: 580px;
  margin-top: 0.6rem;
}

.footer-brand a { color: var(--orange); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }

.footer-meta {
  font-size: 0.78rem;
  color: rgba(253, 245, 232, 0.55);
  border-top: 1px dashed rgba(253, 245, 232, 0.25);
  padding-top: 1.2rem;
}

.footer-joke { margin-top: 0.3rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav { flex-direction: column; gap: 0.7rem; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 0.8rem 1.2rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .duo-photo-wrap { aspect-ratio: 4 / 3; }
  .duo-info { padding: 1.6rem 1.4rem 1.8rem; }
  /* keep the stickers off the guys' faces on small screens */
  .duo-sticker-l { top: auto; bottom: 0.8rem; left: 0.8rem; font-size: 0.72rem; }
  .duo-sticker-r { bottom: 0.8rem; right: 0.8rem; font-size: 0.72rem; }
}
