/* ═══════════════════════════════════════════
   SAGE OSSUARY ARTS — Stylesheet v3
   Red · Black · Bone · Gothic · Flowing
════════════════════════════════════════════ */

:root {
  --black:        #060404;
  --deep:         #0d0808;
  --surface:      #120a0a;
  --surface-2:    #180c0c;
  --surface-3:    #1f1010;

  --red:          #8b0000;
  --red-mid:      #a31515;
  --red-bright:   #c8594a;
  --red-glow:     #6b0000;
  --red-faint:    #2e0808;
  --red-ultra:    #1a0404;

  --bone:         #c8b89a;
  --bone-dim:     #8b7a62;
  --bone-faint:   #2e2018;

  --text:         #c8bdb0;
  --text-dim:     #7a6e64;
  --text-faint:   #3a3028;
  --white:        #ede5d8;

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Crimson Pro', Georgia, serif;

  --nav-h:        64px;
  --section-pad:  clamp(70px, 10vw, 130px);
  --gutter:       clamp(20px, 5vw, 80px);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.78;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: none; font-family: inherit; }

/* ─── Persistent full-page atmosphere layer ───
   This is the secret to making everything flow — one continuous
   background that runs behind every section, so the page feels
   like one living canvas rather than stacked boxes.
*/
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    /* top-left ember */
    radial-gradient(ellipse 55% 40% at 0%   8%,   rgba(100,0,0,0.10) 0%, transparent 70%),
    /* top-right ember */
    radial-gradient(ellipse 45% 35% at 100% 5%,   rgba(80,0,0,0.08)  0%, transparent 65%),
    /* center-left pulse */
    radial-gradient(ellipse 35% 55% at 8%   50%,  rgba(90,0,0,0.06)  0%, transparent 70%),
    /* center-right pulse */
    radial-gradient(ellipse 35% 50% at 92%  45%,  rgba(75,0,0,0.05)  0%, transparent 70%),
    /* deep bottom bleed */
    radial-gradient(ellipse 80% 30% at 50%  100%, rgba(120,0,0,0.14) 0%, transparent 60%);
  animation: atmospherePulse 12s ease-in-out infinite alternate;
}
@keyframes atmospherePulse {
  0%   { opacity: 0.8; }
  50%  { opacity: 1.0; }
  100% { opacity: 0.85; }
}

/* ─── Grain noise overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 1001;
  mix-blend-mode: overlay;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red-glow); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-mid); }

/* ═══════════ CURSOR ═══════════ */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .18s, height .18s, background .18s;
}
.cursor-trail {
  position: fixed;
  width: 26px; height: 26px;
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
body:has(a:hover, button:hover) .cursor { width: 14px; height: 14px; }
body:has(a:hover, button:hover) .cursor-trail { width: 40px; height: 40px; border-color: var(--red-mid); opacity: 0.65; }

/* ═══════════ PARTICLES ═══════════ */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particle {
  position: absolute; width: 2px; height: 2px;
  border-radius: 50%; opacity: 0;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  10%  { opacity: 0.3; }
  90%  { opacity: 0.08; }
  100% { opacity: 0; transform: translateY(-100vh) rotate(360deg); }
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; height: var(--nav-h);
  /* transparent by default — the body atmosphere layer shows through */
  background: transparent;
  transition: background .5s, backdrop-filter .5s, border-color .5s;
}
.nav.scrolled {
  background: rgba(6,3,3,0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--red-faint);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading); font-size: 0.73rem;
  letter-spacing: 0.32em; color: var(--bone-dim); transition: color .25s;
}
.nav-logo:hover { color: var(--bone); }
.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: var(--font-heading); font-size: 0.66rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dim); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 100%;
  height: 1px; background: var(--red-mid);
  transition: right .35s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--red-bright); }
.nav-links a:hover::after { right: 0; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 1px; background: var(--bone-dim); transition: transform .3s, opacity .3s; }
.nav-mobile {
  display: none; flex-direction: column; align-items: center; gap: 1.5rem;
  padding: 2rem; background: rgba(6,3,3,0.97); border-bottom: 1px solid var(--red-faint);
}
.nav-mobile-link {
  font-family: var(--font-heading); font-size: 0.75rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); transition: color .2s;
}
.nav-mobile-link:hover { color: var(--red-bright); }
.nav.mobile-open .nav-mobile { display: flex; }

