@charset "utf-8";
@import url("font.css");

html {
    scroll-padding-top: 114px;
}

/* css변수들 */
:root {
    --font-main: "Pretendard", "Noto Sans KR", sans-serif;
    --font-point: "MaruBuri", serif;
    --app-height: 100svh;
    --color-white: #fff;
    --color-black: #141415;
    --color-primary: #1c2b20;
    --color-primary-light: #5c7965;
    --color-accent: #476851;
    --color-accent-gold: #ffd175;
    --color-background: #eaeaea;
    --transition: all 300ms ease-in-out;
    --shadow-md: 0 10px 30px rgba(28, 43, 32, 0.05);
    --color-border: #dbe4dd;
    --color-text-muted: #5c7965;
    --font-serif: var(--font-point);
    --bp-bg: #f9fcfb;
    --bp-grid: rgba(11, 77, 84, 0.05);
    --bp-text-main: #0b4d54;
    --bp-text-muted: #5e949a;
    --bp-accent: #3197a9;
    --bp-card-bg: #ffffff;
    --bp-card-border: rgba(11, 77, 84, 0.1);
    --bp-line: rgba(11, 77, 84, 0.15);
    --bp-glow: 0 8px 25px rgba(11, 77, 84, 0.08);
    --bp-fill-color: #6fb9c4;
}

[data-theme="dark"] {
    --bp-bg: #020617;
    --bp-grid: rgba(6, 182, 212, 0.1);
    --bp-text-main: #e2e8f0;
    --bp-text-muted: #94a3b8;
    --bp-accent: #06b6d4;
    --bp-card-bg: rgba(6, 182, 212, 0.03);
    --bp-card-border: rgba(6, 182, 212, 0.3);
    --bp-line: rgba(6, 182, 212, 0.5);
    --bp-glow: 0 0 10px rgba(6, 182, 212, 0.5);
    --bp-fill-color: #06b6d4;
}

/* ====== 초기화 ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    vertical-align: top;
}
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* ====== 공통클래스 ====== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 120px 0;
    
    min-height: 900px;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
html, body {
    font-family: var(--font-main);
    color: var(--color-black);
    background-color: #edf7f1;
    font-size: 10px;
    overflow-x: hidden;
}
body {
    font-size: 1.6rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html.mobile-menu-open, body.mobile-menu-open { }
.wrap {
    overflow-x: hidden;
    width: 100%;
}

/* ====== typoGraphy ====== */
h2 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    word-break: keep-all;
    color: var(--color-primary);
}
h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    word-break: keep-all;
    color: var(--color-primary);
}
h4 {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    word-break: keep-all;
    color: var(--color-primary);
}
.desc {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.02em;
    word-break: keep-all;
    color: var(--color-text-muted);
}
/* 접근성 숨김 텍스트 */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.br-mobile {
    display: none;
}

