* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #e9e3da;
    color: #181716;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, .75), transparent 34%), linear-gradient(90deg, rgba(255,255,255,.35), transparent 24%, transparent 76%, rgba(255,255,255,.4));
}

a {
    color: inherit;
    text-decoration: none;
}

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

.page-shell {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #f7f3ed;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.expertise-detail-page .page-shell {
    overflow: visible;
}

.site-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    background: #171918;
    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 56px;
    display: grid;
    place-items: center;
}

.line-icon svg,
.footer-icon svg,
.social-icon svg,
.drawer-toggle svg,
.text-link svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    white-space: nowrap;
}

.brand-name span,
.accent {
    color: #b35c2c;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 13px;
    font-weight: 700;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 26px;
    border: 1px solid #9c4e24;
    background: transparent;
    color: inherit;
    font-weight: 700;
}

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

.hero {
    display: grid;
    grid-template-columns: 1.04fr 1.36fr;
    min-height: 386px;
}

.hero-copy {
    position: relative;
    padding: 54px 64px 48px;
    background: #f7f3ed;
    overflow: hidden;
}

.hero-copy::before,
.hero-copy::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    opacity: .1;
    background-image: url("../images/site/favicon.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-copy::before {
    left: -12px;
    top: 50px;
}

.hero-copy::after {
    right: -24px;
    bottom: 18px;
    transform: rotate(18deg);
}

.hero-copy > * {
    position: relative;
}

.hero h1 {
    margin: 0;
    max-width: 460px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.2vw, 67px);
    line-height: .9;
    letter-spacing: 0;
}

.hero h1 em {
    display: block;
    color: #9b411a;
    font-weight: 400;
}

.rule {
    width: 76px;
    height: 1px;
    margin: 26px 0 18px;
    background: #9b411a;
}

.hero p {
    max-width: 360px;
    margin: 0 0 28px;
}

.hero-media {
    position: relative;
    min-height: 386px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.experience-card {
    position: absolute;
    left: -106px;
    bottom: 25px;
    width: 126px;
    padding: 20px 18px 18px;
    background: linear-gradient(145deg, #a4471d, #c5733a);
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(55, 24, 10, .3);
}

.experience-card strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 50px;
    line-height: .95;
}

.section {
    padding: 24px 64px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
    color: #8a3215;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    width: 52px;
    height: 1px;
    background: #bf9b84;
}

.expertise {
    background: #f8f4ed;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.expertise-item {
    display: block;
    min-height: 118px;
    padding-right: 28px;
    border-right: 1px solid #c9b7a9;
    transition: color .2s ease, transform .2s ease;
}

.expertise-item:hover {
    color: #8a3215;
    transform: translateY(-2px);
}

.expertise-item:last-child {
    border-right: 0;
}

.expertise-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.expertise-number {
    font-family: Georgia, serif;
    color: #8a3215;
    font-size: 33px;
}

.line-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #8a3215;
}

.line-icon svg {
    width: 33px;
    height: 33px;
    stroke: #8c6049;
    stroke-width: 1.4;
}

.expertise-item h3 {
    margin: 0 0 6px;
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 400;
}

.expertise-item p {
    margin: 0;
    font-size: 14px;
}

.expertise-summary-rich {
    color: #5e6864;
    font-size: 15px;
    line-height: 1.55;
}

.expertise-summary-rich p,
.expertise-summary-rich div {
    margin: 0 0 8px;
}

.expertise-summary-rich p:last-child,
.expertise-summary-rich div:last-child {
    margin-bottom: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.12fr 1.28fr 1fr 1fr;
    grid-auto-rows: 112px;
    gap: 8px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: #ddd;
}

.project-card:first-child {
    grid-row: span 2;
}

.project-card:nth-child(2) {
    grid-row: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.project-card:hover img {
    transform: scale(1.04);
}

.project-card span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
    background: rgba(20, 20, 20, .72);
    color: #fff;
    font-size: 12px;
}

.project-card:nth-child(5) {
    grid-column: 3;
}

.project-card:nth-child(6) {
    grid-column: 4;
}

.center-action {
    text-align: center;
    margin-top: 14px;
}

.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 36px;
    border: 1px solid #9b411a;
    color: #3f1b0f;
    background: transparent;
    font-weight: 700;
    font-size: 13px;
}

.about-band {
    display: grid;
    grid-template-columns: 1.02fr 1.95fr;
    gap: 32px;
    padding: 0 62px 0 0;
    background: #eee8df;
}

.about-band > img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.summary-text {
    font-size: 13px;
}

.summary-text p {
    margin: 0 0 13px;
}

.rich-content p,
.rich-content div,
.rich-content ul,
.rich-content ol,
.rich-content blockquote {
    margin: 0 0 13px;
}

.rich-content img {
    width: min(100%, 460px);
    height: auto;
    margin: 14px 0;
}

.rich-content ul,
.rich-content ol {
    padding-left: 20px;
}

.rich-content a {
    color: #8a3215;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8a3215;
    font-weight: 700;
    font-size: 13px;
}

.text-link svg {
    width: 17px;
    height: 17px;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.team-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    min-height: 92px;
    border: 1px solid #d3c7bc;
    background: rgba(255, 255, 255, .35);
}

.team-card img {
    width: 86px;
    height: 92px;
    object-fit: cover;
}

.team-card div {
    padding: 18px 14px;
    font-size: 13px;
}

.team-card strong {
    display: block;
    font-weight: 400;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.45fr .86fr 1.22fr .92fr 1.08fr;
    gap: 0;
    align-items: center;
    padding: 18px 58px;
    background: #171918;
    color: #fff;
    font-size: 13px;
}

.footer-cell {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-right: 1px solid #574036;
}

.footer-cell:first-child {
    padding-left: 0;
}

.footer-cell:last-child {
    border-right: 0;
    padding-right: 0;
}

.footer-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #fff;
    flex: 0 0 auto;
}

.footer-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.6;
}

.line-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-links {
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    color: #fff;
}

.social-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
}

.mobile-footer {
    display: none;
}

.drawer-toggle {
    display: none;
}

.admin-page {
    min-height: 100vh;
    background: #f7f3ee;
    color: #12201b;
}

.admin-page::before {
    display: none;
}

.admin-shell {
    display: grid;
    grid-template-columns: 266px minmax(0, 1fr);
    width: 100%;
    min-height: 100vh;
    margin: 0;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 30px 22px 38px;
    background: radial-gradient(circle at 20% 0, rgba(25, 69, 52, .78), transparent 34%), #071f18;
    color: #f8f3ea;
}

.admin-brand-kicker {
    display: block;
    margin-bottom: 6px;
    color: #d6dec7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.admin-brand-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.admin-brand-ornament {
    display: block;
    margin-top: 8px;
    color: rgba(214, 181, 140, .7);
    font-size: 13px;
    letter-spacing: 2px;
}

.admin-menu-icon {
    display: flex;
    align-items: center;
    color: rgba(248, 243, 234, .5);
    margin-top: 4px;
    flex-shrink: 0;
}

.admin-menu-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.admin-sidebar h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: 0;
}

.admin-side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 38px;
    padding-bottom: 0;
}

.admin-side-nav a,
.admin-sidebar-actions a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border-radius: 8px;
    color: rgba(248, 243, 234, .65);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    transition: background .15s, color .15s;
}

.admin-side-nav a svg,
.admin-sidebar-actions a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-side-nav a:hover,
.admin-sidebar-actions a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.admin-side-nav a.active {
    background: linear-gradient(135deg, #c76b26, #a54418);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .2);
}

.admin-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.admin-main {
    width: 100%;
    padding: 60px 62px 70px;
}

.admin-main-services {
    padding: 60px 40px 70px;
}

.admin-services-layout {
    display: grid;
    grid-template-columns: minmax(480px, .78fr) minmax(680px, 1.12fr);
    gap: 34px;
    align-items: start;
}

.admin-services-layout #expertise-editor {
    order: 2;
    min-width: 0;
}

