:root {
    --guide-bg: #f7f7f5;
    --guide-paper: #ffffff;
    --guide-paper-soft: #fbfbfa;
    --guide-ink: #1f2933;
    --guide-muted: #667085;
    --guide-line: #e6e4df;
    --guide-soft: #f2f1ee;
    --guide-accent: #334155;
    --guide-accent-soft: #eef0f3;
    --guide-shadow: 0 18px 48px rgba(30, 41, 59, .08);
    --guide-radius: 24px;
}

html { scroll-behavior: smooth; }
body.works-page,
body.artmug-page {
    margin: 0;
    min-height: 100vh;
    padding: 32px 18px 88px;
    background: linear-gradient(180deg, #fff 0%, var(--guide-bg) 54%, #fff 100%);
    color: var(--guide-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
    text-align: left;
    line-height: 1.65;
    word-break: keep-all;
}

body.works-page {
    background: var(--guide-bg);
}

body.works-page .wrap,
body.artmug-page .wrap {
    width: min(1040px, 100%);
    max-width: 1040px;
    margin: 0 auto;
}

.page-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .06em;
}

body.works-page .main-header,
body.artmug-page .main-header {
    display: block !important;
    width: 100%;
    margin: 0 0 24px;
    padding: 30px 34px;
    border: 0;
    border-radius: 34px;
    background: var(--guide-ink);
    color: #fff;
    box-shadow: var(--guide-shadow);
    text-align: left;
}
body.works-page .main-header .page-kicker,
body.artmug-page .main-header .page-kicker {
    background: rgba(255,255,255,.12);
    color: #e5e7eb;
}
body.works-page .mh-title,
body.artmug-page .mh-title {
    margin: 12px 0 8px;
    color: #fff;
    font-size: clamp(30px, 5vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.055em;
}
body.works-page .mh-desc,
body.artmug-page .mh-desc {
    margin: 0;
    color: #d1d5db;
    font-size: 15px;
    font-weight: 650;
}
body.works-page .mh-desc .hl-point,
body.artmug-page .mh-desc .hl-point {
    padding: 0;
    background: none;
    color: #fff;
    font-weight: 900;
}

.contact-inline-section,
body.works-page #works,
body.artmug-page .guide-box,
body.artmug-page .gallery-sec,
body.artmug-page .order-form {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--guide-line);
    border-radius: var(--guide-radius);
    background: var(--guide-paper);
    box-shadow: var(--guide-shadow);
}

.contact-inline-section,
body.works-page #works {
    padding: 28px;
    margin: 0 0 24px;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}
.section-heading-row .section-kicker {
    margin-bottom: 8px;
    background: var(--guide-accent-soft);
    color: var(--guide-accent);
}
.section-heading-row h2 {
    margin: 0;
    color: var(--guide-ink);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.04em;
}
.section-heading-row p {
    max-width: 420px;
    margin: 0;
    color: var(--guide-muted);
    font-size: 13px;
    font-weight: 650;
    text-align: right;
}

/* General page: contact values are independent 1:1 cards in one horizontal row. */
.contact-inline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.contact-square {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 18px;
    border: 1px solid var(--guide-line);
    border-radius: 22px;
    background: var(--guide-paper-soft);
    color: var(--guide-ink);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-square:hover,
.contact-square:focus-visible {
    transform: translateY(-3px);
    border-color: #c8c3b8;
    background: #fff;
    box-shadow: 0 14px 30px rgba(30,41,59,.08);
    outline: none;
}
.contact-square .contact-icon {
    width: 34px;
    height: 34px;
    margin: 0 0 auto;
    color: var(--guide-accent);
}
.contact-square .contact-icon svg { width: 100%; height: 100%; fill: currentColor; }
.contact-square .contact-label {
    margin: 16px 0 2px;
    color: var(--guide-ink);
    font-size: 14px;
    font-weight: 900;
}
.contact-square .contact-value {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--guide-muted);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.works-page .main-nav-wrap.static-work-nav {
    display: flex !important;
    justify-content: flex-start;
    margin: 0 0 14px;
}
body.works-page .main-tabs {
    padding: 6px;
    border: 1px solid var(--guide-line);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 26px rgba(30,41,59,.06);
}
body.works-page .main-tab {
    min-width: 118px;
    padding: 10px 18px;
    border-radius: 13px;
    color: var(--guide-muted);
    font-size: 14px;
    font-weight: 900;
}
body.works-page .main-tab.active {
    background: var(--guide-ink);
    color: #fff;
    box-shadow: none;
}

body.works-page #works {
    scroll-margin-top: 24px;
}
body.works-page .gallery-heading-row { margin-bottom: 16px; }
body.works-page .content-box.gallery-shell-fixed {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.works-page .gallery-list-wrap { width: 100%; }
body.works-page .thumb-track.general-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-height: 360px;
    padding: 0;
}
body.works-page .thumb-card.guide-theme-thumb,
body.artmug-page .artmug-gallery-grid .thumb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--guide-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30,41,59,.05);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.works-page .thumb-card.guide-theme-thumb:hover,
body.works-page .thumb-card.guide-theme-thumb:focus-visible,
body.artmug-page .artmug-gallery-grid .thumb-card:hover,
body.artmug-page .artmug-gallery-grid .thumb-card:focus-visible {
    transform: translateY(-3px);
    border-color: #c8c3b8;
    box-shadow: 0 16px 34px rgba(30,41,59,.1);
    outline: none;
}
body.works-page .thumb-img-wrap,
body.artmug-page .thumb-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
    background: var(--guide-soft);
}
body.works-page .thumb-img-wrap img,
body.works-page .thumb-img-wrap video,
body.artmug-page .thumb-img-wrap img,
body.artmug-page .thumb-img-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.works-page .thumb-img-wrap video { opacity: 0; transition: opacity .25s ease; }
body.works-page .thumb-img-wrap video.loaded { opacity: 1; }
body.works-page .thumb-img-wrap img { opacity: 1; transition: opacity .25s ease; }
body.works-page .thumb-img-wrap img.preview-hidden { opacity: 0; }
body.works-page .youtube-open-badge {
    position: absolute;
    z-index: 4;
    top: 9px;
    right: 9px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(31,41,51,.82);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .18s ease, transform .18s ease;
}
body.works-page .thumb-card:hover .youtube-open-badge,
body.works-page .thumb-card:focus-visible .youtube-open-badge { opacity: 1; transform: translateY(0); }
body.works-page .thumb-info,
body.artmug-page .thumb-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 92px;
    padding: 12px 13px 13px;
    text-align: left;
}
body.works-page .thumb-title,
body.artmug-page .thumb-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--guide-ink);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
body.artmug-page .thumb-info {
    flex: 0 0 auto;
    min-height: 0;
    padding: 9px 12px 10px;
}
body.artmug-page .thumb-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.35;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
}

