:root {
    --brand: #ff5c00;
    --bg: #fff8f2;
    --text: #141414;
    --muted: #484848;
    --card: #fff;
    --border: #ffd4b0;
    --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
html, body { height: 100%; overflow: hidden; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.anton { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 0.03em; }
.rs-label {
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand);
}

.rs-app {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.rs-page {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s;
    background: var(--bg);
}
.rs-page.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rs-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px clamp(1rem, 3vw, 1.5rem);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 248, 242, 0.96);
}
.rs-header h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    letter-spacing: 1px;
}
.rs-header-back {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0;
    text-decoration: none;
    color: var(--brand);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 8px 0;
}

.rs-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem clamp(1rem, 3vw, 1.5rem) 0.5rem;
}
.rs-body-inner { max-width: 820px; margin: 0 auto; }
.rs-body-inner--compact { max-width: 560px; }
.rs-body-inner--wide { max-width: 920px; }

.rs-section-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--brand);
    margin: 1.75rem 0 12px;
}
.rs-section-title:first-of-type { margin-top: 0; }

.rs-page-intro {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}
.rs-page-intro .rs-label { margin-bottom: 6px; }
.rs-page-intro h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    line-height: 1.15;
    margin-bottom: 8px;
}
.rs-page-intro p {
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.8;
    word-break: keep-all;
}

/* IMAGE GALLERY */
.rs-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}
.rs-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.rs-gallery--scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 1.5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.rs-gallery--scroll .rs-figure {
    flex: 0 0 min(72vw, 280px);
    scroll-snap-align: start;
}
.rs-figure {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
}
.rs-figure--portrait { aspect-ratio: 4/5; }
.rs-figure--square { aspect-ratio: 1; }
.rs-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rs-figure--slide {
    aspect-ratio: auto;
    background: #fff;
    min-height: 0;
}
.rs-page[data-page="visual"] .rs-figure--slide {
    cursor: zoom-in;
}
.rs-figure--slide img,
.rs-figure--slide canvas {
    width: 100%;
    height: auto;
    display: block;
}
.rs-figure--slide .rs-figure-cap {
    position: relative;
    background: rgba(255, 92, 0, 0.08);
    color: #333;
}
.rs-figure.is-hidden { display: none; }
.rs-figure-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}
.rs-figure-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px; padding: 12px; text-align: center;
    background: linear-gradient(145deg, #fff0e6, #ffd4b0);
    color: #666;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
}
.rs-figure-ph i { font-size: 1.4rem; color: var(--brand); opacity: 0.7; }

.rs-split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 16px;
}
.rs-split-card__media .rs-figure { height: 100%; min-height: 160px; aspect-ratio: auto; }

.rs-visual-banner {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 2px solid var(--border);
    aspect-ratio: 21/9;
    max-height: 140px;
}
.rs-visual-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rs-image-note {
    margin-top: 1rem;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 92, 0, 0.07);
    border: 1px dashed var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.6;
    word-break: keep-all;
}
.rs-image-note code {
    font-size: 0.78rem;
    color: #333;
    background: rgba(255,255,255,0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

.rs-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.25rem;
}
.rs-stat-pill {
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    text-align: center;
}
.rs-stat-pill strong {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: 1.35rem;
    color: var(--brand);
    line-height: 1.1;
    margin-bottom: 4px;
}
.rs-stat-pill span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.4;
}

/* PERFORMANCE — Career와 같은 톤, 숫자는 작게 */
.rs-perf-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    border-left: 3px solid var(--brand);
    padding: 18px 20px;
    margin-bottom: 14px;
}
.rs-perf-block .head { margin-bottom: 10px; }
.rs-perf-block .period {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 4px;
}
.rs-perf-block h3 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 4px;
}
.rs-perf-stat {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--brand);
    background: rgba(255, 92, 0, 0.1);
    vertical-align: middle;
}
.rs-perf-block .org {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--muted);
}
.rs-perf-block p {
    font-size: 0.96rem;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    word-break: keep-all;
}
.rs-perf-block ul {
    margin-top: 8px;
    padding-left: 1.1rem;
}
.rs-perf-block li {
    font-size: 0.92rem;
    font-weight: 400;
    color: #444;
    line-height: 1.75;
    margin-bottom: 5px;
    word-break: keep-all;
}

.rs-metric-block--text .detail { margin-top: 4px; }

.rs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.88);
}
.rs-lightbox[hidden] { display: none !important; }
.rs-lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.rs-lightbox-inner {
    max-width: min(960px, 96vw);
    max-height: 90vh;
    overflow: auto;
}
.rs-lightbox-inner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.rs-lightbox-cap {
    margin-top: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 500;
}

.rs-nav-dock {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    padding: 10px clamp(0.5rem, 2vw, 1rem) calc(10px + env(safe-area-inset-bottom));
    border-top: 2px solid var(--border);
    background: #fff;
}
.rs-nav-dock button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 8px 4px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.rs-nav-dock button i { font-size: 1rem; }
.rs-nav-dock button.is-active,
.rs-nav-dock button:hover {
    background: rgba(255, 92, 0, 0.12);
    color: var(--brand);
}
.rs-nav-dock button[data-rs-go="contact"] { display: none !important; }

