* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #181818;
    background: #f7f6f2;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 860px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #e3ded2;
    background: rgba(247, 246, 242, 0.96);
    color: #181818;
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.brand img {
    width: auto;
    height: 34px;
    object-fit: contain;
}

.brand span {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
}

.site-nav a {
    color: #181818;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0;
}

.site-nav a.is-active {
    color: #b58a45;
}

.hero {
    color: #fff;
    background: linear-gradient(135deg, #151515, #34302a);
}

.hero-inner {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: #b58a45;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.1;
}

h2 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.2;
}

h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.hero-copy {
    max-width: 620px;
    margin: 0 0 28px;
    color: #e8e3d8;
    font-size: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #b58a45;
    background: #b58a45;
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

button,
input[type="submit"],
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #2a2926;
    background: #2a2926;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

button:focus-visible,
input[type="submit"]:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(181, 138, 69, 0.35);
    outline-offset: 2px;
}

.btn-primary {
    background: #2a2926;
    border-color: #2a2926;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    border-color: #bdb6aa;
    color: #181818;
}

.btn-secondary:hover {
    background: #f1eee7;
    border-color: #9b9387;
    color: #181818;
}

.btn-danger {
    background: #9f1d1d;
    border-color: #9f1d1d;
    color: #fff;
}

.btn-danger:hover {
    background: #7f1515;
    border-color: #7f1515;
    color: #fff;
}

.btn-link {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
}

.btn-link:hover {
    background: transparent;
    color: #9f1d1d;
}

.section {
    padding: 64px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.info-panel {
    padding: 24px;
    border: 1px solid #ddd7ca;
    background: #fff;
}

.info-panel ul {
    margin: 0;
    padding-left: 20px;
}

.page-title {
    max-width: 720px;
    margin-bottom: 32px;
}

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

.gallery-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #ddd7ca;
    background: #fff;
    text-decoration: none;
}

.gallery-tabs a.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.empty {
    padding: 24px;
    border: 1px solid #ddd7ca;
    background: #fff;
}

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

.gallery-card {
    background: #fff;
    border: 1px solid #ddd7ca;
}

.gallery-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #ddd7ca;
}

.gallery-card-body {
    padding: 18px;
}

.gallery-card h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.gallery-card p {
    margin: 0;
    color: #5b5750;
}

.gallery-detail {
    background: #fff;
    border: 1px solid #ddd7ca;
}

.gallery-detail > p {
    margin: 0;
    padding: 18px 22px;
}

.gallery-detail img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    background: #ddd7ca;
}

.gallery-detail-images {
    display: grid;
    gap: 12px;
    padding: 12px;
}

.gallery-detail-images img {
    aspect-ratio: 4 / 3;
}

.gallery-detail-body {
    padding: 28px;
}

.gallery-detail-body p:last-child {
    margin-bottom: 0;
}

.home-page {
    background: #f7f6f2;
}

.home-page section {
    scroll-margin-top: 84px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 68px);
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(181, 138, 69, 0.28), transparent 30%),
        linear-gradient(135deg, #080808 0%, #1a1917 48%, #34302a 100%);
}

.home-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 64px;
    align-items: center;
    min-height: calc(100vh - 68px);
    padding: 88px 0;
}

.home-hero__content {
    max-width: 720px;
}

.home-hero__logo {
    width: min(280px, 70vw);
    height: auto;
    margin-bottom: 28px;
    object-fit: contain;
}

.home-kicker {
    margin: 0 0 12px;
    color: #b58a45;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: 64px;
}

