/* White Crane Martial Arts — public site */
:root {
  --ink: #16130f;
  --ink-2: #3a342c;
  --muted: #6f665a;
  --paper: #f6f1e7;
  --paper-2: #ece4d4;
  --line: #d9cfbc;
  --red: #a8231c;
  --red-deep: #7d1812;
  --gold: #b58a3a;
  --white: #fffdf8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,19,15,.06), 0 8px 28px rgba(22,19,15,.08);
  --serif: "Nanum Myeongjo", "Noto Serif KR", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 99; }
.eyebrow {
  font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

/* Announcement */
.announce { background: var(--red); color: var(--white); text-align: center; font-size: .95rem; padding: 9px 20px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246,241,231,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; display: block; line-height: 1.1; }
.brand small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.on { color: var(--red); }
.nav a.cta { background: var(--ink); color: var(--white); margin-left: 8px; }
.nav a.cta:hover { background: var(--red); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--ink); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .nav.open { display: flex; }
  .nav a.cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font: 600 1rem var(--sans); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .eyebrow { color: #e0685f; }
.section-ink .lede { color: #cfc6b6; }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--red); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; }
.hero-art .frame { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 4/5; box-shadow: var(--shadow); }
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-art .seal { position: absolute; left: -26px; bottom: 34px; width: 96px; height: 96px; background: var(--red); color: var(--white); border-radius: 12px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; line-height: 1.05; text-align: center; transform: rotate(-6deg); box-shadow: var(--shadow); writing-mode: vertical-rl; }
.hero-hangul { position: absolute; right: -40px; top: 10px; font-family: var(--serif); font-size: 15rem; color: var(--paper-2); z-index: -1; line-height: 1; user-select: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .hero-art .seal { left: -10px; }
  .hero-hangul { display: none; }
}
@media (max-width: 480px) { .brand small { display: none; } }

/* Tenets */
.tenets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #3a342c; border: 1px solid #3a342c; border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.tenet { background: var(--ink); padding: 28px 22px; }
.tenet .ko { font-family: var(--serif); font-size: 1.9rem; color: #e0685f; }
.tenet .en { font-weight: 600; margin-top: 8px; }
.tenet .n { font-size: .75rem; letter-spacing: .14em; color: #8b8274; }
@media (max-width: 860px) { .tenets { grid-template-columns: 1fr 1fr; } .tenet:last-child { grid-column: span 2; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Stats */
.stats { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--serif); font-size: 2.8rem; color: var(--red); line-height: 1; }
.stat span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* Accolades */
.accolades { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.accolade-list { list-style: none; padding: 0; margin: 0 0 28px; }
.accolade-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 14px; }
.accolade-list li::before { content: "◆"; color: var(--red); font-size: .7rem; padding-top: 6px; }
.logos { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.logos a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.logos img { height: 64px; width: auto; }
@media (max-width: 860px) { .accolades { grid-template-columns: 1fr; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 36px; }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; font-weight: 500; display: flex; gap: 12px; align-items: center; }
.benefit i { font-style: normal; color: var(--red); font-family: var(--serif); font-weight: 800; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cta-band .btn-ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.cta-band .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* Page header */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* Class cards */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.class-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.class-card .sub { color: var(--red); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.class-card h3 { font-size: 1.5rem; }
.class-card p { color: var(--ink-2); font-size: .95rem; }
.slots { list-style: none; padding: 16px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.slots li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .95rem; }
.slots .lbl { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slots .d { font-weight: 600; }
.slots .t { color: var(--ink-2); text-align: right; }

/* Timetable */
.timetable { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 12px; margin-top: 32px; }
.tt-day { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tt-day h3 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--paper); margin: 0; padding: 12px 14px; }
.tt-day ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 8px; }
.tt-day li { padding: 10px 12px; border-radius: 10px; background: var(--paper); border-left: 3px solid var(--red); }
.tt-day li b { display: block; font-size: .92rem; line-height: 1.3; }
.tt-day li small { color: var(--muted); font-size: .82rem; }
@media (max-width: 960px) { .timetable { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timetable { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { border-radius: var(--radius); padding: 28px; background: var(--white); border: 1px solid var(--line); }
.price-card.feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card .amt { font-family: var(--serif); font-size: 3rem; font-weight: 800; line-height: 1; }
.price-card .per { color: var(--muted); }
.price-card.feature .per { color: #b9b0a1; }
.price-card ul { padding-left: 18px; margin: 18px 0 0; }
.price-card li { margin-bottom: 6px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 32px; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Instructors */
.instructor { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.instructor:last-child { border-bottom: 0; }
.instructor .photo { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 3/4; }
.instructor .photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor .rank { color: var(--red); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.creds span { background: var(--paper-2); border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 500; }
@media (max-width: 760px) { .instructor { grid-template-columns: 1fr; gap: 20px; } .instructor .photo { max-width: 260px; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.quote::before { content: "“"; font-family: var(--serif); font-size: 5rem; color: var(--red); position: absolute; top: -8px; left: 20px; line-height: 1; }
.quote blockquote { margin: 26px 0 18px; font-size: 1.08rem; }
.quote .who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.socials { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.photo-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 32px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; background: var(--paper-2); }
.photo-row figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; font-weight: 500; }
@media (max-width: 760px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row figure:first-child { grid-column: span 2; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.info-block { margin-bottom: 26px; }
.info-block small { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-block a, .info-block div { font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.info-block a:hover { color: var(--red); }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 8px; filter: grayscale(.3); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; color: var(--ink); margin-bottom: 16px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; background: var(--white); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.notice.error { background: #f8e1de; color: var(--red-deep); }
.notice.ok { background: #e3eedc; color: #2d5a1e; }

/* Footer */
.site-foot { background: var(--ink); color: #b9b0a1; padding: 56px 0 28px; font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h4 { color: var(--paper); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.site-foot a { color: #e3dacb; text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot .brandline { font-family: var(--serif); font-size: 1.4rem; color: var(--paper); margin-bottom: 8px; }
.site-foot .base { border-top: 1px solid #3a342c; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr; } }

/* Guest instructors */
.guests { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:22px; margin-top:36px; }
.guest { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.guest .ph { aspect-ratio:4/5; background:var(--paper-2); }
.guest .ph img { width:100%; height:100%; object-fit:cover; }
.guest .ph.none { display:grid; place-items:center; font-family:var(--serif); font-size:4rem; color:var(--line); }
.guest .txt { padding:20px 22px 24px; }
.guest h3 { margin-bottom:4px; }
.guest .rank { color:var(--red); font-weight:600; font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; }
.guest .from { color:var(--muted); font-size:.9rem; margin-top:2px; }
.guest p { color:var(--ink-2); font-size:.95rem; margin:12px 0 0; white-space:pre-line; }
