:root {
  --seesme-deep: #12314f;
  --seesme-ocean: #226184;
  --seesme-green: #2f6f61;
  --seesme-rust: #a9573f;
  --seesme-sand: #d9b86b;
  --seesme-fog: #f5f8fb;
  --seesme-ink: #152836;
  --seesme-soft: #5d7080;
  --seesme-line: #dce6ef;
  --seesme-card: #ffffff;
  --seesme-shadow: 0 18px 38px rgba(18, 49, 79, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--seesme-ink);
  font-family: "Manrope", sans-serif;
  background:
    linear-gradient(135deg, rgba(34, 97, 132, 0.08), rgba(47, 111, 97, 0.06)),
    repeating-linear-gradient(90deg, rgba(18, 49, 79, 0.035) 0 1px, transparent 1px 84px),
    var(--seesme-fog);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--seesme-deep);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0;
}

a {
  color: var(--seesme-ocean);
}

a:hover {
  color: var(--seesme-green);
}

.seesme-nav {
  border-bottom: 1px solid rgba(220, 230, 239, 0.94);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.navbar-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.navbar-brand span {
  display: grid;
  line-height: 1.1;
}

.navbar-brand strong {
  color: var(--seesme-deep);
  font-size: 1.08rem;
}

.navbar-brand small {
  color: var(--seesme-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.nav-link {
  position: relative;
  color: #2a4c65;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active {
  color: var(--seesme-deep);
}

.nav-link.active::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.2rem;
  left: 0.5rem;
  height: 2px;
  content: "";
  background: var(--seesme-rust);
}

.btn-admin-link {
  border: 1px solid var(--seesme-line);
  border-radius: 999px;
  color: var(--seesme-deep);
  font-weight: 800;
  background: #fff;
}

.btn-admin-link:hover {
  border-color: var(--seesme-sand);
  background: #fbf7ed;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(18, 49, 79, 0.94), rgba(34, 97, 132, 0.88));
  box-shadow: 0 26px 56px rgba(18, 49, 79, 0.22);
}

.hero-shell::before,
.hero-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-shell::before {
  right: clamp(1rem, 4vw, 3rem);
  top: 50%;
  width: min(30vw, 330px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(242, 217, 150, 0.1) 42%, transparent 72%);
  transform: translateY(-50%);
  z-index: 0;
}

.hero-shell::after {
  right: clamp(1.25rem, 5vw, 4rem);
  top: 50%;
  width: min(25vw, 280px);
  aspect-ratio: 1;
  background: url("/static/img/seeme-logo-watermark.png") center / contain no-repeat;
  filter: brightness(1.22) contrast(1.2) saturate(1.16) drop-shadow(0 16px 28px rgba(2, 22, 38, 0.2));
  opacity: 0.72;
  transform: translateY(-50%);
  z-index: 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 49, 79, 0.08), rgba(18, 49, 79, 0.32)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f8fbff;
}

.hero-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
}

