:root {
  --ink: #171717;
  --muted: #68645d;
  --cream: #f7f1e7;
  --white: #fffdf9;
  --red: #c94535;
  --red-dark: #9f2e25;
  --gold: #d6a54e;
  --line: rgba(23,23,23,.16);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; overflow-y: auto; color: var(--ink); background: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }

.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; color: var(--white); background: var(--red); border-radius: 50%; font-family: var(--display); font-size: 18px; letter-spacing: -.05em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { position: relative; padding: 29px 0 25px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a::after { position: absolute; right: 0; bottom: 17px; left: 0; height: 3px; background: var(--red); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; color: var(--white); background: var(--red); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.nav-button:hover, .nav-button:focus-visible { background: var(--red-dark); transform: translateY(-2px); }
.menu-button { display: none; border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.tips-hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.tips-hero::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(23,23,23,.96) 0%, rgba(23,23,23,.8) 48%, rgba(23,23,23,.25) 100%); content: ""; }
.tips-hero-image { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .8; transform: scale(1.03); }
.tips-hero-inner { position: relative; z-index: 2; min-height: 560px; padding: 110px 0 92px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; color: #f1c775; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { width: 30px; height: 3px; background: var(--red); content: ""; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; line-height: .88; }
h1 { max-width: 820px; margin: 0 0 26px; font-size: clamp(5.7rem, 12vw, 11.5rem); text-transform: uppercase; }
h1 span { display: block; color: #f1c775; }
.hero-intro { max-width: 560px; margin: 0; color: rgba(255,253,249,.78); font-size: 18px; }
.hero-stamp { max-width: 300px; margin-top: 42px; padding: 22px 24px; border-left: 4px solid var(--red); background: rgba(255,253,249,.1); backdrop-filter: blur(6px); }
.hero-stamp strong { display: block; margin-bottom: 7px; color: var(--white); font-family: var(--display); font-size: 33px; line-height: .9; text-transform: uppercase; }
.hero-stamp p { margin: 0; color: rgba(255,253,249,.72); font-size: 13px; }

.tips-nav { border-bottom: 1px solid var(--line); background: var(--white); }
.tips-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.tips-nav-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tips-nav-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 22px; }
.tips-nav-links a { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease; }
.tips-nav-links a:hover, .tips-nav-links a:focus-visible { color: var(--red); }

.tips-section { padding: 104px 0 118px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-heading h2 { max-width: 700px; margin: 0; font-size: clamp(4.6rem, 8.5vw, 8.8rem); text-transform: uppercase; }
.section-heading h2 span { color: var(--red); }
.section-heading p { max-width: 360px; margin: 0 0 6px; color: var(--muted); }
.tips-carousel-section { padding: 104px 0 118px; }
.tips-carousel-shell { width: min(100%, 940px); margin: 0 auto; }
.tips-carousel { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.tip-slide { display: none; min-height: 530px; padding: 48px 50px 42px; }
.tip-slide.is-active { display: block; }
.tip-slide.featured { color: var(--white); background: var(--red); }
.tip-slide-number { display: block; margin-bottom: 16px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.featured .tip-slide-number { color: #f1c775; }
.tip-slide h2 { max-width: 760px; margin: 0 0 23px; font-size: clamp(4.2rem, 8vw, 8.2rem); text-transform: uppercase; }
.tip-slide h2 span { color: var(--red); }
.featured h2 span { color: var(--ink); }
.tip-slide p { max-width: 720px; margin: 0 0 19px; color: var(--muted); font-size: 17px; }
.featured p { color: rgba(255,253,249,.88); }
.tip-slide .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 15px 21px; color: var(--white); background: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tip-slide .button:hover, .tip-slide .button:focus-visible { background: var(--red-dark); }
.featured .button { color: var(--ink); background: var(--white); }
.featured .button:hover, .featured .button:focus-visible { color: var(--white); background: var(--ink); }
.tips-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border: 1px solid var(--line); border-top: 0; background: var(--white); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-control { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 38px; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font-size: 17px; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.carousel-control:hover, .carousel-control:focus-visible { color: var(--white); background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.carousel-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(23,23,23,.25); cursor: pointer; }
.carousel-dot.is-active { background: var(--red); transform: scale(1.3); }
.carousel-status { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tips-feed { display: flex; width: min(100%, 940px); margin: 0 auto; flex-direction: column; gap: 18px; }
.tip-post { padding: 34px 36px 38px; border: 1px solid var(--line); background: var(--white); }
.tip-post:hover { border-color: var(--red); }
.tip-post.featured { color: var(--white); background: var(--red); border-color: var(--red); }
.tip-post-header { margin-bottom: 22px; }
.tip-number { display: block; margin-bottom: 13px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.featured .tip-number { color: #f1c775; }
.tip-post h3 { max-width: 720px; margin: 0; font-size: clamp(3.7rem, 6.5vw, 6.6rem); text-transform: uppercase; }
.tip-post h3 span { color: var(--red); }
.featured h3 span { color: var(--ink); }
.tip-post p { max-width: 760px; margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.featured p { color: rgba(255,253,249,.84); }
.tip-post p:last-child { margin-bottom: 0; }
.tip-list { display: flex; margin: 24px 0 0; padding: 0; flex-direction: column; list-style: none; border-top: 1px solid var(--line); }
.featured .tip-list { border-top-color: rgba(255,253,249,.35); }
.tip-list li { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.featured .tip-list li { border-bottom-color: rgba(255,253,249,.35); color: rgba(255,253,249,.9); }
.tip-list strong { color: var(--ink); }
.featured .tip-list strong { color: var(--white); }
.tip-callout { margin-top: 24px; padding: 20px 22px; border-left: 4px solid var(--red); background: var(--cream); color: var(--muted); }
.featured .tip-callout { border-left-color: var(--ink); background: rgba(255,253,249,.14); color: rgba(255,253,249,.88); }
.tip-callout strong { color: var(--ink); }
.featured .tip-callout strong { color: var(--white); }
.tip-post a { color: var(--red); font-weight: 700; }
.featured a { color: var(--ink); }

.article-hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.article-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,23,23,.96) 0%, rgba(23,23,23,.8) 48%, rgba(23,23,23,.28) 100%), var(--article-image) center / cover; content: ""; }
.article-hero-inner { position: relative; z-index: 1; min-height: 465px; padding: 102px 0 82px; }
.article-hero h1 { max-width: 880px; margin: 0 0 24px; font-size: clamp(5rem, 11vw, 10.8rem); text-transform: uppercase; }
.article-hero h1 span { display: block; color: #f1c775; }
.article-hero-intro { max-width: 650px; margin: 0; color: rgba(255,253,249,.8); font-size: 18px; }
.article-content { padding: 92px 0 110px; }
.article-shell { width: min(100%, 820px); margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 33px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-prose { color: var(--muted); font-size: 17px; }
.article-prose p { margin: 0 0 22px; }
.article-prose h2 { margin: 52px 0 18px; color: var(--ink); font-size: clamp(3.5rem, 6vw, 6rem); text-transform: uppercase; }
.article-prose h2 span { color: var(--red); }
.article-prose h3 { margin: 34px 0 11px; color: var(--ink); font-size: 38px; text-transform: uppercase; }
.article-prose ul { margin: 24px 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-prose li { padding: 19px 0; border-bottom: 1px solid var(--line); }
.article-prose li strong { color: var(--ink); }
.article-callout { margin: 34px 0; padding: 24px 26px; border-left: 4px solid var(--red); background: var(--white); }
.article-callout strong { color: var(--ink); }
.article-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 35px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-back:hover, .article-back:focus-visible { color: var(--red-dark); }

.tips-cta { padding: 106px 0 116px; color: var(--white); background: var(--red); }
.tips-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.tips-cta h2 { max-width: 770px; margin: 0; font-size: clamp(4.5rem, 10vw, 10rem); text-transform: uppercase; }
.tips-cta h2 span { display: block; color: var(--ink); }
.tips-cta .button { display: inline-flex; align-items: center; justify-content: center; min-width: 245px; min-height: 84px; padding: 0 32px; color: var(--ink); background: var(--white); border: 2px solid var(--white); box-shadow: 0 12px 0 rgba(23,23,23,.16); font-size: 16px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.tips-cta .button:hover, .tips-cta .button:focus-visible { color: var(--white); background: var(--ink); border-color: var(--ink); box-shadow: 0 12px 0 rgba(23,23,23,.2), 0 0 0 9px rgba(255,253,249,.18), 0 0 34px rgba(255,253,249,.42); transform: translateY(-5px) scale(1.04); }

footer { padding: 34px 0; color: rgba(255,255,255,.7); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
footer .brand { color: var(--white); font-size: 22px; }
.footer-links { display: flex; gap: 24px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--red); }
.copyright { font-size: 12px; }

@media (max-width: 900px) {
  .nav { min-height: 72px; }
  .nav-links { display: none; }
  .menu-button { display: block; }
  .nav.menu-open .nav-links { position: absolute; top: 72px; right: 28px; left: 28px; display: grid; gap: 0; padding: 12px 20px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 15px 35px rgba(23,23,23,.14); }
  .nav.menu-open .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav.menu-open .nav-links a:last-child { border-bottom: 0; }
  .nav-button { display: none; }
  .tips-hero-inner { min-height: 570px; padding-top: 88px; }
  .article-hero-inner { min-height: 500px; padding-top: 88px; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 20px; }
  .section-heading p { max-width: 500px; }
  .tips-cta-inner { display: block; }
  .tips-cta .button { margin-top: 30px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 30px, 1240px); }
  .brand { font-size: 21px; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }
  h1 { font-size: clamp(5rem, 23vw, 7.2rem); }
  .tips-hero-inner { min-height: 540px; padding: 74px 0 66px; }
  .tips-nav-inner { align-items: start; flex-direction: column; justify-content: center; padding: 18px 0; }
  .tips-nav-links { justify-content: start; }
  .tips-section { padding: 80px 0; }
  .tips-carousel-section { padding: 80px 0; }
  .tip-slide { min-height: 560px; padding: 31px 23px 28px; }
  .tips-carousel-controls { align-items: start; flex-wrap: wrap; }
  .section-heading h2 { font-size: clamp(4.4rem, 20vw, 7rem); }
  .tip-post { padding: 26px 22px 30px; }
  .tip-post h3 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .article-content { padding: 72px 0 84px; }
  .article-prose { font-size: 16px; }
  .article-prose h2 { font-size: clamp(3.5rem, 16vw, 5.4rem); }
  .tips-cta h2 { font-size: clamp(4.7rem, 20vw, 7.2rem); }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
