:root {
  --navy: #0f2638;
  --deep-blue: #173f5f;
  --blue: #2f80a8;
  --teal: #4f9d8f;
  --green: #8fbf5f;
  --cream: #f4f1e8;
  --soft-white: #fbfaf6;
  --charcoal: #1d252c;
  --muted: #6d7a82;
  --line: rgba(15, 38, 56, 0.14);
  --shadow: 0 18px 50px rgba(15, 38, 56, 0.16);
  --radius: 24px;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;

  background:
    linear-gradient(
      135deg,
      rgba(59,110,168,0.26) 0%,
      rgba(90,159,214,0.22) 28%,
      rgba(114,198,207,0.18) 52%,
      rgba(154,203,114,0.20) 76%,
      rgba(110,163,77,0.24) 100%
    ),
    linear-gradient(135deg, #f8f7f3 0%, #f3f1eb 100%);

  color: var(--charcoal);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.page {
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 38, 56, 0.08);
}

.nav {
  max-width: 1180px;
  height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  height: 78px;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 150px;
  width: auto;
  display: block;
  transform: translateY(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue), var(--deep-blue));
  display: grid;
  place-items: center;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.mobile-menu-note {
  display: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.hero {
  min-height: 760px;
  padding: 128px 24px 72px;
  background:
    linear-gradient(110deg, rgba(251,250,246,0.88) 0%, rgba(251,250,246,0.58) 42%, rgba(251,250,246,0.08) 100%),
    url("hero-home.jpeg") center/cover;
  display: flex;
  align-items: center;
}

.hero-vendor h1,
.hero-vendor .hero-copy,
.hero-vendor .eyebrow,
.hero-market h1,
.hero-market .hero-copy,
.hero-market .eyebrow {
  color: white;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.page-hero {
  padding-top: 150px;
  padding-bottom: 70px;
  background: linear-gradient(135deg, #eef4ef, #fbfaf6);
}

.hero-vendor {
  background:
    linear-gradient(rgba(15,38,56,0.45), rgba(15,38,56,0.45)),
    url("hero-vendor.png") center/cover;
}

.hero-market {
  background:
    linear-gradient(rgba(15,38,56,0.40), rgba(15,38,56,0.40)),
    url("hero-market.png") center/cover;
}

.simple-hero h1 {
  max-width: 860px;
}

.eyebrow {
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--navy);
  max-width: 780px;
  margin-bottom: 26px;
}

.hero-copy {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 620px;
  color: #30424d;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.market-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 15px 22px;
  border-radius: 22px;
  font-weight: 800;
  transition: 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.button.primary,
.button.secondary,
.market-button {
  background: linear-gradient(
      135deg,
  #5b82ad 0%,
  #79abd6 30%,
  #8bc7cf 52%,
  #a7cb8b 76%,
  #86b06a 100%
  );

  color: #1d252c !important;

  border: 2px solid #1d252c;

  border-radius: 22px;

  box-shadow: 0 8px 22px rgba(23, 63, 95, 0.16);

  backdrop-filter: blur(6px);
}

.button:hover,
.market-button:hover {
  transform: translateY(-2px);
}
.hero-card {
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 38, 56, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
}

.hero-card p {
  color: #4d5d66;
  margin-bottom: 18px;
}

.date-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(143,191,95,0.28), rgba(47,128,168,0.22));
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}

section {
  padding: 86px 24px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.section-heading p {
  max-width: 440px;
  color: var(--muted);
  font-size: 17px;
}

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

.event-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 38, 56, 0.08);
}

.event-image {
  height: 260px;
  background: linear-gradient(135deg, var(--teal), var(--deep-blue));
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.event-content {
  padding: 26px;
}

.event-content h3 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.event-meta {
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.event-content p {
  color: var(--muted);
  margin-bottom: 20px;
}

.gallery-section {
  background: #eef4ef;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-blue);
  box-shadow: 0 12px 30px rgba(15, 38, 56, 0.1);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-vendor {
  background: var(--soft-white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 52px;
  align-items: center;
}

.split h2 {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--navy);
  margin-bottom: 24px;
}

.split p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 620px;
}

.info-panel {
  background: linear-gradient(135deg, var(--navy), var(--deep-blue));
  color: white;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.info-panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.info-panel li {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 12px;
  color: rgba(255,255,255,0.86);
}

.form-wrap {
  max-width: 860px;
}

.prototype-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 12px 36px rgba(15, 38, 56, 0.08);
}

.prototype-form h2 {
  margin: 28px 0 16px;
  color: var(--navy);
  font-size: 26px;
}

.prototype-form h2:first-child {
  margin-top: 0;
}

.prototype-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--navy);
}

.prototype-form input,
.prototype-form textarea,
.prototype-form select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: #fbfaf6;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.choice-grid label,
.check-list label {
  background: #f4f1e8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.choice-grid input,
.check-list input {
  width: auto;
  margin-right: 8px;
}

.optional {
  color: var(--muted);
  font-weight: 600;
}

.success-message {
  display: none;
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  background: #e8f5e9;
  color: #1f5d38;
  font-weight: 800;
}

.success-message.show {
  display: block;
}

footer {
  background: var(--navy);
  color: white;
  padding: 54px 24px 34px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-inner h3,
.footer-inner h4 {
  margin-bottom: 14px;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255,255,255,0.76);
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .nav-links,
  .socials {
    display: none;
  }

  .mobile-menu-note {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-inner,
  .events-grid,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item,
  .gallery-item:first-child {
    grid-row: auto;
    height: 260px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }
  
.prototype-form {
  background: linear-gradient(180deg, #ffffff 0%, #f7f5ee 100%);
}
}
.prototype-form h2 {
  background: linear-gradient(135deg, #e8f1f4, #eef6ea);
  border-left: 6px solid #3b6ea8;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 22px;
  margin: 34px 0 18px;
}

.choice-grid {
  gap: 10px;
}

.choice-grid label,
.check-list label {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 15px;
  min-height: unset;
}

.prototype-form input,
.prototype-form textarea,
.prototype-form select {
  padding: 11px 14px;
}

.prototype-form label {
  margin-bottom: 14px;
}

.form-wrap {
  max-width: 980px;
}

.prototype-form {
  background: linear-gradient(180deg, #ffffff 0%, #f7f5ee 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 36px rgba(15, 38, 56, 0.08);
}

.prototype-form h2 {
  width: 100%;
  background: linear-gradient(135deg, #e8f1f4, #eef6ea);
  border-left: 6px solid #3b6ea8;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 20px;
  margin: 30px 0 16px;
  color: var(--navy);
  text-align: left;
}

.prototype-form h2:first-child {
  margin-top: 0;
}

.prototype-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 650;
  font-size: 15px;
  color: var(--navy);
}

.prototype-form input,
.prototype-form textarea,
.prototype-form select {
  width: 100%;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  background: #fbfaf6;
}

.prototype-form input::placeholder,
.prototype-form textarea::placeholder {
  font-size: 14px;
  font-weight: 400;
  color: #7d878d;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

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

.choice-grid label,
.check-list label {
  background: #f4f1e8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
}

.choice-grid input,
.check-list input {
  width: auto;
  transform: scale(1.2);
  margin-right: 10px;
}

.triple-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.option-group h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.compact-grid {
  grid-template-columns: 1fr;
}

.optional {
  color: var(--muted);
  font-weight: 600;
}

.success-message {
  display: none;
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  background: #e8f5e9;
  color: #1f5d38;
  font-weight: 800;
}

.success-message.show {
  display: block;
}

footer {
  background: var(--navy);
  color: white;
  padding: 54px 24px 34px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 34px;
}

.footer-inner h3,
.footer-inner h4 {
  margin-bottom: 14px;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255,255,255,0.76);
  display: block;
  margin-bottom: 8px;
}

.market-button {
  font-size: 18px;
  padding: 16px 26px;
}

@media (max-width: 860px) {
  .nav-links,
  .socials {
    display: none;
  }

  .mobile-menu-note {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-inner,
  .events-grid,
  .split,
  .footer-inner,
  .triple-options {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item,
  .gallery-item:first-child {
    grid-row: auto;
    height: 260px;
  }

  .choice-grid,
  .choice-grid.three-column {
    grid-template-columns: 1fr;
  }
}

.loading-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f1e8;
  border: 1px solid #1d252c;
  color: #1d252c;
  font-weight: 700;
}

.photo-note {
  color: #6d7a82;
  font-weight: 500;
  font-size: 13px;
}

/* =========================
   ADMIN APPLICATION CARDS
========================= */

.admin-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.96) 0%,
    rgba(247,245,238,0.96) 100%
  );

  border: 1px solid rgba(15,38,56,0.12);

  border-radius: 24px;

  padding: 26px;

  margin-bottom: 24px;

  box-shadow:
    0 12px 34px rgba(15,38,56,0.08);

  backdrop-filter: blur(10px);
}

.admin-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;

  margin-bottom: 22px;
}

.admin-card h3 {
  font-size: 32px;
  line-height: 1;

  letter-spacing: -0.04em;

  color: var(--navy);

  margin-bottom: 8px;
}

.admin-meta {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.admin-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;

  margin-bottom: 24px;
}

.admin-grid div {
  background:
    rgba(244,241,232,0.72);

  border:
    1px solid rgba(15,38,56,0.08);

  border-radius: 16px;

  padding: 14px 16px;
}

.admin-grid strong {
  display: block;

  font-size: 13px;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  color: var(--deep-blue);

  margin-bottom: 6px;
}

.admin-grid p {
  margin: 0;

  color: var(--charcoal);

  font-size: 15px;

  line-height: 1.5;
}

.empty-message {
  text-align: center;

  color: var(--muted);

  font-size: 16px;

  padding: 32px 20px;
}

.loading-message {
  text-align: center;

  color: var(--deep-blue);

  font-size: 15px;

  font-weight: 700;

  padding: 16px 0;
}

@media (max-width: 860px) {

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-card {
    padding: 22px;
  }

  .admin-card h3 {
    font-size: 26px;
  }

}

/* =========================
   PENDING APPLICATIONS PAGE
========================= */

.pending-applications-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pending-card {
  display: flex;
  flex-direction: column;
}

.pending-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pending-status-pill {
  font-size: 14px;
  padding: 10px 15px;
}

.pending-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.pending-info-box {
  background: rgba(244,241,232,0.72);
  border: 1px solid rgba(15,38,56,0.08);
  border-radius: 16px;
  padding: 10px 14px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pending-info-box strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--deep-blue);
  margin-bottom: 2px;
}

.pending-info-box p {
  margin: 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.35;
}

.pending-review-button {
  margin-top: 22px;
  width: fit-content;
}

@media (max-width: 860px) {
  .pending-pair-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   REVIEW APPLICATION PAGE
========================= */

.review-pill-row {
  margin-bottom: 22px;
}

.review-info-grid,
.review-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.review-info-box,
.review-document-tile {
  background: rgba(244,241,232,0.72);
  border: 1px solid rgba(15,38,56,0.08);
  border-radius: 16px;
  padding: 10px 14px;
  min-width: 0;
  min-height: unset;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-info-box strong,
.review-document-meta strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--deep-blue);
  margin-bottom: 2px;}

.review-info-box p,
.review-document-meta p {
  margin: 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.35;
}

.review-full-width {
  margin-bottom: 24px;
}

.review-document-tile {
  margin: 24px 0;
}

.review-document-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.review-document-top h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}

.review-file-link {
  color: #1d5fa7;
  text-decoration: underline;
  font-weight: 800;
  white-space: nowrap;
}

.review-document-meta {
  margin-bottom: 14px;
}

.review-document-frame {
  width: 100%;
  height: 780px;
  border: 1px solid rgba(15,38,56,0.12);
  border-radius: 16px;
  background: white;
}

.review-decision-panel {
  margin-top: 28px;
}

.review-choice-grid label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--charcoal);
}

.review-choice-grid input[type="radio"] {
  width: auto;
  margin-right: 8px;
  transform: scale(1.15);
}

.review-action-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .review-info-grid,
  .review-choice-grid {
    grid-template-columns: 1fr;
  }

  .review-document-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-document-frame {
    height: 640px;
  }
}

.admin-record-title {
  font-size: 56px !important;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--navy);
  font-weight: 900 !important;
  margin: 0 0 14px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: block;
}

/* =========================
   ADMIN PAGE HERO
========================= */

.admin-hero {
  padding-top: 110px;
  padding-bottom: 32px;
}

.admin-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  margin-bottom: 12px;
}

.admin-hero .hero-copy {
  font-size: 17px;
  margin-bottom: 0;
  max-width: 720px;
}

.admin-hero .eyebrow {
  margin-bottom: 10px;
}