.home-hero__copy {
    max-width: 680px;
    margin: 0 0 32px;
    color: #eee8dc;
    font-size: 20px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero .btn-primary,
.home-contact-cta .btn-primary {
    border-color: #b58a45;
    background: #b58a45;
    color: #111;
}

.home-hero .btn-primary:hover,
.home-contact-cta .btn-primary:hover {
    border-color: #d0a65c;
    background: #d0a65c;
    color: #111;
}

.home-hero__visual {
    position: relative;
    min-height: 520px;
}

.home-hero__visual-card {
    position: absolute;
    inset: 28px 0 0 36px;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.home-hero__visual-card span,
.home-image-placeholder {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.home-hero__visual-note {
    position: absolute;
    left: 0;
    bottom: 42px;
    max-width: 280px;
    padding: 18px 20px;
    border: 1px solid rgba(181, 138, 69, 0.48);
    background: rgba(8, 8, 8, 0.78);
    color: #f5ead6;
    font-weight: 700;
}

.home-section {
    padding: 96px 0;
}

.home-section__head {
    max-width: 760px;
    margin-bottom: 36px;
}

.home-section__head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.home-section__head h2,
.home-strength h2,
.home-contact-cta h2 {
    margin-bottom: 16px;
    font-size: 42px;
}

.home-section__head p,
.home-about__copy p,
.home-strength p,
.home-contact-cta p,
.home-location__info p {
    color: #5b5750;
}

.home-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 40px;
    align-items: start;
}

.home-about__copy {
    padding: 32px;
    border-left: 4px solid #b58a45;
    background: #fff;
}

.home-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-facts article,
.home-service-card,
.home-strength__list article,
.home-process__grid article,
.home-location__info {
    border: 1px solid #ddd7ca;
    background: #fff;
}

.home-facts article {
    min-height: 128px;
    padding: 22px;
}

.home-facts strong {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-size: 24px;
    line-height: 1.1;
}

.home-facts span {
    color: #5b5750;
}

.home-services {
    background: #efede6;
}

.home-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-service-card {
    min-height: 280px;
    padding: 28px;
}

.home-line-icon {
    display: block;
    width: 46px;
    height: 46px;
    margin-bottom: 34px;
    border: 1px solid #b58a45;
    background:
        linear-gradient(90deg, transparent 47%, #b58a45 47% 53%, transparent 53%),
        linear-gradient(transparent 47%, #b58a45 47% 53%, transparent 53%);
}

.home-service-card h3,
.home-strength__list h3,
.home-process__grid h3,
.home-portfolio-card h3,
.home-location__info h3 {
    font-size: 21px;
}

.home-service-card p,
.home-strength__list p,
.home-process__grid p,
.home-portfolio-card p {
    margin: 0;
    color: #5b5750;
}

.home-strength {
    color: #fff;
    background: #111;
}

.home-strength .home-kicker,
.home-strength h2 {
    color: #fff;
}

.home-strength p {
    color: #d8d2c8;
}

.home-strength__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 52px;
    align-items: start;
}

.home-strength__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-strength__list article {
    padding: 24px;
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
}

.home-strength__list h3 {
    color: #fff;
}

.home-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-process__grid article {
    position: relative;
    min-height: 230px;
    padding: 28px;
    border-right: 0;
}

.home-process__grid article:last-child {
    border-right: 1px solid #ddd7ca;
}

.home-process__grid span {
    display: block;
    margin-bottom: 42px;
    color: #b58a45;
    font-size: 13px;
    font-weight: 800;
}

.home-portfolio {
    background: #efede6;
}

.home-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-portfolio-card {
    overflow: hidden;
    border: 1px solid #ddd7ca;
    background: #fff;
}

.home-portfolio-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-portfolio-card img,
.home-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background:
        linear-gradient(135deg, #272522, #5a5145),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
}

.home-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-portfolio-card div:last-child {
    padding: 18px;
}

.home-contact-cta {
    color: #fff;
    background: linear-gradient(135deg, #191817, #34302a);
}

.home-contact-cta .home-kicker,
.home-contact-cta h2 {
    color: #fff;
}

.home-contact-cta p {
    color: #eee8dc;
}

.home-contact-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    gap: 48px;
    align-items: center;
}

.home-contact-cta__side {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.home-location__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: 26px;
    align-items: stretch;
}

.home-location__info {
    padding: 30px;
}

.home-location__map-frame {
    position: relative;
    min-height: 360px;
    height: 100%;
    overflow: hidden;
    border: 1px solid #ddd7ca;
    background:
        linear-gradient(135deg, rgba(181, 138, 69, 0.14), rgba(17, 17, 17, 0.08)),
        #fff;
    box-shadow: 0 18px 44px rgba(24, 24, 24, 0.12);
}

.home-location__map-frame iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.home-location__map-fallback {
    position: absolute;
    inset: auto 18px 18px;
    z-index: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #181818;
    font-weight: 700;
}

.site-footer {
    padding: 28px 0;
    color: #fff;
    background: #111;
}

.site-footer p {
    margin: 0;
}

.footer-company {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    color: #d8d2c8;
    font-size: 14px;
}

.footer-company strong {
    color: #fff;
}

.footer-company a {
    color: inherit;
}

.admin-page {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0;
}

.admin-header {
    background: #111;
    color: #fff;
}

.admin-header-inner {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
}

.admin-brand {
    display: inline-block;
    margin: 0 0 12px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #3b3b3b;
    color: #fff;
    text-decoration: none;
}

.admin-nav a.is-active {
    border-color: #b58a45;
    background: #b58a45;
    color: #111;
    font-weight: 700;
}

.admin-footer {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
    color: #5b5750;
    font-size: 13px;
}

.admin-footer p {
    margin: 0;
}

.admin-page h1 {
    font-size: 34px;
}

.admin-page table {
    width: 100%;
    background: #fff;
    border-color: #ddd7ca;
}

.admin-field {
    margin: 0 0 18px;
}

.admin-field label,
.admin-label {
    display: block;
    margin: 0 0 6px;
    font-weight: 700;
}

.admin-field input[type="text"],
.admin-field input[type="email"],
.admin-field input[type="tel"],
.admin-field input[type="password"],
.admin-field input[type="number"],
.admin-field select,
.admin-field textarea {
    width: 100%;
    max-width: 720px;
    padding: 10px 12px;
    border: 1px solid #cfc7b7;
    background: #fff;
    font: inherit;
}

.admin-muted {
    color: #777;
    font-size: 13px;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}

.admin-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd7ca;
    background: #fff;
    text-decoration: none;
}

.admin-tabs a.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.admin-help {
    margin: 0 0 10px;
    color: #5b5750;
}

.char-counter {
    margin-top: 4px;
    color: #5b5750;
    font-size: 13px;
}

.char-counter.is-over {
    color: #9f1d1d;
    font-weight: 700;
}

.admin-message {
    padding: 10px 12px;
    border: 1px solid #ddd7ca;
    background: #fff;
}

.admin-message-error {
    color: #9f1d1d;
    border-color: #e1b6b6;
    background: #fff5f5;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.admin-pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #ddd7ca;
    background: #fff;
    text-decoration: none;
}

.admin-pagination a.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}

.admin-detail-list {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0;
    max-width: 900px;
    border: 1px solid #ddd7ca;
    background: #fff;
}

.admin-detail-list dt,
.admin-detail-list dd {
    margin: 0;
    padding: 12px;
    border-bottom: 1px solid #ddd7ca;
}

.admin-detail-list dt {
    font-weight: 700;
    background: #f7f6f2;
}

.admin-detail-list dd {
    overflow-wrap: anywhere;
}

.admin-panel {
    max-width: 920px;
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid #ddd7ca;
    background: #fff;
}

.admin-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 12px 14px 0;
}

