/* Alpha Cleaford - Bright, Modern & Positive Maritime Design System */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette - Bright Coastal & Ocean Azure */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-soft-blue: #f0f7ff;
  --bg-elevated: #ffffff;

  /* Primary Brand Blues */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.25);
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Neutral & Text Shades */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-focus: #38bdf8;
  --border-card: rgba(2, 132, 199, 0.12);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 10px 30px rgba(2, 132, 199, 0.18);

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(2, 132, 199, 0.04) 0%, transparent 40%);
  min-height: 100vh;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-primary {
  color: var(--primary);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-subtle);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.4);
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.95) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(248, 250, 252, 0.95) 0%, 
    rgba(248, 250, 252, 0.88) 50%, 
    rgba(248, 250, 252, 0.5) 100%
  );
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #0b192c;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.75rem;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Bright Contact Box */
.quick-inquiry-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 8px 15px -6px rgba(15, 23, 42, 0.04);
  position: relative;
}

.quick-card-header {
  margin-bottom: 1.5rem;
}

.quick-card-header h3 {
  font-size: 1.45rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.quick-card-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Sections */
.section {
  padding: 6.5rem 1.5rem;
  position: relative;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.6rem;
  color: #0b192c;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #bae6fd;
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.12), var(--shadow-md);
}

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

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.service-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

/* Ports & Gateways Section */
.ports-section {
  background: #f1f5f9;
}

.ports-grid {
  display: grid;
  /* 340px keeps six gateway cards on a balanced 3x2 rather than a ragged 4+2 */
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.port-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.port-card:hover {
  border-color: #7dd3fc;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.port-tag {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.port-name {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.port-details {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Why Alpha Cleaford Section */
.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.why-item {
  display: flex;
  gap: 1.35rem;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.why-item:hover {
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
}

.why-text h4 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.why-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Contact Section */
.contact-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1.85rem;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.contact-info-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0f7ff;
  border: 1px solid #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.info-details span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  border: 1.5px solid var(--primary);
  color: #0f172a;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  display: none;
  align-items: center;
  gap: 0.8rem;
  z-index: 9999;
  font-weight: 600;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Edge badge */
.edge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
}

/* ==========================================================================
   Consignment Journey / Storytelling Section
   ========================================================================== */
.journey-section {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  /* `clip` rather than `hidden`: it contains the backdrop the same way but does
     not create a scroll container, which would stop the tab bar sticking. */
  overflow: clip;
  padding: 6rem 1.5rem;
}

.journey-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: radial-gradient(ellipse at 50% -10%, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.journey-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.25rem;
  position: relative;
  z-index: 2;
}

.waypoint-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #f0f9ff;
  color: #0284c7;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.journey-main-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.journey-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Chapter Navigation Tabs */
.chapter-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #f1f5f9;
  padding: 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  max-width: 880px;
  margin: 0 auto 3.5rem;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
}

.chapter-tab {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.chapter-tab .chap-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.chapter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.6);
}

.chapter-tab.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.chapter-tab.active .chap-num {
  background: #0284c7;
  color: #ffffff;
}

/* Chapter Panes Wrapper */
.chapter-panes-wrapper {
  position: relative;
  min-height: 580px;
}

.chapter-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.chapter-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Chapter Grid: 2-Column Split */
.chapter-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

/* Narrative Column */
.chapter-narrative {
  padding-right: 1rem;
}

.chapter-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.chap-step-indicator {
  display: inline-flex;
  align-items: center;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.chap-coord {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-family: monospace;
}

.chapter-headline {
  font-size: 2.35rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.chapter-story {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.chapter-checkpoints {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checkpoint-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #f8fafc;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.checkpoint-item:hover {
  background: #f0f7ff;
  border-color: rgba(2, 132, 199, 0.25);
  transform: translateX(4px);
}

.checkpoint-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checkpoint-item strong {
  color: var(--text-primary);
  display: inline;
}

/* Stats Row */
.chapter-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.c-stat {
  display: flex;
  flex-direction: column;
}

.c-stat-val {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1.1;
}

.c-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.chapter-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-chapter-next {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transition: all var(--transition-fast);
}

.btn-chapter-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   Alpha Cleaford Visual Console (Unique Custom Maritime Instrument Panel)
   ========================================================================== */
.chapter-visual-console {
  background: #0b192c;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(11, 25, 44, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  color: #f8fafc;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.console-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.console-brand-tag {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: monospace;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.console-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.console-canvas-area {
  padding: 2.2rem 1.75rem 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: 
    radial-gradient(circle at 50% 30%, rgba(2, 132, 199, 0.2) 0%, transparent 65%),
    linear-gradient(180deg, rgba(11, 25, 44, 0.95) 0%, rgba(15, 23, 42, 1) 100%);
}

/* SVG Schematic Graphics */
.console-graphic-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(2, 132, 199, 0.25));
}

.console-stamp-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: 2px dashed rgba(56, 189, 248, 0.6);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  background: rgba(2, 132, 199, 0.15);
}