.admin-services-layout .admin-card-compact {
    order: 1;
    min-width: 0;
    position: sticky;
    top: 24px;
}

.admin-services-layout .admin-card-head {
    align-items: center;
}

.admin-services-layout .admin-card-compact .admin-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
}

.admin-services-layout .admin-card-compact .admin-card-head .outline-btn {
    min-width: 0;
    width: 100%;
}

.admin-services-layout .admin-card-compact .admin-card-head h2 {
    font-size: 28px;
}

.admin-services-layout .admin-card-compact .admin-card-head p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.admin-header,
.admin-card {
    background: #fff;
    border: 1px solid #dedbd4;
    border-radius: 12px;
    box-shadow: none;
}

.admin-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    background: transparent;
    border: 0;
}

.admin-header h1,
.admin-card h2 {
    margin: 0;
    color: #12201b;
}

.admin-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    line-height: .98;
    letter-spacing: 0;
}

.admin-header p,
.admin-card-head p {
    margin: 20px 0 0;
    color: #24312d;
    font-size: 15px;
}

.admin-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #9b411a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.admin-top-actions,
.admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-quick-nav {
    display: none;
}

.admin-quick-nav a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 15px;
    border-radius: 6px;
    color: #44372f;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-quick-nav a:hover {
    background: #f4ebe3;
    color: #8a3215;
}

.admin-header {
    position: relative;
}

.admin-header-content {
    flex: 1;
}

.admin-header-user {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 0;
    right: 0;
    color: #181716;
    font-size: 16px;
    font-weight: 700;
}

.admin-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0e5da;
    color: #a45d2d;
}

.admin-avatar svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.admin-chevron {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    color: #9a8e84;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-metric-card {
    background: #fff;
    border: 1px solid #dedbd4;
    border-radius: 12px;
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-metric-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5ede4;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.admin-metric-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #8a4a28;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-metrics strong {
    display: block;
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 700;
    line-height: .9;
}

.admin-metrics span {
    display: block;
    margin-top: 4px;
    color: #4b5652;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.admin-card {
    padding: 26px 22px;
    margin-bottom: 22px;
}

.admin-card-compact {
    padding-top: 20px;
}

.admin-metric-link {
    display: inline-block;
    margin-top: 10px;
    color: #8a3215;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.admin-metric-link:hover {
    text-decoration: underline;
}

.admin-workflow {
    margin-bottom: 20px;
    padding: 28px 28px 36px;
}

.admin-card.admin-workflow h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
}

.admin-workflow > p {
    margin: 0 0 32px;
    color: #5a6360;
    font-size: 14px;
}

.admin-workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.admin-workflow-step {
    position: relative;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
}

.admin-workflow-step:last-child {
    padding-right: 0;
}

.admin-workflow-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5ede4;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.admin-workflow-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #8a4a28;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-workflow-arrow {
    position: absolute;
    top: 18px;
    right: -4px;
    width: 28px;
    height: 28px;
    color: #c9b7a9;
}

.admin-workflow-arrow svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.admin-workflow-step:last-child .admin-workflow-arrow {
    display: none;
}

.admin-workflow-num {
    display: block;
    color: #9a8e84;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-workflow-step strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #12201b;
    margin-bottom: 6px;
}

.admin-workflow-step p {
    margin: 0 0 12px;
    color: #5a6360;
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.admin-workflow-step a {
    color: #8a3215;
    font-size: 13px;
    font-weight: 600;
}

.admin-workflow-step a:hover {
    text-decoration: underline;
}

.admin-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #fdf8f2;
    border: 1px solid #e8dfd3;
    border-radius: 8px;
    color: #5a6360;
    font-size: 14px;
    margin-bottom: 20px;
}

.admin-tip svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: #8a4a28;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.admin-tip strong {
    color: #12201b;
    font-weight: 700;
    flex-shrink: 0;
}

.admin-empty-state {
    max-width: 760px;
}

/* settings page */
.admin-settings-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 22px;
    gap: 10px;
}

.admin-settings-view-btn,
.admin-settings-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.admin-settings-view-btn svg,
.admin-settings-save-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.admin-settings-save-btn {
    background: #12201b;
    color: #fff;
    border: none;
}

.admin-settings-card {
    padding: 32px 32px 0;
    border-radius: 12px;
    overflow: hidden;
}

.admin-settings-card-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
}

.admin-settings-head-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.admin-settings-head-icon svg {
    width: 26px;
    height: 26px;
}

.admin-settings-card-head h2 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 700;
    color: #12201b;
}

.admin-settings-card-head p {
    margin: 0;
    font-size: 13px;
    color: #5a6360;
}

.admin-settings-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.admin-settings-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #ede8e0;
}

.admin-settings-field {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
    border-right: 1px solid #ede8e0;
}

.admin-settings-field:last-child {
    border-right: 0;
    padding-left: 32px;
}

.admin-settings-field-row .admin-settings-field:first-child {
    padding-right: 32px;
}

.admin-settings-field-full {
    border-top: 1px solid #ede8e0;
    border-right: 0 !important;
    padding-right: 0 !important;
}

.admin-settings-field-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5ede4;
    margin-top: 2px;
}

.admin-settings-field-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #8a4a28;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-settings-fb-icon {
    background: #1877f2;
}

.admin-settings-fb-icon svg {
    stroke: #fff;
    fill: #fff;
}

.admin-settings-field-body {
    flex: 1;
    min-width: 0;
}

.admin-settings-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #5a6360;
}

.admin-settings-field-body input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd8d0;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: #12201b;
    transition: border-color .15s;
    margin-top: 0;
    min-height: 0;
}

.admin-settings-field-body input:focus {
    outline: none;
    border-color: #8a3215;
    box-shadow: none;
}

.admin-settings-tips {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 -32px;
    padding: 20px 32px;
    background: #f7f2eb;
    border-top: 1px solid #ede8e0;
    position: relative;
    overflow: hidden;
    margin-top: 28px;
}

.admin-settings-tips-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #12201b;
    margin-top: 2px;
}

.admin-settings-tips-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
}

.admin-settings-tips strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #12201b;
    margin-bottom: 4px;
}

.admin-settings-tips span {
    font-size: 13px;
    color: #5a6360;
    line-height: 1.5;
}

.admin-settings-building {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: .6;
}

/* nav sublabel */
.admin-nav-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.admin-nav-label small {
    font-size: 11px;
    font-weight: 400;
    opacity: .7;
    line-height: 1.1;
}

/* password page */
.admin-main-password {
    background: #fbf9f6;
}

.admin-password-panel {
    width: min(100%, 1224px);
    margin-bottom: 0;
    padding: 28px 28px 20px;
    border-color: #ded9d2;
    background: rgba(255, 255, 255, .86);
}

.admin-password-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 428px;
    gap: 48px;
    align-items: start;
    margin-bottom: 20px;
}

.admin-password-form {
    padding: 0;
}

.admin-password-form-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ded9d2;
}

.admin-password-form-head h2 {
    margin: 0 0 4px;
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
}

.admin-password-form-head p {
    margin: 0;
    font-size: 13px;
    color: #5a6360;
}

.admin-pw-field-group {
    margin-bottom: 24px;
}

.admin-pw-label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #181716;
}

.admin-pw-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d8d2ca;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s;
}

.admin-pw-input-wrap:focus-within {
    border-color: #8a3215;
}

.admin-pw-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 14px;
    fill: none;
    stroke: #9a8e84;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-pw-input-wrap input {
    flex: 1;
    width: auto;
    min-height: 0;
    margin: 0;
    min-height: 50px;
    padding: 13px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
    font: inherit;
    color: #12201b;
    outline: none;
    letter-spacing: .08em;
}

