﻿:root {
    --bg: #f4eee3;
    --surface: #fbf7f0;
    --surface-strong: #efe2cf;
    --ink: #1f1f1b;
    --muted: #5f584f;
    --line: rgba(48, 41, 31, 0.12);
    --accent: #9a5a2d;
    --accent-soft: #c98e5a;
    --deep: #22291f;
    --hero-shadow: 0 24px 60px rgba(34, 41, 31, 0.14);
    --content-width: min(1180px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--ink);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(201, 142, 90, 0.18), transparent 34%),
        linear-gradient(180deg, #f9f4eb 0%, #f1e9db 100%);
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: var(--content-width);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(251, 247, 240, 0.84);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(48, 41, 31, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(31, 31, 27, 0.08);
}

.brand-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 190px;
    flex-shrink: 0;
}

.brand {
    font-size: 0.8rem;
    letter-spacing: 0.26em;
    font-weight: 700;
    color: var(--deep);
}

.brand-sub {
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.12em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    min-height: 44px;
}

.site-nav a {
    position: relative;
    text-decoration: none;
    color: var(--muted);
    line-height: 1;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
}

.hero {
    min-height: clamp(760px, 88svh, 920px);
    padding: 110px calc((100vw - var(--content-width)) / 2) 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.7fr);
    gap: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 7s ease;
    filter: saturate(0.74) brightness(0.52);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(24, 29, 22, 0.92) 8%, rgba(24, 29, 22, 0.74) 44%, rgba(24, 29, 22, 0.5) 100%),
        linear-gradient(180deg, rgba(24, 29, 22, 0.18) 0%, rgba(24, 29, 22, 0.6) 100%);
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(34, 41, 31, 0.58), rgba(34, 41, 31, 0.22)),
        linear-gradient(180deg, transparent 20%, rgba(201, 142, 90, 0.16) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    width: 44vw;
    height: 44vw;
    min-width: 520px;
    min-height: 520px;
    right: -8vw;
    top: 12vh;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(201, 142, 90, 0.34) 0%, rgba(201, 142, 90, 0.08) 36%, transparent 68%);
    filter: blur(18px);
    opacity: 0.8;
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 80%);
    animation: gridDrift 18s linear infinite;
}

.hero-inner,
.hero-panel {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 720px;
    animation: rise 0.9s ease both;
}

.eyebrow {
    margin: 0 0 18px;
    font-size: 0.84rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(251, 247, 240, 0.72);
}

.hero h1,
.section-head h2,
.contact-panel h2 {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
}

.hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 1.06;
    color: #fff7eb;
}

.hero-lead {
    max-width: 630px;
    margin: 18px 0 0;
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    line-height: 1.9;
    color: rgba(255, 247, 235, 0.82);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin-top: 28px;
}

.hero-metrics > div {
    padding: 16px 18px;
    border: 1px solid rgba(255, 247, 235, 0.14);
    border-radius: 18px;
    background: rgba(255, 247, 235, 0.05);
    backdrop-filter: blur(8px);
}

.hero-metrics span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 247, 235, 0.58);
}

.hero-metrics strong {
    display: block;
    color: #fff7eb;
    font-size: 1rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-solid {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    color: #fff9f2;
}

.button-ghost {
    border: 1px solid rgba(255, 247, 235, 0.3);
    color: #fff7eb;
}

.button-ghost:hover {
    background: rgba(255, 247, 235, 0.08);
}

.button-dark {
    color: var(--deep);
    border-color: rgba(34, 41, 31, 0.18);
}

.button-dark:hover {
    background: rgba(34, 41, 31, 0.06);
}

.hero-panel {
    align-self: end;
    display: grid;
    gap: 1px;
    background: rgba(255, 247, 235, 0.16);
    border: 1px solid rgba(255, 247, 235, 0.18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--hero-shadow);
    animation: rise 1.1s ease both;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 247, 235, 0.12) 50%, transparent 70%);
    transform: translateX(-55%);
    animation: panelSweep 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-panel > div {
    padding: 30px;
    background: rgba(16, 20, 16, 0.24);
}

.panel-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 247, 235, 0.6);
}

.hero-panel strong {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.35;
    color: #fff7eb;
}

.intro-strip {
    width: var(--content-width);
    margin: -34px auto 0;
    padding: 18px 24px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 247, 240, 0.94);
    box-shadow: 0 18px 40px rgba(31, 31, 27, 0.06);
}