.console-bottom-readout {
  padding: 1.25rem 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.console-metric-item {
  display: flex;
  flex-direction: column;
}

.console-metric-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: monospace;
}

.console-metric-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.console-metric-value.highlight {
  color: #38bdf8;
}

.console-metric-value.success {
  color: #34d399;
}

/* Footer */
.footer {
  padding: 4rem 1.5rem 2.5rem;
  background: #0f172a;
  color: #f8fafc;
}

.footer .brand-title {
  color: #ffffff;
}

.footer .brand-subtitle {
  color: #38bdf8;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  color: #94a3b8;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero-container, .why-container, .contact-wrapper, .chapter-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .nav-links {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 7.5rem 1.5rem 4rem;
  }
  .journey-main-title {
    font-size: 2.35rem;
  }
  .chapter-nav-bar {
    overflow-x: auto;
    justify-content: flex-start;
    max-width: 100%;
    border-radius: var(--radius-lg);
    padding: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }
  .chapter-tab {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }
  .chapter-headline {
    font-size: 1.95rem;
  }
  .chapter-narrative {
    padding-right: 0;
  }

  /* Stacked layout puts the console over 1000px below the tabs, so switching
     chapters showed nothing. Lead with the visual and pin the switch bar under
     the fixed header, so tapping a tab always plays a scene you can see. */
  .chapter-grid {
    grid-template-areas: "visual" "narrative";
    gap: 1.75rem;
  }
  .chapter-visual-console { grid-area: visual; }
  .chapter-narrative { grid-area: narrative; }

  .chapter-nav-bar {
    position: sticky;
    top: var(--journey-nav-top, 92px);
    z-index: 30;
    margin-bottom: 1.75rem;
    background: rgba(241, 245, 249, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.25);
  }
}