/* ===== MOBILE BUTTON ===== */
.mb-btn {
    position: fixed;
    right: 20px;
    top: 46px;
    width: 28px;
    height: 22px;
    z-index: 1000;
    display: none;
    transition:
        top 300ms ease-in-out,
        opacity 300ms ease-in-out;
}
.mb-btn.header-hidden {
    top: -80px;
    opacity: 0;
    pointer-events: none;
}
.mb-btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transition: var(--transition);
}
.mb-btn span.line-top {
    top: 0;
}
.mb-btn span.line {
    top: 50%;
    transform: translateY(-50%);
}
.mb-btn span.line-bottom {
    bottom: 0;
}
.mb-btn.active {
    width: 44px;
    height: 44px;
    top: 22px;
    right: 22px;
    border: 1.5px solid rgba(23, 70, 100, .15);
    border-radius: 50%;
    background: rgba(255, 254, 248, .88);
    box-shadow: 0 4px 16px rgba(23, 70, 100, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mb-btn.active span {
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #1a3f5c;
}
.mb-btn.active span.line-top {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.mb-btn.active span.line {
    top: 50%;
    width: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
}
.mb-btn.active span.line-bottom {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ====== mobile-menu 영역 ====== */
.mb-nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: min(92vw, 390px);
    height: 100svh;
    height: var(--app-height);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    color: #1d403d;
    background:
        radial-gradient(circle at 10% 7%, rgba(255, 211, 104, 0.58) 0 7%, rgba(255, 230, 155, 0.24) 17%, transparent 28%),
        linear-gradient(168deg, #fff8d8 0%, #e8f4e5 34%, #c7e9e7 64%, #99d6df 100%);
    box-shadow: -18px 0 52px rgba(38, 91, 88, 0.2);
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1);
    isolation: isolate;
}
.mb-nav::before {
    content: "";
    position: absolute;
    top: 50px;
    left: -42px;
    width: 166px;
    height: 166px;
    border: 1px solid rgba(220, 170, 64, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 206, 94, 0.2);
    pointer-events: none;
    z-index: -1;
}
.mb-nav::after {
    content: none;
}
.mb-nav.active {
    transform: translateX(0);
}
.mb-nav-heading {
    position: relative;
    padding: 92px 28px 24px;
}
.mb-nav-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #8e681d;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}
.mb-nav-heading h2 {
    color: #153f43;
    font-family: var(--font-point);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: -0.055em;
}
.mb-nav-heading h2 em {
    position: relative;
    display: inline-block;
    z-index: 0;
    color: #a96816;
    font-style: normal;
}
.mb-nav-heading h2 em::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 1px;
    height: 7px;
    border-radius: 99px;
    background: rgba(245, 188, 62, 0.28);
    z-index: -1;
}
.mb-nav-heading p {
    margin-top: 13px;
    color: #506f6c;
    font-size: 1.3rem;
    font-weight: 500;
}
.mb-nav .mb-menu {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.mb-nav .mb-menu li {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.42s ease, transform 0.55s cubic-bezier(.22, 1, .36, 1);
}
.mb-nav.active .mb-menu li {
    opacity: 1;
    transform: translateY(0);
}
.mb-nav.active .mb-menu li:nth-child(1) { transition-delay: 0.28s; }
.mb-nav.active .mb-menu li:nth-child(2) { transition-delay: 0.38s; }
.mb-nav.active .mb-menu li:nth-child(3) { transition-delay: 0.48s; }
.mb-nav.active .mb-menu li:nth-child(4) { transition-delay: 0.58s; }
.mb-nav.active .mb-menu li:nth-child(5) { transition-delay: 0.68s; }
.mb-nav .mb-menu li a {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 62px;
    padding: 0 14px 0 6px;
    border: 1px solid rgba(160, 208, 220, .35);
    border-radius: 50px;
    color: #174664;
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 6px 20px rgba(38, 111, 130, .09), inset 0 1px 0 rgba(255, 255, 255, .80);
    transition: background .22s ease, box-shadow .22s ease, transform .18s ease;
}
.mb-nav .mb-menu li a::before,
.mb-nav .mb-menu li a::after {
    content: none;
}
.mb-nav .mb-menu li:hover a {
    background: rgba(255, 255, 255, .82);
    transform: translateY(-1px);
}
.mb-nav .mb-menu li.active a {
    border-color: rgba(239, 190, 63, .38);
    background: rgba(255, 253, 238, .88);
    box-shadow: 0 8px 24px rgba(200, 149, 34, .14), inset 0 1px 0 rgba(255, 255, 255, .90);
}
.mb-nav-footer {
    position: relative;
    min-height: 118px;
    margin-top: auto;
    padding: 8px 26px 20px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
}
.mb-nav-footer::before,
.mb-nav-footer::after {
    content: "";
    position: absolute;
    left: -12%;
    bottom: -34px;
    width: 125%;
    height: 80px;
    border-radius: 50% 50% 0 0;
    background: rgba(237, 251, 245, 0.36);
    transform: rotate(-3deg);
    z-index: -1;
}
.mb-nav-footer::after {
    bottom: -54px;
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(4deg);
}
.mb-sailboat {
    width: 76px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 7px 12px rgba(25, 76, 76, 0.18));
}
.mb-sail-left { fill: #fffef4; }
.mb-sail-right { fill: #eaf5ed; }
.mb-sail-mast { fill: #315852; }
.mb-sail-flag { fill: #eab750; }
.mb-sail-hull { fill: #315852; }
.mb-sail-wave {
    fill: none;
    stroke: rgba(38, 109, 111, 0.48);
    stroke-width: 3;
    stroke-linecap: round;
}
.mb-nav-footer p {
    padding-bottom: 9px;
    color: #47736f;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* ====== mobile-menu bg ====== */
.window-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background-color: #173f3d;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.window-mask.active {
    opacity: 0.34;
    visibility: visible;
}

/* Keep the hero readable before, during, and after motion startup. */
.hero-job,
.hero-main-title span,
.hero-copy-block .copy-line {
    opacity: 1;
    filter: none;
}
.hero-job,
.hero-copy-block .copy-line { transform: none; }
.hero-main-title span { transform: translateY(0) scaleY(1); }

/* ====== header 영역 ====== */
header {
    position: fixed;
    width: 100%;
    height: 114px;
    top: 0;
    left: 0;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    z-index: 997;

    transition:
        background-color 300ms ease-in-out,
        border-color 300ms ease-in-out,
        box-shadow 300ms ease-in-out,
        top 300ms ease-in-out;
}

header.header-hidden {
    top: -150px;
}

header.scrolled {
    background-color: rgba(238, 244, 232, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28, 43, 32, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
header .container {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    height: 100%;
}

/* logo */
header .logo a {
    display: flex;
    width: 230px;
    height: 104px;
    overflow: hidden;
    align-items: center;
}

header .logo img {
    display: block;
    width: 190px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

header nav {
}
header nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}
header nav ul li {
    position: relative;
}
header nav ul li a {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    padding: 8px 0;
    display: block;
    transition: var(--transition);
}
header nav ul li a:hover {
    color: var(--color-accent);
}
header nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
    transition: none;
}
header nav ul li.on a::after {
    width: 100%;
}
header nav ul li.on a {
    color: var(--color-accent);
    font-weight: 500;
}

/* ====== main 영역 ====== */
main {
    margin-top: 0;
}

/* ====== home 배경 ====== */
.sun-ray-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.sun-glow {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;

    background: radial-gradient(
        circle,
        rgba(255, 255, 190, 0.65) 0%,
        rgba(255, 255, 220, 0.25) 45%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(40px);
    animation: sunPulse 6s ease-in-out infinite alternate;
}
.ray-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 80svh;
    opacity: 0.25;
}

/* ====== flower canvas ====== */
#flowerCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* ====== home 영역 ====== */
.hero-section {
    background: linear-gradient(
        180deg,
        #edf7f1 0%,
        #cbe7d3 45%,
        #a2daf2 80%,
        #7ecceb 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
    height: 100svh;
    height: var(--app-height);
    min-height: 560px;
    overflow: visible;
    position: relative;
    z-index: 10;
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 120px), transparent 100%);
    mask-image: linear-gradient(to bottom, black calc(100% - 120px), transparent 100%);
}

.illustration-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.sunlight-rays {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100%;

    background: radial-gradient(
        circle at 50% 0px,
        rgba(255, 251, 224, 0.8) 0%,
        rgba(255, 255, 255, 0) 65%
    );
    mix-blend-mode: soft-light;
    animation: sunlight-pulse 8s ease-in-out infinite alternate;
}
.mountains {
    position: absolute;
    bottom: 90px;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 2;
}
.mountains svg {
    width: 100%;
    height: 100%;
}

.mountains svg path:first-child {
    fill: #9cb4a4;
}
.mountains svg path:nth-child(2) {
    fill: #708d79;
}

.lake-container {
    width: 100%;
    position: relative;
    line-height: 0;
    z-index: 4;
    flex-shrink: 0;
}

.lake-reflection {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 50px;

    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0) 75%
    );
    z-index: 1;
    pointer-events: none;
}

.boat-wrapper {
    position: absolute;
    bottom: 75px;
    left: 50%;
    z-index: 2;
    animation:
        boatFloat 5s ease-in-out infinite,
        boatVoyage 16s ease-in-out infinite;
    pointer-events: none;
    width: 136px;
    margin-left: -68px;
    transform-origin: center bottom;
}
.boat-svg {
    width: 136px;
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 7px 10px rgba(18, 41, 51, 0.28));
}

.waves {
    position: relative;
    width: 100%;
    height: 18svh;
    min-height: 130px;
    max-height: 180px;
}

.parallax > use {
    animation: move-forever 16s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 16s;
}

.parallax > use:nth-child(2) {
    animation-delay: -5s;
    animation-duration: 12s;
}

.parallax > use:nth-child(3) {
    animation-delay: -8s;
    animation-duration: 10s;
}

.parallax > use:nth-child(4) {
    animation-delay: -11s;
    animation-duration: 8s;
}

.sailboat {
    filter: drop-shadow(0 10px 10px rgba(61, 80, 68, 0.15));
}

.sailboat path:first-child {
    fill: #1b2a1f;
}
.sailboat rect {
    fill: #1b2a1f;
}

.sailboat path:nth-child(2) {
    fill: #fcfdfa;
}
.sailboat path:nth-child(3) {
    fill: #eff4ef;
}
.sailboat polygon {
    fill: #e5c392;
}

.floating-flowers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.flower {
    position: absolute;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    opacity: 0.85;
}

.flower.f1 {
    top: 20%;
    left: 8%;
    fill: #ffa07a;
    animation: float-flower-slow 7s ease-in-out infinite;
}
.flower.f2 {
    top: 35%;
    left: 15%;
    fill: #ffcc80;
    animation: float-flower-fast 5s ease-in-out infinite;
}
.flower.f3 {
    top: 55%;
    left: 5%;
    fill: #ffe0b2;
    animation: float-flower-slow 9s ease-in-out infinite 1s;
}
.flower.f4 {
    top: 25%;
    right: 12%;
    fill: #ffb74d;
    animation: float-flower-fast 6s ease-in-out infinite 0.5s;
}
.flower.f5 {
    top: 50%;
    right: 7%;
    fill: #ffffff;
    animation: float-flower-slow 8s ease-in-out infinite 2s;
}
.flower.f6 {
    top: 12%;
    right: 25%;
    fill: #ffd54f;
    animation: float-flower-slow 10s ease-in-out infinite;
}

.hero-sky-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}
.hero-text-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* hero slogan intro 간격 */
.hero-slogan-intro {
    margin-bottom: 19px;
}
.hero-slogan-main {
    margin-bottom: 40px;
}
.hero-profile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px; 
}

/* hero 기본 텍스트 애니메이션 */
.slogan-sub-poetic {
    font-family: var(--font-point);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.35;
    letter-spacing: -0.01em; 
    margin: 0;
    opacity: 0;
    animation: fade-up 1s ease-out forwards;
}
.slogan-title {
    color: var(--color-primary);
    word-break: keep-all;
    margin: 0;
    opacity: 0;
    animation: fade-up 1s ease-out 0.3s forwards;
}
.slogan-title .title-support,
.slogan-title .title-main {
    display: block;
    letter-spacing: -0.03em;
}
.slogan-title .highlight {
    position: relative;
    font-weight: 700;
    z-index: 1;
    display: inline-block;
}
.slogan-title .highlight::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 7px;
    background-color: rgba(255, 209, 117, 0.4);
    z-index: -1;
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slogan-title .highlight.active::after {
    width: 100%;
}
/* ====== 타이핑 커서 ====== */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background-color: var(--color-primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: typingBlink 0.8s infinite;
}
@keyframes typingBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
.slogan-role {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    line-height: 1.1; 
    margin: 0;
    opacity: 0;
    animation: fade-up 1s ease-out 1.7s forwards;
}
.slogan-name {
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 6px 0 40px 0;
    opacity: 0;
    animation: fade-up 1s ease-out 1.9s forwards;
}
.slogan-name strong {
    font-weight: 700;
    margin: 0 4px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    animation: fade-up 1s ease-out 2.1s forwards;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background-color: var(--color-primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: typingBlink 0.8s infinite;
}
@keyframes typingBlink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
.slogan-role {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    line-height: 1.1; 
    margin: 0;
    opacity: 0;
    animation: fade-up 1s ease-out 1.7s forwards;
}
.slogan-name {
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 6px 0 40px 0;
    opacity: 0;
    animation: fade-up 1s ease-out 1.9s forwards;
}
.slogan-name strong {
    font-weight: 700;
    margin: 0 4px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    animation: fade-up 1s ease-out 2.1s forwards;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(28, 43, 32, 0.25);
}
.btn-primary:hover {
    background-color: var(--color-accent);
    box-shadow: 0 8px 25px rgba(71, 104, 81, 0.35);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-secondary:hover {
    background-color: rgba(28, 43, 32, 0.05);
    transform: translateY(-2px);
}

/* ====== home hero poster typography ====== */
.hero-text-wrap {
    max-width: 920px;
    position: relative;
    padding: 28px 24px 0;
    isolation: isolate;
}
.hero-compass {
    position: absolute;
    left: 50%;
    top: 48%;
    z-index: -1;
    width: min(800px, 95vw);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: compass-reveal 1.2s ease-out 0.15s forwards;
    transition: filter 0.4s ease;
}
.hero-compass:hover {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4)) brightness(1.05);
}
.compass-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.compass-anchor {
    transform-box: view-box;
    transform-origin: 50% 86%;
    transform: scale(.42);
    filter: drop-shadow(0 2px 0 rgba(255,255,255,.55));
    animation: compassAnchorSway 6s ease-in-out infinite;
}

@keyframes compassAnchorSway {
    0%, 100% { transform: rotate(-5deg) translateY(0) scale(.42); }
    50% { transform: rotate(5deg) translateY(1.5px) scale(.42); }
}

/* ====== hero outline typography ====== */

/* 배경 아웃라인 텍스트 */
.hero-bg-text {
    position: relative;
    line-height: 1;
    margin-bottom: -0.2em; /* 아래 텍스트와 자연스럽게 연결 */
    overflow: hidden;
    opacity: 0;
    animation: fade-up 1s ease-out 0.1s forwards;
}
.bg-text-ghost {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(3.5rem, 7vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    /* 아웃라인만 보이는 텍스트 */
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(35, 87, 79, 0.18);
    text-align: center;
    user-select: none;
}

/* 이름 스택 */
.hero-name-stack {
    position: relative;
    line-height: 1;
    margin-bottom: 8px;
}
.name-ghost {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(2.8rem, 5.5vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(35, 87, 79, 0.15);
    text-align: center;
    user-select: none;
    pointer-events: none;
}
.hero-name-stack .slogan-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-46%, -38%); /* 중앙 위치 미세 조정 */
    width: 100%;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}
/* 이름 강조 밑줄 */
.slogan-name strong {
    position: relative;
    font-weight: 700;
}
.slogan-name strong::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(229, 195, 146, 0.7); /* 골드 라인 */
    border-radius: 2px;
}
.hero-route {
    position: absolute;
    left: 50%;
    top: calc(100% + 20px);
    z-index: 0;
    width: 150px;
    height: clamp(140px, 18svh, 220px);
    transform: translateX(-50%);
    opacity: 0;
    animation: fade-up 1s ease-out 2.15s forwards;
    pointer-events: none;
}
.hero-route svg {
    width: 100%;
    height: 100%;
    display: block;
}
.hero-slogan-intro {
    margin-bottom: 14px;
}
.hero-slogan-main {
    margin-bottom: 26px;
}
.hero-profile-meta {
    gap: 8px;
}
.slogan-sub-poetic {
    font-family: var(--font-point);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: rgba(35, 66, 61, 0.9);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}
.slogan-title {
    color: #1b332f;
}
.slogan-title .title-support {
    margin-bottom: 7px;
    font-family: var(--font-point);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.15;
    color: #23423d;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.62);
}
.slogan-title .title-main {
    font-family: var(--font-point);
    font-size: clamp(3.2rem, 4vw, 4.4rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #16342f;
    text-shadow:
        0 2px 0 rgba(255, 255, 255, 0.66),
        0 10px 24px rgba(19, 54, 49, 0.12);
}
.slogan-title .highlight {
    font-weight: 700;
    transform: none;
    transform-origin: center bottom;
}
.slogan-title .highlight::after {
    bottom: 2px;
    left: 50%;
    height: 14px;
    background: linear-gradient(90deg, rgba(255, 209, 117, 0), rgba(255, 209, 117, 0.6), rgba(255, 209, 117, 0));
    border-radius: 999px;
    transform: translateX(-50%);
}
.slogan-title .highlight.active::after {
    width: 106%;
}
.slogan-role {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2f6f67;
    letter-spacing: 0.25em;
    padding: 10px 54px 8px;
    border-top: 1px solid rgba(47, 111, 103, 0.34);
    border-bottom: 1px solid rgba(47, 111, 103, 0.34);
    background: rgba(255, 255, 255, 0.12);
}
.slogan-name {
    font-family: var(--font-point);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: #23423d;
    margin: 10px 0 36px;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.58);
}
.slogan-name strong {
    font-weight: 600;
}

/* ==================== KEYFRAMES ==================== */
@keyframes compass-reveal {
    0% {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.94) rotate(-8deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}
@keyframes fade-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ====== about 영역 ====== */
#about {
    background: linear-gradient(160deg, #fdf5f2 0%, #faeee9 60%, #f5e4dd 100%);
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title .sub-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}
.section-title h2 {
    margin-bottom: 5px;
}
.section-title .title-line {
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.certificate-frame {
    margin: 40px auto;
    max-width: 900px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow:
        0 30px 60px rgba(64, 224, 208, 0.15),
        inset 0 0 10px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 1px solid #fce4ec;
}

/* ============================================================
   ABOUT SECTION - Swiper Card
   ============================================================ */
#about.about-section { padding-top: 80px;
    scroll-margin-top: -10px;
    background-image: url(../images/wood_bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -120px;
    padding-top: 160px;
    padding-bottom: 200px;
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll from offset 3D cards */
}

#about.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, rgba(253, 245, 242, 0.7) 0%, rgba(253, 245, 242, 0) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

#about.about-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(253, 245, 242, 0.4) 0%, rgba(253, 245, 242, 0) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
    mask-image: linear-gradient(to top, black 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

#about.about-section .container {
    position: relative;
    z-index: 2;
}

.about-layout {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start; /* 카드 상단 정렬 */
    gap: 156px; /* 카드 사이 간격 */
    max-width: 1200px;
    margin: 15px auto 0;
    width: 100%;
    position: relative;
}

.about-card-swiper {
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding-bottom: 30px;
    overflow: visible;
    z-index: 15;
    position: relative;
}
.about-card-swiper .swiper-wrapper {
    position: relative;
    z-index: 10;
}

/* ---- 카드 공통 ---- */
.about-card {
    background: #ffffff;
    background-image: 
        repeating-linear-gradient(transparent, transparent 31px, rgba(11, 77, 84, 0.05) 31px, rgba(11, 77, 84, 0.05) 32px);
    border-radius: 4px;
    border: 1px solid rgba(11, 77, 84, 0.15);
    box-shadow: 
        0 20px 50px rgba(11, 77, 84, 0.15),
        0 10px 20px rgba(11, 77, 84, 0.1);
    min-height: 540px;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 20px 40px; /* Extra left padding for binder line */
    overflow: hidden;
    position: relative;
    user-select: none;
    color: #0b4d54;
}
.about-card::before {
    content: 'Warm Guide\'s Logbook';
    position: absolute;
    top: 15px; right: 20px;
    font-family: var(--font-point);
    font-size: 1.1rem;
    color: rgba(11, 77, 84, 0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}
.about-card::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 20px;
    width: 2px;
    border-left: 2px dotted rgba(11, 77, 84, 0.3);
}

/* ---- 카드 번호 영역 ---- */
.ac-top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}
.ac-num {
    font-family: var(--font-point);
    font-size: 3.2rem;
    font-weight: 800;
    color: #3197a9; /* Deep cool cyan */
    line-height: 1;
}
.ac-en {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #5e949a;
    letter-spacing: 1px;
    line-height: 1;
}
.ac-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0b4d54;
    font-family: var(--font-point);
    min-height: 64px;
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
    line-height: 32px;
    position: relative;
    z-index: 2;
}
.ac-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(72, 202, 228, 0.3);
}
.ac-rule {
    display: none;
}

/* ---- 본문 ---- */
.ac-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.ac-body p {
    min-height: 32px;
    margin-bottom: 0;
    line-height: 32px;
    word-break: keep-all;
}
.ac-body .ac-italic {
    position: relative;
    font-style: italic;
    font-family: var(--font-point);
    color: #1b6e62;
    font-size: 1.35rem;
    margin-top: 0;
    margin-bottom: 32px;
}
.ac-body .ac-italic::after {
    content: "";
    position: absolute;
    right: 4%;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: rgba(72, 202, 228, 0.22);
}
.ac-body .ac-book {
    font-family: var(--font-point);
    font-style: italic;
    color: #5a7a70;
    font-size: 1.35rem;
}

