/* ============================================================
   wellnessharmonyliving.com — "The Daily Signal"
   Editorial Magazine family · slate / graphite / electric blue
   ============================================================ */

:root {
  --slate: #33414E;
  --slate-deep: #26313C;
  --graphite: #22282E;
  --blue: #3B82C4;
  --blue-deep: #2E689E;
  --paper: #F4F6F8;
  --card: #FFFFFF;
  --ink: #1E262E;
  --ink-soft: #64727F;
  --hairline: #D7DDE3;
  --head: "Chakra Petch", "Segoe UI", Tahoma, sans-serif;
  --body: "Saira", "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(--paper);
  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(--blue); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--graphite);
  color: #C8D4DE;
  text-align: center;
  padding: .55rem 1rem;
  font-family: var(--head);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(59, 130, 196, .5);
}

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

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

.mark { color: var(--blue); display: inline-block; }
.mark svg { transition: transform .4s ease; }
.mark:hover svg { transform: translateY(-2px); }

.wordmark {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--slate);
}
.wordmark .tld { color: var(--blue); }
.cursor {
  color: var(--blue);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

.tagline {
  font-family: var(--head);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cart-btn {
  position: absolute; top: 2rem; right: 1.5rem;
  color: var(--slate);
  display: inline-flex; align-items: center;
  padding: .5rem;
}
.cart-badge {
  position: absolute; top: 0; right: -4px;
  background: var(--blue); color: #fff;
  min-width: 18px; height: 18px;
  font-family: var(--head);
  font-size: .66rem; font-weight: 700;
  display: grid; place-items: center;
  transition: transform .25s ease;
}
.cart-badge.pop { transform: scale(1.45); }

/* Nav below hairlines */
.primary-nav {
  margin-top: 1.4rem;
  border-top: 2px solid var(--slate);
  border-bottom: 1px solid var(--hairline);
}
.primary-nav ul {
  display: flex; justify-content: center; flex-wrap: wrap;
  padding: .55rem 0;
}
.primary-nav li + li::before {
  content: "//";
  font-family: var(--head);
  font-size: .62rem;
  color: var(--blue);
  align-self: center;
}
.primary-nav a {
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .3rem .9rem;
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--blue); }

.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: 2px;
  background: var(--slate); transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) 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: .68rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.kicker-slashes { color: var(--blue); letter-spacing: 0; }
.kicker-issue { margin-left: auto; color: var(--blue-deep); }

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

.feature-card figure {
  position: relative;
  border: 1px solid var(--slate);
  overflow: hidden;
}
.feature-card figure::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 196, 0);
  transition: box-shadow .3s ease;
  pointer-events: none;
}
.feature-card:hover figure::after { box-shadow: inset 0 0 0 3px var(--blue); }
.feature-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.feature-text { padding-top: 1.6rem; }
.feature-kicker {
  color: var(--blue-deep);
  font-family: var(--head);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.feature-text h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.16;
  margin-bottom: 1rem;
}
.dek { color: var(--ink-soft); max-width: 58ch; margin-bottom: 1rem; }
.photo-caption {
  font-family: var(--head);
  font-size: .72rem;
  color: var(--ink-soft);
  border-top: 1px dashed var(--hairline);
  padding-top: .8rem;
}

.mini-stories { display: grid; gap: 1.4rem; align-content: start; }

.mini-label {
  font-family: var(--head);
  font-size: .66rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: .5rem;
}

.mini-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1.1rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: .8rem;
}
.mini-card figure { overflow: hidden; }
.mini-card img {
  aspect-ratio: 1 / 1; object-fit: cover; width: 100%;
  transition: transform .5s ease;
}
.mini-card:hover img { transform: scale(1.06); }
.mini-kicker {
  font-family: var(--head);
  color: var(--blue-deep);
  font-size: .64rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  margin-bottom: .3rem;
}
.mini-card h2 {
  font-family: var(--head); font-weight: 600;
  font-size: 1.02rem; line-height: 1.35;
}
.mini-card h2 a { text-decoration: none; }
.mini-card h2 a:hover { color: var(--blue); }

