/*
Theme Name: Mr Hickory Warm One Page v2
Theme URI: https://mrhickorysings.com/
Author: OpenAI / ChatGPT
Description: A warm, playful one-page WordPress theme for Mr Hickory. Built with HTML, CSS and light PHP only.
Version: 1.1.0
License: GPLv2 or later
Text Domain: mr-hickory-warm-one-page
*/

:root {
  --ink: #173557;
  --ink-soft: #2f5276;
  --orange: #f49a00;
  --orange-deep: #d87700;
  --orange-soft: #ffb531;
  --cream: #fff3d8;
  --cream-2: #fff9ec;
  --paper: #fffaf0;
  --white: #ffffff;
  --sage: #7b945c;
  --sage-pale: #ecf1df;
  --terracotta: #b95f2a;
  --brown: #8b5a2b;
  --shadow: 0 24px 80px rgba(69, 41, 11, 0.18);
  --soft-shadow: 0 14px 36px rgba(49, 38, 25, 0.12);
  --display: 'Baloo 2', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 9999;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
}
.skip-link:focus { left: 12px; }

.mh-container {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 22px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(255, 244, 220, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(102, 67, 21, .10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-logo { width: 216px; filter: drop-shadow(0 5px 0 rgba(255,255,255,.15)); }
.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}
.site-header.is-scrolled .main-nav { color: var(--ink); }
.main-nav a {
  position: relative;
  opacity: .96;
  transition: transform .2s ease, opacity .2s ease;
}
.main-nav a:hover { transform: translateY(-2px) rotate(-1deg); opacity: 1; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -7px;
  height: 4px;
  border-radius: 999px;
  background: var(--cream);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: center;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1) rotate(-1deg); }
.parent-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 3px solid rgba(255,255,255,.86);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}
.parent-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  color: transparent;
  position: relative;
}
.parent-icon::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 12px;
  border-radius: 12px 12px 4px 4px;
  left: -5px;
  top: 19px;
  background: currentColor;
}
.site-header.is-scrolled .parent-pill {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(255,255,255,.45);
}