@media (max-width: 640px) {
  .header {
    padding: 0.75rem 1rem;
  }
  .brand-logo {
    gap: 0.6rem;
  }
  .brand-logo img {
    width: 38px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.95rem;
    line-height: 1.15;
    max-width: 170px;
  }
  .brand-subtitle {
    font-size: 0.62rem;
  }
  #port-status-badge {
    display: none; /* Keep mobile header clean and uncluttered */
  }
  .btn-primary#header-cta-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }
  .hero {
    padding: 6.5rem 1rem 3rem;
  }
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .hero-pill {
    font-size: 0.74rem;
    padding: 0.35rem 0.75rem;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.25rem;
  }
  .stat-item h3 {
    font-size: 1.6rem;
  }
  .stat-item p {
    font-size: 0.72rem;
  }
  .section {
    padding: 4rem 1rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 0.98rem;
  }
  .journey-section {
    padding: 4rem 1rem;
  }
  .journey-main-title {
    font-size: 1.9rem;
  }
  .journey-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
  .chapter-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
  .chapter-headline {
    font-size: 1.55rem;
  }
  .chapter-story {
    font-size: 0.96rem;
    line-height: 1.65;
  }
  .chapter-stats-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .c-stat-val {
    font-size: 1.35rem;
  }
  .btn-chapter-next {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.8rem 1.2rem;
  }
  .console-top-bar {
    padding: 0.75rem 1rem;
    font-size: 0.72rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Narrow consoles: let the telemetry label sit on its own line rather than
     wrapping around the middot, and keep the corner stamp clear of the
     schematic's own labels. */
  .console-brand-tag {
    flex-wrap: wrap;
    row-gap: 0.15rem;
    line-height: 1.35;
  }
  .console-brand-tag > span:nth-child(2) {
    display: none;
  }
  .console-stamp-badge {
    font-size: 0.58rem;
    padding: 0.2rem 0.45rem;
    max-width: 45%;
    line-height: 1.25;
  }
  .console-canvas-area {
    padding: 1.5rem 1rem 1rem;
    min-height: 230px;
  }
  .console-stamp-badge {
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  .console-bottom-readout {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 0.8rem 0.9rem;
  }
  .quick-inquiry-card {
    padding: 1.5rem 1.15rem;
  }
  .contact-info-card {
    padding: 1.75rem 1.15rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-top > div:last-child {
    text-align: left !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .brand-title {
    font-size: 0.88rem;
    max-width: 140px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
}


/* =========================================================================
   Animated Journey Schematics
   Each chapter console plays its stage of the consignment as a loop.
   Panes are display:none when inactive, so a chapter replays from frame
   one every time a visitor selects it.
   ========================================================================= */

.jrn-scene {
  overflow: hidden;
}

/* ---------- Chapter 01 · Port Staging & Berth ---------- */

.jrn-wave-a {
  animation: jrnSwellA 9s linear infinite;
}

.jrn-wave-b {
  animation: jrnSwellB 6.5s linear infinite;
}

@keyframes jrnSwellA {
  from { transform: translateX(0); }
  to   { transform: translateX(-120px); }
}

@keyframes jrnSwellB {
  from { transform: translateX(-120px); }
  to   { transform: translateX(0); }
}

.jrn-vessel {
  animation: jrnBob 5s ease-in-out infinite;
}

@keyframes jrnBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Manifest audit sweeping each staged box */
.jrn-crate {
  animation: jrnCrateAudit 4.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes jrnCrateAudit {
  0%, 22%, 100% { opacity: 1; }
  8%            { opacity: 0.45; }
  14%           { opacity: 1; }
}

/* Trolley traverse: pick from the stack, carry to the quay, return empty */
.jrn-trolley {
  animation: jrnTrolley 9s ease-in-out infinite;
}

@keyframes jrnTrolley {
  0%, 34%   { transform: translateX(0); }
  50%, 92%  { transform: translateX(92px); }
  100%      { transform: translateX(0); }
}

.jrn-cable {
  transform-box: view-box;
  transform-origin: 165px 32px;
  animation: jrnCable 9s ease-in-out infinite;
}

@keyframes jrnCable {
  0%, 6%    { transform: scaleY(1); }
  20%, 34%  { transform: scaleY(2.05); }
  50%       { transform: scaleY(1); }
  68%, 86%  { transform: scaleY(1.74); }
  92%, 100% { transform: scaleY(1); }
}

.jrn-hoist {
  animation: jrnHoist 9s ease-in-out infinite;
}

@keyframes jrnHoist {
  0%, 6%    { transform: translateY(0); }
  20%, 34%  { transform: translateY(40px); }
  50%       { transform: translateY(0); }
  68%, 86%  { transform: translateY(28px); }
  92%, 100% { transform: translateY(0); }
}

.jrn-hoist-box {
  animation: jrnHoistBox 9s steps(1, end) infinite;
}

@keyframes jrnHoistBox {
  0%, 18%   { opacity: 0; }
  22%, 86%  { opacity: 1; }
  90%, 100% { opacity: 0; }
}

.jrn-landed {
  opacity: 0;
  animation: jrnLanded 9s ease-out infinite;
}

@keyframes jrnLanded {
  0%, 86%   { opacity: 0; transform: translateY(-5px); }
  91%, 100% { opacity: 1; transform: translateY(0); }
}

.jrn-radar-sweep {
  transform-box: view-box;
  transform-origin: 52px 58px;
  animation: jrnSpin 4.5s linear infinite;
}

.jrn-ping {
  transform-box: view-box;
  transform-origin: 52px 58px;
  animation: jrnPing 3s ease-out infinite;
}

@keyframes jrnPing {
  0%   { transform: scale(0.3); opacity: 0.9; }
  70%  { opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* ---------- Chapter 02 · Customs & ASYCUDA ---------- */

.jrn-scanline {
  opacity: 0;
  animation: jrnScan 7s ease-in-out infinite;
}

@keyframes jrnScan {
  0%        { transform: translateY(0); opacity: 0; }
  6%        { opacity: 1; }
  40%       { transform: translateY(120px); opacity: 1; }
  50%, 100% { transform: translateY(142px); opacity: 0; }
}

.jrn-chip {
  opacity: 0;
  animation: jrnChip 7s ease-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes jrnChip {
  0%        { opacity: 0; transform: translateX(-8px); }
  7%, 93%   { opacity: 1; transform: translateX(0); }
  100%      { opacity: 0; transform: translateX(0); }
}

.jrn-seal-ring {
  transform-box: view-box;
  transform-origin: 180px 130px;
  animation: jrnSpin 14s linear infinite;
}

.jrn-stamp {
  transform-box: view-box;
  transform-origin: 180px 130px;
  opacity: 0;
  animation: jrnStamp 7s cubic-bezier(0.3, 1.4, 0.5, 1) infinite;
}

@keyframes jrnStamp {
  0%, 52%  { opacity: 0; transform: scale(1.9); }
  61%      { opacity: 1; transform: scale(0.94); }
  66%, 95% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(1.9); }
}

.jrn-check {
  transform-box: view-box;
  transform-origin: 280px 155px;
  opacity: 0;
  animation: jrnCheckPop 7s ease-out infinite;
}

@keyframes jrnCheckPop {
  0%, 70%  { opacity: 0; transform: scale(0.4); }
  78%      { opacity: 1; transform: scale(1.15); }
  84%, 95% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(0.4); }
}

.jrn-check-tick {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: jrnTick 7s ease-out infinite;
}

@keyframes jrnTick {
  0%, 76%   { stroke-dashoffset: 26; }
  88%, 100% { stroke-dashoffset: 0; }
}

/* ---------- Chapter 03 · Inland Bonded Transit ---------- */

.jrn-route {
  animation: jrnDashFlow 1.1s linear infinite;
}

@keyframes jrnDashFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -24; }
}

.jrn-progress {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: jrnProgress 8s cubic-bezier(0.45, 0.05, 0.35, 1) infinite;
}

@keyframes jrnProgress {
  0%        { stroke-dashoffset: 1; opacity: 1; }
  78%, 92%  { stroke-dashoffset: 0; opacity: 1; }
  100%      { stroke-dashoffset: 0; opacity: 0; }
}

.jrn-node {
  animation: jrnNodeHit 8s ease-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes jrnNodeHit {
  0%, 92%, 100% { opacity: 0.55; }
  4%            { opacity: 1; }
  20%           { opacity: 0.85; }
}

.jrn-truck {
  transform-box: view-box;
  transform-origin: 0 0;
  offset-path: path("M30 170 C90 140 140 100 210 80 C270 65 310 50 330 40");
  offset-rotate: auto;
  offset-distance: 0%;
  animation: jrnTruck 8s cubic-bezier(0.45, 0.05, 0.35, 1) infinite;
}

@keyframes jrnTruck {
  0%       { offset-distance: 0%;   opacity: 0; }
  5%       { offset-distance: 2%;   opacity: 1; }
  78%, 92% { offset-distance: 86%; opacity: 1; }
  100%     { offset-distance: 86%; opacity: 0; }
}

/* Browsers without motion-path keep the trailer parked mid-corridor */
@supports not (offset-path: path("M0 0 L1 1")) {
  .jrn-truck {
    animation: none;
    transform: translate(143px, 134px);
  }
}

.jrn-geofence {
  transform-box: view-box;
  transform-origin: 55px 24px;
  animation: jrnGeofence 2.4s ease-out infinite;
}

@keyframes jrnGeofence {
  0%   { transform: scale(0.5); opacity: 0.8; }
  70%  { opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Chapter 04 · Air Express & Final Gate ---------- */

.jrn-runway {
  animation: jrnRunway 1.4s linear infinite;
}

@keyframes jrnRunway {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -24; }
}

.jrn-aircraft {
  animation: jrnBob 5.5s ease-in-out infinite;
}

.jrn-turbine {
  transform-box: view-box;
  transform-origin: 160px 163px;
  animation: jrnSpin 0.9s linear infinite;
}

.jrn-struts {
  transform-box: view-box;
  transform-origin: 90px 185px;
  animation: jrnStruts 7s ease-in-out infinite;
}

@keyframes jrnStruts {
  0%, 10%   { transform: scaleY(0.25); }
  45%, 78%  { transform: scaleY(1); }
  95%, 100% { transform: scaleY(0.25); }
}

.jrn-uld {
  animation: jrnUld 7s ease-in-out infinite;
}

@keyframes jrnUld {
  0%, 10%   { transform: translateY(20px); }
  45%, 78%  { transform: translateY(0); }
  95%, 100% { transform: translateY(20px); }
}

.jrn-gateout {
  opacity: 0;
  animation: jrnGateOut 7s ease-out infinite;
}

@keyframes jrnGateOut {
  0%, 55%  { opacity: 0; transform: translateY(-7px); }
  64%, 94% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(-7px); }
}

/* ---------- Shared ---------- */

@keyframes jrnSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .jrn-scene *,
  .jrn-scene {
    animation: none !important;
    transition: none !important;
  }
  .jrn-scanline,
  .jrn-ping,
  .jrn-geofence,
  .jrn-radar-sweep {
    opacity: 0 !important;
  }
  .jrn-chip,
  .jrn-stamp,
  .jrn-check,
  .jrn-gateout,
  .jrn-landed {
    opacity: 1 !important;
  }
  .jrn-check-tick { stroke-dashoffset: 0 !important; }
  .jrn-progress { stroke-dashoffset: 0 !important; }
  .jrn-truck { offset-distance: 55% !important; }
}

/* =========================================================================
   Regulatory Desk — auto-updating customs circulars
   ========================================================================= */

.circulars-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft-blue) 100%);
  border-top: 1px solid var(--border-subtle);
}

.circulars-panel {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.circulars-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.6rem;
  background: linear-gradient(135deg, #0b192c 0%, #0f2942 100%);
  color: #ffffff;
}

.circulars-head-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.circulars-sync {
  font-family: monospace;
  font-size: 0.74rem;
  color: #7dd3fc;
  letter-spacing: 0.04em;
  text-align: right;
}

.circulars-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.circular-row + .circular-row {
  border-top: 1px solid var(--border-subtle);
}

.circular-link {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.05rem 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition-fast);
}

.circular-link:hover,
.circular-link:focus-visible {
  background: var(--bg-soft-blue);
}

.circular-chip {
  justify-self: start;
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.circular-chip[data-tone="rate"]  { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.circular-chip[data-tone="vat"]   { background: #fef3c7; border-color: #fde68a; color: #b45309; }
.circular-chip[data-tone="order"] { background: #ede9fe; border-color: #ddd6fe; color: #6d28d9; }

.circular-body {
  min-width: 0;
}

.circular-title {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.circular-link:hover .circular-title {
  color: var(--primary-hover);
}

.circular-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.circular-meta .circular-ref {
  font-family: monospace;
  color: var(--text-secondary);
}

.circular-date {
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.circular-date::after {
  content: " \2197";
  color: var(--primary);
}

.circulars-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.6rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.circulars-all {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.circulars-all:hover { text-decoration: underline; }

.circulars-disclaimer {
  max-width: 980px;
  margin: 1.25rem auto 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* Loading placeholders */
.circular-row.is-skeleton {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.6rem;
}

.sk {
  display: block;
  height: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 37%, #eef2f7 63%);
  background-size: 400% 100%;
  animation: skShimmer 1.4s ease-in-out infinite;
}

.sk-chip { height: 22px; border-radius: var(--radius-full); }
.sk-line { max-width: 78%; }

@keyframes skShimmer {
  from { background-position: 100% 50%; }
  to   { background-position: 0 50%; }
}

@media (max-width: 720px) {
  .circular-link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "chip date"
      "body body";
    gap: 0.6rem 1rem;
    padding: 1rem 1.15rem;
  }
  .circular-chip { grid-area: chip; }
  .circular-date { grid-area: date; }
  .circular-body { grid-area: body; }
  .circulars-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .circulars-sync { text-align: left; }
  .circulars-panel-head,
  .circulars-foot { padding-left: 1.15rem; padding-right: 1.15rem; }
  .circular-row.is-skeleton { grid-template-columns: 100px 1fr; padding: 1.15rem; }
  .circulars-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}