/* ---- 카드 1 하단 ---- */
.ac-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(72,202,228,0.15);
    flex-shrink: 0;
}
.ac-profile { display: flex; align-items: center; gap: 4px; }
.ac-profile img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(72,202,228,0.4);
}
.ac-name {
    font-family: var(--font-point);
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b4d44;
    letter-spacing: 2px;
}
.ac-lighthouse { width: 36px; height: 74px; opacity: 0.55; flex-shrink: 0; }

/* ---- 카드 2 아이콘 리스트 ---- */
.ac-icon-list {
    list-style: none;
    padding: 14px 0 0;
    margin: 14px 0 0;
    border-top: 1px solid rgba(72,202,228,0.15);
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-shrink: 0;
}
.ac-icon-list li {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.35rem;
    color: #3a4a46;
    line-height: 1.5;
    word-break: keep-all;
}
.ac-ci { font-size: 1.5rem; width: 26px; text-align: center; flex-shrink: 0; }

/* ---- 카드 3 섹션 ---- */
.about-card-03 {
    padding-top: 32px;
    padding-bottom: 28px;
}
.about-card-03 .ac-top {
    align-items: center;
    min-height: 32px;
    margin-bottom: 32px;
}
.about-card-03 .ac-ps-section {
    display: grid;
    grid-template-rows: 32px 64px;
    margin-bottom: 32px;
}
.about-card-03 .ac-ps-section:last-of-type {
    margin-bottom: 0;
}
.ac-ps-section h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1b4d44;
    min-height: 32px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}
.ac-ps-section h4 span {
    font-size: 1.1rem;
    color: #7ab5a8;
    font-style: italic;
    font-weight: 400;
    font-family: var(--font-point);
}
.ac-ps-section ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 0 2px;
}
.ac-ps-section ul li {
    font-size: 1.35rem;
    color: #4a5e58;
    min-height: 32px;
    line-height: 32px;
    padding-left: 16px;
    position: relative;
    word-break: keep-all;
}
.ac-ps-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #48cae4;
}
.ac-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-top: 0;
    height: 64px;
    align-content: flex-start;
}
.ac-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    margin: 3px 0;
    font-size: 1.2rem;
    background: rgba(72,202,228,0.09);
    color: #1b5e54;
    padding: 0 13px;
    border-radius: 20px;
    border: 1px solid rgba(72,202,228,0.28);
    font-weight: 500;
}

/* ---- 카드별 이미지 오버레이 ---- */
.about-card-01 .ac-body {
    padding-right: 20px;
    justify-content: flex-start;
    padding-top: 0;
}
.about-card-01 .ac-footer {
    justify-content: flex-end;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.about-card-01 .ac-profile {
    display: flex;
    align-items: center;
    padding-top: 20px;
}
.about-card-01 .ac-profile img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 20px rgba(11, 77, 84, 0.15);
    position: absolute;
    bottom: 42px;
    right: 20px;
    z-index: 8;
}

.about-card-02 .ac-icon-list {
    list-style: none;
    padding: 0;
    margin-top: -1px;
    border-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.about-card-02 .ac-body {
    flex: 0 0 auto;
    justify-content: flex-start;
}
.about-card-02 .ac-icon-list li {
    display: flex;
    align-items: center;
    min-height: 32px;
    line-height: 32px;
}
.about-card-02 .ac-icon-list .ac-ci {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(11, 77, 84, 0.08);
    margin-right: 14px;
    flex-shrink: 0;
}
.about-card-02 .ac-icon-list li span:not(.ac-ci) {
    font-size: 1.25rem;
    color: #1b4d44;
    font-weight: 500;
    line-height: 32px;
}

.about-card-03 .ac-profile-large {
    position: absolute;
    bottom: 48px;
    right: 20px;
    z-index: 4;
}
.about-card-03 .ac-name {
    font-family: var(--font-point);
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b4d54;
    letter-spacing: 2px;
    transform: rotate(-5deg);
    display: block;
}

/* ---- 스와이퍼 버튼 스타일 ---- */
.about-card-swiper .swiper-button-prev,
.about-card-swiper .swiper-button-next {
    color: #48cae4;
    background: rgba(255,255,255,0.92);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    top: 50%;
}
.about-card-swiper .swiper-button-prev::after,
.about-card-swiper .swiper-button-next::after { font-size: 1.4rem; font-weight: 700; }
.about-card-swiper .swiper-button-prev { left: -54px; }
.about-card-swiper .swiper-button-next { right: -54px; }
.about-card-swiper .swiper-pagination { bottom: 6px; }
.about-card-swiper .swiper-pagination-bullet {
    background: #48cae4;
    opacity: 0.35;
    width: 8px; height: 8px;
    transition: opacity 0.3s, transform 0.3s;
}
.about-card-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #1b6e62;
    transform: scale(1.3);
}

/* ---- 스와이프 제스처 가이드 ---- */
.about-swiper-gesture-helper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none; /* 카드 조작을 방해하지 않음 */
    display: none; /* 600px 이하에서 표시 */
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
}

/* 스와이프 안내가 사라진 상태 */
.about-swiper-gesture-helper.dismissed {
    opacity: 0;
    visibility: hidden;
}

.about-swiper-gesture-helper .gesture-hand-wrapper {
    position: relative;
    width: 104px;
    min-height: 66px;
    padding: 11px 16px 9px 20px;
    background:
        repeating-linear-gradient(0deg, transparent 0 17px, rgba(71, 104, 81, 0.08) 17px 18px),
        rgba(255, 252, 244, 0.88);
    border: 1px solid rgba(71, 104, 81, 0.2);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 12px 24px rgba(28, 43, 32, 0.13),
        8px 8px 0 rgba(255, 245, 226, 0.72);
    color: var(--color-accent);
    animation: handSwipeAnimation 2.4s infinite ease-in-out;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: rotate(-1deg);
}

.about-swiper-gesture-helper .gesture-hand-wrapper::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 38px;
    height: 12px;
    background-color: rgba(255, 209, 117, 0.52);
    border-radius: 2px;
    transform: translateX(-50%) rotate(-2deg);
}

.about-swiper-gesture-helper .gesture-hand-wrapper::after {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 11px;
    border-left: 1px dotted rgba(71, 104, 81, 0.42);
}

.gesture-hand-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

.gesture-arrow,
.gesture-tap-ring,
.gesture-hand {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gesture-arrow {
    stroke-width: 3;
    opacity: 0.72;
    animation: gestureArrow 1.5s infinite ease-in-out;
}

.gesture-tap-ring {
    stroke-width: 2.2;
    opacity: 0.28;
}

.gesture-hand {
    stroke-width: 3;
    opacity: 0.96;
}

.gesture-label {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    color: rgba(71, 104, 81, 0.82);
}

/* 손가락 스와이프 안내 애니메이션 */
@keyframes handSwipeAnimation {
    0% {
        transform: translateX(0) rotate(-1deg);
    }
    25% {
        transform: translateX(14px) rotate(-1deg);
    }
    50% {
        transform: translateX(-14px) rotate(-1deg);
    }
    100% {
        transform: translateX(0) rotate(-1deg);
    }
}

@keyframes gestureArrow {
    0%, 100% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
}

/* ===== MODERN GALLERY WALL (ABS POSITIONING IN CONTAINER) ===== */
.polaroid-container {
    position: relative;
    width: 380px;
    height: 520px;
    flex-shrink: 0;
    z-index: 10;
}

.polaroid-container .polaroid-card {
    position: absolute;
    width: 195px;
    pointer-events: auto;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    background: #fff;
    padding: 10px 10px 16px 10px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.polaroid-container .polaroid-card:hover {
    transform: scale(1.1) rotate(0deg);
    z-index: 25;
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
}

/* Gallery Placements */
.polaroid-container .card-1 {
    left: 0;
    top: 41px;
    z-index: 10;
    transform: rotate(-3deg);
}

.polaroid-container .card-2 {
    left: 175px; /* Card 1 오른쪽 배치 */
    top: 134px; /* Card 1보다 아래 배치 */
    z-index: 9; /* Card 3보다 위에 배치 */
    transform: rotate(4deg);
}

.polaroid-container .card-3 {
    left: 41px; /* 수평 중앙 위치 조정 */
    top: 306px; /* Card 1, 2 아래 배치 */
    z-index: 8; /* Card 1, 2 뒤에 배치 */
    transform: rotate(2deg); /* 오른쪽으로 살짝 회전 */
}

/* 장식 요소 위치 배치 */
/* deco-1: 오른쪽 상단 배치 */
.about-card-swiper .deco-1 {
    position: absolute;
    bottom: -15px;
    right: -20px;
    top: auto;
    left: auto;
    transform: rotate(5deg);
    z-index: 25;
}
.polaroid-container .deco-2 {
    position: absolute;
    top: 290px;
    left: -60px;
    transform: rotate(-6deg);
    z-index: 12;
}
/* deco-3(Ahoy!): 카드 1 왼쪽 상단 배치 */
.about-card-swiper .deco-3 {
    position: absolute;
    top: -18px;
    left: -20px;
    transform: rotate(-6deg);
    z-index: 25;
}
.about-card-swiper .deco-3 .masking-tape {
    top: -9px;
    left: 20%;
    transform: rotate(-12deg);
    width: 48px;
    height: 18px;
}

/* 핀 장식 요소 */
.pushpin-red {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset -2px -2px 4px rgba(0,0,0,0.4);
    z-index: 10;
}

/* Deco Items Styles (Modern Glassmorphism & Neat) */
.deco-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: #fff;
    text-align: center;
    font-weight: 600;
    width: 150px;
}
.deco-item.glass-note {
    background: rgba(240, 248, 255, 0.2);
    border-radius: 4px;
    padding: 20px 15px;
}
.deco-item.glass-note p {
    color: #e8f5ec;
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    font-family: var(--font-point);
    letter-spacing: 1px;
}
.deco-item.photo-card {
    background: #fff;
    padding: 8px 8px 18px 8px;
    border-radius: 2px;
}
.deco-item .photo-inner {
    background: #e8f0f2;
    border-radius: 2px;
    overflow: hidden;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.deco-item.photo-card img {
    max-width: 90%;
    height: auto;
}
.deco-item.mini {
    padding: 12px 10px;
    width: 110px;
}

/* Masking Tape (Cozy Scrapbook Style) */
.masking-tape {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 80px;
    height: 24px;
    background-color: rgba(255, 248, 220, 0.85); /* Default Warm Cream */
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.4);
    backdrop-filter: blur(1.5px);
    z-index: 5;
    
    /* Torn edges using clip-path polygon for scrapbook aesthetic */
    clip-path: polygon(
        0% 8%, 2% 0%, 98% 0%, 100% 8%, 
        98% 20%, 100% 40%, 98% 60%, 100% 80%, 97% 100%, 3% 100%, 
        1% 80%, 2% 60%, 0% 40%, 2% 20%
    );
    
    /* Cozy paper texture effect with multiple overlay gradients */
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0px, rgba(255, 255, 255, 0.1) 2px, transparent 2px, transparent 4px),
        linear-gradient(to right, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.02) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.02) 75%, rgba(255, 255, 255, 0.15) 100%);
    background-blend-mode: overlay;
}
.blue-tape { 
    background-color: rgba(215, 235, 252, 0.85); 
    width: 70px; 
    transform: translateX(-50%) rotate(2deg); 
}
.pink-tape { 
    background-color: rgba(253, 224, 230, 0.85); 
    width: 90px; 
    transform: translateX(-50%) rotate(-3deg); 
}
.green-tape { 
    background-color: rgba(224, 242, 225, 0.85); 
    width: 60px; 
    transform: translateX(-50%) rotate(4deg); 
}

/* 카드별 마스킹 테이프 배치 */
.card-1 .masking-tape {
    top: -12px;
    left: 20%;
    transform: rotate(-12deg);
    background-color: rgba(215, 235, 252, 0.88); /* 파스텔 블루 테이프 */
    width: 70px;
}
.card-2 .masking-tape {
    top: -12px;
    left: auto;
    right: 20%;
    transform: rotate(12deg);
    background-color: rgba(253, 224, 230, 0.88); /* 파스텔 핑크 테이프 */
    width: 70px;
}
.card-3 .masking-tape {
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    background-color: rgba(224, 242, 225, 0.88); /* 파스텔 그린 테이프 */
    width: 70px;
}

