/* ============================================================
   main.css — Colours By Clifford L. Kelly
   ============================================================ */

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

:root {
    --color-bg:        #F8F4E3;
    --color-surface:   #FDFAF5;
    --color-primary:   #C4327A;
    --color-secondary: #F59B35;
    --color-accent:    #6EC6E0;
    --color-purple:    #7B2FBE;
    --color-lime:      #A8C832;
    --color-pink:      #E8408A;
    --color-text:      #1A1209;
    --color-muted:     #6B5B45;
    --color-border:    #E5DCC8;
    --color-gallery-bg:#2A2218;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', system-ui, sans-serif;

    --container: 1140px;
    --radius:    10px;
    --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


/* ── ARTISTIC ANIMATIONS ──────────────────────────── */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-10px) rotate(2deg); }
    66%       { transform: translateY(-5px) rotate(-1deg); }
}
@keyframes float-med {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-14px) scale(1.04); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    40%       { transform: translateY(-8px) rotate(-3deg); }
    80%       { transform: translateY(-4px) rotate(2deg); }
}
@keyframes drip {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    60%  { opacity: 1; }
    100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
@keyframes splash-in {
    0%   { opacity: 0; transform: scale(0.7) rotate(-8deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}


/* ── PALETTE DOTS ─────────────────────────────────── */
.dot {
    display: inline-block;
    border-radius: 50%;
}
.dot--purple { background: var(--color-purple); }
.dot--orange { background: var(--color-secondary); }
.dot--blue   { background: var(--color-accent); }
.dot--pink   { background: var(--color-pink); }
.dot--lime   { background: var(--color-lime); }

.hero-palette-dots .dot { animation: float-slow 4s ease-in-out infinite; }
.hero-palette-dots .dot:nth-child(1) { animation-name: float-slow;  animation-delay: 0s; }
.hero-palette-dots .dot:nth-child(2) { animation-name: float-med;   animation-delay: .6s; }
.hero-palette-dots .dot:nth-child(3) { animation-name: float-fast;  animation-delay: .3s; }
.hero-palette-dots .dot:nth-child(4) { animation-name: float-slow;  animation-delay: 1s; }
.hero-palette-dots .dot:nth-child(5) { animation-name: float-med;   animation-delay: .2s; }


/* ── WATERCOLOR SPLASHES ──────────────────────────── */
.splash {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    animation: splash-in .8s ease forwards;
}
.hero-splashes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}


/* ── BRUSH STROKE TITLES ──────────────────────────── */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title .brush-stroke {
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 14px;
    pointer-events: none;
}
.section-title .brush-stroke path {
    stroke: var(--color-primary);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .55;
}
.section-title--light .brush-stroke path { stroke: var(--color-secondary); }


/* ── PAINT DRIP DIVIDER ───────────────────────────── */
.paint-drip {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}
.paint-drip svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* ── SECTION LABELS ───────────────────────────────── */
.section-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 10px;
}
.section-label--light { color: var(--color-secondary); }

.section-title-wrap {
    margin-bottom: 48px;
}
.section-title-wrap .section-title {
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 48px;
    line-height: 1.15;
}
.section-title--light { color: var(--color-bg); }


/* ── BUTTONS ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-transform: uppercase;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background: #a0285f;
    border-color: #a0285f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,50,122,.3);
}
.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }


/* ── HEADER / NAV ─────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248,244,227,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.nav-brand-name {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--color-muted);
}
.nav-brand-sub {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta,
.nav-cta:link,
.nav-cta:visited,
.nav-cta:focus,
.nav-cta:active {
    background: var(--color-primary) !important;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 30px;
}
.nav-cta:hover { background: #a0285f !important; color: #fff !important; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--color-text);
}


/* ── HERO ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: var(--color-bg);
    /* subtle canvas/linen texture */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    overflow: hidden;
    padding: 56px 24px 0;
}
.hero-palette-dots {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    align-items: center;
}
.hero-palette-dots .dot {
    width: 28px;
    height: 28px;
    opacity: .9;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.hero-palette-dots .dot--purple { width: 24px; height: 24px; }
.hero-palette-dots .dot--lime   { width: 22px; height: 22px; }
.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    max-width: 600px;
}
.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-display);
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title-top {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    color: var(--color-muted);
}
.hero-title-name {
    display: block;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 700;
    color: var(--color-text);
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-muted);
    margin-bottom: 28px;
    font-weight: 300;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
}
.hero-badge i { color: var(--color-primary); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-brushes {
    position: absolute;
    right: 8%;
    bottom: 80px;
    width: clamp(60px, 8vw, 100px);
    opacity: .55;
}
.hero-wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }


/* ── HERO LAYOUT (two-column centred row) ─────────── */
.hero-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 48px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

