/* =========================================================
   SENTINELAS DA GRAÇA — Design System
   ========================================================= */

:root {
  --color-navy-deep: #0F172A;
  --color-navy-mid: #1E293B;
  --color-slate: #475569;
  --color-off-white: #F8FAFC;
  --color-gold: #C6A15B;
  --color-gold-dark: #8E712D;
  --color-text-light: #E2E8F0;
  --color-text-dark: #1E293B;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.28);

  --font-display: "Playfair Display", "Source Serif Pro", Georgia, serif;
  --font-body: "Lora", "Source Serif Pro", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------- Decorative elements ---------------- */
.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  border: 0;
  margin: 1.25rem 0;
}

.gold-rule--center {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

.badge-free {
  display: inline-block;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  background: transparent;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--color-navy-mid);
  color: var(--color-text-light);
}

.section--deep {
  background: var(--color-navy-deep);
  color: var(--color-text-light);
}

.section--light {
  background: var(--color-off-white);
  color: var(--color-text-dark);
}

.section--free {
  background: var(--color-off-white);
  border-top: 3px solid var(--color-gold);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.container--narrow {
  width: min(820px, 92%);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 220ms ease;
  white-space: nowrap;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy-deep);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  color: var(--color-off-white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold);
  color: var(--color-navy-deep);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-navy-deep);
  border: 1px solid var(--color-navy-deep);
}

.btn--outline-dark:hover {
  background: var(--color-navy-deep);
  color: var(--color-off-white);
}

.btn--block {
  width: 100%;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-navy-deep);
  height: 72px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
  width: min(1280px, 96%);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand__mark {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__top {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--color-off-white);
}

.brand__mid {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin: 2px 0 1px;
}

.brand__bottom {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  font-weight: 700;
}

.site-header__sep {
  width: 1px;
  height: 40px;
  background: var(--color-slate);
  margin: 0 1rem;
}

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

.site-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-light);
  transition: color 200ms ease;
  position: relative;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-gold);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--color-gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-slate);
  color: var(--color-text-light);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy-deep);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/hero-farol.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  /* Color-correct the source photo: deepen the navy, lift the warm glow slightly */
  filter: saturate(1.05) contrast(1.05) brightness(0.92);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Heavy darkening on the LEFT (where the text sits) so the headline reads cleanly,
     fading out on the right to preserve the lighthouse and its beam. */
  background:
    linear-gradient(90deg, rgba(7, 12, 26, 0.88) 0%, rgba(15, 23, 42, 0.72) 38%, rgba(15, 23, 42, 0.42) 62%, rgba(15, 23, 42, 0.25) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.0) 30%, rgba(15, 23, 42, 0.0) 70%, rgba(7, 12, 26, 0.55) 100%);
}

.hero__overlay::after {
  /* subtle vignette */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, transparent 0%, transparent 35%, rgba(7, 12, 26, 0.45) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--color-text-light);
  padding: 6rem 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 60px);
  line-height: 1.1;
  margin: 0;
  color: #FBF6E9; /* warm off-white — picks up the lantern's tone */
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6), 0 0 24px rgba(198, 161, 91, 0.25);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: #EAE2D0; /* warm light — harmonizes with sunset hues */
  max-width: 560px;
  margin: 0 0 2.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.hero__verse {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(198, 161, 91, 0.35);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* ---------------- Section headings ---------------- */
.section-heading {
  margin-bottom: 3rem;
}

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

.section-heading--center .gold-rule {
  margin-left: auto;
  margin-right: auto;
}

.section-heading__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 32px);
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.section--light .section-heading__title {
  color: var(--color-navy-deep);
}

.section--dark .section-heading__title,
.section--deep .section-heading__title {
  color: var(--color-off-white);
}

.section-heading__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  margin: 1.25rem 0 0;
}

.section--light .section-heading__lead {
  color: var(--color-slate);
}

.section--dark .section-heading__lead,
.section--deep .section-heading__lead {
  color: var(--color-text-light);
}

.section-heading--center .section-heading__lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------- Product grid + cards ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-navy-mid);
  border: 1px solid rgba(198, 161, 91, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.product-card--deeper {
  background: var(--color-navy-deep);
}

.product-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.product-card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a253b 0%, #0b1224 100%);
  overflow: hidden;
}

