:root {
  --ink: #25312b;
  --muted: #66706b;
  --paper: #fffdf8;
  --cream: #fff5e5;
  --orange: #f2673a;
  --orange-dark: #d94b24;
  --yellow: #f5c84c;
  --green: #66a76d;
  --purple: #795493;
  --pink: #f8d4d0;
  --line: rgba(37, 49, 43, .13);
  --shadow: 0 18px 55px rgba(59, 48, 31, .12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Trebuchet MS", "Segoe UI", sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.skip-link { position: fixed; left: 18px; top: -100px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.brand b { color: var(--orange); font-size: 1.7rem; margin-top: 4px; }
.header-actions { display: flex; align-items: center; gap: 13px; margin-left: auto; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--orange-dark); background: var(--cream); }
.main-nav .nav-cta { padding-inline: 21px; background: var(--ink); color: #fff; }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { background: var(--orange); color: #fff; }
.header-instagram { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, var(--orange), var(--purple)); box-shadow: 0 7px 18px rgba(121, 84, 147, .2); transition: transform .2s, box-shadow .2s; }
.header-instagram:hover { transform: translateY(-2px) rotate(3deg); box-shadow: 0 10px 23px rgba(121, 84, 147, .3); }
.header-instagram:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.header-instagram svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.header-instagram .instagram-dot { fill: currentColor; stroke: none; }
.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 99px; padding: 9px 16px; background: #fff; font-weight: 800; }
.notice-bar { background: var(--purple); color: #fff; }
.notice-inner { min-height: 62px; display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.notice-inner div { flex: 1; display: flex; gap: 10px 18px; align-items: baseline; flex-wrap: wrap; }
.notice-inner a { font-weight: 800; white-space: nowrap; }
.notice-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: var(--yellow); color: var(--ink); font-weight: 900; border-radius: 50%; }
.hero { overflow: hidden; background: linear-gradient(135deg, #fffdf8 35%, #fff2d7); padding: 78px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(45px, 7vw, 100px); }
.hero-copy h1, .page-hero h1 { max-width: 760px; margin: 10px 0 24px; font-family: Georgia, serif; font-size: clamp(3.3rem, 7vw, 6.6rem); line-height: .94; letter-spacing: -.055em; }
.hero-copy h1 em { position: relative; color: var(--orange); font-style: italic; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 2%; right: -2%; bottom: -7px; height: 8px; border-radius: 50%; background: var(--yellow); transform: rotate(-2deg); }
.eyebrow { margin: 0; color: var(--orange-dark); font-size: .8rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero-lead { max-width: 600px; margin: 0; color: #52605a; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 22px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 12px 23px; font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(242, 103, 58, .25); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.button-secondary:hover { color: #fff; background: var(--ink); }
.button-light { background: #fff; color: var(--ink); }
.button-full { width: 100%; }
.hero-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .95rem; }
.hero-note span { color: var(--orange); }
.hero-visual { position: relative; min-height: 510px; }
.hero-visual img { position: absolute; inset: 4% 4% 4% 1%; width: 95%; height: 92%; object-fit: cover; border: 10px solid #fff; border-radius: 44% 56% 50% 45% / 46% 44% 56% 54%; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-blob { position: absolute; inset: -4%; border-radius: 46% 54% 40% 60%; background: var(--yellow); transform: rotate(-7deg); }
.hero-sticker { position: absolute; right: -10px; bottom: -16px; z-index: 2; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; line-height: 1.05; color: #fff; background: var(--green); border: 6px solid #fff; border-radius: 50%; box-shadow: var(--shadow); transform: rotate(7deg); }
.hero-sticker strong, .hero-sticker span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-sticker b { font-family: Georgia, serif; font-size: 2rem; }
.home-gallery { padding: 72px 0 78px; overflow: hidden; background: #fff; }
.home-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.home-gallery-heading h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; }
.home-gallery-controls { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.home-gallery-controls button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--cream); font-size: 1.35rem; font-weight: 900; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.home-gallery-controls button:hover:not(:disabled) { color: #fff; background: var(--orange); transform: translateY(-2px); }
.home-gallery-controls button:disabled { opacity: .4; cursor: default; }
.home-gallery-controls span { min-width: 48px; color: var(--muted); text-align: center; font-size: .86rem; font-weight: 800; }
.home-gallery-viewport { overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.home-gallery-viewport::-webkit-scrollbar { display: none; }
.home-gallery-viewport:focus-visible { border-radius: 25px; box-shadow: 0 0 0 4px rgba(242, 103, 58, .2); }
.home-gallery-track { display: flex; gap: 20px; }
.home-gallery-card { position: relative; flex: 0 0 calc((100% - 40px) / 3); overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; color: #fff; background: var(--ink); scroll-snap-align: start; text-decoration: none; box-shadow: 0 12px 32px rgba(37, 49, 43, .12); }
.home-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .35s; }
.home-gallery-card:hover img { transform: scale(1.04); opacity: .92; }
.home-gallery-caption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 42px 20px 18px; background: linear-gradient(transparent, rgba(20, 28, 24, .88)); }
.home-gallery-caption strong { overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.home-gallery-caption small { color: rgba(255,255,255,.76); font-size: .78rem; }
.section { padding: 92px 0; }
.section-warm { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading h2, .about-grid h2, .contact-grid h2, .support-grid h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; }
.text-link { color: var(--orange-dark); font-weight: 900; }
.card-grid { display: grid; gap: 24px; }
.event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(54, 48, 35, .06); transition: transform .25s, box-shadow .25s; }
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pink); text-decoration: none; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.content-card:hover .card-image img { transform: scale(1.035); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--orange-dark); font: italic 800 2.2rem Georgia, serif; }
.date-badge { position: absolute; left: 16px; top: 16px; min-width: 56px; min-height: 56px; display: grid; place-items: center; padding: 8px; color: #fff; background: var(--orange); border: 4px solid #fff; border-radius: 50%; font-weight: 900; box-shadow: 0 8px 22px rgba(44, 38, 31, .18); }
.card-body { padding: 25px; }
.card-meta { margin: 0 0 6px; color: var(--orange-dark); font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.card-body h2, .card-body h3 { margin: 0 0 10px; font: 700 1.65rem/1.14 Georgia, serif; }
.card-body h2 a, .card-body h3 a { text-decoration: none; }
.card-body h2 a:hover, .card-body h3 a:hover { color: var(--orange-dark); }
.card-body p { color: var(--muted); }
.course-list { display: grid; gap: 14px; }
.course-row { display: grid; grid-template-columns: 72px 1fr 54px; align-items: center; gap: 24px; padding: 26px 30px; border-radius: 22px; border: 1px solid var(--line); }
.course-row.color-1, .course-card.color-1 { background: #fff0e7; }
.course-row.color-2, .course-card.color-2 { background: #eef7e9; }
.course-row.color-3, .course-card.color-3 { background: #f5ecf8; }
.course-row.color-4, .course-card.color-4 { background: #fff7d8; }
.course-number { color: rgba(37, 49, 43, .28); font: 800 2rem Georgia, serif; }
.course-row h3 { margin: 2px 0 4px; font: 700 1.55rem Georgia, serif; }
.course-row p { margin-block: 0; color: var(--muted); }
.round-link { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--ink); border-radius: 50%; text-decoration: none; font-size: 1.45rem; }
.about-teaser { padding-top: 35px; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.about-card, .join-card { padding: clamp(34px, 5vw, 65px); border-radius: 36px; }
.about-card { background: #f0f6eb; }
.about-card p:not(.eyebrow), .join-card p { max-width: 630px; font-size: 1.08rem; }
.join-card { position: relative; overflow: hidden; background: var(--purple); color: #fff; }
.join-card h2 { position: relative; font-size: clamp(2rem, 3.5vw, 3rem); }
.join-card p, .join-card .button { position: relative; }
.join-sun { position: absolute; top: -35px; right: -20px; color: var(--yellow); font-size: 9rem; line-height: 1; opacity: .9; }
.empty-state { grid-column: 1 / -1; padding: 58px 28px; text-align: center; border: 2px dashed rgba(37, 49, 43, .2); border-radius: var(--radius); }
.empty-state > span { color: var(--orange); font-size: 2rem; }
.empty-state h2, .empty-state h3 { margin: 5px 0; font: 700 2rem Georgia, serif; }
.page-hero { padding: 86px 0 74px; overflow: hidden; }
.page-hero h1 { margin: 8px 0 18px; font-size: clamp(3.4rem, 8vw, 6.5rem); }
.page-hero p:last-child { max-width: 720px; margin: 0; font-size: 1.2rem; }
.page-hero-orange { background: #ffe5d5; }
.page-hero-yellow { background: #fff0ac; }
.page-hero-green { background: #dfeeda; }
.page-hero-purple { background: #e8d9ee; }
.filter-tabs { display: inline-flex; gap: 6px; padding: 5px; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.filter-tabs a { min-width: 130px; padding: 9px 18px; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 800; }
.filter-tabs a.active { background: var(--ink); color: #fff; }
.detail-page { padding: 55px 0 100px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(38px, 7vw, 90px); align-items: start; }
.detail-main h1 { margin: 12px 0 30px; font: 700 clamp(2.7rem, 5vw, 4.8rem)/1 Georgia, serif; letter-spacing: -.04em; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--muted); font-weight: 800; }
.detail-image { width: 100%; max-height: 700px; object-fit: contain; margin-bottom: 36px; background: var(--cream); border-radius: var(--radius); }
.detail-aside { position: sticky; top: 112px; }
.info-box { padding: 28px; background: var(--cream); border: 1px solid #f1d9b9; border-radius: var(--radius); }
.info-box h2 { margin: 0 0 20px; font: 700 1.55rem Georgia, serif; }
.info-box dl { margin: 0 0 24px; }
.info-box dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-box dt { color: var(--muted); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.info-box dd { margin: 3px 0 0; font-weight: 700; }
.prose { color: #46524c; font-size: 1.08rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3 { color: var(--ink); font-family: Georgia, serif; line-height: 1.16; }
.prose h2 { margin-top: 2em; font-size: 2rem; }
.prose a { color: var(--orange-dark); }
.prose li + li { margin-top: 8px; }
.prose-large { font-size: 1.16rem; }
.course-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.course-card { display: grid; grid-template-columns: 200px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.course-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.course-card-body { padding: 30px; }
.course-card-body h2 { margin: 6px 0 12px; font: 700 2rem/1.08 Georgia, serif; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 80px; align-items: start; }
.quote-card { position: sticky; top: 115px; padding: 40px; background: var(--orange); color: #fff; border-radius: 40px 12px 40px 12px; transform: rotate(2deg); }
.quote-card span { font: 800 6rem/1 Georgia, serif; opacity: .5; }
.quote-card p { margin: -28px 0 0; font: italic 700 1.65rem/1.4 Georgia, serif; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 65px; }
.support-grid article { padding: 35px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.support-grid article:nth-child(2) { background: #eef7e9; }
.support-grid article:nth-child(3) { background: #fff0e7; }
.support-grid span { color: var(--orange); font-weight: 900; }
.support-grid h2 { margin: 14px 0 8px; font-size: 2rem; }
.centered-prose { max-width: 760px; margin-inline: auto; text-align: center; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px, 8vw, 100px); }
.contact-info h2, .form-card h2 { font-size: 2.5rem; }
.contact-info a { color: var(--orange-dark); font-weight: 800; }
.contact-bubble { display: inline-block; margin-top: 24px; padding: 20px 24px; background: var(--yellow); border-radius: 24px 24px 24px 5px; font-weight: 900; transform: rotate(-2deg); }
.form-card { padding: clamp(28px, 5vw, 50px); border-radius: 32px; background: var(--cream); }
.stack-form { display: grid; gap: 18px; }
.stack-form label { display: grid; gap: 7px; font-weight: 800; }
.stack-form label span { color: var(--muted); font-weight: 400; }
.stack-form input, .stack-form textarea { width: 100%; border: 1px solid rgba(37, 49, 43, .22); border-radius: 12px; padding: 12px 14px; color: var(--ink); background: #fff; outline: none; }
.stack-form input:focus, .stack-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 103, 58, .12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hp-field { position: absolute; left: -9999px; }
.alert { padding: 13px 16px; margin-bottom: 16px; border-radius: 12px; }
.alert-success { background: #dcedd7; color: #24562b; }
.alert-error { background: #ffe0dc; color: #842c22; }
.site-footer { padding-top: 70px; color: rgba(255,255,255,.75); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 55px; }
.footer-grid h2 { margin: 0 0 14px; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a { display: block; width: fit-content; margin-bottom: 7px; color: #fff; }
.footer-brand { color: #fff; font: 800 2rem Georgia, serif; }
.footer-brand strong { color: var(--orange); }
.footer-grid p { max-width: 400px; }
.footer-partner { display: flex !important; align-items: center; gap: 14px; margin-top: 24px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.footer-partner:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.footer-partner img { width: 50px; height: 60px; flex: 0 0 auto; object-fit: contain; }
.footer-partner span { color: rgba(255,255,255,.75); line-height: 1.35; }
.footer-partner strong { display: block; color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-author { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.footer-author:hover { color: #fff; }
.footer-author img { width: 28px; height: 28px; object-fit: contain; }
.footer-author strong { color: #fff; }

@media (max-width: 950px) {
  .nav-toggle { display: block; }
  .header-actions { gap: 10px; }
  .main-nav { position: absolute; top: 75px; left: 20px; right: 20px; display: none; padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 12px 16px; }
  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 650px; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-gallery-card { flex-basis: calc((100% - 20px) / 2); }
  .about-grid, .detail-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-aside, .quote-card { position: static; }
  .course-card-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 72px; }
  .header-inner { gap: 12px; }
  .brand img { width: 48px; height: 48px; }
  .brand b { font-size: 1.4rem; }
  .brand strong { font-size: .65rem; }
  .header-actions { gap: 8px; }
  .header-instagram { width: 40px; height: 40px; flex-basis: 40px; }
  .notice-inner { align-items: flex-start; }
  .notice-inner div { display: grid; gap: 1px; }
  .notice-inner a { display: none; }
  .hero { padding: 48px 0 65px; }
  .hero-copy h1 { font-size: clamp(3.1rem, 17vw, 4.6rem); }
  .hero-actions { display: grid; }
  .hero-visual { min-height: 330px; }
  .hero-sticker { width: 105px; height: 105px; right: 0; }
  .home-gallery { padding: 56px 0 62px; }
  .home-gallery-heading { align-items: center; }
  .home-gallery-controls button { width: 42px; height: 42px; }
  .home-gallery-card { flex-basis: 100%; }
  .section { padding: 65px 0; }
  .section-heading { align-items: start; }
  .section-heading > .text-link { display: none; }
  .event-grid { grid-template-columns: 1fr; }
  .course-row { grid-template-columns: 1fr 45px; padding: 23px; }
  .course-number { display: none; }
  .about-teaser { padding-top: 15px; }
  .about-card, .join-card { border-radius: 25px; }
  .page-hero { padding: 58px 0; }
  .detail-page { padding-top: 35px; }
  .course-card { grid-template-columns: 1fr; }
  .course-card img { max-height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-partner { max-width: 310px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
