/* Temporary end-of-year accents, 27–31 December 2026.
   The server and seasonal controller own the dates and body class.
   Load after the existing Heida styles. */
[data-heida-seasonal][hidden] {
  display: none !important;
}

body.heida-newyear-2026 {
  --heida-newyear-gold: #a8894d;
  --heida-newyear-text: #70532e;
  --heida-newyear-constellation: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20144%2096'%20fill='none'%3E%3Cpath%20d='M15%2074L42%2044L76%2060L111%2023'%20stroke='%23c6ae7d'%20stroke-width='.8'%20opacity='.65'/%3E%3Cg%20stroke='%23a8894d'%20stroke-width='1.2'%20stroke-linejoin='round'%3E%3Cpath%20d='M42%2035l2.2%206.8L51%2044l-6.8%202.2L42%2053l-2.2-6.8L33%2044l6.8-2.2L42%2035Z'/%3E%3Cpath%20d='M111%2010l3.1%209.9L124%2023l-9.9%203.1L111%2036l-3.1-9.9L98%2023l9.9-3.1L111%2010Z'/%3E%3Cpath%20d='M130%2062l1.5%204.5L136%2068l-4.5%201.5L130%2074l-1.5-4.5L124%2068l4.5-1.5L130%2062Z'/%3E%3C/g%3E%3Cg%20fill='%23a8894d'%3E%3Ccircle%20cx='15'%20cy='74'%20r='1.5'/%3E%3Ccircle%20cx='76'%20cy='60'%20r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  --heida-newyear-small-stars: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2036%2044'%20fill='none'%3E%3Cg%20stroke='%23a8894d'%20stroke-width='1.1'%20stroke-linejoin='round'%3E%3Cpath%20d='M15%203l2.8%209.2L27%2015l-9.2%202.8L15%2027l-2.8-9.2L3%2015l9.2-2.8L15%203Z'/%3E%3Cpath%20d='M28%2027l1.6%205.4L35%2034l-5.4%201.6L28%2041l-1.6-5.4L21%2034l5.4-1.6L28%2027Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Preserve the current sticky header, logo, navigation and hit areas. */
body.heida-newyear-2026 .site-header {
  border-bottom-color: #c9b58e;
}

body.heida-newyear-2026 .site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -4px;
  block-size: 8px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2036%208'%3E%3Cg%20fill='%23a8894d'%3E%3Cpath%20d='M7%201l.8%202.2L10%204l-2.2.8L7%207l-.8-2.2L4%204l2.2-.8Z'/%3E%3Cpath%20d='M29%202l.5%201.5L31%204l-1.5.5L29%206l-.5-1.5L27%204l1.5-.5Z'/%3E%3C/g%3E%3C/svg%3E") center / 36px 8px no-repeat;
  opacity: .8;
  pointer-events: none;
}

body.heida-newyear-2026 .sensual-hero,
body.heida-newyear-2026 .sensual-hero-copy {
  position: relative;
}

body.heida-newyear-2026 .sensual-hero-copy::after {
  content: "";
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 16px;
  inline-size: clamp(86px, 8.5vw, 124px);
  block-size: clamp(58px, 5.7vw, 83px);
  background: var(--heida-newyear-constellation) center / contain no-repeat;
  opacity: .86;
  pointer-events: none;
}

body.heida-newyear-2026 .heida-newyear-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  max-inline-size: 100%;
  color: var(--heida-newyear-text);
  line-height: 1.55;
}

body.heida-newyear-2026 .heida-newyear-kicker > svg {
  display: block;
  flex: 0 0 1.05em;
  inline-size: 1.05em;
  block-size: 1.05em;
  color: var(--heida-newyear-gold);
  pointer-events: none;
}

body.heida-newyear-2026 .heida-newyear-note {
  padding-block: clamp(40px, 5vw, 68px);
  background: #f4efe6;
  border-block: 1px solid #ded2bd;
}

body.heida-newyear-2026 .heida-newyear-note-inner {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 30px clamp(28px, 5vw, 70px);
  max-inline-size: 1080px;
}

body.heida-newyear-2026 .heida-newyear-note-year {
  position: relative;
  margin: 0;
  padding-block: 20px;
  color: #aa8d55;
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 600;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  line-height: 1;
  letter-spacing: -.055em;
  text-align: center;
  font-variant-numeric: lining-nums;
  user-select: none;
  pointer-events: none;
}

body.heida-newyear-2026 .heida-newyear-note-year::after {
  content: "";
  position: absolute;
  inset-block-start: -8px;
  inset-inline-end: 0;
  inline-size: 31px;
  block-size: 38px;
  background: var(--heida-newyear-small-stars) center / contain no-repeat;
  pointer-events: none;
}

@supports (-webkit-text-stroke: 1px currentColor) {
  body.heida-newyear-2026 .heida-newyear-note-year {
    color: transparent;
    -webkit-text-stroke: 1px #aa8d55;
  }
}

body.heida-newyear-2026 .heida-newyear-note-copy {
  min-inline-size: 0;
}

body.heida-newyear-2026 .heida-newyear-note-copy > .eyebrow {
  margin-block: 0 12px;
  color: var(--heida-newyear-text);
}

body.heida-newyear-2026 .heida-newyear-note h2 {
  max-inline-size: 27ch;
  margin-block: 0 18px;
  color: var(--green, #173f34);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.13;
  text-wrap: balance;
}

body.heida-newyear-2026 .heida-newyear-note-copy > p:not(.eyebrow) {
  max-inline-size: 64ch;
  margin-block: 0 14px;
  color: var(--text, #2b332f);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.7;
}

body.heida-newyear-2026 .heida-newyear-note-copy > .heida-newyear-closure {
  margin-block-start: 20px;
  padding-inline-start: 14px;
  border-inline-start: 2px solid #b89c65;
}

body.heida-newyear-2026 .heida-newyear-note .text-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--green, #173f34);
  text-underline-offset: .2em;
}

@media (max-width: 1000px) {
  body.heida-newyear-2026 .sensual-hero-copy::after {
    inset-inline-end: 20px;
    inline-size: 80px;
    block-size: 54px;
  }
}

@media (max-width: 760px) {
  /* Hero-copy uses display: contents in the existing mobile layout.
     Its absolute decoration anchors to sensual-hero at this width. */
  body.heida-newyear-2026 .sensual-hero-copy::after {
    inset-block-start: 3px;
    inset-inline-end: 8px;
    inline-size: 30px;
    block-size: 37px;
    background-image: var(--heida-newyear-small-stars);
    opacity: .72;
  }

  body.heida-newyear-2026 .sensual-hero-copy > .eyebrow .heida-newyear-kicker {
    font-size: .75rem;
    letter-spacing: .075em;
  }

  body.heida-newyear-2026 .heida-newyear-note-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  body.heida-newyear-2026 .heida-newyear-note-year {
    justify-self: start;
    padding-block: 0;
    padding-inline-end: 40px;
    font-size: 4.25rem;
    text-align: start;
  }

  body.heida-newyear-2026 .heida-newyear-note-year::after {
    inset-block-start: -4px;
    inline-size: 25px;
    block-size: 31px;
  }
}

@media (forced-colors: active) {
  body.heida-newyear-2026 .heida-newyear-note-year {
    color: CanvasText;
    -webkit-text-stroke: 0;
  }
}

@media print, (forced-colors: active) {
  body.heida-newyear-2026 .site-header::after,
  body.heida-newyear-2026 .sensual-hero-copy::after,
  body.heida-newyear-2026 .heida-newyear-note-year::after {
    display: none;
  }
}
