/* BellDale Chess · site stylesheet */

@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/noto-sans-kr-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* BellDale Chess palette */
  --green: #69B81C;
  --rust: #B84320;
  --blue: #203FB8;
  --olive: #4C6335;
  --ink: #38241E;

  --paper: #ffffff;
  --cream: #f6f3ec;
  --rule: #e2dccf;
  --muted: #6b5b55;

  --display: "Noto Sans KR", "Source Sans 3", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 68rem;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-weight: 350; font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h1 em { font-style: normal; font-weight: 500; color: var(--olive); }
h2 { font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-weight: 500; font-size: 1.35rem; }
p { margin: 0 0 1em; }

/* header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.brand { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 1.25rem; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
nav a:hover { color: var(--rust); }

/* hero */
.hero { padding: 3rem 0 3.5rem; border-bottom: 4px solid var(--ink); }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.seal { width: 11rem; justify-self: center; }
@media (min-width: 48rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-inner { grid-template-columns: 16rem 1fr; gap: 3.5rem; }
  .seal { width: 16rem; }
}
.kicker { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: var(--rust); margin-bottom: .5rem; }
.lede { font-size: 1.25rem; max-width: 38rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-block; padding: .7rem 1.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid var(--ink); transition: background .15s, color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }

/* sections */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--cream); }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .two-col { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pillars li { border-top: 4px solid var(--green); background: var(--cream); padding: .9rem 1.1rem 1rem; border-radius: 0 0 var(--radius) var(--radius); }
.pillars li:nth-child(2) { border-color: var(--rust); }
.pillars li:nth-child(3) { border-color: var(--blue); }
.pillars strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.pillars span { font-size: 1rem; color: var(--muted); }

/* event card */
.event { display: grid; grid-template-columns: 1fr; gap: 1.25rem; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 40rem) { .event { grid-template-columns: 6rem 1fr; gap: 1.75rem; padding: 1.75rem; } }
.event-date { background: var(--ink); color: #fff; border-radius: var(--radius); text-align: center; padding: .75rem .5rem; align-self: start; width: 6rem; }
.event-date span { display: block; line-height: 1.1; }
.event-date .month { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 700; }
.event-date .day { font-family: var(--display); font-size: 2.6rem; font-weight: 400; margin: .1rem 0; }
.event-date .dow { font-size: .9rem; opacity: .85; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); margin-bottom: .25rem; }
.event h3 { margin-bottom: .4rem; }
.event-meta { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.facts li { background: var(--cream); border-left: 4px solid var(--olive); padding: .2rem .7rem; font-weight: 600; font-size: .95rem; }
.small { font-size: 1rem; }
.later { margin-top: 1.5rem; font-size: 1rem; color: var(--muted); }

.contact .email { font-family: var(--display); font-size: 1.35rem; font-weight: 400; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; font-size: .95rem; color: var(--muted); }
.site-footer p { margin: 0 0 .5rem; }
.fine { font-size: .85rem; max-width: 46rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
