/* ============================================================
   artWestScotland — shared stylesheet
   Used by: index.html, about.html, shop.html, silverpoint.html,
            linocut.html, jewel.html
   ============================================================ */

:root {
    --ink:        #1a1614;
    --warm-white: #f7f3ee;
    --parchment:  #ede8df;
    --thistle:    #7a5c8a;
    --highland:   #2e5e3e;
    --gold:       #b8965a;
    --muted:      #8a8078;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--warm-white);
    color: var(--ink);
    font-family: 'DM Sans', system-ui, sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* ── CURSOR ──────────────────────────────────────────────── */
.cursor {
    width: 12px; height: 12px;
    background: var(--thistle);
    border-radius: 50%;
    position: fixed; pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    mix-blend-mode: multiply;
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 1px solid var(--thistle);
    border-radius: 50%;
    position: fixed; pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    opacity: 0.5;
}
.cursor.hover   { width: 24px; height: 24px; }
.cursor-ring.hover { width: 60px; height: 60px; opacity: 0.2; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center;
    /* mix-blend-mode removed from nav — it forced a compositing layer
       rebuild on every scroll frame, causing jank */
    transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
    background: rgba(247,243,238,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 40px;
    border-bottom: 1px solid rgba(122,92,138,0.2);
}
.nav-logo img { height: 55px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--warm-white); text-decoration: none; position: relative;
    transition: color 0.2s;
}
nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 1px; background: var(--thistle); transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
    background: var(--ink) !important; color: var(--warm-white) !important;
    padding: 10px 24px !important; border-radius: 2px;
    transition: background 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--thistle) !important; color: white !important; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    height: 100vh; min-height: 700px;
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end;
    /* Dark gradient shows instantly while video loads — no blank screen */
    background: linear-gradient(160deg, #1a2a20 0%, #2a2030 50%, #1a1614 100%);
}
.hero video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    /* Start invisible; JS fades it in once it can play */
    opacity: 0;
    transition: opacity 1s ease;
}
.hero.video-ready video { opacity: 1; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
        rgba(26,22,20,0.15) 0%,
        rgba(26,22,20,0.3) 40%,
        rgba(26,22,20,0.8) 100%);
}
.hero-overlay::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(122,92,138,0.04) 0px, rgba(122,92,138,0.04) 2px,
        transparent 2px, transparent 80px);
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2;
    padding: 0 60px 80px; width: 100%;
}
.hero-eyebrow {
    font-size: 12px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(72px, 12vw, 180px); line-height: 0.9;
    color: var(--warm-white); margin-bottom: 24px;
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; color: var(--gold);
}
.hero-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px; font-style: italic;
    color: rgba(247,243,238,0.85); max-width: 520px;
    margin-bottom: 36px; line-height: 1.6;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions {
    display: flex; gap: 16px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.9s 0.9s forwards;
}
.scroll-indicator {
    position: absolute; bottom: 30px; right: 60px; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
.scroll-indicator span {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(247,243,238,0.6); writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, rgba(247,243,238,0.6), transparent);
    animation: scrollLine 2s 2s infinite;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary-custom {
    background: var(--thistle); color: white;
    padding: 14px 36px; font-size: 13px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px;
    text-decoration: none; transition: background 0.3s, transform 0.2s; display: inline-block;
}
.btn-primary-custom:hover { background: #5e4269; color: white; transform: translateY(-2px); }
.btn-outline-custom {
    border: 1px solid rgba(247,243,238,0.5); color: var(--warm-white);
    padding: 14px 36px; font-size: 13px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px;
    text-decoration: none; transition: border-color 0.3s, background 0.3s; display: inline-block;
}
.btn-outline-custom:hover {
    border-color: var(--warm-white); background: rgba(247,243,238,0.1); color: var(--warm-white);
}

/* ── ABOUT STRIP ─────────────────────────────────────────── */
.about-strip { background: var(--ink); color: var(--warm-white); padding: 100px 0; overflow: hidden; }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 60px;
}
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.about-badge {
    position: absolute; bottom: -20px; right: -20px;
    width: 120px; height: 120px; background: var(--thistle);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; text-align: center;
}
.about-badge span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 13px; font-style: italic; color: white; line-height: 1.4;
}
.about-tag {
    font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 20px; display: block;
}
.about-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(38px, 5vw, 58px); font-weight: 300; line-height: 1.15; margin-bottom: 28px;
}
.about-heading em { font-style: italic; color: var(--gold); }
.about-body { font-size: 15px; line-height: 1.85; color: rgba(247,243,238,0.75); margin-bottom: 20px; }
.about-contact { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(247,243,238,0.1); }
.about-contact-label {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 12px;
}
.contact-num {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 300;
    color: var(--warm-white); display: block; line-height: 1.5; text-decoration: none;
}
.contact-num:hover { color: var(--gold); }

