:root {
  --ink: #18242b;
  --muted: #5f6e77;
  --bg: #f5f1e8;
  --panel: rgba(255, 252, 245, 0.9);
  --panel-strong: #fffaf0;
  --line: rgba(24, 36, 43, 0.12);
  --accent: #b9552f;
  --accent-dark: #8f3f20;
  --forest: #183f3a;
  --gold: #d5b16f;
  --danger: #922f2d;
  --shadow: 0 24px 60px rgba(28, 28, 24, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(213, 177, 111, 0.35), transparent 32%),
    radial-gradient(circle at top right, rgba(24, 63, 58, 0.15), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, #f2ede3 100%);
}

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

p {
  line-height: 1.6;
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.site-header,
.site-footer,
.hero-panel,
.dashboard-hero,
.feature-panel,
.narrative-panel,
.gig-card,
.role-card,
.stat-card,
.flash-banner,
.timeline-card {
  backdrop-filter: blur(18px);
}

.site-header,
.site-footer,
.flash-banner,
.hero-panel,
.dashboard-hero,
.feature-panel,
.narrative-panel,
.gig-card,
.role-card,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-bottom: 20px;
}

.brand-mark,
h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.04em;
}

.brand-mark {
  font-size: 1.2rem;
  font-weight: 700;
}

.site-nav,
.session-strip,
.hero-actions,
.button-row,
.gig-topline,
.panel-header,
.review-header,
.metric-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.inline-link {
  color: var(--forest);
  font-weight: 700;
}

.session-pill,
.badge,
.metric-tags span {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 8px 12px;
  font-size: 0.85rem;
}

.session-pill strong {
  margin-left: 6px;
}

.page-content {
  display: grid;
  gap: 24px;
}

.hero-panel,
.dashboard-hero,
.split-section,
.section-heading,
.filter-bar,
.card-grid,
.stack-grid,
.timeline-grid,
.stat-grid,
.metric-grid {
  display: grid;
  gap: 18px;
}

.hero-panel {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  padding: 34px;
}

.dashboard-hero,
.narrative-panel {
  padding: 30px;
}

.hero-copy h1,
.narrative-panel h1,
.section-heading h1,
.feature-panel h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  margin: 0 0 14px;
}

.hero-lede,
.narrative-panel p,
.dashboard-hero p {
  font-size: 1.08rem;
  max-width: 58ch;
  color: var(--muted);
}

.hero-aside,
.stat-grid,
.stack-grid {
  gap: 14px;
}

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

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

.stat-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  padding: 20px;
}

.stat-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
  font-family: "Fraunces", serif;
}

.stat-card.accent {
  background: linear-gradient(135deg, rgba(24, 63, 58, 0.95), rgba(28, 94, 84, 0.92));
  color: #f9f4e8;
}

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

.feature-panel,
.narrative-panel {
  padding: 28px;
}

.feature-panel.warm {
  background: linear-gradient(180deg, rgba(255, 245, 228, 0.96), rgba(255, 250, 240, 0.92));
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.role-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gig-card,
.role-card,
.timeline-card {
  padding: 24px;
}

.gig-card h2,
.gig-card h3,
.role-card h2,
.timeline-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.gig-meta,
.gig-meta.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.gig-meta dt {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.gig-meta dd {
  margin: 0;
  font-weight: 700;
}

.filter-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.stacked-form,
.filter-bar label {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(24, 36, 43, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff8f0;
}

.secondary-button {
  background: rgba(24, 63, 58, 0.1);
  border-color: rgba(24, 63, 58, 0.18);
  color: var(--forest);
}

.ghost-button {
  background: transparent;
  border-color: var(--line);
}

.danger {
  color: var(--danger);
  border-color: rgba(146, 47, 45, 0.28);
}

.full-width {
  width: 100%;
}

.small {
  padding: 9px 14px;
}

.flash-banner {
  padding: 16px 20px;
  margin-bottom: 18px;
  background: rgba(213, 177, 111, 0.22);
}

.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(24, 63, 58, 0.08);
}

.callout.danger {
  background: rgba(146, 47, 45, 0.1);
}

.list-card,
.review-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.list-card:first-of-type,
.review-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.muted {
  color: var(--muted);
}

.review-card {
  flex-direction: column;
}

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

.timeline-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(24, 63, 58, 0.12);
  color: var(--forest);
  font-weight: 800;
  margin-bottom: 14px;
}

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

.metric-tags {
  margin-top: 10px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
}

.site-footer {
  margin-top: 28px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-panel,
  .split-section,
  .timeline-grid,
  .stat-grid.wide,
  .filter-bar,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer,
  .section-heading {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 16px 36px;
  }

  .hero-copy h1,
  .narrative-panel h1,
  .section-heading h1,
  .feature-panel h1 {
    font-size: 2.3rem;
  }

  .stat-grid,
  .gig-meta {
    grid-template-columns: 1fr;
  }
}