.certificate-glass {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    box-shadow: inset 0 5px 25px rgba(0, 0, 0, 0.7);
    position: relative;
    border-radius: 4px;
}
.certificate-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 100%
    );
    pointer-events: none;
    z-index: 10;
}

.certificate-paper {
    background: #f9f7f4;
    border: 6px double #6fb9c4;
    padding: 60px 80px;
    position: relative;
    box-shadow: 0 0 20px rgba(70, 160, 160, 0.1);
    border-radius: 2px;
}

.cert-header {
    text-align: center;
    margin-bottom: 40px;
}
.cert-title {
    font-family: var(--font-point);
    font-size: 3.2rem;
    color: #0b4d54;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 700;
}
.cert-subtitle {
    font-size: 1.6rem;
    color: #48cae4;
    letter-spacing: 5px;
    margin-bottom: 40px;
    font-weight: 500;
}
.cert-philosophy p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    font-family: var(--font-point);
}
.cert-philosophy strong {
    color: #0b4d54;
    font-weight: 700;
}

.cert-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #48cae4, transparent);
    margin: 40px 0;
}

.cert-body {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.cert-profile-section {
    display: flex;
    align-items: center;
    gap: 40px;
}
.cert-photo {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    overflow: hidden;
    border: 3px solid #0b4d54;
    padding: 5px;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(64, 224, 208, 0.15);
}
.cert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}
.cert-info {
    flex: 1;
}
.cert-info h4,
.cert-column h4 {
    font-size: 1.8rem;
    color: #0b4d54;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid rgba(11, 77, 84, 0.15);
    padding-bottom: 10px;
    display: inline-block;
}
.cert-info ul,
.cert-column ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.cert-info li {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
}
.cert-info li strong {
    width: 80px;
    color: #0b4d54;
    font-weight: 700;
}
.cert-info li span {
    color: #555;
}
.btn-cert {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #0b4d54;
    color: #0b4d54;
    font-size: 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-weight: 500;
}
.btn-cert:hover {
    background: #3197a9;
    border-color: #3197a9;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(49, 151, 169, 0.3);
    transform: translateY(-2px);
}