body.works-page .thumb-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    color: var(--guide-muted);
    font-size: 10.5px;
    font-weight: 650;
}
body.works-page .thumb-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.works-page .gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}
body.works-page .gallery-nav .nav-btn {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--guide-line);
    border-radius: 12px;
    background: #fff;
    color: var(--guide-ink);
    font-size: 16px;
    cursor: pointer;
}
body.works-page .gallery-nav .nav-btn:disabled { opacity: .32; cursor: default; }
body.works-page .page-dots { display: flex; align-items: center; gap: 6px; }
body.works-page .page-dots .dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d6d3cc;
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}
body.works-page .page-dots .dot.active { width: 24px; background: var(--guide-ink); }
.gallery-empty {
    grid-column: 1 / -1;
    min-height: 240px;
    display: grid;
    place-items: center;
    color: var(--guide-muted);
    font-size: 14px;
    font-weight: 700;
}

/* Loading placeholders keep the section footprint fixed while only data is fetched. */
.gallery-skeleton-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--guide-line);
    border-radius: 18px;
    background: var(--guide-paper-soft);
}
.gallery-skeleton-card::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #ecebe7;
}
.gallery-skeleton-card span,
.gallery-skeleton-card i {
    display: block;
    height: 10px;
    margin: 12px 13px 0;
    border-radius: 999px;
    background: #ecebe7;
}
.gallery-skeleton-card i { width: 58%; margin-top: 8px; margin-bottom: 16px; }
.gallery-skeleton-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.72) 48%, transparent 100%);
    animation: guideSkeleton 1.15s ease-in-out infinite;
}
@keyframes guideSkeleton { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
    .gallery-skeleton-card::after { animation: none; }
}

/* Artmug page — same guide visual language, but fully independent document. */
body.artmug-page .main-header { margin-bottom: 24px; }
body.artmug-page .guide-box,
body.artmug-page .gallery-sec,
body.artmug-page .order-form {
    max-width: none;
    margin: 0 0 24px;
    overflow: hidden;
}
body.artmug-page .guide-head {
    justify-content: flex-start;
    padding: 22px 28px;
    border-bottom: 1px solid var(--guide-line);
    border-radius: 0;
    background: var(--guide-paper-soft);
    color: var(--guide-ink);
    font-size: 17px;
}
body.artmug-page .guide-body { padding: 28px; color: var(--guide-ink); }
body.artmug-page .guide-sec { margin-bottom: 28px; }
body.artmug-page .guide-h3 {
    padding: 7px 11px;
    border-radius: 10px;
    background: var(--guide-accent-soft);
    color: var(--guide-accent);
    font-size: 13px;
    letter-spacing: 0;
}
body.artmug-page .guide-list { color: var(--guide-muted); font-size: 14px; }
body.artmug-page .guide-list li::before { color: var(--guide-accent); }
body.artmug-page .hl-text {
    background: linear-gradient(180deg, transparent 62%, #e9edf1 38%);
    color: var(--guide-accent);
}
body.artmug-page .license-notice-sec { border-top-color: var(--guide-line); }
body.artmug-page .license-notice-more {
    border-color: var(--guide-line);
    border-radius: 12px;
    background: var(--guide-paper-soft);
    color: var(--guide-accent);
}
body.artmug-page .notice-wrap { padding: 18px 28px 0; }
body.artmug-page .gallery-sec > .portfolio-cc-notice {
    padding: 0 0 18px;
}
body.artmug-page .cc-notice-card,
body.artmug-page .form-cc-notice {
    border-color: var(--guide-line);
    background: var(--guide-accent-soft);
    color: var(--guide-accent);
    box-shadow: none;
}
body.artmug-page .cc-notice-copy,
body.artmug-page .cc-notice-copy strong,
body.artmug-page .cc-notice-copy span { color: var(--guide-accent); }

body.artmug-page .gallery-sec { padding: 28px; }
body.artmug-page .content-box {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.artmug-page .right-column-wrap { width: 100%; max-width: none; }
body.artmug-page .thumb-track.artmug-gallery-sections {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
body.artmug-page .artmug-gallery-section {
    padding: 20px;
    border: 1px solid var(--guide-line);
    border-radius: 20px;
    background: var(--guide-paper-soft);
}
body.artmug-page .artmug-gallery-heading {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-height: 108px;
    margin-bottom: 18px;
    padding: 16px 18px 16px 22px;
    border: 1px solid var(--guide-line);
    border-radius: 14px;
    background: var(--guide-paper);
}
body.artmug-page .artmug-gallery-heading::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 9px;
    width: 3px;
    border-radius: 999px;
    background: var(--guide-accent);
    opacity: .38;
}
body.artmug-page .artmug-gallery-section.type-premium .artmug-gallery-heading::before {
    opacity: .62;
}
body.artmug-page .artmug-gallery-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
body.artmug-page .artmug-gallery-title-row h3 {
    margin: 0;
    color: var(--guide-ink);
    font-size: 20px;
    line-height: 1.3;
}
body.artmug-page .artmug-gallery-badge,
body.artmug-page .artmug-gallery-section.type-standard .artmug-gallery-badge,
body.artmug-page .artmug-gallery-section.type-premium .artmug-gallery-badge {
    border-color: var(--guide-line);
    border-radius: 9px;
    background: #fff;
    color: var(--guide-accent);
}
body.artmug-page .artmug-gallery-heading p {
    max-width: none;
    margin: 0;
    color: var(--guide-muted);
    text-align: left;
}
body.artmug-page .artmug-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.artmug-page .artmug-gallery-grid .thumb-card::after {
    background: rgba(31,41,51,.82);
}
body.artmug-page .artmug-section-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--guide-line);
}
body.artmug-page .artmug-section-pagination .nav-btn {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--guide-line);
    border-radius: 12px;
    background: #fff;
    color: var(--guide-ink);
    cursor: pointer;
}
body.artmug-page .artmug-section-pagination .nav-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.artmug-page .artmug-section-pagination .nav-btn:disabled { opacity: .32; cursor: default; }
body.artmug-page .artmug-section-pagination .page-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}
body.artmug-page .artmug-section-pagination .page-dots .dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d6d3cc;
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}
body.artmug-page .artmug-section-pagination .page-dots .dot.active {
    width: 24px;
    background: var(--guide-ink);
}

