@charset "UTF-8";
/* ==========================================================================
   HOMEPAGE HERO — two banners, one stylesheet
     .hero--chill  "Get ready for the chill!"
     .hero--bf     Black Friday — "The Burning Gift"
   Which one shows is set in template-parts/hero.php.
   Paths assume this file lives in /wp-content/themes/logs/ (adjust if not).
   ========================================================================== */
:root {
  --ember-a: #E8802A;
  --ember-b: #f04923;
  --fire: #CC1B22;
  --fire-dark: #A9141A;
  --ink: #140c06;
  --paper: #fff;
  --hero-font: "Titillium Web", Helvetica, sans-serif;
  --hero-font-narrow: "Titillium Web", Helvetica, sans-serif;
  --hero-font-sans: "Titillium Web", Helvetica, sans-serif;
}
/* --------------------------------------------------------------------------
   SHARED — both banners
   All type and spacing is sized in cqw (1% of the hero's width), so the
   overlay scales exactly with the artwork. A vw value precedes each one as
   a fallback for very old browsers.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3.2592592593;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: #1a0b04;
  /* shows while the image loads */
  font-family: var(--hero-font);
  color: var(--paper);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* ==========================================================================
   BANNER 1 — "Get ready for the chill!"  (.hero--chill)
   Desktop artwork 4400 × 1350, mobile artwork 800 × 1157
   ========================================================================== */
/* Small snowflake on the burning log (decorative) */
.hero__snow {
  position: absolute;
  left: 88.4%;
  top: 70.5%;
  width: 2.3%;
  height: auto;
  color: #fff;
  opacity: 0.92;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}