/* HOME */
.rs-home-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2rem);
    text-align: center;
    overflow-y: auto;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 92, 0, 0.12), transparent),
        var(--bg);
}
.rs-home-photo {
    width: clamp(110px, 24vw, 150px);
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid var(--brand);
    box-shadow: 0 12px 32px rgba(255, 92, 0, 0.18);
    margin-bottom: 20px;
    background: linear-gradient(145deg, #ffd4b0, var(--brand));
}
.rs-home-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-home-photo-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Anton', sans-serif; font-size: 2rem;
}
.rs-home-body h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3rem);
    line-height: 1.05;
    margin-bottom: 8px;
}
.rs-home-role {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 12px;
}
.rs-home-tag {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
    max-width: 440px;
    margin-bottom: 28px;
    word-break: keep-all;
    line-height: 1.8;
}

.rs-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 520px;
}
.rs-menu-grid button {
    min-height: 64px;
    padding: 12px 10px;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
    text-align: center;
    line-height: 1.4;
}
.rs-menu-grid button:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}
.rs-menu-grid button span {
    display: block;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 4px;
}
.rs-menu-grid button:hover span { color: rgba(255,255,255,0.85); }

/* CONTENT BLOCKS */
.rs-lead {
    font-size: 1rem;
    font-weight: 500;
    color: #222;
    margin-bottom: 0.85rem;
    word-break: keep-all;
    line-height: 1.65;
}
.rs-lead--sm {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.rs-text-block {
    margin-bottom: 1.25rem;
}
.rs-text-block h3 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--brand);
    margin-bottom: 6px;
}
.rs-subhead {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.6;
    word-break: keep-all;
}
.rs-text-block p,
.rs-text-block li {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    line-height: 1.85;
    word-break: keep-all;
}
.rs-text-block p + p { margin-top: 0.75rem; }
.rs-text-block ul { padding-left: 1.15rem; }
.rs-text-block li { margin-bottom: 6px; }

.rs-quote {
    margin: 1.5rem 0 1.75rem;
    padding: 16px 18px;
    border-left: 4px solid var(--brand);
    background: rgba(255, 92, 0, 0.06);
    border-radius: 0 12px 12px 0;
    font-size: 0.94rem;
    font-weight: 500;
    font-style: normal;
    color: #333;
    line-height: 1.75;
    word-break: keep-all;
}

.rs-about-layout {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 22px;
    margin-bottom: 0.5rem;
    align-items: start;
}
.rs-about-layout .rs-figure { aspect-ratio: 3/4; border: 2px solid var(--brand); }
.rs-page[data-page="about"] .rs-body-inner { max-width: 640px; }

.rs-about-intro { padding-top: 4px; }
.rs-about-tagline {
    font-size: 1.06rem;
    font-weight: 700;
    color: #111;
    line-height: 1.45;
    margin-bottom: 0;
    word-break: keep-all;
}
.rs-about-summary {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.75;
    word-break: keep-all;
}

/* COMPACT — About · Performance · Career · Campus */
.rs-about-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.rs-figure--sm { width: 72px; flex-shrink: 0; border: 2px solid var(--brand); border-radius: 12px; aspect-ratio: 1; overflow: hidden; }
.rs-figure--sm img { width: 100%; height: 100%; object-fit: cover; }
.rs-about-oneline {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.5;
    word-break: keep-all;
}
.rs-like-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.rs-chip {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #444;
    background: #fff;
    border: 1px solid var(--border);
}
.rs-chip:first-child { color: var(--brand); border-color: rgba(255, 92, 0, 0.35); background: rgba(255, 92, 0, 0.06); }

.rs-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.rs-about-card {
    padding: 12px 13px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
}
.rs-about-card h3 {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 6px;
}
.rs-about-card p {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #333;
    word-break: keep-all;
}
.rs-about-card .rs-tagline {
    font-size: 0.76rem;
    font-weight: 600;
    color: #444;
    line-height: 1.5;
}

.rs-compact-metrics,
.rs-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rs-compact-metrics li,
.rs-timeline li {
    display: grid;
    grid-template-columns: 4.2rem 1fr;
    gap: 8px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 212, 176, 0.55);
    font-size: 0.82rem;
    line-height: 1.55;
    color: #333;
    word-break: keep-all;
}
.rs-compact-metrics li:last-child,
.rs-timeline li:last-child { border-bottom: none; }
.rs-compact-metrics .k,
.rs-timeline .yr {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand);
}
.rs-timeline strong { font-weight: 600; color: #222; }

.rs-footnote {
    margin-top: 10px;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.55;
    word-break: keep-all;
}
.rs-image-note--sm {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 0.76rem;
}

.rs-about-section {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 212, 176, 0.65);
}
.rs-about-section--last { border-bottom: none; padding-bottom: 0.5rem; }
.rs-about-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}
.rs-about-sub {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
    line-height: 1.55;
    word-break: keep-all;
}
.rs-about-section > p {
    font-size: 0.94rem;
    font-weight: 400;
    color: #333;
    line-height: 1.85;
    word-break: keep-all;
    margin-bottom: 0.85rem;
}
.rs-about-section > p:last-child { margin-bottom: 0; }