.contact-form {
    padding: 24px;
    border: 1px solid #ddd7ca;
    background: #fff;
}

.contact-privacy {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid #ddd7ca;
    background: #f7f6f2;
}

.contact-privacy p {
    margin: 0 0 6px;
    color: #5b5750;
    font-size: 14px;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-recipient-row {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid #ddd7ca;
    background: #f7f6f2;
}

.table-cell-ellipsis {
    max-width: 280px;
}

.contact-message-preview {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: underline;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-message-preview:hover {
    color: #9f1d1d;
}

.migration-warning {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #d8c18c;
    background: #fff8e5;
    color: #5b4a18;
}

.migration-table-wrap {
    overflow-x: auto;
}

.migration-table {
    min-width: 920px;
}

.migration-table code {
    display: inline-block;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.migration-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #bdb6aa;
    background: #f7f6f2;
    color: #181818;
    font-size: 13px;
    font-weight: 700;
}

.migration-status-pending {
    border-color: #bdb6aa;
    background: #f7f6f2;
}

.migration-status-success {
    border-color: #3f7d4d;
    background: #eaf6ed;
    color: #24502e;
}

.migration-status-failed {
    border-color: #9f1d1d;
    background: #fff1f1;
    color: #9f1d1d;
}

.migration-checksum-warning {
    margin: 8px 0 0;
    color: #9f1d1d;
    font-size: 13px;
    font-weight: 700;
}

.password-reset-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid #f2b8b5;
    background: #fff5f5;
    color: #e53935;
    font-weight: 700;
}

.password-reset-timer strong {
    font-size: 20px;
    line-height: 1;
}

.password-reset-help {
    max-width: 720px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #ddd7ca;
    background: #fff;
    color: #5b5750;
    font-size: 14px;
}

.password-reset-help p {
    margin: 0;
}

.password-reset-help p + p {
    margin-top: 4px;
}

.gallery-upload {
    max-width: 920px;
}

.gallery-preview-summary {
    margin: 10px 0;
    font-weight: 700;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.gallery-existing-grid {
    margin-bottom: 18px;
}

.gallery-preview-card {
    position: relative;
    min-width: 0;
    padding: 10px;
    border: 1px solid #ddd7ca;
    background: #fff;
    cursor: grab;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.gallery-preview-card.is-dragging {
    opacity: 0.55;
    transform: scale(0.98);
    cursor: grabbing;
}

.gallery-preview-card.is-drop-target {
    border-color: #e53935;
    outline: 3px solid #e53935;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.14);
}

.gallery-preview-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #ddd7ca;
}

.gallery-preview-name,
.gallery-preview-size,
.gallery-delete-check {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.gallery-preview-size {
    color: #5b5750;
}

.gallery-preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    line-height: 1;
    cursor: pointer;
}

.admin-thumb {
    width: 76px;
    height: 56px;
    object-fit: cover;
    background: #ddd7ca;
}

.admin-thumb-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 1px solid #ddd7ca;
    color: #5b5750;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 980px) {
    .home-hero__inner,
    .home-about__grid,
    .home-strength__inner,
    .home-contact-cta__inner,
    .home-location__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__visual {
        min-height: 360px;
    }

    .home-hero__visual-card {
        inset: 0 0 28px 24px;
    }

    .home-card-grid,
    .home-process__grid,
    .home-portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process__grid {
        gap: 14px;
    }

    .home-process__grid article,
    .home-process__grid article:last-child {
        border-right: 1px solid #ddd7ca;
    }
}

@media (max-width: 760px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 16px 0;
    }

    .brand img {
        height: 30px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 8px 12px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .hero-inner {
        min-height: 380px;
        padding: 56px 0;
    }

    .home-hero,
    .home-hero__inner {
        min-height: auto;
    }

    .home-hero__inner {
        gap: 34px;
        padding: 64px 0;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .home-hero__copy {
        font-size: 17px;
    }

    .home-hero__visual {
        min-height: 300px;
    }

    .home-hero__visual-card {
        inset: 0;
    }

    .home-hero__visual-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .home-section {
        padding: 58px 0;
    }

    .home-section__head--row {
        display: block;
    }

    .home-section__head h2,
    .home-strength h2,
    .home-contact-cta h2 {
        font-size: 32px;
    }

    .home-facts,
    .home-card-grid,
    .home-strength__list,
    .home-process__grid,
    .home-portfolio__grid {
        grid-template-columns: 1fr;
    }

    .home-about__copy,
    .home-location__info,
    .home-contact-cta__side {
        padding: 22px;
    }

    .home-location__map-frame,
    .home-location__map-frame iframe {
        min-height: 320px;
    }

    h1 {
        font-size: 36px;
    }

    .section {
        padding: 44px 0;
    }

    .split,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-detail-body {
        padding: 22px;
    }

    .admin-detail-list {
        grid-template-columns: 1fr;
    }

    .admin-detail-list dt {
        border-bottom: 0;
    }
}

/* Front landing refresh */
.site-header {
    border-bottom-color: #e7e7e7;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
}

.brand img {
    height: 38px;
}

.site-nav a {
    color: #111;
}

.site-nav a.is-active,
.home-kicker {
    color: #B88A3D;
}

.home-page {
    background: #fff;
}

.home-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(184, 138, 61, 0.18), transparent 28%),
        linear-gradient(135deg, #030303 0%, #141414 50%, #2a2a2a 100%);
}

.home-hero__visual-card,
.home-image-placeholder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px),
        #151515;
}