.admin-pw-input-wrap input:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.admin-pw-eye {
    background: none;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    color: #181716;
    display: flex;
    align-items: center;
}

.admin-pw-eye svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.admin-pw-strength-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.admin-pw-strength-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 0;
}

.admin-pw-strength-bar span {
    height: 5px;
    border-radius: 3px;
    background: #e5e1db;
    transition: background .3s;
}

.admin-pw-strength-label {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    margin-top: 0;
    min-width: 52px;
    min-height: 20px;
}

.admin-pw-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    margin-top: 14px;
}

.admin-pw-checks span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #9a8e84;
}

.admin-pw-checks span svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #9a8e84;
    stroke-width: 2.5;
    stroke-linecap: round;
    flex-shrink: 0;
}

.admin-pw-checks span.pw-check-ok {
    color: #22a05a;
}

.admin-pw-checks span.pw-check-ok svg {
    stroke: #22a05a;
}

.admin-pw-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.admin-pw-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 236px;
    padding: 0 28px;
    min-height: 52px;
    background: #12201b;
    border-color: #12201b;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.admin-pw-submit svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    flex-shrink: 0;
}

.admin-pw-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid #d8d2ca;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5652;
    background: transparent;
}

.admin-pw-tips {
    margin-top: 106px;
    padding: 24px 22px;
    background: #faf6f1;
    border: 1px solid #e2d8cf;
    border-radius: 8px;
}

.admin-pw-tips-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
}

.admin-pw-tips-head strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #12201b;
    margin-bottom: 4px;
}

.admin-pw-tips-head span {
    display: block;
    font-size: 16px;
    color: #5a6360;
}

.admin-pw-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.admin-pw-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.admin-pw-tip-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5ede4;
}

.admin-pw-tip-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #8a4a28;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-pw-tips-list strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #12201b;
    margin-bottom: 3px;
}

.admin-pw-tips-list span {
    display: block;
    font-size: 16px;
    color: #5a6360;
    line-height: 1.45;
}

.admin-password-note {
    margin: 0;
    background: #f9fbfd;
    border-color: #b9d3ee;
    color: #3c3f42;
}

.admin-password-note svg {
    stroke: #2e77bb;
}

.admin-empty-state > p {
    margin: 0;
    color: #4b5652;
}

.admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eadfd6;
}

.admin-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1.1;
}

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

.admin-card label {
    display: block;
    margin: 0;
    color: #372f2a;
    font-size: 13px;
    font-weight: 800;
}

.admin-card input,
.admin-card textarea,
.login-card input {
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid #d5d0c8;
    border-radius: 0;
    color: #211b17;
    font: inherit;
    background: #fffdfb;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.admin-card input:focus,
.admin-card textarea:focus,
.login-card input:focus {
    outline: 0;
    border-color: #9b411a;
    box-shadow: 0 0 0 3px rgba(155, 65, 26, .13);
}

.admin-card .admin-pw-input-wrap input,
.admin-card .admin-pw-input-wrap input:focus {
    width: auto;
    min-height: 50px;
    margin-top: 0;
    padding: 13px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: 0;
}

.admin-card textarea {
    min-height: 150px;
    line-height: 1.55;
    resize: vertical;
}

#expertise-editor textarea[name="detail_html"] {
    min-height: 230px;
}

#homepage-hero textarea[name="intro"] {
    min-height: 105px;
}

.rich-editor-grid {
    grid-template-columns: 1fr;
}

.rich-editor-field {
    min-width: 0;
}

.wide-editor-field {
    grid-column: 1 / -1;
}

.rich-editor-label {
    margin-bottom: 8px;
    color: #372f2a;
    font-size: 13px;
    font-weight: 800;
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border: 1px solid #d5d0c8;
    border-bottom: 0;
    background: #f8f4ed;
}

.rich-editor-toolbar button,
.rich-editor-toolbar select {
    min-height: 34px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #d5d0c8;
    background: #fffdfb;
    color: #211b17;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.rich-editor-toolbar button {
    cursor: pointer;
}

.rich-editor-toolbar button:hover,
.rich-editor-toolbar select:hover {
    border-color: #9b411a;
}

.rich-editor-toolbar input[type="file"] {
    display: none;
}

.rich-editor {
    min-height: 190px;
    max-height: 480px;
    overflow: auto;
    padding: 14px;
    border: 1px solid #d5d0c8;
    background: #fffdfb;
    color: #211b17;
    line-height: 1.55;
}

.rich-editor-tall {
    min-height: 240px;
    max-height: 520px;
}

#service-editor-summary {
    min-height: 320px;
    max-height: 680px;
}

.rich-editor:focus {
    outline: 0;
    border-color: #9b411a;
    box-shadow: 0 0 0 3px rgba(155, 65, 26, .13);
}

.rich-editor img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    cursor: pointer;
}

.rich-editor img.is-selected {
    outline: 3px solid rgba(155, 65, 26, .45);
    outline-offset: 3px;
}

.rich-editor-source {
    display: none;
}

.rich-editor-field.is-source-mode .rich-editor {
    display: none;
}

.rich-editor-field.is-source-mode .rich-editor-source {
    display: block;
    min-height: 300px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.rich-editor-toolbar button.is-active {
    border-color: #9b411a;
    background: #fff4eb;
    color: #9b411a;
}

.hero-image-editor {
    grid-column: 1 / -1;
}

.hero-image-editor > p {
    margin: 8px 0 14px;
    color: #5e6864;
    font-size: 13px;
    font-weight: 400;
}

.hero-image-preview {
    display: grid;
    grid-template-columns: minmax(180px, 360px) 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eadfd6;
    background: #fbf7f1;
}

.hero-image-preview img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #ece4da;
}

.hero-image-preview span {
    color: #4b5652;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-hero-editor {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
    gap: 22px;
    align-items: start;
}

.admin-hero-fields {
    display: grid;
    gap: 18px;
}

.admin-field-group {
    padding: 18px;
    border: 1px solid #eadfd6;
    background: #fffdfb;
}

.admin-field-group-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eadfd6;
}

.admin-field-group-head > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    background: #12201b;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1;
}

.admin-field-group-head h3 {
    margin: 0;
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1.05;
}

.admin-field-group-head p {
    margin: 7px 0 0;
    color: #5e6864;
    font-size: 13px;
}

.admin-helper-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.admin-helper-grid > div {
    min-height: 72px;
    padding: 14px;
    border: 1px solid #eadfd6;
    background: #fbf7f1;
}

.admin-helper-grid strong,
.admin-helper-grid span {
    display: block;
}

.admin-helper-grid strong {
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    line-height: 1;
}

.admin-helper-grid span {
    margin-top: 6px;
    color: #5e6864;
    font-size: 12px;
}

.admin-hero-live-preview {
    position: sticky;
    top: 28px;
    border: 1px solid #d6c8bb;
    background: #12201b;
    color: #fffaf3;
}

.admin-preview-browser {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    background: #f6f1ea;
    border-bottom: 1px solid #d6c8bb;
}

.admin-preview-browser div {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9b7a9;
}

.admin-preview-hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background-size: cover;
    background-position: center;
}

.admin-preview-hero > span {
    margin-bottom: 12px;
    color: #e6c0a0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.admin-preview-hero h3 {
    margin: 0;
    max-width: 420px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 700;
    line-height: .9;
}

.admin-preview-hero h3 em {
    display: block;
    color: #e8b17f;
    font-weight: 400;
}

.admin-preview-hero p {
    max-width: 380px;
    margin: 18px 0 0;
    color: rgba(255, 250, 243, .86);
    font-size: 15px;
    line-height: 1.5;
}

.admin-preview-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.admin-preview-actions b {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 250, 243, .45);
    background: rgba(167, 82, 43, .95);
    color: #fff;
    font-size: 11px;
}

.admin-preview-actions b + b {
    background: transparent;
}