/* ═══════════════════════════════════════════
   HERO
   — no hard bottom edge. Instead it uses a
   multi-stop gradient that dissolves into the
   page background so the first scroll is smooth.
════════════════════════════════════════════ */
.hero {
  position: relative;
  /* Extra bottom padding creates room for the fade-out zone */
  min-height: 100svh;
  padding-bottom: 18vh;
  display: flex; align-items: center; justify-content: center;
  overflow: visible; /* let the fade bleed downward */
  z-index: 2;
}

/* The hero's own background — ends in a transparent fade downward */
.hero-bg {
  position: absolute;
  /* Extend slightly below the hero so the gradient has room */
  top: 0; left: 0; right: 0;
  bottom: -120px;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%,  rgba(60,0,0,0.22)  0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 20%,   rgba(80,0,0,0.10)  0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 20%,   rgba(80,0,0,0.10)  0%, transparent 55%),
    linear-gradient(to bottom,
      #0a0505 0%,
      #0d0707 30%,
      #0a0505 65%,
      transparent 100%   /* ← dissolves into body */
    );
}

/* Atmospheric bleed that sits BELOW the hero and creates the fade */
.hero-fade {
  position: absolute;
  bottom: -200px; left: 0; right: 0;
  height: 300px;
  background: linear-gradient(to bottom,
    rgba(8,3,3,0.0) 0%,
    rgba(6,4,4,1.0) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.hero-blood-glow {
  position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
  width: 70%; height: 45%;
  background: radial-gradient(ellipse at center top, rgba(139,0,0,0.18) 0%, transparent 65%);
  pointer-events: none; z-index: 1;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 20%, rgba(3,1,1,0.7) 100%);
}
.hero-fog {
  position: absolute; width: 200%; height: 70%;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(100,0,0,0.05) 0%, transparent 70%);
  bottom: 0; left: -50%;
  animation: fogDrift 22s ease-in-out infinite alternate; z-index: 1;
}
.hero-fog.fog-2 { animation-duration: 30s; animation-direction: alternate-reverse; opacity: 0.5; }
@keyframes fogDrift {
  from { transform: translateX(-3%) scaleY(1); }
  to   { transform: translateX(3%) scaleY(1.1); }
}

.hero-bone-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}

.hero-content {
  position: relative; z-index: 4;
  text-align: center;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 40px;
  max-width: 820px;
  animation: heroReveal 1.5s var(--ease-out-expo) both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--red-mid); margin-bottom: 2rem;
  animation: heroReveal 1.5s 0.1s var(--ease-out-expo) both;
}

.hero-title {
  display: flex; flex-direction: column;
  line-height: 0.88; margin-bottom: 1.5rem;
}
.hero-title-line {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 8rem);
  color: var(--white);
  text-shadow: 0 0 80px rgba(139,0,0,0.22), 0 2px 8px rgba(0,0,0,0.9);
  animation: heroReveal 1.5s var(--ease-out-expo) both;
}
.hero-title-line:nth-child(1) { animation-delay: 0.15s; }
.hero-title-line:nth-child(2) { animation-delay: 0.28s; }
.hero-title-line:nth-child(3) { animation-delay: 0.41s; }
.hero-title-line.accent {
  color: var(--red-bright);
  font-size: clamp(2.3rem, 7.5vw, 6.2rem);
  letter-spacing: 0.14em;
  text-shadow:
    0 0 60px rgba(200,89,74,0.55),
    0 0 120px rgba(139,0,0,0.3),
    0 2px 6px rgba(0,0,0,0.9);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--bone-dim); margin-bottom: 2.2rem;
  animation: heroReveal 1.5s 0.5s var(--ease-out-expo) both;
}

.hero-divider {
  width: min(400px, 85%); margin: 0 auto 2.8rem;
  animation: heroReveal 1.5s 0.58s var(--ease-out-expo) both;
}
.hero-divider svg { width: 100%; display: block; }