.cert-details-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.cert-column {
    flex: 1;
}
.cert-column li {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: #444;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}
.cert-column li::before {
    content: "";
    color: #48cae4;
    position: absolute;
    left: 0;
    font-size: 1.8rem;
    top: -2px;
}

.cert-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.about-card .cert-tags-list li {
    padding-left: 0;
    font-size: 1.3rem;
    background: rgba(72, 202, 228, 0.1);
    color: #0b4d54;
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid rgba(72, 202, 228, 0.4);
    font-weight: 500;
}
.about-card .cert-tags-list li::before {
    display: none;
}

.cert-footer {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.cert-signature {
    text-align: center;
}
.cert-signature .sign-title {
    display: block;
    font-size: 1.4rem;
    color: #777;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.cert-signature .sign-name {
    font-family: var(--font-point);
    font-size: 2.8rem;
    color: #0b4d54;
    border-bottom: 1px solid #0b4d54;
    padding: 0 40px 5px 40px;
    display: inline-block;
    font-style: italic;
}

.cert-seal {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #48cae4, #00b4d8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 5px 15px rgba(72, 202, 228, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
    position: relative;
    border: 2px dashed #ffffff;
    outline: 3px solid #48cae4;
    outline-offset: -6px;
    transform: rotate(-10deg);
}
.seal-inner {
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    font-family: var(--font-point);
}
.btn-resume:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.map-certifications h4 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}
.cert-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.cert-tags span {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    border: 1px solid rgba(71, 104, 81, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    width: 150px;
    height: 150px;
    border-radius: 5px;
    overflow: hidden;
    border: 3px solid #0b4d54;
    padding: 5px;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(64, 224, 208, 0.15);
}
.cert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}
.cert-info {
    flex: 1;
}
.cert-info h4,
.cert-column h4 {
    font-size: 1.8rem;
    color: #0b4d54;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid rgba(11, 77, 84, 0.15);
    padding-bottom: 10px;
    display: inline-block;
}
.cert-info ul,
.cert-column ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.cert-info li {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
}
.cert-info li strong {
    width: 80px;
    color: #0b4d54;
    font-weight: 700;
}
.cert-info li span {
    color: #555;
}
.btn-cert {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #0b4d54;
    color: #0b4d54;
    font-size: 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-weight: 500;
}
.btn-cert:hover {
    background: #3197a9;
    border-color: #3197a9;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(49, 151, 169, 0.3);
    transform: translateY(-2px);
}

.cert-details-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.cert-column {
    flex: 1;
}
.cert-column li {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: #444;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}
.cert-column li::before {
    content: '';
    color: #48cae4;
    position: absolute;
    left: 0;
    font-size: 1.8rem;
    top: -2px;
}

.cert-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.about-card .cert-tags-list li {
    padding-left: 0;
    font-size: 1.3rem;
    background: rgba(72, 202, 228, 0.1);
    color: #0b4d54;
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid rgba(72, 202, 228, 0.4);
    font-weight: 500;
}
.about-card .cert-tags-list li::before {
    display: none;
}

.cert-footer {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.cert-signature {
    text-align: center;
}
.cert-signature .sign-title {
    display: block;
    font-size: 1.4rem;
    color: #777;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.cert-signature .sign-name {
    font-family: var(--font-point);
    font-size: 2.8rem;
    color: #0b4d54;
    border-bottom: 1px solid #0b4d54;
    padding: 0 40px 5px 40px;
    display: inline-block;
    font-style: italic;
}

.cert-seal {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #48cae4, #00b4d8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 5px 15px rgba(72, 202, 228, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
    position: relative;
    border: 2px dashed #ffffff;
    outline: 3px solid #48cae4;
    outline-offset: -6px;
    transform: rotate(-10deg);
}
.seal-inner {
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    font-family: var(--font-point);
}
.btn-resume:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.map-certifications h4 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}
.cert-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.cert-tags span {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    border: 1px solid rgba(71, 104, 81, 0.2);
    display: none;
}

.cert-footer {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.cert-signature {
    text-align: center;
}
.cert-signature .sign-title {
    display: block;
    font-size: 1.4rem;
    color: #777;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.cert-signature .sign-name {
    font-family: var(--font-point);
    font-size: 2.8rem;
    color: #0b4d54;
    border-bottom: 1px solid #0b4d54;
    padding: 0 40px 5px 40px;
    display: inline-block;
    font-style: italic;
}

.cert-seal {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #48cae4, #00b4d8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 5px 15px rgba(72, 202, 228, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.5);
    position: relative;
    border: 2px dashed #ffffff;
    outline: 3px solid #48cae4;
    outline-offset: -6px;
    transform: rotate(-10deg);
}
.seal-inner {
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    font-family: var(--font-point);
}
.btn-resume:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.map-certifications h4 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}
.cert-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.cert-tags span {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    border: 1px solid rgba(71, 104, 81, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}
.cert-tags span:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(71, 104, 81, 0.1);
}

/* ====== skill 영역 ====== */
.corkboard-section {
    position: relative;
    width: 100%;

    background-color: #e5f1ec;
    background-image: url("../images/wood_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 150px;
}

.corkboard-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.title-corkboard h2 {
    color: #3e2723;
}

.polaroid-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.polaroid-card {
    background: #fff;
    padding: 10px 10px 16px 10px;
    width: 195px;
    box-shadow: 2px 8px 15px rgba(11, 77, 84, 0.1);
    position: relative;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.polaroid-card:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.05);
    box-shadow: 5px 15px 25px rgba(11, 77, 84, 0.15);
    z-index: 10;
}

.thumbtack {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow:
        inset -2px -2px 4px rgba(0, 0, 0, 0.5),
        2px 4px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.thumbtack.red {
    background: radial-gradient(circle at 30% 30%, #ff5e5e, #c00);
}
.thumbtack.silver {
    background: radial-gradient(circle at 30% 30%, #e0e0e0, #888);
}

.polaroid-photo {
    width: 100%;
    height: 125px; /* Compact rectangular polaroid photo area */
    background-color: #dbe6e8; /* Updated from inline style */
    box-shadow: inset 0 0 10px rgba(11, 77, 84, 0.05);
    margin-bottom: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.circular-chart {
    display: block;
    width: 100px;
    height: 100px;
}

/* Typographic Skill Content inside Polaroid Photo (Mockup Matching) */
.polaroid-skill-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    color: #2a3d40;
    padding-top: 10px;
}
.skill-percentage {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2a3233;
    font-family: var(--font-main);
    line-height: 1.1;
    letter-spacing: -1px;
}
.skill-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #6a7c80;
    font-family: var(--font-main);
    margin-top: 3px;
    letter-spacing: 0.5px;
}
.skill-icons {
    display: flex;
    gap: 4px;
    margin-top: 14px;
}
.skill-icon {
    width: 16px;
    height: 16px;
    color: #6a7c80;
}
.circle-bg {
    fill: none;
    stroke: #e0f2f5;
    stroke-width: 1.5;
    stroke-dasharray: 2, 4; /* Compass tick marks */
}
.circle {
    fill: none;
    stroke-width: 2.2; /* Reduced to prevent viewBox clipping */
    stroke-linecap: round;
    animation: progress 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}
.percentage {
    fill: #333;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.45em;
    text-anchor: middle;
}
.skill-label {
    fill: #777;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.25em;
    text-anchor: middle;
}

.card-1 .circle {
    stroke: #8a6a51;
}
.card-2 .circle {
    stroke: #5a856d;
}
.card-3 .circle {
    stroke: #5a7b9e;
}

.mini-wheel-wrap .polaroid-img {
    overflow: hidden;
    position: relative;
    background: #fff;
}
.mini-wheel-wrap .polaroid-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.mini-wheel-wrap .polaroid-img img.dw-scroll {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    min-height: 100%;
    transform: translateY(0);
    transition: transform 3.2s ease-out, top 3.2s ease-out;
}

.mini-wheel-wrap .polaroid-img img.dw-scroll-slow {
    transition-duration: 24s;
}

@media (hover: hover) and (pointer: fine) {
    .mini-wheel-wrap article.on .polaroid-card:hover .polaroid-img img.dw-scroll {
        top: 100%;
        transform: translateY(-100%);
    }

    .mini-wheel-wrap.dragging article.on .polaroid-card:hover .polaroid-img img.dw-scroll {
        top: 0;
        transform: translateY(0);
    }
}

.mini-wheel-wrap article.on .polaroid-card { cursor: zoom-in; }

.polaroid-caption {
    text-align: center;
    font-family: var(--font-main); /* Changed to Pretendard for clean readability */
    position: relative;
    z-index: 2;
}

.polaroid-caption h3 {
    font-size: 1.6rem; /* Increased from 1.3rem to 1.6rem for legibility */
    font-weight: 700;
    color: #083c42; /* Darkened from #0b4d54 for better contrast */
    margin-bottom: 6px;
    letter-spacing: -0.3px; /* Slightly tighter spacing for Pretendard title */
}

.polaroid-caption p {
    font-size: 1.3rem; /* Increased from 1.0rem to 1.3rem for legibility */
    color: #354e52; /* Darkened from #5e949a for high contrast readability */
    line-height: 1.45;
    margin: 0;
    font-family: var(--font-main); /* Changed from Courier New to Pretendard to prevent Korean spacing issues */
    font-weight: 500; /* Regular/Medium weight is ideal for Pretendard body */
    letter-spacing: -0.2px;
}

.voyage-log-section {
    scroll-margin-top: 64px;
    background: url("../images/desk_bg.jpg") center bottom/cover no-repeat fixed;
    padding: 100px 20px;
    position: relative;
    z-index: 10;
}
.voyage-log-section .section-title {
    display: none;
}
.voyage-book-wrapper {
    position: relative;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}
.voyage-book-decorations {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    max-width: 1900px;
    height: 1100px;
    background: url("../images/web_work_props.png") no-repeat center top;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
}
.voyage-book-container {
    max-width: 1100px;
    width: 100%;
    height: 680px;
    margin: 0 auto;
    display: flex;
    position: relative;
    box-shadow:
        0 40px 60px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    perspective: 1500px;
    z-index: 10;
}
.voyage-book-container::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: -5px;
    left: 5px;
    right: 5px;
    background: #e8dcc4;
    border-radius: 12px;
    z-index: -1;
    box-shadow: inset 0 0 10px rgba(100, 60, 20, 0.2);
}
.book-page {
    flex: 1;
    height: 100%;
    min-height: 0; /* Prevent flex item from expanding past container height */
    position: relative;
    padding: 50px 42px;
    box-sizing: border-box;
    overflow: hidden;
    background:
        linear-gradient(rgba(250, 250, 250, 0.75), rgba(250, 250, 250, 0.75)),
        repeating-linear-gradient(0deg, rgba(160, 120, 80, 0.08) 0 1px, transparent 1px 18px);
    background-color: #fbfbfb;
}
.book-left-page {
    border-radius: 10px 0 0 10px;
    box-shadow: inset -20px 0 40px rgba(0, 0, 0, 0.15);
}
.book-right-page {
    border-radius: 0 10px 10px 0;
    box-shadow: inset 20px 0 40px rgba(0, 0, 0, 0.15);
    padding-top: 50px;
}
.book-spine {
    width: 6px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.3)
    );
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.gold-clip {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 30px;
    height: 60px;
    border-radius: 4px;
    z-index: 10;
    background: linear-gradient(135deg, #d4af37, #f3e5ab, #aa801e);
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
}
.gold-clip::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

/* ====== web work clipboard clip ====== */
.voyage-book-container > .gold-clip {
    display: none;
}

/* ====== web work 영역 ====== */
.voyage-title-area {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: var(--font-main);
}
.anchor-icon {
    font-size: 2.6rem;
    color: #5a4b3c;
    display: block;
    margin-bottom: 8px;
 }
.sub-title-vintage {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #5a4b3c;
    margin-bottom: 16px;
 }
.voyage-title-area h2 {
    color: #1a1510;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(90, 75, 60, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}
.voyage-title-area p {
    font-size: 1.8rem;
    color: #4a3e30;
    line-height: 1.7;
 }
.watercolor-illustration {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}
.watercolor-illustration img {
    max-width: 90%;
    height: auto;
    max-height: 285px;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 0.9;
}
.book-tabs {
    position: absolute;
    top: -38px;
    right: 42px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 0;
}
.tab-item {
    background: #e8dcc4;
    padding: 12px 25px 22px 25px;
    border-radius: 12px 12px 0 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #5a4b3c;
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: none;
}
.tab-item:hover,
.tab-item.active {
    background: #c2b092;
    transform: translateY(-7px);
}
.project-list-scrollArea {
    height: 100%;
    overflow-y: scroll;
    padding-right: 30px;
    margin-right: -30px;
    scroll-behavior: smooth;
    scrollbar-color: rgba(125, 101, 70, 0.78) rgba(111, 83, 54, 0.1);
    scrollbar-width: thin;
}
.project-list-scrollArea::-webkit-scrollbar {
    width: 8px;
}
.project-list-scrollArea::-webkit-scrollbar-track {
    background: rgba(111, 83, 54, 0.08);
    border-radius: 10px;
}
.project-list-scrollArea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b59668, #7d6546);
    border-radius: 10px;
    border: 2px solid rgba(251, 248, 239, 0.82);
}
.scroll-cue {
    position: absolute;
    right: 24px;
    top: 64px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 7px 5px;
    pointer-events: none;
    background: rgba(247, 250, 243, 0.9);
    border: 1px solid rgba(71, 104, 81, 0.34);
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(28, 43, 32, 0.13);
}
.scroll-cue-arrow {
    display: block;
    width: 7px;
    height: 7px;
    border: solid rgba(54, 89, 65, 0.9);
    border-width: 1.5px 1.5px 0 0;
}
.scroll-cue-arrow-up {
    transform: rotate(-45deg);
}
.scroll-cue-arrow-down {
    transform: rotate(135deg);
}
.scroll-cue-track {
    --cue-dot-end: 29px;
    position: relative;
    display: block;
    width: 2px;
    height: 38px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(71, 104, 81, 0.2);
}
.scroll-cue-track i {
    position: absolute;
    top: 4px;
    left: 50%;
    content: "";
    height: 5px;
    border-radius: 50%;
    background: rgba(54, 89, 65, 0.95);
    box-shadow: 0 0 0 3px rgba(71, 104, 81, 0.14);
    transform: translateX(-50%);
    animation: scrollCueMove 1.8s ease-in-out infinite;
}
@keyframes scrollCueMove {
    0%,
    100% {
        top: 4px;
        opacity: 0.45;
    }
    50% {
        top: var(--cue-dot-end);
        opacity: 1;
    }
}

/* ====== web work desktop book detail ====== */
.voyage-project-item {
    margin-bottom: 40px;
}
.proj-header {
    margin-bottom: 15px;
}
.proj-category-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}
.proj-category-badge.badge-redesign {
    color: #2d664a;
    border: 1px solid rgba(45, 102, 74, 0.4);
    background-color: rgba(45, 102, 74, 0.07);
}
.proj-category-badge.badge-clone {
    color: #966f27;
    border: 1px solid rgba(150, 111, 39, 0.4);
    background-color: rgba(150, 111, 39, 0.07);
}
.proj-category-badge.badge-chatbot {
    color: #3b5984;
    border: 1px solid rgba(59, 89, 132, 0.4);
    background-color: rgba(59, 89, 132, 0.07);
}
.proj-category-badge.badge-webapp {
    color: #824373;
    border: 1px solid rgba(130, 67, 115, 0.4);
    background-color: rgba(130, 67, 115, 0.07);
}
.proj-number {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 600;
    color: #6a5a45;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0.5px;
}
.proj-title {
    font-family: var(--font-main);
    font-size: 2.4rem;
    color: #2a221a;
    margin-top: 10px;
    margin-bottom: 5px;
}.proj-date {
    font-size: 1.4rem;
    color: #7a6a55;
    display: block;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}
.proj-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}
.proj-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff;
    padding: 5px;
    border: 1px solid rgba(90, 75, 60, 0.15);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(90, 75, 60, 0.08);
    overflow: hidden;
}
.proj-thumb .work-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #eef3f5;
    position: relative;
    overflow: hidden;
}
.proj-thumb .work-thumb-placeholder img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(0);
    transition: transform 7.5s ease-out, top 7.5s ease-out;
    will-change: transform, top;
}
.proj-thumb .work-thumb-placeholder img.work-scroll-fast {
    transition: transform 2.2s ease-out, top 2.2s ease-out;
}
.proj-thumb .work-thumb-placeholder img.work-scroll-medium {
    transition: transform 4s ease-out, top 4s ease-out;
}
.proj-thumb .work-thumb-placeholder img.work-scroll-slow {
    transition: transform 70s ease-out, top 70s ease-out;
}
@media (hover: hover) and (pointer: fine) {
    .proj-thumb:hover .work-thumb-placeholder img {
        top: 100%;
        transform: translateY(-100%);
    }
}
.proj-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.info-row {
    margin: 0;
    padding: 12px 14px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
        repeating-linear-gradient(0deg, transparent 0 29px, rgba(111, 83, 54, 0.05) 29px 30px);
    border: 1px solid rgba(71, 104, 81, 0.1);
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(72, 52, 34, 0.04);
}
.info-label {
    font-weight: 700;
    font-size: 1.5rem;
    color: #234f4d;
    display: block;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(71, 104, 81, 0.12);
    padding-bottom: 5px;
}
.info-text {
    font-size: 1.5rem;
    color: #33433f;
    line-height: 1.72;
}
.info-text strong {
    color: #2a221a;
    margin-right: 4px;
}
/* 프로젝트 목표 그리드 정렬 */
.info-goals {
    display: grid;
    gap: 0;
    font-size: 1.5rem;
    color: #33433f;
    line-height: 1.6;
    word-break: keep-all; /* 단어 단위 줄바꿈 */
}
.goal-item {
    display: grid;
    grid-template-columns: 5.1em 1fr;
    align-items: start;
    gap: 4px;
    padding: 7px 0;
}
.goal-item + .goal-item {
    border-top: 1px dashed rgba(71, 104, 81, 0.16);
}
.goal-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 700;
    margin: 0;
    padding: 2px 9px;
    width: auto;
    border-radius: 999px;
    background: rgba(71, 104, 81, 0.08);
    font-size: 1.28rem;
}
.goal-value {
    display: block;
    min-width: 0;
    color: #33433f;
    overflow-wrap: anywhere;
}
.info-spec-grid {
    display: grid;
    gap: 6px;
    font-size: 1.5rem;
    color: #33433f;
    list-style: none;
    padding-left: 0;
}
/* 설명 텍스트 줄바꿈과 레이아웃 정렬 */
.info-spec-grid li {
    line-height: 1.6;
    display: grid;
    grid-template-columns: minmax(6.5em, auto) 1fr;
    gap: 8px;
    align-items: start;
    min-width: 0;
    overflow-wrap: anywhere;
}
.info-spec-grid li strong {
    color: var(--color-accent);
    font-weight: 700;
    margin: 0;
    width: auto;
}
.tag-list {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 10px;
}
.tag {
    font-size: 1.25rem;
    background: #e8ddca;
    color: #514635;
    padding: 4px 11px;
    border-radius: 14px;
    font-weight: 700;
}
.spec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 5px;
    background: rgba(90, 75, 60, 0.05);
    padding: 12px;
    border-radius: 6px;
    border: 1px dashed rgba(90, 75, 60, 0.3);
}
.spec-item {
    font-size: 1.4rem;
    color: #444;
}
.spec-item strong {
    color: #4a3e30;
    display: inline-block;
    width: 85px;
}
.btn-vintage-link {
    flex: 1;
    min-width: 80px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background-color: #fff;
    box-shadow: 0 0 0 0 var(--color-accent) inset, 0 0 0 0 var(--color-accent) inset;
    transition:
        color 0.22s ease,
        box-shadow 0.22s ease;
}
.btn-vintage-link:hover {
    color: #fff;
    box-shadow: -999px 0 0 0 var(--color-accent) inset, 999px 0 0 0 var(--color-accent) inset;
    transition:
        color 0.55s ease,
        box-shadow 1.5s ease;
}
.btn-vintage-link.btn-disabled {
    color: rgba(28, 43, 32, 0.45);
    border-color: rgba(90, 75, 60, 0.2);
    background: rgba(255, 255, 255, 0.35);
    cursor: default;
    pointer-events: none;
}
.proj-actions {
    display: flex;
    flex-direction: row;
    gap: 4px;
    width: 100%;
    justify-content: center;
    margin-bottom: 5px;
}
.divider-line {
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 5px,
        rgba(90, 75, 60, 0.3) 5px,
        rgba(90, 75, 60, 0.3) 10px
    );
    margin: 32px 0;
}
.desk-footer-text {
    text-align: center;
    margin-top: 40px;
    color: #fff;
    font-family: var(--font-main);
    font-style: italic;
    font-size: 1.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.asterisk {
    display: block;
    margin-bottom: 5px;
}

/* ====== design work 영역 ====== */
#design-work {
    scroll-margin-top: 114px;
    background: url("../images/new_drawer_bg.jpg") center top/cover no-repeat;
    position: relative;
    z-index: 5;
    overflow: hidden;
    padding-top: 60px;
}
#design-work::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: 
        linear-gradient(to bottom, rgba(122, 72, 54, 0.96), rgba(70, 38, 29, 0.97)),
        url("../images/wood_bg-1.jpg") center/cover no-repeat;
    background-blend-mode: multiply;
    border-top: 3px solid #a66d52;
    border-bottom: 5px solid #2f1a14;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 12;
    pointer-events: none;
}
/* 하단 텍스트 영역 가독성 그라디언트 */
#design-work::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 42%; /* 하단 그라디언트 영역 */
    background: linear-gradient(
        to bottom,
        rgba(15, 12, 8, 0) 0%,
        rgba(15, 12, 8, 0.55) 60%,
        rgba(15, 12, 8, 0.72) 100%
    );
    pointer-events: none; /* 콘텐츠 클릭을 막지 않음 */
    z-index: 1;
}
#design-work .section-title {
    margin-top: 0;
    margin-bottom: 60px;
}
#design-work .section-title .sub-title {
    color: #ffd175; /* 골드 */
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
#design-work .section-title h2 {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 0 3px 14px rgba(0, 0, 0, 0.28); /* 텍스트 가독성 그림자 */
    -webkit-text-stroke: unset;
}
#design-work .section-title .title-line {
    background-color: #ffd175; /* 골드 */
    margin: 10px auto 0;
}