.product-card__cover-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--color-off-white);
  background-blend-mode: overlay;
}

.product-card__cover-art::before {
  /* glow */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(198, 161, 91, 0.28), transparent 55%);
}

.product-card__cover-art > * {
  position: relative;
  z-index: 1;
}

.product-card__series {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.product-card__cover-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--color-off-white);
  margin: 0;
}

.product-card__cover-rule {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 0.9rem auto;
}

.product-card__cover-meta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
}

.product-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--color-off-white);
  margin: 0;
}

.product-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-slate);
}

.product-card__meta-tags span {
  position: relative;
}

.product-card__meta-tags span + span::before {
  content: "·";
  margin-right: 0.9rem;
  color: var(--color-gold);
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.product-card__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-gold);
}

.product-card__price-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
}

.product-card__cta {
  margin-top: 0.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------------- Free content section ---------------- */
.free-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.free-intro .badge-free {
  margin-bottom: 1.25rem;
}

.free-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.free-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.free-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(198, 161, 91, 0.4);
}

.free-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.free-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin: 0;
}

.free-card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-slate);
  margin: 0;
}

.free-card__cta {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ---------------- About section ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0 0 1.2rem;
}

.about-text .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-gold);
  margin: 2rem 0;
}

.credential {
  background: rgba(198, 161, 91, 0.08);
  border-left: 3px solid var(--color-gold);
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-light);
  margin-top: 1.5rem;
}

.about-visual {
  text-align: center;
  padding: 2.5rem;
}

.about-visual__frame {
  background: #FBF8F1;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 8px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
}

.about-visual__frame::before,
.about-visual__frame::after {
  /* corner accents */
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--color-gold);
}

.about-visual__frame::before {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
}

.about-visual__frame::after {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
}

.about-visual img {
  max-width: 320px;
  margin: 0 auto 1rem;
}

.about-visual__tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.6;
}

/* ---------------- Contact section ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-slate);
  color: var(--color-text-light);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  transition: border-color 200ms ease, background 200ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(226, 232, 240, 0.45);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(198, 161, 91, 0.08);
}

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

.contact-form .btn {
  justify-self: start;
  margin-top: 0.5rem;
}

.contact-info {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-light);
}

.contact-info__title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-off-white);
  margin: 0 0 1.25rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-info a {
  color: var(--color-text-light);
  transition: color 200ms ease;
}

.contact-info a:hover {
  color: var(--color-gold);
}

.contact-info svg {
  flex-shrink: 0;
  color: var(--color-gold);
}

.contact-info__panel {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(198, 161, 91, 0.18);
  padding: 2rem;
  border-radius: 8px;
}

.contact-info__verse {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(198, 161, 91, 0.2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--color-gold);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--color-navy-deep);
  color: var(--color-text-light);
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(198, 161, 91, 0.2);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.site-footer__brand {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.site-footer__brand img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.site-footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0 0 0.75rem;
  max-width: 460px;
}

.site-footer__ref {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-gold);
  letter-spacing: 0.06em;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--color-off-white);
  margin: 0 0 1.25rem;
  letter-spacing: 0.04em;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 14px;
}

.site-footer__list svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.site-footer__list a {
  color: var(--color-text-light);
  transition: color 200ms ease;
}

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

.site-footer__copy {
  border-top: 1px solid var(--color-slate);
  padding-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-slate);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------------- Mobile drawer ---------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-navy-deep);
  display: none;
  flex-direction: column;
  padding: 1.25rem 2rem 2rem;
}

.drawer.is-open {
  display: flex;
}

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.drawer nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(198, 161, 91, 0.15);
  padding-bottom: 1rem;
}

.drawer nav a:last-child {
  border-bottom: none;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .product-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__content {
    padding: 4rem 0;
  }

  .site-nav,
  .site-header__sep {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand__top {
    font-size: 14px;
  }

  .brand__bottom {
    font-size: 17px;
  }

  .brand__mark {
    height: 40px;
  }

  .product-grid,
  .product-grid--4,
  .free-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   INTERNAL PAGES — Hero, page header, catalog, articles, letters
   ========================================================= */

/* Internal page hero (60vh, image background) */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--color-navy-deep);
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.05) brightness(0.88);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.85) 100%),
    radial-gradient(ellipse at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text-light);
}

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 1.5rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 52px);
  line-height: 1.12;
  margin: 0;
  color: #FBF6E9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.page-hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 1.75rem auto 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.page-hero__rules {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 0 2rem;
}

