/* RyanTagCoffee — shared stylesheet */
:root {
  --cream: #faf5ec;
  --cream-dark: #f3ead9;
  --espresso: #3b2a1e;
  --espresso-soft: #5d4632;
  --accent: #8a5a2b;
  --accent-dark: #6f4520;
  --card: #ffffff;
  --muted: #6b5a4a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section.block { padding: 64px 0; }
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 10px;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.lede, .lead { font-size: 1.15rem; color: var(--espresso-soft); max-width: 640px; }
.section-title { text-align: center; margin-bottom: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-align: center;
  background: var(--espresso); color: var(--cream);
  font-size: 17px; font-weight: 700; text-decoration: none;
  padding: 15px 28px; border-radius: 14px; border: none;
  font-family: inherit; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--espresso-soft); transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: default; transform: none; }
.btn-ghost, .btn-outline {
  background: transparent; color: var(--cream);
  border: 2px solid rgba(250, 245, 236, .85);
}
.btn-ghost:hover, .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.cta-row, .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.link-more { font-weight: 700; color: var(--accent); font-size: 15px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,245,236,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59,42,30,.1);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; position: relative;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--espresso); text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--espresso); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--accent); }
.site-nav a.active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--espresso); line-height: 1; padding: 4px 8px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--espresso); }
.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-video iframe {
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border: 0; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,20,12,.55), rgba(30,20,12,.25) 50%, rgba(30,20,12,.6));
}
.hero-copy, .hero-content { position: relative; z-index: 2; color: var(--cream); padding: 96px 0; }
.hero-copy h1, .hero-content h1 { color: #fff; max-width: 640px; }
.hero-copy .lede, .hero-copy .lead, .hero-content .lede, .hero-content .lead { color: rgba(255,250,240,.85); }

/* ---------- page hero (interior pages) ---------- */
.page-hero { background: var(--espresso); color: var(--cream); padding: 72px 0 56px; }
.page-hero h1 { color: #fff; }
.page-hero .lede, .page-hero .lead { color: rgba(255,250,240,.85); }
.page-hero .eyebrow { color: #e8b96f; }

/* ---------- section shells ---------- */
.channels, .teasers, .gear, .giveaway, .about, .brand-proof { padding: 64px 0; }
.articles, .legal { padding: 56px 0 64px; }
.featured-product { padding: 64px 0; background: var(--cream-dark); }

/* ---------- stats marquee ---------- */
.stat-marquee { overflow: hidden; margin: 0 -20px; padding: 8px 0; }
.stat-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.stat-marquee:hover .stat-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.stat {
  flex: 0 0 auto; width: 160px;
  background: var(--card); border-radius: 16px; padding: 18px 14px;
  box-shadow: 0 4px 16px rgba(59,42,30,.10); text-align: center;
  font-size: 13px; color: var(--muted); margin-right: 12px;
}
.stat strong, .stat .num { display: block; font-size: 26px; font-weight: 800; color: var(--espresso); }
.stat .lbl { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- cards ---------- */
.card-grid, .teaser-grid, .proof-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; margin-top: 28px;
}
.card, .teaser-card, .proof-card {
  background: var(--card); border-radius: 18px; padding: 26px;
  box-shadow: 0 6px 22px rgba(59,42,30,.10); text-decoration: none; color: var(--espresso);
  display: block; transition: transform .15s ease;
}
a.card:hover, a.teaser-card:hover { transform: translateY(-3px); }
.card h3, .teaser-card h3, .proof-card h3 { margin-bottom: 8px; }
.card p, .teaser-card p, .proof-card p { color: var(--espresso-soft); margin: 0; font-size: 15px; }
.card .meta { font-size: 13px; color: var(--muted); margin-top: 12px; font-weight: 600; }
.teaser-card .link-more, .card .link-more { display: block; margin-top: 12px; }

/* ---------- channel cards ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.channel, .channel-card {
  background: var(--espresso); color: var(--cream); border-radius: 18px; padding: 26px;
  text-decoration: none; display: block; transition: transform .15s ease;
}
.channel:hover, .channel-card:hover { transform: translateY(-3px); }
.channel-card strong, .channel .count { display: block; font-size: 30px; font-weight: 800; }
.channel-card span, .channel .name { display: block; font-size: 15px; opacity: .8; margin-top: 4px; }
.channel-card em { display: block; font-style: normal; font-size: 14px; opacity: .65; margin-top: 10px; line-height: 1.5; }
.channel .go { margin-top: 14px; font-weight: 700; color: var(--cream); font-size: 14px; }

/* ---------- featured product ---------- */
.featured-card, .fp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
  background: var(--card); border-radius: 22px; padding: 28px;
  box-shadow: 0 10px 34px rgba(59,42,30,.12); overflow: hidden;
}
.featured-card img, .fp-grid img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; }
.fp-grid p, .featured-card p { color: var(--espresso-soft); }
.fp-grid .eyebrow, .featured-card .tag { margin-bottom: 12px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(138,90,43,.12); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- brand proof (work-with-me) ---------- */
.brand-closer { text-align: center; margin-top: 44px; }
.brand-closer p { font-size: 1.15rem; color: var(--espresso-soft); max-width: 560px; margin: 0 auto 20px; }

/* ---------- newsletter ---------- */
section.newsletter { padding: 64px 0; }
.newsletter .wrap {
  background: var(--espresso); color: var(--cream);
  border-radius: 24px; padding: 48px 32px; text-align: center;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,250,240,.8); max-width: 520px; margin: 0 auto 24px; }
.newsletter-form, .nl-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input[type="email"], .nl-form input[type="email"] {
  flex: 1 1 200px; padding: 15px 18px; border-radius: 14px; border: none;
  font-size: 16px; font-family: inherit; min-width: 0;
}
.newsletter-form .btn, .nl-form .btn { background: var(--accent); white-space: nowrap; }
.newsletter-form .btn:hover, .nl-form .btn:hover { background: #a06a35; }
.newsletter-msg, .nl-msg {
  flex-basis: 100%; margin: 4px 0 0; font-weight: 600; min-height: 24px;
  color: rgba(255,250,240,.85); font-size: 15px;
}
.newsletter-msg.ok, .nl-msg.ok { color: #9fe6a0; }
.newsletter-msg.err, .nl-msg.err { color: #ffb3a7; }

/* ---------- brand strip ---------- */
.brand-strip {
  background: var(--cream-dark); border-radius: 24px; padding: 48px 32px;
  text-align: center; margin-top: 28px;
}
.brand-strip p { color: var(--espresso-soft); max-width: 560px; margin: 0 auto 24px; }

/* ---------- articles / prose ---------- */
.article { max-width: 720px; margin: 0 auto; }
.articles .article + .article { margin-top: 60px; }
.article > h2:first-child { margin-top: 0; }
.article h1 { margin-bottom: 8px; }
.article-meta, .article .byline { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 20px; }
.prose p, .prose li, .article p, .article li { font-size: 17px; color: var(--espresso-soft); }
.prose h2, .article h2 { margin-top: 40px; }
.prose ol, .prose ul, .article ol, .article ul { padding-left: 22px; }
.prose li, .article li { margin-bottom: 10px; }
.prose a, .article a { color: var(--accent); font-weight: 600; }
.article .tip {
  background: var(--card); border-left: 4px solid var(--accent);
  padding: 16px 20px; border-radius: 0 14px 14px 0; margin: 24px 0;
}
.article .tip p { margin: 0; font-size: 16px; }
.sidenote {
  font-size: 15px; color: var(--muted);
  background: var(--card); border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(59,42,30,.08);
}

/* ---------- gear ---------- */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.gear-item, .gear-card {
  background: var(--card); border-radius: 16px; padding: 22px;
  box-shadow: 0 4px 16px rgba(59,42,30,.08);
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: var(--espresso);
  transition: transform .15s ease;
}
a.gear-item:hover, a.gear-card:hover { transform: translateY(-3px); }
.gear-item h3, .gear-card h3 { font-size: 17px; margin: 0; }
.gear-item p, .gear-card p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.gear-item a, .gear-card a { font-weight: 700; font-size: 15px; text-decoration: none; }
.gear-card .link-more { margin-top: 8px; }
.deal-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.deal-link {
  background: var(--card); border: 1px solid rgba(59,42,30,.14);
  padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 14px; color: var(--espresso);
  transition: background .15s ease, transform .15s ease;
}
.deal-link:hover { background: var(--cream-dark); transform: translateY(-1px); }
.disclosure {
  margin-top: 36px; padding: 18px 22px; background: var(--cream-dark);
  border-radius: 14px; font-size: 14px; color: var(--muted);
}

/* ---------- giveaway ---------- */
.giveaway-card, .empty-note {
  background: var(--card); border-radius: 18px; padding: 36px;
  text-align: center; box-shadow: 0 6px 22px rgba(59,42,30,.08); margin-top: 28px;
}
.giveaway-card h2, .empty-note h2 { margin-bottom: 10px; }
.giveaway-card p, .empty-note p { color: var(--espresso-soft); max-width: 560px; margin: 0 auto; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; margin-top: 28px; }
.about-grid img { border-radius: 20px; }
.about-grid p { color: var(--espresso-soft); font-size: 17px; }

/* ---------- footer ---------- */
footer, .site-footer { background: var(--espresso); color: rgba(250,245,236,.75); padding: 48px 0 32px; margin-top: 64px; text-align: center; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { font-weight: 800; color: var(--cream); font-size: 20px; margin-bottom: 10px; }
footer a, .site-footer a { color: rgba(250,245,236,.75); text-decoration: none; font-size: 14px; }
footer a:hover, .site-footer a:hover { color: var(--cream); }
.foot-links { display: flex; gap: 32px; }
.foot-links ul { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 8px; }
.footer-links { margin: 0 0 14px; font-size: 14px; }
.footer-links a { margin: 0 4px; }
.copyright { margin: 0; font-size: 13px; color: rgba(250,245,236,.55); }
.site-footer .disclosure, footer .disclosure {
  background: none; padding: 0; margin: 0 0 16px;
  font-size: 14px; color: rgba(250,245,236,.75);
}
.socials { display: flex; gap: 12px; margin: 0 0 20px; justify-content: center; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(250,245,236,.12);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.socials a:hover { background: rgba(250,245,236,.25); }
.socials svg { width: 20px; height: 20px; fill: var(--cream); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(250,245,236,.15); font-size: 13px; }
.foot-bottom p { margin: 4px 0; }

/* ---------- email modal ---------- */
.email-modal {
  position: fixed; inset: 0; z-index: 20000;
  background: rgba(59,42,30,.5);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.email-modal.show { opacity: 1; pointer-events: auto; }
.email-card {
  background: var(--cream); border-radius: 20px; padding: 28px 24px;
  text-align: center; max-width: 340px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  transform: scale(.92); transition: transform .25s ease;
  position: relative;
}
.email-modal.show .email-card { transform: scale(1); }
.email-label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.email-addr, .email-address { font-size: 17px; font-weight: 700; margin: 0 0 8px; word-break: break-all; color: var(--espresso); }
.email-note { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.email-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; color: var(--muted);
  font-size: 26px; line-height: 1; cursor: pointer; font-family: inherit;
}
.email-close:hover { color: var(--espresso); }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt { margin-top: 28px; }
.page-head { padding: 64px 0 8px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; gap: 0; border-bottom: 1px solid rgba(59,42,30,.1);
    box-shadow: 0 12px 28px rgba(59,42,30,.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid rgba(59,42,30,.08); }
  .site-nav a.active { box-shadow: none; }
  .nav-toggle { display: block; }
  .featured-card, .fp-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { max-width: 240px; }
  .newsletter-form, .nl-form { flex-direction: column; }
  .newsletter-form input[type="email"], .nl-form input[type="email"] { flex-basis: auto; }
  .hero { min-height: 78vh; }
  .hero-copy, .hero-content { padding: 72px 0; }
  section.block { padding: 44px 0; }
  .channels, .teasers, .gear, .giveaway, .about, .brand-proof, .featured-product { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stat-track { animation: none; }
  .stat-marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}