.hero-copy-block {
  max-width: 740px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--seesme-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-shell .section-kicker {
  color: #f1d694;
}

.hero-title {
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 1.1rem;
  color: #dceaf7;
  font-size: 1.05rem;
}

.btn-seesme-primary {
  border: 0;
  border-radius: 8px;
  color: #142a43;
  font-weight: 800;
  background: linear-gradient(120deg, var(--seesme-sand), #f1d998);
  box-shadow: 0 10px 20px rgba(99, 75, 21, 0.14);
}

.btn-seesme-primary:hover {
  color: #12263c;
  background: linear-gradient(120deg, #eecf83, #f6e1a7);
}

.btn-seesme-ghost {
  border: 1px solid #bdd0e1;
  border-radius: 8px;
  color: var(--seesme-deep);
  font-weight: 800;
  background: #eff5fb;
}

.hero-shell .btn-seesme-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.btn-seesme-ghost:hover,
.hero-shell .btn-seesme-ghost:hover {
  color: var(--seesme-deep);
  border-color: #f2d996;
  background: #fff7e3;
}

.page-intro {
  margin-bottom: 1.1rem;
}

.workflow-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-title {
  margin-bottom: 0.2rem;
  color: var(--seesme-deep);
  font-size: clamp(1.7rem, 2.2vw, 2.45rem);
}

.section-subtitle {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--seesme-soft);
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  display: grid;
  min-height: 116px;
  padding: 1rem;
  border: 1px solid var(--seesme-line);
  border-radius: 8px;
  color: var(--seesme-ink);
  text-decoration: none;
  background: var(--seesme-card);
  box-shadow: var(--seesme-shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 97, 0.4);
}

.stat-card span {
  color: var(--seesme-soft);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-card strong {
  align-self: end;
  color: var(--seesme-deep);
  font-size: 2.15rem;
  line-height: 1;
}

.workflow-strip,
.surface-card,
.modern-card,
.workflow-card,
.empty-state,
.filter-shell,
.blog-entry,
.story-shell__copy,
.story-shell__panel,
.contact-sidebar .surface-card,
.deadline-panel {
  border: 1px solid var(--seesme-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--seesme-shadow);
}

.workflow-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
}

.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #e6edf4;
}

.surface-head h2 {
  margin: 0;
  color: var(--seesme-deep);
  font-size: 1.4rem;
}

.surface-head a {
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

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

.surface-list li {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #edf2f7;
}

.surface-list li:last-child {
  border-bottom: 0;
}

.surface-list .item-title {
  font-weight: 800;
}

.surface-list .item-title a {
  color: var(--seesme-deep);
  text-decoration: none;
}

.surface-list small {
  display: block;
  margin-top: 0.15rem;
  color: #607285;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.quick-link-card {
  display: block;
  min-height: 166px;
  padding: 1.05rem;
  border: 1px solid var(--seesme-line);
  border-radius: 8px;
  color: var(--seesme-ink);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 10px 20px rgba(16, 41, 67, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 87, 63, 0.34);
  box-shadow: 0 15px 28px rgba(16, 41, 67, 0.11);
}

.quick-link-eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--seesme-rust);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-link-card h3 {
  margin-bottom: 0.35rem;
  color: var(--seesme-deep);
  font-size: 1.25rem;
}

.quick-link-card p {
  margin: 0;
  color: #607285;
}

.filter-shell {
  padding: 1rem;
}

.form-label {
  color: #34566e;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 42px;
  border-color: #cad8e6;
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(47, 111, 97, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(47, 111, 97, 0.12);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 1.1rem;
}

.workflow-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--seesme-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.workflow-card h2 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.workflow-card p {
  color: #3e566a;
}

.workflow-card-subtitle {
  margin-bottom: 0.7rem;
  color: var(--seesme-soft) !important;
  font-weight: 700;
}

.workflow-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #edf2f7;
  color: var(--seesme-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.badge-soft,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: #205444;
  font-size: 0.82rem;
  font-weight: 900;
  background: #e8f3ef;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  color: #63301f;
  font-size: 0.85rem;
  font-weight: 900;
  background: #f8ebe5;
}

.eligibility-block {
  display: grid;
  gap: 0.25rem;
  margin-top: auto;
  padding: 0.8rem;
  border-left: 3px solid var(--seesme-sand);
  color: var(--seesme-soft);
  background: #fbf8ef;
}

.eligibility-block strong {
  color: var(--seesme-deep);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.workflow-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workflow-list-item small {
  display: block;
  color: var(--seesme-soft);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
}

.empty-state h2 {
  font-size: 1.55rem;
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto 1rem;
  color: var(--seesme-soft);
}

.pagination-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  color: var(--seesme-soft);
  font-weight: 800;
}

.pagination-shell a {
  border: 1px solid var(--seesme-line);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  background: #fff;
}

.story-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 1rem;
}

.story-shell__copy,
.story-shell__panel,
.blog-entry {
  padding: 1.4rem;
}

.story-shell__copy h2,
.blog-entry h2 {
  margin-bottom: 0.8rem;
  color: var(--seesme-deep);
}

.story-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--seesme-soft);
}

.story-list li + li {
  margin-top: 0.65rem;
}

.blog-layout {
  display: grid;
  gap: 1rem;
}

.blog-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.9rem;
  color: var(--seesme-soft);
  font-size: 0.95rem;
}

.blog-entry__excerpt {
  margin-bottom: 0;
  color: #3a5369;
}

.vision-mission-section .vm-card,
.vm-card {
  height: 100%;
  border: 1px solid var(--seesme-line);
  border-radius: 8px;
  box-shadow: var(--seesme-shadow);
}

.vm-title {
  margin-bottom: 0.75rem;
  color: var(--seesme-deep);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.submission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.publication-submit-form {
  min-width: 0;
}

.form-section-title {
  margin-bottom: 0.75rem;
  color: var(--seesme-deep);
  font-size: 1.1rem;
  font-weight: 900;
}

.submission-note {
  position: sticky;
  top: 6rem;
}

.feedback-form .form-control {
  background: #fbfdff;
}

.feedback-highlights {
  display: grid;
  gap: 0.85rem;
}

.feedback-quote {
  margin: 0;
  padding: 0.95rem 1rem;
  border-left: 4px solid var(--seesme-sand);
  border-radius: 8px;
  background: #f8fbfe;
}

.feedback-quote p {
  margin-bottom: 0.45rem;
  color: var(--seesme-ink);
}

.feedback-quote footer {
  color: var(--seesme-soft);
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--seesme-line);
  background: rgba(255, 255, 255, 0.82);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  color: var(--seesme-soft);
}

.site-footer strong {
  display: block;
  color: var(--seesme-deep);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 1200px) {
  .dashboard-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .quick-links-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-shell,
  .contact-grid,
  .submission-layout {
    grid-template-columns: 1fr;
  }

  .submission-note {
    position: static;
  }

  .workflow-strip,
  .workflow-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  main.container {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .hero-shell {
    padding: 1.45rem 1rem;
    background: linear-gradient(120deg, rgba(18, 49, 79, 0.96), rgba(34, 97, 132, 0.9));
  }

  .hero-shell::before {
    right: -1.5rem;
    top: 1rem;
    width: 190px;
    transform: none;
  }

  .hero-shell::after {
    right: -0.35rem;
    top: 1.45rem;
    width: 150px;
    opacity: 0.34;
    transform: none;
  }

  .navbar-brand img {
    width: 52px;
    height: 52px;
  }

  .navbar-brand small {
    display: none;
  }

  .nav-link.active::after {
    display: none;
  }

  .hero-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-stat-grid,
  .quick-links-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-list-item,
  .workflow-card-footer,
  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .surface-head h2 {
    font-size: 1.28rem;
  }
}