/* Text + buttons block, centred in the gap between the products and the log */
.hero__inner {
  position: absolute;
  top: 19.5%;
  left: 52.2%;
  transform: translateX(-50%);
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  margin: 0;
  font-family: var(--hero-font-narrow);
  /* desktop artwork uses a narrower face */
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.97;
  letter-spacing: 0;
  font-size: 5vw;
  font-size: 5cqw;
  text-shadow: 0 0.03em 0.25em rgba(0, 0, 0, 0.35);
}
.hero__title span {
  display: block;
}
.hero__sub {
  margin: 1.1vw 0 0;
  margin: 1.1cqw 0 0;
  font-weight: 700;
  font-size: 1.95vw;
  font-size: 1.95cqw;
  line-height: 1;
  text-shadow: 0 0.03em 0.25em rgba(0, 0, 0, 0.35);
}
.hero__actions {
  margin-top: 2.9vw;
  margin-top: 2.9cqw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8vw;
  gap: 0.8cqw;
  /* two buttons on the first row, the third wraps underneath.
     Width is in em so the wrap point always tracks the button text size. */
  font-size: max(11px, 1.55vw);
  font-size: max(11px, 1.55cqw);
  width: 15.5em;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  min-height: 2.85vw;
  min-height: 2.85cqw;
  padding: 0 0.7em;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.hero__btn:hover {
  background: var(--fire);
  transform: translateY(-2px);
}
.hero__btn:active {
  transform: none;
}
.hero__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
/* --------------------------------------------------------------------------
   Mobile / portrait (artwork is 800 × 1157)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Buttons drop to the bottom of the artwork as three text links */
  /* Mobile artwork reads Handy Sacks → XL Crates → Boxes */
  .hero--chill {
    aspect-ratio: 0.6914433881;
  }
  .hero__snow {
    display: none;
  }
  .hero__inner {
    inset: 0;
    transform: none;
    width: auto;
    padding-top: 30vw;
    padding-top: 30cqw;
  }
  .hero__title {
    font-family: var(--hero-font);
    font-size: 11.6vw;
    font-size: 11.6cqw;
    line-height: 0.95;
  }
  .hero__sub {
    margin-top: 1.6vw;
    margin-top: 1.6cqw;
    font-size: 5.4vw;
    font-size: 5.4cqw;
  }
  .hero__actions {
    margin-top: auto;
    width: 100%;
    font-size: 4.3vw;
    font-size: 4.3cqw;
    padding: 0 4% 1.5% 8%;
    /* nudged right to sit under the products, as in the artwork */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: end;
  }
  .hero__btn {
    flex-direction: column;
    gap: 0.25em;
    min-height: 44px;
    /* comfortable tap target */
    padding: 0.4em 0.2em;
    background: none;
    line-height: 1;
    text-shadow: 0 0.04em 0.3em rgba(0, 0, 0, 0.35);
  }
  .hero__btn:hover {
    background: none;
    transform: none;
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .hero__btn--sacks {
    order: 1;
  }
  .hero__btn--crates {
    order: 2;
  }
  .hero__btn--boxes {
    order: 3;
  }
}
/* ==========================================================================
   BANNER 2 — Black Friday, "The Burning Gift"  (.hero--bf)
   Desktop artwork 4400 × 1350, mobile artwork 800 × 1197
   Positions match the designer's mockups. x values are % of the banner's
   width, y values are % of its height; type is in cqw like the chill banner.
   ========================================================================== */
.hero--bf {
  aspect-ratio: 3.2592592593;
  background: #0b1024;
  /* night sky while the image loads */
  --bf-yellow: #FED444;
  --bf-orange: #F24E1E;
  --bf-orange-hover: #ff6a3d;
}
/* ---- Offer block: headline, contents, buttons ---------------------------- */
.hero-bf__offer {
  position: absolute;
  top: 38.95%;
  left: 49.6%;
  translate: -50% 0;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-bf__title {
  margin: 0;
  font-family: var(--hero-font-sans);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0.03em 0.3em rgba(0, 0, 0, 0.45);
}
.hero-bf__kicker {
  display: block;
  font-size: 2.98vw;
  font-size: 2.98cqw;
  letter-spacing: -0.003em;
}
.hero-bf__name {
  display: block;
  margin-top: 0.36vw;
  margin-top: 0.36cqw;
  color: var(--bf-yellow);
  font-size: 4.05vw;
  font-size: 4.05cqw;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.hero-bf__contents {
  margin: 0;
  font-family: var(--hero-font-sans);
  font-weight: 700;
  font-size: 1.36vw;
  font-size: 1.36cqw;
  line-height: 1.39;
  letter-spacing: -0.006em;
  text-shadow: 0 0.03em 0.3em rgba(0, 0, 0, 0.5);
}
.hero-bf__actions {
  margin-top: 0.95vw;
  margin-top: 0.95cqw;
  display: flex;
  justify-content: center;
  gap: 0.7vw;
  gap: 0.7cqw;
}
.hero-bf__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.89vw;
  height: 2.89cqw;
  padding: 0 0.85em;
  border: 0.12em solid transparent;
  border-radius: 0;
  font: 700 1.68vw/1 var(--hero-font);
  font-size: 1.68cqw;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  position: relative;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hero-bf__btn--shop {
  background: var(--bf-orange);
  border-color: var(--bf-orange);
}
.hero-bf__btn--shop:hover {
  background: var(--bf-orange-hover);
  border-color: var(--bf-orange-hover);
  transform: translateY(-2px);
}
.hero-bf__btn--hint {
  background: rgba(8, 12, 30, 0.72);
  border-color: #fff;
}
.hero-bf__btn--hint:hover {
  background: #fff;
  color: #0b1024;
  transform: translateY(-2px);
}
.hero-bf__btn:active {
  transform: none;
}
.hero-bf__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
/* ---- Price on the red tag ------------------------------------------------ */
.hero-bf__price {
  position: absolute;
  left: 93.92%;
  top: 22.96%;
  translate: -50% -51%;
  margin: 0;
  font-family: var(--hero-font);
  font-weight: 700;
  font-size: 2.01vw;
  font-size: 2.01cqw;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 0.03em 0.15em rgba(80, 0, 0, 0.35);
}
/* ---- "Plus! Orders over £100 get…" panel --------------------------------- */
.hero-bf__plus {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
  font-family: var(--hero-font);
  line-height: 1;
  text-transform: uppercase;
}
.hero-bf__plus > * {
  position: absolute;
  left: 20.84%;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}
.hero-bf__plus-head {
  top: 67.19%;
  font-weight: 800;
  font-size: 1.16vw;
  font-size: 1.16cqw;
}
.hero-bf__plus-lead {
  top: 70.84%;
  font-weight: 800;
  font-size: 0.82vw;
  font-size: 0.82cqw;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: none;
}
.hero-bf__plus-lead span, .hero-bf__plus-head span {
  display: block;
}
.hero-bf__plus-list {
  top: 78.67%;
  font-weight: 700;
  font-size: 0.81vw;
  font-size: 0.81cqw;
  line-height: 1.25;
  letter-spacing: 0.035em;
}
.hero-bf__plus-list .hero-bf__mob {
  display: none;
  /* "Kindling box" on mobile, "Kindling" on desktop, as in the artwork */
}
.hero-bf__plus-free {
  top: 90.16%;
  font-weight: 800;
  font-size: 2.14vw;
  font-size: 2.14cqw;
  letter-spacing: 0.07em;
}
/* ---- Mobile / portrait --------------------------------------------------- */
@media (max-width: 767px) {
  /* Shop gift + Drop a hint stacked on the right */
  /* The artwork leaves room for small buttons only, so each one gets an
     invisible tap area that reaches past its edge (up for the top button,
     down for the bottom one) to make it easier to hit on a phone. */
  .hero--bf {
    aspect-ratio: 0.6683375104;
  }
  .hero-bf__offer {
    inset: 0;
    translate: none;
    width: auto;
    display: block;
  }
  .hero-bf__offer > * {
    position: absolute;
  }
  .hero-bf__title {
    left: 0;
    right: 0;
    top: 30.6%;
  }
  .hero-bf__kicker {
    font-size: 6.29vw;
    font-size: 6.29cqw;
  }
  .hero-bf__name {
    margin-top: 1.35vw;
    margin-top: 1.35cqw;
    font-size: 9.08vw;
    font-size: 9.08cqw;
  }
  .hero-bf__contents {
    left: 12.75%;
    top: 42.84%;
    text-align: left;
    font-size: 2.44vw;
    font-size: 2.44cqw;
    line-height: 1.38;
  }
  .hero-bf__actions {
    left: 66.75%;
    top: 42.61%;
    width: 23%;
    margin: 0;
    flex-direction: column;
    gap: 1vw;
    gap: 1cqw;
  }
  .hero-bf__btn {
    width: 100%;
    height: 6.6vw;
    height: 6.6cqw;
    padding: 0 0.4em;
    font-size: 3.63vw;
    font-size: 3.63cqw;
  }
  .hero-bf__btn::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: -10px;
    bottom: -2px;
  }
  .hero-bf__btn--hint::after {
    top: -2px;
    bottom: -10px;
  }
  .hero-bf__price {
    left: 85.06%;
    top: 57.8%;
    font-family: var(--hero-font-narrow);
    font-weight: 800;
    font-size: 4.8vw;
    font-size: 4.8cqw;
  }
  .hero-bf__plus > * {
    left: 75.6%;
  }
  .hero-bf__plus-head {
    top: 1.04%;
    font-size: 3.81vw;
    font-size: 3.81cqw;
  }
  .hero-bf__plus-lead {
    top: 3.36%;
    font-size: 2.72vw;
    font-size: 2.72cqw;
    line-height: 1.06;
  }
  .hero-bf__plus-list {
    top: 7.79%;
    font-size: 2.36vw;
    font-size: 2.24cqw;
    line-height: 1.22;
    letter-spacing: 0;
  }
  .hero-bf__plus-list .hero-bf__mob {
    display: inline;
  }
  .hero-bf__plus-free {
    left: 84.4%;
    top: 16.76%;
    font-size: 5.44vw;
    font-size: 5.44cqw;
    letter-spacing: 0.02em;
    text-shadow: 0 0.03em 0.3em rgba(0, 0, 0, 0.5);
  }
}
/* ==========================================================================
   "Drop a hint" pop-up (built by assets/js/hero-hint.js)
   ========================================================================== */
.hint-dialog {
  --hint-brand: #F24E1E;
  --hint-brand-dark: #d63d10;
  --hint-ink: #1d1510;
  --hint-muted: #6b5b4e;
  --hint-line: #ddd3c8;
  --hint-error: #b3261e;
  width: min(94vw, 480px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 30px 28px 26px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--hint-ink);
  font: 16px/1.45 var(--hero-font-sans);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hint-dialog::backdrop {
  background: rgba(8, 10, 24, 0.62);
}
.hint-dialog h2 {
  margin: 0 40px 6px 0;
  font: 800 28px/1.05 var(--hero-font);
  text-transform: uppercase;
}
.hint-dialog__lead {
  margin: 0 0 20px;
  color: var(--hint-muted);
  font-size: 15px;
}
.hint-dialog__options {
  display: grid;
  gap: 10px;
}
.hint-dialog__option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 2px solid var(--hint-ink);
  border-radius: 10px;
  background: #fff;
  color: var(--hint-ink);
  font: 700 16px/1 var(--hero-font-sans);
  text-decoration: none;
  cursor: pointer;
}
.hint-dialog__option:hover {
  background: var(--hint-ink);
  color: #fff;
}
.hint-dialog__option--primary {
  background: var(--hint-brand);
  border-color: var(--hint-brand);
  color: #fff;
}
.hint-dialog__option--primary:hover {
  background: var(--hint-brand-dark);
  border-color: var(--hint-brand-dark);
}
.hint-dialog__option svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.hint-dialog__option:disabled {
  opacity: 0.7;
  cursor: progress;
}
.hint-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--hint-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.hint-dialog__close:hover {
  background: #f1ece6;
}
.hint-dialog__back {
  margin: -6px 0 10px -8px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--hint-muted);
  font: 600 14px/1 var(--hero-font-sans);
  cursor: pointer;
}
.hint-dialog__back:hover {
  background: #f1ece6;
  color: var(--hint-ink);
}
.hint-dialog__status {
  min-height: 1.4em;
  margin: 12px 0 0;
  text-align: center;
  font-weight: 700;
  color: #2f7a3b;
}
.hint-dialog :focus-visible {
  outline: 3px solid var(--hint-brand);
  outline-offset: 2px;
}
/* ---- Email form ---- */
.hint-form fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.hint-form legend, .hint-form .hint-field--full > label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-weight: 700;
  font-size: 15px;
}
.hint-optional {
  font-weight: 400;
  color: var(--hint-muted);
}
.hint-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 32px;
  gap: 8px;
  align-items: start;
  margin-bottom: 8px;
}
.hint-field {
  position: relative;
  min-width: 0;
}
.hint-form input[type="text"], .hint-form input[type="email"], .hint-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--hint-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hint-ink);
  font: 400 16px/1.3 var(--hero-font-sans);
  /* 16px stops iPhones zooming in */
  box-sizing: border-box;
}
.hint-form textarea {
  resize: vertical;
  min-height: 84px;
}
.hint-form input:focus, .hint-form textarea:focus {
  border-color: var(--hint-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 78, 30, 0.25);
}
.hint-form [aria-invalid="true"] {
  border-color: var(--hint-error);
}
.hint-error {
  display: block;
  color: var(--hint-error);
  font-size: 13px;
  line-height: 1.3;
}
.hint-error:not(:empty) {
  margin-top: 4px;
}
.hint-row__remove {
  width: 32px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--hint-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hint-row__remove:hover {
  background: #f1ece6;
  color: var(--hint-error);
}
.hint-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 10px 14px 10px 10px;
  border: 1.5px dashed var(--hint-line);
  border-radius: 8px;
  background: none;
  color: var(--hint-ink);
  font: 700 15px/1 var(--hero-font-sans);
  cursor: pointer;
}
.hint-add svg {
  width: 20px;
  height: 20px;
  color: var(--hint-brand);
}
.hint-add:hover {
  border-color: var(--hint-brand);
  background: #fff7f3;
}
.hint-field--full {
  margin-bottom: 14px;
}
.hint-count {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--hint-muted);
}
.hint-dialog__privacy {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--hint-muted);
}
.hint-dialog__privacy a, .hint-dialog__textlink {
  color: inherit;
}
.hint-dialog__alert {
  margin: 0 0 10px;
  color: var(--hint-error);
  font-weight: 700;
  font-size: 14px;
}
.hint-dialog__alert:empty {
  display: none;
}
.hint-turnstile {
  margin: 0 0 12px;
}
.hint-submit.is-busy span::after {
  content: "…";
}
/* Screen-reader-only labels, and the hidden anti-spam field */
.hint-sr, .hint-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* ---- Done ---- */
.hint-done {
  text-align: center;
  padding-top: 6px;
}
.hint-done h2 {
  margin-right: 0;
}
.hint-done__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: #2f7a3b;
}
.hint-done__icon svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 480px) {
  /* Stack name above email on small phones */
  .hint-dialog {
    padding: 26px 18px 20px;
  }
  .hint-row {
    grid-template-columns: 1fr 32px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1ece6;
  }
  .hint-row .hint-field:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .hint-row .hint-field:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .hint-row__remove {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .hint-row--you {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
/* --------------------------------------------------------------------------
   Entrance animation (skipped for reduced-motion users)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__sub, .hero__actions {
    animation: hero-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__title {
    animation-delay: 0.05s;
  }
  .hero__sub {
    animation-delay: 0.15s;
  }
  .hero__actions {
    animation-delay: 0.25s;
  }
  .hero-bf__title, .hero-bf__contents, .hero-bf__actions, .hero-bf__price, .hero-bf__plus > * {
    animation: hero-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-bf__title {
    animation-delay: 0.05s;
  }
  .hero-bf__contents {
    animation-delay: 0.15s;
  }
  .hero-bf__actions {
    animation-delay: 0.25s;
  }
  .hero-bf__price {
    animation-delay: 0.35s;
  }
  .hero-bf__plus > * {
    animation-delay: 0.4s;
  }
  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
