:root {
  --ivory: #f5f1e8;
  --ivory-deep: #ece5d6;
  --charcoal: #211f1c;
  --charcoal-soft: #3a362f;
  --prussian: #1c3a52;
  --prussian-deep: #12283a;
  --brass: #a9822f;
  --brass-light: #c9a35c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--charcoal);
  background-color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fraunces', serif;
}

a {
  color: var(--prussian);
}

a:hover {
  color: var(--brass);
}

.section-label {
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brass);
}

.section-heading {
  font-weight: 600;
  color: var(--charcoal);
}

/* ---------- Navbar ---------- */
.navbar-kevin {
  background-color: rgba(33, 31, 28, 0.96);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: padding 0.2s ease;
}

.navbar-brand-kevin {
  font-family: 'Fraunces', serif;
  color: var(--ivory) !important;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.navbar-kevin .nav-link {
  color: var(--ivory) !important;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-kevin .nav-link:hover {
  color: var(--brass-light) !important;
}

.navbar-toggler {
  border-color: rgba(245, 241, 232, 0.4);
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(155deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7.5rem 0 3.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 78% 45%, rgba(245, 241, 232, 0.10) 0%, rgba(245, 241, 232, 0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}

.hero-content {
  padding: 1rem;
  box-sizing: border-box;
}

.hero-eyebrow {
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brass-light);
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: #fff;
  margin: 0.4rem 0 0.6rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #e7e2d4;
  font-weight: 400;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

/* Hero art slideshow — framed painting on the gallery wall */
.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 5 / 4;
  padding: 16px;
  background: linear-gradient(135deg, #e0bc7c 0%, #a9822f 45%, #6f5420 100%);
  border-radius: 3px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.25),
    inset 0 0 12px rgba(0,0,0,0.35);
}

.art-mat {
  height: 100%;
  padding: 12px;
  background: var(--ivory);
  border-radius: 1px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.18);
}

.art-slides {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.art-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.art-slide.active {
  opacity: 1;
}

.art-caption {
  margin-top: 1.1rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--brass-light);
  letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
  .hero {
    padding: 6.5rem 0 3rem;
    min-height: 0;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content .d-flex {
    justify-content: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .art-frame {
    max-width: 340px;
  }
}

.btn-brass {
  background-color: var(--brass);
  border-color: var(--brass);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.6rem;
}

.btn-brass:hover {
  background-color: var(--brass-light);
  border-color: var(--brass-light);
  color: #fff;
}

.btn-outline-ivory {
  border: 1.5px solid #fff;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.62rem 1.6rem;
}

.btn-outline-ivory:hover {
  background-color: #fff;
  color: var(--charcoal);
}

.hero-cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ---------- About ---------- */
.about-section {
  background-color: var(--ivory);
  padding: 6.5rem 0;
}

.about-panel {
  background: linear-gradient(155deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  color: var(--ivory);
  border-radius: 10px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(201, 163, 92, 0.14);
}

.about-panel .section-label {
  color: var(--brass-light);
}

.about-panel h2 {
  color: #fff;
}

.about-panel p {
  color: #e7e2d4;
  font-size: 1.06rem;
}

.about-credentials {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
}

.about-credentials li {
  font-size: 0.92rem;
  color: #cfc9b8;
  padding-left: 1.4rem;
  position: relative;
}

.about-credentials li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brass-light);
  font-weight: 700;
}

.about-photo-frame {
  position: relative;
  height: 100%;
  min-height: 340px;
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(33, 31, 28, 0.22);
}

.about-headshot-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  width: 128px;
  height: 128px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 5px solid var(--ivory);
  box-shadow: 0 10px 24px rgba(33, 31, 28, 0.3);
}

/* ---------- Story page ---------- */
.story-header {
  background-color: var(--ivory-deep);
  padding: 9.5rem 0 3.5rem;
  text-align: center;
}

.story-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--prussian);
  margin: 0.4rem 0 0.75rem;
}

.story-subtitle {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
  max-width: 560px;
  margin: 0 auto;
}

.story-section {
  background-color: var(--ivory);
  padding: 4.5rem 0 2rem;
}

.story-heading {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--prussian);
  margin: 2.5rem 0 1rem;
}

.story-section .story-heading:first-child {
  margin-top: 0;
}

.story-section p {
  color: var(--charcoal-soft);
}

.statement-section {
  background: linear-gradient(155deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  color: var(--ivory);
  padding: 5rem 0;
  margin-top: 2rem;
}

.statement-section .section-label {
  color: var(--brass-light);
}

.statement-section .story-heading {
  color: #fff;
  margin-top: 0;
}

.statement-quote {
  border-left: 3px solid var(--brass-light);
  padding-left: 1.75rem;
  margin: 0;
}

.statement-quote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: #ece5d6;
}