.home-kicker {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.home-section {
    background: #fff;
}

.home-services,
.home-portfolio {
    background: #f4f4f4;
}

.home-section__head {
    margin-bottom: 48px;
}

.home-section__head h2,
.home-strength h2,
.home-contact-cta h2 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.05;
}

.home-section__head::after {
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 22px;
    background: #B88A3D;
    content: "";
}

.home-timeline {
    overflow-x: auto;
    padding: 32px 0 10px;
}

.home-timeline__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, minmax(220px, 1fr));
    gap: 0;
    min-width: 2200px;
}

.home-timeline__track::before {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #111;
    content: "";
}

.home-timeline__item {
    position: relative;
    padding: 42px 22px 0 0;
}

.home-timeline__dot {
    position: absolute;
    top: 7px;
    left: 0;
    width: 18px;
    height: 18px;
    border: 3px solid #B88A3D;
    border-radius: 50%;
    background: #fff;
}

.home-timeline__year {
    display: block;
    margin-bottom: 10px;
    color: #B88A3D;
    font-size: 24px;
    line-height: 1;
}

.home-timeline__item h3 {
    min-height: 58px;
    margin-bottom: 10px;
    font-size: 19px;
}

.home-timeline__item p {
    margin: 0;
    color: #5a5a5a;
    font-size: 14px;
}

.home-strength {
    background: #111;
}

.home-strength-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-strength-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(184, 138, 61, 0.2), transparent),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 14px),
        #191919;
}

.home-strength-card__overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    padding: 28px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.home-strength-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: auto;
    border: 1px solid #B88A3D;
    background:
        linear-gradient(90deg, transparent 47%, #B88A3D 47% 53%, transparent 53%),
        linear-gradient(transparent 47%, #B88A3D 47% 53%, transparent 53%);
}

.home-strength-card__title {
    color: #fff;
}

.home-strength-card p {
    margin: 0;
    color: #dcdcdc;
}

.home-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-portfolio-card {
    position: relative;
    overflow: hidden;
    border: 0;
    background: #111;
}

.home-portfolio-card a {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
}

.home-portfolio-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.home-portfolio-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.76));
    transition: background-color 0.2s ease;
}

.home-portfolio-card:hover .home-portfolio-card__image {
    transform: scale(1.04);
}

.home-portfolio-card:hover .home-portfolio-card__overlay {
    background-color: rgba(0, 0, 0, 0.16);
}

.home-portfolio-card__title {
    margin: 0;
    color: #fff;
    font-size: 19px;
}

.home-contact-cta {
    background: #111;
}

.home-contact-form-panel {
    max-width: 880px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.home-contact-form .admin-field label,
.home-contact-form .contact-privacy {
    color: #fff;
}

.home-contact-form input,
.home-contact-form textarea {
    border-color: rgba(255, 255, 255, 0.18);
    background: #fff;
}

.home-location {
    background: #fff;
}

.home-location__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    margin-bottom: 20px;
    padding: 26px;
}

.home-location__info h3,
.home-location__info p {
    margin: 0;
}

.home-location__map-frame,
.home-location__map-frame iframe {
    min-height: 420px;
}

.floating-social {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: grid;
    gap: 12px;
}

.floating-social__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.floating-social__button svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.floating-social__button--instagram {
    color: #fff;
    background: radial-gradient(circle at 30% 110%, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 82%, #4f5bd5);
}

.floating-social__button--kakao {
    color: #111;
    background: #FEE500;
}

.floating-social__button--kakao svg {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 980px) {
    .home-strength-grid,
    .home-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-timeline {
        overflow: visible;
    }

    .home-timeline__track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        min-width: 0;
        padding-left: 24px;
    }

    .home-timeline__track::before {
        top: 0;
        bottom: 0;
        left: 8px;
        width: 2px;
        height: auto;
    }

    .home-timeline__item {
        padding: 0 0 0 24px;
    }

    .home-timeline__dot {
        top: 4px;
        left: -24px;
    }
}