body.artmug-page .order-form {
    padding: 34px;
    background: #fff;
    border-color: var(--guide-line);
    box-shadow: var(--guide-shadow);
}
body.artmug-page .form-title {
    color: var(--guide-ink);
    font-size: 25px;
}
body.artmug-page .form-title::before,
body.artmug-page .form-title::after { background: var(--guide-accent); box-shadow: 0 0 0 5px var(--guide-accent-soft); }
body.artmug-page .form-section-card {
    border-color: var(--guide-line) !important;
    background: var(--guide-paper-soft) !important;
    box-shadow: none !important;
}
body.artmug-page .sec-title,
body.artmug-page .sec-title span { color: var(--guide-accent) !important; }
body.artmug-page .sec-title::before,
body.artmug-page .sec-title::after { border-color: var(--guide-line); }
body.artmug-page .input-group label { color: var(--guide-ink); }
body.artmug-page .input-group input,
body.artmug-page .input-group textarea,
body.artmug-page .option-pill {
    border-color: #d9d7d1;
    background: #fff;
    color: var(--guide-ink);
}
body.artmug-page .input-group input:focus,
body.artmug-page .input-group textarea:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(51,65,85,.10);
}
body.artmug-page .option-pill:hover { border-color: #94a3b8; background: var(--guide-accent-soft); }
body.artmug-page .option-pill input[type="radio"],
body.artmug-page .option-pill input[type="checkbox"],
body.artmug-page .agree-box input[type="checkbox"] { accent-color: var(--guide-accent); }
body.artmug-page .agree-box {
    border-color: var(--guide-line);
    background: var(--guide-accent-soft);
}
body.artmug-page .agree-box label { color: var(--guide-ink); }
body.artmug-page .agree-box .license-link { color: var(--guide-accent); }
body.artmug-page .btn-reset {
    border-color: var(--guide-line);
    background: #fff;
    color: var(--guide-muted);
}
body.artmug-page .btn-copy {
    background: var(--guide-ink);
    box-shadow: 0 10px 24px rgba(31,41,51,.18);
}
body.artmug-page .save-msg { color: var(--guide-muted); animation: none; }
body.artmug-page .toast,
body.works-page .toast {
    background: var(--guide-ink);
    color: #fff;
}

@media screen and (max-width: 780px) {
    body.works-page,
    body.artmug-page { padding: 20px 12px 64px; }
    body.works-page .main-header,
    body.artmug-page .main-header { padding: 25px 24px; border-radius: 26px; }
    .contact-inline-section,
    body.works-page #works,
    body.artmug-page .gallery-sec,
    body.artmug-page .order-form { padding: 20px; border-radius: 20px; }
    .section-heading-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .section-heading-row p { text-align: left; }
    body.works-page .thumb-track.general-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.artmug-page .artmug-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    body.artmug-page .artmug-gallery-section { padding: 12px; }
    body.artmug-page .artmug-gallery-heading { min-height: 104px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 12px; }
    body.artmug-page .artmug-gallery-heading p { max-width: none; text-align: left; }
    body.artmug-page .guide-body { padding: 22px 20px; }
    body.artmug-page .guide-head { padding: 18px 20px; }
}

@media screen and (max-width: 620px) {
    .contact-inline-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }
    .contact-square {
        flex: 0 0 124px;
        scroll-snap-align: start;
        padding: 14px;
        border-radius: 18px;
    }
    body.artmug-page .artmug-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.artmug-page .artmug-gallery-grid .thumb-info { min-height: 0; padding: 8px 9px 9px; }
    body.artmug-page .artmug-gallery-grid .thumb-title { font-size: 10.5px; }
}