.admin-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    border: 1px solid rgba(255, 250, 243, .18);
    background: rgba(24, 36, 31, .72);
}

.admin-preview-stats > div {
    min-height: 78px;
    padding: 14px 12px;
    border-right: 1px solid rgba(255, 250, 243, .16);
}

.admin-preview-stats > div:last-child {
    border-right: 0;
}

.admin-preview-stats strong,
.admin-preview-stats span {
    display: block;
}

.admin-preview-stats strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: .95;
}

.admin-preview-stats div:last-child strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-preview-stats span {
    margin-top: 5px;
    color: rgba(255, 250, 243, .76);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .8px;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-pages-editor {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
    gap: 22px;
    align-items: start;
}

.admin-pages-fields {
    display: grid;
    gap: 18px;
}

.admin-service-editor {
    display: grid;
    gap: 18px;
}

.admin-table .danger-btn {
    border-color: rgba(122, 27, 18, .35);
    color: #7a1b12;
}

.admin-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-shortcut-grid a {
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    border: 1px solid #eadfd6;
    background: #fbf7f1;
    transition: border-color .2s ease, background .2s ease;
}

.admin-shortcut-grid a:hover {
    border-color: #9b411a;
    background: #fff4eb;
}

.admin-shortcut-grid strong,
.admin-shortcut-grid span {
    display: block;
}

.admin-shortcut-grid strong {
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.05;
}

.admin-shortcut-grid span {
    margin-top: 8px;
    color: #5e6864;
    font-size: 12px;
    line-height: 1.35;
}

.admin-page-live-preview {
    position: sticky;
    top: 28px;
    border: 1px solid #d6c8bb;
    background: #e9dfd1;
}

.admin-about-preview {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    min-height: 470px;
}

.admin-about-preview > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-about-preview > div {
    padding: 28px;
}

.admin-about-preview span {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #783316;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.admin-about-preview span::after {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(120, 51, 22, .32);
}

.admin-about-preview h3 {
    margin: 0;
    color: #191a18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

.admin-about-preview-copy {
    margin-top: 20px;
    color: #3b3934;
    font-size: 14px;
    line-height: 1.55;
}

.admin-gallery-editor {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(380px, .82fr);
    gap: 22px;
    align-items: start;
}

.admin-gallery-fields {
    display: grid;
    gap: 18px;
}

.admin-gallery-live-preview {
    position: sticky;
    top: 28px;
    border: 1px solid #d6c8bb;
    background: #fffaf3;
}

.admin-gallery-preview {
    padding: 24px;
}

.admin-gallery-preview > span {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: #783316;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.admin-gallery-preview > span::after {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(120, 51, 22, .32);
}

.admin-gallery-preview h3 {
    margin: 0 0 22px;
    color: #191a18;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.admin-gallery-preview-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.2fr .9fr;
    grid-auto-rows: 112px;
    gap: 7px;
}

.admin-gallery-preview-card {
    position: relative;
    overflow: hidden;
    background: #d7cabb;
}

.admin-gallery-preview-card:first-child,
.admin-gallery-preview-card:nth-child(2) {
    grid-row: span 2;
}

.admin-gallery-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-gallery-preview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 17, 14, .72), transparent 58%);
}

.admin-gallery-preview-card b {
    position: absolute;
    z-index: 1;
    left: 10px;
    right: 10px;
    bottom: 10px;
    color: #fffaf3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.05;
}

.admin-gallery-preview-card small {
    display: block;
    margin-bottom: 4px;
    color: #e8b17f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.gallery-empty-preview {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: #5e6864;
    background: #f2ebe3;
    border: 1px dashed #cdbcae;
    font-size: 13px;
    font-weight: 700;
}

.admin-gallery-list {
    display: grid;
    gap: 10px;
}

.admin-gallery-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 98px;
    padding: 10px;
    border: 1px solid #eadfd6;
    background: #fffdfb;
}

.admin-gallery-row > img {
    width: 118px;
    height: 78px;
    object-fit: cover;
    background: #ece4da;
}

.admin-gallery-row strong,
.admin-gallery-row span,
.admin-gallery-row small {
    display: block;
}

.admin-gallery-row strong {
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.05;
}

.admin-gallery-row span {
    margin-top: 6px;
    color: #796a60;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.admin-gallery-row small {
    margin-top: 7px;
    color: #9b411a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-gallery-row .project-manage {
    position: static;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    z-index: auto;
}

.admin-gallery-row .project-manage .outline-btn {
    min-height: 34px;
    border-color: #d5d0c8;
    background: #fff;
    color: #12201b;
}

.admin-gallery-row .project-manage .danger-btn {
    border-color: rgba(122, 27, 18, .35);
    color: #7a1b12;
}

.admin-muted-note {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #eadfd6;
    color: #796a60;
    background: #fbf7f1;
    font-size: 12px;
    font-weight: 800;
}

.admin-hidden-gallery {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eadfd6;
}

.admin-hidden-gallery h3 {
    margin: 0;
    color: #12201b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.05;
}

.admin-hidden-gallery p {
    margin: 8px 0 16px;
    color: #5e6864;
}

.admin-gallery-row-hidden {
    opacity: .74;
    background: #f7f3ee;
}

.gallery-edit-preview {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(180px, 320px) 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eadfd6;
    background: #fbf7f1;
}

.gallery-edit-preview img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #ece4da;
}

.gallery-edit-preview span {
    color: #4b5652;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.team-edit-preview {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px;
    border: 1px solid #eadfd6;
    background: #fbf7f1;
}

.team-edit-preview img {
    width: 132px;
    height: 150px;
    object-fit: cover;
    background: #ece4da;
}

.team-edit-preview span {
    color: #4b5652;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-checkbox-label {
    align-self: end;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-bottom: 8px;
}

.admin-card input[type="checkbox"] {
    width: auto;
    min-height: 0;
    margin: 0 8px 0 0;
}

.admin-page .btn,
.admin-page .outline-btn {
    min-height: 36px;
    border-radius: 0;
}

.admin-page .btn {
    border: 1px solid #12201b;
    background: #12201b;
}

.admin-page .outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #12201b;
    font-weight: 800;
    background: #fff;
}

.admin-page .outline-btn:hover {
    background: #f1ede7;
}

.admin-page .admin-pw-submit {
    min-width: 236px;
    min-height: 52px;
    border-radius: 6px;
    background: #12201b;
    border-color: #12201b;
}

.admin-page .admin-pw-cancel {
    min-width: 140px;
    min-height: 52px;
    border-radius: 6px;
    background: #fff;
    border-color: #d8d2ca;
}

.admin-table {
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #e6ddd5;
    text-align: left;
    vertical-align: top;
}

.admin-table tbody tr:hover {
    background: #fff8f2;
}

.admin-table th {
    color: #12201b;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-table small {
    color: #796a60;
}

.admin-table td:last-child {
    min-width: 210px;
    white-space: nowrap;
}

.admin-services-layout .admin-table {
    overflow-x: visible;
}

.admin-services-layout .admin-table table {
    table-layout: fixed;
}

.admin-services-layout .admin-table th,
.admin-services-layout .admin-table td {
    padding: 12px 9px;
    font-size: 12px;
    line-height: 1.35;
}

.admin-services-layout .admin-table th:nth-child(1),
.admin-services-layout .admin-table td:nth-child(1) {
    width: 44px;
}

.admin-services-layout .admin-table th:nth-child(2),
.admin-services-layout .admin-table td:nth-child(2) {
    width: 118px;
}

.admin-services-layout .admin-table th:nth-child(4),
.admin-services-layout .admin-table td:nth-child(4) {
    width: 70px;
}

.admin-services-layout .admin-table td:last-child {
    width: 186px;
    min-width: 0;
    white-space: normal;
}

