:root {
    --ink: #12151a;
    --ink-soft: #3a424c;
    --mist: #e8ecef;
    --paper: #f5f7f8;
    --slate: #2f3d46;
    --slate-soft: #4a5c66;
    --amber: #c9952a;
    --amber-deep: #9a6f16;
    --amber-glow: rgba(201, 149, 42, 0.28);
    --line: rgba(18, 21, 26, 0.12);
    --shadow: 0 28px 64px rgba(18, 21, 26, 0.16);
    --radius: 4px;
    --font-display: "Syne", "Avenir Next", sans-serif;
    --font-body: "Figtree", "Segoe UI", sans-serif;
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--amber-deep);
}

.container {
    width: min(1100px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-deep);
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2.15rem, 5.2vw, 3.55rem);
}

h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
    max-width: 18ch;
}

.lead {
    max-width: 58ch;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(18, 21, 26, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
    width: min(1100px, calc(100% - 2.5rem));
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-brand img {
    width: 148px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.site-nav a {
    color: rgba(245, 247, 248, 0.86);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
}

.site-nav a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(245, 247, 248, 0.32);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--mist);
    transition: transform 0.3s var(--ease);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.btn--primary {
    background: var(--amber);
    color: #14110a;
    box-shadow: 0 12px 30px var(--amber-glow);
}

.btn--primary:hover {
    background: #dbab3d;
    color: #14110a;
}

.btn--ghost {
    background: transparent;
    border-color: rgba(245, 247, 248, 0.45);
    color: var(--mist);
}

.btn--ghost:hover {
    background: rgba(245, 247, 248, 0.08);
    color: #fff;
}

.btn--small {
    min-height: 40px;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
}

.btn--block {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--mist);
    background: var(--ink);
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__glow {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(ellipse at 18% 20%, rgba(201, 149, 42, 0.28), transparent 42%),
        radial-gradient(ellipse at 82% 70%, rgba(70, 110, 125, 0.28), transparent 48%),
        linear-gradient(160deg, #0d1014 0%, #1a2229 48%, #10151a 100%);
    animation: heroGlow 18s ease-in-out infinite alternate;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 247, 248, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 247, 248, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75), transparent 78%);
    animation: heroGrid 26s linear infinite;
}

.hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 21, 26, 0.35) 0%, rgba(18, 21, 26, 0.55) 50%, rgba(18, 21, 26, 0.88) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(780px, calc(100% - 2.5rem));
    text-align: center;
    padding: calc(var(--header-h) + 2rem) 0 5rem;
    animation: heroRise 1.05s var(--ease) both;
}

.hero__mark {
    width: min(240px, 58vw);
    margin: 0 auto 1.85rem;
}

.hero__content p {
    margin: 0 auto 2rem;
    max-width: 44ch;
    color: rgba(232, 236, 239, 0.84);
    font-size: 1.1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    width: 24px;
    height: 38px;
    margin-left: -12px;
    border: 1px solid rgba(232, 236, 239, 0.4);
    border-radius: 999px;
    text-decoration: none;
}

.hero__scroll span {
    display: block;
    width: 4px;
    height: 8px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: var(--mist);
    animation: scrollPulse 1.8s var(--ease) infinite;
}

@keyframes heroGlow {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.06) translate3d(1.5%, -1%, 0); }
}

@keyframes heroGrid {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-36px, -36px, 0); }
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@keyframes scrollPulse {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

/* Sections */
.section {
    padding: clamp(4.5rem, 9vw, 7.25rem) 0;
}

.section--services {
    background:
        linear-gradient(135deg, rgba(201, 149, 42, 0.08), transparent 42%),
        var(--paper);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    list-style: none;
    margin: 2.25rem 0 0;
    padding: 0;
}

.service-list li {
    position: relative;
    padding: 0.95rem 1rem 0.95rem 2.35rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--slate);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--amber);
}

.section--tour {
    background: var(--ink);
    color: var(--mist);
    overflow: hidden;
}

.section--tour .eyebrow {
    color: var(--amber);
}

.section--tour .lead {
    color: rgba(232, 236, 239, 0.8);
    margin-bottom: 1.75rem;
}

.tour-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.tour-layout__visual {
    display: grid;
    place-items: center;
    min-height: 260px;
}

.tour-orb {
    position: relative;
    width: min(240px, 62vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.tour-orb__ring {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(201, 149, 42, 0.45);
    border-radius: 50%;
    animation: orbPulse 4.5s var(--ease) infinite;
}

.tour-orb__ring--delay {
    inset: 0;
    border-color: rgba(232, 236, 239, 0.18);
    animation-delay: 1.2s;
}

.tour-orb__core {
    position: relative;
    z-index: 1;
    width: 58%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(201, 149, 42, 0.35), rgba(18, 21, 26, 0.2) 60%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(245, 247, 248, 0.16);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.06); opacity: 1; }
}