.polaroid-swiper {
    width: 100%;
    padding: 0 0 100px 0;
    overflow: visible;
}

/* ====== 3D mini wheel gallery ====== */
.mini-wheel-wrap {
    position: relative;
    width: 100%;
    height: 520px; /* 1:1 카드에 맞춘 전체 높이 */
    margin-top: -15px;
    overflow: visible;
    perspective: 1400px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.mini-wheel-wrap.dragging,
.mini-wheel-wrap.dragging .polaroid-card {
    cursor: grabbing;
}

.mini-wheel-wrap .wheel-frame {
    width: 360px; /* 1:1 카드 너비 */
    height: 360px; /* 1:1 카드 높이 */
    position: absolute;
    left: 50%;
    top: 96%;
    margin-left: -180px;
    margin-top: -180px;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.mini-wheel-wrap article {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 1.2s, opacity 1.2s;
}

.mini-wheel-wrap article .polaroid-card {
    opacity: 0.45;
    transform: scale(0.9);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.mini-wheel-wrap article.on {
    z-index: 50;
}

.mini-wheel-wrap article.on .polaroid-card {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.48);
}

/* 미니 휠 폴라로이드 카드 1:1 비율 */
.mini-wheel-wrap .polaroid-card {
    background: #fff;
    padding: 12px 12px 18px; /* 카드 내부 여백 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    width: 360px;
    height: 360px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.mini-wheel-wrap article:not(.on):hover {
    z-index: 40;
}

.mini-wheel-wrap .polaroid-img {
    width: 100%;
    height: 235px;
    border-radius: 2px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.mini-wheel-wrap article.on .polaroid-card { cursor: zoom-in; }

.polaroid-caption {
    text-align: center;
}

.mini-wheel-wrap .polaroid-caption h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0b4d54;
    margin-top: 8px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-wheel-wrap .polaroid-caption .desc {
    font-size: 1.1rem;
    color: #5e949a;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-wheel-wrap .polaroid-caption .btn-link {
    font-weight: 500;
    color: #3197a9;
    font-size: 1.1rem;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.polaroid-caption .btn-link:hover {
    color: #1a5e6a;
    border-color: #1a5e6a;
}

/* 이동 컨트롤러 */
.mini-wheel-wrap .btnPrev,
.mini-wheel-wrap .btnNext {
    position: absolute;
    top: 33%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffd175; /* 골드 배경 */
    border: 1px solid rgba(28, 43, 32, 0.2);
    box-shadow: 0 8px 20px rgba(180, 140, 40, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    color: #1c2b20; /* 다크 그린 아이콘 */
}

.mini-wheel-wrap .btnPrev svg,
.mini-wheel-wrap .btnNext svg {
    width: 34px; /* 아이콘 크기 */
    height: 34px;
    display: block;
    stroke: #1c2b20; /* 다크 그린 */
}

.mini-wheel-wrap .btnPrev {
    left: max(10px, calc(50% - 180px - 72px));
}
.mini-wheel-wrap .btnNext {
    right: max(10px, calc(50% - 180px - 72px));
}

.mini-wheel-wrap .btnPrev:hover,
.mini-wheel-wrap .btnNext:hover {
    background: #1c2b20; /* hover 배경 */
    color: #ffd175;
    border-color: #1c2b20;
    box-shadow: 0 14px 32px rgba(15, 28, 18, 0.5);
    transform: translateY(-50%) scale(1.1);
}
.mini-wheel-wrap .btnPrev:hover svg,
.mini-wheel-wrap .btnNext:hover svg {
    stroke: #ffd175; /* hover 골드 아이콘 */
}

/* 하단 선택 프로젝트 정보 영역 */
.wheel-bottom-info {
    text-align: center;
    margin-top: -94px;
    padding-bottom: 20px;
    position: relative;
    z-index: 10; /* 오버레이보다 위에 배치 */
}
.wheel-bottom-info .info-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 10px;
}
.wheel-bottom-info .info-desc {
    font-size: 1.62rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: none;
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.65;
    word-break: keep-all;
}
.wheel-bottom-info .info-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 32px;
    box-sizing: border-box;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1c2b20;
    font-family: var(--font-main);
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
    background: #ffd175;
    padding: 0 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(180, 140, 40, 0.35);
}
.work-filter-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.work-filter-btn {
    width: auto;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-main);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.25s ease, transform 0.25s ease;
}
.work-filter-btn:hover,
.work-filter-btn.active {
    background: transparent;
    color: #ffd175;
    transform: translateY(-1px);
}

/* ====== 엽서 카드 디자인 ====== */
.mini-wheel-wrap .polaroid-card {
    display: flex;
    flex-direction: column;
    background: #fcfaf5;
    padding: 15px 15px 25px;
    border: 1px solid #e8e2d5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mini-wheel-wrap .polaroid-card,
.mini-wheel-wrap .polaroid-card h3,
.mini-wheel-wrap .polaroid-card p,
.mini-wheel-wrap .polaroid-card a,
.mini-wheel-wrap .polaroid-card .desc,
.mini-wheel-wrap .polaroid-card .btn-link {
    font-family: 'Nanum Pen Script', 'NanumPenScript', cursive;
}

.mini-wheel-wrap .polaroid-card::before {
    display: none;
}

.mini-wheel-wrap .polaroid-img {
    flex-shrink: 0;
    height: 235px;
    border: 1px solid #eae5dc;
    border-radius: 0;
}

.mini-wheel-wrap .polaroid-caption {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    margin-top: 16px;
    text-align: center;
}

.mini-wheel-wrap article .polaroid-caption h3 {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 3px;
    border-top: none;
    border-bottom: 1px solid #dcd3c6;
    color: #3b352f;
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 1px;
    -webkit-text-stroke: 0.4px #3b352f;
}

.mini-wheel-wrap article .polaroid-caption h3 .work-num {
    color: var(--num-color, #3156b7);
    -webkit-text-stroke: 0.35px var(--num-stroke, #203b8f);
}

.mini-wheel-wrap article .polaroid-caption h3.num-blue {
    --num-color: #3156b7;
    --num-stroke: #203b8f;
}

.mini-wheel-wrap article .polaroid-caption h3.num-red {
    --num-color: #d71920;
    --num-stroke: #9f1016;
}

.mini-wheel-wrap article .polaroid-caption h3.num-gold {
    --num-color: #e5ad67;
    --num-stroke: #b87938;
}

.mini-wheel-wrap article .polaroid-caption h3.num-hibiscus {
    --num-color: #e9787a;
    --num-stroke: #c95559;
}

.mini-wheel-wrap article .polaroid-caption h3.num-art-blue {
    --num-color: #3568e8;
    --num-stroke: #2042a8;
}

.mini-wheel-wrap article .polaroid-caption .desc {
    display: block;
    width: 100%;
    margin-top: 7px;
    margin-bottom: 0;
    color: #8b7d6b;
    font-size: 2.2rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-align: center;
}

.mini-wheel-wrap .polaroid-caption .btn-link {
    display: none;
}

.mini-wheel-wrap .stamp-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 52px;
    padding: 3px;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #e0d8c8;
    border-radius: 2px;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transform: rotate(5deg);
}

.mini-wheel-wrap .stamp-wrapper::after {
    content: '';
    position: absolute;
    inset: 3px;
    z-index: 1;
    border: 1px solid #f0ebe1;
}

.mini-wheel-wrap .stamp-wrapper img {
    position: relative;
    z-index: 2;
    width: 140%;
    height: 140%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.wheel-bottom-info .info-title {
    font-size: 3.2rem;
}

/* ====== contact 영역 ====== */
#contact {
    background: linear-gradient(160deg, #1a3022 0%, #1e3828 55%, #162a1e 100%);
}

#contact .section-title .sub-title {
    color: rgba(167, 220, 190, 0.9);
}
#contact .section-title h2 {
    color: #e8f5ec;
}
#contact .section-title .title-line {
    background-color: rgba(167, 220, 190, 0.7);
}
#contact .contact-info h3 {
    color: #d8f0e2;
}
#contact .contact-info p {
    color: rgba(216, 240, 226, 0.75);
}
#contact .detail-item strong {
    color: rgba(167, 220, 190, 0.7);
}
#contact .detail-item a,
#contact .detail-item span {
    color: #e8f5ec;
}
#contact .detail-item a:hover {
    color: var(--color-accent-gold);
}
#contact .contact-icon {
    background-color: rgba(255, 255, 255, 0.1);
}
#contact .contact-form {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
#contact .form-group label {
    color: rgba(216, 240, 226, 0.9);
}
#contact .form-group input,
#contact .form-group textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #e8f5ec;
}
#contact .form-group input::placeholder,
#contact .form-group textarea::placeholder {
    color: rgba(216, 240, 226, 0.4);
}
#contact .form-group input:focus,
#contact .form-group textarea:focus {
    border-color: rgba(167, 220, 190, 0.6);
    background-color: rgba(255, 255, 255, 0.12);
    outline: none;
}
#contact .btn-primary {
    background-color: rgba(167, 220, 190, 0.85);
    color: #1a3022;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
#contact .btn-primary:hover {
    background-color: rgba(167, 220, 190, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    width: 100%;
    align-items: start;
}
.contact-info h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.contact-info p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.5rem;
    word-break: keep-all;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}
.contact-icon {
    font-size: 3.2rem;
    width: 64px;
    height: 64px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.detail-item strong {
    display: block;
    font-size: 1.2rem;
    color: #777;
    text-transform: uppercase;
}
.detail-item a,
.detail-item span {
    font-size: 1.6rem;
    font-weight: 500;
}
.detail-item a:hover {
    color: var(--color-accent);
}
.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 20px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    font-size: 1.4rem;
    font-family: inherit; /* 상위 글꼴 상속 */
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.btn-submit {
    width: 100%;
    margin-top: 10px;
    border: none;
    text-align: center;
}

/* ====== footer 영역 ====== */
footer {
    background-color: #1b4d54;
    margin-top: -1px;
}
footer .container {
    padding: 24px 24px;
    text-align: center;
    font-size: 1.4rem;
    color: rgba(216, 240, 226, 0.5);
}

/* ====== animation ====== */
@keyframes sunPulse {
    0% {
        opacity: 0.85;
        transform: translateX(-50%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@keyframes boatFloat {
    0%   { transform: translateY(0px) rotate(-2deg); }
    33%  { transform: translateY(-12px) rotate(3deg); }
    66%  { transform: translateY(4px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

@keyframes boatVoyage {
    0%   { left: 40%; }
    25%  { left: 52%; }
    50%  { left: 58%; }
    75%  { left: 45%; }
    100% { left: 40%; }
}
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes blob-shape {
    0% {
        border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%;
    }
    100% {
        border-radius: 40% 60% 50% 50% / 60% 50% 40% 60%;
    }
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#contact.dawn-theme {
    scroll-margin-top: 44px;
    position: relative;
    z-index: 90;
    overflow: visible;

    background: linear-gradient(
        180deg,
        #fdf2e3 0%,
        #e8f7ec 30%,
        #a4e1e8 65%,
        #70c4d9 100%
    );
    padding: 80px 0 150px;
    min-height: 100svh;
    min-height: var(--app-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact.dawn-theme::before {
    content: none;
}

#contact.dawn-theme .scenery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.dawn-sun {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 150px;
    height: 150px;
    transform: translateX(50%);
    animation: sunGlow 5s infinite alternate ease-in-out;
}

.lighthouse {
    display: none;
}
.lighthouse-light {
    animation: lightFlicker 2s infinite alternate;
}
.beam-anim {
    transform-origin: 35px 30px;
    animation: sweepBeam 6s infinite linear;
}

.contact-waves-container {
    position: absolute;
    top: auto;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: 3;
}
.contact-waves-container .waves {
    display: block;
    width: 100%;
    height: 15svh;
    min-height: 150px;
    max-height: 200px;
}

.anchored-boat {
    position: absolute;
    bottom: 115px;
    left: 15%;
    width: 120px;
    height: 120px;
    z-index: 2;
    animation: gentleBob 4s infinite ease-in-out;
}
.anchored-boat .boat-svg {
    width: 180px;
    height: auto;
}

.contact-content-front {
    position: relative;
    z-index: 10;
}

#contact.dawn-theme .section-title .sub-title {
    color: var(--color-primary);
    text-shadow: none;
}
#contact.dawn-theme .section-title h2 {
    color: var(--color-primary);
    text-shadow: none;
}
#contact.dawn-theme .section-title .title-line {
    background-color: var(--color-accent-gold);
}
#contact.dawn-theme .contact-info {
    padding-right: 40px;
}
#contact.dawn-theme .contact-info h3 {
    color: var(--color-primary);
    text-shadow: none;
    font-size: 2.4rem;
    margin-bottom: 15px;
}
#contact.dawn-theme .contact-info p {
    color: #444;
    text-shadow: none;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

#contact.dawn-theme .contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
#contact.dawn-theme .detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}
#contact.dawn-theme .detail-item strong {
    display: block;
    font-size: 1.3rem;
    color: var(--color-accent);
    text-shadow: none;
    margin-bottom: 4px;
}
#contact.dawn-theme .detail-item a,
#contact.dawn-theme .detail-item span {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-primary);
    text-shadow: none;
}
#contact.dawn-theme .detail-item span.contact-icon {
    font-size: 3.0rem;
    width: 68px;
    height: 68px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#contact.dawn-theme .contact-form {
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
#contact.dawn-theme .form-group {
    margin-bottom: 20px;
}
#contact.dawn-theme .form-group label {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
    text-shadow: none;
}
#contact.dawn-theme .form-group input,
#contact.dawn-theme .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 1);
    font-size: 1.4rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    transition: var(--transition);
}
#contact.dawn-theme .form-group input::placeholder,
#contact.dawn-theme .form-group textarea::placeholder {
    color: #999;
}
#contact.dawn-theme .form-group input:focus,
#contact.dawn-theme .form-group textarea:focus {
    border-color: var(--color-accent-gold);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 209, 117, 0.3);
    outline: none;
}

