@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #faf6ed;
  --cream-alt: #f2e9d8;
  --sand: #e8dcc2;
  --sand-line: #ddcfae;
  --wine: #970419;
  --wine-dark: #710313;
  --wine-light: #bb5c6a;
  --anthracite: #45444b;
  --gold: #196853;
  --gold-light: #ccded9;
  --ink: #54310d;
  --ink-muted: #907962;
  --ink-faint: #948a78;
  --white: #fdfdfd;
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(43, 36, 28, 0.06), 0 8px 24px rgba(43, 36, 28, 0.06);
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--gold-light);
  color: var(--wine-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--wine);
}

p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

p.lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--cream-alt);
}

.section--wine {
  background: var(--wine);
  color: var(--gold-light);
}

.section--wine h2,
.section--wine h1,
.section--wine p {
  color: var(--white);
}

.section--wine .eyebrow {
  color: var(--gold-light);
}

.section--wine .eyebrow::before {
  background: var(--gold-light);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--sand-line);
}

/* News ticker: normal document flow, sticky under the header.
   Deliberately NOT position:fixed on an ancestor with filter/backdrop-filter
   (broke the mobile nav overlay once already, see CLAUDE project notes). */

#ticker {
  position: sticky;
  top: 78px;
  z-index: 39;
  height: 36px;
  display: flex;
  align-items: center;
  background: var(--anthracite);
  border-bottom: 1px solid rgba(241, 228, 196, 0.15);
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 14px 0 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track-wrap {
  flex: 1 1 0%;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: rgba(250, 246, 237, 0.75);
  white-space: nowrap;
  padding-right: 28px;
}

.ticker-item a {
  color: rgba(250, 246, 237, 0.92);
  text-decoration: none;
}

.ticker-item a:hover {
  text-decoration: underline;
}

.ticker-sep {
  margin: 0 10px;
  color: rgba(200, 165, 78, 0.4);
}

.ticker-source {
  color: var(--gold-light);
  opacity: 0.65;
}

@media (max-width: 768px) {
  #ticker {
    top: 78px;
  }
  .ticker-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--wine);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.3rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  min-height: 44px;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--wine);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--wine-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.btn--on-wine {
  background: var(--gold-light);
  color: var(--wine-dark);
}

.btn--on-wine:hover {
  background: var(--white);
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* Hero */

.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__art {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--cream-alt) 0%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sand-line);
}

.hero__stat {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--wine);
}

.hero__stat span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.hero__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--wine-dark);
}

/* Grape ornament */

.vine-rule {
  width: 60px;
  height: 14px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* Cards */

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--cream);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 42px;
  height: 42px;
  color: var(--wine);
  margin-bottom: 1.1rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--wine);
  text-decoration: none;
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.card__link:hover svg {
  transform: translateX(3px);
}

/* Lists with check icons */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.98rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--wine);
  margin-top: 0.15rem;
}

.section--wine .check-list svg {
  color: var(--gold-light);
}

/* Testimonial */

.testimonial {
  background: var(--cream);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Breadcrumb */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--wine);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--ink-faint);
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--sand-line);
  padding: 1.5rem 0;
}

.faq-item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.faq-item p {
  color: var(--ink-muted);
  margin: 0;
}

/* Contact / forms */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--wine);
  outline-offset: 1px;
  border-color: var(--wine);
}

.contact-card {
  background: var(--cream-alt);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-card__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--sand-line);
  text-decoration: none;
  color: var(--ink);
}

.contact-card__row:last-child {
  border-bottom: none;
}

.contact-card__row svg {
  width: 22px;
  height: 22px;
  color: var(--wine);
  flex-shrink: 0;
}

.contact-card__row strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

/* Blog */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--cream-alt), var(--sand));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__media svg {
  width: 46px;
  height: 46px;
  color: var(--wine-light);
  opacity: 0.7;
}

.blog-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.blog-card__body h3 {
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
}

.blog-card__body p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

/* Podcast platform badges */

.podcast-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.podcast-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.podcast-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.podcast-hero .lede {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.podcast-cadence {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--cream-alt);
  border: 1px solid var(--sand-line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wine-dark);
}

.podcast-cadence svg {
  width: 16px;
  height: 16px;
  color: var(--wine);
}

.plat-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.plat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--sand-line);
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.plat-badge:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.plat-badge svg {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tag-filter button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--sand-line);
  background: var(--cream);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-filter button:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.tag-filter button.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
}

/* Article */

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.article__lede {
  font-size: 1.2rem;
  color: var(--ink-muted);
}

.article h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem;
}

.article h3 {
  margin-top: 1.6rem;
}

.article p,
.article li {
  max-width: none;
  font-size: 1.03rem;
}

.article ul,
.article ol {
  padding-left: 1.3rem;
}

.article ul li,
.article ol li {
  margin-bottom: 0.5rem;
}

.article blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.8rem 0;
  padding: 0.3rem 0 0.3rem 1.3rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--wine-dark);
}

.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--cream-alt);
  border: 1px solid var(--sand-line);
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Footer */

.site-footer {
  background: var(--anthracite);
  color: #d9cdb8;
  padding: 4rem 0 2rem;
}

.site-footer a {
  color: #d9cdb8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(217, 205, 184, 0.15);
}

.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.footer-brand p {
  color: #b5a891;
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(217, 205, 184, 0.25);
  color: #d9cdb8;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: #a4977f;
}

/* Utility */

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-0 { margin-bottom: 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.text-center {
  margin-left: auto;
  margin-right: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--wine);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__art {
    aspect-ratio: 16 / 9;
    order: -1;
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav__links a {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }
  .nav.is-open .nav__links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__toggle {
    display: inline-flex;
  }
  .nav__cta {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