/* 2026-08-20 UI trim: compact contact row, no redundant Works tab/header copy. */
body.works-page .contact-inline-section {
    padding: 16px 18px;
}
body.works-page .contact-inline-grid {
    gap: 10px;
}
body.works-page .contact-square {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 1px;
    min-height: 66px;
    aspect-ratio: auto;
    padding: 11px 14px;
    border-radius: 16px;
}
body.works-page .contact-square .contact-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 28px;
    height: 28px;
    margin: 0;
}
body.works-page .contact-square .contact-label {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.25;
}
body.works-page .contact-square .contact-value {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 11px;
    line-height: 1.3;
}
body.works-page .main-nav-wrap.static-work-nav {
    display: none !important;
}
body.works-page #works {
    padding-top: 28px;
}

@media screen and (max-width: 620px) {
    body.works-page .contact-inline-section {
        padding: 14px;
    }
    body.works-page .contact-square {
        flex: 0 0 176px;
        min-height: 62px;
        padding: 10px 12px;
        border-radius: 15px;
    }
    body.works-page .contact-square {
        grid-template-columns: 25px minmax(0, 1fr);
    }
    body.works-page .contact-square .contact-icon {
        width: 25px;
        height: 25px;
    }
}

/* 2026-08-20 Artmug title comfort pass: slightly taller, vertically centered, softer weight. */
body.artmug-page .artmug-gallery-grid .thumb-info {
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 12px;
    justify-content: center;
}
body.artmug-page .artmug-gallery-grid .thumb-title {
    color: #344054;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.015em;
}

@media screen and (max-width: 620px) {
    body.artmug-page .artmug-gallery-grid .thumb-info {
        min-height: 40px;
        padding: 7px 9px;
    }
    body.artmug-page .artmug-gallery-grid .thumb-title {
        font-weight: 700;
    }
}

/* 2026-08-20 General page recovery: visible section headers and full header-aligned width. */
body.works-page .contact-inline-section,
body.works-page #works {
    width: 100%;
    max-width: none;
}
body.works-page .simple-section-heading {
    align-items: center;
    margin-bottom: 14px;
}
body.works-page .simple-section-heading h2 {
    margin: 0;
    color: var(--guide-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}
body.works-page .contact-inline-section {
    padding-top: 18px;
}
body.works-page #works {
    padding-top: 22px;
}

/* Restore the SVG pager styling that was lost during the Artmug-only CSS pass. */
body.works-page .gallery-nav .nav-btn {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--guide-line);
    border-radius: 12px;
    background: #fff;
    color: var(--guide-ink);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body.works-page .gallery-nav .nav-btn:hover:not(:disabled),
body.works-page .gallery-nav .nav-btn:focus-visible {
    transform: translateY(-1px);
    border-color: #b8b4aa;
    background: var(--guide-paper-soft);
    outline: none;
}
body.works-page .gallery-nav .nav-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.works-page .gallery-nav .nav-btn:disabled {
    opacity: .32;
    cursor: default;
    transform: none;
}

@media screen and (max-width: 620px) {
    body.works-page .simple-section-heading {
        margin-bottom: 12px;
    }
    body.works-page .simple-section-heading h2 {
        font-size: 17px;
    }
}

/* 2026-08-20 non-regression lock: main sections must stay header-aligned. */
body.works-page .page-shell > .main-header,
body.works-page .page-shell > .contact-inline-section,
body.works-page .page-shell > #works {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Pager icons are SVG strokes, never font glyphs. */
body.works-page .gallery-nav .nav-btn svg,
body.artmug-page .artmug-section-pagination .nav-btn svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* 2026-09-07: tighten Works title area and center the title vertically. */
body.works-page .thumb-info {
    flex: 0 0 auto;
    min-height: 0;
    padding: 7px 12px;
    justify-content: center;
}
body.works-page .thumb-title {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #5a4a58;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.015em;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
}
body.works-page .thumb-meta {
    display: none;
}
@media screen and (max-width: 620px) {
    body.works-page .thumb-info {
        min-height: 0;
        padding: 6px 9px;
    }
}