/* ---------- Picks ---------- */
.picks-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  border-bottom: 2px solid var(--slate);
  padding-bottom: 1rem;
  margin-bottom: .3rem;
}
.picks-head h2 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.picks-head p { color: var(--ink-soft); font-size: .9rem; 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.4rem 0;
  border-bottom: 1px solid var(--hairline);
}

.pick-thumb {
  position: relative;
  width: 100px; height: 100px;
  background: var(--card);
}
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* bracket corners */
.pick-thumb::before, .pick-thumb::after {
  content: "";
  position: absolute; width: 16px; height: 16px;
  border-color: var(--blue); border-style: solid;
  z-index: 1;
}
.pick-thumb::before { top: -4px; left: -4px; border-width: 2px 0 0 2px; }
.pick-thumb::after { bottom: -4px; right: -4px; border-width: 0 2px 2px 0; }

.pick-info h3 {
  font-family: var(--head);
  font-size: 1.08rem; font-weight: 600;
}
.pick-info h3 a { text-decoration: none; }
.pick-info h3 a:hover { color: var(--blue); }
.pick-note { color: var(--ink-soft); font-size: .84rem; margin-top: .15rem; }

.spec-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .45rem; }
.chip {
  font-family: var(--head);
  font-size: .6rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-deep);
  border: 1px solid var(--blue);
  padding: .14rem .5rem;
}

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

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

.pick-price {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--slate);
  min-width: 3.6rem;
  text-align: right;
}

.add-btn {
  font-family: var(--head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  background: var(--slate); color: #fff;
  border: 1px solid var(--slate);
  padding: .8rem 1.7rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.add-btn:hover { background: var(--blue); border-color: var(--blue); }
.add-btn.added { background: var(--blue-deep); border-color: var(--blue-deep); }

/* ---------- Seasonal band ---------- */
.band {
  position: relative;
  margin-top: 3.4rem;
  padding: 4.6rem 1.5rem;
  background:
    radial-gradient(circle at 80% 30%, rgba(59, 130, 196, .35), transparent 45%),
    linear-gradient(135deg, var(--graphite) 0%, var(--slate-deep) 55%, var(--slate) 100%);
  color: #E8EEF3;
  overflow: hidden;
}
.band-inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.band-accent {
  position: absolute; color: rgba(59, 130, 196, .55);
  pointer-events: none;
}
.band-accent-l { width: 230px; left: 4%; bottom: 8%; }
.band-accent-r { width: 130px; right: 5%; top: 10%; }

.band-kicker {
  font-family: var(--head);
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.band h2 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}
.band-sub { opacity: .85; margin-bottom: 1.8rem; }
.band-btn {
  display: inline-block;
  background: var(--blue); color: #fff;
  text-decoration: none;
  font-family: var(--head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  padding: 1rem 2.3rem;
  border: 1px solid var(--blue);
  transition: background .2s ease, color .2s ease;
}
.band-btn:hover { background: transparent; color: var(--blue); }

/* ---------- Notes ---------- */
.notes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}
.note { background: var(--card); border: 1px solid var(--hairline); border-top: 2px solid var(--blue); padding: 1.6rem 1.5rem; }
.note svg { color: var(--blue); margin-bottom: .9rem; }
.note h3 {
  font-family: var(--head); font-weight: 600;
  font-size: 1.15rem; margin-bottom: .5rem;
}
.note p { color: var(--ink-soft); font-size: .88rem; }

/* ---------- Letters ---------- */
.letters-head { margin-bottom: 1.6rem; }
.letters-head h2 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
}
.letters-head p { color: var(--ink-soft); font-size: .9rem; }

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

.letter-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  padding: 1.7rem 1.5rem;
  position: relative;
}
.letter-card::before {
  content: "\201C";
  position: absolute; top: .4rem; right: 1rem;
  font-family: var(--head);
  font-size: 3.4rem; line-height: 1;
  color: var(--blue);
  opacity: .25;
}
.letter-card .stars { color: var(--blue); margin-bottom: .8rem; }
.letter-card blockquote { font-size: .93rem; margin-bottom: 1rem; }
.letter-name {
  font-family: var(--head);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Newsletter ---------- */
.newsletter { padding-bottom: 4.5rem; }
.news-frame {
  background: var(--graphite);
  color: #E8EEF3;
  text-align: center;
  padding: 3.4rem 1.6rem;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--slate);
  outline: 1px dashed rgba(59, 130, 196, .7);
  outline-offset: 6px;
}
.news-kicker {
  font-family: var(--head);
  color: var(--blue);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.news-frame h2 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(1.5rem, 2.9vw, 2.1rem);
  margin-bottom: .7rem;
}
.news-sub { opacity: .8; font-size: .9rem; max-width: 50ch; margin: 0 auto 1.7rem; }

