/* FoRE Open House 2026 초대장 스타일 — 원본 app/globals.css 그대로(안개 이미지 경로만 상대경로로). */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

:root {
  font-family: 'DM Sans', 'Noto Sans KR', sans-serif;
  color: #f4eee9;
  background: #131215;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #131215; }
body::before, body::after {
  content: '';
  position: fixed;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  background: url('fore-fog.png') center center / cover no-repeat;
  will-change: transform;
}
/* 노이즈를 걷으면서 주황이 어둠에 묻혔다 — 채도·밝기를 올려 주황 띠를 살린다 (2026-10-02) */
body::before { opacity: 1; filter: saturate(1.6) brightness(1.3) contrast(1.06); animation: fog-drift 22s ease-in-out infinite alternate; }
body::after {
  opacity: .26;
  mix-blend-mode: screen;
  animation: fog-breathe 29s ease-in-out infinite alternate;
}
body > * { position: relative; z-index: 1; }
/* 2026-10-02: 움직임이 잘 안 느껴진다는 의견 — 흐르는 폭(±4%→±7%)과 속도(38s→22s)를 키우고,
   겹친 두 번째 층이 반대 방향으로 더 진하게 지나가게 했다. 안개 이미지는 노이즈를 80% 걷어낸 판. */
@keyframes fog-drift {
  from { transform: translate3d(-7%, 3%, 0) scale(1.04); }
  to { transform: translate3d(7%, -4%, 0) scale(1.1); }
}
@keyframes fog-breathe {
  from { opacity: .18; transform: translate3d(6%, -4%, 0) scale(1.12) rotate(-3deg); }
  to { opacity: .5; transform: translate3d(-6%, 4%, 0) scale(1.04) rotate(3deg); }
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button, .cta { cursor: pointer; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px max(6vw, 24px);
  border-bottom: 1px solid #ffffff20;
  background: #151316bb;
}
.brand { color: #ff7942; font-size: 25px; font-weight: 700; letter-spacing: -.055em; }
.topnote { color: #c9ada2; font-size: 12px; letter-spacing: .16em; }
.wrap { max-width: 1160px; margin: auto; padding: 0 28px; }

.hero { background: #15131622; }
.hero-brand-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(250px, 32vw, 440px);
  border-bottom: 1px solid #ffffff18;
}
.hero-logo {
  display: block;
  width: min(74vw, 680px); /* 2026-10-02: 820 → 680, 살짝 줄임 */
  height: 100%;
  object-fit: contain;
  animation: logo-glow 8s ease-in-out infinite;
}
/* 네온 맥동 — 글자는 고정, 밝기와 번지는 빛만 오르내린다. 8초 주기로 천천히 (2026-10-02) */
@keyframes logo-glow {
  0%, 100% { filter: brightness(.9) drop-shadow(0 0 6px #ff743538); }
  50% { filter: brightness(1.2) drop-shadow(0 0 14px #ff743590) drop-shadow(0 0 40px #ff743550); }
}
.hero-inner { padding-top: 78px; padding-bottom: 102px; }
.eyebrow, .section-label {
  color: #ff9666;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 850px;
  margin: 28px 0 28px;
  font-weight: 500;
  font-size: clamp(70px, 10vw, 142px);
  line-height: .97;
  letter-spacing: -.085em;
}
.hero h1 span { display: block; color: #ff7942; }
.intro { max-width: 660px; color: #d7c9c1; font-size: clamp(18px, 2vw, 23px); line-height: 1.7; }
.intro-sentence { display: block; }
.details {
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid #c4907866;
}
.details small, .details strong { display: block; }
.details small { margin-bottom: 8px; color: #bd9e91; font-size: 12px; letter-spacing: .14em; }
.details strong { color: #f4eee9; font-size: 17px; font-weight: 500; }
.cta {
  display: inline-flex;
  margin-top: 46px;
  padding: 17px 27px;
  border-radius: 2px;
  background: #ff7942;
  color: #181214;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.cta:hover { background: #ffa274; }

.section { padding: 100px 0; background: #17141633; }
.section h2 {
  margin: 15px 0 30px;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.24;
}
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.story p { margin: 0; color: #d0c0b9; font-size: 17px; line-height: 1.9; }
.event-notes { margin: 30px 0 0; padding: 0; border-top: 1px solid #ffffff30; list-style: none; }
.event-notes li {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff22;
  color: #d0c0b9;
  font-size: 15px;
  line-height: 1.65;
}
.event-notes strong { color: #ff9666; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.rule { border-top: 1px solid #ffffff20; background: #211a1a44; }
.program { display: grid; grid-template-columns: 1fr; margin-top: 35px; }
.program article {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid #9b6d5b;
}
.program time { color: #ff9666; font-size: 14px; }
.program h3 { margin: 0; font-size: 22px; font-weight: 500; }
.program p { margin: 9px 0 0; color: #ccbcb5; font-size: 15px; line-height: 1.7; }

.form-section { padding: 90px 0 110px; background: #2a1e1d70; color: #f4eee9; }
.form-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; }
.form-section h2 { margin: 18px 0; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.06em; line-height: 1.18; }
.form-copy { color: #d4c4bc; font-size: 17px; line-height: 1.8; }
.fee { margin-top: 38px; padding: 23px 0; border-top: 1px solid #bd8b76; border-bottom: 1px solid #bd8b76; }
.fee strong { color: #ff9666; font-size: 23px; }
.fee p { margin: 9px 0 0; color: #d4c4bc; font-size: 14px; line-height: 1.6; }
.panel { padding: 34px; border: 1px solid #d5b8a8; background: #f5eee8; color: #251b19; }
.panel h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.hint { margin: 0 0 26px; color: #6c5550; font-size: 14px; line-height: 1.6; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.other-detail[hidden] { display: none; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid #c8aaa0;
  border-radius: 0;
  background: #fffaf6;
  color: #251b19;
  font-size: 15px;
}
.field textarea { min-height: 102px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #e96834; outline-offset: 1px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 24px; color: #634e49; font-size: 13px; line-height: 1.6; }
.consent input { width: 18px; height: 18px; margin: 1px 0; flex: none; accent-color: #d65b2b; }
.submit { width: 100%; padding: 17px 24px; border: 0; background: #e96834; color: #1b1413; font-weight: 700; }
.submit:hover { background: #ff9361; }
.submit:disabled { cursor: wait; opacity: .65; }
.demo { margin: 13px 0 0; color: #895342; font-size: 13px; line-height: 1.5; }
.result { display: none; }
.result.show { display: block; }
.result h3 { font-size: 30px; line-height: 1.35; }
.small { color: #735e56; font-size: 13px; line-height: 1.6; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 31px max(6vw, 24px); border-top: 1px solid #ffffff20; background: #15131688; color: #b39c92; font-size: 13px; }
footer b { color: #ff7942; font-size: 18px; letter-spacing: -.04em; }
/* cre-tools 추가: 운영진이 기존 FoRE Tools 로 들어가는 길(/login → 관리자면 기존 화면). */
.staff-login { text-decoration: none; border-bottom: 1px solid #b39c9255; }
.staff-login:hover { color: #f4eee9; border-color: #f4eee9; }

@media (max-width: 760px) {
  header { padding: 20px 24px; }
  .hero-brand-art { height: clamp(240px, 65vw, 310px); }
  .hero-inner { padding-top: 58px; padding-bottom: 74px; }
  .hero h1 { font-size: clamp(58px, 13vw, 98px); }
  .intro { font-size: clamp(16px, 4.5vw, 18px); }
  .intro-mobile-line { display: block; }
  .details { gap: 22px; }
  .details > div { min-width: 125px; }
  .story, .form-layout { grid-template-columns: 1fr; gap: 30px; }
  .event-notes li, .program article { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 75px 0; }
  .form-section { padding: 70px 0; }
  .grid { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 22px; }
  .topnote { font-size: 10px; }
}
@media (max-width: 450px) {
  .details { flex-direction: column; gap: 22px; }
  .details > div { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .hero-logo { animation: none; }
}