.admin-services-layout .admin-table td:last-child .outline-btn,
.admin-services-layout .admin-table td:last-child .inline-admin-form {
    display: inline-flex;
    width: auto;
    margin: 0 3px 4px 0;
    vertical-align: top;
}

.admin-services-layout .admin-table td:last-child .outline-btn,
.admin-services-layout .admin-table td:last-child .inline-admin-form button {
    min-width: 54px;
    min-height: 26px;
    justify-content: center;
    padding: 0 7px;
    font-size: 11px;
    line-height: 1;
}

.admin-thumb-cell {
    width: 86px;
}

.admin-thumb-cell img {
    width: 64px;
    height: 72px;
    object-fit: cover;
    background: #ece4da;
}

.inline-admin-form {
    display: inline;
}

.inline-admin-form button {
    font: inherit;
}

.admin-page .projects-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 150px;
}

.admin-page .project-card {
    border-radius: 8px;
}

.project-manage {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.project-manage .outline-btn {
    min-width: 0;
    min-height: 30px;
    padding: 0 10px;
    border-color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .92);
    color: #12201b;
    font-size: 12px;
}

.project-manage .danger-btn {
    border-color: rgba(122, 27, 18, .35);
    color: #7a1b12;
}

.admin-page .project-card:first-child,
.admin-page .project-card:nth-child(2),
.admin-page .project-card:nth-child(5),
.admin-page .project-card:nth-child(6) {
    grid-row: auto;
    grid-column: auto;
}

.expertise-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: center;
    padding: 56px 64px;
    background: #f8f4ed;
}

.expertise-detail-hero h1 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .95;
}

.expertise-detail-hero p:not(.section-title) {
    max-width: 700px;
    margin: 0;
    font-size: 18px;
}

.expertise-detail-mark {
    display: grid;
    width: 240px;
    height: 240px;
    place-items: center;
    color: #8a3215;
}

.expertise-detail-mark svg {
    width: 130px;
    height: 130px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
}

.expertise-detail-mark img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.expertise-detail-body {
    width: min(1180px, calc(100% - 48px));
    margin: 56px auto;
    padding: 42px 64px 30px;
    background: #fff;
    border: 1px solid #f0e8df;
    color: #29221d;
    font-size: 17px;
    line-height: 1.85;
    overflow: visible;
}

.expertise-detail-body .rich-content {
    overflow: visible;
}

.expertise-detail-body-oversized {
    padding: 0;
    background: transparent;
    border: 0;
}

.expertise-detail-body-oversized .rich-content > p,
.expertise-detail-body-oversized .rich-content > div {
    margin: 0 0 28px;
}

.expertise-detail-body p:first-child {
    margin-top: 0;
}

.expertise-detail-body img {
    display: inline-block;
    max-width: none;
    height: auto;
}

.expertise-detail-body p[style*="text-align:center"] > img,
.expertise-detail-body div[style*="text-align:center"] > img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.expertise-detail-body p[style*="text-align:right"] > img,
.expertise-detail-body div[style*="text-align:right"] > img {
    position: relative;
    left: 100%;
    transform: translateX(-100%);
}

.expertise-icon-upload {
    padding: 12px;
    border: 1px solid #eadfd6;
    background: #fbf7f1;
}

.expertise-icon-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.expertise-icon-preview img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid #d5d0c8;
    background: #fffdfb;
}

.login-card {
    width: min(420px, calc(100% - 28px));
    margin: 70px auto;
    padding: 32px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ddd4cc;
    box-shadow: 0 22px 50px rgba(48, 34, 24, .12);
}

.login-card h1 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
}

.notice {
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #d8b397;
    background: #fff4eb;
    color: #71310f;
}

@media (max-width: 900px) {
    .admin-shell {
        display: block;
        width: 100%;
        min-height: 100vh;
        margin: 0;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 22px 20px;
    }

    .admin-sidebar h1 {
        max-width: none;
        font-size: 22px;
    }

    .admin-side-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        margin-top: 20px;
        padding-bottom: 0;
    }

    .admin-sidebar-actions {
        flex-direction: row;
        margin-top: 20px;
        padding-top: 14px;
    }

    .admin-main {
        width: 100%;
        padding: 28px 20px 40px;
    }

    .admin-services-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .admin-services-layout #expertise-editor,
    .admin-services-layout .admin-card-compact {
        order: initial;
    }

    .admin-services-layout .admin-card-compact {
        position: static;
    }

    .admin-hero,
    .admin-card-head {
        display: block;
    }

    .admin-hero {
        position: static;
        padding: 0;
    }

    .admin-header h1 {
        font-size: 40px;
    }

    .admin-top-actions,
    .admin-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .admin-quick-nav {
        position: static;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-card {
        padding: 18px;
    }

    .admin-password-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-pw-tips {
        margin-top: 0;
    }

    .admin-pw-actions {
        flex-wrap: wrap;
    }

    .admin-page .admin-pw-submit,
    .admin-page .admin-pw-cancel {
        width: 100%;
    }

    .admin-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-image-preview {
        grid-template-columns: 1fr;
    }

    .gallery-edit-preview {
        grid-template-columns: 1fr;
    }

    .team-edit-preview {
        grid-template-columns: 1fr;
    }

    .admin-hero-editor {
        grid-template-columns: 1fr;
    }

    .admin-pages-editor {
        grid-template-columns: 1fr;
    }

    .admin-gallery-editor {
        grid-template-columns: 1fr;
    }

    .admin-hero-live-preview {
        position: static;
    }

    .admin-page-live-preview {
        position: static;
    }

    .admin-gallery-live-preview {
        position: static;
    }

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

    .admin-preview-hero {
        min-height: 430px;
    }

    .admin-preview-hero h3 {
        font-size: 38px;
    }

    .admin-about-preview {
        grid-template-columns: 1fr;
    }

    .admin-about-preview > img {
        height: 220px;
    }

    .admin-about-preview h3 {
        font-size: 30px;
    }

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

    .admin-gallery-preview-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .admin-gallery-preview-card:first-child,
    .admin-gallery-preview-card:nth-child(2) {
        grid-row: span 1;
    }

    .admin-gallery-row {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .admin-gallery-row > img {
        width: 92px;
        height: 72px;
    }

    .admin-gallery-row .project-manage {
        grid-column: 1 / -1;
        position: static;
        justify-content: flex-start;
    }

    .admin-preview-stats {
        grid-template-columns: 1fr;
    }

    .admin-preview-stats > div {
        min-height: 62px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 250, 243, .16);
    }

    .admin-preview-stats > div:last-child {
        border-bottom: 0;
    }

    .admin-card textarea {
        min-height: 130px;
    }

    .admin-page .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
    }

    .admin-table td:last-child {
        white-space: normal;
    }

    .page-shell {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        min-height: 100vh;
        border-radius: 0;
    }

    .site-header {
        height: 66px;
        padding: 0 18px;
    }

    .brand-mark {
        width: 31px;
        height: 42px;
    }

    .brand-name {
        font-size: 18px;
    }

    .drawer-toggle {
        display: grid;
        width: 36px;
        height: 36px;
        place-items: center;
        border: 0;
        background: transparent;
        color: #fff;
        padding: 7px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 16px 20px;
        background: #171918;
        border-top: 1px solid #3a302c;
        gap: 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.is-open {
        display: flex;
    }

    .hero {
        display: flex;
        flex-direction: column-reverse;
        min-height: 0;
    }

    .hero-media {
        min-height: 230px;
    }

    .experience-card {
        right: 18px;
        left: auto;
        bottom: -28px;
        width: 104px;
        padding: 14px 12px;
    }

    .experience-card strong {
        font-size: 38px;
    }

    .hero-copy {
        padding: 48px 24px 30px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: .96;
    }

    .hero p {
        max-width: 100%;
    }

    .section {
        padding: 28px 22px;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .expertise-grid {
        display: block;
    }

    .expertise-item {
        min-height: 58px;
        padding: 13px 0;
        display: grid;
        grid-template-columns: 38px 46px 1fr 18px;
        align-items: center;
        gap: 12px;
        border-right: 0;
        border-bottom: 1px solid #d5c8bb;
    }

    .expertise-item::after {
        content: ">";
        color: #5d3d2d;
        font-weight: 700;
    }

    .expertise-head {
        display: contents;
    }

    .expertise-number {
        font-size: 23px;
    }

    .expertise-item h3 {
        margin: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        font-weight: 700;
    }

    .expertise-item p {
        display: none;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 92px;
        gap: 6px;
    }

    .project-card:first-child,
    .project-card:nth-child(2) {
        grid-row: span 1;
    }

    .project-card:nth-child(n+4) {
        display: none;
    }

    .admin-page .project-card:nth-child(n+4) {
        display: block;
    }

    .project-card span {
        display: none;
    }

    .admin-page .project-card span {
        display: block;
    }

    .expertise-detail-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 24px;
    }

    .expertise-detail-hero h1 {
        font-size: 34px;
    }

    .expertise-detail-hero p:not(.section-title) {
        font-size: 15px;
    }

    .expertise-detail-mark {
        width: 160px;
        height: 160px;
    }

    .expertise-detail-mark svg {
        width: 88px;
        height: 88px;
    }

    .expertise-detail-mark img {
        width: 120px;
        height: 120px;
    }

    .expertise-detail-body {
        width: min(100% - 28px, 680px);
        margin: 28px auto;
        padding: 28px 24px 18px;
        font-size: 15px;
    }

    .about-band {
        display: block;
        padding: 0;
    }

    .about-band > img,
    .about-content {
        display: none;
    }

    .mobile-accordion {
        display: block;
    }

    .mobile-accordion details {
        padding: 0 22px;
        border-bottom: 1px solid #d5c8bb;
    }

    .mobile-accordion summary {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        list-style: none;
        color: #2b211d;
        font-size: 12px;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .mobile-accordion summary::-webkit-details-marker {
        display: none;
    }

    .mobile-accordion .summary-text {
        padding: 0 0 20px;
    }

    .site-footer {
        display: none;
    }

    .mobile-footer {
        display: block;
        padding: 12px 16px 18px;
        background: #171918;
        color: #fff;
    }

    .mobile-footer-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 12px;
    }

    .mobile-footer-grid a {
        display: grid;
        place-items: center;
        gap: 6px;
        font-size: 11px;
    }

    .footer-icon {
        width: 28px;
        height: 28px;
    }

    .mobile-footer .nav-cta {
        width: 100%;
        min-height: 42px;
    }

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

@media (max-width: 1400px) and (min-width: 901px) {
    .admin-password-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .admin-pw-tips {
        margin-top: 0;
    }
}

@media (max-width: 1500px) {
    .admin-main-services {
        padding: 60px 32px 70px;
    }

    .admin-services-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .admin-services-layout .admin-card-compact {
        order: 1;
    }

    .admin-services-layout #expertise-editor {
        order: 2;
    }

    .admin-services-layout .admin-card-compact {
        position: static;
    }
}

