/* /css/styles.css */
/* =========================================================
   Start of Page Styles
   ========================================================= */

main {
    overflow: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
    margin-top: 0;
}

p {
    color: inherit;
}

strong {
    font-weight: 700;
}

.section,
.page-hero,
.hero-section {
    position: relative;
}

.section {
    padding: clamp(4rem, 6vw, 6.5rem) 0;
}

.theme-dark {
    background: linear-gradient(180deg, #0a0a0a 0%, #101010 100%);
    color: var(--text);
}

.theme-dark--tight {
    padding-top: 2rem;
}

.theme-paper {
    background: var(--paper);
    color: var(--ink);
}

.theme-paper p,
.theme-paper li,
.theme-paper .lead,
.theme-paper .page-hero-aside,
.theme-paper .page-hero-aside__title,
.theme-paper .contact-method-list a,
.theme-paper .hero-list,
.theme-paper .hero-list li,
.theme-paper .callout-panel--dark-text p {
    color: var(--ink-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.8rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow--dark {
    background: rgba(17, 17, 17, 0.06);
    border-color: rgba(17, 17, 17, 0.12);
    color: rgba(17, 17, 17, 0.88);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2,
.page-hero-copy h1,
.hero-primary h1 {
    margin-bottom: 1rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.section-heading h2,
.page-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading p,
.page-hero-copy p,
.hero-lead,
.hero-panel p,
.callout-panel p,
.service-preview-card p,
.reason-card p,
.process-card p,
.goods-chip span,
.page-hero-aside,
.service-showcase__intro,
.service-showcase__fit,
.faq-item__body p,
.contact-info-card li,
.contact-form-wrap .form-note,
.contact-method-list a,
.gallery-empty-state p {
    font-size: 1rem;
}

.section-heading p,
.page-hero-copy p,
.hero-lead,
.hero-panel p,
.callout-panel p,
.service-preview-card p,
.reason-card p,
.process-card p,
.page-hero-aside,
.service-showcase__intro,
.service-showcase__fit,
.contact-info-card li,
.contact-form-wrap .form-note,
.gallery-card__name {
    color: var(--muted);
}

.section-heading--dark p,
.section-heading--dark,
.page-hero--contact .lead,
.page-hero--services .lead,
.page-hero--gallery .lead,
.callout-panel--dark-text p,
.theme-paper .section-heading p,
.theme-paper .section-heading,
.theme-paper .page-hero-copy,
.theme-paper .service-showcase__fit {
    color: var(--ink-soft);
}

.hero-section--poster {
    min-height: min(100vh, 980px);
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-height) + 2rem) 0 3rem;
}

.hero-media,
.hero-overlay,
.hero-grid-lines {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-position: center center;
    background-size: cover;
    filter: grayscale(100%) contrast(1.04);
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(7, 7, 7, 0.45), rgba(7, 7, 7, 0.82)),
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 36%);
}

.hero-grid-lines {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
    gap: 1.4rem;
    align-items: end;
}

.hero-primary,
.hero-panel,
.page-hero-aside,
.service-preview-card,
.reason-card,
.process-card,
.goods-chip,
.callout-panel,
.service-showcase,
.faq-item,
.contact-info-card,
.contact-form-wrap,
.gallery-category-chip,
.gallery-card,
.gallery-empty-state {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.hero-primary {
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.52));
}

.hero-primary h1 {
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    max-width: 11ch;
}

.hero-lead {
    max-width: 65ch;
}

.hero-actions,
.callout-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.hero-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.hero-stat-row span,
.goods-chip,
.gallery-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
}

.hero-stat-row span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.hero-secondary {
    display: grid;
    gap: 1rem;
}

.hero-panel {
    padding: 1.35rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(244, 243, 239, 0.95), rgba(226, 224, 217, 0.92));
    color: var(--ink);
}

