@charset "utf-8";

body.ss-site {
    --ss-bg: #ffffff;
    --ss-muted-bg: #f6f4f1;
    --ss-text: #2c2c2c;
    --ss-muted: #7a756e;
    --ss-line: #e8e4de;
    --ss-gold: #b9a48a;
    --ss-max: 1200px;
    background: var(--ss-bg) !important;
    color: var(--ss-text);
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    font-size: 16px !important;
    line-height: 1.7;
    min-height: 100%;
}

body.ss-index {
    background: #f2f2f2 !important;
}
body.ss-index #wrapper,
body.ss-index #container_wr,
body.ss-index #container {
    background: transparent !important;
}
body.ss-index #hd,
body.ss-index .ss-header,
body.ss-index .ss-header.is-stuck {
    background: #f6f6f6 !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}
body.ss-index #ft,
body.ss-index .ss-footer {
    background: transparent !important;
}

html:has(body.ss-site),
html:has(body.ss-site) body,
body.ss-site {
    max-width: 100%;
    overflow-x: hidden;
}
body.ss-site html,
html:has(body.ss-site) {
    overflow-y: auto;
    overflow-x: hidden;
}

body.ss-site #hd,
body.ss-site #wrapper,
body.ss-site #ft,
body.ss-site #container_wr,
body.ss-site #ft_wr,
body.ss-site #ft_copy,
body.ss-site .ss-header,
body.ss-site .ss-main {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
body.ss-site #hd.ss-header {
    position: sticky !important;
    top: 0;
    z-index: 90;
    background-color: #f6f6f6;
}
body.ss-site #hd:after {
    content: none;
    display: none;
}
body.ss-site #hd_h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
}
body.ss-site #ft {
    background: transparent !important;
    text-align: left !important;
    margin: 0 !important;
}

body.ss-site #container {
    float: none !important;
    width: 100% !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

body.ss-site #hd_pop {
    z-index: 90;
}
body.ss-site img { max-width: 100%; height: auto; vertical-align: top; }
body.ss-site button { font-family: inherit; }

.ss-serif {
    font-family: "Noto Serif KR", "Cormorant Garamond", serif;
}

.ss-skip {
    position: absolute;
    left: -999px;
    top: 0;
}
.ss-skip:focus {
    left: 12px;
    top: 12px;
    z-index: 100;
    background: #fff;
    padding: 8px 12px;
}

.ss-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #f6f6f6 !important;
    border-bottom: 1px solid transparent;
}
.ss-header.is-stuck {
    background: #f6f6f6 !important;
    border-bottom-color: #e8e6e2;
    box-shadow: none;
}
.ss-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    margin: 0;
    min-height: 88px;
    padding: 16px 40px;
}
.ss-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.15;
    z-index: 1;
}
.ss-logo strong {
    font-family: "Cormorant Garamond", "Noto Serif KR", serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #222;
}
.ss-logo span {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 9px;
    letter-spacing: 0.38em;
    color: #6f6b66;
    margin-top: 6px;
    font-weight: 400;
}

.ss-square-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #e2dfda;
    background: #fff;
    color: #2b2b2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex: 0 0 48px;
    z-index: 2;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ss-square-btn:hover {
    background: #fff;
    border-color: #cfcbc4;
}
.ss-square-btn svg {
    width: 20px;
    height: 20px;
}

.ss-nav {
    display: none !important;
}

.ss-burger {
    position: relative;
    display: block;
    width: 18px;
    height: 12px;
}
.ss-burger span,
.ss-burger::before,
.ss-burger::after {
    position: absolute;
    left: 0;
    right: 0;
    height: 1.6px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}
.ss-burger::before,
.ss-burger::after {
    content: "";
}
.ss-burger::before { top: 0; }
.ss-burger span {
    top: 50%;
    transform: translateY(-50%);
}
.ss-burger::after { bottom: 0; }
.ss-header.is-menu-open .ss-burger span { opacity: 0; }
.ss-header.is-menu-open .ss-burger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.ss-header.is-menu-open .ss-burger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.ss-drawer {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 80;
}
.ss-drawer.is-open {
    display: block;
}
.ss-drawer-dim {
    position: absolute;
    inset: 0;
    background: rgba(30, 28, 25, 0.35);
    border: 0;
}
.ss-drawer-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--ss-header-h, 76px);
    bottom: auto;
    width: 100%;
    max-height: calc(100vh - var(--ss-header-h, 76px));
    background: #fff;
    padding: 8px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    box-shadow: 0 12px 28px rgba(44, 44, 44, 0.12);
}
.ss-drawer-panel .ss-logo {
    display: none;
}
.ss-drawer-panel > a,
.ss-drawer-panel .ss-nav-item > a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--ss-text);
    border-bottom: 1px solid var(--ss-line);
}
.ss-drawer-panel a.ss-drawer-sub {
    padding-left: 12px;
    font-size: 14px;
    color: var(--ss-muted);
}