@media (min-width: 901px) {
    .mobile-accordion {
        display: none;
    }
}

/* Public website refresh */
:root {
    --ink: #191a18;
    --muted: #64645d;
    --paper: #f7f2ea;
    --soft: #ebe2d6;
    --line: #d7cabb;
    --forest: #18241f;
    --moss: #6f775f;
    --terracotta: #a7522b;
    --terracotta-dark: #783316;
    --white: #fffaf3;
}

body:not(.admin-page) {
    background: #eee8df;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

body:not(.admin-page)::before {
    display: none;
}

body:not(.admin-page) .page-shell {
    background: var(--paper);
}

body:not(.admin-page) .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 64px;
    padding: 0 clamp(22px, 5vw, 72px);
    background: rgba(24, 36, 31, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 250, 243, .1);
}

body:not(.admin-page) .brand {
    gap: 10px;
}

body:not(.admin-page) .brand-mark {
    width: 32px;
    height: 44px;
}

body:not(.admin-page) .brand-name {
    font-size: clamp(18px, 1.8vw, 25px);
    letter-spacing: 0;
}

body:not(.admin-page) .brand-name span,
body:not(.admin-page) .accent {
    color: #d79a67;
}

body:not(.admin-page) .nav {
    gap: clamp(18px, 2.7vw, 34px);
}

body:not(.admin-page) .nav a:not(.nav-cta) {
    color: rgba(255, 250, 243, .82);
}

body:not(.admin-page) .nav a:not(.nav-cta):hover {
    color: #fff;
}

body:not(.admin-page) .nav-cta,
body:not(.admin-page) .btn,
body:not(.admin-page) .outline-btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

body:not(.admin-page) .nav-cta,
body:not(.admin-page) .btn {
    border-color: var(--terracotta);
    background: var(--terracotta);
    color: #fff;
}

body:not(.admin-page) .outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(120, 51, 22, .42);
    background: transparent;
    color: var(--terracotta-dark);
}

body:not(.admin-page) .nav-cta:hover,
body:not(.admin-page) .btn:hover,
body:not(.admin-page) .outline-btn:hover {
    transform: translateY(-1px);
}

body:not(.admin-page) .hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: calc(100vh - 64px);
    isolation: isolate;
    overflow: hidden;
}

body:not(.admin-page) .hero-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    z-index: -2;
}

body:not(.admin-page) .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 17, 14, .58), rgba(13, 17, 14, .32) 42%, rgba(13, 17, 14, .06) 75%),
        linear-gradient(0deg, rgba(24, 36, 31, .22), transparent 45%);
}

body:not(.admin-page) .hero-media img {
    width: 100%;
    height: 100%;
    object-position: center;
    filter: brightness(1.14) saturate(1.04);
}

body:not(.admin-page) .hero-copy {
    width: min(760px, 100%);
    padding: clamp(58px, 8vw, 116px) clamp(24px, 6vw, 76px) 164px;
    background: transparent;
    color: #fffaf3;
    overflow: visible;
}

body:not(.admin-page) .hero-copy::before,
body:not(.admin-page) .hero-copy::after {
    display: none;
}

body:not(.admin-page) .eyebrow {
    margin: 0 0 18px;
    color: #e6c0a0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3.2px;
    text-transform: uppercase;
}

body:not(.admin-page) .hero h1 {
    max-width: 720px;
    font-size: clamp(44px, 6.8vw, 86px);
    line-height: .9;
    text-wrap: balance;
}

body:not(.admin-page) .hero h1 em {
    color: #e8b17f;
}

body:not(.admin-page) .hero p:not(.eyebrow) {
    max-width: 560px;
    margin: 26px 0 0;
    color: rgba(255, 250, 243, .86);
    font-size: clamp(17px, 2vw, 21px);
}

body:not(.admin-page) .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

body:not(.admin-page) .hero-panel {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: clamp(38px, 5vw, 64px);
    width: min(620px, calc(100% - 40px));
    display: grid;
    grid-template-columns: .8fr .8fr 1.4fr;
    border: 1px solid rgba(255, 250, 243, .18);
    background: rgba(24, 36, 31, .76);
    color: #fffaf3;
    backdrop-filter: blur(18px);
}

body:not(.admin-page) .hero-panel > * {
    min-height: 98px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 250, 243, .16);
}

body:not(.admin-page) .hero-panel > *:last-child {
    border-right: 0;
}

body:not(.admin-page) .hero-panel strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 54px);
    line-height: .95;
}

body:not(.admin-page) .hero-panel a strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