.hero-panel__eyebrow,
.service-showcase__eyebrow {
    margin-bottom: 0.75rem;
    color: rgba(17, 17, 17, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-panel h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.12;
}

.hero-panel p {
    color: rgba(17, 17, 17, 0.76);
}

.service-preview-grid,
.reason-grid,
.process-grid,
.gallery-category-chips {
    display: grid;
    gap: 1rem;
}

.service-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reason-grid,
.process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-preview-card,
.reason-card,
.process-card {
    padding: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.service-preview-card h3,
.reason-card h3,
.process-card h3,
.contact-info-card h2,
.gallery-empty-state h3 {
    margin-bottom: 0.7rem;
    font-size: 1.24rem;
    line-height: 1.18;
}

.service-preview-card__icon,
.service-showcase__icon {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.15rem;
}

.service-preview-card__icon i,
.service-showcase__icon i,
.faq-indicator i {
    line-height: 1;
}

.split-layout {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.split-layout--balanced {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-layout__intro .btn {
    margin-top: 1rem;
}

.goods-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.goods-chip {
    justify-content: flex-start;
    gap: 0.7rem;
    min-height: 58px;
    background: rgba(17, 17, 17, 0.05);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: none;
}

.goods-chip i {
    color: var(--ink);
    font-size: 1rem;
    flex: 0 0 auto;
}

.goods-chip span {
    color: rgba(17, 17, 17, 0.84);
    font-weight: 600;
}

.reason-card__number,
.process-card__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 56px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.callout-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    gap: 1.4rem;
    align-items: center;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.callout-panel h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.callout-panel--dark-text {
    border-color: rgba(17, 17, 17, 0.08);
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.02));
    box-shadow: none;
}

.callout-panel--dark-text h2,
.callout-panel--dark-text p,
.callout-panel--dark-text .eyebrow {
    color: var(--ink);
}

.page-hero {
    padding: calc(var(--header-height) + 2rem) 0 2.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%), linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

.page-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.4rem;
    align-items: end;
}

.page-hero-copy,
.page-hero-aside {
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: var(--radius-lg);
}

.page-hero-aside__title {
    margin-bottom: 0.85rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.hero-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.hero-list li + li {
    margin-top: 0.5rem;
}

.service-showcase-grid {
    display: grid;
    gap: 1.2rem;
}

.service-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.2rem;
    align-items: stretch;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.service-showcase__content {
    display: flex;
    flex-direction: column;
}

.service-showcase__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-showcase__header h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.08;
}

.service-showcase__intro {
    margin-bottom: 1rem;
}

.service-showcase__list,
.contact-bullet-list {
    margin: 0;
    padding-left: 1.15rem;
}

.service-showcase__list li,
.contact-bullet-list li {
    color: var(--text);
}

.service-showcase__list li + li,
.contact-bullet-list li + li {
    margin-top: 0.45rem;
}

.service-showcase__fit {
    margin-top: 1rem;
}

.service-showcase__media {
    position: relative;
    min-height: 100%;
    height: auto;
    align-self: stretch;
    border-radius: calc(var(--radius-md) - 4px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.service-showcase__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.service-showcase__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 0.55rem;
    padding: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 58%);
}

.service-showcase__placeholder span {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.78);
}

.service-showcase__placeholder strong {
    font-size: 1.1rem;
}

.service-showcase__placeholder small {
    color: var(--muted);
}

.faq-layout {
    display: grid;
    gap: 1rem;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(17, 17, 17, 0.035);
    box-shadow: none;
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.2rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-indicator {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(17, 17, 17, 0.12);
    transition: transform 0.22s ease, background 0.22s ease;
}

.faq-item[open] .faq-indicator {
    transform: rotate(45deg);
    background: rgba(17, 17, 17, 0.06);
}

.faq-item__body {
    padding: 0 1.2rem 1.2rem;
}

.faq-item__body p {
    color: rgba(17, 17, 17, 0.74);
    margin-bottom: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.2rem;
}

.contact-sidebar {
    display: grid;
    gap: 1rem;
}

.contact-info-card,
.contact-form-wrap {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.contact-method-list {
    display: grid;
    gap: 0.6rem;
}

.contact-method-list a {
    color: var(--muted);
}

.contact-method-list a:hover,
.contact-method-list a:focus-visible {
    color: #ffffff;
}

.form-alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.form-alert--success {
    background: rgba(98, 202, 129, 0.16);
    border: 1px solid rgba(98, 202, 129, 0.3);
    color: #dff7e4;
}

.form-alert--error {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.28);
    color: #ffdede;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font-weight: 400;
}

.field select option {
    color: #111111;
}

.field textarea {
    min-height: 170px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted-2);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.form-note {
    margin-bottom: 0;
}

.gallery-category-chips {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 1.35rem;
}

.gallery-category-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(17, 17, 17, 0.05);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: none;
}

.gallery-category-chip strong {
    color: var(--ink);
}

.gallery-category-chip span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-grid--dynamic .gallery-card {
    grid-column: span 3;
}