@media (max-width: 760px) {
    .brand img {
        height: 34px;
    }

    .home-strength-grid,
    .home-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .home-contact-form-panel {
        padding: 22px;
    }

    .floating-social {
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

.floating-social__button {
    width: 64px;
    height: 64px;
}

    .floating-social__button svg {
        width: 30px;
        height: 30px;
    }
}

/* Remix Icon integration */
.btn {
    gap: 7px;
}

.btn i,
.admin-nav i,
.home-line-icon,
.home-strength-card__icon,
.home-location__icon,
.floating-social__button i {
    line-height: 1;
}

.admin-nav a {
    gap: 6px;
}

.admin-nav i {
    font-size: 16px;
}

.home-line-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 34px;
    border: 1px solid #B88A3D;
    background: transparent;
    color: #B88A3D;
    font-size: 25px;
}

.home-strength-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: auto;
    border: 1px solid #B88A3D;
    background: rgba(184, 138, 61, 0.08);
    color: #B88A3D;
    font-size: 25px;
}

.home-location__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #B88A3D;
    color: #B88A3D;
    font-size: 24px;
}

.floating-social__button {
    width: 50px;
    height: 50px;
}

.floating-social__button i {
    font-size: 26px;
}

.floating-social__button svg {
    display: none;
}

@media (max-width: 760px) {
    .floating-social__button {
        width: 50px;
        height: 50px;
    }

    .floating-social__button i {
        font-size: 25px;
    }
}

/* Front feedback refinements */
.site-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: #050505;
    color: #fff;
    backdrop-filter: none;
}

.brand img {
    height: 38px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #B88A3D;
}

.home-page section {
    scroll-margin-top: 82px;
}

.home-intro {
    position: relative;
    min-height: calc(100vh - 68px);
    overflow: hidden;
    color: #fff;
    background: #050505;
}

.home-intro__slides,
.home-intro__slide,
.home-intro__overlay {
    position: absolute;
    inset: 0;
}

.home-intro__slide {
    opacity: 0;
    transition: opacity 1.1s ease;
    background-size: cover;
    background-position: center;
}

.home-intro__slide:nth-child(1) {
    background:
        radial-gradient(circle at 20% 20%, rgba(184, 138, 61, 0.24), transparent 30%),
        linear-gradient(135deg, #050505, #1c1c1c 46%, #3a3328);
}

.home-intro__slide:nth-child(2) {
    background:
        radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(135deg, #101010, #2a2a2a 52%, #0b0b0b);
}

.home-intro__slide:nth-child(3) {
    background:
        radial-gradient(circle at 68% 72%, rgba(184, 138, 61, 0.2), transparent 32%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, #030303, #1f1f1f);
}

.home-intro__slide:nth-child(4) {
    background:
        radial-gradient(circle at 35% 65%, rgba(184, 138, 61, 0.2), transparent 30%),
        linear-gradient(135deg, #0b0b0b, #242424 48%, #111);
}

.home-intro__slide.is-active {
    opacity: 1;
}

.home-intro__overlay {
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.76)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.16));
}

.home-intro__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 68px);
    padding: 96px 0;
}

.home-intro__content {
    max-width: 760px;
}

.home-intro h1 {
    margin-bottom: 24px;
    font-size: clamp(44px, 7vw, 86px);
    font-weight: 700;
    line-height: 1.05;
}

.home-intro p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
}

.home-intro__bullets {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.home-intro__bullets button {
    width: 34px;
    min-height: 3px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
}

.home-intro__bullets button.is-active {
    background: #B88A3D;
}

.home-page .home-section__head h2,
.home-page .home-strength h2,
.home-page .home-contact-cta h2,
.home-page .home-location h2 {
    font-weight: 500;
}

.home-timeline {
    overflow: visible;
    padding: 22px 0 110px;
}

.home-timeline__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
}

.home-timeline__track::before {
    top: 13px;
    left: 0;
    right: 0;
    height: 1px;
    background: #1a1a1a;
}

.home-timeline__item {
    position: relative;
    min-width: 0;
    padding: 38px 0 0;
    text-align: center;
    cursor: pointer;
}

.home-timeline__dot {
    top: 5px;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #B88A3D;
    transform: translateX(-50%);
}

.home-timeline__item.is-active .home-timeline__dot,
.home-timeline__item:hover .home-timeline__dot {
    background: #B88A3D;
}

.home-timeline__year {
    margin: 0;
    color: #111;
    font-size: 14px;
    font-weight: 600;
}