.rs-about-points {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}
.rs-about-points li {
    position: relative;
    padding: 10px 0 10px 0;
    border-top: 1px dashed rgba(255, 212, 176, 0.8);
    font-size: 0.91rem;
    line-height: 1.7;
    color: #333;
    word-break: keep-all;
}
.rs-about-points li:first-child { border-top: none; padding-top: 0; }
.rs-about-points .k {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 3px;
}

.rs-skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rs-skill-list li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 212, 176, 0.75);
}
.rs-skill-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rs-skill-list strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}
.rs-skill-list span {
    display: block;
    font-size: 0.88rem;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    word-break: keep-all;
}

.rs-metric-block {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 16px;
    border-top: 5px solid var(--brand);
    padding: 22px 20px;
    margin-bottom: 16px;
}
.rs-metric-block .num {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 5vw, 2.6rem);
    line-height: 1;
    margin-bottom: 4px;
}
.rs-metric-block .num span { color: var(--brand); }
.rs-metric-block .lbl {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
    margin-bottom: 12px;
}
.rs-metric-block .detail { font-size: 0.95rem; font-weight: 400; color: #333; line-height: 1.8; }
.rs-metric-block .detail ul { margin-top: 10px; padding-left: 1.1rem; }
.rs-metric-block .result {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text);
}
.rs-metric-block .result em {
    font-style: normal;
    color: var(--brand);
    margin-right: 6px;
}

.rs-career-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    border-left: 4px solid var(--brand);
    padding: 20px 22px;
    margin-bottom: 18px;
}
.rs-career-block--media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 34%);
    gap: 16px;
    align-items: start;
}
.rs-career-block--media .rs-figure {
    aspect-ratio: 4/3;
    min-height: 120px;
}
.rs-career-block .head {
    margin-bottom: 12px;
}
.rs-career-block .period {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0;
}
.rs-career-block h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 4px 0;
    line-height: 1.45;
}
.rs-career-block .org {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
}
.rs-career-block .focus {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    background: var(--brand);
    padding: 4px 10px;
    border-radius: 999px;
}
.rs-career-block ul { padding-left: 1.1rem; margin-top: 10px; }
.rs-career-block li {
    font-size: 0.94rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 7px;
    line-height: 1.75;
    word-break: keep-all;
}
.rs-career-block .result {
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text);
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}
.rs-career-block .result em { font-style: normal; color: var(--brand); }

.rs-campus-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 212, 176, 0.7);
}
.rs-campus-item:last-child { border-bottom: none; }
.rs-campus-item h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.rs-campus-item .yr {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 4px;
}
.rs-campus-item p {
    font-size: 0.94rem;
    font-weight: 400;
    color: #333;
    line-height: 1.75;
    word-break: keep-all;
}

.rs-contact-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.rs-contact-btns a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid var(--brand);
    transition: background 0.2s, color 0.2s;
}
.rs-btn-fill { background: var(--brand); color: #fff; }
.rs-btn-fill:hover { background: #e55200; }
.rs-btn-line { background: transparent; color: var(--brand); }
.rs-btn-line:hover { background: rgba(255, 92, 0, 0.08); }

.rs-portfolio-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(0,0,0,0.04);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.6;
}
.rs-portfolio-note a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 520px) {
    .rs-nav-dock { grid-template-columns: repeat(6, 1fr); }
    .rs-nav-dock button { font-size: 0.5rem; min-height: 50px; padding: 6px 2px; }
    .rs-nav-dock button i { font-size: 0.9rem; }
    .rs-menu-grid { grid-template-columns: 1fr 1fr; }
    .rs-menu-grid button.rs-menu-wide { grid-column: 1 / -1; }
    .rs-gallery, .rs-gallery--3 { grid-template-columns: 1fr 1fr; }
    .rs-split-card { grid-template-columns: 1fr; }
    .rs-about-grid { grid-template-columns: 1fr; }
    .rs-about-top { flex-direction: column; text-align: center; }
    .rs-figure--sm { margin: 0 auto; }
    .rs-compact-metrics li,
    .rs-timeline li { grid-template-columns: 3.5rem 1fr; font-size: 0.78rem; }
    .rs-stats-row { grid-template-columns: 1fr 1fr; }
    .rs-perf-block h3 { font-size: 0.98rem; }
    .rs-perf-stat { display: block; margin: 6px 0 0; width: fit-content; }
}

/* === upgrade v2 === */
.rs-upgrade-banner { display: none !important; }
.rs-inline-link, .rs-text-link {
    background: none; border: none; padding: 0; font: inherit; font-weight: 700;
    color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
a.rs-text-link { text-decoration: underline; }
.rs-perf-action { margin-top: 10px; }
.rs-career-block .result a { color: var(--brand); font-weight: 700; text-decoration: none; }
.rs-career-block .result a:hover { text-decoration: underline; }
.rs-lightbox-prev, .rs-lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(0,0,0,0.55); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.rs-lightbox-prev { left: 12px; }
.rs-lightbox-next { right: 12px; }