.hero-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: 0.9em 2.8em;
  border: 1px solid var(--red-mid);
  position: relative; overflow: hidden;
  box-shadow: 0 0 28px rgba(139,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow .3s;
  animation: heroReveal 1.5s 0.68s var(--ease-out-expo) both;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red-mid);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
  z-index: 0;
}
.hero-cta span { position: relative; z-index: 1; }
.hero-cta:hover { box-shadow: 0 0 48px rgba(200,89,74,0.55), inset 0 1px 0 rgba(255,255,255,0.08); }
.hero-cta:hover::before { transform: scaleX(1); }

.hero-scroll-hint {
  position: absolute; bottom: 6vh; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 5; animation: fadeIn 2s 1.4s both;
}
.hero-scroll-hint span {
  font-family: var(--font-heading); font-size: 0.56rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--red);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--red-mid), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50%       { transform: scaleY(1.3); opacity: 0.8; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 0.45; } }

/* ═══════════════════════════════════════════
   PAGE BODY — continuous red-threaded canvas
   Each section sits on the shared atmosphere,
   no more isolated boxes.
════════════════════════════════════════════ */

/* Wrapper that gives all post-hero content a faint shared red underlayer */
.page-body {
  position: relative;
  z-index: 2;
}

/* Glowing red vein that runs vertically through the page */
.page-body::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(139,0,0,0.18) 10%,
    rgba(139,0,0,0.08) 40%,
    rgba(139,0,0,0.14) 65%,
    rgba(139,0,0,0.06) 85%,
    transparent 100%
  );
  pointer-events: none;
}

.section {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
  /* Each section slightly lighter surface so they float on the dark atmosphere */
}

/* Red glow node that sits between each section — makes them bleed together */
.section-glow {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,0,0,0.35), transparent);
  margin: 0 auto;
  position: relative;
}
.section-glow::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60%; height: 60px;
  background: radial-gradient(ellipse at center, rgba(139,0,0,0.12) 0%, transparent 70%);
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  color: var(--white);
  letter-spacing: 0.06em;
  text-shadow: 0 0 50px rgba(139,0,0,0.25);
}
.section-title.left { text-align: left; }
.section-sub {
  font-family: var(--font-heading);
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red-mid); margin-top: 0.6rem;
}

/* ─── Bone divider — slimmed down, sits inline with flow ─── */
.bone-divider {
  width: min(580px, 90%);
  margin: 0 auto;
  padding: var(--section-pad) 0;
  display: block;
}
.bone-divider svg { width: 100%; display: block; }
.bone-divider.small { width: min(380px, 70%); padding: 1.5rem 0; }

/* ═══════════ GALLERY ═══════════ */
.gallery-section { max-width: 1300px; }

.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.63rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); background: transparent;
  border: 1px solid var(--red-faint);
  padding: 0.5em 1.4em;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--red-bright); border-color: var(--red);
  background: rgba(139,0,0,0.09);
  box-shadow: 0 0 14px rgba(139,0,0,0.18);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; grid-auto-rows: 320px;
}
.gallery-card.featured { grid-column: span 2; }
.gallery-card {
  position: relative; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid transparent;
  transition: transform .4s var(--ease-out-expo), border-color .3s, box-shadow .3s;
}
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--red-faint);
  box-shadow: 0 8px 36px rgba(100,0,0,0.22), 0 0 0 1px rgba(139,0,0,0.1);
}
.gallery-card-img-wrap { position: absolute; inset: 0; }
.gallery-card-img-wrap img { transition: transform .7s var(--ease-out-expo); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card-img-wrap.img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 10px, var(--surface-3) 10px, var(--surface-3) 20px);
}
.gallery-card-img-wrap.img-placeholder::after {
  content: '✦'; font-size: 2rem; color: var(--red-faint); position: absolute;
}
.gallery-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,1,1,0.93) 0%, rgba(139,0,0,0.1) 45%, transparent 72%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem 1.4rem;
  opacity: 0; transition: opacity .3s;
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-type {
  font-family: var(--font-heading);
  font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red-mid); margin-bottom: 0.3rem;
}
.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem; color: var(--white); letter-spacing: 0.04em;
}
.gallery-card.hidden { display: none; }