.ss-main {
    min-height: 50vh;
}

body.ss-site:not(.ss-index) .ss-page:not(:has(.gc-page)) {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 40px 96px;
}
#container:has(.gc-page),
body.ss-groupclass #wrapper,
body.ss-groupclass #container_wr,
body.ss-groupclass #container,
body.ss-groupclass #container.ss-page,
body.ss-site:has(.gc-page) #wrapper,
body.ss-site:has(.gc-page) #container_wr,
body.ss-site:has(.gc-page) #container,
body.ss-site:has(.gc-page) #container.ss-page {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f6f3ec;
}
body.ss-groupclass #aside,
body.ss-site:has(.gc-page) #aside,
#container_wr:has(.gc-page) #aside {
    display: none !important;
}
body.ss-site:not(.ss-index) #container_title {
    font-family: "Noto Serif KR", serif;
    font-size: 32px;
    margin: 0 0 28px;
    font-weight: 600;
}

.ss-home {
    overflow: hidden;
}

.ss-hero {
    max-width: none;
    margin: 0;
    padding: 0 0 28px;
}
.ss-intro {
    max-width: var(--ss-max);
    margin: 0 auto;
    padding: 0 40px 56px;
    text-align: left;
}
.ss-intro-en {
    font-family: "Great Vibes", cursive;
    font-size: 32px;
    color: #b8b8b8;
    font-weight: 400;
    margin: 0 0 18px;
    letter-spacing: 0.02em;
}
.ss-intro-ko {
    font-size: 18px;
    color: #8d8d8d;
    font-weight: 500;
    line-height: 1.75;
    margin: 0 0 16px;
    word-break: keep-all;
}
.ss-intro-brand {
    font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
    font-size: 64px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.06em;
    line-height: 1.15;
    margin: 0;
}

.ss-hero-grid {
    max-width: var(--ss-max);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.ss-hero-card {
    position: relative;
    color: inherit;
    display: block;
    padding-bottom: 0;
}
.ss-hero-card figure {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: #eee;
    box-shadow: 0 16px 40px rgba(44, 44, 44, 0.1);
}
.ss-hero-feature figure {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
}
.ss-hero-shop img {
    object-position: center 40%;
}
body.ss-site .ss-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.ss-hero-card:hover img {
    transform: scale(1.03);
}
.ss-hero-panel {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(44, 44, 44, 0.12);
}
.ss-hero-panel .ss-ico {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    color: #8a8a8a;
    border: 1px solid #ececec;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ss-hero-panel .ss-ico svg { width: 24px; height: 24px; }
.ss-hero-panel > div {
    flex: 1;
    min-width: 0;
}
.ss-hero-panel strong {
    display: block;
    font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111;
}
.ss-hero-panel > div span {
    display: block;
    font-size: 14px;
    color: #8a8a8a;
    margin-top: 4px;
}
.ss-hero-panel b {
    margin-left: auto;
    color: #333;
    font-size: 22px;
    font-weight: 400;
}

.ss-phrase {
    text-align: center;
    padding: 96px 24px 80px;
    max-width: 760px;
    margin: 0 auto;
    color: #4a4a4a;
}
.ss-crest {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-bottom: 28px;
}
.ss-crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ss-phrase-ko {
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: -0.02em;
    color: #4a4a4a;
    word-break: keep-all;
    margin: 0;
}
.ss-phrase-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(420px, 78%);
    margin: 28px auto 24px;
}
.ss-phrase-rule::before,
.ss-phrase-rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #8a8a8a;
}
.ss-phrase-rule img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
    display: block;
}
.ss-phrase-en {
    font-family: "Cormorant Garamond", "Noto Serif KR", serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3a3a3a;
    margin: 0;
}

.ss-services {
    max-width: var(--ss-max);
    margin: 0 auto;
    padding: 0 40px 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 48px;
}

