/* ==========================================================================
   Holiday Hustle Kit — /holiday-hustle-kit
   Ported from the approved Claude artifact. Every rule is scoped under .hhk
   so nothing here can leak into the shared nav/footer or other pages.
   Fonts come from the site's own fonts.css (Montserrat + Lato), not Google Fonts.
   ========================================================================== */

.hhk {
  --hhk-teal: #357C7A; --hhk-teal-900: #031E1D; --hhk-teal-800: #082B2A; --hhk-teal-700: #124341; --hhk-teal-600: #225D5B;
  --hhk-teal-300: #80B7B4; --hhk-teal-100: #D9ECEB;
  --hhk-green: #85BC59; --hhk-green-700: #4C8023; --hhk-green-100: #D3E9C1;
  --hhk-lime: #D4ED71; --hhk-lime-50: #F3F9D9;
  --hhk-red: #D83B02;
  --hhk-char: #343A40; --hhk-n600: #64686E; --hhk-n300: #C4C4CA; --hhk-n100: #F1F2F4;
  --hhk-white: #FFFFFF;
  --hhk-head: var(--f-head); --hhk-body: var(--f-body);
  --hhk-nav: 80px; /* height of the site's fixed top nav */

  font-family: var(--hhk-body); color: var(--hhk-char); background: #FBFCF7; line-height: 1.6; font-size: 17px;
}
@media (prefers-reduced-motion: no-preference) { html:has(.hhk) { scroll-behavior: smooth; } }

/* undo the site's global resets where the original relied on browser defaults */
.hhk h1, .hhk h2, .hhk h3, .hhk .hhk-label { font-family: var(--hhk-head); font-weight: 700; }
.hhk b { font-weight: 700; }
.hhk a { color: var(--hhk-teal); text-decoration: underline; }
.hhk .hhk-red { color: var(--hhk-red); }

/* ---------- HERO ---------- */
.hhk-hero { position: relative; overflow: hidden; color: var(--hhk-white);
  background: radial-gradient(1200px 600px at 85% -10%, var(--hhk-teal) 0%, transparent 60%),
              linear-gradient(160deg, var(--hhk-teal-700) 0%, var(--hhk-teal-800) 70%, var(--hhk-teal-900) 100%);
  padding: calc(var(--hhk-nav) + 28px) 24px 0; }