/* ── DISCIPLINES ─────────────────────────────────────────── */
.disciplines { padding: 120px 0; background: var(--warm-white); }
.section-header {
    max-width: 1200px; margin: 0 auto 64px; padding: 0 60px;
    display: flex; justify-content: space-between; align-items: flex-end;
}
.section-tag {
    font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--thistle); margin-bottom: 12px; display: block;
}
.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 5vw, 64px); font-weight: 300; line-height: 1.1; color: var(--ink);
}
.section-title em { font-style: italic; color: var(--gold); }
.disciplines-grid {
    max-width: 1200px; margin: 0 auto; padding: 0 60px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.disc-card { position: relative; overflow: hidden; cursor: none; }
.disc-card img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); filter: grayscale(20%);
}
.disc-card:hover img { transform: scale(1.06); filter: grayscale(0%); }
.disc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,22,20,0.85) 0%, rgba(26,22,20,0) 55%);
    transition: opacity 0.4s;
}
.disc-card:hover .disc-overlay { opacity: 0.95; }
.disc-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; }
.disc-number {
    font-family: 'Bebas Neue', Impact, sans-serif; font-size: 48px;
    color: rgba(184,150,90,0.3); line-height: 1; display: block; transition: color 0.3s;
}
.disc-card:hover .disc-number { color: rgba(184,150,90,0.6); }
.disc-name {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600;
    color: white; display: block; margin: 4px 0 8px;
}
.disc-desc {
    font-size: 13px; color: rgba(247,243,238,0.7); line-height: 1.6;
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.disc-card:hover .disc-desc { max-height: 80px; }
.disc-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); background: none; border: none; padding: 0; cursor: none;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
}
.disc-card:hover .disc-btn { opacity: 1; transform: translateY(0); }
.disc-btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.disc-btn:hover svg { transform: translateX(4px); }
.disc-price {
    position: absolute; top: 20px; right: 20px;
    background: rgba(122,92,138,0.85); color: white;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 2px; font-weight: 500;
    opacity: 0; transition: opacity 0.3s;
}
.disc-card:hover .disc-price { opacity: 1; }

/* ── FEATURE VIDEO ───────────────────────────────────────── */
.feature-video { background: var(--parchment); padding: 100px 0; }
.feature-video-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 60px;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center;
}
.feature-text .section-tag { color: var(--gold); }
.feature-text .section-title { margin-bottom: 24px; }
.feature-text p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 32px; }
.video-frame {
    border-radius: 4px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(26,22,20,0.18); position: relative;
}
.video-frame::before {
    content: ''; position: absolute; inset: -3px;
    border: 1px solid var(--gold); border-radius: 6px; z-index: -1; opacity: 0.4;
}
/* Placeholder shown before user clicks play */
.vimeo-placeholder {
    aspect-ratio: 16/9;
    background: var(--ink);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    cursor: pointer; gap: 12px;
}
.vimeo-placeholder svg { display: block; }
.vimeo-placeholder span {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(247,243,238,0.5);
}