.hero {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 206, 92, .65), transparent 25%),
    radial-gradient(circle at 2% 88%, rgba(255, 195, 72, .7), transparent 26%),
    linear-gradient(135deg, var(--orange-soft) 0%, var(--orange) 44%, #ee8a00 100%);
  padding: 130px 0 95px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .28;
  background-image: radial-gradient(rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}
.hero::after {
  content: '';
  position: absolute;
  width: 760px;
  height: 520px;
  right: -280px;
  bottom: -180px;
  border-radius: 50% 30% 45% 40%;
  background: rgba(255, 194, 64, .45);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 24px;
}
.hero-copy { position: relative; z-index: 3; max-width: 620px; }
.mini-label {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--terracotta);
}
.hero .mini-label { color: rgba(255,255,255,.86); text-shadow: 0 2px 0 rgba(125, 69, 0, .12); }
.mini-label.dark { color: var(--terracotta); }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .9;
  color: var(--cream-2);
  text-shadow: 0 6px 0 rgba(138, 81, 0, .12);
  font-size: clamp(4.2rem, 8.4vw, 8rem);
  max-width: 760px;
}
.hero-subtitle {
  margin: 28px 0 0;
  max-width: 575px;
  color: var(--white);
  font-size: clamp(1.22rem, 1.75vw, 1.62rem);
  line-height: 1.38;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(125, 69, 0, .09);
}
.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 62px;
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.mh-btn:hover { transform: translateY(-3px) rotate(-.4deg); }
.mh-btn-light {
  color: var(--ink);
  background: var(--cream-2);
  box-shadow: 0 12px 0 rgba(130, 78, 11, .14), 0 18px 34px rgba(94, 55, 5, .16);
}
.mh-btn-outline {
  color: var(--white);
  border: 3px solid rgba(255,255,255,.86);
  box-shadow: 0 10px 30px rgba(100, 55, 5, .10);
}
.soft-note {
  margin: 24px 0 0;
  color: rgba(255,255,255,.86);
  font-weight: 700;
  max-width: 520px;
}
.hero-art {
  position: relative;
  min-height: 630px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
}
.sunny-splodge {
  position: absolute;
  width: 610px;
  height: 610px;
  right: 6%;
  bottom: -48px;
  border-radius: 53% 47% 42% 58% / 51% 37% 63% 49%;
  background: radial-gradient(circle, rgba(255, 219, 134, .74), rgba(255, 186, 45, .08) 68%);
  filter: blur(.2px);
  animation: lazyBlob 12s ease-in-out infinite alternate;
}
.grandpa-hero {
  position: relative;
  width: min(535px, 44vw);
  max-height: 80vh;
  object-fit: contain;
  transform-origin: 50% 88%;
  filter: drop-shadow(0 28px 28px rgba(93, 55, 11, .25));
  backface-visibility: hidden;
  animation: grandpaFloat 6.4s ease-in-out infinite;
}
.hero-doodle {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, .82);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  user-select: none;
  animation: doodleDrift 7s ease-in-out infinite alternate;
}
.star-one { left: 3.5%; top: 24%; font-size: 48px; transform: rotate(-12deg); }
.star-two { right: 8%; top: 33%; font-size: 26px; opacity: .5; }
.note-one { right: 46%; top: 22%; font-size: 66px; }
.note-two { right: 13%; top: 22%; font-size: 62px; animation-delay: -1s; }
.note-three { left: 50%; bottom: 17%; font-size: 42px; animation-delay: -2s; }
.hero-leaf {
  position: absolute;
  width: 48px;
  height: 24px;
  background: rgba(171, 106, 21, .20);
  border-radius: 100% 0 100% 0;
  transform: rotate(-34deg);
}
.leaf-one { right: 5%; bottom: 23%; }
.leaf-two { left: 43%; bottom: 13%; transform: rotate(28deg); }
.hero-bottom-hill {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -90px;
  height: 170px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 65% 65% 0 0;
  z-index: 2;
}

.watch-strip {
  background: var(--paper);
  position: relative;
  z-index: 4;
  padding: 34px 0 78px;
}
.watch-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 36px 44px 34px 52px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.watch-inner::after {
  content: '♪';
  position: absolute;
  right: 36px;
  top: 22px;
  font-family: var(--display);
  font-size: 92px;
  color: rgba(255,255,255,.07);
  transform: rotate(8deg);
}
.watch-copy h2,
.section h2,
.hello-card h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.watch-copy p,
.section p {
  font-size: 1.12rem;
  line-height: 1.72;
  font-weight: 600;
}
.watch-copy p { color: rgba(255,255,255,.82); max-width: 700px; }
.youtube-card {
  min-height: 178px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  color: var(--ink);
  border-radius: 34px 30px 40px 28px;
  padding: 26px;
  box-shadow: inset 0 -7px 0 rgba(238, 183, 67, .23);
  transition: transform .2s ease;
}
.youtube-card:hover { transform: rotate(1deg) translateY(-4px); }
.play-dot {
  width: 70px;
  height: 70px;
  background: #ff342c;
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(137, 17, 12, .18);
}
.youtube-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}
.youtube-card small {
  display: block;
  color: var(--ink-soft);
  font-weight: 700;
  margin-top: 5px;
}