/* ── HERO TOOLS (roller + brushes) ───────────────── */
.hero-tools {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    z-index: 2;
    flex-shrink: 0;
}
.hero-roller {
    width: clamp(80px, 10vw, 130px);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.12));
    animation: float-slow 5s ease-in-out infinite;
}
.hero-brushes-svg {
    width: clamp(36px, 5vw, 60px);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.10));
    animation: float-med 4.5s ease-in-out infinite;
    animation-delay: .8s;
}
@media (max-width: 680px) {
    .hero-layout { padding: 0 24px 60px; gap: 0; }
    .hero-tools { display: none; }
}


/* ── PAINT CHIP CARDS ─────────────────────────────── */
.paint-chips {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}
.paint-chip {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.10);
    border: 1px solid var(--color-border);
    background: #fff;
    transform-origin: bottom center;
    transition: transform .25s ease, box-shadow .25s ease;
    margin-bottom: -6px;
    position: relative;
    z-index: 1;
}
.paint-chip:hover {
    transform: translateY(-6px) rotate(0deg) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
    z-index: 10;
}
.paint-chip--1 { transform: rotate(-3deg); z-index: 5; margin-bottom: 6px; }
.paint-chip--2 { transform: rotate(2deg);  z-index: 4; margin-bottom: 6px; }
.paint-chip--3 { transform: rotate(-1.5deg); z-index: 3; margin-bottom: 6px; }
.paint-chip--4 { transform: rotate(2.5deg); z-index: 2; margin-bottom: 6px; }
.paint-chip--5 { transform: rotate(-1deg); z-index: 1; }
.chip-color {
    width: 70px;
    flex-shrink: 0;
    min-height: 70px;
}
.chip-label {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    background: #fff;
}
.chip-name {
    font-family: var(--font-display);
    font-size: 13px;
    font-style: italic;
    color: var(--color-text);
    font-weight: 600;
}
.chip-code {
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--color-muted);
    font-family: var(--font-body);
    text-transform: uppercase;
}


/* ── COLOUR BAND ──────────────────────────────────── */
.colour-band {
    display: flex;
    height: 36px;
    position: relative;
    overflow: visible;
}
.colour-band-stripe {
    flex: 1;
    opacity: .88;
    transition: opacity .2s;
}
.colour-band-stripe:hover { opacity: 1; }
.colour-band-roller {
    position: absolute;
    right: 40px;
    top: -16px;
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.15));
}


/* ── ABOUT ────────────────────────────────────────── */
.about {
    background: var(--color-surface);
    padding: 96px 0;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: center;
}
.about-text p {
    color: var(--color-muted);
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
}
.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.about-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text);
}
.about-highlight i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 15px;
    flex-shrink: 0;
}


/* ── SERVICES ─────────────────────────────────────── */
.services {
    background: var(--color-bg);
    padding: 96px 0 0;
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 14px;
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}
.service-card p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
}
.services-wave { line-height: 0; }
.services-wave svg { width: 100%; height: 80px; }


/* ── GALLERY ──────────────────────────────────────── */
.gallery {
    background: var(--color-gallery-bg);
    padding: 96px 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,18,9,.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
    font-family: var(--font-display);
    font-style: italic;
    color: #fff;
    font-size: 15px;
}


/* ── CONTACT ──────────────────────────────────────── */
.contact {
    background: var(--color-surface);
    padding: 96px 0;
}
.contact-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}
.contact-simple-desc {
    font-size: 18px;
    color: var(--color-muted);
    max-width: 480px;
    line-height: 1.7;
}
.contact-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 60px;
    padding: 22px 48px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: .02em;
    transition: all var(--transition);
    box-shadow: 0 8px 32px rgba(196,50,122,.25);
}
.contact-phone-link:hover {
    background: #a0285f;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(196,50,122,.35);
}
.contact-phone-link i { font-size: 1.3rem; }
.contact-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    color: var(--color-muted);
    font-weight: 600;
}
.contact-meta span { display: flex; align-items: center; gap: 7px; }
.contact-meta i { color: var(--color-primary); }


/* ── CONTACT FORM ─────────────────────────────────── */
.contact-form-section {
    background: var(--color-bg);
    padding: 96px 0;
    border-top: 1px solid var(--color-border);
}
.contact-form-section .section-label {
    text-align: center;
}
.section-title-wrap--center {
    display: flex;
    justify-content: center;
    text-align: center;
}
.contact-form-desc {
    text-align: center;
    color: var(--color-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 17px;
    line-height: 1.6;
}
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 12px 30px rgba(26,18,9,.05);
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.contact-form-optional {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    opacity: .75;
}
.contact-form-input,
.contact-form-textarea,
.contact-form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}
.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: var(--color-muted);
    opacity: .55;
}
.contact-form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236B5B45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1.5 1.75 L6 6.25 L10.5 1.75'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}
.contact-form-select:has(option[value=""]:checked) {
    color: var(--color-muted);
}
.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(196,50,122,.15);
}
.contact-form-error {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}
.contact-form-submit {
    align-self: center;
    margin-top: 8px;
}
.contact-form-field--captcha {
    align-items: center;
}
.contact-form-messages {
    list-style: none;
    margin: 0 auto 28px;
    max-width: 640px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-form-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}
