/* ============================================================
   refreshwellnessdaily.com — "Tabletop Weekly"
   Editorial Magazine family · bright red / teal / cream · playful
   ============================================================ */

:root {
  --red: #D64541;
  --red-deep: #B33532;
  --teal: #2A9D8F;
  --teal-deep: #1F7A70;
  --cream: #FFF6EC;
  --paper: #FFFDF9;
  --ink: #26221E;
  --ink-soft: #6F665C;
  --hairline: #EAD9C6;
  --head: "Baloo 2", "Trebuchet MS", Verdana, sans-serif;
  --body: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--red); color: #fff; padding: .6rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: .6rem 1rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Masthead ---------- */
.masthead {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.9rem 1.5rem 0;
  text-align: center;
}

.masthead-brand { display: grid; justify-items: center; gap: .4rem; }

.mark { color: var(--red); display: inline-block; }
.mark svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.mark:hover svg { transform: rotate(-10deg) scale(1.08); }

.wordmark {
  font-family: var(--head);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.05;
}
.wordmark span { color: var(--teal); }

.tagline {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cart-btn {
  position: absolute; top: 2rem; right: 1.5rem;
  color: var(--ink);
  display: inline-flex; align-items: center;
  padding: .5rem;
}
.cart-badge {
  position: absolute; top: 0; right: -4px;
  background: var(--teal); color: #fff;
  min-width: 18px; height: 18px; border-radius: 50%;
  font-size: .68rem; font-weight: 700;
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.cart-badge.pop { transform: scale(1.5) rotate(8deg); }

/* Nav below hairlines */
.primary-nav {
  margin-top: 1.3rem;
  border-top: 2px dashed var(--ink);
  border-bottom: 2px dashed var(--ink);
}
.primary-nav ul {
  display: flex; justify-content: center; flex-wrap: wrap;
  column-gap: .5rem;
  padding: .55rem 0;
}
.primary-nav a {
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .25rem .8rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.primary-nav a:hover { background: var(--teal); color: #fff; }
.primary-nav li + li::before { content: "\25C6"; font-size: .5rem; color: var(--red); align-self: center; }

.nav-toggle {
  display: none;
  position: absolute; top: 2rem; left: 1.5rem;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .4rem; z-index: 30;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; border-radius: 3px;
  background: var(--ink); transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections shared ---------- */
main { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 3.4rem 0 0; }

.kicker-row {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.6rem;
}
.kicker-dots { color: var(--red); font-size: .5rem; letter-spacing: .4em; }

/* ---------- Front page ---------- */
.front-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 2.2rem;
  align-items: start;
}

.feature-figure { position: relative; }
.feature-card figure {
  border: 3px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--red);
}
.feature-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.sticker {
  position: absolute; top: -14px; right: -10px;
  background: var(--teal); color: #fff;
  font-family: var(--head); font-weight: 700;
  font-size: .8rem; letter-spacing: .06em;
  padding: .5rem .95rem;
  border-radius: 999px;
  transform: rotate(6deg);
  box-shadow: 0 4px 0 rgba(38, 34, 30, .18);
}

.feature-text { padding-top: 1.6rem; }
.feature-kicker {
  color: var(--red);
  font-family: var(--head);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: .6rem;
}
.feature-text h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  margin-bottom: 1rem;
}
.dek { color: var(--ink-soft); max-width: 56ch; margin-bottom: 1rem; }
.photo-caption {
  font-size: .76rem; font-style: italic;
  color: var(--ink-soft);
  border-top: 2px dashed var(--hairline);
  padding-top: .8rem;
}

.mini-stories { display: grid; gap: 1.8rem; }

.mini-card figure { overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; }
.mini-card img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  transition: transform .5s ease;
}
.mini-card:hover img { transform: scale(1.05) rotate(-1deg); }
.mini-kicker {
  color: var(--teal-deep);
  font-family: var(--head);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  margin: .8rem 0 .3rem;
}
.mini-card h2 {
  font-family: var(--head); font-weight: 700;
  font-size: 1.3rem; line-height: 1.3;
}
.mini-card h2 a { text-decoration: none; }
.mini-card h2 a:hover { color: var(--red); }

/* ---------- Picks ---------- */
.picks-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 1rem;
  margin-bottom: .4rem;
}
.picks-head h2 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.picks-head p { color: var(--ink-soft); font-size: .92rem; max-width: 46ch; }