.hhk-hero-inner { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; }
.hhk-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hhk-topbar img { height: 40px; width: auto; display: block; }
.hhk-series { font-family: var(--hhk-head); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--hhk-teal-100); opacity: .9; }
.hhk-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; padding: 56px 0 64px; }
.hhk-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--hhk-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--hhk-lime); margin-bottom: 14px; }
.hhk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hhk-red); box-shadow: 0 0 0 4px rgba(216,59,2,.25); }
.hhk-hero h1 { font-weight: 900; font-size: clamp(44px, 7vw, 84px); line-height: .95; margin: 0 0 18px; letter-spacing: -.02em; }
.hhk-hero h1 .hhk-hl { color: var(--hhk-lime); }
.hhk-hero p.hhk-lead { font-size: 20px; max-width: 560px; color: #E6F1F0; margin: 0 0 28px; }
.hhk-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hhk .hhk-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-family: var(--hhk-head); font-weight: 700; font-size: 14px; text-decoration: none; }
.hhk .hhk-chip--lime { background: var(--hhk-lime); color: #050505; }
.hhk .hhk-chip--ghost { border: 2px solid rgba(255,255,255,.35); color: var(--hhk-white); }
.hhk .hhk-chip--ghost:hover { border-color: var(--hhk-lime); color: var(--hhk-lime); }

/* ornament ring cluster */
.hhk-ornaments { position: relative; height: 340px; }
.hhk-orn { position: absolute; border-radius: 50%; }
.hhk-orn .hhk-cap { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); width: 22px; height: 16px; border-radius: 4px; background: var(--hhk-teal-300); }
.hhk-orn .hhk-str { position: absolute; left: 50%; bottom: 100%; width: 2px; background: rgba(255,255,255,.35); transform: translateX(-50%); }
.hhk-orn--a { width: 170px; height: 170px; left: 10%; top: 120px; background: radial-gradient(circle at 32% 30%, #E3F3A3, var(--hhk-lime) 35%, #88A31F 100%); }
.hhk-orn--a .hhk-str { height: 120px; margin-bottom: 14px; }
.hhk-orn--b { width: 120px; height: 120px; left: 58%; top: 60px; background: radial-gradient(circle at 32% 30%, #F08A5E, var(--hhk-red) 40%, #8F2701 100%); }
.hhk-orn--b .hhk-str { height: 60px; margin-bottom: 14px; }
.hhk-orn--c { width: 96px; height: 96px; left: 62%; top: 226px; background: radial-gradient(circle at 32% 30%, #BEDFA4, var(--hhk-green) 40%, var(--hhk-green-700) 100%); }
.hhk-orn--c .hhk-str { height: 212px; margin-bottom: 14px; }
.hhk-orn .hhk-shine { position: absolute; inset: 14% 52% 52% 14%; border-radius: 50%; background: rgba(255,255,255,.45); filter: blur(2px); }
.hhk-orn--ring { border: 3px solid rgba(212,237,113,.5); background: none; width: 260px; height: 260px; left: 2%; top: 40px; }
.hhk-orn--ring2 { border: 2px dashed rgba(255,255,255,.18); background: none; width: 330px; height: 330px; left: -6%; top: 6px; }

/* snow — only animates for people who haven't asked their device to reduce motion */
.hhk-snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hhk-flake { position: absolute; top: -10px; color: rgba(255,255,255,.7); font-size: 12px; display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hhk-flake { display: block; animation: hhk-fall linear infinite; }
}
@keyframes hhk-fall { to { transform: translate3d(30px, 620px, 0) rotate(180deg); } }

/* garland/ribbon divider */
.hhk-garland { position: relative; z-index: 2; height: 40px; margin: 0 -24px; background:
  repeating-linear-gradient(-45deg, var(--hhk-red) 0 14px, var(--hhk-white) 14px 28px); opacity: .95; }
.hhk-garland::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 40%); }

/* ---------- LAYOUT ---------- */
.hhk-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.hhk-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -28px auto 0; position: relative; z-index: 3; }
.hhk-cd { background: var(--hhk-white); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 10px 30px rgba(3,30,29,.12); border-top: 5px solid var(--hhk-teal); }
.hhk-cd:nth-child(2) { border-top-color: var(--hhk-red); }
.hhk-cd:nth-child(3) { border-top-color: var(--hhk-green); }
.hhk-cd:nth-child(4) { border-top-color: var(--hhk-lime); }
.hhk-cd .hhk-d { font-family: var(--hhk-head); font-weight: 800; font-size: 26px; color: var(--hhk-teal-700); line-height: 1; }
.hhk-cd .hhk-n { font-family: var(--hhk-head); font-weight: 600; font-size: 13px; color: var(--hhk-n600); margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }

.hhk-howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 56px 0 24px; }
.hhk-step { background: var(--hhk-teal-100); border-radius: 16px; padding: 22px; }
.hhk-step .hhk-num { font-family: var(--hhk-head); font-weight: 900; font-size: 40px; color: var(--hhk-teal); line-height: 1; }
.hhk-step h3 { margin: 8px 0 6px; font-size: 17px; color: var(--hhk-teal-700); }
.hhk-step p { margin: 0; font-size: 15px; }

.hhk-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.hhk .hhk-toc a { font-family: var(--hhk-head); font-weight: 600; font-size: 13px; text-decoration: none; color: var(--hhk-teal-700); background: var(--hhk-white); border: 1.5px solid var(--hhk-teal-100); padding: 8px 14px; border-radius: 999px; }
.hhk .hhk-toc a:hover { border-color: var(--hhk-teal); background: var(--hhk-lime-50); }

section.hhk-kit { margin: 64px 0; scroll-margin-top: calc(var(--hhk-nav) + 20px); }
.hhk-sec-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.hhk-badge { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--hhk-head); font-weight: 900; font-size: 20px; color: var(--hhk-white); background: var(--hhk-teal); position: relative; }
.hhk-badge::before { content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 16px; height: 10px; border-radius: 3px; background: var(--hhk-teal-300); }
section.hhk-kit:nth-of-type(3n+2) .hhk-badge { background: var(--hhk-red); }
section.hhk-kit:nth-of-type(3n) .hhk-badge { background: var(--hhk-green-700); }
.hhk-sec-head h2 { margin: 2px 0 6px; font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; color: var(--hhk-teal-700); letter-spacing: -.01em; line-height: 1.2; }
.hhk-sec-head p { margin: 0; max-width: 720px; }

.hhk-prompt { position: relative; background: var(--hhk-white); border: 1px solid #E3E8E7; border-left: 5px solid var(--hhk-teal); border-radius: 14px; margin: 16px 0; box-shadow: 0 2px 0 rgba(3,30,29,.04); }
.hhk-prompt .hhk-ph { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 0 18px; }
.hhk-prompt .hhk-ph .hhk-label { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--hhk-teal); }
.hhk .hhk-copy { font-family: var(--hhk-head); font-weight: 700; font-size: 12px; line-height: normal; border: none; cursor: pointer; background: var(--hhk-lime); color: #050505; padding: 7px 12px; border-radius: 999px; }
.hhk .hhk-copy:hover { filter: brightness(.95); }
.hhk .hhk-copy.is-done { background: var(--hhk-teal); color: var(--hhk-white); }
.hhk-prompt pre { margin: 0; padding: 10px 18px 18px; white-space: pre-wrap; font-family: var(--hhk-body); font-size: 15.5px; line-height: 1.6; color: var(--hhk-char); }
.hhk-prompt pre b { color: var(--hhk-red); font-weight: 700; }

.hhk-tip { display: flex; gap: 12px; align-items: flex-start; background: var(--hhk-lime-50); border: 1px dashed #B2D03D; border-radius: 14px; padding: 14px 18px; margin-top: 16px; }
.hhk-tip .hhk-t { font-family: var(--hhk-head); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--hhk-lime); color: #050505; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hhk-tip p { margin: 0; }

table.hhk-cal { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--hhk-white); border-radius: 14px; overflow: hidden; border: 1px solid #E3E8E7; margin: 10px 0 6px; }
.hhk-cal th { font-family: var(--hhk-head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: left; background: var(--hhk-teal); color: var(--hhk-white); padding: 12px 16px; }
.hhk-cal td { padding: 12px 16px; border-top: 1px solid #EEF1F0; vertical-align: top; font-size: 15.5px; }
.hhk-cal td:first-child { font-family: var(--hhk-head); font-weight: 700; color: var(--hhk-teal-700); white-space: nowrap; }
.hhk-cal tr.hhk-big td { background: var(--hhk-lime-50); }
.hhk-cal tr.hhk-big td:first-child::before { content: "★ "; color: var(--hhk-red); }

.hhk-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 12px 0 28px; }
.hhk-rule { background: var(--hhk-white); border-radius: 14px; padding: 18px; border: 1px solid #E3E8E7; }
.hhk-rule h3 { margin: 0 0 4px; font-size: 16px; color: var(--hhk-teal-700); }
.hhk-rule p { margin: 0; font-size: 15px; }

.hhk-check { background: linear-gradient(160deg, var(--hhk-teal-700), var(--hhk-teal-800)); color: var(--hhk-white); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.hhk-check h3 { margin: 0 0 4px; font-size: 22px; }
.hhk-check .hhk-sub { color: var(--hhk-teal-100); margin: 0 0 16px; font-size: 15px; }
.hhk-progress { height: 10px; background: rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; margin: 0 0 18px; }
.hhk-progress span { display: block; height: 100%; width: 0; background: var(--hhk-lime); transition: width .3s; }
.hhk-check ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.hhk-check label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15.5px; padding: 6px 0; }
.hhk-check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--hhk-teal-300); margin: 2px 0 0; display: grid; place-items: center; cursor: pointer; }
.hhk-check input:focus-visible { outline: 2px solid var(--hhk-lime); outline-offset: 2px; }
.hhk-check input:checked { background: var(--hhk-lime); border-color: var(--hhk-lime); }
.hhk-check input:checked::after { content: "✓"; color: #050505; font-weight: 900; font-size: 13px; }
.hhk-check input:checked + span { opacity: .6; text-decoration: line-through; }
.hhk-done-msg { display: none; margin-top: 14px; font-family: var(--hhk-head); font-weight: 700; color: var(--hhk-lime); }

/* the site nav is 64px tall on phones */
@media (max-width: 809.98px) { .hhk { --hhk-nav: 64px; } }

@media (max-width: 820px) {
  .hhk-hero-grid { grid-template-columns: 1fr; padding: 40px 0 48px; }
  .hhk-ornaments { display: none; }
  .hhk-countdown { grid-template-columns: repeat(2, 1fr); }
  .hhk-howto, .hhk-rules, .hhk-check ul { grid-template-columns: 1fr; }
  .hhk-cal td:first-child { white-space: normal; }
}
@media print {
  .hhk-snow, .hhk-copy, .hhk-toc { display: none !important; }
  .hhk { background: #fff; }
  section.hhk-kit { break-inside: avoid-page; }
}
