/* Mahaldeeb — Poetry Nation–inspired editorial style */

:root {
  --primary: #8B2332;
  --primary-dark: #6B1A28;
  --primary-light: #A63D50;
  --accent: #C4A35A;
  --text: #333333;
  --text-muted: #666666;
  --text-light: #888888;
  --bg: #ffffff;
  --bg-subtle: #f7f7f7;
  --bg-warm: #faf9f7;
  --border: #e5e5e5;
  --border-dark: #cccccc;
  --white: #ffffff;
  --shadow: none;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --radius: 3px;
  --radius-lg: 4px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --max-width: 960px;
  --content-width: 720px;
  --header-height: 64px;

  /* Legacy aliases */
  --ink-muted: var(--text-muted);
  --ocean-deep: var(--primary);
  --coral: var(--primary);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration: 0.35s;
  --duration-slow: 0.55s;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.5s var(--ease-out) both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out),
              opacity var(--duration) var(--ease);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease),
              opacity var(--duration-fast) var(--ease);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.3;
  color: var(--text);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text);
}

p + p {
  margin-top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  transition: box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 0.8125rem;
  font-weight: normal;
  color: var(--text-muted);
  border-radius: 0;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease),
              background var(--duration-fast) var(--ease);
}

.main-nav a:hover {
  color: var(--primary);
  background: transparent;
  text-decoration: underline;
}

.main-nav a.active {
  color: var(--primary);
  font-weight: bold;
  background: transparent;
}

/* Hero / Home intro */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 0 2rem;
}

.hero-banner-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
  animation: heroReveal 0.8s var(--ease-out) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  max-width: var(--content-width);
  padding: 2rem 1.25rem 0;
  margin: 0 auto;
}

.hero-eyebrow {
  display: none;
}

.hero h1 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 100%;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: normal;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease),
              opacity var(--duration-fast) var(--ease);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  color: var(--primary-dark);
}

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
}

/* Page header (inner pages) */
.page-header {
  background: var(--bg);
  color: var(--text);
  padding: 0 0 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.page-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
  animation: heroReveal 0.75s var(--ease-out) both;
}

.page-header .container {
  max-width: var(--content-width);
  padding-top: 1.75rem;
}

.page-header h1 {
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.page-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 100%;
  margin: 0;
  line-height: 1.75;
}

.breadcrumb {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: left;
  max-width: var(--content-width);
  margin: 0 auto 2rem;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: bold;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 15px;
}

.section-eyebrow {
  display: none;
}

/* Cards → clean entry list */
.card-grid {
  display: block;
  max-width: var(--content-width);
  margin: 0 auto;
}

.card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  align-items: start;
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              padding-left var(--duration) var(--ease);
}

.card:hover {
  background: rgba(139, 35, 50, 0.03);
  border-color: var(--border-dark);
  padding-left: 0.35rem;
}

.card:last-child {
  border-bottom: none;
}