.home-timeline__tooltip {
    position: absolute;
    left: 50%;
    top: 74px;
    z-index: 4;
    width: min(260px, 80vw);
    padding: 16px;
    border: 1px solid #e1e1e1;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, 10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.home-timeline__item.is-active .home-timeline__tooltip,
.home-timeline__item:hover .home-timeline__tooltip,
.home-timeline__item:focus .home-timeline__tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.home-timeline__tooltip h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.home-timeline__tooltip p {
    margin: 0;
    color: #5a5a5a;
    font-size: 14px;
}

.home-line-icon,
.home-strength-card__icon,
.home-location__icon {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: #B88A3D;
    font-size: 46px;
}

.home-line-icon {
    margin-bottom: 26px;
}

.home-strength-card__icon {
    margin-bottom: auto;
}

.home-location__icon {
    font-size: 44px;
}

.home-portfolio .home-section__head {
    display: block;
    max-width: 760px;
}

.home-portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-portfolio-card,
.home-portfolio-card a {
    height: 100%;
}

.home-portfolio-card__image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-portfolio__actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.home-contact-form-panel {
    max-width: 980px;
}

.home-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.home-contact-form .contact-honeypot,
.home-contact-form .admin-field--message,
.home-contact-form .admin-field:has(textarea),
.home-contact-form .contact-privacy,
.home-contact-form button {
    grid-column: 1 / -1;
}

.home-contact-form-panel .admin-message {
    margin-top: 0;
}

.home-contact-form .admin-field {
    margin: 0;
}

.home-contact-form .admin-field label {
    color: #fff;
    font-weight: 500;
}

.home-contact-form input,
.home-contact-form textarea {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.96);
    color: #111;
}

.home-contact-form input::placeholder,
.home-contact-form textarea::placeholder {
    color: #777;
}

.home-contact-form .contact-privacy {
    color: rgba(255, 255, 255, 0.82);
}

.home-contact-form .contact-privacy p {
    color: rgba(255, 255, 255, 0.72);
}

.home-location__info {
    border-color: #e5e5e5;
    background: #fff;
}

.floating-social {
    right: 50px;
    bottom: 50px;
    gap: 10px;
}

.floating-social__button {
    width: 50px;
    height: 50px;
    text-decoration: none;
}

.floating-social__button i {
    transition: transform 0.2s ease;
}

.floating-social__button:hover i {
    transform: scale(1.18);
}

@media (max-width: 980px) {
    .home-timeline {
        padding-bottom: 28px;
    }

    .home-timeline__track {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 24px;
    }

    .home-timeline__track::before {
        top: 0;
        bottom: 0;
        left: 7px;
        width: 1px;
        height: auto;
    }

    .home-timeline__item {
        padding: 0 0 0 18px;
        text-align: left;
    }

    .home-timeline__dot {
        left: -16px;
        transform: none;
    }

    .home-timeline__tooltip {
        position: static;
        width: auto;
        margin-top: 10px;
        opacity: 0;
        transform: translateY(8px);
    }

    .home-timeline__item.is-active .home-timeline__tooltip,
    .home-timeline__item:hover .home-timeline__tooltip,
    .home-timeline__item:focus .home-timeline__tooltip {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .site-nav a {
        font-size: 12px;
    }

    .home-intro,
    .home-intro__inner {
        min-height: 620px;
    }

    .home-intro__inner {
        padding: 72px 0;
    }

    .home-contact-form {
        grid-template-columns: 1fr;
    }

    .floating-social {
        right: 18px;
        bottom: 18px;
    }
}

/* Keep home section heads aligned with the same width as their container. */
.home-page .home-section__head,
.home-page .home-portfolio .home-section__head {
    width: 100%;
    max-width: none;
}

/* Front UI refinements */
.front-page-home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, .9);
}

.front-page-home .home-intro {
    min-height: 100vh;
}

.front-page-home .home-intro__inner {
    min-height: 100vh;
    padding-top: 96px;
}

.front-page-home .home-intro__content {
    width: 100%;
    max-width: 760px;
}

.front-page-home .home-intro__content h1 {
    font-size: clamp(42px, 4.2vw, 60px);
    line-height: 1.08;
}

.front-page-home .home-intro__slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.floating-social {
    gap: 20px;
}

.home-timeline__year {
    color: rgba(0, 0, 0, .5);
    transition: color 0.2s ease, font-size 0.2s ease, font-weight 0.2s ease;
}

.home-timeline__item.is-active .home-timeline__year,
.home-timeline__item:hover .home-timeline__year,
.home-timeline__item:focus .home-timeline__year {
    color: #B88A3D;
    font-size: 1.15em;
    font-weight: 800;
}

.home-timeline__tooltip {
    border: 1px solid rgba(184, 138, 61, 0.18);
}