.gallery-grid--dynamic .gallery-card:nth-child(8n + 1),
.gallery-grid--dynamic .gallery-card:nth-child(8n + 6) {
    grid-column: span 6;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.gallery-grid--dynamic .gallery-card:nth-child(8n + 1) .gallery-thumb,
.gallery-grid--dynamic .gallery-card:nth-child(8n + 6) .gallery-thumb {
    aspect-ratio: 1.55 / 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-card:hover .gallery-img,
.gallery-card:focus-visible .gallery-img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.gallery-card__meta {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
}

.gallery-card__label {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-card__name {
    color: var(--muted);
    font-size: 0.93rem;
}

.gallery-empty-state {
    padding: 1.5rem;
    border: 1px dashed rgba(17, 17, 17, 0.2);
    background: rgba(17, 17, 17, 0.03);
    box-shadow: none;
}

.gallery-empty-state--dark {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.gallery-empty-state--dark h3,
.gallery-empty-state--dark p {
    color: var(--text);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
}

.lightbox.is-open {
    display: block;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
}

.lightbox-dialog {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100% - 2rem), 1100px);
    max-height: calc(100vh - 2rem);
    padding: 0.5rem;
    border-radius: 26px;
    background: rgba(8, 8, 8, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-dialog img {
    width: 100%;
    max-height: calc(100vh - 4rem);
    object-fit: contain;
    border-radius: 22px;
}

.lightbox-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.56);
    color: #ffffff;
    font-size: 1.6rem;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

[data-pointer-glow]::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.14), transparent 34%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

[data-pointer-glow]:hover::before,
[data-pointer-glow]:focus-within::before {
    opacity: 1;
}

@media (max-width: 1100px) {
    .hero-shell,
    .page-hero-layout,
    .contact-layout,
    .split-layout--balanced,
    .callout-panel,
    .service-showcase {
        grid-template-columns: 1fr;
    }

    .service-preview-grid,
    .reason-grid,
    .process-grid,
    .goods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid--dynamic .gallery-card,
    .gallery-grid--dynamic .gallery-card:nth-child(8n + 1),
    .gallery-grid--dynamic .gallery-card:nth-child(8n + 6) {
        grid-column: span 6;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero-section--poster {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero-primary h1 {
        font-size: clamp(2.2rem, 12vw, 3.8rem);
    }

    .service-preview-grid,
    .reason-grid,
    .process-grid,
    .goods-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid--dynamic .gallery-card,
    .gallery-grid--dynamic .gallery-card:nth-child(8n + 1),
    .gallery-grid--dynamic .gallery-card:nth-child(8n + 6) {
        grid-column: span 12;
    }

    .lightbox-dialog {
        width: min(calc(100% - 1rem), 1100px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   End of Page Styles
   ========================================================= */


/* Start: Refinement Overrides */
.theme-paper .process-card,
.theme-paper .gallery-category-chip,
.theme-paper .gallery-empty-state,
.theme-paper .callout-panel--dark-text,
.theme-paper .page-hero-copy,
.theme-paper .page-hero-aside {
    border-color: rgba(17, 17, 17, 0.08);
    box-shadow: none;
}

.theme-paper .process-card {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.03), rgba(17, 17, 17, 0.015));
}

.theme-paper .process-card h3,
.theme-paper .section-heading--dark h2,
.theme-paper .section-heading--dark,
.theme-paper .gallery-empty-state h3 {
    color: var(--ink);
}

.theme-paper .process-card p,
.theme-paper .gallery-empty-state p,
.theme-paper .section-heading--dark p,
.theme-paper .page-hero-copy p,
.theme-paper .page-hero-aside,
.theme-paper .hero-list,
.theme-paper .hero-list li {
    color: var(--ink-soft);
}

.theme-paper .process-card__step {
    background: rgba(17, 17, 17, 0.05);
    border-color: rgba(17, 17, 17, 0.12);
    color: var(--ink);
}

.service-preview-card,
.reason-card,
.process-card,
.service-showcase,
.gallery-card,
.gallery-category-chip,
.faq-item,
.contact-info-card,
.contact-form-wrap,
.hero-panel,
.callout-panel {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.service-preview-card:hover,
.reason-card:hover,
.process-card:hover,
.service-showcase:hover,
.gallery-card:hover,
.gallery-category-chip:hover,
.faq-item:hover,
.contact-info-card:hover,
.contact-form-wrap:hover,
.hero-panel:hover,
.callout-panel:hover {
    transform: translateY(-3px);
}

.service-showcase__placeholder small {
    color: var(--muted);
}

.gallery-category-chip {
    appearance: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
}

.gallery-category-chip.is-active {
    background: #ffffff;
    border-color: rgba(17, 17, 17, 0.18);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.gallery-category-chip.is-active strong {
    color: var(--ink);
}

.gallery-category-chip strong {
    pointer-events: none;
}

.gallery-card__meta {
    gap: 0;
}

.gallery-card__label {
    color: #ffffff;
}

.gallery-card[hidden],
.gallery-card.is-filtered-out {
    display: none !important;
}

.gallery-empty-state--filtered.is-hidden {
    display: none;
}

.gallery-watermark {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.22;
    pointer-events: none;
}

.gallery-watermark img {
    display: block;
    width: clamp(58px, 8vw, 92px);
    height: auto;
}

.gallery-watermark--lightbox {
    right: 1rem;
    bottom: 1rem;
    opacity: 0.18;
}

.gallery-watermark--lightbox img {
    width: clamp(74px, 10vw, 118px);
}

.lightbox-dialog {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.lightbox-figure {
    margin: 0;
}

.lightbox-media {
    position: relative;
}

.lightbox-dialog img {
    width: 100%;
    max-height: calc(100vh - 9rem);
    object-fit: contain;
    border-radius: 22px;
}

.lightbox-meta {
    padding-top: 0.85rem;
    text-align: center;
}

.lightbox-category {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lightbox-nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.lightbox-nav:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

@media (max-width: 900px) {
    .service-showcase__media {
        height: 280px;
        min-height: 280px;
    }

    .lightbox-dialog {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.9rem;
    }

    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .lightbox-nav--prev {
        left: 1rem;
    }

    .lightbox-nav--next {
        right: 1rem;
    }
}

@media (max-width: 640px) {
    .gallery-watermark {
        right: 0.55rem;
        bottom: 0.55rem;
    }

    .gallery-watermark img {
        width: 64px;
    }

    .service-showcase__media {
        height: 240px;
        min-height: 240px;
    }
}
/* End: Refinement Overrides */