/* 2026-08-21: Contact copy feedback anchored above the clicked button. */
body.works-page .contact-square {
    position: relative;
    overflow: visible;
}
body.works-page .contact-copy-bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    z-index: 20;
    padding: 7px 10px;
    border-radius: 9px;
    background: #353535;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 5px) scale(.96);
    box-shadow: 0 8px 18px rgba(30, 41, 59, .14);
    transition: opacity .2s ease, transform .24s ease;
}
body.works-page .contact-copy-bubble::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: #353535;
    transform: translateX(-50%);
}
body.works-page .contact-copy-bubble.show {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

/* 2026-09-01 main page: Works -> Price -> Contact */
body.works-page .price-inline-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 24px 28px 28px;
    border: 1px solid var(--guide-line);
    border-radius: var(--guide-radius);
    background: var(--guide-paper);
    box-shadow: var(--guide-shadow);
    scroll-margin-top: 24px;
}
body.works-page .price-heading-row {
    margin-bottom: 16px;
}
body.works-page .price-heading-row p {
    margin-left: auto;
    color: var(--guide-muted);
    font-size: 12px;
    font-weight: 700;
}
body.works-page .price-service-stack {
    display: grid;
    gap: 14px;
}
body.works-page .service-price-card {
    box-sizing: border-box;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--guide-line);
    border-radius: 20px;
    background: var(--guide-paper-soft);
}
body.works-page .outsource-price-card {
    background: #252f39;
    border-color: #252f39;
    color: #fff;
}
body.works-page .service-price-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}
body.works-page .service-price-kicker {
    display: block;
    margin-bottom: 7px;
    color: #7b8490;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .08em;
}
body.works-page .outsource-price-card .service-price-kicker {
    color: #adb7c1;
}
body.works-page .service-price-card h3 {
    margin: 0;
    color: var(--guide-ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.035em;
}
body.works-page .service-price-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}
body.works-page .service-price-audience {
    color: #8c949c;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.015em;
    white-space: nowrap;
}
body.works-page .outsource-price-card .service-price-audience {
    color: #adb7c1;
}
body.works-page .outsource-price-card h3 {
    color: #fff;
}
body.works-page .service-price-amount-wrap {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}
body.works-page .service-price-amount {
    color: #fff;
    font-size: clamp(19px, 3vw, 25px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.04em;
    white-space: nowrap;
}
body.works-page .service-price-amount-wrap span {
    color: #aeb8c1;
    font-size: 10.5px;
    font-weight: 700;
}
body.works-page .service-price-copy {
    margin: 18px 0 12px;
    color: #d4d9de;
    font-size: 13px;
    font-weight: 650;
}
body.works-page .service-price-notes {
    display: grid;
    gap: 5px;
    margin-bottom: 18px;
    color: #adb7c1;
    font-size: 11.5px;
    font-weight: 650;
}
body.works-page .service-price-notes span {
    position: relative;
    padding-left: 13px;
}
body.works-page .service-price-notes span::before {
    content: "";
    position: absolute;
    top: .68em;
    left: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}
body.works-page .price-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #d7d9dc;
    border-radius: 12px;
    background: #fff;
    color: var(--guide-ink);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body.works-page .price-cta:hover,
body.works-page .price-cta:focus-visible {
    transform: translateY(-1px);
    border-color: #9fa6ad;
    background: #f7f7f6;
    outline: none;
}
body.works-page .outsource-price-card .price-cta-primary {
    border-color: #fff;
    background: #fff;
    color: #202a34;
}
body.works-page .commission-price-head {
    align-items: end;
}
body.works-page .commission-price-meta {
    display: grid;
    justify-items: end;
    gap: 4px;
    max-width: 470px;
    text-align: right;
}
body.works-page .commission-price-meta > p {
    margin: 0;
    color: var(--guide-muted);
    font-size: 11.5px;
    font-weight: 700;
}
body.works-page .commission-price-meta .commission-price-note {
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.5;
}
body.works-page .commission-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 12px;
}
body.works-page .commission-tier {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--guide-line);
    border-radius: 16px;
    background: #fff;
}
body.works-page .commission-tier-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}
body.works-page .commission-tier-title span {
    padding: 3px 6px;
    border: 1px solid #d9dde1;
    border-radius: 7px;
    color: #68727d;
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}
body.works-page .commission-tier-title strong {
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}
body.works-page .commission-tier-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: var(--guide-ink);
    line-height: 1.2;
    white-space: nowrap;
}
body.works-page .commission-tier-price > strong {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.035em;
}
body.works-page .commission-tier-duration {
    color: #8a929b;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: -.01em;
}
body.works-page .commission-tier-extra {
    margin-top: 5px;
    color: var(--guide-muted);
    font-size: 10.5px;
    font-weight: 700;
}
body.works-page .commission-tier-extra strong {
    color: #4c5763;
    font-weight: 900;
}
body.works-page .commission-price-note {
    margin: 0;
    color: var(--guide-muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.6;
}
body.works-page #contact {
    scroll-margin-top: 24px;
}

@media screen and (max-width: 780px) {
    body.works-page .price-inline-section {
        padding: 20px;
        border-radius: 20px;
    }
    body.works-page .price-heading-row p {
        margin-left: 0;
        text-align: left;
    }
}

@media screen and (max-width: 620px) {
    body.works-page .service-price-card {
        padding: 18px;
        border-radius: 18px;
    }
    body.works-page .service-price-head,
    body.works-page .commission-price-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    body.works-page .service-price-audience {
        font-size: 10px;
    }
    body.works-page .service-price-amount-wrap {
        justify-items: start;
        text-align: left;
    }
    body.works-page .commission-price-meta {
        justify-items: start;
        text-align: left;
    }
    body.works-page .commission-tier-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    body.works-page .commission-tier {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 2px 12px;
        padding: 12px 13px;
    }
    body.works-page .commission-tier-title {
        grid-column: 1;
        grid-row: 1 / 3;
        margin: 0;
    }
    body.works-page .commission-tier-price > strong,
    body.works-page .commission-tier-extra {
        text-align: right;
    }
    body.works-page .commission-tier-price {
        grid-column: 2;
        grid-row: 1;
        font-size: 16px;
    }
    body.works-page .commission-tier-extra {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
    }
    body.works-page .price-cta {
        width: 100%;
        box-sizing: border-box;
    }
}