#contact.dawn-theme .btn-primary {
    background-color: var(--color-accent-gold);
    color: var(--color-primary);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    width: 100%;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 209, 117, 0.4);
    transition: all 0.3s ease;
    display: block;
    margin-top: 10px;
}
#contact.dawn-theme .btn-primary:hover {
    background-color: #ffb74d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 77, 0.5);
}

@keyframes sunGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}
@keyframes lightFlicker {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}
@keyframes sweepBeam {
    0% {
        transform: rotate(10deg);
        opacity: 0.1;
    }
    50% {
        transform: rotate(40deg);
        opacity: 0.6;
    }
    100% {
        transform: rotate(10deg);
        opacity: 0.1;
    }
}
@keyframes gentleBob {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

/* ====== Card 02 (Sun Theme) Override ====== */
.about-card.about-card-02 {
    background-color: #fefcf8;
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(217, 130, 43, 0.1) 31px, rgba(217, 130, 43, 0.1) 32px);
    border: 1px solid rgba(217, 130, 43, 0.2);
}
.about-card.about-card-02::after {
    border-left: 2px dotted rgba(217, 130, 43, 0.3);
}
.about-card.about-card-02::before {
    color: rgba(217, 130, 43, 0.6);
}
.about-card-02 .ac-title {
    color: #d9822b;
}
.about-card-02 .ac-num {
    color: #f2a85e;
}
.about-card-02 .ac-en {
    border-bottom: 1px solid rgba(217, 130, 43, 0.2);
}
.about-card-02 .ac-title::after {
    background: rgba(217, 130, 43, 0.22);
}
.about-card-02 .ac-body {
    color: #5c4b3a;
}
.about-card-02 .ac-book {
    color: #8c6e52;
}
.about-card-02 .ac-italic {
    color: #b58253;
}
.about-card-02 .ac-italic::after {
    background: rgba(217, 130, 43, 0.2);
}
.about-card-02 .ac-ci {
    background-color: rgba(217, 130, 43, 0.1);
}
.about-card-02 .ac-ci svg {
    stroke: #d9822b;
}
.about-card-02 .ac-icon-list li > span:nth-child(2) {
    color: #5c4b3a;
}

/* ====== Side Bookmarks Override ====== */

/* 1101px ~ 1280px 세로 화면 조정 */

/* ====== web work mobile logbook ====== */

/* ===== HOME TYPO MOTION : SANGGONG REFERENCE STYLE ===== */
.hero-text-wrap {
    max-width: none;
    width: min(100%, 1440px);
    margin: 0 auto;
    text-align: center;
    position: relative;
    isolation: isolate;
}

.hero-typo-stage {
    position: relative;
    z-index: 12;
    width: 100%;
    padding: 20px 20px 0;
    transform: translateY(18px);
}

.hero-outline-track {
    position: absolute;
    top: 13%;
    left: 50%;
    display: flex;
    gap: 8vw;
    width: max-content;
    color: transparent;
    -webkit-text-stroke: 1px rgba(28, 43, 32, 0.08);
    font-size: clamp(7rem, 9vw, 14rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-50%);
    animation: outlineReveal 1.1s ease 0.15s forwards, outlineFlow 24s linear 1.2s infinite;
    z-index: -1;
    pointer-events: none;
}

.hero-job {
    font-size: clamp(1.2rem, 1.2vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 7.55px;
    color: rgba(20, 20, 21, 0.88);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUpHero 0.75s ease 0.45s forwards;
}

.hero-main-title {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.01em;
    margin: 0 0 20px;
    color: #171918;
    font-family: var(--font-main);
    font-size: clamp(6.4rem, 9.4vw, 14.8rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.075em;
    text-transform: uppercase;
    word-break: keep-all;
    text-shadow: 0 10px 28px rgba(28, 43, 32, 0.08);
}

.hero-main-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(86px) scaleY(1.08);
    animation: titleLetterUp 0.85s cubic-bezier(.16, 1, .3, 1) forwards;
    animation-delay: calc(0.62s + (var(--i) * 0.045s));
}

.hero-main-title span:nth-child(1) { --i: 1; }
.hero-main-title span:nth-child(2) { --i: 2; }
.hero-main-title span:nth-child(3) { --i: 3; }
.hero-main-title span:nth-child(4) { --i: 4; }
.hero-main-title span:nth-child(5) { --i: 5; }
.hero-main-title span:nth-child(6) { --i: 6; }
.hero-main-title span:nth-child(7) { --i: 7; }
.hero-main-title span:nth-child(8) { --i: 8; }
.hero-main-title span:nth-child(9) { --i: 9; }
.hero-main-title span:nth-child(10) { --i: 10; }

.hero-main-title .space {
    width: 0.22em;
}

.hero-main-title::before,
.hero-main-title::after {
    content: none;
}

.hero-copy-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-family: var(--font-main);
    font-size: clamp(1.75rem, 1.5vw, 2.25rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.03em;
    color: rgba(20, 20, 21, 0.92);
    word-break: keep-all;
}

.hero-copy-block .copy-line {
    margin: 0;
    opacity: 0;
    transform: translateY(26px);
    animation: fadeUpHero 0.8s ease var(--delay) forwards;
}

.hero-copy-block .copy-line:nth-child(1) { --delay: 1.25s; }
.hero-copy-block .copy-line:nth-child(2) { --delay: 1.45s; }
.hero-copy-block .copy-line:nth-child(3) { --delay: 1.65s; }

.guide-highlight {
    position: relative;
    display: inline-block;
    font-weight: 700;
    z-index: 1;
}

.guide-highlight::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: 6px;
    height: 0.58em;
    background: rgba(255, 211, 106, 0.85);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: -1;
    animation: guideLineDraw 0.75s ease 1.9s forwards;
}

.hero-role-new {
    margin-top: 12px;
    font-size: clamp(1.1rem, 1vw, 1.45rem);
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(28, 43, 32, 0.74);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpHero 0.8s ease 2.8s forwards;
}

.boat-wrapper {
    animation:
        boatFloat 5s ease-in-out infinite,
        boatVoyage 16s ease-in-out infinite,
        boatParallaxDrift 9s ease-in-out infinite;
}

@keyframes outlineReveal {
    0% { opacity: 0; filter: blur(8px); }
    100% { opacity: 1; filter: blur(0); }
}

@keyframes outlineFlow {
    0% { transform: translateX(-50%) translateX(0); }
    100% { transform: translateX(-50%) translateX(-28vw); }
}