/* ═══════════ ABOUT ═══════════ */
.about-section { max-width: 1100px; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
.about-image-frame {
  position: relative; aspect-ratio: 3/4; overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 0 70px rgba(100,0,0,0.18), 0 0 140px rgba(100,0,0,0.08);
}
.about-image-frame img { position: absolute; inset: 0; }
.about-image-frame.img-placeholder::after {
  content: 'Artist Portrait';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 0.72rem;
  letter-spacing: 0.2em; color: var(--text-faint);
  background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 10px, var(--surface-3) 10px, var(--surface-3) 20px);
}
.frame-ornament { position: absolute; width: 56px; height: 56px; }
.frame-ornament.tl { top: -12px; left: -12px; }
.frame-ornament.tr { top: -12px; right: -12px; }
.frame-ornament.bl { bottom: -12px; left: -12px; }
.frame-ornament.br { bottom: -12px; right: -12px; }

.about-rune { font-size: 1.1rem; color: var(--red); margin: 1rem 0; }
.about-body { font-size: 1.1rem; color: var(--text); line-height: 1.88; margin-bottom: 1.2rem; }
.about-body em { color: var(--bone-dim); font-style: italic; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  font-family: var(--font-heading);
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red-faint); padding: 0.35em 1em;
  transition: border-color .2s, background .2s;
}
.tag:hover { border-color: var(--red-mid); background: rgba(139,0,0,0.09); }

/* ═══════════ COMMISSION ═══════════ */
.commission-section { max-width: 1100px; }
.commission-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem; margin-top: 1rem;
}
.commission-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--red-faint);
  padding: 2.5rem 2rem 2rem;
  text-align: center; position: relative;
  transition: border-color .3s, transform .3s var(--ease-out-expo), box-shadow .3s;
}
.commission-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
  opacity: 0; transition: opacity .3s;
}
/* Permanent faint top line so cards read as a set even before hover */
.commission-card::after {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(to right, transparent, var(--red-faint), transparent);
}
.commission-card:hover {
  border-color: var(--red); transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(100,0,0,0.2), 0 0 0 1px rgba(139,0,0,0.14);
}
.commission-card:hover::before { opacity: 1; }
.commission-icon { width: 54px; height: 54px; margin: 0 auto 1.5rem; }
.commission-icon svg { width: 100%; height: 100%; }
.commission-card h3 {
  font-family: var(--font-heading); font-size: 0.86rem;
  letter-spacing: 0.1em; color: var(--white); margin-bottom: 0.7rem;
}
.commission-card p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 1.5rem; }
.commission-status {
  display: inline-block; font-family: var(--font-heading);
  font-size: 0.57rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.3em 1em;
}
.commission-status.open    { color: #7fa87f; border: 1px solid #3d6b3d; background: rgba(63,107,63,0.1); }
.commission-status.limited { color: var(--red-bright); border: 1px solid var(--red); background: rgba(139,0,0,0.12); }
.commission-status.ask     { color: var(--bone); border: 1px solid var(--bone-faint); background: rgba(200,184,154,0.05); }

/* ═══════════ CONTACT ═══════════ */
.contact-section { max-width: 700px; }
.contact-inner { text-align: center; margin-top: 2rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.contact-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-heading); font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--red-faint); padding: 0.75em 1.8em;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.contact-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.contact-link:hover {
  color: var(--red-bright); border-color: var(--red);
  background: rgba(139,0,0,0.09);
  box-shadow: 0 0 18px rgba(139,0,0,0.18);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  text-align: center; padding: 3rem var(--gutter);
  border-top: 1px solid var(--red-faint); margin-top: 0;
  /* bleed upward into the page */
  background: linear-gradient(to top, rgba(139,0,0,0.07) 0%, transparent 100%);
  position: relative; z-index: 2;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,0,0,0.5), transparent);
}
.footer-text {
  font-family: var(--font-heading); font-size: 0.63rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 0.4rem;
}
.footer-text.small { font-size: 0.54rem; opacity: 0.4; }

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-frame { max-width: 360px; margin: 0 auto; }
  .section-title.left { text-align: center; }
  .about-rune, .about-body, .about-tags { text-align: center; justify-content: center; }
  .gallery-card.featured { grid-column: span 1; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .hero-title-line { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-title-line.accent { font-size: clamp(2.1rem, 12vw, 3.8rem); }
  .commission-grid { grid-template-columns: 1fr; }
}