.home-timeline__tooltip::before {
    position: absolute;
    top: -10px;
    left: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.home-timeline__tooltip::after {
    position: absolute;
    top: -11px;
    left: 50%;
    z-index: 1;
    width: 0;
    height: 0;
    border-right: 11px solid transparent;
    border-bottom: 11px solid rgba(184, 138, 61, 0.18);
    border-left: 11px solid transparent;
    content: "";
    transform: translateX(-50%);
}

.home-timeline__tooltip h3 {
    line-height: 1.25;
}

.home-portfolio-card,
.home-portfolio-card a,
.home-portfolio-card__image {
    aspect-ratio: 1 / 1;
}

.home-portfolio-card {
    height: auto;
}

.home-portfolio-card a {
    overflow: hidden;
}

.home-portfolio-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home-contact-cta {
    color: #fff;
    background: #111;
}

.home-contact-form-panel {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.home-contact-form input,
.home-contact-form textarea {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    border-color: #B88A3D;
    background: rgba(255, 255, 255, 0.12);
    outline: 2px solid rgba(184, 138, 61, 0.24);
}

.home-contact-form input::placeholder,
.home-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.home-contact-form textarea {
    min-height: 150px;
}

.home-contact-form .contact-privacy {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.home-contact-form .contact-privacy p,
.home-contact-form .contact-privacy label {
    color: rgba(255, 255, 255, 0.82);
}

.home-contact-form .contact-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #B88A3D;
}

.home-contact-form .btn-primary {
    justify-self: start;
    border-color: #B88A3D;
    background: #B88A3D;
    color: #111;
}

.home-contact-form .btn-primary:hover,
.home-contact-form .btn-primary:focus {
    border-color: #d2a865;
    background: #d2a865;
    color: #111;
}

.home-location__map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 980px) {
    .home-timeline__tooltip::before,
    .home-timeline__tooltip::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .front-page-home .home-intro,
    .front-page-home .home-intro__inner {
        min-height: 680px;
    }

    .front-page-home .home-intro__inner {
        padding-top: 150px;
    }

    .front-page-home .home-intro__content h1 {
        font-size: clamp(36px, 10vw, 46px);
    }

    .floating-social {
        gap: 18px;
    }

    .home-contact-form .btn-primary {
        justify-self: stretch;
    }
}

/* Main index refinements */
.front-page-home .home-intro__overlay {
    display: none;
    background: transparent;
}

.front-page-home .home-intro__content h1,
.front-page-home .home-intro__content p {
    text-shadow: 0 3px 18px rgba(0, 0, 0, .65);
}

.home-timeline__tooltip h3 {
    min-height: auto;
    line-height: 1.25;
}

.home-portfolio-card__title {
    font-weight: 200;
    transition: opacity .25s ease;
}

.home-portfolio-card__overlay {
    transition: opacity .25s ease, background-color .25s ease;
}

.home-portfolio-card:hover .home-portfolio-card__overlay,
.home-portfolio-card:focus-within .home-portfolio-card__overlay,
.home-portfolio-card:hover .home-portfolio-card__title,
.home-portfolio-card:focus-within .home-portfolio-card__title {
    opacity: 0;
}

.home-portfolio__actions {
    margin-top: 48px;
    text-align: center;
}

.home-portfolio__actions .btn {
    justify-content: center;
}

.home-contact-cta .container {
    display: grid;
    gap: 0;
}

.home-contact-form {
    width: 100%;
}

.home-contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.home-contact-message {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(184, 138, 61, 0.38);
    background: rgba(184, 138, 61, 0.12);
    color: #f5e4c5;
}

.home-contact-message--error {
    border-color: rgba(229, 57, 53, 0.42);
    background: rgba(229, 57, 53, 0.12);
    color: #ffd8d6;
}

.home-contact-field {
    display: grid;
    gap: 8px;
}

.home-contact-field label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.home-contact-input,
.home-contact-textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
}

.home-contact-input {
    min-height: 48px;
    padding: 0 14px;
}

.home-contact-textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

.home-contact-input:focus,
.home-contact-textarea:focus {
    border-color: #B88A3D;
    background: rgba(255, 255, 255, 0.12);
    outline: 2px solid rgba(184, 138, 61, 0.24);
}

.home-contact-input::placeholder,
.home-contact-textarea::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.home-contact-field--message,
.home-contact-privacy,
.home-contact-submit {
    grid-column: 1 / -1;
}

.home-contact-privacy {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.home-contact-privacy p {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.home-contact-privacy label {
    display: flex;
    align-items: center;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.home-contact-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    accent-color: #B88A3D;
}

.home-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #B88A3D;
    border-radius: 0;
    background: #B88A3D;
    color: #111;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-contact-submit:hover,
.home-contact-submit:focus {
    border-color: #d2a865;
    background: #d2a865;
    color: #111;
}

@media (max-width: 760px) {
    .home-contact-submit {
        justify-self: stretch;
    }
}

/* 2026-07 front one-page refinements */
.front-page-home .home-intro__content h1,
.front-page-home .home-intro__content p {
    text-shadow: 0 3px 9px rgba(0, 0, 0, .9);
}

.home-intro__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(44px, 5.5vw, 72px);
    height: clamp(44px, 5.5vw, 72px);
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    opacity: .5;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease;
}

.home-intro__arrow:hover,
.home-intro__arrow:focus {
    opacity: 1;
}

.home-intro__arrow:focus {
    outline: 2px solid rgba(184, 138, 61, .65);
    outline-offset: 4px;
}

.home-intro__arrow--prev {
    left: clamp(14px, 3vw, 48px);
}

.home-intro__arrow--next {
    right: clamp(14px, 3vw, 48px);
}

.home-intro__arrow i {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
}

.home-contact-field,
.home-contact-input,
.home-contact-textarea {
    box-sizing: border-box;
}

.home-contact-field {
    margin: 0;
}

.home-contact-input,
.home-contact-textarea {
    border-width: 1px;
}

.home-contact-input:focus,
.home-contact-textarea:focus {
    border-width: 1px;
    outline: 2px solid rgba(184, 138, 61, 0.24);
    outline-offset: 0;
}

.home-portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.home-portfolio-card {
    margin: 0;
    border: 0;
}

.home-clients {
    background: #f6f6f4;
}

.home-clients__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #e5e1d8;
    border-left: 1px solid #e5e1d8;
}