.pick-list { display: grid; }

.pick-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-bottom: 2px dashed var(--hairline);
}

.pick-thumb {
  width: 100px; height: 100px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
}
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pick-info h3 { font-family: var(--head); font-size: 1.12rem; font-weight: 700; }
.pick-info h3 a { text-decoration: none; }
.pick-info h3 a:hover { color: var(--red); }
.pick-note { color: var(--ink-soft); font-size: .86rem; margin-top: .15rem; }

.pick-meta { display: flex; align-items: center; gap: .5rem; margin-top: .45rem; }
.count { font-size: .76rem; color: var(--ink-soft); }

.stars { display: inline-flex; gap: 2px; color: var(--teal); }
.stars svg { width: 14px; height: 14px; }

.pick-price {
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.55rem;
  min-width: 3.5rem;
  text-align: right;
}

.add-btn {
  font-family: var(--head);
  font-size: .82rem; font-weight: 700;
  background: var(--red); color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.9rem;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--red-deep);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.add-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--red-deep); }
.add-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-deep); }
.add-btn.added { background: var(--teal); box-shadow: 0 4px 0 var(--teal-deep); }

/* ---------- Seasonal band ---------- */
.band {
  position: relative;
  margin-top: 3.4rem;
  padding: 4.6rem 1.5rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(214, 69, 65, .5), transparent 40%),
    linear-gradient(130deg, var(--teal-deep) 0%, var(--teal) 55%, #3CB4A6 100%);
  color: #fff;
  overflow: hidden;
}
.band-inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.band-accent {
  position: absolute; color: rgba(255, 246, 236, .35);
  pointer-events: none;
}
.band-accent-l { width: 130px; left: 6%; top: 12%; }
.band-accent-r { width: 160px; right: 5%; bottom: 10%; }

.band-kicker {
  font-family: var(--head);
  font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 1rem; opacity: .9;
}
.band h2 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.band-sub { opacity: .92; margin-bottom: 1.8rem; }
.band-btn {
  display: inline-block;
  background: var(--cream); color: var(--teal-deep);
  text-decoration: none;
  font-family: var(--head);
  font-size: .85rem; font-weight: 700;
  padding: .95rem 2.3rem;
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(38, 34, 30, .25);
  transition: transform .15s ease;
}
.band-btn:hover { transform: translateY(-2px) rotate(-1deg); }

/* ---------- Notes ---------- */
.notes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}
.note svg { color: var(--red); margin-bottom: .9rem; }
.note h3 {
  font-family: var(--head); font-weight: 700;
  font-size: 1.28rem; margin-bottom: .5rem;
}
.note p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Letters ---------- */
.letters-head { margin-bottom: 1.6rem; }
.letters-head h2 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.letters-head p { color: var(--ink-soft); font-size: .92rem; }

.letters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

