:root {
  --navy: #0B1626;
  --gold: #E3BE6E;
  --gold-deep: #8A5F14;
  --warm: #F3EFE6;
  --cream: #FBF9F3;
  --section: #EEE7D8;
  --chip: #F7EBD2;
  --muted: #55616F;
  --label: #5F6B7A;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--warm);
  color: var(--navy);
  font-family: var(--font-sans, "Inter", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 860px; margin: 0 auto; padding: 0 40px; }

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, 0.96);
  border-bottom: 1px solid rgba(11, 22, 38, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo strong { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.logo span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--label); margin-top: 2px; }
.home-pill {
  background: #E3BE6E;
  color: #0B1626;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #0E1A2C;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.hero-copy { position: relative; max-width: 1440px; margin: 0 auto; padding: 120px 40px 56px; width: 100%; }
.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FBF9F3;
  margin: 0 0 14px;
}
.hero-copy .bi h1 {
  margin-bottom: 0;
}
.hero-copy p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: rgba(251,249,243,0.78); }
.hero-en {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E3BE6E;
  margin: 3px 0 0 !important;
}
.en {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: #8492A2;
  font-weight: 400;
  margin-top: 3px;
}
.hero-copy .en {
  color: rgba(251,249,243,0.58);
  margin-top: 3px;
}
.bi {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  vertical-align: top;
  text-align: left;
}
.bi + .bi {
  margin-top: 22px;
}
.bi .en,
.bi .hero-en {
  width: 0;
  min-width: 100%;
  box-sizing: border-box;
}
.bi.wm .en,
.bi.wm .footer-en {
  width: auto;
  min-width: 0;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-align: left;
}

.section { padding: 88px 0; }
.section.alt { background: var(--section); }
.label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
}
h2.sec {
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  margin: 10px 0 18px;
}
.lede { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 62ch; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 8px 24px;
  margin-top: 28px;
}
.hub-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--cream);
  border: 1px solid rgba(11, 22, 38, 0.08);
  transition: background 0.16s, transform 0.16s;
}
.hub-item:hover { background: #EDE5D5; }
.hub-icon {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: #FBF9F3;
  border: 1px solid rgba(11, 22, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A5F14;
}
.hub-item .name {
  display: block;
  font-weight: 300;
  font-size: 21px;
  color: #0B1626;
  line-height: 1.25;
}
.hub-item .name-en {
  display: block;
  color: #8A5F14;
  font-size: 12px;
  margin-top: 2px;
}
.hub-item .desc {
  display: block;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #55616F;
  max-width: 36ch;
}
.hub-item .desc-en {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: #8492A2;
  margin-top: 2px;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--cream);
  border: 1px solid rgba(11, 22, 38, 0.12);
  border-radius: 20px;
  padding: 34px;
}
.card h3 { font-weight: 300; font-size: 23px; margin: 0 0 10px; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.card .meta { display: block; margin-top: 12px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
  background: #0C1E33;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.photo .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(8,16,28,0.88), transparent);
  color: #FBF9F3;
}
.photo .cap b { display: block; font-weight: 300; font-size: 22px; }
.photo .cap span { font-size: 13.5px; color: rgba(251,249,243,0.72); }

.cta {
  display: inline-flex;
  align-items: center;
  background: #E3BE6E;
  color: #0B1626;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 22px;
}

table.svc { width: 100%; border-collapse: collapse; background: var(--cream); border-radius: 20px; overflow: hidden; border: 1px solid rgba(11,22,38,0.12); }
table.svc th { text-align: left; background: #0B1626; color: #FBF9F3; font-size: 13px; font-weight: 600; padding: 16px 24px; }
table.svc td { padding: 18px 24px; border-top: 1px solid rgba(11,22,38,0.08); font-size: 15px; }
table.svc td:first-child { font-weight: 600; }
table.svc td:nth-child(2), table.svc td:nth-child(3) { color: var(--muted); font-weight: 400; }
.note { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--label); }

.info { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; margin: 0 0 36px; }
.info h3 { font-weight: 300; font-size: 23px; margin: 0 0 10px; }
.info p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; }
.contact .card b { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; font-weight: 600; }
.contact iframe { width: 100%; min-height: 420px; border: 0; border-radius: 20px; }

.list a.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--cream);
  border: 1px solid rgba(11,22,38,0.12);
  border-radius: 20px;
  padding: 22px 24px;
  text-decoration: none;
  margin-bottom: 12px;
}
.list a.row strong { display: block; font-weight: 500; font-size: 16px; }
.list a.row span { font-size: 12.5px; color: var(--caption, #8492A2); }
.pill {
  flex: none;
  background: #0B1626;
  color: #FBF9F3;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ggrid figure { position: relative; margin: 0; aspect-ratio: 3/2; overflow: hidden; border-radius: 16px; background: #0C1E33; }
.ggrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ggrid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(8,16,28,0.82), transparent);
  color: #fff;
}
.ggrid figcaption b { display: block; font-weight: 500; font-size: 14px; }
.ggrid figcaption span { font-size: 11px; color: rgba(255,255,255,0.7); }

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid rgba(11, 22, 38, 0.12);
  border-radius: 20px;
  padding: 36px 32px 32px;
}
.auth-card h2 {
  font-weight: 300;
  font-size: 28px;
  margin: 0 0 8px;
}
.auth-card .lede { margin: 0 0 22px; }
.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
}
.auth-card input {
  width: 100%;
  border: 1px solid rgba(11, 22, 38, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.auth-card .btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.auth-card button.cta,
.auth-card .cta {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  margin-top: 0;
}
.auth-card .ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(11, 22, 38, 0.18);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.auth-card .err { color: #8B2E2E; font-size: 14px; min-height: 1.4em; margin: 12px 0 0; }
.auth-card .ok { color: #2F6B3A; font-size: 14px; margin: 12px 0 0; }
.auth-switch { margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-switch button {
  border: 0;
  background: none;
  color: var(--gold-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.gallery-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px;
}
.gallery-toolbar .ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(11, 22, 38, 0.18);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.hidden { display: none !important; }

.give-card {
  max-width: 420px;
  margin: 36px auto 0;
  background: var(--cream);
  border: 1px solid rgba(11, 22, 38, 0.12);
  border-radius: 20px;
  padding: 40px 32px 36px;
  text-align: center;
}
.give-card h2 {
  font-weight: 300;
  font-size: 26px;
  margin: 0;
}
.give-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.give-card .tithely {
  display: inline-block;
  margin: 22px 0 18px;
  background: #00DB72;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  padding: 14px 40px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.give-card .tithely small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.give-card img {
  display: block;
  width: 220px;
  height: auto;
  margin: 8px auto 0;
  border-radius: 12px;
}
.give-card .hint {
  margin-top: 22px;
  font-size: 13px;
  color: #8492A2;
}

footer { background: #091220; color: rgba(251,249,243,0.6); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 56px 40px 36px; }
.footer-name { font-weight: 800; font-size: 18px; color: #FBF9F3; }
.footer-en { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: #5F6B7A; margin: 5px 0 16px; }
.footer-inner a { color: rgba(251,249,243,0.55); text-decoration: none; font-size: 13.5px; }
.copy { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(251,249,243,0.1); font-size: 12px; color: rgba(251,249,243,0.32); }

@media (max-width: 900px) {
  .header-bar, .wrap, .narrow, .hero-copy, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .header-bar { height: 76px; }
  .logo strong { font-size: 18px; }
  .split, .contact, .ggrid { grid-template-columns: 1fr; }
  .ggrid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
