/* =====================================================================
   2026 한-아랍 스타트업 공모전 — 공식 웹사이트 스타일 (v9, 브랜드 캠페인)

   패션·주요 브랜드 사이트의 문법으로 다시 짰다.
   - 사진과 영상이 말하고, 글은 적게. 화면마다 문장 하나.
   - 작은 대문자 라벨 + 중간 굵기의 큰 문장 + 15px 본문. 모노·아이콘·박스·막대·노드 없음.
   - 흰색과 크림, 검정. 금색은 사진 안에만 있다.
   - 헤어라인은 일정·FAQ·풋터에만. 나머지는 여백으로 나눈다.
   ===================================================================== */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations"), url("../fonts/PretendardVariable.woff2") format("woff2");
}

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F5;          /* 연회색 (크림은 사용자 요청으로 제외) */
  --ink: #111111;
  /* 2026-11-07 발주처 요청: 특별한 이유가 없으면 홈페이지 글씨는 모두 검정.
     예전 회색 글씨(--ink-2 #6A6A6A, --ink-3 #9A9A9A)를 검정으로 통일하고,
     선택되지 않은 KR/EN 버튼처럼 상태를 나타내는 곳만 --ink-mute를 쓴다. */
  --ink-2: #111111;
  --ink-3: #111111;
  --ink-mute: #9A9A9A;
  --line: #E4E1DB;
  --line-strong: #111111;
  --night: #0C1120;
  --on-night: #F3F1EC;
  --on-night-2: rgba(243, 241, 236, .6);
  --line-night: rgba(243, 241, 236, .16);
  --danger: #A8352C;
  --overlay: 12, 17, 32;

  --f-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Helvetica, Arial, sans-serif;
  --fs-body: .9375rem;       /* 15px */
  --fs-small: .8125rem;      /* 13px */
  --fs-label: .6875rem;      /* 11px */
  --fs-statement: clamp(1.75rem, 3.4vw, 3.25rem);
  --fs-hero: clamp(2.25rem, 6.4vw, 6rem);

  --container: 1440px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --section: clamp(44px, 5.5vw, 88px);
  --nav-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
mark { background: none; color: inherit; }
[hidden] { display: none !important; }

/* ---------- Language switching (KR default) ---------- */
html[lang="en"] .ko { display: none !important; }
html:not([lang="en"]) .en { display: none !important; }
html[lang="en"] body { word-break: normal; }