.section--portfolio {
    background: var(--mist);
}

.section__head {
    margin-bottom: 2.35rem;
}

.section__head .lead {
    margin-top: 0.85rem;
}

.portfolio-empty {
    padding: 2.5rem 1.5rem;
    border: 1px dashed rgba(18, 21, 26, 0.22);
    border-radius: var(--radius);
    text-align: center;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.45);
}

.portfolio-empty p {
    margin: 0;
    max-width: 42ch;
    margin-inline: auto;
}

.section--collab {
    background:
        radial-gradient(circle at 12% 30%, rgba(201, 149, 42, 0.1), transparent 40%),
        var(--paper);
}

.section--contact {
    background: linear-gradient(165deg, #151a20 0%, #1c262e 55%, #12171c 100%);
    color: var(--mist);
}

.section--contact .eyebrow {
    color: var(--amber);
}

.section--contact .lead {
    color: rgba(232, 236, 239, 0.8);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-email {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 149, 42, 0.65);
}

.contact-email:hover {
    color: var(--amber);
}

.company-details {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    color: rgba(232, 236, 239, 0.72);
}

.company-details li + li {
    margin-top: 0.4rem;
}

/* Gallery + testimonials */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem 1rem 0.9rem;
    background: linear-gradient(transparent, rgba(18, 21, 26, 0.86));
    color: var(--mist);
    font-size: 0.92rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.testimonials--spaced {
    margin-top: 2rem;
}

.testimonial {
    margin: 0;
    padding: 1.5rem 1.4rem;
    background: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--amber);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.testimonial p {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.4;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--amber-deep);
}

/* Form */
.contact-form-wrap {
    background: rgba(245, 247, 248, 0.05);
    border: 1px solid rgba(245, 247, 248, 0.12);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--radius);
}

.contact-form {
    display: grid;
    gap: 0.95rem;
}

.form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.form-tab {
    min-height: 42px;
    border: 1px solid rgba(245, 247, 248, 0.22);
    background: transparent;
    color: rgba(245, 247, 248, 0.78);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.form-tab.is-active {
    background: var(--amber);
    border-color: var(--amber);
    color: #14110a;
}

.contact-form label {
    display: grid;
    gap: 0.4rem;
}

.contact-form label span {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(232, 236, 239, 0.68);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(245, 247, 248, 0.18);
    background: rgba(18, 21, 26, 0.35);
    color: var(--mist);
    border-radius: var(--radius);
    padding: 0.85rem 0.95rem;
    font: inherit;
    outline: none;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(232, 236, 239, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--amber);
    background: rgba(18, 21, 26, 0.55);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.alert {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.alert--success {
    background: rgba(70, 130, 80, 0.2);
    border: 1px solid rgba(120, 180, 130, 0.45);
    color: #d7efd8;
}

.alert--error {
    background: rgba(140, 50, 40, 0.25);
    border: 1px solid rgba(220, 120, 100, 0.45);
    color: #ffd7cf;
}

.alert--error p {
    margin: 0;
}

.alert--error p + p {
    margin-top: 0.35rem;
}

/* Footer */
.site-footer {
    background: #fff;
    color: var(--ink-soft);
    padding: 3.25rem 0 2.35rem;
}

.footer-meta {
    text-align: center;
}

.footer-brand {
    width: 150px;
    margin: 0 auto 1rem;
}

.footer-meta p {
    margin: 0.3rem 0;
    font-size: 0.94rem;
}

.footer-meta a {
    color: var(--slate);
    font-weight: 600;
    text-decoration: none;
}

.footer-meta a:hover {
    color: var(--amber-deep);
}

.footer-copy {
    margin-top: 1.1rem !important;
    opacity: 0.7;
    font-size: 0.86rem !important;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Responsive */
@media (max-width: 900px) {
    .gallery-grid,
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid,
    .testimonials,
    .tour-layout {
        grid-template-columns: 1fr;
    }

    .tour-layout__visual {
        order: -1;
        min-height: 200px;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.25rem 1.25rem;
        background: rgba(18, 21, 26, 0.97);
        border-bottom: 1px solid rgba(245, 247, 248, 0.08);
    }

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

    .site-nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(245, 247, 248, 0.08);
    }

    .site-nav .btn {
        margin-top: 0.75rem;
        justify-content: center;
    }

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

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }
}

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

    .hero__glow,
    .hero__grid,
    .hero__content,
    .hero__scroll span,
    .tour-orb__ring,
    .reveal,
    .btn,
    .gallery-item img {
        animation: none !important;
        transition: none !important;
    }

    .reveal,
    .hero__content {
        opacity: 1;
        transform: none;
    }
}