.statement-quote p + p {
  margin-top: 1.25rem;
}

.life-pictures-section {
  background-color: var(--ivory-deep);
  padding: 5.5rem 0;
}

.life-photo {
  margin: 0;
}

.life-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(33, 31, 28, 0.16);
  display: block;
}

.life-photo figcaption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--charcoal-soft);
}

.story-cta-section {
  background-color: var(--ivory);
  padding: 1rem 0 4.5rem;
}

.btn-outline-charcoal {
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.62rem 1.6rem;
}

.btn-outline-charcoal:hover {
  background-color: var(--charcoal);
  color: var(--ivory);
}

@media (max-width: 767.98px) {
  .story-header {
    padding: 8rem 0 2.5rem;
  }
}

/* ---------- Gallery ---------- */
.gallery-section {
  background-color: var(--ivory-deep);
  padding: 6.5rem 0;
}

.gallery-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--charcoal-soft);
  font-size: 1.02rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--charcoal);
  box-shadow: 0 10px 24px rgba(33, 31, 28, 0.18);
  border: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  box-shadow: 0 16px 34px rgba(33, 31, 28, 0.26);
  border-color: var(--brass-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1rem;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.88) 0%, rgba(20, 18, 15, 0.32) 42%, rgba(20, 18, 15, 0) 72%);
}

.gallery-overlay .painting-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.15rem;
}

.gallery-overlay .painting-medium {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--brass-light);
}

.gallery-filler {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  padding: 1.5rem;
  background: linear-gradient(155deg, var(--prussian) 0%, var(--prussian-deep) 100%);
  border: 1px solid rgba(201, 163, 92, 0.35);
  box-shadow: 0 10px 24px rgba(33, 31, 28, 0.18);
  text-decoration: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.gallery-filler:hover,
.gallery-filler:focus-visible {
  box-shadow: 0 16px 34px rgba(33, 31, 28, 0.26);
  border-color: var(--brass-light);
  transform: translateY(-2px);
}

.gallery-filler i {
  font-size: 2rem;
  color: var(--brass-light);
  margin-bottom: 0.85rem;
}

.gallery-filler-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.gallery-filler-sub {
  font-size: 0.85rem;
  color: #cfc9b8;
}

/* ---------- Lightbox ---------- */
.lightbox-content {
  background: var(--charcoal);
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-content img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #000;
  display: block;
}

.lightbox-caption {
  padding: 1.15rem 1.5rem 1.4rem;
  text-align: center;
}

.lightbox-caption .painting-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.lightbox-caption .painting-medium {
  font-size: 0.85rem;
  color: var(--brass-light);
  letter-spacing: 0.03em;
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 5;
}

/* ---------- Shop ---------- */
.shop-section {
  background: linear-gradient(155deg, var(--charcoal) 0%, #151310 100%);
  color: var(--ivory);
  padding: 6rem 0;
  text-align: center;
}

.shop-section .section-label {
  color: var(--brass-light);
}

.shop-section h2 {
  color: #fff;
}

.shop-section p {
  color: #d8d3c4;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1.5px solid var(--brass-light);
  color: var(--brass-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  background: rgba(201, 163, 92, 0.06);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-coming-soon:hover {
  background-color: var(--brass-light);
  color: var(--charcoal);
}

/* ---------- Contact ---------- */
.contact-section {
  background-color: var(--ivory);
  padding: 6.5rem 0;
  text-align: center;
}

.contact-email {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--prussian);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 0.2rem;
  margin-top: 1.25rem;
}

.contact-email:hover {
  color: var(--brass);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--charcoal);
  color: #cfcabb;
  padding: 2.75rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #e7e2d4;
}

.site-footer a:hover {
  color: var(--brass-light);
}

.powered-by {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  font-size: 0.82rem;
  color: #a39d8c;
}

.powered-by a {
  font-weight: 600;
  color: var(--brass-light);
}

@media (max-width: 767.98px) {
  .about-panel {
    padding: 2.5rem 1.75rem;
  }
  .about-credentials {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 2rem 1.5rem;
  }
  .about-photo-frame {
    min-height: 260px;
    margin: 0 0.75rem;
  }
  .about-photo {
    min-height: 260px;
  }
  .about-headshot-badge {
    width: 92px;
    height: 92px;
    bottom: -1rem;
    right: -0.5rem;
  }
}