.card-image {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.card-image img {
  width: 130px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}

.card:hover .card-image img {
  transform: scale(1.06);
}

.card-body {
  padding: 0;
}

.card-body h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-body h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

.card-body h3 a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.card-link {
  display: none;
}

/* Feature blocks */
.feature-row {
  display: block;
  max-width: var(--content-width);
  margin: 0 auto;
}

.feature-row.reverse {
  direction: ltr;
}

.feature-visual {
  display: block;
  margin-bottom: 1.5rem;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.feature-visual img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}

.feature-content h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  padding: 1.5rem 0;
  max-width: var(--content-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary);
  transition: transform var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.stats-row > div:hover .stat-number {
  transform: scale(1.08);
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0;
}

.timeline::before {
  display: none;
}

.timeline-item {
  position: static;
  width: 100%;
  padding: 0 0 2rem;
  text-align: left !important;
  left: 0 !important;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.timeline-dot {
  display: none;
}

.timeline-year {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.timeline-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  opacity: 1;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.93);
  font-size: 0.6875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.4;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(139, 35, 50, 0.12);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover span {
  background: var(--primary);
  color: var(--white);
  border-top-color: var(--primary);
}

/* Quote / oral history */
.quote-block {
  background: transparent;
  border-left: 3px solid var(--primary);
  padding: 0 0 0 1.25rem;
  border-radius: 0;
  margin-bottom: 2rem;
  box-shadow: none;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  transition: border-color var(--duration) var(--ease),
              padding-left var(--duration) var(--ease);
}

.quote-block:hover {
  border-left-width: 5px;
  padding-left: 1.1rem;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.quote-attribution {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.quote-attribution strong {
  color: var(--text-muted);
  font-weight: normal;
}

/* Content prose */
.prose {
  max-width: var(--content-width);
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  color: var(--text-muted);
  font-size: 15px;
}

.prose ul, .prose ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 15px;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--text);
}

/* Content entry blocks (Poetry Nation team style) */
.content-entry {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.content-entry:last-child {
  border-bottom: none;
}

.content-entry h3 {
  font-size: 1.0625rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.content-entry p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Two column content */
.content-grid {
  display: block;
  max-width: var(--content-width);
  margin: 0 auto;
}

.sidebar-box {
  background: var(--bg-subtle);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: none;
  position: static;
  margin-top: 2rem;
}

.sidebar-box h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
}

.sidebar-box ul {
  list-style: none;
}

.sidebar-box li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.sidebar-box li:last-child {
  border-bottom: none;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: bold;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 35, 50, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  display: none;
}

.contact-info-item strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

/* CTA banner */
.cta-banner {
  background: var(--bg-subtle);
  color: var(--text);
  padding: 2.5rem 0;
  text-align: left;
  border-top: 1px solid var(--border);
}

.cta-banner .container {
  max-width: var(--content-width);
}

.cta-banner h2 {
  color: var(--text);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 100%;
  margin: 0 0 1.25rem;
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: var(--bg-warm);
  color: var(--text-muted);
  padding: 2rem 0 1.5rem;
  border-top: 3px solid var(--primary);
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: bold;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-col h4 {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: bold;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease),
              padding-left var(--duration-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: underline;
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Item list */
.item-list {
  display: block;
  max-width: var(--content-width);
  margin: 0 auto;
}

.item-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  background: transparent;
  padding: 1.25rem 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--duration) var(--ease),
              padding-left var(--duration) var(--ease);
}

.item-card:hover {
  background: rgba(139, 35, 50, 0.03);
  padding-left: 0.35rem;
}

.item-card:last-child {
  border-bottom: none;
}

.item-thumb {
  display: block;
  width: 130px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-card:hover .item-thumb img {
  transform: scale(1.06);
}

.item-card h3 {
  font-size: 1.0625rem;
  font-weight: bold;
  margin-bottom: 0.35rem;
}

.item-card .meta {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: normal;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.item-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Tag */
.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.6875rem;
  font-weight: normal;
  color: var(--text-muted);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease);
  cursor: default;
}

.tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Divider */
.hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Site-wide promotion bar */
.promo-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8125rem;
  line-height: 1.5;
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
  transition: max-height var(--duration) var(--ease),
              opacity var(--duration) var(--ease),
              margin var(--duration) var(--ease);
}

.promo-bar.hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.promo-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 2.5rem 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.promo-bar p {
  margin: 0;
}

.promo-bar strong {
  font-weight: bold;
}

.promo-bar a {
  color: var(--white);
  font-weight: bold;
  text-decoration: underline;
}

.promo-bar a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.promo-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  padding: 0.25rem 0.5rem;
  transition: opacity var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease);
}

.promo-close:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

/* Featured promotion block */
.promo-feature {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.promo-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.promo-feature-image {
  position: relative;
}

.promo-feature-image img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration) var(--ease);
}

.promo-feature:hover .promo-feature-image img {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(139, 35, 50, 0.1);
}

.promo-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
}

.promo-feature-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.promo-feature-content > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 1rem;
}

.promo-feature-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.promo-feature-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.promo-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.promo-deadline {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.promo-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Inline promo card (inner pages) */
.promo-inline {
  max-width: var(--content-width);
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}

.promo-inline h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.promo-inline p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Scroll reveal transitions */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.reveal-fade.is-visible {
  opacity: 1;
}

.feature-visual img {
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration) var(--ease);
}

.feature-visual:hover img {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-fade {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--duration) var(--ease-out),
                opacity var(--duration) var(--ease),
                visibility var(--duration);
    box-shadow: var(--shadow-sm);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
  }

  .main-nav a {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--bg-subtle);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    grid-template-columns: 1fr;
  }

  .card-image img {
    width: 100%;
    height: 160px;
  }

  .item-card {
    grid-template-columns: 1fr;
  }

  .item-thumb {
    width: 100%;
    height: 160px;
  }

  h1, .hero h1, .page-header h1 {
    font-size: 1.625rem;
  }

  .promo-feature-grid {
    grid-template-columns: 1fr;
  }

  .promo-bar-inner {
    padding-right: 2.75rem;
    text-align: left;
  }
}