.section { padding: 86px 0; position: relative; }
.two-column,
.about-grid,
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.cosy-card {
  background: var(--cream-2);
  border: 2px solid rgba(139, 90, 43, .12);
  border-radius: 42px 58px 44px 36px;
  padding: clamp(32px, 5vw, 62px);
  box-shadow: var(--soft-shadow);
}
.parents-section::before,
.songs-section::before,
.hello-section::before {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: .35;
  background: var(--sage-pale);
}
.parents-section::before { width: 260px; height: 260px; right: -90px; top: 20px; }
.trust-list { display: grid; gap: 16px; }
.trust-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border-radius: 26px 20px 30px 22px;
  padding: 20px;
  box-shadow: inset 0 -4px 0 rgba(232, 214, 177, .35);
}
.trust-item span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
}
.trust-item p { margin: 0; font-size: 1rem; line-height: 1.45; }
.trust-item strong { font-family: var(--display); font-size: 1.22rem; }

.about-section { background: linear-gradient(180deg, var(--paper), #fff5df); }
.portrait-frame {
  justify-self: center;
  position: relative;
  max-width: 440px;
}
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 11% -11% -3% -9%;
  z-index: 0;
  border-radius: 45% 55% 50% 50%;
  background: #f4dfb6;
  transform: rotate(-4deg);
}
.portrait-frame img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 26px 28px rgba(58, 39, 20, .16));
}
.about-copy p { max-width: 610px; }


.dave-section {
  background: linear-gradient(180deg, #fff5df, var(--paper));
  padding-top: 70px;
  padding-bottom: 76px;
}
.dave-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 50px 36px 54px 42px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.dave-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(244,154,0,.22);
}
.dave-badge {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 42% 58% 54% 46% / 50% 44% 56% 50%;
  background: var(--cream-2);
  color: var(--orange);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 800;
  box-shadow: inset 0 -8px 0 rgba(238,183,67,.22);
  transform: rotate(-5deg);
}
.dave-copy { position: relative; z-index: 1; }
.dave-copy .mini-label { color: var(--orange-soft); }
.dave-copy h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.dave-copy p {
  max-width: 850px;
  color: rgba(255,255,255,.84);
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 600;
}
.dave-copy strong { color: var(--cream-2); }

.songs-section { background: var(--cream-2); overflow: hidden; }
.songs-section::before { width: 360px; height: 360px; left: -140px; bottom: 40px; background: rgba(244,154,0,.15); }
.section-heading { text-align: center; margin-bottom: 34px; }
.section-heading.left { text-align: left; margin-bottom: 0; }
.section-heading h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.finder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.finder-card {
  background: var(--paper);
  border-radius: 34px 26px 38px 30px;
  padding: 28px 24px;
  min-height: 270px;
  box-shadow: var(--soft-shadow);
  border: 2px solid rgba(139, 90, 43, .08);
  transition: transform .2s ease;
}
.finder-card:nth-child(2) { border-radius: 26px 38px 28px 34px; transform: rotate(.8deg); }
.finder-card:nth-child(3) { border-radius: 38px 28px 34px 26px; transform: rotate(-.6deg); }
.finder-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.finder-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe5aa;
  color: var(--orange-deep);
  font-family: var(--display);
  font-size: 2rem;
  margin-bottom: 18px;
}
.finder-card:nth-child(2) .finder-icon { background: #e8eef7; color: var(--ink); }
.finder-card:nth-child(3) .finder-icon { background: var(--sage-pale); color: var(--sage); }
.finder-card:nth-child(4) .finder-icon { background: #ffe1d3; color: var(--terracotta); }
.finder-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
}
.finder-card p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }

