:root {
  --bg-canvas: #fbf1f0;
  --bg-surface: #fffaf9;
  --bg-surface-alt: #f4e8e6;
  --text-primary: #1c1917;
  --text-muted: #6e6462;
  --accent-primary: #6b2155;
  --accent-primary-hover: #531841;
  --accent-secondary: #9f3e79;
  --accent-soft: rgba(107, 33, 85, 0.08);
  --border-subtle: #ebdcd8;
  --border-strong: #cbb4af;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 28px -6px rgba(107, 33, 85, 0.12);
  --font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  --radius-strict: 0px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-strict) !important;
}

html {
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Tagline Bar */
.tagline-bar {
  background-color: var(--accent-primary);
  color: #fffaf9;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tagline-bar span {
  font-weight: 600;
}

.tagline-bar .quick-links {
  display: flex;
  gap: 1.25rem;
}

.tagline-bar a {
  color: #fbf1f0;
  text-decoration: none;
  font-size: 0.75rem;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.tagline-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Header & Navigation (Normal Flow, No Fixed/Sticky) */
.site-header {
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  z-index: 40;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  text-align: left;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
}

.brand-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

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

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width 0.25s var(--ease-kinetic);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--accent-primary);
  font-size: 1.35rem;
  padding: 0.2rem 0.65rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu-drawer {
  display: none;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.mobile-menu-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu-drawer a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.mobile-menu-drawer a:hover {
  color: var(--accent-primary);
}

/* Base Layout Wrappers */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  flex: 1 0 auto;
  width: 100%;
}

.reading-container {
  max-width: 72ch;
  margin: 0 auto;
}

/* Background Atmosphere */
.radial-plum-hero {
  background-image: radial-gradient(circle 800px at 80% 20%, rgba(107, 33, 85, 0.08) 0%, transparent 70%);
}

.radial-plum-compare {
  background-image: radial-gradient(circle 600px at 15% 50%, rgba(107, 33, 85, 0.07) 0%, transparent 65%);
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  border-left: 4px solid var(--accent-primary);
  padding-left: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.2rem;
  color: #352f2d;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

/* Buttons and Links */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid var(--accent-primary);
  cursor: pointer;
  transition: transform 0.2s var(--ease-kinetic), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevation);
}

.text-link-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-primary);
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.text-link-expand::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.25s var(--ease-kinetic);
}

.text-link-expand:hover::after {
  transform: scaleX(1);
}

/* Hero Section */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-media-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 440px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  display: block;
}

.floating-square-panel {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--bg-surface);
  border: 2px solid var(--accent-primary);
  padding: 1.4rem;
  max-width: 290px;
  box-shadow: var(--shadow-elevation);
}

.floating-square-panel h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.35rem;
}

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

.hero-facts-list li {
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-primary);
}

.hero-facts-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.65rem;
  top: 0.2rem;
}

/* Mixed-Size Bento Grid Regions */
.bento-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.bento-region {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.bento-span-12 { grid-column: span 12; }
.bento-span-8  { grid-column: span 8; }
.bento-span-7  { grid-column: span 7; }
.bento-span-6  { grid-column: span 6; }
.bento-span-5  { grid-column: span 5; }
.bento-span-4  { grid-column: span 4; }

.region-header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.region-header h3 {
  margin: 0 0 0.3rem 0;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.region-header .region-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

/* Icon-Led List Rows separated by Fine Rules */
.course-list-rows {
  display: flex;
  flex-direction: column;
}

.course-row-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.course-row-item:last-child {
  border-bottom: none;
}

.row-icon-sq {
  width: 44px;
  height: 44px;
  background-color: var(--accent-soft);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.row-body {
  display: flex;
  flex-direction: column;
}

.row-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.row-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.row-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.pill-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background-color: var(--bg-surface-alt);
  color: var(--accent-primary);
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border-subtle);
}

.row-action {
  flex-shrink: 0;
}

/* Comparison Matrix Tables */
.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0 2rem;
  border: 1px solid var(--border-subtle);
}

.career-fit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background-color: var(--bg-surface);
  text-align: left;
}

.career-fit-table th,
.career-fit-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
}

.career-fit-table th {
  background-color: var(--bg-surface-alt);
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.career-fit-table tr:hover {
  background-color: #fff4f2;
}

/* Media Figures */
.media-figure {
  margin: 1.75rem 0;
}

.media-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  display: block;
}

.media-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Contact Composer Tool */
.decision-composer {
  background: var(--bg-surface);
  border: 2px solid var(--accent-primary);
  padding: 2rem;
  margin-top: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--accent-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
}

.form-control:focus {
  outline: 2px solid var(--accent-primary);
}

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

.composer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--accent-soft);
}

.status-feedback {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
  min-height: 1.5rem;
}

/* Editorial Callout Panels */
.editorial-note {
  background-color: #fff5f3;
  border-left: 4px solid var(--accent-primary);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.editorial-note p:last-child {
  margin-bottom: 0;
}

/* Footer (Standardized) */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-strong);
  padding: 3rem 1.5rem 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col h4 {
  color: var(--accent-primary);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

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

.footer-links-list li {
  margin-bottom: 0.5rem;
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer-bottom-bar a {
  color: var(--accent-primary);
  font-weight: 700;
  text-decoration: none;
}

/* Scroll reveal helper */
.reveal-init {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-kinetic), transform 0.5s var(--ease-kinetic);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .bento-mosaic-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-span-12, .bento-span-8, .bento-span-7, .bento-span-6, .bento-span-5, .bento-span-4 {
    grid-column: span 6;
  }
  .hero-mosaic {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .floating-square-panel {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .tagline-bar .quick-links {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .course-row-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .row-action {
    margin-top: 0.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