.page-hero__rules .gold-rule {
  margin: 0;
}

.page-hero__rules-bottom {
  margin: 2rem 0 0;
}

/* Page header for free content pages */
.page-header-free {
  background: var(--color-off-white);
  border-top: 3px solid var(--color-gold);
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-header-free .badge-free {
  margin-bottom: 1.5rem;
}

.page-header-free__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 40px);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin: 0;
  line-height: 1.15;
}

.page-header-free__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-slate);
  max-width: 680px;
  margin: 1.5rem auto 0;
}

/* Catalog section heading inside internal pages */
.catalog-heading {
  margin-bottom: 3rem;
  max-width: 720px;
}

.catalog-heading__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 30px);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin: 0;
}

.catalog-heading__lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-slate);
  margin: 1.25rem 0 0;
}

/* Toolbar above catalog grid */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.catalog-toolbar__count {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate);
}

.catalog-toolbar__count strong {
  color: var(--color-gold-dark);
  font-weight: 700;
}

.catalog-toolbar__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.18);
  color: var(--color-slate);
  cursor: pointer;
  transition: all 200ms ease;
}

.chip:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.chip.is-active {
  background: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
  color: var(--color-gold);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination button,
.pagination a {
  font-family: var(--font-body);
  font-size: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 4px;
  background: transparent;
  color: var(--color-navy-deep);
  cursor: pointer;
  transition: all 200ms ease;
}

.pagination button:hover,
.pagination a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.pagination .is-active {
  background: var(--color-navy-deep);
  color: var(--color-gold);
  border-color: var(--color-navy-deep);
}

.pagination .nav {
  width: auto;
  padding: 0 1rem;
}

/* =========================================================
   ARTICLE CARDS (free) — editorial grid
   ========================================================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-card);
}

.article-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1e293b 0%, #0F172A 100%);
  position: relative;
  overflow: hidden;
}

.article-card__media::after {
  /* atmospheric highlight */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(198, 161, 91, 0.25), transparent 55%);
}

.article-card__media-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(198, 161, 91, 0.4);
}

.article-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-slate);
}

.article-card__meta strong {
  color: var(--color-gold-dark);
  font-weight: 600;
}

.article-card__meta-sep {
  width: 16px;
  height: 1px;
  background: var(--color-gold);
}

.article-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-navy-deep);
  margin: 0;
}

.article-card__excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-slate);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  transition: gap 200ms ease;
}

.article-card:hover .article-card__link {
  gap: 0.75rem;
}

/* Featured article (first in grid) */
.article-card--featured {
  grid-column: span 3;
  flex-direction: row;
  align-items: stretch;
}

.article-card--featured .article-card__media {
  flex: 1.2;
  aspect-ratio: auto;
  min-height: 280px;
}

.article-card--featured .article-card__body {
  flex: 1;
  padding: 2.5rem;
  justify-content: center;
  gap: 1rem;
}

.article-card--featured .article-card__title {
  font-size: 28px;
}

.article-card--featured .article-card__excerpt {
  font-size: 15px;
  -webkit-line-clamp: 4;
}

/* =========================================================
   LETTER CARDS (free) — envelope-style
   ========================================================= */
.letter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.letter-card {
  background: #FBF8F1;
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 8px;
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  overflow: hidden;
}

.letter-card::before {
  /* envelope flap */
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 50%;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 8px,
    rgba(198, 161, 91, 0.08) 8px 16px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.letter-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}

.letter-card:hover::before {
  opacity: 1;
}

.letter-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy-deep);
  border-radius: 50%;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.letter-card__to {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0;
}

.letter-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin: 0;
  line-height: 1.3;
}

.letter-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-slate);
  margin: 0;
}

.letter-card__cta {
  margin-top: auto;
  padding-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-grid,
  .letter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .article-grid,
  .letter-grid {
    grid-template-columns: 1fr;
  }

  .article-card--featured {
    grid-column: span 1;
    flex-direction: column;
  }

  .article-card--featured .article-card__body {
    padding: 1.5rem;
  }

  .page-hero {
    min-height: 50vh;
  }

  .page-header-free {
    padding: 3rem 0 2.5rem;
  }
}