.ss-class-block {
    position: relative;
    scroll-margin-top: 110px;
}
.ss-class-block-inner {
    display: block;
    color: inherit;
    position: relative;
}
.ss-class-thumbs,
.ss-tile-thumb {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eee;
}
.ss-class-thumbs {
    box-shadow: 0 16px 40px rgba(44, 44, 44, 0.08);
}
body.ss-site .ss-class-thumbs img,
body.ss-site .ss-tile-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ss-class-thumbs img {
    object-position: center top;
}
.ss-class-card {
    position: relative;
    z-index: 1;
    margin: -36px 10px 0;
    width: auto;
    background: #f5f5f5;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(44, 44, 44, 0.12);
    overflow: hidden;
}
.ss-class-block-inner:hover .ss-class-card {
    background: #fff;
}
.ss-class-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 22px 18px;
}
.ss-class-card-top > div {
    flex: 1;
    min-width: 0;
}
.ss-class-ico {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222;
    background: #fff;
}
.ss-class-ico svg { width: 22px; height: 22px; }
.ss-class-card-top strong {
    display: block;
    font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.ss-class-card-top > div span {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    word-break: keep-all;
}
.ss-class-card-more {
    border-top: 1px solid #eee;
    text-align: center;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.ss-class-card-more i {
    font-style: normal;
    margin-left: 4px;
}

.ss-tile {
    scroll-margin-top: 110px;
}
.ss-tile-inner {
    display: block;
    color: inherit;
}
.ss-info-card {
    position: relative;
    z-index: 1;
    margin: -36px 10px 0;
    background: #f5f5f5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(44, 44, 44, 0.08);
}
.ss-tile-inner:hover .ss-info-card {
    background: #fff;
}

.ss-service {
    text-align: center;
    scroll-margin-top: 110px;
}
.ss-service-media {
    position: relative;
    margin-bottom: 28px;
}
.ss-service-media img,
.ss-collage {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.ss-service-media > img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    height: auto;
}
.ss-collage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    aspect-ratio: 16 / 10;
}
.ss-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ss-collage img:first-child {
    grid-row: 1 / 3;
}

.ss-badge {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--ss-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4a4a;
}
.ss-badge svg { width: 26px; height: 26px; }

.ss-service h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 14px;
    letter-spacing: -0.03em;
}
.ss-service p {
    font-size: 14px;
    color: var(--ss-muted);
    line-height: 1.85;
    word-break: keep-all;
    max-width: 420px;
    margin: 0 auto 22px;
}
.ss-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #5c574f;
    letter-spacing: 0.04em;
}
.ss-more i {
    font-style: normal;
    font-size: 16px;
}

.ss-instructor {
    background: #f2efe9;
    padding: 72px 40px 64px;
}
.ss-instructor-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.ss-instructor-kicker {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", "Noto Serif KR", serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #3d5330;
}
.ss-instructor-kicker::before,
.ss-instructor-kicker::after {
    content: "";
    width: 48px;
    height: 1px;
    background: #3d5330;
    opacity: 0.45;
}
.ss-instructor-inner h2 {
    font-family: "Noto Serif KR", "Nanum Myeongjo", serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: #3d5330;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    word-break: keep-all;
}
.ss-instructor-desc {
    margin: 0 auto 28px;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.8;
    color: #6d6860;
    word-break: keep-all;
}
.ss-instructor-preview {
    margin: 0 auto 28px;
    width: min(100%, 420px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(61, 83, 48, 0.1);
    background: #ebe6dc;
}
.ss-instructor-preview img {
    width: 100%;
    height: auto !important;
    display: block;
    vertical-align: top;
}
.ss-instructor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: min(280px, 100%);
    height: 52px;
    padding: 0 28px;
    background: #3d5330;
    color: #fff !important;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    box-shadow: 0 10px 24px rgba(61, 83, 48, 0.18);
}
.ss-instructor-btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.ss-instructor-btn:hover {
    background: #2f4125;
}