.quote-section { padding: 70px 0; background: linear-gradient(180deg, #fff5df, var(--paper)); }
.quote-card {
  background: var(--orange);
  color: var(--cream-2);
  border-radius: 55px 42px 58px 36px;
  padding: clamp(36px, 7vw, 82px);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.quote-card::before,
.quote-card::after {
  content: '♪';
  position: absolute;
  font-family: var(--display);
  color: rgba(255,255,255,.18);
  font-size: 86px;
}
.quote-card::before { left: 36px; top: 24px; transform: rotate(-16deg); }
.quote-card::after { right: 50px; bottom: 18px; transform: rotate(14deg); }
.quote-card p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.03em;
}

.faq-section { background: var(--paper); }
.faq-list { display: grid; gap: 14px; }
details {
  background: var(--cream-2);
  border-radius: 24px 28px 22px 30px;
  padding: 20px 22px;
  border: 2px solid rgba(139, 90, 43, .10);
  box-shadow: 0 10px 28px rgba(91, 59, 26, .06);
}
summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
}
details p { margin: 12px 0 0; color: var(--ink-soft); font-size: 1rem; }

.hello-section { background: var(--cream-2); overflow: hidden; }
.hello-section::before { width: 300px; height: 300px; right: -100px; top: 22px; background: rgba(123,148,92,.28); }
.hello-card {
  text-align: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.55), transparent 18%),
    var(--ink);
  color: var(--white);
  border-radius: 52px 42px 55px 44px;
  padding: clamp(38px, 6vw, 72px);
  box-shadow: var(--shadow);
}
.hello-card .mini-label { color: var(--orange-soft); }
.hello-card p { max-width: 660px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.82); }
.social-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.social-pills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  box-shadow: inset 0 -4px 0 rgba(232, 214, 177, .55);
}

.site-footer {
  background: #112946;
  color: rgba(255,255,255,.76);
  text-align: center;
  padding: 52px 0;
}
.footer-inner { display: grid; justify-items: center; gap: 16px; }
.footer-logo { width: 210px; }
.footer-inner p { margin: 0; font-weight: 700; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
  color: var(--cream);
}
.footer-inner small { color: rgba(255,255,255,.54); font-weight: 700; }

@keyframes grandpaFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  42% { transform: translateY(-7px) rotate(.18deg); }
  76% { transform: translateY(3px) rotate(-.12deg); }
}
@keyframes lazyBlob {
  0% { transform: rotate(-2deg) scale(1); border-radius: 53% 47% 42% 58% / 51% 37% 63% 49%; }
  100% { transform: rotate(3deg) scale(1.03); border-radius: 43% 57% 54% 46% / 44% 55% 45% 56%; }
}
@keyframes doodleDrift {
  0% { transform: translateY(0) rotate(-9deg); }
  100% { transform: translateY(-14px) rotate(7deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .site-logo { width: 190px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .soft-note { margin-left: auto; margin-right: auto; }
  .hero-art { min-height: 520px; }
  .grandpa-hero { width: min(500px, 74vw); }
  .watch-inner,
  .two-column,
  .about-grid,
  .dave-card,
  .faq-wrap { grid-template-columns: 1fr; }
  .dave-card { text-align: center; justify-items: center; }
  .finder-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .mh-container { width: min(100% - 28px, 1180px); }
  .site-header { padding: 14px 0; }
  .header-inner { gap: 12px; }
  .site-logo { width: 154px; }
  .parent-pill { padding: 10px 13px; border-width: 2px; font-size: .92rem; }
  .parent-icon { display: none; }
  .hero { min-height: auto; padding: 112px 0 60px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-actions { gap: 12px; }
  .mh-btn { width: 100%; min-height: 58px; padding: 16px 18px; font-size: 1.1rem; }
  .hero-art { min-height: 420px; margin-top: 12px; }
  .grandpa-hero { width: min(410px, 92vw); }
  .dave-badge { width: 104px; height: 104px; font-size: 3.2rem; }
  .note-one, .note-two, .note-three { opacity: .35; }
  .watch-strip { padding-bottom: 48px; }
  .watch-inner { border-radius: 28px; padding: 28px 20px; }
  .youtube-card { flex-direction: column; text-align: center; min-height: 0; }
  .section { padding: 58px 0; }
  .cosy-card { border-radius: 30px; padding: 26px 20px; }
  .watch-copy h2, .section h2, .hello-card h2 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-card { min-height: 0; }
  .quote-card { border-radius: 34px; }
  .faq-wrap { gap: 24px; }
  .footer-logo { width: 170px; }
}