/* 202609010955: softer outsource card + unified commission tier accents */
body.works-page .outsource-price-card {
    background: #f1f2f3;
    border-color: #dde1e5;
    color: var(--guide-ink);
}
body.works-page .outsource-price-card h3 { color: #344054; }
body.works-page .outsource-price-card .service-price-amount { color: #26313c; }
body.works-page .outsource-price-card .service-price-amount-wrap span { color: #7b8490; }
body.works-page .outsource-price-card .service-price-copy { color: #55616d; }
body.works-page .outsource-price-card .service-price-notes { color: #6f7984; }
body.works-page .outsource-price-card .price-cta-primary {
    border-color: #cfd5db;
    background: #fff;
    color: #344054;
}

body.works-page .commission-tier.tier-standard .commission-tier-title span {
    border-color: #afc8b3;
    background: #e4ede5;
    color: #486b50;
}
body.works-page .commission-tier.tier-premium .commission-tier-title span {
    border-color: #d5c58e;
    background: #f2ecd8;
    color: #776329;
}
body.works-page .commission-tier.tier-master .commission-tier-title span {
    border-color: #c4b2d1;
    background: #ebe4f0;
    color: #644f76;
}
body.works-page .commission-tier.tier-standard .commission-tier-title strong { color: #4e7256; }
body.works-page .commission-tier.tier-premium .commission-tier-title strong { color: #7d692f; }
body.works-page .commission-tier.tier-master .commission-tier-title strong { color: #604c72; }


/* 202609010956: remove divider between Artmug thumbnails and pagination controls */
body.artmug-page .artmug-section-pagination {
    padding-top: 0;
    border-top: 0;
}

/* 2026-09-01: fixed bottom section indicator */
body.works-page {
    padding-bottom: 118px;
}
body.works-page .bottom-indicator-nav {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100vw - 24px);
    padding: 6px;
    border: 1px solid rgba(214, 216, 218, .88);
    border-radius: 999px;
    background: rgba(250, 250, 249, .88);
    box-shadow: 0 12px 34px rgba(31, 41, 51, .13), 0 2px 8px rgba(31, 41, 51, .05);
    backdrop-filter: blur(16px) saturate(115%);
    -webkit-backdrop-filter: blur(16px) saturate(115%);
    transform: translateX(-50%);
}
body.works-page .bottom-indicator-nav a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #727b84;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
body.works-page .bottom-indicator-nav a:hover,
body.works-page .bottom-indicator-nav a:focus-visible {
    background: rgba(31, 41, 51, .055);
    color: #35404a;
    outline: none;
}
body.works-page .bottom-indicator-nav a:active {
    transform: scale(.97);
}
body.works-page .bottom-indicator-nav a.is-active {
    background: #e8e9e8;
    color: #202a33;
}
body.works-page .bottom-indicator-brand {
    padding-left: 12px !important;
    padding-right: 13px !important;
}
body.works-page .bottom-indicator-brand .brand-name {
    color: inherit;
    font-size: 12.5px;
    font-weight: 950;
    letter-spacing: -.045em;
}
body.works-page .bottom-indicator-brand .brand-name span {
    color: #7d858d;
    font-weight: 800;
}
body.works-page .bottom-indicator-brand.is-active .brand-name span {
    color: #59636c;
}
body.works-page .bottom-indicator-divider {
    width: 1px;
    height: 13px;
    flex: 0 0 auto;
    margin: 0 1px;
    background: #d9dcde;
}
body.works-page #main,
body.works-page #works,
body.works-page #price,
body.works-page #contact {
    scroll-margin-top: 22px;
}

@media screen and (max-width: 560px) {
    body.works-page {
        padding-bottom: 104px;
    }
    body.works-page .bottom-indicator-nav {
        bottom: max(12px, env(safe-area-inset-bottom));
        gap: 2px;
        padding: 5px;
    }
    body.works-page .bottom-indicator-nav a {
        min-height: 32px;
        padding: 0 9px;
        font-size: 10.5px;
    }
    body.works-page .bottom-indicator-brand {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
    body.works-page .bottom-indicator-brand .brand-name {
        font-size: 11.5px;
    }
    body.works-page .bottom-indicator-divider {
        height: 12px;
        margin: 0;
    }
}

@media screen and (max-width: 390px) {
    body.works-page .bottom-indicator-nav a {
        padding: 0 7px;
        font-size: 10px;
    }
    body.works-page .bottom-indicator-brand {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
    body.works-page .bottom-indicator-brand .brand-name {
        font-size: 10.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.works-page .bottom-indicator-nav a {
        transition: none;
    }
}

/* 2026090110xx: compact duration + overage line */
body.works-page .commission-tier-extra {
    display: flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
}
body.works-page .commission-tier-extra-divider {
    color: #a2a8ae;
    font-weight: 600;
}


/* 2026-09-01: main hero doubles as the Contact section. */
body.works-page .main-header .mh-contact-intro {
    display: grid;
    gap: 5px;
    max-width: 760px;
}
body.works-page .main-header .mh-contact-intro p {
    margin: 0;
    color: #e2e6ea;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.65;
}
body.works-page .main-header .mh-contact-intro strong {
    color: #fff;
    font-weight: 900;
}
body.works-page .main-header .header-contact-grid {
    margin-top: 24px;
    gap: 9px;
}
body.works-page .main-header .contact-square {
    min-height: 66px;
    border-color: rgba(255,255,255,.13);
    background: rgba(255,255,255,.075);
    color: #fff;
    box-shadow: none;
}
body.works-page .main-header .contact-square:hover,
body.works-page .main-header .contact-square:focus-visible {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    box-shadow: none;
}
body.works-page .main-header .contact-square .contact-icon {
    color: #fff;
    opacity: .92;
}
body.works-page .main-header .contact-square .contact-label {
    color: #fff;
}
body.works-page .main-header .contact-square .contact-value {
    color: #aeb6bf;
}
body.works-page .main-header .contact-copy-bubble {
    background: #fff;
    color: #26313c;
}
body.works-page .main-header .contact-copy-bubble::after {
    border-top-color: #fff;
}
body.works-page .page-shell > .main-header {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
body.works-page #main,
body.works-page #works,
body.works-page #price {
    scroll-margin-top: 22px;
}

@media screen and (max-width: 620px) {
    body.works-page .main-header {
        padding: 24px 20px;
        border-radius: 26px;
    }
    body.works-page .main-header .mh-contact-intro {
        gap: 7px;
    }
    body.works-page .main-header .mh-contact-intro p {
        font-size: 13px;
        line-height: 1.6;
    }
    body.works-page .main-header .header-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 20px;
        gap: 8px;
    }
    body.works-page .main-header .contact-square {
        width: 100%;
        min-height: 60px;
    }
}


/* 2026-09-01: Contact cards are standalone again; indicator Contact still targets #main. */
body.works-page .page-shell > .contact-inline-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
}

/* 2026-09-01: equalize Price request cards and keep the commission CTA compact. */
body.works-page .outsource-price-card,
body.works-page .commission-price-card {
    padding: 22px;
    border-color: #dde0e1;
    background: #f2f3f3;
}
body.works-page .outsource-price-card .service-price-notes {
    margin-bottom: 0;
}
body.works-page .commission-price-card .commission-tier-grid {
    margin: 18px 0 0;
}
body.works-page .commission-price-meta {
    align-self: center;
}
body.works-page .commission-price-meta .price-cta {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 7px;
    width: auto;
    min-height: 38px;
    padding: 0 13px;
    white-space: nowrap;
    border-color: #cfd4d8;
    background: #fff;
    box-shadow: 0 2px 7px rgba(31, 41, 51, .055);
}
body.works-page .price-cta-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media screen and (max-width: 620px) {
    body.works-page .outsource-price-card,
    body.works-page .commission-price-card {
        padding: 18px;
    }
    body.works-page .commission-price-meta {
        width: auto;
        align-self: flex-start;
    }
    body.works-page .commission-price-meta .price-cta {
        width: auto;
        max-width: 100%;
    }
}


/* 2026-09-01: header copy breathing room; Contact sits between Header and Works. */
body.works-page .main-header .mh-contact-intro {
    gap: 11px;
}
body.works-page .page-shell > .contact-inline-section {
    margin-top: 22px;
    margin-bottom: 24px;
}
@media screen and (max-width: 620px) {
    body.works-page .main-header .mh-contact-intro {
        gap: 9px;
    }
}


/* 2026-09-01: give the main hero title and copy a clearer visual hierarchy. */
body.works-page .main-header .mh-title {
    margin: 0;
}
body.works-page .main-header .mh-contact-intro {
    display: grid;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    gap: 14px;
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.works-page .main-header .mh-contact-intro p {
    display: grid;
    gap: 3px;
    margin: 0;
}
body.works-page .main-header .mh-contact-intro p + p {
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.08);
}
body.works-page .main-header .mh-contact-intro .mh-desc-line {
    display: block;
}

@media screen and (max-width: 620px) {
    body.works-page .main-header .mh-contact-intro {
        margin-top: 20px;
        padding: 15px 16px;
        border-radius: 15px;
        gap: 12px;
    }
    body.works-page .main-header .mh-contact-intro p + p {
        padding-top: 11px;
    }
}

/* 2026-09-01: align Price card headings to the same top baseline. */
body.works-page .commission-price-head {
    align-items: flex-start;
}
body.works-page .commission-price-meta {
    align-self: flex-start;
}


/* 2026-09-01: contact action glyphs in the lower-right card line. */
body.works-page .contact-square {
    padding-right: 40px;
}
body.works-page .contact-square .contact-action-icon {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 15px;
    height: 15px;
    color: #98a2b3;
    line-height: 0;
    pointer-events: none;
}
body.works-page .contact-square .contact-action-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}
body.works-page .contact-square:hover .contact-action-icon,
body.works-page .contact-square:focus-visible .contact-action-icon {
    color: #667085;
}
@media screen and (max-width: 620px) {
    body.works-page .contact-square { padding-right: 36px; }
    body.works-page .contact-square .contact-action-icon {
        right: 10px;
        bottom: 9px;
        width: 14px;
        height: 14px;
    }
}

/* 2026-09-01: separate the hero copy from the dark title header. */
body.works-page .page-shell > .main-header {
    margin-bottom: 12px;
    padding-top: 28px;
    padding-bottom: 28px;
}
body.works-page .page-shell > .hero-copy-panel {
    box-sizing: border-box;
    display: grid;
    width: 100%;
    max-width: none;
    gap: 13px;
    margin: 0 0 24px;
    padding: 19px 22px;
    border: 1px solid #dde1e4;
    border-radius: 20px;
    background: #f5f6f6;
    color: #4f5963;
    box-shadow: 0 8px 22px rgba(31, 41, 51, .045);
}
body.works-page .page-shell > .hero-copy-panel p {
    display: grid;
    gap: 3px;
    margin: 0;
    color: #4f5963;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.65;
}
body.works-page .page-shell > .hero-copy-panel p + p {
    padding-top: 12px;
    border-top: 1px solid #e1e4e6;
}
body.works-page .page-shell > .hero-copy-panel .mh-desc-line {
    display: block;
}
body.works-page .page-shell > .hero-copy-panel .hl-point,
body.works-page .page-shell > .hero-copy-panel strong {
    padding: 0;
    background: none;
    color: #222d37;
    font-weight: 900;
}
body.works-page .page-shell > .contact-inline-section {
    margin-top: 0;
}

/* 2026-09-01: place contact action glyphs on the subtitle/value row. */
body.works-page .contact-square {
    grid-template-columns: 28px minmax(0, 1fr) 15px;
    padding-right: 14px;
}
body.works-page .contact-square .contact-label {
    grid-column: 2 / 4;
}
body.works-page .contact-square .contact-action-icon {
    position: static;
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    justify-self: end;
    width: 15px;
    height: 15px;
    margin: 0;
}
@media screen and (max-width: 620px) {
    body.works-page .page-shell > .main-header {
        margin-bottom: 10px;
        padding-top: 23px;
        padding-bottom: 23px;
    }
    body.works-page .page-shell > .hero-copy-panel {
        gap: 11px;
        margin-bottom: 20px;
        padding: 16px 17px;
        border-radius: 17px;
    }
    body.works-page .page-shell > .hero-copy-panel p {
        font-size: 13px;
        line-height: 1.6;
    }
    body.works-page .page-shell > .hero-copy-panel p + p {
        padding-top: 10px;
    }
    body.works-page .contact-square {
        grid-template-columns: 25px minmax(0, 1fr) 14px;
        padding-right: 12px;
    }
    body.works-page .contact-square .contact-action-icon {
        right: auto;
        bottom: auto;
        width: 14px;
        height: 14px;
    }
}

/* 2026-09-01: contact cards link as a whole; subtitle copy takes priority. */
body.works-page .contact-square {
    position: relative;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding-right: 40px;
    overflow: visible;
}
body.works-page .contact-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
body.works-page .contact-square:focus-within {
    border-color: #c8c3b8;
    background: #fff;
    box-shadow: 0 14px 30px rgba(30,41,59,.08);
}
body.works-page .contact-square .contact-label {
    grid-column: 2;
}
body.works-page .contact-square .contact-value {
    grid-column: 2;
    grid-row: 2;
}
body.works-page .contact-square .contact-action-icon {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 0;
    width: 15px;
    height: 15px;
    color: #98a2b3;
    line-height: 0;
    pointer-events: none;
}
body.works-page .contact-copy-target {
    appearance: none;
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-self: start;
    width: auto !important;
    max-width: 100%;
    gap: 4px;
    margin: 0;
    padding: 1px 3px 1px 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--guide-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    cursor: copy;
    transition: color .16s ease, background .16s ease;
}
body.works-page .contact-copy-target .contact-value-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.works-page .contact-sub-copy-icon {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    color: #a5adb8;
    line-height: 0;
    transition: color .16s ease, transform .16s ease;
}
body.works-page .contact-sub-copy-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}
body.works-page .contact-copy-target:hover,
body.works-page .contact-copy-target:focus-visible {
    color: #344054;
    background: #eef0f1;
    outline: none;
}
body.works-page .contact-copy-target:hover .contact-sub-copy-icon,
body.works-page .contact-copy-target:focus-visible .contact-sub-copy-icon {
    color: #59636f;
    transform: translateY(-1px);
}
@media screen and (max-width: 620px) {
    body.works-page .contact-square {
        grid-template-columns: 25px minmax(0, 1fr);
        padding-right: 36px;
    }
    body.works-page .contact-square .contact-action-icon {
        right: 10px;
        bottom: 9px;
        width: 14px;
        height: 14px;
    }
    body.works-page .contact-sub-copy-icon {
        width: 10px;
        height: 10px;
    }
}

body.works-page .contact-copy-target {
    overflow: visible !important;
}

/* 2026-09-02: direct / Artmug commission entry cards replace type price rows on the main Price section. */
body.works-page .commission-price-card .commission-apply-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
body.works-page .commission-price-card .commission-apply-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 10px;
    min-width: 0;
    min-height: 86px;
    box-sizing: border-box;
    padding: 15px 16px;
    border: 1px solid #d7dade;
    border-radius: 15px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(31, 41, 51, .055);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
body.works-page .commission-price-card .commission-apply-card:hover,
body.works-page .commission-price-card .commission-apply-card:focus-visible {
    transform: translateY(-2px);
    border-color: #bec4ca;
    background: #fdfdfd;
    box-shadow: 0 8px 18px rgba(31, 41, 51, .09);
    outline: none;
}
body.works-page .commission-price-card .commission-apply-title {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    color: #2f3944;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.025em;
}
body.works-page .commission-price-card .commission-apply-subtitle {
    grid-column: 1 / 3;
    grid-row: 2;
    min-width: 0;
    color: #7a838d;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
    word-break: keep-all;
}
body.works-page .commission-price-card .commission-apply-card .price-cta-icon {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    color: #8f98a2;
}
@media screen and (max-width: 620px) {
    body.works-page .commission-price-card .commission-apply-grid {
        gap: 8px;
        margin-top: 14px;
    }
    body.works-page .commission-price-card .commission-apply-card {
        min-height: 100px;
        padding: 13px 12px;
        gap: 5px 6px;
    }
    body.works-page .commission-price-card .commission-apply-title {
        font-size: 12.5px;
    }
    body.works-page .commission-price-card .commission-apply-subtitle {
        font-size: 10px;
        line-height: 1.4;
    }
}