.ss-history {
    max-width: none;
    margin: 0 auto;
    padding: 24px 0 96px;
}
.ss-history-head {
    text-align: center;
    margin-bottom: 36px;
    padding: 0 24px;
}
.ss-history-head h2 {
    font-family: "Noto Serif KR", "Nanum Myeongjo", serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #1b3a72;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}
.ss-history-head h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin: 12px auto 0;
    background: #1b3a72;
    border-radius: 2px;
}
.ss-history-head p {
    font-size: 15px;
    color: #7a7a7a;
    word-break: keep-all;
}
.ss-history-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
}
.ss-history-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    padding: 8px 4px 16px;
}
.ss-history-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
    will-change: transform;
    transition: transform 0.5s ease;
}
.ss-history-row {
    display: flex;
    gap: 14px;
    width: max-content;
}
.ss-history-card {
    flex: 0 0 168px;
    width: 168px;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(40, 48, 70, 0.08);
    padding: 12px 10px 14px;
    color: var(--ss-tone, #1b3a72);
    border-bottom: 3px solid var(--ss-tone, #1b3a72);
    box-sizing: border-box;
}
.ss-history-card span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}
.ss-history-card.tone-blue { --ss-tone: #1d4f9c; }
.ss-history-card.tone-sky { --ss-tone: #2b7de1; }
.ss-history-card.tone-green { --ss-tone: #2f8a46; }
.ss-history-card.tone-black { --ss-tone: #222; }
.ss-history-card.tone-red { --ss-tone: #d32f2f; }
.ss-history-card.tone-purple { --ss-tone: #6a3bb5; }
.ss-history-card.tone-orange { --ss-tone: #e07012; }

.ss-history-nav {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #888;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    z-index: 2;
}
.ss-history-nav:hover {
    color: #222;
    border-color: #ccc;
}
.ss-history-nav svg {
    width: 20px;
    height: 20px;
}

.ss-footer {
    background: transparent;
    color: #555;
    padding: 80px 40px 48px;
}
.ss-footer-inner {
    max-width: var(--ss-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.ss-footer-brand {
    display: block;
    color: inherit;
}
.ss-footer-brand strong {
    display: block;
    font-family: "Cormorant Garamond", "Noto Serif KR", serif;
    font-size: 22px;
    letter-spacing: 0.14em;
    color: #222;
    font-weight: 600;
    line-height: 1.2;
}
.ss-footer-brand em {
    display: block;
    font-family: "Cormorant Garamond", "Noto Serif KR", serif;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: #444;
    margin-top: 6px;
    font-weight: 500;
}
.ss-footer-slogan {
    margin: 28px 0 0;
    font-size: 14px;
    line-height: 1.85;
    color: #555;
    word-break: keep-all;
}
.ss-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    font-size: 14px;
    color: #555;
}
.ss-footer-links a:hover { color: #111; }
.ss-copy {
    width: 100%;
    margin: 36px 0 0;
    padding-top: 22px;
    border-top: 1px solid #e4e4e4;
    font-family: "Cormorant Garamond", "Noto Serif KR", serif;
    font-size: 13px;
    color: #6a6a6a;
    letter-spacing: 0.02em;
}
.ss-footer-device {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

.ss-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ss-line);
    background: #fff;
    border-radius: 50%;
    color: var(--ss-text);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}
.ss-top.is-show { display: inline-flex; }

@media (max-width: 1023px) {
    .ss-hero-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 1024px) {
    .ss-header-inner {
        min-height: 76px;
        padding: 12px 16px;
    }
    .ss-square-btn {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 10px;
    }
    .ss-logo strong { font-size: 18px; }
    .ss-logo span { font-size: 8px; margin-top: 4px; }
    .ss-hero { padding: 0 0 16px; }
    .ss-intro { padding: 0 20px 32px; }
    .ss-intro-en { font-size: 24px; }
    .ss-intro-ko { font-size: 15px; }
    .ss-intro-brand { font-size: 40px; }
    .ss-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    .ss-hero-card figure {
        display: block;
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }
    .ss-hero-panel {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: auto;
        margin-top: 12px;
        padding: 14px 16px;
        border-radius: 14px;
        gap: 12px;
        box-shadow: 0 10px 24px rgba(44, 44, 44, 0.12);
        background: #fff;
    }
    .ss-hero-panel .ss-ico {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        color: #555;
        border-color: #e0e0e0;
    }
    .ss-hero-panel strong {
        font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
    .ss-hero-panel > div span {
        font-size: 13px;
        color: #888;
    }
    .ss-hero-panel b {
        color: #999;
        font-size: 20px;
        font-weight: 300;
    }
    .ss-class-thumbs,
    .ss-tile-thumb {
        display: block;
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }
    .ss-class-card,
    .ss-info-card {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: auto;
        margin: -28px 8px 0;
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(44, 44, 44, 0.1);
        background: #f5f5f5;
    }
    .ss-class-card-top {
        padding: 22px 16px 18px;
        align-items: center;
    }
    .ss-class-card-top strong {
        font-family: "Nanum Myeongjo", "Noto Serif KR", serif;
        font-size: 17px;
        font-weight: 700;
        color: #111;
    }
    .ss-class-card-top > div span {
        font-family: "Noto Sans KR", sans-serif;
        font-size: 13px;
        color: #777;
        line-height: 1.6;
    }
    .ss-class-ico {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        color: #222;
        border-color: #e0e0e0;
        background: transparent;
    }
    .ss-class-card-more {
        font-family: "Noto Sans KR", sans-serif;
        font-size: 15px;
        font-weight: 700;
        padding: 16px;
        border-top-color: #ececec;
    }
    .ss-services {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 20px 48px;
    }
    .ss-collage { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; }
    .ss-collage img { aspect-ratio: 16 / 9; }
    .ss-collage img:first-child { grid-row: auto; }
    .ss-footer { padding: 64px 24px 40px; }
    .ss-instructor {
        padding: 56px 20px 48px;
    }
    .ss-instructor-kicker::before,
    .ss-instructor-kicker::after {
        width: 28px;
    }
    .ss-instructor-desc {
        font-size: 14px;
        margin-bottom: 22px;
    }
    .ss-instructor-preview {
        width: min(100%, 360px);
        margin-bottom: 22px;
        border-radius: 12px;
    }
    .ss-instructor-btn {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 52px;
        padding: 14px 20px;
    }
    .ss-history {
        padding: 8px 0 72px;
    }
    .ss-history-slider {
        padding: 0 8px;
        gap: 4px;
    }
    .ss-history-card {
        flex-basis: 148px;
        width: 148px;
        min-height: 72px;
        padding: 10px 8px 12px;
    }
    .ss-history-card span {
        font-size: 12px;
    }
    .ss-history-nav {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    body.ss-site:not(.ss-index) .ss-page:not(:has(.gc-page)) { padding: 28px 20px 64px; }
    body.ss-groupclass #container.ss-page,
    #container:has(.gc-page) { padding: 0 !important; }
}

@media (min-width: 1025px) {
    .ss-header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        min-height: 88px;
        padding: 14px 40px;
        gap: 16px;
    }
    .ss-menu-toggle {
        display: none;
    }
    .ss-logo {
        position: static;
        transform: none;
        align-items: flex-start;
        text-align: left;
        justify-self: start;
    }
    .ss-nav {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 28px;
        grid-column: 2;
    }
    .ss-nav > a,
    .ss-nav-item > a {
        display: inline-flex;
        align-items: center;
        height: 40px;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: -0.02em;
        color: #4a4a4a;
        white-space: nowrap;
    }
    .ss-nav > a:hover,
    .ss-nav-item > a:hover {
        color: #111;
    }
    .ss-nav-item {
        position: relative;
    }
    .ss-nav-sub {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 180px;
        padding: 10px 0;
        background: #fff;
        border: 1px solid #eceae6;
        border-radius: 10px;
        box-shadow: 0 12px 28px rgba(44, 44, 44, 0.08);
        z-index: 5;
    }
    .ss-nav-item:hover .ss-nav-sub,
    .ss-nav-item:focus-within .ss-nav-sub {
        display: block;
    }
    .ss-nav-sub a {
        display: block;
        padding: 8px 16px;
        font-size: 13px;
        color: #555;
        white-space: nowrap;
    }
    .ss-nav-sub a:hover {
        color: #111;
        background: #f7f6f4;
    }
    .ss-share-btn {
        justify-self: end;
        grid-column: 3;
    }
    .ss-drawer {
        display: none !important;
    }
    .ss-phrase {
        padding: 128px 40px 112px;
    }
    .ss-phrase-ko {
        font-size: 17px;
    }
    .ss-phrase-en {
        font-size: 22px;
        letter-spacing: 0.14em;
    }
    .ss-phrase-rule {
        width: min(520px, 86%);
        margin: 32px auto 28px;
    }
    .ss-crest {
        width: 32px;
        height: 32px;
        margin-bottom: 28px;
    }
}

@media (min-width: 1440px) {
    body.ss-site { --ss-max: 1280px; }
    .ss-intro-brand { font-size: 72px; }
    .ss-intro-en { font-size: 36px; }
}
/* Responsive: keep ss-phrase-en on one line on small screens */
@media (max-width: 480px) {
    .ss-phrase-en {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        line-height: 1;
        display: block;
        max-width: 100%;
    }
}
/* Continuous marquee for the history cards */
.ss-history-track {
    transition: none;
}
.ss-history-row {
    animation: ss-history-marquee 28s linear infinite;
    will-change: transform;
}
.ss-history-row:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 32s;
}
.ss-history-row:nth-child(3) {
    animation-duration: 30s;
}
@keyframes ss-history-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ss-history-row { animation: none; }
}