/* ---------- Primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.label, .meta, .sec__num, .mono { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); line-height: 1.6; }
html:not([lang="en"]) .label, html:not([lang="en"]) .meta, html:not([lang="en"]) .sec__num { letter-spacing: .1em; font-size: .75rem; }
.meta--ink { color: var(--ink); }
.statement, .h2 { font-size: var(--fs-statement); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.display { font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); }
.note { font-size: var(--fs-small); color: var(--ink-3); line-height: 1.6; }
.num { font-variant-numeric: tabular-nums; }
.measure { max-width: 60ch; }
.sub { font-weight: 400; }

/* Buttons: 각진 검정 버튼, 작은 대문자 라벨 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: 2px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
html:not([lang="en"]) .btn { letter-spacing: .1em; font-size: .78rem; }
.btn--ink, .btn--gold { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover, .btn--gold:hover { background: #2A2A2A; border-color: #2A2A2A; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--paper { background: #fff; color: var(--ink); border-color: #fff; }
.btn--paper:hover { background: #ECEAE4; border-color: #ECEAE4; }
.btn--line-night { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--line-night:hover { border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; }
.btn--lg { min-height: 56px; padding: 0 34px; }
.btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.textlink { display: inline-block; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
html:not([lang="en"]) .textlink { letter-spacing: .1em; font-size: .78rem; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tag { display: inline-block; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 2px; line-height: 1.2; white-space: nowrap; }
.tag--gold { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag--tbd { border-color: var(--danger); color: var(--danger); }
.tag--muted { border-color: var(--line); color: var(--ink-3); }

/* ---------- Header: 히어로 위에서는 투명, 스크롤하면 흰색 ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #fff; color: var(--ink); border-bottom: 1px solid transparent; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.site-header.is-solid { border-bottom-color: var(--line); }
.site-header:has(+ .hero):not(.is-solid) { background: transparent; color: #fff; }
.site-header:has(+ .hero):not(.is-solid) .nav__link, .site-header:has(+ .hero):not(.is-solid) .lang button, .site-header:has(+ .hero):not(.is-solid) .brand small { color: inherit; }
.site-header:has(+ .hero):not(.is-solid) .lang button[aria-pressed="true"] { color: #fff; }
.site-header:has(+ .hero):not(.is-solid) .lang button[aria-pressed="false"] { color: rgba(255, 255, 255, .55); }
.site-header:has(+ .hero):not(.is-solid) .nav__cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.site-header:has(+ .hero):not(.is-solid) .nav-toggle span, .site-header:has(+ .hero):not(.is-solid) .nav-toggle span::before, .site-header:has(+ .hero):not(.is-solid) .nav-toggle span::after { background: #fff; }
.site-header:has(+ .hero):not(.is-solid) .nav__link::after { background: #fff; }
body:not(:has(.site-header + .hero)) { padding-top: var(--nav-h); }
.site-header .container { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1; white-space: nowrap; min-width: 0; }
html:not([lang="en"]) .brand { letter-spacing: .08em; font-size: .8rem; font-weight: 600; }
.brand small { font-size: inherit; font-weight: 400; color: var(--ink-2); letter-spacing: inherit; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 6px 0; position: relative; }
html:not([lang="en"]) .nav__link { letter-spacing: .08em; font-size: .78rem; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--ink); transition: right .25s ease; }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; }
.lang button { color: var(--ink-mute); padding: 4px 0; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang span { color: var(--line); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; transition: transform .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; color: var(--ink); padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateY(-6px); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 16px 0; font-size: .95rem; letter-spacing: .02em; text-transform: none; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
  .nav__link:last-child { border-bottom: 0; }
  .nav__link::after { display: none; }
  .nav__cta .btn { display: none; }
}
@media (max-width: 480px) { .brand small { display: none; } }

/* ---------- Hero: 화면 전체 영상, 문장 하나 ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--night); min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--overlay), .35) 0%, rgba(var(--overlay), .05) 35%, rgba(var(--overlay), .55) 70%, rgba(var(--overlay), .9) 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; gap: clamp(20px, 2.5vw, 32px); padding-top: calc(var(--nav-h) + 48px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero__label { color: rgba(255, 255, 255, .75); }
.hero .display { max-width: 18ch; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero__deadline { color: rgba(255, 255, 255, .78); font-size: var(--fs-small); letter-spacing: .02em; }
.hero__deadline [data-countdown] { color: #fff; font-weight: 600; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 5vw, 72px); z-index: 2; color: rgba(255, 255, 255, .6); writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 900px) { .hero { min-height: 92svh; } .hero__scroll { display: none; } }

/* ---------- Statement: 문장 하나로 말하는 블록 ---------- */
.statement-block { padding-block: var(--section) clamp(32px, 4vw, 56px); }
.statement-block .container { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1100px; }
.statement-block .statement { max-width: 22ch; }
.statement-block .lead { max-width: 44em; }
.orgs { display: flex; flex-wrap: wrap; gap: 8px 40px; color: var(--ink-2); font-size: var(--fs-small); }
.orgs b { font-weight: 600; color: var(--ink); margin-right: 8px; }

