:root {
    color-scheme: dark;
    --bg: #0d0f10;
    --text: #f5f5f3;
    --muted: #c7c9c5;
    --accent: #c4ff19;
    --line: #333637;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; }
a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.masthead, .footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-block: 22px;
}
.brand {
    text-decoration: none;
    font-size: clamp(24px, 3.2vw, 41px);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: 1;
}
.brand span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 54px); }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--accent); }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--accent);
    color: #111600;
    font: inherit;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: #d5ff64; }
.outline {
    min-height: 44px;
    border-color: #a5a8a4;
    border-radius: 100px;
    background: transparent;
    color: var(--text);
}
.outline:hover { border-color: var(--accent); background: transparent; color: var(--accent); }
.hero { overflow: hidden; }
.hero-inner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 52vw, 720px);
    padding-block: 64px 92px;
}
.hero-copy { position: relative; max-width: 70%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.055em; }
h1 { font-size: clamp(42px, 6.6vw, 92px); font-weight: 850; }
h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 830; }
h3 { font-size: clamp(23px, 3vw, 37px); overflow-wrap: anywhere; }
.hero-copy p {
    max-width: 32ch;
    margin: 24px 0 34px;
    color: var(--muted);
    font-size: clamp(17px, 2.3vw, 27px);
    line-height: 1.33;
}
.hero-copy .button { font-size: clamp(17px, 2vw, 25px); }
.hero-art {
    position: absolute;
    z-index: -1;
    inset: -25px -12% -10px 34%;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 69% 61% at 58% 50%, #000 48%, transparent 89%);
}
.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    transform: translate(var(--motion-x, 0), var(--motion-y, 0)) scale(1.04);
    transition: transform .45s ease-out;
}
.services, .projects { padding-block: 24px 58px; }
.cards, .projects ul { padding: 0; margin: 28px 0 0; list-style: none; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(170px, 25vw, 290px);
    padding: 20px;
    overflow: hidden;
    border: 1px solid #575b5a;
    border-radius: 17px;
    background: linear-gradient(130deg, #131617, #0b0c0d);
}
.card-art {
    position: absolute;
    z-index: -1;
    inset: 0 0 34% 0;
    overflow: hidden;
    mask-image: linear-gradient(#000 70%, transparent);
}
.card-art i {
    position: absolute;
    width: 80%;
    height: 116%;
    left: 40%;
    top: 18%;
    border-radius: 50%;
    background: conic-gradient(from 30deg, #111, #707475, #ddd, #303334, #ddd, #141617, #707475, #111);
    mask-image: radial-gradient(ellipse, transparent 42%, #000 43%);
    transform: rotate(-30deg);
    box-shadow: inset 0 5px 6px #c4ff19;
}
.art-1 i {
    width: 65%;
    height: 27%;
    top: 28%;
    left: 34%;
    border-radius: 0;
    mask-image: none;
    transform: skew(-26deg) rotate(-12deg);
    background: linear-gradient(156deg, #e5e6e7, #343738 53%, #090a0b 90%);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 24px #434748, 0 26px #89ab26, 0 49px #2f3233, 0 51px #607324;
}
.art-2 i { transform: rotate(21deg) scaleY(.69); top: -2%; }
.projects li { border-top: 1px solid var(--line); }
.projects li:last-child { border-bottom: 1px solid var(--line); }
.projects li a { display: flex; justify-content: space-between; padding: 15px 0; text-decoration: none; }
.projects li a:hover { color: var(--accent); }
.contact { border-block: 1px solid var(--line); }
.contact-inner { padding-block: 38px; }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.contact form { display: grid; gap: 16px; max-width: 680px; margin-top: 30px; }
.line { display: grid; gap: 6px; }
.line input, .line textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #545858;
    border-radius: 9px;
    background: #171a1b;
    color: inherit;
    font: inherit;
}
.line textarea { resize: vertical; }
.consent { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: .92rem; }
.consent input { accent-color: var(--accent); }
.contact button { justify-self: start; }
.notice { padding: 10px 14px; border: 1px solid var(--accent); border-radius: 9px; }
.notice.error { border-color: #ff9d9d; color: #ffb7b7; }
.footer a:last-child { color: var(--muted); font-size: .9rem; }
.policy { min-height: 65vh; padding-block: 48px; }
.policy h1 { font-size: clamp(36px, 6vw, 65px); overflow-wrap: anywhere; }
.policy p { max-width: 75ch; margin: 24px 0; }

@media (max-width: 820px) {
    .wrap { width: calc(100% - 40px); }
    .masthead { gap: 14px; }
    .hero-inner { min-height: 480px; }
    .hero-art { inset-inline-start: 24%; opacity: .83; }
    .card { padding: 14px; }
}
@media (max-width: 600px) {
    .masthead { flex-wrap: wrap; padding-block: 17px; }
    .header-action { display: none; }
    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding-block: 25px 12px;
    }
    .hero-copy { order: -1; max-width: none; }
    .hero-copy p { margin-block: 18px 22px; }
    .hero-art {
        position: relative;
        inset: auto;
        width: calc(100% + 40px);
        margin: -6px -20px 0;
        aspect-ratio: 1.55;
        opacity: 1;
    }
    .hero-art img { object-position: center; }
    .services, .projects { padding-bottom: 38px; }
    .cards { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
    .card { min-height: 124px; align-items: center; }
    .card h3 { max-width: 60%; }
    .card-art { inset: 0 0 0 25%; mask-image: linear-gradient(90deg, transparent, #000 45%); }
    .contact-heading { align-items: flex-start; flex-direction: column; }
    .footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-art img { transition: none; transform: none; }
}

.extra-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    color: var(--muted);
}
.extra-services li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 10px .2em 0;
    border-radius: 50%;
    background: var(--accent);
}