body:not(.admin-page) .hero-panel span {
    color: rgba(255, 250, 243, .76);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

body:not(.admin-page) .section {
    padding: clamp(56px, 8vw, 96px) clamp(22px, 5vw, 72px);
}

body:not(.admin-page) .section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

body:not(.admin-page) .section-head-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

body:not(.admin-page) .section-head h2,
body:not(.admin-page) .about-content h2,
body:not(.admin-page) .contact-strip h2,
body:not(.admin-page) #team h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4.6vw, 56px);
    font-weight: 400;
    line-height: 1;
    text-wrap: balance;
}

body:not(.admin-page) .section-title {
    display: flex;
    margin: 0 0 16px;
    color: var(--terracotta-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

body:not(.admin-page) .section-title::after {
    background: rgba(120, 51, 22, .32);
}

body:not(.admin-page) .expertise {
    background: var(--paper);
}

body:not(.admin-page) .expertise-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

body:not(.admin-page) .expertise-item {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-right: 0;
    background: #fffaf3;
}

body:not(.admin-page) .expertise-item:hover {
    color: var(--ink);
    transform: none;
    background: #fbefe4;
}

body:not(.admin-page) .expertise-head {
    justify-content: space-between;
    margin-bottom: auto;
    align-items: flex-start;
}

body:not(.admin-page) .expertise-item .line-icon {
    width: auto;
    height: auto;
    max-width: 60%;
}

body:not(.admin-page) .expertise-item .line-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

body:not(.admin-page) .expertise-number {
    color: var(--terracotta);
    font-size: 46px;
}

body:not(.admin-page) .expertise .section-head h2 {
    font-size: 46px;
    line-height: 1.05;
}

body:not(.admin-page) .expertise-item h3 {
    margin: 30px 0 12px;
    font-size: 26px;
    line-height: 1.05;
}

body:not(.admin-page) .expertise-item p {
    color: var(--muted);
    font-size: 15px;
}

body:not(.admin-page) .projects-grid {
    grid-template-columns: 1.05fr 1.2fr .9fr;
    grid-auto-rows: 220px;
    gap: 12px;
}

body:not(.admin-page) .project-card {
    border-radius: 4px;
    background: #d7cabb;
}

body:not(.admin-page) .project-card:first-child {
    grid-row: span 2;
}

body:not(.admin-page) .project-card:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;
}

body:not(.admin-page) .project-card:nth-child(5),
body:not(.admin-page) .project-card:nth-child(6) {
    grid-column: auto;
}

body:not(.admin-page) .project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 17, 14, .72), transparent 55%);
    opacity: .9;
}

body:not(.admin-page) .project-card span {
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 0;
    background: transparent;
    color: #fffaf3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.05;
}

body:not(.admin-page) .project-card small {
    display: block;
    margin-bottom: 7px;
    font-family: Arial, Helvetica, sans-serif;
    color: #e8b17f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body:not(.admin-page) .about-band {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.4fr);
    gap: clamp(32px, 5vw, 70px);
    padding: clamp(56px, 8vw, 96px) clamp(22px, 5vw, 72px);
    background: #e9dfd1;
}

body:not(.admin-page) .about-band > img {
    height: 100%;
    min-height: 560px;
    border-radius: 4px;
    object-fit: cover;
}

body:not(.admin-page) .about-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

body:not(.admin-page) .summary-text {
    max-width: 760px;
    margin-top: 22px;
    color: #3b3934;
    font-size: 16px;
}

body:not(.admin-page) .summary-text p {
    margin-bottom: 16px;
}

body:not(.admin-page) .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

body:not(.admin-page) .team-card {
    grid-template-columns: 118px 1fr;
    min-height: 138px;
    border: 1px solid rgba(120, 51, 22, .18);
    border-radius: 4px;
    background: rgba(255, 250, 243, .62);
    overflow: hidden;
}

body:not(.admin-page) .team-card img {
    width: 118px;
    height: 138px;
}

body:not(.admin-page) .team-card div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    color: var(--muted);
}

body:not(.admin-page) .team-card strong {
    margin-bottom: 4px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    line-height: 1.05;
}

body:not(.admin-page) .text-link {
    color: var(--terracotta-dark);
}

body:not(.admin-page) .contact-strip {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(46px, 7vw, 72px) clamp(22px, 5vw, 72px);
    background: var(--forest);
    color: #fffaf3;
}

body:not(.admin-page) .contact-strip h2,
body:not(.admin-page) .contact-strip .section-title {
    color: #fffaf3;
}

body:not(.admin-page) .contact-strip .section-title::after {
    background: rgba(255, 250, 243, .34);
}

body:not(.admin-page) .contact-actions {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

body:not(.admin-page) .contact-strip .outline-btn {
    border-color: rgba(255, 250, 243, .5);
    color: #fffaf3;
}

body:not(.admin-page) .site-footer {
    grid-template-columns: 1.55fr .82fr 1.05fr .72fr 1fr;
    padding: 22px clamp(22px, 5vw, 72px);
    background: #101612;
}

body:not(.admin-page) .footer-cell {
    color: rgba(255, 250, 243, .78);
    border-color: rgba(255, 250, 243, .14);
}

body:not(.admin-page) .footer-cell.nav-cta {
    color: #fff;
}

@media (max-width: 1100px) {
    body:not(.admin-page) .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.admin-page) .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.admin-page) .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body:not(.admin-page) .footer-cell {
        border-right: 0;
        padding: 0;
    }
}

@media (max-width: 900px) {
    body:not(.admin-page) .site-header {
        height: 58px;
        padding: 0 18px;
    }

    body:not(.admin-page) .nav {
        top: 58px;
        background: rgba(24, 36, 31, .98);
    }

    body:not(.admin-page) .hero {
        min-height: 680px;
    }

    body:not(.admin-page) .hero-media {
        min-height: 0;
    }

    body:not(.admin-page) .hero-copy {
        padding: 86px 22px 220px;
    }

    body:not(.admin-page) .hero h1 {
        font-size: clamp(44px, 14vw, 68px);
    }

    body:not(.admin-page) .hero-panel {
        left: 18px;
        right: 18px;
        bottom: 18px;
        width: auto;
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .hero-panel > * {
        min-height: 74px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 250, 243, .16);
        padding: 16px 18px;
    }

    body:not(.admin-page) .hero-panel > *:last-child {
        border-bottom: 0;
    }

    body:not(.admin-page) .section-head-row,
    body:not(.admin-page) .contact-strip {
        display: block;
    }

    body:not(.admin-page) .section-head-row .outline-btn,
    body:not(.admin-page) .contact-actions {
        margin-top: 22px;
    }

    body:not(.admin-page) .expertise-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .expertise-item {
        min-height: 0;
        display: block;
        padding: 24px;
        border-bottom: 0;
    }

    body:not(.admin-page) .expertise-item::after {
        display: none;
    }

    body:not(.admin-page) .expertise-head {
        display: flex;
        margin-bottom: 12px;
    }

    body:not(.admin-page) .expertise-item h3 {
        margin: 16px 0 8px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 25px;
        font-weight: 400;
    }

    body:not(.admin-page) .expertise-item p {
        display: block;
    }

    body:not(.admin-page) .projects-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 245px;
    }

    body:not(.admin-page) .project-card:nth-child(n+4) {
        display: block;
    }

    body:not(.admin-page) .project-card:first-child,
    body:not(.admin-page) .project-card:nth-child(2) {
        grid-row: span 1;
    }

    body:not(.admin-page) .project-card span {
        display: block;
    }

    body:not(.admin-page) .about-band {
        padding: 0;
        background: #e9dfd1;
    }

    body:not(.admin-page) .about-band > img,
    body:not(.admin-page) .about-content {
        display: none;
    }

    body:not(.admin-page) .mobile-accordion summary {
        color: var(--ink);
        font-weight: 900;
    }

    body:not(.admin-page) .mobile-accordion .summary-text {
        font-size: 15px;
    }
}