/* ---------- Tiles: 룩북 그리드 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.tile { display: grid; gap: 14px; min-width: 0; align-content: start; }
.tile__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.tile__media img, .tile__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile__media img, .tile:hover .tile__media video { transform: scale(1.03); }
.tile__cap { display: grid; gap: 6px; }
.tile__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.tile__text { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; max-width: 34em; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; gap: 40px; } .tile__media { aspect-ratio: 4 / 5; } }

/* ---------- Full-bleed image band ---------- */
.band { position: relative; isolation: isolate; color: #fff; min-height: 64vh; display: grid; align-items: end; overflow: hidden; background: var(--night); }
.band__media { position: absolute; inset: 0; z-index: 0; }
.band__media img, .band__media video { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--overlay), 0) 40%, rgba(var(--overlay), .7) 100%); pointer-events: none; }
.band__inner { position: relative; z-index: 2; padding-block: clamp(40px, 5vw, 72px); display: grid; gap: 14px; }
.band .statement { max-width: 22ch; color: #fff; }
.band .label { color: rgba(255, 255, 255, .75); }
.band--center { align-items: center; text-align: center; min-height: 68vh; }
.band--center::after { background: rgba(var(--overlay), .38); }
.band--center .band__inner { justify-items: center; padding-block: clamp(80px, 12vw, 160px); }
.band--center .statement { max-width: 20ch; }
.band--center .display { max-width: 16ch; font-weight: 600; }
@media (max-width: 760px) { .band { min-height: 60vh; } .band--center { min-height: 70vh; } }

/* ---------- Sections (index): 라벨 + 문장 + 본문. 서브페이지도 같은 규칙 ---------- */
.sec { padding-block: var(--section); }
.sec--cream { background: var(--bg-2); }
.sec--tight { padding-block: clamp(40px, 5vw, 72px); }
.sec--flush-top { padding-top: 0; }
.sec__grid { display: grid; gap: clamp(22px, 3vw, 40px); }
.sec__head { display: grid; gap: 18px; max-width: 760px; }
.sec__head .lead { max-width: 40em; }
.sec__body { display: grid; gap: clamp(18px, 2.5vw, 32px); min-width: 0; }
.sec__body--narrow { max-width: 820px; }

/* 2단 편집 레이아웃: 사진 + 글 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: center; }
.split--text-first .split__text { order: -1; }
.split__text { display: grid; gap: 22px; max-width: 30em; }
.split__text .statement { max-width: 16ch; }
.split__text p { color: var(--ink-2); }
.split__media { position: relative; overflow: hidden; background: var(--bg-2); }
.split__media img, .split__media video { width: 100%; height: 100%; object-fit: cover; }
.split__media--portrait { aspect-ratio: 3 / 4; }
.split__media--landscape { aspect-ratio: 4 / 3; }
.split__cap { margin-top: 10px; color: var(--ink-3); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.5vw, 24px); }
.pair .split__media { aspect-ratio: 3 / 4; }
.plain { display: grid; gap: 12px; }
.plain li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.plain strong { font-weight: 600; }
.plain .sub { display: block; color: var(--ink-2); font-size: var(--fs-small); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--text-first .split__text { order: 0; }
  .split__media { order: -1; }
  .split__text .statement { max-width: 20ch; }
}

/* ---------- Schedule: 전시 일정처럼 ---------- */
.schedule { border-top: 1px solid var(--line-strong); }
.schedule__row { display: grid; grid-template-columns: minmax(220px, 2fr) 3fr minmax(120px, 1fr); gap: 16px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.schedule__date { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule__title { font-size: 1.0625rem; font-weight: 600; }
.schedule__desc { display: block; color: var(--ink-2); font-size: var(--fs-small); margin-top: 4px; }
.schedule__place { color: var(--ink-2); font-size: var(--fs-small); text-align: right; }
.schedule__row.is-now .schedule__place { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) { .schedule__row { grid-template-columns: 1fr; gap: 6px; } .schedule__place { text-align: left; } }

/* ---------- FAQ: 상품 상세처럼 접히는 목록 ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 500; font-size: 1rem; position: relative; display: grid; grid-template-columns: 2.5em 1fr; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mk { font-size: var(--fs-label); letter-spacing: .12em; color: var(--ink-3); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 1px; background: var(--ink); transform: translateY(-50%); transition: transform .25s ease; }
.faq summary::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(0); }
.faq .a { padding: 0 0 22px 3.25em; color: var(--ink-2); max-width: 64ch; font-size: var(--fs-small); line-height: 1.7; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .a { padding-left: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- CTA (서브페이지 공용) ---------- */
.cta { position: relative; isolation: isolate; background: var(--night); color: var(--on-night); padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/campaign-road.jpg") center / cover no-repeat; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(var(--overlay), .5); }
.cta .display { font-size: clamp(2rem, 4.8vw, 4rem); font-weight: 600; max-width: 20ch; }
.cta .meta { color: var(--on-night-2); }
.cta__inner { display: grid; gap: 18px; max-width: 760px; }
.cta__sub { color: var(--on-night-2); max-width: 40em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.cta__facts { border-top: 0; background: rgba(var(--overlay), .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); padding: 6px 20px 4px; }
.cta__facts .fact { border-bottom-color: var(--line-night); }
.cta__facts .fact__k, .cta__facts .fact__v .sub { color: var(--on-night-2); }
.cta .btn--gold { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn--gold:hover { background: #ECEAE4; border-color: #ECEAE4; }
.glass { background: rgba(var(--overlay), .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .18); padding: 6px 22px 4px; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-block: clamp(40px, 6vw, 72px) 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__col { display: grid; gap: 10px; }
.footer__col h4 { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); font-weight: 500; margin-bottom: 8px; }
.footer__col a, .footer__col span { color: var(--on-night); font-size: var(--fs-small); }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { margin-top: clamp(32px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .75rem; color: var(--on-night-2); letter-spacing: .02em; }
.footer__bottom a:hover { color: var(--on-night); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Sub pages (접수하기·접수확인·공지사항·PAST) ---------- */
.page-hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(2rem, 4.6vw, 3.75rem); font-weight: 600; max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { display: flex; gap: 10px; font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--ink); }
.sec__head .h2 { font-size: var(--fs-statement); }

.rows { border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: 11em 1fr; gap: 16px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row__k { font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.row__v { min-width: 0; }
.row__v strong { font-weight: 600; }
.row__v .sub { display: block; color: var(--ink-2); font-size: var(--fs-small); margin-top: 2px; }
.row--3 { grid-template-columns: 11em 1fr auto; }
.row--mark { box-shadow: inset 2px 0 0 var(--ink); padding-left: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; gap: 4px; } .row--3 { grid-template-columns: 1fr; } .row--3 > :last-child { justify-self: start; } }

.facts { border-top: 1px solid var(--line-strong); }
.fact { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact__k { font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fact__v { font-weight: 600; font-variant-numeric: tabular-nums; }
.fact__v span.sub { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 600px) { .fact { grid-template-columns: 7.5em 1fr; } }

.callout { padding: 4px 0 4px 18px; box-shadow: inset 2px 0 0 var(--ink); display: grid; gap: 4px; }
.callout strong { font-weight: 600; }
.callout p { color: var(--ink-2); font-size: var(--fs-small); }

.docs { border-top: 1px solid var(--line-strong); counter-reset: doc; }
.docs li { display: grid; grid-template-columns: 2.5em 1fr auto; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.docs li::before { counter-increment: doc; content: counter(doc, decimal-leading-zero); font-size: var(--fs-label); letter-spacing: .12em; color: var(--ink-3); }
.docs li strong { display: block; font-weight: 600; }
.docs li .sub { display: block; color: var(--ink-2); font-size: var(--fs-small); margin-top: 2px; }
@media (max-width: 600px) { .docs li { grid-template-columns: 2.5em 1fr; } .docs li .tag { grid-column: 2; justify-self: start; } }

.coming { display: grid; gap: 14px; justify-items: start; padding: 4px 0 4px 20px; box-shadow: inset 2px 0 0 var(--ink); }
.coming__badge { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.coming .h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.coming p { color: var(--ink-2); max-width: 62ch; }

.lookup { display: grid; gap: 12px; max-width: 520px; }
.lookup label { font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; font: inherit; color: var(--ink); }
.input:disabled { background: var(--bg-2); color: var(--ink-3); border-color: var(--line); }

.notice-list { border-top: 1px solid var(--line-strong); }
.notice-item { display: grid; grid-template-columns: 8em 1fr auto; gap: 12px 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.notice-item .cat { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.notice-item .title { font-weight: 600; font-size: 1.1875rem; line-height: 1.35; }
.notice-item .title span { display: block; font-size: 1rem; font-weight: 400; color: var(--ink-2); line-height: 1.6; margin-top: 6px; }
.notice-item .date { font-size: 1rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .notice-item { grid-template-columns: 1fr; gap: 4px; } }

.block { border-top: 1px solid var(--line-strong); padding-block: 20px 28px; display: grid; gap: 16px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.block__head .h3 { font-size: 1.0625rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.field { display: grid; gap: 3px; font-size: var(--fs-small); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.field .lbl { font-weight: 600; }
.field .lbl .req { color: var(--danger); margin-left: 3px; }
.field .hint { font-size: .78rem; color: var(--ink-3); }
.field--full { grid-column: 1 / -1; }
.opts { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.9; }
@media (max-width: 760px) { .fields { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); counter-reset: s; }
.step { padding: 22px 24px 22px 0; border-left: 1px solid var(--line); padding-left: 24px; display: grid; gap: 8px; align-content: start; }
.step:first-child { border-left: 0; padding-left: 0; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: var(--fs-label); letter-spacing: .14em; color: var(--ink-3); }
.step .h3 { font-size: 1rem; }
.step p { font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(odd) { border-left: 0; padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .step:first-child { border-top: 0; } }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.stack { display: grid; gap: 12px; }
.row-flex { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.divider { height: 1px; background: var(--line); margin-block: 28px; }
.table-wrap { overflow-x: auto; }

/* ---------- Logos: 주최·후원·운영 ---------- */
.brand { align-items: center; gap: 14px; }
.brand__logo { height: 34px; width: auto; display: block; flex: none; }
.brand > span { padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.25; }
.site-header:has(+ .hero):not(.is-solid) .brand__logo { filter: brightness(0) invert(1); }
.site-header:has(+ .hero):not(.is-solid) .brand > span { border-left-color: rgba(255, 255, 255, .35); }
@media (max-width: 560px) { .brand__logo { height: 28px; } .brand > span, .brand small { display: none; } }
.logobar { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-end; padding-top: 8px; }
.logobar__group { display: grid; gap: 12px; }
.logobar__logos { display: flex; align-items: center; gap: 28px; }
.logobar__logos img { height: 40px; width: auto; }
.logobar__logos .logobar__brinc { height: 22px; }
@media (max-width: 600px) { .logobar { gap: 20px 32px; } .logobar__logos { gap: 20px; } .logobar__logos img { height: 30px; } .logobar__logos .logobar__brinc { height: 17px; } }
.footer__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 14px; }
.footer__logos img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .92; }

/* ---------- 줄바꿈: 단어가 홀로 남거나 잘리지 않게 ---------- */
h1, h2, h3, h4, .statement, .display, .tile__title, .schedule__title { text-wrap: balance; }
p, li, dd, dt, summary, .lead, .note, .tile__text, .schedule__desc, .schedule__place, .split__cap, .hero__deadline, .footer__col span { text-wrap: pretty; }
.nb { white-space: nowrap; }
.hero .display { max-width: 16ch; }
.statement-block .statement { max-width: 20ch; }
.split__text .statement { max-width: 14ch; }
.band .statement { max-width: 18ch; }
.band--center .display { max-width: 28ch; }
@media (max-width: 1200px) and (min-width: 981px) { .brand > span, .brand small { display: none; } }
@media (max-width: 860px) { .split__text .statement { max-width: 18ch; } }
.page-hero--coming { border-bottom: 0; min-height: calc(70svh - var(--nav-h)); display: grid; align-items: center; padding-block: clamp(48px, 8vw, 112px); }
.page-hero--coming .container { display: grid; gap: 20px; max-width: 760px; margin-inline: 0; }
.page-hero--coming .display { font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 700; letter-spacing: -.035em; max-width: none; }
.page-hero--coming .lead { margin-top: 0; }

/* 의미 단위 줄바꿈: .u 안에서는 되도록 끊지 않고, 단위 사이에서만 줄을 바꾼다 */
.u { display: inline-block; }

/* 헤더: 로고는 한국-아랍소사이어티 홈페이지로, 공모전 이름은 Home으로 */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__kas { display: block; flex: none; }
.brand__name { padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.25; font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
html:not([lang="en"]) .brand__name { letter-spacing: .08em; font-size: .8rem; }
.site-header:has(+ .hero):not(.is-solid) .brand__name { border-left-color: rgba(255, 255, 255, .35); }
@media (max-width: 1200px) and (min-width: 981px) { .brand__name { display: none; } }
@media (max-width: 560px) { .brand__name { display: none; } }
.step__date { font-size: var(--fs-small); color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* =====================================================================
   2026-11-07 발주처 수정 요청
   ===================================================================== */
/* 진행 안내·문의의 왼쪽 항목명(접수 내용 수정·서류 보완·결과 통보·문의 등):
   오른쪽 설명과 같은 글씨 크기, 검정. 굵기로만 항목명임을 구분한다. */
.row__k { font-size: var(--fs-body); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.75; }
html:not([lang="en"]) .row__k { letter-spacing: -.01em; }
.fact__k { font-size: var(--fs-body); font-weight: 500; letter-spacing: 0; text-transform: none; }

/* 접수하기 등: 접수 절차·제출 서류 본문을 페이지 안내 문구(.lead, 17px) 이상으로 */
.sec__num, html:not([lang="en"]) .sec__num { font-size: 1.0625rem; letter-spacing: .04em; }
.step { gap: 10px; }
.step::before { font-size: 1.0625rem; letter-spacing: .04em; font-weight: 500; }
.step .h3 { font-size: 1.25rem; line-height: 1.35; }
.step__date { font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; }
.step p, .step .link { font-size: 1.0625rem; line-height: 1.7; }
.docs li { padding: 20px 0; }
.docs li::before { font-size: 1.0625rem; letter-spacing: .04em; }
.docs li strong { font-size: 1.1875rem; line-height: 1.45; }
.docs li .sub { font-size: 1.0625rem; line-height: 1.65; margin-top: 4px; }
.docs .tag { font-size: 1.0625rem; letter-spacing: 0; text-transform: none; padding: 5px 12px; }
.callout { gap: 6px; }
.callout strong { font-size: 1.1875rem; }
.callout p { font-size: 1.0625rem; line-height: 1.7; }
@media (max-width: 1200px) and (min-width: 981px) { .step { padding-left: 18px; padding-right: 18px; } .step:first-child { padding-left: 0; } }

/* 날짜(2026. 11. 10.(화)~11. 23.(월))는 한 덩어리로: 공지 목록의 블록 규칙에서 제외 */
.notice-item .title span.nb { display: inline; margin-top: 0; font-size: inherit; line-height: inherit; }

/* 접수하기 첫 화면의 신청 버튼과 D-day: 위 안내 문구(17px) 이상 */
.page-hero .hero-cta { gap: 16px 24px; }
.page-hero .hero-cta .btn { font-size: 1.0625rem; letter-spacing: .02em; min-height: 58px; padding: 0 32px; }
.page-hero .hero-cta .meta { font-size: 1.0625rem; letter-spacing: .02em; font-weight: 600; color: var(--ink); text-transform: none; }

/* =====================================================================
   2026-11-05 발주처 수정 요청 (2026-11-09 반영)
   "전체적으로 디자인보다는 가독성을 우선으로 해주세요. 폰트 크게"
   작은 대문자 라벨·버튼·보조 설명을 본문 크기(17px 안팎)로 올린다.
   ===================================================================== */
/* 상단: 공모전 이름을 왼쪽 로고의 한글 크기 정도로. 메뉴·언어 버튼도 함께 키운다. */
.brand__name, html:not([lang="en"]) .brand__name { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.nav { gap: 26px; }
.nav__link, html:not([lang="en"]) .nav__link { font-size: .9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.lang { font-size: .875rem; letter-spacing: .04em; }
@media (max-width: 1360px) and (min-width: 981px) { .brand__name { display: none; } }
@media (max-width: 1120px) and (min-width: 981px) { .nav { gap: 18px; } .nav__cta { gap: 14px; } }

/* 라벨(지원 자격·일정·FAQ·한국 → 아랍·온라인 접수 등) */
.label, html:not([lang="en"]) .label { font-size: 1.0625rem; font-weight: 600; letter-spacing: .01em; text-transform: none; line-height: 1.5; }
.hero__scroll, html:not([lang="en"]) .hero__scroll { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* 버튼·글자 링크 */
.btn, html:not([lang="en"]) .btn { font-size: 1rem; letter-spacing: .01em; text-transform: none; min-height: 52px; }
.btn--sm, html:not([lang="en"]) .btn--sm { font-size: .9375rem; min-height: 42px; }
.btn--lg, html:not([lang="en"]) .btn--lg { font-size: 1.0625rem; min-height: 58px; }
.textlink, html:not([lang="en"]) .textlink { font-size: 1rem; letter-spacing: .01em; text-transform: none; }

/* 첫 화면: 작은 제목·지원하기 버튼·마감 문구 */
.hero__label { color: #fff; }
.hero__deadline { font-size: 1.0625rem; color: #fff; letter-spacing: 0; }
/* 2026-11-09: 좁은 화면에서는 D-day를 따로 한 줄에 두고 가운뎃점을 숨긴다(줄 끝에 점만 남지 않게). */
@media (max-width: 560px) { .hero__deadline [data-countdown] { display: block; } .hero__deadline .hero__sep { display: none; } }
.band .label { color: #fff; }

/* 큰 문구와 소개 문단 */
.statement-block .container { max-width: 1180px; }
.statement-block .statement { max-width: 26ch; font-size: clamp(1.625rem, 3vw, 2.75rem); line-height: 1.28; }
.statement-block .lead { font-size: 1.125rem; line-height: 1.8; max-width: 46em; }

/* 본문·보조 설명 */
.split__text { max-width: 34em; }
.split__text p { font-size: 1.0625rem; line-height: 1.75; }
.plain strong { font-size: 1.125rem; }
.plain .sub { font-size: 1.0625rem; line-height: 1.65; }
.note { font-size: 1rem; line-height: 1.7; }
.split__cap { font-size: .9375rem; letter-spacing: .01em; text-transform: none; }
.breadcrumb { font-size: .9375rem; letter-spacing: .02em; text-transform: none; }

/* 지원 자격: 사진 없이 항목별로 읽기 쉽게 (개요 기준) */
.elig { border-top: 1px solid var(--line-strong); }
.elig li { display: grid; grid-template-columns: minmax(9em, 13em) 1fr; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.elig strong { font-size: 1.1875rem; font-weight: 600; line-height: 1.45; }
.elig__t { font-size: 1.0625rem; line-height: 1.75; }
@media (max-width: 700px) { .elig li { grid-template-columns: 1fr; gap: 4px; } }

/* 일정: 요일까지 적은 날짜가 들어가도록 */
.schedule__row { grid-template-columns: minmax(250px, 2.2fr) 3fr minmax(140px, 1fr); }
.schedule__date { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; white-space: normal; }
.schedule__title { font-size: 1.25rem; }
.schedule__desc { font-size: 1.0625rem; line-height: 1.65; margin-top: 6px; }
.schedule__place { font-size: 1.0625rem; }
@media (max-width: 700px) { .schedule__row { grid-template-columns: 1fr; } }

/* FAQ */
.faq summary { font-size: 1.1875rem; padding: 22px 44px 22px 0; }
.faq summary .mk { font-size: 1.0625rem; letter-spacing: .04em; }
.faq .a { font-size: 1.0625rem; line-height: 1.75; max-width: 70ch; }
.faq .a p + p { margin-top: 10px; }

/* 풋터 */
.footer__col h4 { font-size: .9375rem; letter-spacing: .04em; text-transform: none; }
.footer__col a, .footer__col span { font-size: 1rem; }
.footer__bottom { font-size: .875rem; }

/* =====================================================================
   2026-11-10 박주혜 원문 반영(홈페이지 수정 최종 프롬프트)
   ===================================================================== */
/* 제출서류 구분 표시: 필수 · 해당 시 추가 · 선택 · 제출 불필요 */
.tag--req { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag--cond { border-color: var(--ink); color: var(--ink); }
.tag--opt { border-color: var(--line-strong); color: var(--ink); }
.plain .tag { font-size: .9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; padding: 3px 10px; margin-left: 10px; vertical-align: 2px; }
/* 번호 없는 서류 목록(선택·제출 불필요): 번호 칸만 비워 위 목록과 줄을 맞춘다 */
.docs--plain { border-top: 0; counter-reset: none; margin-top: calc(-1 * clamp(18px, 2.5vw, 32px)); }
.docs--plain li::before { content: ""; counter-increment: none; }
/* 신청양식 다운로드 안내 묶음 */
.dl { display: grid; gap: 12px; justify-items: start; }
.dl p { font-size: 1.0625rem; line-height: 1.7; max-width: 46em; }
/* 글자가 긴 버튼(신청양식 다운로드 — HWP·Word 5종)은 좁은 화면에서 줄을 바꾼다 */
.btn.btn--wrap, .page-hero .hero-cta .btn.btn--wrap { white-space: normal; text-align: center; line-height: 1.35; padding-top: 12px; padding-bottom: 12px; }
/* 새 창으로 열리는 외부 링크 표시(↗). 로고처럼 글자가 없는 링크에는 붙이지 않는다 */
.btn[target="_blank"]::after, .link[target="_blank"]::after, .textlink[target="_blank"]::after { content: "\2197"; font-size: .9em; line-height: 1; }
.link[target="_blank"]::after, .textlink[target="_blank"]::after { display: inline-block; margin-left: .25em; text-decoration: none; }
/* 발표 언어 표시 */
.split__text p strong { font-weight: 600; color: var(--ink); }
/* 아주 좁은 화면(폭 400px 이하): 버튼 글자가 길면 줄을 바꾸고 좌우 여백을 줄여 화면 밖으로 나가지 않게 한다 */
@media (max-width: 400px) {
  .btn:not(.btn--sm), .page-hero .hero-cta .btn { white-space: normal; text-align: center; line-height: 1.35; padding: 10px 20px; max-width: 100%; }
}

/* ---------- 2026-11-11: 한국-아랍소사이어티 「홈페이지 수정 3」(11. 10.) ---------- */
/* 홈 소개 문단 아래에 이어지는 문단(1등 특전·상금)은 앞 문단에 가깝게 붙인다 */
.statement-block .lead + .lead { margin-top: -12px; }
/* 폭 400px 이하: 주최·후원 로고 줄이 화면 밖으로 나가지 않게 로고를 조금 줄이고 줄바꿈을 허용한다(영문 로고가 국문 로고보다 길다) */
@media (max-width: 400px) { .logobar__logos { flex-wrap: wrap; gap: 14px 18px; } .logobar__logos img { height: 26px; } }
/* 접수하기 하단 안내(접수 기간·방법·결과): 휴대전화 폭에서 오른쪽이 잘리던 문제.
   날짜는 줄 중간에서 끊기지 않게 묶여 있어(2026. 11. 10.(화)~11. 23.(월)) 이름과 값을 나란히 두면 칸이 화면보다 넓어졌다.
   한 단으로 쌓이는 폭(900px 이하)에서는 칸이 화면 폭을 넘지 않게 하고, 폭 560px 이하에서는 이름 아래에 값을 둔다.
   두 단으로 놓이는 넓은 화면에서는 손대지 않는다(오른쪽 칸이 날짜 길이만큼 자동으로 넓어진다) */
@media (max-width: 900px) { .cta__grid > * { min-width: 0; } }
@media (max-width: 560px) { .cta__facts .fact { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media (max-width: 400px) { .cta__facts { padding-inline: 14px; } }