.intro-strip p {
    margin: 0;
    color: var(--muted);
    position: relative;
    padding-left: 18px;
}

.intro-strip p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    box-shadow: 0 0 0 10px rgba(154, 90, 45, 0.08);
}

.section {
    width: var(--content-width);
    margin: 0 auto;
    padding: 108px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-head .eyebrow {
    color: var(--accent);
}

.section-head h2,
.contact-panel h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.16;
}

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

.section-note {
    max-width: 420px;
    margin: 0;
    line-height: 1.8;
    color: var(--muted);
}

.overview-layout,
.strength-grid,
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 36px;
}

.overview-copy,
.strength-copy {
    display: grid;
    gap: 20px;
}

.overview-copy p,
.strength-copy p,
.contact-panel p,
.business-list p,
.timeline-item p {
    margin: 0;
    line-height: 1.95;
    color: var(--muted);
}

.overview-points {
    display: grid;
    gap: 16px;
}

.point,
.strength-facts > div {
    padding: 22px 22px 22px 24px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
}

.point span,
.business-index,
.timeline-item span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.business {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.business-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.business-list article {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.projects {
    border-bottom: 1px solid var(--line);
}

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

.project-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(48, 41, 31, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(31, 31, 27, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(154, 90, 45, 0.28);
    box-shadow: 0 24px 56px rgba(31, 31, 27, 0.14);
}

.project-card-large {
    grid-column: span 8;
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.project-card-large img {
    height: 320px;
}

.project-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.02);
}

.project-copy {
    display: grid;
    gap: 10px;
    padding: 20px 20px 24px;
}

.project-tag {
    display: inline-flex;
    width: fit-content;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(154, 90, 45, 0.1);
    color: var(--accent);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.project-copy h3 {
    margin: 0;
    font-size: 1.28rem;
}

.project-copy p {
    margin: 0;
    line-height: 1.85;
    color: var(--muted);
}

.business-index {
    margin: 0;
    font-size: 2rem;
    font-family: 'Noto Serif SC', serif;
}

.business-list h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.strength-grid {
    align-items: start;
}

.strength-facts {
    display: grid;
    gap: 14px;
}

.strength-facts strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.timeline-section {
    border-top: 1px solid var(--line);
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.timeline-item:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-panel {
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(34, 41, 31, 0.96), rgba(34, 41, 31, 0.84));
    color: #fff7eb;
    box-shadow: var(--hero-shadow);
}

.map-panel {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.map-copy {
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(48, 41, 31, 0.08);
    box-shadow: 0 14px 34px rgba(31, 31, 27, 0.06);
}

.map-copy .eyebrow {
    color: var(--accent);
}

.map-copy h2 {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
}

.map-copy p {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.85;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.map-address-card {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(34, 41, 31, 0.06);
    border: 1px solid rgba(48, 41, 31, 0.08);
}

.map-address-card strong,
.map-address-card span {
    display: block;
}

.map-address-card strong {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.98rem;
}

.map-address-card span {
    color: var(--muted);
    line-height: 1.8;
}

.map-frame {
    min-height: 420px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(48, 41, 31, 0.08);
    box-shadow: 0 14px 34px rgba(31, 31, 27, 0.06);
    background:
        radial-gradient(circle at top left, rgba(201, 142, 90, 0.24), transparent 36%),
        linear-gradient(180deg, #f3ebdf 0%, #ece1d0 100%);
}

.map-visual {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 100%;
    overflow: hidden;
}

.map-grid-lines,
.map-road,
.map-block,
.map-route,
.map-pin {
    position: absolute;
}

.map-grid-lines {
    inset: 0;
    background-image:
        linear-gradient(rgba(84, 71, 49, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(84, 71, 49, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.5;
}

.map-road {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(84, 71, 49, 0.05);
}

.map-road::after {
    content: '';
    position: absolute;
    inset: 50% 18px auto 18px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(84, 71, 49, 0.24) 0 14px, transparent 14px 24px);
    transform: translateY(-50%);
}

.map-road-a {
    width: 128%;
    height: 42px;
    left: -12%;
    top: 43%;
    transform: rotate(-7deg);
}

.map-road-b {
    width: 46px;
    height: 126%;
    left: 63%;
    top: -14%;
    transform: rotate(6deg);
}

.map-road-c {
    width: 86%;
    height: 36px;
    left: 10%;
    top: 72%;
    transform: rotate(11deg);
}

.map-block {
    border-radius: 20px;
    border: 1px solid rgba(84, 71, 49, 0.08);
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 24px rgba(84, 71, 49, 0.06);
}

.map-block-a {
    width: 180px;
    height: 110px;
    left: 9%;
    top: 15%;
}

.map-block-b {
    width: 150px;
    height: 94px;
    right: 12%;
    top: 18%;
}

.map-block-c {
    width: 208px;
    height: 120px;
    left: 18%;
    bottom: 10%;
}

.map-block-d {
    width: 162px;
    height: 102px;
    right: 18%;
    bottom: 14%;
}

.map-route {
    left: 23%;
    top: 54%;
    width: 38%;
    height: 22%;
    border-top: 3px solid rgba(154, 90, 45, 0.75);
    border-right: 3px solid rgba(154, 90, 45, 0.75);
    border-radius: 0 26px 0 0;
}

.map-stop {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 8px rgba(154, 90, 45, 0.12);
}

.map-stop-start {
    left: -7px;
    top: -8px;
}

.map-stop-end {
    right: -7px;
    bottom: -7px;
}

.map-pin {
    right: 13%;
    top: 30%;
    display: flex;
    align-items: center;
    gap: 14px;
}

.map-pin-dot {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    box-shadow: 0 14px 30px rgba(154, 90, 45, 0.28);
}

.map-pin-dot::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff7eb;
}

.map-pin-label {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(34, 41, 31, 0.9);
    color: #fff7eb;
    box-shadow: 0 16px 34px rgba(31, 31, 27, 0.16);
}

.map-pin-label strong,
.map-pin-label span {
    display: block;
}

.map-pin-label strong {
    font-size: 1rem;
}

.map-pin-label span {
    margin-top: 6px;
    color: rgba(255, 247, 235, 0.72);
    font-size: 0.9rem;
}

.contact-panel .eyebrow,
.contact-panel p,
.contact-meta span {
    color: rgba(255, 247, 235, 0.78);
}

.contact-meta a {
    color: inherit;
    text-decoration: none;
}

.contact-meta a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-meta {
    display: grid;
    gap: 16px;
}

.contact-meta p {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 247, 235, 0.14);
}

.contact-meta strong {
    color: #fff7eb;
}

.site-footer {
    width: var(--content-width);
    margin: 0 auto;
    padding: 0 0 48px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-footer p {
    margin: 0;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease var(--delay, 0ms),
        transform 0.7s ease var(--delay, 0ms);
}

.js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gridDrift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-36px, 24px, 0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.95;
    }
}

@keyframes panelSweep {
    0%, 100% {
        transform: translateX(-55%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    60% {
        transform: translateX(55%);
        opacity: 1;
    }

    80% {
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .hero,
    .overview-layout,
    .strength-grid,
    .contact-panel,
    .split-head,
    .map-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 116px;
        align-items: center;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .site-header {
        gap: 14px;
    }

    .site-nav {
        gap: 18px;
        font-size: 0.9rem;
    }

    .project-card,
    .project-card-large {
        grid-column: span 6;
    }

    .hero h1 {
        max-width: none;
    }

    .split-head {
        align-items: start;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    :root {
        --content-width: min(100vw - 28px, 1000px);
    }

    .site-header {
        padding: 12px 14px;
    }

    .brand-block {
        min-width: auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
        background: rgba(251, 247, 240, 0.96);
        border: 1px solid var(--line);
        border-radius: 18px;
    }

    .site-nav a::after {
        bottom: -6px;
    }

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

    .hero {
        min-height: auto;
        padding-bottom: 32px;
    }

    .hero-panel > div,
    .contact-panel {
        padding: 24px;
    }

    .map-copy {
        padding: 24px;
    }

    .map-frame,
    .map-visual {
        min-height: 340px;
    }

    .map-pin {
        right: 8%;
        top: 32%;
        max-width: calc(100% - 32px);
    }

    .business-list article,
    .timeline-item {
        grid-template-columns: 1fr;
    }

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

    .project-card,
    .project-card-large {
        grid-column: auto;
    }

    .business-index,
    .timeline-item span {
        margin-bottom: 0;
    }

    .section {
        padding: 84px 0;
    }
}