@media (max-width: 560px) {
    body:not(.admin-page) .brand {
        gap: 10px;
    }

    body:not(.admin-page) .brand-name {
        white-space: normal;
        line-height: 1;
    }

    body:not(.admin-page) .hero-actions,
    body:not(.admin-page) .contact-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .hero-actions a,
    body:not(.admin-page) .contact-actions a {
        width: 100%;
    }

    body:not(.admin-page) .mobile-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

body:not(.admin-page) .about-band {
    display: block;
    padding: 0;
    background: #fffaf3;
}

body:not(.admin-page) .about-intro {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(520px, 1.28fr);
    gap: clamp(34px, 5vw, 84px);
    align-items: start;
    padding: clamp(60px, 7vw, 92px) clamp(28px, 9vw, 170px) 38px;
}

body:not(.admin-page) .about-copy h2,
body:not(.admin-page) .team-heading h2 {
    margin: 0;
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.5vw, 74px);
    font-weight: 400;
    line-height: 1.04;
    text-wrap: balance;
}

body:not(.admin-page) .about-copy .summary-text {
    max-width: 620px;
    overflow: visible;
    padding-right: 0;
    margin-top: 0;
    color: #282d29;
    font-size: 17px;
    line-height: 1.65;
}

body:not(.admin-page) .about-map-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(430px, auto) auto;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(120, 51, 22, .12);
    border-radius: 14px;
    background: rgba(255, 250, 243, .86);
    box-shadow: 0 18px 38px rgba(52, 35, 22, .14);
}

body:not(.admin-page) .map-frame {
    min-width: 0;
    background: #eadfce;
}

body:not(.admin-page) .map-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 48%;
    filter: saturate(.72) contrast(.88) brightness(1.1);
}

body:not(.admin-page) .map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    border: 0;
}

body:not(.admin-page) .location-panel {
    padding: 34px 36px 38px;
    background: rgba(255, 250, 243, .9);
}

body:not(.admin-page) .location-panel p {
    margin: 0 0 14px;
    color: var(--terracotta-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

body:not(.admin-page) .location-panel h3 {
    margin: 0 0 28px;
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

body:not(.admin-page) .location-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body:not(.admin-page) .location-panel li {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 14px;
}

body:not(.admin-page) .location-panel li span {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--terracotta);
}

body:not(.admin-page) .location-panel svg,
body:not(.admin-page) .team-social svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body:not(.admin-page) .location-panel strong {
    color: #211d18;
    font-size: 14px;
}

body:not(.admin-page) .location-panel small {
    color: #4f554f;
    font-size: 13px;
    line-height: 1.35;
}

body:not(.admin-page) .team-band {
    display: grid;
    grid-template-columns: minmax(240px, .34fr) minmax(0, 1fr);
    gap: clamp(34px, 4vw, 70px);
    align-items: start;
    padding: 38px clamp(28px, 9vw, 170px) clamp(42px, 5vw, 62px);
    background: #f1e7dc;
}

body:not(.admin-page) .team-heading h2 {
    font-size: 25px;
    line-height: 1.08;
}

body:not(.admin-page) #team .team-heading h2 {
    font-size: 25px;
    line-height: 1.08;
}

body:not(.admin-page) .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 0;
}

body:not(.admin-page) .team-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 218px;
    border: 1px solid rgba(120, 51, 22, .16);
    border-radius: 8px;
    background: rgba(255, 250, 243, .78);
    box-shadow: 0 10px 24px rgba(52, 35, 22, .08);
}

body:not(.admin-page) .team-card img {
    width: 132px;
    height: 100%;
    min-height: 218px;
    object-fit: cover;
    object-position: center top;
}

body:not(.admin-page) .team-card div {
    display: block;
    padding: 26px 28px;
}

body:not(.admin-page) .team-card strong {
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.08;
}

body:not(.admin-page) .team-role {
    display: inline-block;
    margin: 8px 0 16px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--terracotta);
    color: var(--terracotta-dark);
    font-size: 15px;
}

body:not(.admin-page) .team-card p {
    margin: 0 0 20px;
    color: #353a36;
    font-size: 14px;
    line-height: 1.55;
}

body:not(.admin-page) .team-social {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: var(--terracotta);
}

body:not(.admin-page) .contact-strip {
    align-items: center;
    padding: clamp(48px, 6vw, 70px) clamp(28px, 9vw, 160px) 34px;
    background: radial-gradient(circle at 50% 0, rgba(58, 89, 69, .42), transparent 36%), #10241d;
}

body:not(.admin-page) .contact-strip > div:first-child {
    flex: 1 1 440px;
    max-width: 640px;
}

body:not(.admin-page) .contact-strip h2 {
    font-size: 25px;
    line-height: 1.08;
}

body:not(.admin-page) .contact-note {
    margin: 22px 0 0;
    color: rgba(255, 250, 243, .88);
    font-size: 17px;
}

body:not(.admin-page) .contact-actions {
    flex: 0 1 560px;
    min-width: min(520px, 100%);
    padding-left: clamp(22px, 3vw, 56px);
    border-left: 1px solid rgba(255, 250, 243, .24);
}

body:not(.admin-page) .contact-actions .btn,
body:not(.admin-page) .contact-actions .outline-btn {
    min-width: 230px;
    min-height: 68px;
    padding-inline: 22px;
    gap: 12px;
    border-radius: 4px;
    font-size: 16px;
}

body:not(.admin-page) .contact-actions .footer-icon {
    width: 30px;
    height: 30px;
    color: currentColor;
}

body:not(.admin-page) .site-footer {
    grid-template-columns: 1.3fr .72fr 1fr .72fr;
    padding: 0 clamp(28px, 11vw, 185px) 32px;
    background: #10241d;
}

body:not(.admin-page) .site-footer::before {
    content: "";
    grid-column: 1 / -1;
    height: 1px;
    margin-bottom: 24px;
    background: rgba(255, 250, 243, .22);
}

body:not(.admin-page) .footer-cell {
    min-height: 54px;
    padding: 0 30px;
    color: rgba(255, 250, 243, .92);
}

body:not(.admin-page) .footer-cell:first-of-type {
    padding-left: 0;
}

body:not(.admin-page) .footer-cell:last-child {
    padding-right: 0;
}

body:not(.admin-page) .social-links {
    justify-content: end;
}

body:not(.admin-page) .social-icon {
    width: 44px;
    height: 44px;
    border-color: rgba(255, 250, 243, .58);
}

body:not(.admin-page) .social-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1280px) {
    body:not(.admin-page) .about-intro,
    body:not(.admin-page) .team-band {
        padding-inline: clamp(28px, 5vw, 72px);
    }

    body:not(.admin-page) .contact-strip,
    body:not(.admin-page) .site-footer {
        padding-inline: clamp(28px, 5vw, 72px);
    }
}

@media (max-width: 1080px) {
    body:not(.admin-page) .about-intro,
    body:not(.admin-page) .team-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    body:not(.admin-page) .about-band {
        background: #f1e7dc;
    }

    body:not(.admin-page) .about-intro,
    body:not(.admin-page) .team-band {
        display: none;
    }

    body:not(.admin-page) .mobile-accordion {
        display: block;
    }

    body:not(.admin-page) .contact-actions {
        min-width: 0;
        padding-left: 0;
        border-left: 0;
    }

    body:not(.admin-page) .site-footer {
        display: none;
    }
}

@media (max-width: 760px) {
    body:not(.admin-page) .about-map-card,
    body:not(.admin-page) .team-list {
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .location-panel ul {
        grid-template-columns: 1fr;
    }

    body:not(.admin-page) .location-panel {
        padding: 28px;
    }

    body:not(.admin-page) .team-card {
        grid-template-columns: 118px 1fr;
    }

    body:not(.admin-page) .team-card img {
        width: 118px;
    }

    body:not(.admin-page) .team-card div {
        padding: 22px;
    }
}

body:not(.admin-page) .section-title {
    font-size: 16px;
    letter-spacing: 0;
}
