:root {
    --bg: #0b0a07;
    --bg-soft: #14110c;
    --text: #f6f1e9;
    --muted: #b7aa97;
    --accent-gold: #e6b65c;
    --accent-clay: #c1563e;
    --accent-jade: #2c7a6f;
    --card-border: rgba(230, 182, 92, 0.2);
    --card-bg: rgba(16, 13, 9, 0.72);
    --shadow: 0 12px 30px rgba(7, 5, 2, 0.35);
    --font-body: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-display: "Cormorant Garamond", "Times New Roman", serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(900px 540px at 12% -20%, rgba(230, 182, 92, 0.12), transparent 68%),
        linear-gradient(180deg, rgba(18, 15, 10, 0.92), rgba(11, 10, 7, 0.98)),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    min-height: 100%;
}

body {
    line-height: 1.6;
}

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 32px clamp(20px, 4vw, 64px) 100px;
    border-bottom: 1px solid rgba(230, 182, 92, 0.2);
    background:
        linear-gradient(160deg, rgba(193, 86, 62, 0.18), rgba(20, 16, 11, 0.9) 55%, rgba(44, 122, 111, 0.12));
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 1.08rem;
    color: var(--text);
    font-family: var(--font-display);
    text-transform: uppercase;
    text-shadow: 0 18px 32px rgba(7, 5, 2, 0.6);
}

.brand span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 18px;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    transition: all 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
    background: rgba(230, 182, 92, 0.12);
    box-shadow:
        0 0 0 1px rgba(230, 182, 92, 0.22),
        0 12px 24px rgba(7, 5, 2, 0.28);
}

.hero-content {
    max-width: 760px;
    margin-top: clamp(40px, 7vw, 90px);
    position: relative;
    z-index: 2;
    animation: riseIn 0.9s ease both;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--accent-gold);
    margin: 0 0 12px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.5vw, 5.1rem);
    line-height: 1;
    margin: 0 0 20px;
    letter-spacing: 0.04em;
    text-shadow: 0 18px 30px rgba(7, 5, 2, 0.45);
}

.lead {
    font-size: clamp(1.02rem, 2.2vw, 1.3rem);
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-clay) 55%, var(--accent-gold));
    color: #120c06;
    box-shadow:
        0 12px 28px rgba(7, 5, 2, 0.35),
        0 0 20px rgba(230, 182, 92, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow:
        0 18px 45px rgba(7, 5, 2, 0.55),
        0 0 36px rgba(230, 182, 92, 0.35);
}

.btn-ghost {
    color: var(--text);
    border-color: rgba(230, 182, 92, 0.4);
    background: rgba(20, 16, 11, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(230, 182, 92, 0.1),
        0 10px 24px rgba(7, 5, 2, 0.22);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: rgba(230, 182, 92, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(230, 182, 92, 0.2),
        0 16px 40px rgba(7, 5, 2, 0.35);
}

.hero-glow {
    position: absolute;
    filter: blur(30px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 182, 92, 0.45), transparent 65%);
    top: -160px;
    right: -80px;
    animation: floatGlow 16s ease-in-out infinite;
}

.hero-glow-2 {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 122, 111, 0.4), transparent 70%);
    bottom: -180px;
    left: -120px;
    animation: floatGlow 18s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -12px, 0) scale(1.04);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes softIn {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

main {
    flex: 1;
    padding: 40px clamp(20px, 4vw, 64px) 80px;
}

.section {
    margin: 0 auto 72px;
    max-width: 1200px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--accent-gold);
}

.section h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.section-header p {
    margin: 0;
    color: var(--muted);
}

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

.story-card {
    grid-template-columns: 1fr;
    min-height: 220px;
}

.story-card h3 {
    margin: 0 0 8px;
}

.artist-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
}

.artist-card-feature {
    grid-column: 1 / -1;
}

.artist-card::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -30%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(230, 182, 92, 0.18), transparent 70%);
    z-index: -1;
    transform: rotate(12deg);
}

.artist-card:nth-child(2)::before {
    inset: auto -30% -55% auto;
    background: radial-gradient(circle, rgba(44, 122, 111, 0.2), transparent 72%);
    transform: rotate(-8deg);
}

.artist-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 180px;
    border: 1px solid rgba(230, 182, 92, 0.16);
    box-shadow: 0 12px 24px rgba(7, 5, 2, 0.32);
}

.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artist-photo-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(230, 182, 92, 0.4), rgba(16, 13, 9, 0.95));
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.artist-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artist-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: #120c06;
    background: linear-gradient(120deg, var(--accent-gold), var(--accent-clay));
    margin-bottom: 10px;
}

