/*
Theme Name: Shockley Artist
Theme URI: https://naturecoastdesign.net/
Author: Nature Coast Web Design & Marketing, Inc.
Author URI: https://naturecoastdesign.net/
Description: Custom classic theme for Linda Shockley artist portfolio.
Version: 1.0.0
Text Domain: shockley
*/

:root {
  --paper: #f8f6f0;
  --ink: #171512;
  --muted: #6e6a61;
  --line: #d9d1c3;
  --accent: #8d3f2c;
  --accent-dark: #54291f;
  --sage: #66725e;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(23, 21, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: clamp(34px, 4.8vw, 86px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 18px;
}

.brand-logo {
  justify-self: end;
}

.brand-logo img {
  display: block;
  max-height: 176px;
  width: auto;
}

.brand-name {
  justify-self: center;
  margin: 0;
  font-size: clamp(3.2rem, 4.8vw, 5.1rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-meta p {
  margin: 0.1rem 0;
  color: var(--muted);
  font-size: 1.25rem;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  min-width: 120px;
  transform: translateX(clamp(10px, 1.4vw, 24px));
}

.phone {
  color: var(--accent-dark);
  font-size: 1.15rem;
  text-decoration: none;
}

.nav-bar {
  border-top: 1px solid var(--line);
  background: #eee8de;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 56px;
  margin: 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-close {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: 32px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.primary-menu {
  display: flex;
  gap: clamp(28px, 8vw, 120px);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: block;
  padding: 16px 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu .current-menu-item a,
.primary-menu a:hover {
  color: var(--accent);
}

.site-main {
  min-height: 60vh;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.hero-slider {
  width: min(1120px, calc(100% - 40px));
  margin: 54px auto 0;
}

.slideshow {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  background: #201f1d;
  box-shadow: var(--shadow);
}

.hero-slider .slideshow {
  background: transparent;
  box-shadow: none;
  height: min(760px, calc(100vh - 260px));
  min-height: 0;
}

.hero-slider .marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  height: 100%;
  animation: shockleyMarquee 36s linear infinite;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: shockleyFade 42s infinite;
}

.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide:nth-child(5) { animation-delay: 24s; }
.slide:nth-child(6) { animation-delay: 30s; }
.slide:nth-child(7) { animation-delay: 36s; }

.slide img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.hero-slider .slide img {
  display: block;
  height: 100%;
  width: auto;
  max-height: min(760px, calc(100vh - 260px));
  min-height: 0;
  margin: 0 auto;
  object-fit: contain;
}

.hero-slider .slide {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  opacity: 1;
  animation: none;
  height: 100%;
}

@keyframes shockleyMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

@keyframes shockleyFade {
  0%, 14.285%, 100% { opacity: 1; }
  16.667%, 97.619% { opacity: 0; }
}

.intro-copy {
  max-width: 820px;
  margin: 0 auto;
  color: #2f2b25;
  font-size: 1.15rem;
  text-align: center;
}

.cta-link,
.contact-form button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  overflow: hidden;
  border: 0;
  background: linear-gradient(100deg, var(--accent-dark), var(--accent), var(--accent-dark));
  background-size: 220% 100%;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  animation: shine 4.5s linear infinite;
}

@keyframes shine {
  from { background-position: 0% 50%; }
  to { background-position: 220% 50%; }
}

.contact-band {
  background: #eee8de;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.page-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  text-align: center;
}

.about-lede {
  max-width: 920px;
  margin: 0 auto 38px;
  text-align: center;
}

.about-lede p {
  margin: 0 0 1.15rem;
}

.about-lede strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 400;
}

.artwork-copy {
  margin-top: 20px;
  margin-bottom: 12px;
}

.artwork-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.timeline-box {
  margin: 34px auto 48px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.timeline-box h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.timeline-box .slideshow {
  background: #171512;
}

.timeline-box .slide img {
  object-fit: contain;
}

.timeline-box .slide {
  animation: shockleyTimelineFade 40s infinite;
}

.timeline-dedication {
  position: absolute;
  left: 34%;
  bottom: 7%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 0.28rem 0.55rem;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(23, 21, 18, 0.18);
  border-radius: 2px;
  color: #171512;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 8px rgba(255, 253, 248, 0.85);
  white-space: nowrap;
}

.timeline-box .slide:nth-child(2) { animation-delay: 4s; }
.timeline-box .slide:nth-child(3) { animation-delay: 8s; }
.timeline-box .slide:nth-child(4) { animation-delay: 12s; }
.timeline-box .slide:nth-child(5) { animation-delay: 16s; }
.timeline-box .slide:nth-child(6) { animation-delay: 20s; }
.timeline-box .slide:nth-child(7) { animation-delay: 24s; }
.timeline-box .slide:nth-child(8) { animation-delay: 28s; }
.timeline-box .slide:nth-child(9) { animation-delay: 32s; }
.timeline-box .slide:nth-child(10) { animation-delay: 36s; }

@keyframes shockleyTimelineFade {
  0%, 12%, 100% { opacity: 0; }
  2%, 10% { opacity: 1; }
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.artist-photo {
  aspect-ratio: 4 / 5;
  background: #ddd4c6;
  overflow: hidden;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-item span {
  display: block;
  padding: 12px 14px;
  font-size: 0.95rem;
}

.shockley-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(23, 21, 18, 0.78);
}

.shockley-lightbox[aria-hidden="false"] {
  display: flex;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 24px;
  width: min(1180px, 100%);
  height: min(820px, calc(100vh - 56px));
  max-height: calc(100vh - 56px);
}

.lightbox-image-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #171512;
}

.lightbox-image-panel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.lightbox-info {
  align-self: stretch;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lightbox-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-info h2 {
  margin: 0 0 24px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.lightbox-info dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.lightbox-info dt {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-info dd {
  margin: 2px 0 0;
  font-size: 1.08rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(23, 21, 18, 0.78);
  color: #fff;
  font: 28px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.lightbox-close {
  top: 10px;
  right: 10px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: calc(300px + 34px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #f3eee4;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  text-align: center;
}

.footer-inner p {
  margin: 7px 0;
  color: #e2d8ca;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #d9b6a4;
}

.footer-social svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-social svg path {
  fill: currentColor;
  stroke: none;
}

.ada {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
  margin: 14px auto 0;
  font-size: 0.78rem !important;
  line-height: 1.7;
  text-align: center;
}

.ada span {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 820px) {
  .brand-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .brand-name {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    white-space: normal;
  }

  .brand-meta {
    align-items: center;
    justify-self: center;
    transform: none;
  }

  .brand-logo img {
    margin: 0 auto;
    max-height: 92px;
  }

  .nav-inner {
    justify-content: flex-end;
    min-height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .menu-close {
    position: fixed;
    z-index: 21;
    top: 18px;
    right: 28px;
    display: grid;
    place-items: center;
  }

  .primary-menu {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(310px, 82vw);
    display: block;
    padding: 82px 28px 28px;
    background: var(--white);
    box-shadow: -20px 0 38px rgba(23, 21, 18, 0.16);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  body.menu-open .primary-menu {
    transform: translateX(0);
  }

  .primary-menu a {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .hero-slider,
  .footer-inner,
  .brand-row,
  .nav-inner {
    width: min(100% - 28px, 1120px);
  }

  .slideshow,
  .slide img {
    min-height: 420px;
  }

  .hero-slider .slideshow,
  .hero-slider .slide img {
    height: min(620px, calc(100vh - 150px));
    max-height: min(620px, calc(100vh - 150px));
    min-height: 0;
  }

  .ada {
    width: 100%;
  }

  .contact-form,
  .two-up,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .shockley-lightbox {
    padding: 16px;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 12px;
    height: auto;
    max-height: 94vh;
    overflow: auto;
  }

  .lightbox-image-panel {
    min-height: 280px;
    height: min(58vh, 520px);
  }

  .lightbox-info {
    padding: 20px;
  }

  .lightbox-next {
    right: 10px;
  }
}
