/* ------------------------------------------------------------------
   Seondeok K-Cooking Class — public site
   로고(흑백 펜 드로잉 + 신라 금관) 기반: 먹색·한지색 + 금관 골드 포인트
   ------------------------------------------------------------------ */
:root {
    --gold: #b08d3c;        /* 신라 금관 골드 (포인트 전용) */
    --gold-dark: #8c6d26;
    --gold-light: #d9bf7a;
    --ink: #141414;         /* 먹색 */
    --charcoal: #1b1b1b;
    --cream: #f2efe8;       /* 한지 */
    --paper: #fcfbf8;
    --line: #dedad2;
    --muted: #6b6b6b;
    --serif: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
    --sans: "Josefin Sans", "Noto Serif KR", system-ui, sans-serif;
    --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    padding-top: var(--nav-h);
    letter-spacing: .01em;
}
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

/* ---------- Navigation ---------- */
.site-nav {
    background: rgba(252, 251, 248, .96);
    min-height: var(--nav-h);
    border-bottom: 1px solid var(--ink);
    transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.site-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: .06em;
    color: var(--ink);
}
.site-nav .navbar-brand img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; }
.site-nav .navbar-brand small { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); line-height: 1; margin-top: .2rem; }
.site-nav .nav-link {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #444;
    padding: .5rem 1rem !important;
}
.site-nav .nav-link:hover { color: var(--ink); }
.site-nav .nav-link.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.site-nav .dropdown-menu { background: var(--paper); border: 1px solid var(--ink); border-radius: 0; }
.site-nav .dropdown-item { color: var(--ink); font-size: .85rem; letter-spacing: .1em; }
.site-nav .dropdown-item:hover { background: var(--ink); color: #fff; }

.address-bar {
    position: relative;
    z-index: 5;
    background: var(--ink);
    color: #e8e4dc;
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    padding: .45rem 1rem;
}

.btn-book {
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 0;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 600;
    padding: .65rem 1.25rem;
}
.btn-book:hover { background: #ff385c; border-color: #ff385c; color: #fff; }
.btn-book.btn-lg { font-size: .9rem; padding: .85rem 1.6rem; }
.btn-outline-dark, .btn-outline-light { border-radius: 0; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(20,18,15,.55), rgba(20,18,15,.65)),
        var(--hero-img, radial-gradient(circle at 30% 30%, #6b5a3a 0%, #2e2c29 60%, #1a1916 100%));
    background-size: cover;
    background-position: center;
}
.hero-inner { padding: 4rem 1rem; max-width: 820px; }
.hero-title {
    font-family: var(--serif);
    font-size: clamp(3.2rem, 11vw, 7.5rem);
    font-weight: 600;
    line-height: 1;
    margin: 0;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-sub {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
    letter-spacing: .45em;
    text-transform: uppercase;
    margin: 1rem 0 1.5rem;
    color: var(--gold-light);
}
.hero-text { font-family: var(--serif); font-size: 1.35rem; opacity: .9; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-scroll {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    color: #fff; font-size: 1.6rem; animation: bob 2s infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--charcoal); color: #e8e6e1; }
.section-dark a:not(.btn) { color: var(--gold-light); }
.container.narrow { max-width: 860px; }

.section-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 0;
}
.divider { width: 56px; height: 2px; background: var(--gold); margin: 1.25rem auto 2rem; }
.lead-text { font-family: var(--serif); font-size: 1.3rem; line-height: 1.9; }
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: .5rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 1rem; margin-bottom: 2rem;
}
.section-head .note { font-size: .85rem; color: var(--muted); font-style: italic; }
.section-dark .section-head .note { color: #a8a8a8; }
.more-link { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }

/* ---------- Page header ---------- */
.page-header {
    background: linear-gradient(120deg, #2e2c29 0%, #4a4032 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    text-align: center;
}
.page-header h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.page-header p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-light); max-width: 680px; margin: 1rem auto 0; }

/* ---------- Product card ---------- */
.product-card {
    display: block; height: 100%;
    background: #fff; color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s;
}
.section-dark .product-card { background: #262626; border-color: #333; color: #eee; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); color: inherit; }
.product-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 1.25rem 1.4rem 1.5rem; }
.product-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin: 0; }
.product-title-ko { font-family: "Noto Serif KR", serif; font-size: .95rem; color: var(--gold); margin-top: .15rem; }
.product-summary { font-size: .92rem; color: var(--muted); margin: .75rem 0 0; }
.section-dark .product-summary { color: #b5b5b5; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .85rem; }
.product-meta .price { font-weight: 600; color: var(--gold-dark); }
.section-dark .product-meta .price { color: var(--gold-light); }

.thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cream), #e4e0d6);
    color: var(--gold); font-size: 3rem;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: .5rem .75rem;
    background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: .85rem;
}

/* ---------- About / detail ---------- */
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: flex; }
.detail-summary { font-family: var(--serif); font-size: 1.45rem; line-height: 1.6; }
.detail-meta { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.5rem; border-block: 1px solid var(--line); padding: 1rem 0; }
.detail-meta dt { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.detail-meta dd { margin: 0; font-weight: 600; }
.detail-body { line-height: 1.9; }

/* ---------- Book ---------- */
.book-list { display: grid; gap: 1.25rem; }
.book-item {
    display: grid; grid-template-columns: 200px 1fr auto; gap: 1.5rem; align-items: center;
    background: #fff; border: 1px solid var(--line); padding: 1rem;
}
.book-thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.book-thumb img { width: 100%; height: 100%; object-fit: cover; }
.book-info h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; margin: 0; }
.book-info p { color: var(--muted); margin: .5rem 0 0; }
.book-action { display: flex; flex-direction: column; gap: .5rem; }
.book-notice { margin-top: 3rem; background: var(--cream); padding: 1.75rem 2rem; border-left: 3px solid var(--gold); }
.book-notice h4 { font-family: var(--serif); font-weight: 700; }
.book-notice ul { margin: 0; padding-left: 1.2rem; line-height: 1.9; }
@media (max-width: 767.98px) {
    .book-item { grid-template-columns: 1fr; }
    .book-action { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Board ---------- */
.board-tabs .nav-link { border-radius: 0; color: var(--ink); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.board-tabs .nav-link.active { background: var(--gold); color: #fff; }
.post-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; align-items: center; gap: .75rem; padding: 1.1rem .5rem; color: var(--ink); text-decoration: none; }
.post-list a:hover { background: rgba(20,20,20,.04); }
.post-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-date { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.badge-board { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .55rem; background: var(--charcoal); color: #fff; }
.badge-news { background: var(--gold); }
.badge-pinned { background: #b34a3c; }
.pagination .page-link { color: var(--ink); border-radius: 0 !important; }
.pagination .page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: #fff; }

.post-view header { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 1.5rem .5rem; }
.post-view h2 { font-family: var(--serif); font-weight: 700; font-size: 2rem; margin: 0; }
.post-info { display: flex; gap: 1.25rem; color: var(--muted); font-size: .85rem; margin-top: .5rem; }
.post-image { max-width: 100%; margin: 2rem 0 0; }
.post-content { padding: 2rem .5rem; line-height: 1.9; border-bottom: 1px solid var(--line); min-height: 200px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; font-size: 1.05rem; line-height: 2.2; }
.contact-list i { color: var(--gold); margin-right: .6rem; }
.map-wrap { position: relative; aspect-ratio: 16 / 10; background: #262626; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8a8a8; padding: 3.5rem 0 1.5rem; }
.footer-brand { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: .06em; }
.footer-tagline { letter-spacing: .35em; text-transform: uppercase; font-size: .75rem; color: var(--gold-light); }
.site-footer .social { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #555; color: #ddd; margin-left: .4rem; font-size: 1.1rem; }
.site-footer .social:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid #262626; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .8rem; }
.to-top { color: var(--gold-light); text-decoration: none; letter-spacing: .15em; text-transform: uppercase; }

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { padding-bottom: 1rem; }
    .section { padding: 4rem 0; }
}

/* ---------- Rating / class flow / GetYourGuide ---------- */
.hero-rating { display: inline-block; margin-top: 1rem; padding: .35rem 1rem; border: 1px solid rgba(216,199,154,.6); color: var(--gold-light); font-size: .85rem; letter-spacing: .12em; }
.btn-gyg { background: #ff5533; border: 1px solid #ff5533; color: #fff; border-radius: 0; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 600; padding: .65rem 1.25rem; }
.btn-gyg:hover { background: #e0431f; border-color: #e0431f; color: #fff; }
.btn-gyg.btn-lg { font-size: .9rem; padding: .85rem 1.6rem; }
.flow-step { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); padding: 2.25rem 1.5rem 1.75rem; text-align: center; }
.flow-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.flow-step > i { font-size: 2.2rem; color: var(--gold); }
.flow-step h3 { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin: .75rem 0 .5rem; }
.flow-step p { color: var(--muted); font-size: .95rem; margin: 0; }
.flow { margin-top: 1rem; }
.flow-facts { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; font-size: .95rem; }
.flow-facts i { color: var(--gold); margin-right: .35rem; }
.hero .btn-book, .section-dark .btn-book { background: var(--gold); border-color: var(--gold); }
.hero .btn-book:hover, .section-dark .btn-book:hover { background: #ff385c; border-color: #ff385c; }

/* ---------- Logo-based theme (ink & paper) ---------- */
.hero {
    background:
        linear-gradient(rgba(10,10,10,.62), rgba(10,10,10,.72)),
        var(--hero-img, radial-gradient(circle at 50% 35%, #2a2a2a 0%, #141414 55%, #0a0a0a 100%));
    background-size: cover;
    background-position: center;
}
.hero-sub { color: var(--gold-light); }
.hero-rating { border-color: rgba(217,191,122,.55); }

.page-header {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}
.page-header::after {
    content: "";
    position: absolute;
    right: -40px; top: 50%;
    width: 320px; height: 320px;
    transform: translateY(-50%);
    background: url("../img/logo-line-white.png") center / contain no-repeat;
    opacity: .09;
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }

.section-dark { background: var(--ink); }
.section-cream { background: var(--cream); }
.section-title { color: inherit; }
.divider { background: var(--gold); }

.product-card { border-color: var(--line); }
.product-card:hover { border-color: var(--ink); }
.thumb-placeholder { color: #9a9a9a; background: linear-gradient(135deg, #f2efe8, #e4e0d6); }
.product-meta .price { color: var(--ink); }
.section-dark .product-meta .price { color: var(--gold-light); }

.btn-book { background: var(--ink); border-color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

.board-tabs .nav-link.active { background: var(--ink); }
.badge-board { background: var(--ink); }
.badge-news { background: var(--gold-dark); }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); }
.post-list, .post-view header { border-top-color: var(--ink); }

.flow-step { border-color: var(--line); }
.flow-num { background: var(--ink); }
.flow-step > i { color: var(--ink); }
.flow-facts i { color: var(--gold-dark); }
.book-notice { border-left-color: var(--ink); }
.book-item { border-color: var(--line); }

.site-footer { background: var(--ink); }
.footer-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; margin-bottom: .75rem; }
.site-footer .social { border-color: #444; }
.site-footer .social:hover { background: #fff; border-color: #fff; color: var(--ink); }
.footer-bottom { border-top-color: #2a2a2a; }
.site-nav .nav-link, .site-nav .btn-book { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-nav .nav-link { padding: .5rem .55rem !important; letter-spacing: .1em; font-size: .75rem; }
    .site-nav .navbar-brand { font-size: 1.35rem; }
    .site-nav .navbar-brand small { display: none; }
}
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { border-top: 1px solid var(--line); margin-top: .5rem; }
}

/* ---------- On-site products ---------- */
.onsite-note { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--ink); background: #fff; padding: 1.1rem 1.4rem; margin-bottom: 2.5rem; }
.onsite-note > i { font-size: 1.6rem; line-height: 1; color: var(--gold-dark); }
.onsite-note strong { display: block; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: .2rem; }
.onsite-note span { color: var(--muted); font-size: .95rem; }

/* ---------- Photos ---------- */
.split-img { aspect-ratio: 4 / 3; overflow: hidden; box-shadow: 18px 18px 0 var(--cream); }
.section-dark .split-img { box-shadow: 18px 18px 0 #2a2a2a; }
.split .flex-lg-row-reverse .split-img { box-shadow: -18px 18px 0 #2a2a2a; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split .lead-text { font-size: 1.2rem; }

.flow-step.has-img { padding: 0 0 1.75rem; overflow: visible; }
.flow-img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.5rem; }
.flow-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.flow-step:hover .flow-img img { transform: scale(1.05); }
.flow-step.has-img .flow-num { position: relative; top: auto; left: auto; transform: none; margin: -2.6rem auto .5rem; border: 3px solid #fff; width: 42px; height: 42px; }
.flow-step.has-img h3, .flow-step.has-img p { padding: 0 1.25rem; }

.photo-band {
    position: relative;
    padding: 9rem 0;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(rgba(10,10,10,.55), rgba(10,10,10,.6)),
        var(--band-img, var(--ink));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
@media (max-width: 991.98px), (hover: none) { .photo-band { background-attachment: scroll; padding: 6rem 0; } }
.band-kicker { letter-spacing: .35em; text-transform: uppercase; font-size: .8rem; color: var(--gold-light); }
.band-title { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; margin: .75rem 0 1rem; }
.band-text { font-family: var(--serif); font-size: 1.3rem; max-width: 640px; margin: 0 auto; opacity: .92; }

.page-header.has-img {
    background:
        linear-gradient(rgba(10,10,10,.68), rgba(10,10,10,.74)),
        var(--header-img);
    background-size: cover;
    background-position: center;
}

/* 히어로 버튼: 높이·여백·세로 정렬 통일 */
.hero-actions { align-items: center; }
.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 52px;
    padding: .2em 1.6rem 0;   /* Josefin Sans 글자가 위로 떠 보이는 것 보정 */
    font-size: .88rem;
    line-height: 1;
    letter-spacing: .14em;
}
.hero-actions .btn i { margin-top: -.2em; }

/* ---------- Booking: nav dropdown / footer / mobile bar ---------- */
.book-menu .dropdown-toggle::after { margin-left: .5em; vertical-align: .15em; }
.book-menu .dropdown-menu { min-width: 220px; }
.book-menu .dropdown-item { padding: .6rem 1rem; letter-spacing: .06em; }
.book-menu .dropdown-item i { width: 1.4rem; display: inline-block; color: var(--gold-dark); }
.book-menu .dropdown-item:hover i { color: #fff; }

.footer-book { margin-top: .5rem; }
.footer-book a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.footer-book a:hover { color: #fff; }

.mobile-book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: flex; gap: 1px; background: var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.mobile-book-bar .btn { flex: 1; padding: .9rem .5rem; font-size: .8rem; }
@media (max-width: 991.98px) { body { padding-bottom: 52px; } }

.hero .btn-gyg { background: #ff5533; border-color: #ff5533; }
.book-menu .btn-book:hover, .book-menu .btn-book.show, .book-menu .btn-book:focus { background: #333; border-color: #333; color: #fff; }
@media (max-width: 575.98px) {
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* 사람 사진 크롭: 얼굴은 보통 위쪽에 있으므로 위쪽 기준으로 자름 */
.split-img img, .flow-img img, .product-thumb img, .gallery-item img, .about-img, .book-thumb img { object-position: center 28%; }
.split-img.is-portrait { aspect-ratio: 4 / 5; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Host (대표 소개) ---------- */
.host-photo { margin: 0; position: relative; max-width: 440px; margin-inline: auto; }
.host-photo img, .host-photo .thumb-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; display: block; }
.host-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.host-photo img, .host-photo .thumb-placeholder { position: relative; z-index: 1; }
.host-kicker { letter-spacing: .35em; text-transform: uppercase; font-size: .8rem; color: var(--gold-light); }
.host-name { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.4rem); margin: .4rem 0 .2rem; color: #fff; }
.host-role { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #cfcac0; }
.host-bio { font-family: var(--serif); font-size: 1.2rem; line-height: 1.85; }
.host-highlights { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem 1.5rem; }
.host-highlights li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: #e8e6e1; }
.host-highlights i { color: var(--gold-light); font-size: 1.05rem; margin-top: .05rem; }
@media (max-width: 991.98px) { .host-photo { max-width: 360px; } }

/* 모바일 가로 넘침 방지: 대표 사진 뒤 골드 프레임을 화면 안쪽으로 */
@media (max-width: 991.98px) {
    .host-photo { max-width: min(360px, calc(100% - 12px)); }
    .host-photo::before { inset: 10px -10px -10px 10px; }
}

/* ==================================================================
   Direct booking — form / calendar / hero widget
   ================================================================== */
.booking-wrap { max-width: 760px; }
.booking-title { font-family: var(--sans); font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 1.75rem; }
.booking .field { margin-bottom: 1.6rem; }
.booking label, .booking .field > label { display: block; font-family: var(--serif); font-size: 1.2rem; color: #eee; margin-bottom: .5rem; }
.booking input[type=text], .booking input[type=email], .booking input[type=tel], .booking select, .booking textarea {
    width: 100%; background: transparent; color: #fff; border: 1px solid #bdb8ae; border-radius: 0;
    padding: .85rem 1rem; font-family: var(--sans); font-size: 1rem; outline: none;
}
.booking select option { color: var(--ink); }
.booking input:focus, .booking select:focus, .booking textarea:focus { border-color: var(--gold-light); box-shadow: 0 0 0 1px var(--gold-light); }
.booking textarea { resize: vertical; }
.phone-row { display: grid; grid-template-columns: minmax(0, 170px) 1fr; gap: .5rem; }
.field-error { color: #ff8a80; font-size: .9rem; margin-top: .35rem; }
.field-hint { color: #a8a8a8; font-size: .9rem; margin-top: .35rem; }
.booking-alert { border: 1px solid #ff8a80; color: #ffd2cc; padding: .9rem 1.1rem; margin-bottom: 2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-summary { border: 1px solid var(--gold); color: var(--gold-light); padding: .9rem 1.1rem; margin: .5rem 0 1.25rem; font-size: .95rem; }
.booking-submit { background: var(--gold); border-color: var(--gold); padding: 1rem; font-size: .95rem; }
.booking-submit:hover { background: #fff; border-color: #fff; color: var(--ink); }
.booking-note { color: #a8a8a8; font-size: .85rem; text-align: center; margin: .9rem 0 0; }
.booking .book-notice { background: #1f1f1f; color: #ddd; border-left-color: var(--gold); margin-top: 3.5rem; }

/* calendar */
.calendar { border: 1px solid #bdb8ae; padding: 1rem; user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; color: #fff; font-size: 1.05rem; letter-spacing: .08em; }
.cal-nav { background: none; border: 1px solid #555; color: #fff; width: 38px; height: 38px; font-size: 1.4rem; line-height: 1; }
.cal-nav:disabled { opacity: .25; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; letter-spacing: .1em; color: #999; padding: .25rem 0; }
.cal-day { position: relative; aspect-ratio: 1; min-height: 40px; background: #262626; border: 1px solid transparent; color: #fff; font-size: .95rem; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cal-day:hover:not(:disabled) { border-color: var(--gold-light); }
.cal-day.is-selected { background: var(--gold); color: #fff; font-weight: 700; }
.cal-day.is-off { background: transparent; color: #555; }
.cal-day.is-soldout { background: transparent; color: #777; text-decoration: line-through; }
.cal-day small { font-size: .5rem; letter-spacing: .02em; text-decoration: none; color: #ff8a80; line-height: 1; margin-top: 2px; }
.calendar-legend { display: flex; align-items: center; gap: .5rem 1rem; font-size: .8rem; color: #aaa; margin-top: .5rem; }
.calendar-legend span { display: inline-block; width: 12px; height: 12px; }
.lg-available { background: #262626; border: 1px solid #555; }
.lg-soldout { border: 1px solid #ff8a80; }

/* sessions */
.sessions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.session-opt { margin: 0 !important; }
.session-opt input { position: absolute; opacity: 0; }
.session-opt span { display: block; border: 1px solid #bdb8ae; padding: .85rem 1rem; color: #fff; font-family: var(--sans); font-size: .95rem; cursor: pointer; text-align: center; }
.session-opt input:checked + span { background: var(--gold); border-color: var(--gold); }
.session-opt input:disabled + span { opacity: .35; cursor: not-allowed; }
.session-opt input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.soldout-tag { display: none; color: #ff8a80; margin-left: .4rem; }
.session-opt.is-soldout .soldout-tag { display: inline; }
@media (max-width: 575.98px) { .sessions, .phone-row { grid-template-columns: 1fr; } .cal-day small { display: none; } }

/* thanks */
.thanks-icon { font-size: 3.5rem; color: var(--gold); }
.thanks-summary { max-width: 460px; margin: 2rem auto 0; }

/* hero booking widget */
.hero-book { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 0; margin: 2rem auto 0; max-width: 680px; background: rgba(252,251,248,.96); padding: .5rem; }
.hero-book .hb-field { flex: 1 1 180px; display: flex; flex-direction: column; justify-content: center; text-align: left; padding: .35rem .9rem; border-right: 1px solid var(--line); }
.hero-book .hb-field:last-of-type { border-right: 0; }
.hero-book label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0; }
.hero-book input, .hero-book select { border: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 1rem; padding: .2rem 0; outline: none; width: 100%; }
.hero-book .btn-book { flex: 0 0 auto; min-height: 56px; padding: .2em 1.6rem 0; display: inline-flex; align-items: center; gap: .5rem; }
.hero-actions-simple { margin-top: 1.25rem; }
@media (max-width: 575.98px) {
    .hero-book { flex-direction: column; max-width: 320px; }
    .hero-book .hb-field { border-right: 0; border-bottom: 1px solid var(--line); padding: .6rem .75rem; }
    .hero-book .btn-book { justify-content: center; }
}
@media (min-width: 576px) { .cal-day { aspect-ratio: auto; height: 54px; } }
.cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 575.98px) {
    .calendar { padding: .6rem; }
    .cal-grid { gap: 2px; }
    .cal-day { min-height: 0; font-size: .85rem; }
}

/* 모바일: 세로로 쌓일 때 flex-basis(180px)가 높이로 적용되던 문제 수정 + iOS 날짜 입력 정렬 */
@media (max-width: 575.98px) {
    .hero-book .hb-field { flex: 0 0 auto; }
    .hero-book .btn-book { min-height: 50px; }
}
.hero-book input[type=date] { -webkit-appearance: none; appearance: none; min-height: 1.6em; text-align: left; }
.hero-book input[type=date]::-webkit-date-and-time-value { text-align: left; }

/* 예약 제출 중 상태 (중복 클릭 방지) */
.booking-submit .label-busy { display: none; }
.booking-submit.is-busy .label-idle { display: none; }
.booking-submit.is-busy .label-busy { display: inline-flex; align-items: center; gap: .6rem; }
.booking-submit:disabled { opacity: 1; cursor: progress; background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.booking-wait { color: var(--gold-light); font-size: .9rem; text-align: center; margin: .75rem 0 0; }
