:root {
    --ink: #f6f1e8;
    --muted: rgba(246, 241, 232, 0.7);
    --paper: #101214;
    --ivory: #181a1d;
    --gold: #d4af62;
    --gold-dark: #f0c978;
    --steel: #2b2e32;
    --charcoal: #16181b;
    --charcoal-soft: #24262a;
    --line: rgba(212, 175, 98, 0.18);
    --shadow: 0 22px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Poppins, Arial, sans-serif;
    overflow-x: hidden;
}

main {
    width: 100%;
    margin: 0;
    background: var(--paper);
    box-shadow: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 14px;
    left: 50%;
    right: auto;
    width: min(960px, calc(100% - 96px));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
    margin: 0;
    padding: 15px 22px;
    border: 2px solid rgba(212, 175, 98, 0.32);
    border-radius: 32px;
    color: white;
    background:
        linear-gradient(135deg, rgba(38, 40, 44, 0.92), rgba(16, 18, 20, 0.86)),
        rgba(16, 18, 20, 0.88);
    box-shadow: 0 20px 66px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 240, 189, 0.08);
    transform: translateX(-50%);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 900;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(212, 175, 98, 0.6);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff0bd, var(--gold) 52%, #8c642d);
    color: #10150f;
    font-weight: 900;
}

.main-nav {
    justify-self: end;
    display: flex;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 800;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 16px;
    color: rgba(255, 244, 215, 0.84);
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
    color: #fff4d7;
    background: rgba(212, 175, 98, 0.16);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 98, 0.34);
    border-radius: 12px;
    color: #fff4d7;
    background: rgba(43, 46, 50, 0.56);
    font: inherit;
    cursor: pointer;
}

.solid-btn,
.glass-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.solid-btn {
    border: 1px solid rgba(255, 222, 154, 0.5);
    background: linear-gradient(135deg, #fff0bd, var(--gold) 48%, #9a7135);
    color: #11170f;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.glass-btn {
    border: 1px solid rgba(212, 175, 98, 0.38);
    color: #fff4d7;
    background: rgba(43, 46, 50, 0.48);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.solid-btn:hover,
.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.hero {
    position: relative;
    min-height: 100vh;
    --hero-overlay-opacity: 1;
    --hero-photo-scale: 1.035;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background: #101214;
    isolation: isolate;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg {
    object-fit: cover;
    object-position: center 46%;
    filter: brightness(0.78) contrast(1.12) saturate(0.9) sepia(0.08);
    transform: scale(var(--hero-photo-scale));
    transition: transform 160ms linear;
}

.hero-overlay {
    opacity: var(--hero-overlay-opacity);
    background:
        radial-gradient(circle at 78% 18%, rgba(212, 175, 98, 0.2), transparent 30%),
        linear-gradient(180deg, rgba(16, 18, 20, 0.72), rgba(38, 40, 44, 0.38) 34%, rgba(12, 13, 15, 0.62)),
        linear-gradient(90deg, rgba(16, 18, 20, 0.92), rgba(34, 36, 40, 0.55) 46%, rgba(34, 36, 40, 0.08));
    transition: opacity 160ms linear;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    z-index: 1;
    background: linear-gradient(180deg, transparent, var(--paper));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 36px));
    margin-left: clamp(32px, 10vw, 150px);
    padding-top: 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
}

.eyebrow.dark {
    color: var(--gold-dark);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    margin-bottom: 18px;
    font-family: Pacifico, cursive;
    font-weight: 400;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 18px 52px rgba(0, 0, 0, 0.62);
}

.hero-copy {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.24rem);
    line-height: 1.7;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.52);
}

.hero-hours {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin: 0 0 22px;
    padding: 0 16px;
    border: 1px solid rgba(212, 175, 98, 0.42);
    border-radius: 999px;
    color: #fff4d7;
    background: rgba(22, 24, 27, 0.68);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
    font-size: 0.95rem;
    font-weight: 900;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section {
    padding: clamp(72px, 8vw, 108px) clamp(32px, 10vw, 150px);
}

.split {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 98, 0.16), transparent 34%),
        linear-gradient(135deg, var(--charcoal), var(--charcoal-soft));
}

.split h2,
.section-head h2,
.contact h2 {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 4vw, 3.4rem);
    line-height: 1;
}

.split p,
.contact p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.rich-copy {
    display: grid;
    gap: 22px;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 14px 16px 14px 44px;
    border: 1px solid rgba(212, 175, 98, 0.16);
    border-radius: 14px;
    background: rgba(248, 240, 220, 0.045);
    color: var(--ink);
    font-weight: 800;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(212, 175, 98, 0.18);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.services {
    background:
        radial-gradient(circle at 18% 0%, rgba(212, 175, 98, 0.12), transparent 30%),
        linear-gradient(180deg, #101214, #202328 58%, #101214);
    color: var(--ink);
    text-align: center;
}

.services .section-head {
    display: grid;
    justify-content: center;
    justify-items: center;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 30px;
}

.services .section-head h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    text-transform: uppercase;
}

.services-intro {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 250px;
    padding: 42px 22px 30px;
    border: 1px solid rgba(212, 175, 98, 0.16);
    border-radius: 50px;
    background: linear-gradient(180deg, rgba(246, 241, 232, 0.07), rgba(36, 38, 42, 0.58));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before,
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 240ms ease, transform 240ms ease;
}

.service-card::before {
    background-image: var(--service-photo);
    background-position: var(--service-position, center);
    background-size: cover;
    transform: scale(1.06);
}

.service-card::after {
    background: linear-gradient(180deg, rgba(36, 38, 42, 0.14), rgba(16, 18, 20, 0.84));
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 98, 0.56);
    box-shadow: 0 30px 76px rgba(0, 0, 0, 0.34);
}