.home-clients__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 124px;
    padding: 24px;
    border-right: 1px solid #e5e1d8;
    border-bottom: 1px solid #e5e1d8;
    background: #fff;
}

.home-clients__logo img {
    display: block;
    width: 100%;
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .25s ease, opacity .25s ease;
}

.home-clients__logo:hover img,
.home-clients__logo:focus-within img {
    filter: grayscale(0);
    opacity: 1;
}

.site-footer {
    padding-top: 72px;
    padding-bottom: 72px;
}

.gallery-page,
.gallery-view-page {
    background: #fff;
}

.section.gallery-page,
.section.gallery-view-page {
    padding: 112px 0 96px;
}

.gallery-page .page-title,
.gallery-view-page .page-title {
    width: 100%;
    max-width: none;
    margin-bottom: 48px;
}

.gallery-page .page-title .eyebrow,
.gallery-view-page .page-title .eyebrow {
    color: #B88A3D;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gallery-page .page-title h1,
.gallery-view-page .page-title h1,
.gallery-detail-body h1 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.05;
}

.gallery-tabs {
    gap: 0;
    margin-bottom: 34px;
}

.gallery-tabs a {
    border-color: #d9d5cc;
    border-radius: 0;
    background: #fff;
}

.gallery-tabs a.is-active,
.gallery-tabs a:hover,
.gallery-tabs a:focus {
    border-color: #111;
    background: #111;
    color: #B88A3D;
}

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

.gallery-card {
    position: relative;
    overflow: hidden;
    border: 0;
    background: #111;
}

.gallery-card a {
    position: relative;
    color: #fff;
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #111;
    transition: transform .25s ease;
}

.gallery-card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
    transition: opacity .25s ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
    transform: scale(1.04);
}

.gallery-card:hover .gallery-card-body,
.gallery-card:focus-within .gallery-card-body {
    opacity: 0;
}

.gallery-card h2 {
    color: #fff;
    font-weight: 200;
}

.gallery-card p {
    color: rgba(255, 255, 255, .78);
}

.gallery-detail {
    border: 0;
    background: #fff;
}

.gallery-detail > p {
    padding: 0 0 24px;
}

.gallery-detail > p a,
.gallery-view-page .button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #111;
    color: #111;
    text-decoration: none;
}

.gallery-detail-images {
    gap: 0;
    padding: 0;
}

.gallery-detail-images img {
    display: block;
    width: 100%;
    max-height: none;
    object-fit: cover;
}

.gallery-detail-body {
    padding: 36px 0 0;
}

@media (max-width: 1024px) {
    .home-portfolio-grid,
    .home-clients__grid,
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-portfolio-grid,
    .home-clients__grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-intro__arrow {
        width: 40px;
        height: 40px;
    }

    .home-intro__arrow i {
        font-size: 32px;
    }

    .home-clients__logo {
        min-height: 104px;
        padding: 18px;
    }

    .site-footer {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .section.gallery-page,
    .section.gallery-view-page {
        padding: 82px 0 64px;
    }
}

.admin-client-logo-thumb {
    width: 120px;
    height: 64px;
    object-fit: contain;
    background: #fff;
}

/* 2026-07-06 front/admin refinements */
.home-intro__arrow,
.home-intro__arrow:hover,
.home-intro__arrow:focus,
.home-intro__arrow:focus-visible {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home-intro__arrow {
    opacity: .5;
}

.home-intro__arrow:hover,
.home-intro__arrow:focus,
.home-intro__arrow:focus-visible {
    opacity: 1;
    outline: 0;
}

.home-clients {
    background: #fff;
}

.home-clients__grid {
    border: 0;
}

.home-clients__logo {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.home-clients__logo img {
    filter: grayscale(100%);
    opacity: .7;
    transition: filter .25s ease, opacity .25s ease;
}

.home-clients__logo:hover img,
.home-clients__logo:focus-within img {
    filter: grayscale(0);
    opacity: 1;
}

.home-contact-form,
.home-contact-form * {
    box-sizing: border-box;
}

.home-contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
    align-items: start;
}

.home-contact-field {
    display: block;
    margin: 0;
}

.home-contact-field label {
    display: block;
    min-height: 20px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.home-contact-input {
    display: block;
    width: 100%;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 0 18px;
    border-width: 1px;
    line-height: 56px;
}

.home-contact-textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border-width: 1px;
    line-height: 1.6;
}

.home-contact-input:focus,
.home-contact-textarea:focus {
    border-width: 1px;
    border-color: #B88A3D;
    outline: 0;
    box-shadow: 0 0 0 1px rgba(184, 138, 61, .35);
}

.gallery-page .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-view-date {
    margin: 12px 0 0;
    color: #B88A3D;
    font-size: 14px;
    font-weight: 700;
}

.gallery-view-content {
    margin-top: 28px;
    color: #333;
    line-height: 1.8;
}

.gallery-detail-body {
    padding: 0 0 36px;
}

.gallery-detail-actions {
    margin: 36px 0 0;
    padding: 0;
}

@media (max-width: 1100px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .gallery-page .gallery-grid {
        grid-template-columns: 1fr;
    }
}