.letter-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--teal);
  padding: 1.7rem 1.5rem;
}
.letter-card .stars { color: var(--red); margin-bottom: .8rem; }
.letter-card blockquote { font-size: .95rem; margin-bottom: 1rem; }
.letter-name { font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Newsletter ---------- */
.newsletter { padding-bottom: 4.5rem; }
.news-frame {
  border: 3px dashed var(--ink);
  border-radius: 26px;
  background: var(--paper);
  text-align: center;
  padding: 3.2rem 1.6rem;
  max-width: 720px;
  margin: 0 auto;
}
.news-kicker {
  color: var(--teal-deep);
  font-family: var(--head);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.news-frame h2 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .7rem;
}
.news-sub { color: var(--ink-soft); font-size: .92rem; max-width: 48ch; margin: 0 auto 1.6rem; }

.news-form { display: flex; max-width: 470px; margin: 0 auto; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: .3rem; }
.news-form input {
  flex: 1;
  font: inherit; font-size: .9rem;
  padding: .6rem 1.1rem;
  border: 0; background: transparent;
  color: var(--ink);
  min-width: 0;
}
.news-form input:focus { outline: none; }
.news-form:focus-within { box-shadow: 0 0 0 3px rgba(42, 157, 143, .35); }
.news-form button {
  font-family: var(--head);
  font-size: .84rem; font-weight: 700;
  background: var(--teal); color: #fff;
  border: 0; border-radius: 999px;
  padding: .75rem 1.6rem;
  cursor: pointer;
  transition: background .2s ease;
}
.news-form button:hover { background: var(--teal-deep); }
.news-success { margin-top: 1.1rem; color: var(--teal-deep); font-weight: 600; }

/* ---------- Colophon footer ---------- */
.colophon {
  background: var(--ink);
  color: var(--cream);
  padding: 3.6rem 1.5rem 2rem;
  border-top: 6px solid var(--red);
}
.colophon > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.colophon-statement {
  text-align: center;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.4;
  max-width: 660px;
  margin-bottom: 3rem;
}
.colophon-statement em { color: #FFD9A0; }

.colophon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px dashed rgba(255, 246, 236, .35);
}
.colophon-col h3 {
  font-family: var(--head);
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}
.colophon-col a {
  font-size: .88rem;
  text-decoration: none;
  color: var(--cream);
  opacity: .85;
}
.colophon-col a:hover { opacity: 1; text-decoration: underline wavy var(--red) 2px; text-underline-offset: 4px; }
.colophon-col li + li { margin-top: .5rem; }

.colophon-pay {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem;
  padding: 1.6rem 0;
}
.chip {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255, 246, 236, .4);
  border-radius: 999px;
  padding: .32rem .8rem;
}

.colophon-base {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  border-top: 1px dashed rgba(255, 246, 236, .35);
  padding-top: 1.4rem;
  font-family: var(--head);
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}
.issue-line { color: #FFD9A0; }
.copyright { opacity: .8; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%);
  background: var(--teal-deep); color: #fff;
  padding: .85rem 1.7rem;
  font-family: var(--head); font-weight: 600;
  font-size: .9rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(38, 34, 30, .35);
  z-index: 60;
}
.toast.show { animation: toast-in .3s ease; }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .front-grid { grid-template-columns: 1fr; }
  .mini-stories { grid-template-columns: 1fr 1fr; }
  .notes-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .letters-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .masthead { position: relative; }
  .primary-nav {
    display: none;
    position: absolute;
    left: -1.5rem; right: -1.5rem; top: 100%;
    background: var(--cream);
    border-left: 0; border-right: 0;
    z-index: 20;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: .5rem 0; }
  .primary-nav li { text-align: center; padding: .55rem 0; }
  .primary-nav li + li { border-top: 1px solid var(--hairline); }
  .primary-nav li + li::before { content: none; }
}

@media (max-width: 700px) {
  .mini-stories { grid-template-columns: 1fr; }
  .pick-row {
    grid-template-columns: 76px 1fr;
    grid-template-areas:
      "thumb info"
      "thumb meta"
      "price btn";
    row-gap: .6rem;
  }
  .pick-thumb { grid-area: thumb; width: 76px; height: 76px; }
  .pick-info { grid-area: info; }
  .pick-meta { grid-area: meta; }
  .pick-price { grid-area: price; text-align: left; }
  .add-btn { grid-area: btn; justify-self: start; }
  .colophon-grid { grid-template-columns: 1fr 1fr; }
  .colophon-base { flex-direction: column; text-align: center; }
  .news-form { flex-direction: column; border-radius: 22px; }
  .news-form button { margin-top: .4rem; }
  .band-accent-l, .band-accent-r { display: none; }
}