/* ── COMMISSION FORM ─────────────────────────────────────── */
.quote-section { padding: 120px 0; background: var(--warm-white); }
.quote-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.quote-card {
    background: white; border-radius: 4px; overflow: hidden;
    box-shadow: 0 4px 40px rgba(26,22,20,0.08);
    display: grid; grid-template-columns: 1fr 1fr;
}
.quote-left { background: var(--ink); padding: 64px; color: var(--warm-white); }
.quote-left .section-tag { color: var(--gold); }
.quote-left .section-title { color: var(--warm-white); font-size: 42px; margin-bottom: 24px; }
.quote-left p { color: rgba(247,243,238,0.65); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }
.process-steps { list-style: none; }
.process-steps li { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.step-num {
    font-family: 'Bebas Neue', Impact, sans-serif; font-size: 28px;
    color: var(--thistle); line-height: 1; min-width: 32px;
}
.step-text { font-size: 14px; color: rgba(247,243,238,0.7); line-height: 1.6; }
.step-text strong { color: var(--warm-white); display: block; margin-bottom: 2px; }
.quote-right { padding: 64px; }
.form-field { margin-bottom: 20px; }
.form-field label {
    font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); display: block; margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%; background: var(--warm-white);
    border: 1px solid transparent; border-bottom: 1px solid #ddd;
    border-radius: 0; padding: 12px 0;
    font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; color: var(--ink);
    outline: none; transition: border-color 0.3s; -webkit-appearance: none;
}
.form-field select { cursor: pointer; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-bottom-color: var(--thistle); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.captcha-row { display: flex; gap: 16px; align-items: flex-end; }
.captcha-label {
    background: var(--parchment); padding: 12px 16px;
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px;
    border-radius: 2px; white-space: nowrap; color: var(--ink);
}
.file-upload-area {
    border: 1px dashed #ccc; border-radius: 4px; padding: 24px;
    text-align: center; margin-bottom: 20px;
    transition: border-color 0.3s, background 0.3s; cursor: pointer; position: relative;
}
.file-upload-area:hover { border-color: var(--thistle); background: rgba(122,92,138,0.02); }
.file-upload-area input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.preview-box {
    width: 100%; height: 120px; display: none;
    align-items: center; justify-content: center; margin-top: 12px;
}
.preview-box img { max-height: 120px; border-radius: 4px; }
.upload-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.upload-text { font-size: 13px; color: var(--muted); }
.btn-submit {
    width: 100%; background: var(--thistle); color: white; border: none; padding: 16px;
    font-family: 'DM Sans', system-ui, sans-serif; font-size: 13px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px;
    cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.btn-submit:hover { background: #5e4269; transform: translateY(-1px); }

/* ── SHOP CTA ────────────────────────────────────────────── */
.shop-cta { background: var(--highland); padding: 100px 0; text-align: center; }
.shop-cta .section-tag { color: var(--gold); text-align: center; display: block; margin-bottom: 16px; }
.shop-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 6vw, 72px); font-weight: 300;
    color: var(--warm-white); line-height: 1.15; margin-bottom: 20px;
}
.shop-title em { font-style: italic; color: var(--gold); }
.shop-desc { font-size: 16px; color: rgba(247,243,238,0.65); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.btn-shop {
    display: inline-block; background: var(--gold); color: var(--ink);
    padding: 16px 48px; font-size: 13px; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase; border-radius: 2px;
    text-decoration: none; transition: background 0.3s, transform 0.2s; margin-right: 12px;
}
.btn-shop:hover { background: #c9a86c; color: var(--ink); transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #111; color: var(--warm-white); padding: 80px 0 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-col h4 {
    font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 20px;
}
.footer-col a, .footer-col p {
    font-size: 14px; color: rgba(247,243,238,0.55); display: block;
    text-decoration: none; line-height: 2; transition: color 0.2s;
}
.footer-col a:hover { color: var(--warm-white); }
.footer-bottom {
    border-top: 1px solid rgba(247,243,238,0.08); padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(247,243,238,0.3); }
.newsletter-input { display: flex; margin-top: 8px; }
.newsletter-input input {
    flex: 1; background: rgba(247,243,238,0.08);
    border: 1px solid rgba(247,243,238,0.15); border-right: none;
    padding: 10px 14px; font-family: 'DM Sans', system-ui, sans-serif; font-size: 13px;
    color: var(--warm-white); border-radius: 2px 0 0 2px; outline: none;
}
.newsletter-input input::placeholder { color: rgba(247,243,238,0.35); }
.newsletter-input button {
    background: var(--thistle); border: none; padding: 10px 18px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: white; cursor: pointer; border-radius: 0 2px 2px 0; transition: background 0.3s;
}
.newsletter-input button:hover { background: #5e4269; }
.newsletter-captcha { margin-top: 10px; display: flex; gap: 8px; align-items: center; }
.newsletter-captcha span { font-size: 13px; color: rgba(247,243,238,0.5); white-space: nowrap; }
.newsletter-captcha input {
    width: 70px; background: rgba(247,243,238,0.08);
    border: 1px solid rgba(247,243,238,0.15); padding: 6px 10px;
    font-size: 13px; color: var(--warm-white); border-radius: 2px; outline: none;
}

/* ── MODALS ──────────────────────────────────────────────── */
.modal-content { background: var(--warm-white); border: none; border-radius: 4px; }
.modal-art-header { position: relative; }
.modal-art-header img { width: 100%; height: 300px; object-fit: cover; }
.modal-body { padding: 36px 40px 40px; }
.modal-art-name {
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 38px;
    font-weight: 300; color: var(--ink); margin-bottom: 12px;
}
.modal-art-desc { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.modal-meta { font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.modal-meta strong { color: var(--thistle); }
.modal-close-btn {
    position: absolute; top: 16px; right: 16px;
    background: white; border: none; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.modal-shop-btn {
    display: inline-block; background: var(--thistle); color: white;
    padding: 12px 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; border-radius: 2px; text-decoration: none;
    transition: background 0.3s; margin-top: 20px;
}
.modal-shop-btn:hover { background: #5e4269; color: white; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { to { opacity: 1; } }
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
/* ── REVEAL ANIMATIONS ───────────────────────────────────────
   NOTE: index.html has an inline style that sets .reveal { opacity:1 }
   as a safe default. This rule overrides it once style.css loads.
   The JS safety-net timeout (1.5s) means nothing stays hidden even if
   the IntersectionObserver fires before this file parses. */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-ring { display: none; }
    nav { padding: 16px 24px; }
    nav.scrolled { padding: 10px 24px; }
    .nav-links { display: none; }
    .hero-content { padding: 0 24px 60px; }
    .about-grid { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
    .disciplines-grid { grid-template-columns: 1fr; padding: 0 24px; }
    .section-header { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
    .feature-video-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 40px; }
    .quote-card { grid-template-columns: 1fr; }
    .quote-right, .quote-left { padding: 40px 32px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-inner { padding: 0 24px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .quote-inner { padding: 0 24px; }
}
