/*
Theme Name: Dixon's Doohickeys
Theme URI: https://dixonsdoohickeys.com
Author: Kirk Interactive LLC
Description: Kinetic Play Co brand theme for Dixon's Doohickeys, a 3D printed fidget and desk toy marketing site that drives traffic to the Etsy storefront. Embedded OpenGraph, Twitter, Pinterest Rich Pin meta and JSON-LD Store and Product schema.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: dixons-doohickeys
*/

:root {
  --primary: #141414;
  --primary-mid: #242424;
  --primary-dark: #0d0d0d;
  --primary-light: #efeae2;
  --accent: #d13c8f;
  --accent-light: #e368ab;
  --secondary: #2aa89a;
  --tertiary: #e6b34c;
  --surface-light: #faf8f5;
  --text-dark: #1a1a1a;
  --text-muted: #5f5b55;
  --text-subtle: #b8b3ab;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text-dark); background: var(--surface-light); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Baloo 2', cursive; line-height: 1.15; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 700; background: var(--accent); color: #fff; padding: 14px 30px; border-radius: 99px; text-decoration: none; transition: background .2s; border: 0; cursor: pointer; }
.btn:hover { background: var(--accent-light); }
.btn.ghost { background: transparent; border: 2px solid var(--text-subtle); color: #fff; }
.btn.ghost:hover { border-color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Ribbon */
.promo-ribbon { background: var(--accent); color: #fff; text-align: center; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; padding: 8px 16px; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--primary); transition: box-shadow .2s; }
.site-nav.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { flex: none; }
.brand .brand-name { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 22px; color: #fff; }
.brand .brand-name em { font-style: normal; color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }
.site-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
.site-nav ul a { color: #fff; text-decoration: none; font-family: 'DM Sans', sans-serif; font-size: 15px; }
.site-nav ul a:hover, .site-nav ul li.current-menu-item > a { color: var(--accent-light); }
.site-nav ul li.nav-cta a { background: var(--accent); padding: 10px 22px; border-radius: 99px; font-weight: 700; }
.site-nav ul li.nav-cta a:hover { background: var(--accent-light); color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: 56px; font-weight: 800; }
.hero h1 .spin { color: var(--secondary); }
.hero h1 .squeeze { color: var(--accent); }
.hero h1 .snap { color: var(--tertiary); }
.hero p { font-size: 19px; color: var(--text-subtle); margin: 18px 0 30px; max-width: 46ch; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero img { border-radius: 16px; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Page hero (inner pages) */
.page-hero { background: var(--primary); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: 42px; }
.page-hero p { color: var(--text-subtle); margin-top: 10px; max-width: 60ch; }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--primary-light); }
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.sec-head h2 { font-size: 38px; font-weight: 800; }
.sec-head p { color: var(--text-muted); margin-top: 10px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(20,20,20,.07); display: flex; flex-direction: column; }
.card img { aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 22px; }
.card-body p { color: var(--text-muted); font-size: 15px; flex: 1; }
.card-body .price { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--text-dark); }
.card-link { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--accent); text-decoration: none; }
.card-link:hover { color: var(--accent-light); }

/* Dark feature strip */
.feature-strip { background: var(--primary); color: #fff; padding: 72px 0; }
.feature-strip h2 { text-align: center; font-size: 34px; margin-bottom: 48px; }
.feature-strip .grid { text-align: center; gap: 40px; }
.feature-strip h3 { font-size: 21px; margin: 14px 0 8px; }
.feature-strip p { color: var(--text-subtle); font-size: 15px; }
.feature-strip .dot { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.dot.teal { background: rgba(42,168,154,.18); }
.dot.magenta { background: rgba(209,60,143,.18); }
.dot.gold { background: rgba(230,179,76,.18); }

/* Split section */
.split .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.split img { border-radius: 16px; width: 100%; }
.split h2 { font-size: 36px; margin-bottom: 16px; }
.split p { color: var(--text-muted); margin-bottom: 14px; }
.callout { border-left: 4px solid var(--secondary); padding: 6px 0 6px 18px; font-size: 15px; background: rgba(42,168,154,.06); }

/* Reviews */
.review { background: #fff; border-radius: 14px; padding: 26px; }
.review .stars { color: var(--tertiary); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 15px; }
.review footer { margin-top: 12px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-muted); }

/* Kits teaser */
.kits-teaser { text-align: center; }
.badge { display: inline-block; background: var(--accent); color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; margin-bottom: 16px; }
.kits-teaser h2 { font-size: 34px; margin-bottom: 12px; }
.kits-teaser p { color: var(--text-muted); max-width: 58ch; margin: 0 auto 26px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.contact-form input, .contact-form textarea, .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #ddd6cc; border-radius: 10px; font-family: 'Source Sans 3', sans-serif; font-size: 15px; margin-bottom: 14px; background: #fff; }
.contact-form label { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; display: block; margin-bottom: 6px; }
.contact-aside { background: var(--primary); color: #fff; border-radius: 14px; padding: 32px; align-self: start; }
.contact-aside h3 { font-size: 20px; margin-bottom: 12px; }
.contact-aside p, .contact-aside a { color: var(--text-subtle); font-size: 15px; }
.contact-aside a { display: block; margin-bottom: 8px; text-decoration: none; }
.contact-aside a:hover { color: #fff; }

/* Footer */
.site-footer { background: var(--primary-dark); color: var(--text-subtle); padding: 56px 0 32px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer a { color: var(--text-subtle); text-decoration: none; display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--primary-mid); margin-top: 28px; padding-top: 20px; font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
}
@media (max-width: 900px) {
  .hero .wrap, .split .wrap, .contact-grid { grid-template-columns: 1fr; }
  .grid, .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .menu-toggle { display: block; }
  .site-nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 18px 24px 24px; gap: 16px; align-items: flex-start; }
  .site-nav ul.toggled { display: flex; }
  .hero h1 { font-size: 36px; }
}