.service-card:hover::before,
.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    display: inline-grid;
    place-items: center;
    min-width: 58px;
    height: 58px;
    margin-bottom: 22px;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    border: 1px solid rgba(212, 175, 98, 0.5);
    border-radius: 999px;
    background: rgba(212, 175, 98, 0.12);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-card p {
    color: rgba(245, 240, 232, 0.68);
    font-size: 0.95rem;
    line-height: 1.65;
}

.service-card:hover,
.service-card:hover p,
.service-card:hover .service-icon {
    color: white;
}

.service-card:hover .service-icon {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.14);
}

.service-cut {
    --service-photo: url("hero-barbershop.png");
    --service-position: center;
}

.service-fade {
    --service-photo: url("hero-barbershop.png");
    --service-position: left center;
}

.service-beard {
    --service-photo: url("hero-barbershop.png");
    --service-position: right center;
}

.gallery {
    position: relative;
    background:
        radial-gradient(circle at 12% 20%, rgba(212, 175, 98, 0.16), transparent 28%),
        #16181b;
    overflow: hidden;
}

.gallery::before,
.gallery::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(180px, 18vw);
    pointer-events: none;
}

.gallery::before {
    left: 0;
    background: linear-gradient(90deg, #16181b, transparent);
}

.gallery::after {
    right: 0;
    background: linear-gradient(270deg, #16181b, transparent);
}

.gallery-head {
    position: relative;
    z-index: 3;
}

.gallery-showcase {
    position: relative;
    z-index: 1;
    width: calc(100% + clamp(64px, 20vw, 260px));
    margin: 14px calc(0px - clamp(32px, 10vw, 150px)) 0;
    padding: 24px 0 26px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: gallery-drift 24s linear infinite;
    will-change: transform;
}

.gallery-showcase:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-card {
    position: relative;
    flex: 0 0 clamp(250px, 28vw, 410px);
    height: clamp(330px, 42vw, 520px);
    margin: 0;
    border: 1px solid rgba(212, 175, 98, 0.18);
    border-radius: 38px;
    background: rgba(248, 240, 220, 0.06);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    transform: translateY(18px) scale(0.96);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery.in-view .gallery-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.gallery.in-view .gallery-card:nth-child(2) {
    transition-delay: 80ms;
}

.gallery.in-view .gallery-card:nth-child(3) {
    transition-delay: 160ms;
}

.gallery.in-view .gallery-card:nth-child(4) {
    transition-delay: 240ms;
}

.gallery.in-view .gallery-card:nth-child(5) {
    transition-delay: 320ms;
}

.gallery-card-large,
.gallery-card-tall {
    flex-basis: clamp(250px, 28vw, 410px);
    height: clamp(330px, 42vw, 520px);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.82) contrast(1.12) saturate(0.92);
    transform: scale(1.08);
    transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms ease;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 18%, rgba(212, 175, 98, 0.22), transparent 28%),
        linear-gradient(180deg, transparent 42%, rgba(16, 18, 20, 0.88));
}

.gallery-card figcaption {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 8px;
    color: white;
}

.gallery-card figcaption span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
}

.gallery-card figcaption strong {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    line-height: 1;
}

.gallery-card:hover {
    border-color: rgba(212, 175, 98, 0.48);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.46);
    transform: translateY(-8px) scale(1.01);
}

.gallery-card:hover img {
    filter: brightness(0.98) contrast(1.08) saturate(1.02);
    transform: scale(1.02);
}

@keyframes gallery-drift {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 11px));
    }
}

.contact {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 0.6fr);
    gap: 28px;
    background: linear-gradient(135deg, #101214, #24262a);
    color: white;
}

.contact p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.72);
}

.contact-list {
    display: grid;
    gap: 14px;
    align-content: start;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.maps-live-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 46px;
    margin-top: 8px;
    padding: 0 18px;
    border: 1px solid rgba(212, 175, 98, 0.5);
    border-radius: 999px;
    color: #111;
    background: linear-gradient(135deg, #fff0bd, var(--gold) 48%, #9a7135);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.maps-live-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.contact-map {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 360px;
    border: 1px solid rgba(212, 175, 98, 0.24);
    border-radius: 28px;
    filter: grayscale(0.42) invert(0.9) contrast(0.92) saturate(0.78) sepia(0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

@media (max-width: 1000px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    main {
        width: 100%;
    }

    .site-header {
        grid-template-columns: 1fr auto;
        top: 10px;
        left: 22px;
        right: 22px;
        width: calc(100% - 44px);
        padding: 12px 15px;
        border-radius: 26px;
        transform: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        grid-column: 1 / -1;
        display: none;
        justify-self: stretch;
        padding: 14px;
        border-radius: 22px;
        background: rgba(16, 18, 20, 0.92);
    }

    .main-nav.open {
        display: grid;
    }

    .split,
    .contact {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gallery-showcase {
        width: calc(100% + 40px);
        margin-right: -20px;
        margin-left: -20px;
    }

    .gallery-track {
        gap: 14px;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 86vh;
    }

    .section-head,
    .service-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gallery-card,
    .gallery-card-large {
        flex-basis: 78vw;
        height: 420px;
        border-radius: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        animation: none;
    }

    .gallery-card,
    .gallery-card img,
    .hero-bg,
    .hero-overlay {
        transition: none;
    }
}