.news-form { display: flex; max-width: 470px; margin: 0 auto; border: 1px solid var(--slate); background: #2B343D; }
.news-form input {
  flex: 1;
  font: inherit; font-size: .9rem;
  padding: .9rem 1.1rem;
  border: 0; background: transparent;
  color: #E8EEF3;
  min-width: 0;
}
.news-form input::placeholder { color: #8B99A6; }
.news-form input:focus { outline: none; }
.news-form:focus-within { border-color: var(--blue); }
.news-form button {
  font-family: var(--head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  background: var(--blue); color: #fff;
  border: 0;
  padding: 0 1.7rem;
  cursor: pointer;
  transition: background .2s ease;
}
.news-form button:hover { background: var(--blue-deep); }
.news-success { margin-top: 1.1rem; color: var(--blue); font-family: var(--head); font-weight: 600; font-size: .84rem; letter-spacing: .08em; }

/* ---------- Colophon footer ---------- */
.colophon {
  background: var(--graphite);
  color: #C8D4DE;
  padding: 3.8rem 1.5rem 2rem;
  border-top: 3px solid var(--blue);
}
.colophon > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.colophon-statement {
  text-align: center;
  font-family: var(--head);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.45;
  max-width: 660px;
  margin-bottom: 3rem;
  color: #E8EEF3;
}
.colophon-statement em { color: var(--blue); font-style: normal; }

.colophon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px dashed rgba(200, 212, 222, .3);
}
.colophon-col h3 {
  font-family: var(--head);
  font-size: .68rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.colophon-col a {
  font-size: .88rem;
  text-decoration: none;
  color: #C8D4DE;
}
.colophon-col a:hover { color: #fff; text-decoration: underline; 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.7rem 0;
}
.chip {
  font-family: var(--head);
  font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(200, 212, 222, .35);
  padding: .32rem .75rem;
}

.colophon-base {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  border-top: 1px dashed rgba(200, 212, 222, .3);
  padding-top: 1.4rem;
  font-family: var(--head);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
}
.issue-line { color: var(--blue); }
.copyright { opacity: .7; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%);
  background: var(--blue-deep); color: #fff;
  border: 1px solid var(--blue);
  font-family: var(--head);
  padding: .85rem 1.7rem;
  font-size: .84rem; letter-spacing: .1em;
  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; }
  .notes-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .letters-grid { grid-template-columns: 1fr; }
  .mini-card { grid-template-columns: 1fr; }
  .mini-card img { aspect-ratio: 16 / 9; }
}

@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(--paper);
    border-top: 1px solid var(--hairline);
    z-index: 20;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; padding: .5rem 0; }
  .primary-nav li { text-align: center; padding: .6rem 0; }
  .primary-nav li + li { border-top: 1px solid var(--hairline); }
  .primary-nav li + li::before { content: none; }
}

@media (max-width: 700px) {
  .pick-row {
    grid-template-columns: 80px 1fr;
    grid-template-areas:
      "thumb info"
      "thumb meta"
      "price btn";
    row-gap: .6rem;
  }
  .pick-thumb { grid-area: thumb; width: 80px; height: 80px; }
  .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; }
  .news-form button { padding: .9rem; }
  .band-accent-l, .band-accent-r { display: none; }
  .kicker-issue { display: none; }
}