@keyframes fadeUpHero {
    0% { opacity: 0; transform: translateY(26px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpHeroHandwriting {
    0% { opacity: 0; transform: translateY(26px) rotate(-8deg); }
    100% { opacity: 1; transform: translateY(0) rotate(-8deg); }
}

@keyframes titleLetterUp {
    0% { opacity: 0; transform: translateY(86px) scaleY(1.08); filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); }
}

@keyframes titleBarDraw {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes guideLineDraw {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes boatParallaxDrift {
    0%, 100% { margin-left: -68px; }
    50% { margin-left: -38px; }
}

/* ===== requested refinement: 1, 2, 3, 5 ===== */
/* HOME spacing refinement */
.hero-copy-block p{
    margin:0;
}

.hero-copy-block .copy-line{
    margin:0;
}



/* ===== HOME REFERENCE MATCH : SUNLIT SEA ===== */
.hero-section {
    --hero-values-bg-height: 108px;
    min-height: 720px;
    background:
        radial-gradient(circle at 50% 19%, rgba(255, 250, 208, .42), transparent 34%),
        linear-gradient(180deg,
            #e7f3e8 0%,
            #dff1e7 25%,
            #c9eef1 61%,
            #a6def2 78%,
            #74c6ed calc(100% - var(--hero-values-bg-height)),
            #f7fbfc calc(100% - var(--hero-values-bg-height)),
            #f7fbfc 100%);
    -webkit-mask-image: none;
    mask-image: none;
}

header,
header.scrolled {
    height: 112px;
    background: #fffef8;
}

header::after {
    content: none;
}

.header-wave {
    position: absolute;
    left: 0;
    top: 80px;
    z-index: 0;
    width: 100%;
    height: 64px;
    overflow: visible;
    pointer-events: none;
}
.header-wave path { fill: #fffef8; }

header .container { position: relative; z-index: 1; max-width: 1450px; }

header nav ul { gap: 40px; }
header nav ul li a { color: #18191d; font-size: 1.45rem; }
header nav ul li a:hover { color: #208fbd; }
header nav ul li.on a { color: #208fbd; }
header nav ul li a::after { background: #34a5ce; }

.hero-sky-area { padding-top: 112px; }
.hero-text-wrap { width: min(100%, 1300px); }
.hero-typo-stage { transform: translateY(5px); }
.hero-compass { top: 52%; width: min(650px, 52vw); }
.hero-outline-track { display: none; }
.hero-job { color: #151a20; margin-bottom: 15px; }
.hero-main-title {
    margin-bottom: 31px;
    color: #082d4a;
    font-size: clamp(7rem, 7.1vw, 12rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .82;
    filter: drop-shadow(0 3px 0 rgba(255,255,255,.46));
}
.hero-main-title span {
    background: linear-gradient(180deg, #0a3557 8%, #082844 64%, #0b3c62 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-handwriting {
    position: absolute;
    z-index: 4;
    color: #42afd2;
    font-family: "NanumPenScript", cursive;
    font-size: clamp(4rem, 4.5vw, 7rem);
    line-height: 1;
    white-space: nowrap;
    transform: rotate(-8deg);
    text-shadow: 0 2px 0 rgba(255,255,255,.5);
    opacity: 0;
    animation: fadeUpHeroHandwriting .8s ease 2.2s forwards;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.hero-handwriting:hover {
    color: #2b8ba8;
    text-shadow: 0 4px 12px rgba(66, 175, 210, 0.6);
}
.hero-copy-block { gap: 3px; color: #24333e; font-size: clamp(1.55rem, 1.1vw, 1.9rem); line-height: 1.55; }
.guide-highlight::after { bottom: 3px; height: .55em; background: rgba(255, 205, 72, .85); }
.hero-role-new { margin-top: 17px; color: #193a50; font-size: 1.25rem; letter-spacing: .3em; }

.hero-cloud {
    position: absolute;
    z-index: 2;
    width: 150px;
    height: 54px;
    border-radius: 80px 80px 8px 8px;
    background: rgba(255,255,255,.48);
    pointer-events: none;
}
.hero-cloud::before,
.hero-cloud::after { content:""; position:absolute; bottom:0; border-radius:50% 50% 0 0; background:inherit; }
.hero-cloud::before { left:22px; width:78px; height:83px; }
.hero-cloud::after { right:5px; width:68px; height:62px; }
.hero-cloud-left { left:-18px; top:225px; }
.hero-cloud-right { right:-18px; top:330px; transform:scale(.8); }
.hero-cloud-left,
.hero-cloud-right { animation: heroCloudDrift 15s ease-in-out infinite; }

.hero-birds { position:absolute; z-index:3; pointer-events:none; }
.hero-birds-left { left:21%; top:22%; }
.hero-birds-right { right:17%; top:23%; }
.hero-birds i { display:inline-block; width:17px; height:8px; margin:0 4px; border-top:2px solid rgba(61,171,207,.42); border-radius:50%; transform:rotate(12deg); }
.hero-birds i:nth-child(even) { transform:translateY(-7px) rotate(-12deg); }
.hero-birds-left { animation: heroBirdsLeft 8s ease-in-out infinite; }
.hero-birds-right { animation: heroBirdsRight 9.5s ease-in-out -2s infinite; }
.hero-birds i { animation: heroBirdWing 1.2s ease-in-out infinite alternate; transform-origin:center; }
.hero-birds i:nth-child(even) { animation-delay:-.45s; }

@keyframes heroCloudDrift {
    0%, 100% { translate:0 0; }
    50% { translate:26px -6px; }
}
@keyframes heroBirdsLeft {
    0%, 100% { translate:0 0; }
    45% { translate:24px -8px; }
    70% { translate:34px -3px; }
}
@keyframes heroBirdsRight {
    0%, 100% { translate:0 0; }
    45% { translate:-22px -7px; }
    72% { translate:-32px 1px; }
}
@keyframes heroBirdWing {
    from { scale:1 1; }
    to { scale:1 .55; }
}

.lake-container { z-index: 6; }
.waves { height: 17svh; min-height: 125px; max-height: 170px; }
.boat-wrapper { left: 82%; bottom: 55px; }
.hero-values {
    position: relative;
    z-index: 8;
    flex: 0 0 108px;
    margin-top: -17px;
    background: transparent;
    border-radius: 0;
    color: #1878a7;
}
.hero-values-inner { display:flex; align-items:center; justify-content:center; gap:68px; max-width:1120px; height:100%; margin:0 auto; padding:20px 24px 10px; }
.hero-value { display:flex; align-items:center; gap:13px; min-width:190px; }
.hero-value-icon { display:grid; place-items:center; width:42px; color:#2294c2; font-size:3.4rem; font-family:Georgia, serif; line-height:1; }
.hero-value-wave { font-size:4rem; transform:rotate(-7deg); }
.hero-value-light { font-size:3rem; transform:scaleX(.72); }
.hero-value p { line-height:1.25; }
.hero-value strong, .hero-value small { display:block; white-space:nowrap; }
.hero-value strong { font-size:1.6rem; font-weight:700; }
.hero-value small { margin-top:5px; font-size:1.4rem; }

#about.about-section { padding-top: 80px; margin-top: 0; }

/* ===== FULLSCREEN VOYAGE MOBILE MENU ===== */
@keyframes mbSunBreath {
    0%, 100% { opacity: 0.7; transform: scale(0.94); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes mbBoatSway {
    0%, 100% { transform: translateX(-4px) rotate(-1.5deg); }
    50% { transform: translateX(4px) rotate(1.5deg); }
}

@keyframes mbParticleDrift {
    0%, 100% { transform: translate3d(0, 7px, 0) scale(0.8); opacity: 0.25; }
    50% { transform: translate3d(4px, -9px, 0) scale(1.2); opacity: 0.9; }
}


.hero-job,
.hero-copy-block .copy-line { transform: none; }
.hero-main-title span { transform: translateY(0) scaleY(1); }

/* Home central composition: compass, title and introduction move together. */
.hero-text-wrap {
    transform: translateY(42px);
}

/* Keep the compass frame fixed while its directional needle rotates. */
.compass-needle {
    transform-box: view-box;
    transform-origin: 50% 50%;
    animation: compassNeedleSearch 9s ease-in-out infinite;
    will-change: transform;
}

@keyframes compassNeedleSearch {
    0%, 100% { transform: rotate(-7deg); }
    18% { transform: rotate(11deg); }
    36% { transform: rotate(-3deg); }
    55% { transform: rotate(8deg); }
    72% { transform: rotate(1deg); }
    86% { transform: rotate(5deg); }
}

/* ===== FINAL FULLSCREEN SUNLIT VOYAGE MENU ===== */
@keyframes mbBoatSway {
    0%, 100% { transform: rotate(-2.5deg) translateY(0); }
    50%       { transform: rotate(2.5deg) translateY(-4px); }
}


/* ====== base styles moved from responsive.css ====== */
.hero-title-lockup {
    position: relative;
    display: table;
    width: auto;
    max-width: 92%;
    margin: 0 auto 45px;
}

.hero-title-lockup .hero-main-title {
    width: auto;
    max-width: 100%;
    margin: 0;
}

.hero-title-lockup .hero-handwriting {
    left: calc(100% - 12px);
    right: auto;
    top: 60%;
    max-width: none;
    font-size: clamp(4rem, 4.5vw, 7rem);
    transform: rotate(-8deg);
}

/* =========================================
   SCROLL REVEAL (Fade-up)
   ========================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ====== Book Left Page Transition ====== */
#book-left-desc, #book-left-img {
    transition: opacity 0.3s ease-in-out;
}

/* ====== Sketch to Color Animation ====== */
@keyframes sketchToColor {
    0% {
        filter: grayscale(100%) contrast(150%) brightness(120%) sepia(30%) hue-rotate(15deg);
        opacity: 0;
    }
    20% {
        filter: grayscale(100%) contrast(150%) brightness(120%) sepia(30%) hue-rotate(15deg);
        opacity: 1;
    }
    60% {
        filter: grayscale(50%) contrast(120%) brightness(110%);
        opacity: 1;
    }
    100% {
        filter: grayscale(0%) contrast(100%) brightness(100%) sepia(0%);
        opacity: 1;
    }
}
.sketch-animate {
    animation: sketchToColor 1.8s ease-in-out forwards !important;
}

/* Typing cursor effect (optional) */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #8b7d6b;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ====== Project Progress Modal (Bright & Cheerful Theme) ====== */
.project-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 254, 248, 0.95); /* Bright ivory overlay */
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.project-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.project-modal-wrapper {
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background-color: #fffef8; /* Bright paper background */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); /* Softer shadow */
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
    border: 1px solid #d9c8b4;
}
.project-modal-overlay.active .project-modal-wrapper {
    transform: translateY(0);
}

/* 모달 상단 영역 */
.project-modal-header {
    height: 80px;
    background-color: #fffef8; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 2px dashed #d9c8b4;
}

.project-modal-header .header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex: 1;
}
.project-modal-type {
    color: #e67e22; /* Cheerful Orange fallback */
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.project-modal-title {
    color: #3b352f;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.project-modal-header .header-center {
    display: flex;
    gap: 12px;
    background: #f0ebd8;
    padding: 6px;
    border-radius: 8px;
    flex-shrink: 0;
}
.btn-device {
    background: transparent;
    border: none;
    color: #8b7355; /* Soft brown */
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-device.active, .btn-device:hover {
    background: #e67e22; /* Cheerful Orange */
    color: #fffef8;
}

.header-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.btn-modal-close {
    background: #f0ebd8;
    border: none;
    color: #3b352f;
    font-size: 2.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}
.btn-modal-close:hover {
    background: #e67e22; /* Cheerful orange hover */
    color: #fffef8;
}

/* 모달 본문 이미지 영역 */
.project-modal-body {
    flex: 1;
    overflow-y: auto;
    background-color: #f7f3e8; /* Very soft beige */
    padding: 30px;
    display: block; /* Use block instead of flex for better scrolling */
}

/* 모달 스크롤바 */
.project-modal-body::-webkit-scrollbar {
    width: 10px;
}
.project-modal-body::-webkit-scrollbar-track {
    background: #f7f3e8;
}
.project-modal-body::-webkit-scrollbar-thumb {
    background: #d9c8b4;
    border-radius: 5px;
}
.project-modal-body::-webkit-scrollbar-thumb:hover {
    background: #c4b7a6;
}

.project-preview-container {
    width: 100%;
    max-width: 1200px; /* PC Width */
    margin: 0 auto; /* Center horizontally */
    transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff; /* In case of transparent PNG */
    border-radius: 8px;
    overflow: hidden;
}

/* 모바일 미리보기 활성화 */
.project-preview-container.mobile-mode {
    max-width: 375px; /* Mobile Width */
}

#project-modal-img {
    width: 100%;
    height: auto;
    display: block;
}

.project-modal-overlay.gallery-mode .project-modal-header .header-center {
    display: none;
}

.project-modal-overlay.gallery-mode .project-preview-container {
    max-width: 680px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.project-modal-overlay.gallery-mode #project-modal-img {
    aspect-ratio: 1 / 1;
    max-height: min(68vh, 620px);
    object-fit: contain;
    background: #f4f4f4;
}

.project-gallery-nav,
.project-gallery-count,
.project-thumb-stage {
    display: none;
}

.project-modal-overlay.gallery-mode .project-gallery-nav,
.project-modal-overlay.gallery-mode .project-gallery-count {
    display: flex;
}

.project-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #3b352f;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    --gallery-nav-x: 0;
    transform: translate(var(--gallery-nav-x), -50%);
    transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.project-gallery-nav svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-gallery-prev {
    left: 24px;
    --gallery-nav-x: -50%;
}

.project-gallery-next {
    right: 24px;
    --gallery-nav-x: 50%;
}

.project-gallery-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    min-width: 46px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(30,30,30,0.9);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s;
}

.project-modal-overlay.gallery-mode .project-preview-container:hover .project-gallery-nav,
.project-modal-overlay.gallery-mode .project-preview-container:hover .project-gallery-count {
    opacity: 1;
}

.project-modal-overlay.gallery-mode .project-preview-container:hover .project-gallery-nav {
    pointer-events: auto;
}

.project-gallery-nav:hover {
    background: #fff;
    transform: translate(var(--gallery-nav-x), -50%) scale(1.04);
}

.project-thumb-stage.active {
    width: 100%;
    max-width: 680px;
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-thumb-gallery {
    display: none;
}

.project-thumb-gallery.active {
    min-width: 0;
    display: flex;
    flex: 1;
    gap: 10px;
    overflow-x: auto;
    padding: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
}

.project-thumb-gallery.active::-webkit-scrollbar {
    display: none;
}

.project-thumb-gallery.active.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.project-thumb-nav {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid #ded6ca;
    border-radius: 50%;
    background: #fffef8;
    color: #3b352f;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
}

.project-thumb-nav svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-thumb-nav:hover {
    background: #f0ebd8;
    transform: translateY(-1px);
}

.project-thumb-btn {
    width: 100px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid #ded6ca;
    border-radius: 8px;
    background: #fffef8;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.72;
    transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
    scroll-snap-align: start;
    user-select: none;
}

.project-thumb-btn:hover,
.project-thumb-btn.active {
    opacity: 1;
    border-color: #3b352f;
    transform: translateY(-2px);
}

.project-thumb-btn img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media screen and (max-width: 768px) {
    .project-modal-overlay.gallery-mode .project-preview-container,
    .project-thumb-stage.active {
        max-width: 100%;
    }

    .project-gallery-nav {
        width: 34px;
        height: 34px;
    }

    .project-gallery-nav svg {
        width: 16px;
        height: 16px;
    }

    .project-thumb-btn {
        width: 74px;
    }

    .project-thumb-nav {
        width: 34px;
        height: 34px;
    }

    .project-thumb-nav svg {
        width: 15px;
        height: 15px;
    }
}








/* ====== Project Progress Modal Responsive (Mobile) ====== */



/* ====== Project Progress Modal Responsive (Tablet) ====== */


/* ====== Project Progress Modal Responsive (Mobile < 768px) ====== */


/* ====== Project Progress Modal Responsive (Extra Small Mobile < 480px) ====== */


/* ====== About Card 03 Responsive (Mobile < 480px) ====== */























/* ====== Project Epilogue ====== */
.project-epilogue {
    max-width: 1200px;
    margin: 40px auto 20px auto;
    background-color: #fffef8;
    border: 1px dashed #d9c8b4;
    border-radius: 8px;
    padding: 30px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    position: relative;
    box-sizing: border-box;
}

.epilogue-badge {
    position: absolute;
    top: -14px;
    left: 40px;
    background-color: #f0ebd8;
    color: #8b7d6b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #e8e2d5;
}

.epilogue-content {
    color: #443c35;
    font-size: 1.45rem;
    line-height: 1.6;
    font-family: var(--font-main);
    word-break: keep-all;
}