.artist-handle {
    margin: 0 0 6px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.68rem;
    color: var(--accent-gold);
}

.artist-card h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.artist-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags li {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(230, 182, 92, 0.25);
    background: rgba(18, 14, 10, 0.8);
    color: var(--text);
    font-weight: 600;
    font-size: 0.82rem;
}

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

.tattoo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(230, 182, 92, 0.2);
    background: rgba(16, 13, 9, 0.72);
    box-shadow: 0 14px 32px rgba(7, 5, 2, 0.35);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
}

.tattoo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(11, 10, 7, 0.7), rgba(11, 10, 7, 0.18) 60%, rgba(11, 10, 7, 0.85));
    z-index: 1;
}

.tattoo-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(8%) contrast(112%);
}

.tattoo-card figcaption {
    position: relative;
    z-index: 2;
    padding: 18px;
}

.tattoo-meta {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--muted);
}

.tattoo-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-auto-rows: 160px;
    gap: 14px;
    grid-auto-flow: dense;
}

.process-grid .gallery-item {
    min-height: 180px;
}

.gallery-item {
    position: relative;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(16, 13, 9, 0.72);
    border: 1px solid rgba(230, 182, 92, 0.22);
    box-shadow: 0 18px 40px rgba(7, 5, 2, 0.45);
    overflow: hidden;
    isolation: isolate;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(11, 10, 7, 0.82), transparent 60%);
    z-index: 0;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: -30% auto auto -30%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(230, 182, 92, 0.2), transparent 70%);
    opacity: 0.3;
    z-index: 0;
    transform: rotate(12deg);
}

.gallery-meta {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.gallery-item h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.span-2 {
    grid-column: span 2;
}

.span-row-2 {
    grid-row: span 2;
    min-height: 320px;
}

.tone-a {
    background: linear-gradient(145deg, rgba(193, 86, 62, 0.55), rgba(16, 13, 9, 0.94));
}

.tone-b {
    background: linear-gradient(155deg, rgba(230, 182, 92, 0.5), rgba(16, 13, 9, 0.92));
}

.tone-c {
    background: linear-gradient(165deg, rgba(44, 122, 111, 0.45), rgba(16, 13, 9, 0.94));
}

.tone-d {
    background: linear-gradient(150deg, rgba(193, 86, 62, 0.55), rgba(16, 13, 9, 0.92));
}

.tone-e {
    background: linear-gradient(150deg, rgba(230, 182, 92, 0.45), rgba(16, 13, 9, 0.92));
}

.tone-f {
    background: linear-gradient(150deg, rgba(44, 122, 111, 0.5), rgba(16, 13, 9, 0.92));
}

.tone-g {
    background: linear-gradient(160deg, rgba(193, 86, 62, 0.45), rgba(16, 13, 9, 0.92));
}

.tone-h {
    background: linear-gradient(165deg, rgba(230, 182, 92, 0.55), rgba(16, 13, 9, 0.92));
}

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

.contact-card {
    border-radius: 18px;
    border: 1px solid rgba(230, 182, 92, 0.2);
    background: rgba(16, 13, 9, 0.85);
    padding: 20px;
    box-shadow: var(--shadow);
}

.contact-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.contact-line {
    margin: 0 0 8px;
    color: var(--muted);
}

.contact-line a {
    color: var(--text);
}

.map-frame {
    border: 1px solid rgba(230, 182, 92, 0.35);
    border-radius: 14px;
    overflow: hidden;
    min-height: 240px;
    background: radial-gradient(circle, rgba(230, 182, 92, 0.12), transparent 60%);
    position: relative;
}

.map-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(230, 182, 92, 0.18);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 0;
    display: block;
    filter: grayscale(60%) contrast(115%);
}

.cta-card {
    position: relative;
    padding: clamp(24px, 5vw, 48px);
    border-radius: 24px;
    border: 1px solid rgba(230, 182, 92, 0.28);
    background:
        radial-gradient(600px 260px at -10% 0%, rgba(230, 182, 92, 0.16), transparent 70%),
        radial-gradient(600px 300px at 110% 120%, rgba(193, 86, 62, 0.18), transparent 72%),
        rgba(16, 13, 9, 0.92);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cta-card h2 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-card p {
    margin: 0 0 18px;
    color: var(--muted);
    max-width: 70ch;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer {
    padding: 24px clamp(20px, 4vw, 64px) 36px;
    border-top: 1px solid rgba(230, 182, 92, 0.2);
    color: var(--muted);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 980px) {
    .artist-grid,
    .gallery,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .artist-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    main {
        padding-top: 28px;
    }

    .tattoo-card {
        aspect-ratio: 3 / 4;
    }
}
