:root {
  --bg-main: #f5f7fa;
  --bg-card: #fff;
  --accent: #3498db;
  --accent-dark: #1f70aa;
  --success: #27ae60;
  --warning: #f2b94b;
  --error: #e05252;
  --ink: #17324d;
  --muted: #6d7b8a;
  --line: #e4eaf0;
  --shadow: 0 18px 48px rgba(31, 62, 90, 0.08);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg-main);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px max(20px, calc((100% - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  transition: box-shadow 0.25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(31, 62, 90, 0.1);
  border-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}
.brand-copy {
  display: grid;
  line-height: 1.15;
}
.brand-copy strong {
  font-size: 14px;
}
.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.header-actions {
  display: flex;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(52, 152, 219, 0.2);
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(52, 152, 219, 0.3);
}
.btn-outline {
  border: 1px solid #cbd7e1;
  background: white;
  color: var(--ink);
}
.btn-compact {
  padding: 10px 14px;
  font-size: 12px;
}
.btn-large {
  min-height: 54px;
  padding-inline: 28px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
  min-height: 490px;
  padding-block: 72px;
}
.eyebrow {
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink);
}
.hero-subtitle {
  max-width: 540px;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.hero-description {
  max-width: 500px;
  margin: 20px 0 30px;
  color: var(--muted);
}
.hero-art {
  position: relative;
  min-height: 310px;
}
.art-grid {
  position: absolute;
  inset: 30px 0 0 32px;
  border: 1px solid #d6e6f1;
  background-image:
    linear-gradient(#deebf3 1px, transparent 1px),
    linear-gradient(90deg, #deebf3 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 30px;
  transform: rotate(4deg);
}
.art-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  gap: 30px;
}
.art-card span {
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
}
.art-card strong {
  font-size: 28px;
  line-height: 1.05;
}
.art-card-main {
  width: 220px;
  right: 13%;
  top: 30px;
  transform: rotate(-6deg);
}
.art-card-small {
  width: 160px;
  left: 4%;
  bottom: 12px;
  transform: rotate(8deg);
  padding: 18px;
  gap: 18px;
}
.art-card-small strong {
  font-size: 17px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green {
  background: var(--success);
}
section {
  padding-block: 48px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-badge {
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 12px;
  background: var(--success);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.section-note {
  color: var(--muted);
  font-size: 13px;
}
.slider-controls {
  display: flex;
  gap: 8px;
}
.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
  transition: 0.2s;
}
.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.submission-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.submission-slider::-webkit-scrollbar {
  height: 6px;
}
.submission-slider::-webkit-scrollbar-thumb {
  background: #cbd7e1;
  border-radius: 6px;
}
.submission-card {
  flex: 0 0 min(310px, 82vw);
  min-height: 222px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(31, 62, 90, 0.04);
  scroll-snap-align: start;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.submission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.status-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
}
.status-review {
  background: #fff4d6;
  color: #a87900;
}
.status-discuss {
  background: #e4f2fc;
  color: #2875a7;
}
.status-accepted {
  background: #def5e7;
  color: #188044;
}
.status-rejected {
  background: #fde4e4;
  color: #b73f3f;
}
.card-category {
  margin: 18px 0 7px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}
.card-text {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #314a60;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.card-date {
  margin-top: auto;
  padding-top: 18px;
  color: #9aa7b2;
  font-size: 11px;
}
.empty-state {
  width: 100%;
  padding: 35px;
  color: var(--muted);
  text-align: center;
}
.submit-section {
  padding-top: 75px;
  padding-bottom: 90px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.submission-form {
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 22px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group-wide {
  grid-column: 2;
}
.form-group label,
.form-group legend {
  font-size: 13px;
  font-weight: 700;
}
.form-group label span,
.form-group legend + span {
  color: var(--error);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8e1e8;
  border-radius: 9px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
textarea {
  resize: vertical;
  min-height: 140px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
}
fieldset {
  border: 0;
  padding: 24px 0 0;
  margin: 0;
}
.radio-group {
  display: flex;
  gap: 24px;
}
.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #42596c;
  font-size: 13px;
  cursor: pointer;
}
.radio-label input,
.checkbox-label input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.named-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 20px;
}
.checkbox-label {
  margin-top: 25px;
}
.checkbox-label a {
  color: var(--accent-dark);
  font-weight: 600;
}
.field-error {
  min-height: 16px;
  color: var(--error);
  font-size: 11px;
}
.field-meta {
  display: flex;
  justify-content: space-between;
}
.field-meta small:last-child {
  color: var(--muted);
  font-size: 11px;
}
.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.form-status {
  margin: 0;
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
}
.form-status.error {
  color: var(--error);
}
.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-inner .brand-mark {
  background: #fff;
  color: var(--ink);
}
.footer-inner .brand-copy small,
.footer-inner p {
  color: #aebdca;
}
.footer-inner nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-inner nav a {
  text-decoration: none;
  color: #dbe7ef;
}
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 41, 61, 0.5);
  backdrop-filter: blur(3px);
}
.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}
.modal-category {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 12px;
  margin: 20px 0 4px;
}
.modal-dialog h2 {
  font-size: 24px;
}
.modal-dialog #modal-text {
  color: #42596c;
  white-space: pre-wrap;
}
.modal-dialog time {
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 768px) {
  .brand-mark {
    width: 64px;
    height: 64px;
  }
  .page-shell {
    width: min(100% - 28px, 560px);
  }
  .site-header {
    padding: 12px 14px;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .header-actions .btn-outline {
    padding: 9px 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding-block: 56px 35px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-art {
    min-height: 250px;
  }
  .art-card-main {
    right: 5%;
    top: 20px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .slider-controls {
    display: none;
  }
  section {
    padding-block: 35px;
  }
  .submit-section {
    padding-bottom: 60px;
  }
  .submission-form {
    padding: 22px 18px;
  }
  .form-grid,
  .named-fields {
    grid-template-columns: 1fr;
  }
  .form-group-wide {
    grid-column: auto;
  }
  .form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .btn-large {
    width: 100%;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-inner nav {
    display: grid;
    gap: 10px;
  }
}
