:root {
  --night: #061634;
  --night-2: #09265b;
  --blue: #145ee8;
  --cyan: #65ddf0;
  --red: #ee2d32;
  --paper: #f7f1e8;
  --paper-2: #fffaf2;
  --ink: #101826;
  --muted: #657085;
  --line: rgba(16, 24, 38, 0.16);
  --white: #fff;
  --page: min(1180px, calc(100vw - 40px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(101, 221, 240, 0.22), transparent 24vw),
    linear-gradient(180deg, #fff7ed 0%, var(--paper) 36%, #f5efe6 100%);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; }

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(3,14,39,0.86), rgba(3,14,39,0.18));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 0.14em; opacity: 0.72; }
.nav-link {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 760;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px max(22px, calc((100vw - 1180px) / 2)) 72px;
  color: var(--white);
  background: #020f2d;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(101, 221, 240, 0.34), transparent 30%),
    linear-gradient(90deg, rgba(3, 13, 38, 0.96) 0%, rgba(3, 13, 38, 0.78) 44%, rgba(3, 13, 38, 0.18) 82%),
    linear-gradient(0deg, rgba(3, 13, 38, 0.90) 0%, rgba(3, 13, 38, 0.08) 58%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(1080px, 92vw);
}
.overline {
  margin: 0 0 22px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.title-lockup {
  position: relative;
  max-width: 1040px;
  padding-left: 38px;
}
.title-lockup::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 100%;
  min-height: 168px;
  background: linear-gradient(180deg, var(--red), #ff6b3c);
}
.title-lockup__program {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 24px;
  color: #e0c287;
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.45;
  font-weight: 860;
  letter-spacing: 0.08em;
}
.title-lockup__program span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}
.title-lockup__program span + span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 18px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(238, 45, 50, 0.16);
}
.hero h1 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(66px, 8.8vw, 126px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.title-lockup__sub {
  display: inline-block;
  margin: 30px 0 0;
  padding: 15px 22px 16px;
  background: var(--red);
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0.01em;
}
.title-lockup::after {
  content: "A SPECIAL PROJECT OF HAIHE CREATIVE WEEK";
  display: block;
  margin-top: 24px;
  width: min(620px, 80vw);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.22em;
}
.mobile-break { display: none; }
.lead {
  margin: 32px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.76;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero__meta span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  font-size: 14px;
}

.intro-grid {
  width: var(--page);
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.intro-card {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.42);
}
.intro-card--lead {
  background: var(--night);
  color: var(--white);
}
.index {
  display: block;
  margin-bottom: 70px;
  color: var(--red);
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.12em;
}
.intro-card--lead .index { color: var(--cyan); }
.intro-card h2,
.intro-card h3 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.intro-card h3 { font-size: clamp(26px, 2.8vw, 34px); }
.intro-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
}
.intro-card--lead p { color: rgba(255,255,255,0.76); }

.submit-panel {
  width: var(--page);
  margin: 96px auto 96px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(6, 22, 52, 0.10);
}
.submit-panel__copy {
  padding: 48px;
  background:
    radial-gradient(circle at 88% 14%, rgba(101, 221, 240, 0.20), transparent 34%),
    linear-gradient(145deg, var(--night), var(--night-2));
  color: var(--white);
}
.submit-panel__copy .overline { color: var(--cyan); }
.submit-panel__copy h2 {
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.submit-panel__copy p,
.submit-panel__copy li {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.85;
}
.submit-panel__copy ul {
  margin: 28px 0 0;
  padding-left: 1.2em;
}

.submission-form {
  padding: 48px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
label {
  display: grid;
  gap: 8px;
}
label span {
  color: #19315a;
  font-size: 14px;
  font-weight: 760;
}
input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 38, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
input {
  height: 48px;
  padding: 0 14px;
}
input[type="file"] {
  height: auto;
  min-height: 58px;
  padding: 15px 14px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
}
input[type="file"]::file-selector-button {
  margin-right: 14px;
  border: 0;
  background: var(--night);
  color: #fff;
  padding: 10px 14px;
  font-weight: 780;
  cursor: pointer;
}
.upload-field small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.email-note {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-left: 6px solid var(--red);
  background:
    linear-gradient(90deg, rgba(238, 45, 50, 0.10), rgba(255, 255, 255, 0.82));
  color: #19315a;
}
.email-note strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.email-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
textarea {
  resize: vertical;
  min-height: 130px;
  padding: 13px 14px;
  line-height: 1.7;
}
input:focus,
textarea:focus {
  border-color: rgba(20, 94, 232, 0.75);
  box-shadow: 0 0 0 3px rgba(20, 94, 232, 0.12);
}
.field-wide {
  margin-top: 18px;
}
.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 20px;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--red);
}
.consent span {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.7;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.form-actions button,
.fallback-box button {
  appearance: none;
  border: 0;
  min-height: 52px;
  padding: 0 24px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.form-actions button:hover,
.fallback-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(238, 45, 50, 0.22);
}
.form-actions button[disabled] {
  opacity: 0.58;
  cursor: wait;
}
[data-form-status] {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.fallback-box {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(238, 45, 50, 0.26);
  background: rgba(238, 45, 50, 0.06);
}
.fallback-box h3 {
  margin: 0 0 8px;
  color: #19315a;
  font-size: 22px;
}
.fallback-box p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}
.fallback-box textarea {
  min-height: 180px;
  margin-bottom: 14px;
  font-size: 14px;
}

footer {
  width: var(--page);
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(16,24,38,0.58);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 14px;
}
footer p { margin: 0; }
.organization-footer { display: grid; grid-template-columns: 1fr; gap: 18px; }
.organization-footer__title { color: var(--ink); font-weight: 760; }
.organization-footer dl { display: grid; gap: 10px; margin: 0; }
.organization-footer dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; }
.organization-footer dt { color: var(--ink); font-weight: 760; }
.organization-footer dd { margin: 0; line-height: 1.75; }

@media (max-width: 860px) {
  .site-nav { height: 66px; }
  .nav-link { display: none; }
  .hero { min-height: 74svh; padding-top: 112px; padding-bottom: 56px; }
  .hero h1 {
    max-width: calc(100vw - 66px);
    font-size: clamp(38px, 10.4vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.052em;
    white-space: nowrap;
  }
  .title-lockup {
    padding-left: 24px;
  }
  .title-lockup::before {
    width: 9px;
    min-height: 142px;
  }
  .title-lockup__program {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .title-lockup__program span + span::before { display: none; }
  .title-lockup__sub {
    margin-top: 22px;
    padding: 11px 13px 12px;
    font-size: 20px;
  }
  .title-lockup::after {
    max-width: 92%;
    letter-spacing: 0.12em;
  }
  .mobile-break { display: block; }
  .overline { font-size: 11px; letter-spacing: 0.12em; }
  .intro-grid,
  .submit-panel {
    grid-template-columns: 1fr;
  }
  .intro-card { min-height: auto; }
  .index { margin-bottom: 42px; }
  .submit-panel__copy,
  .submission-form { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { display: grid; }
  footer { display: grid; }
  .organization-footer dl > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
}
