*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --charcoal: #1E1E1C;
  --charcoal-mid: #2C2C29;
  --orange: #E8580A;
  --cream: #F0EDE6;
  --mid: #8A8780;
  --rule: rgba(255,255,255,0.08);
  --serif: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Syne', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--charcoal); color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* NAV (matches the home page) */
nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 52px;
  background: rgba(30,30,28,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--cream); }
.nav-links a[aria-current] { border-bottom: 1px solid var(--orange); padding-bottom: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 52px; }

/* SMALL LABELS */
.eyebrow { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--orange); }
.meta { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); }

/* INDEX HEADER */
.tips-head { padding: 96px 0 48px; border-bottom: 1px solid var(--rule); }
.tips-title { font-family: var(--serif); font-size: clamp(48px,7vw,104px); font-weight: 300; line-height: 0.95; letter-spacing: -0.02em; margin: 18px 0 28px; }
.tips-title em, .tip-title em { font-style: italic; color: var(--orange); }
.tips-intro { font-family: var(--serif); font-weight: 300; font-size: clamp(17px,1.6vw,21px); line-height: 1.5; color: rgba(240,237,230,0.75); max-width: 620px; }

/* FILTERS */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 32px 0; }
.filter {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mid); background: none; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.filter span { opacity: 0.6; margin-left: 6px; }
.filter:hover { color: var(--cream); border-color: rgba(255,255,255,0.35); }
.filter[aria-pressed="true"] { color: var(--charcoal); background: var(--orange); border-color: var(--orange); }
.filter[aria-pressed="true"] span { opacity: 0.8; }

/* CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; padding-bottom: 120px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 1; overflow: hidden; background: var(--charcoal-mid); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-title { font-family: var(--serif); font-weight: 300; font-size: clamp(20px,2vw,26px); line-height: 1.15; transition: color .2s; }
.card:hover .card-title { color: var(--orange); }
.card-sum { font-family: var(--serif); font-weight: 300; font-size: 15px; line-height: 1.5; color: rgba(240,237,230,0.65); }
.empty { color: var(--mid); font-family: var(--serif); padding: 40px 0 120px; }

/* TIP PAGE */
.crumb { display: inline-block; margin: 48px 0 0; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); text-decoration: none; }
.crumb:hover { color: var(--cream); }
.tip-head { padding: 40px 0 40px; border-bottom: 1px solid var(--rule); max-width: 820px; }
.tip-title { font-family: var(--serif); font-size: clamp(36px,5vw,64px); font-weight: 300; line-height: 1.05; letter-spacing: -0.015em; margin: 16px 0 22px; }
.tip-head .meta a { color: var(--orange); text-decoration: none; }

.tip-body { max-width: 720px; padding: 48px 0 24px; font-family: var(--serif); font-weight: 300; font-size: 18px; line-height: 1.7; color: rgba(240,237,230,0.88); }
.tip-body > * + * { margin-top: 1.1em; }
.tip-body .lede { font-size: clamp(20px,2vw,24px); line-height: 1.5; color: var(--cream); }
.tip-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,2.6vw,32px); line-height: 1.2; color: var(--cream); margin-top: 2em; }
.tip-body h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-top: 2em; }
.tip-body strong { font-weight: 600; color: var(--cream); }
.tip-body ul { padding-left: 1.2em; }
.tip-body li + li { margin-top: 0.5em; }
.tip-body li::marker { color: var(--orange); }
.tip-body figure { margin: 2em 0; }
.tip-body figure img { width: 100%; max-width: 640px; }
.tip-body figcaption { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--mid); margin-top: 10px; }

/* SERIES + NEXT/PREV */
.series { max-width: 720px; margin: 24px 0 0; padding: 24px 28px; background: var(--charcoal-mid); border-left: 2px solid var(--orange); }
.series ol { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.series a { font-family: var(--serif); font-weight: 300; font-size: 16px; text-decoration: none; color: rgba(240,237,230,0.8); }
.series a:hover { color: var(--orange); }
.series li[aria-current] a { color: var(--cream); font-weight: 500; }
.pager { display: flex; justify-content: space-between; gap: 24px; max-width: 720px; padding: 56px 0 120px; }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: 8px; max-width: 48%; }
.pager a:last-child { text-align: right; margin-left: auto; }
.pager .card-title { font-size: 19px; }

/* FOOTER */
footer { border-top: 1px solid var(--rule); padding: 40px 52px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer a, footer span { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); text-decoration: none; }
footer a:hover { color: var(--cream); }
footer ul { display: flex; gap: 28px; list-style: none; }

@media (max-width: 760px) {
  nav { padding: 20px 22px; }
  .nav-links { gap: 18px; }
  .nav-links li:nth-child(n+3) { display: none; }
  .wrap { padding: 0 22px; }
  footer { padding: 32px 22px; }
  .tip-body { font-size: 17px; }
}