.contact-form-message i { font-size: 1.1rem; }
.contact-form-message--success {
    background: rgba(168,200,50,.14);
    border-color: var(--color-lime);
}
.contact-form-message--success i { color: var(--color-lime); }
.contact-form-message--error {
    background: rgba(196,50,122,.08);
    border-color: var(--color-primary);
}
.contact-form-message--error i { color: var(--color-primary); }
@media (max-width: 720px) {
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .contact-form-section { padding: 72px 0; }
}


/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
    background: var(--color-text);
    padding: 40px 0;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-style: italic;
    color: var(--color-bg);
}
.footer-tagline {
    font-size: 12px;
    color: rgba(248,244,227,.5);
    letter-spacing: .06em;
}
.footer-dots { display: flex; gap: 10px; align-items: center; }
.footer-dots .dot { width: 12px; height: 12px; opacity: .7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(248,244,227,.2);
    color: rgba(248,244,227,.5);
    font-size: 15px;
    transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.footer-copy {
    font-size: 12px;
    color: rgba(248,244,227,.4);
}
.footer-credit {
    font-size: 11px;
    color: rgba(248,244,227,.25);
}
.footer-credit a {
    color: rgba(248,244,227,.4);
    text-decoration: underline;
    transition: color var(--transition);
}
.footer-credit a:hover { color: var(--color-secondary); }


/* ── GALLERY PAGE ─────────────────────────────────── */
.gallery-hero {
    background: var(--color-bg);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gallery-hero-palette-dots {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 24px;
}
.gallery-hero-palette-dots .dot { width: 22px; height: 22px; opacity: .85; }
.gallery-hero-content { position: relative; z-index: 1; }
.gallery-hero-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    /* allow brush stroke to be centred */
    display: inline-block;
}
.gallery-hero-sub {
    font-size: 16px;
    color: var(--color-muted);
    font-style: italic;
    font-family: var(--font-display);
}
.gallery-section {
    background: var(--color-gallery-bg);
    padding: 64px 0 80px;
}
.gallery-grid--full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.gallery-empty {
    padding: 100px 0;
    text-align: center;
}
.gallery-empty-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: rgba(248,244,227,.3);
}
.gallery-empty-inner i { font-size: 56px; }
.gallery-empty-inner h2 { font-family: var(--font-display); font-style: italic; font-size: 2rem; font-weight: 400; }
.gallery-empty-inner p { font-size: 15px; }
.gallery-empty-inner .btn--outline { border-color: rgba(248,244,227,.2); color: rgba(248,244,227,.4); margin-top: 8px; }
.gallery-empty-inner .btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.gallery-cta {
    background: var(--color-primary);
    padding: 40px 24px;
}
.gallery-cta-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.gallery-cta-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #fff;
}
.gallery-cta .btn--primary {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}
.gallery-cta .btn--primary:hover {
    background: var(--color-bg);
    border-color: var(--color-bg);
    color: var(--color-primary);
}
.nav-active,
.nav-scroll-active { color: var(--color-primary) !important; }


/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-palette { display: none; }
}

@media (max-width: 680px) {
    .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 70px; left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 12px 0; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 24px; font-size: 14px; }
    .nav-cta { border-radius: 0; }
    .nav-toggle { display: block; }
    .hero { min-height: auto; padding: 40px 24px 40px; }
    .hero-palette-dots { top: 12px; }
    .hero-brushes { display: none; }
    .about-highlights { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-phone-link { padding: 18px 32px; }
    .contact-meta { gap: 16px; }
    .gallery-cta-inner { flex-direction: column; text-align: center; }
}


/* ── GALLERY PAGE DOTS (animate like hero dots) ───── */
.gallery-hero-palette-dots .dot {
    animation: float-slow 4s ease-in-out infinite;
}
.gallery-hero-palette-dots .dot:nth-child(1) { animation-name: float-slow;  animation-delay: 0s; }
.gallery-hero-palette-dots .dot:nth-child(2) { animation-name: float-med;   animation-delay: .6s; }
.gallery-hero-palette-dots .dot:nth-child(3) { animation-name: float-fast;  animation-delay: .3s; }
.gallery-hero-palette-dots .dot:nth-child(4) { animation-name: float-slow;  animation-delay: 1s; }
.gallery-hero-palette-dots .dot:nth-child(5) { animation-name: float-med;   animation-delay: .2s; }


/* ── GALLERY IMAGE FADE-IN ────────────────────────── */
.gallery-item img {
    opacity: 0;
    transition: opacity .4s ease, transform .4s ease;
}
.gallery-item img.loaded {
    opacity: 1;
}


/* ── FOCUS STYLES (accessibility) ────────────────── */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 3px;
}
.btn:focus-visible {
    outline-offset: 4px;
}
.contact-phone-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}


/* ── REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .splash,
    .hero-palette-dots .dot,
    .gallery-hero-palette-dots .dot,
    .hero-roller,
    .hero-brushes-svg {
        animation: none;
    }
    .splash { opacity: 1; }
    html { scroll-behavior: auto; }
    .gallery-item img { transition: none; opacity: 1; }
}
