:root {
  --bg: #ffffff;
  --header-height: 72px;
  --surface: rgba(0, 0, 0, 0.04);
  --text: #06121a;
  --muted: #6b7280;
  --accent: #000000;
  --accent-strong: #111827;
  --shadow: 0 20px 40px rgba(12, 16, 24, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 60%, #f7f9fc 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

@keyframes fadeInFromWhite {
  from {
    opacity: 0;
    background-color: #686767;
  }
  to {
    opacity: 1;
    background-color: transparent;
  }
}

@keyframes fadeInCard {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

button,
input,
textarea,
a {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 40;
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(12, 16, 24, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  transition: padding 180ms ease, transform 180ms ease;
}

/* When header also has header-centered, keep layout horizontal on wide screens */
.header-inner.header-centered {
  flex-direction: row;
  align-items: center;
}

.site-header.scrolled .header-inner {
  padding: 0.75rem 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 300;
  color: #06121a;
  text-decoration: none;
  letter-spacing: 0.24em;
  font-stretch: condensed;
}
.site-header.scrolled .brand {
  font-size: 1rem;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.25s ease;
}

.social-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
}

.hero {
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 60%, #f7f9fc 100%);
}
.hero-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
}
.hero-content {
  max-width: 880px;
  text-align: center;
}

.hero-visual {
  display: block;
  max-width: 105%;
  margin: 0 auto 1rem;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center center;
  margin-inline: 0;
  transform: scale(1.05);
  animation: fadeInFromWhite 1.4s ease-out;
}


.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.about h2 {
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.contact h2 {
  font-weight: 300;
}

.contact-intro {
  color: var(--muted);
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-copy,
.about p,
.sell-card p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border-color: rgba(0, 0, 0, 0.12);
}

.featured,
.about,
.sell,
.contact {
  padding: 4rem 0;
}

.thank-you-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: #fafafa;
  padding: 4rem 0 8rem;
}

.thank-you-card {
  max-width: 560px;
}

.thank-you-card h1 {
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.thank-you-card p {
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 2rem;
}

.about {
  font-weight: 300;
}

/* Apply the same light background and safe-bottom padding to works and about pages */
.featured,
.about {
  background: #fafafa;
  padding-bottom: 220px; /* leave room for the fixed black banner */
}

.section-heading {
  margin-bottom: 2rem;
}

.works-page-section {
  padding-top: 5rem;
}

.works-page-section .section-heading,
.works-page-section .section-categories,
.works-page-section .gallery-large {
  width: min(1120px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.works-page-section .gallery-large {
  margin-top: 2.75rem;
}

.works-page-section .section-heading h2 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 2.5vw, 2.4rem);
}

.heading-divider-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.heading-divider-row h2 {
  margin-bottom: 0;
  white-space: nowrap;
}

.section-divider {
  flex: 1;
  height: 1px;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  margin: 0;
}

.section-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2.5rem;
  row-gap: 1.25rem;
  width: 100%;
  margin: 2.5rem 0 0;
  padding: 0.65rem 1rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 50px;
  z-index: 30;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(6px);
}



.category-tag {
  display: inline;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.category-tag:hover {
  color: var(--accent);
}

.category-tag.active {
  color: var(--text);
  font-weight: 600;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-family: ui-serif, Georgia, 'Times New Roman', Times, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
} 



.gallery-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 100%;
}

.gallery-large {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.3rem;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .works-page-section {
    padding-top: 5.5rem;
  }

  .works-page-section .section-heading,
  .works-page-section .section-categories,
  .works-page-section .gallery-large {
    width: min(1240px, calc(100% - 2rem));
  }

  .gallery-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .works-page-section .section-heading,
  .works-page-section .section-categories,
  .works-page-section .gallery-large {
    width: min(1380px, calc(100% - 2rem));
  }

  .gallery-large {
    gap: 3rem;
  }
}

.art-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  animation: fadeInCard .5s ease-out forwards;
  opacity: 0;
  transition: transform 180ms ease;
}

.works-page-section .art-card:hover {
  transform: translateY(-3px);
}

.art-card:nth-child(1) {
  animation-delay: 0s;
}

.art-card:nth-child(2) {
  animation-delay: 0.3s;
}

.art-card:nth-child(3) {
  animation-delay: 0.6s;
}

.art-card:nth-child(4) {
  animation-delay: 0.9s;
}

.art-card:nth-child(5) {
  animation-delay: 1.2s;
}

.art-card:nth-child(6) {
  animation-delay: 1.5s;
}

.category-spacer {
  grid-column: 1 / -1;
  height: 0;
  padding: 3rem 0 1.25rem;
}

.works-section-title {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text);
  margin: 0 0 0.75rem;
}

@media (max-width: 820px) {
  .category-spacer {
    padding: 2rem 0 1rem;
  }
}

.art-card .art-swatch {
  border-radius: 0;
}

.art-card .art-swatch-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  cursor: zoom-in;
}

.art-card[data-category="texture"] .art-swatch-image,
.art-card[data-category="coffee"] .art-swatch-image {
  box-shadow: 8px 10px 18px rgba(8, 12, 18, 0.24);
}

.art-card.slightly-bright .art-swatch-image {
  filter: brightness(1.06);
}


.card-body {
  padding: 0.85rem 0.1rem 0.2rem;
}

.art-swatch {
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
  aspect-ratio: var(--art-ratio, 4 / 5);
  background-size: cover;
  background-position: center;
}

.swatch-1 {
  background: radial-gradient(circle at 20% 20%, #f5f5f5 0%, #c1c1c1 45%, #6d6d6d 100%);
}

.swatch-thoughtsinspace {
  background-image: url('thoughtsinspace.jpg');
}

.swatch-2 {
  background: radial-gradient(circle at 80% 20%, #e9e9e9 0%, #a8a8a8 45%, #5b5b5b 100%);
}

.swatch-3 {
  background: radial-gradient(circle at 50% 50%, #dfdfdf 0%, #8f8f8f 45%, #434343 100%);
}

.art-card h3 {
  font-size: 0.84rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.art-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.coming-soon-text {
  text-align: center;
  font-size: 1.15rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  letter-spacing: 0.04em;
}

.art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.art-lightbox.is-open {
  display: grid;
  place-items: center;
}

.art-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 16, 0.82);
}

.art-lightbox-dialog {
  position: relative;
  width: min(920px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: visible;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 0.85rem 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.art-lightbox-close {
  position: absolute;
  top: -0.6rem;
  right: -6rem;
  min-width: 5.2rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #ffffff;
  color: #0f1720;
  border-radius: 0.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  padding: 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.art-lightbox-close:hover {
  background: #f5f5f5;
}

@media (max-width: 820px) {
  .art-lightbox-close {
    right: 0.2rem;
    top: 0.2rem;
    min-width: 4.8rem;
    height: 2.2rem;
  }
}

.art-lightbox-image {
  width: 100%;
  height: auto;
  margin-top: 0.85rem;
  max-height: calc(100vh - 10.5rem);
  object-fit: contain;
}

.art-lightbox-title {
  margin-top: 0.85rem;
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.art-lightbox-description {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.price {
  color: var(--accent);
  font-weight: 700;
}

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-grid > div:first-child {
  max-width: 500px;
}

.contact-grid p {
  font-weight: 300;
}

.about-highlight {
  background: none;
  padding: 0;
  border-radius: 0;
  border: none;
}

.about-highlight img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.highlight-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.about-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-highlight li {
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.sell-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  padding: 0.75rem 0;
  background: transparent;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: rgba(0, 0, 0, 0.35);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(15, 18, 23, 0.45);
  opacity: 1;
}

.contact-form button,
.thank-you-card .button {
  width: fit-content;
  border-radius: 0;
  padding: 1rem 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.site-footer {
  padding: 1.5rem 0;
  background: #f8fafc;
}

.dark-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.45);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

/* Contact page requirement: grey all footer text except Dakota Bustraan */
.dark-footer * {
  color: rgba(255, 255, 255, 0.45);
}

/* Keep Dakota Bustraan bright (the header in footer) */
.dark-footer .footer-brand-name {
  color: rgba(255, 255, 255, 1) !important;
}

/* Also ensure the @DAKOTAZHOU.ART text stays greyed */
.dark-footer .footer-social {
  color: rgba(255, 255, 255, 0.45) !important;
}


/* Footer section title + nav links should be grey by default */
.dark-footer .footer-section-title,
.dark-footer .footer-nav a,
.dark-footer .footer-copyright,
.dark-footer .footer-brand-tagline {
  color: rgba(255, 255, 255, 0.45) !important;
}

.dark-footer .footer-social-with-icon svg {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Restore hover brightness */
.dark-footer .footer-social:hover,
.dark-footer .footer-nav a:hover {
  color: rgba(255, 255, 255, 1) !important;
}



.dark-footer-inner {  display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 4rem;  margin-bottom: 3rem;  align-items: start;}

.footer-column {  display: flex;  flex-direction: column;  gap: 2rem;  align-items: flex-start !important;  text-align: left !important;}

.footer-branding {
  margin-left: -4rem;
}

.footer-branding h3 {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  color: #ffffff;
}

.footer-brand-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.5;
  font-weight: 300;
}



.footer-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 1rem 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
  font-weight: 300;
}



.footer-nav a:hover {
  color: #ffffff;
}

.footer-social {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
  font-weight: 300; /* match other footer column text */
}

.footer-social:hover {
  color: #ffffff;
}


.footer-social-with-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.footer-social-with-icon svg {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.footer-social-with-icon:hover svg {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.footer-bottom-inner {  display: flex;  justify-content: flex-start;  align-items: center;  padding-left: 0;}

.footer-copyright {  font-size: 0.8rem;  color: rgba(255, 255, 255, 0.58);  margin: 0;  padding-left: 0;  margin-left: -10rem;}

.contact {
  background: #fafafa;
  /* Give extra whitespace after the submit button so the footer doesn't feel cramped. */
  padding-bottom: 11rem;
}


.contact-form button.button-primary {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: center;
  color: var(--muted);
}

@media (max-width: 820px) {
  .header-inner,
  .about-grid,
  .contact-grid {
    display: block;
  }

  .hero {
    padding-top: 4rem;
  }

  .main-nav {
    display: none;
  }

  .main-nav[data-visible="true"] {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .hero-copy,
  .section-heading h2,
  .about p {
    font-size: 0.98rem;
  }

  .art-card {
    padding: 1.25rem;
  }
}

/* Placeholder slideshow styles */
.slideshow-placeholder {
  min-height: 100vh;
  width: 100%;
  background: #e5e7eb; /* neutral gray */
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-placeholder .placeholder-text {
  color: #374151;
  font-size: 1.125rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Full-width gray placeholder for index hero */
.full-width-placeholder {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  background: #e5e7eb;
  display: block;
  position: relative;
}

.placeholder-copyright {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #000000;
  font-size: 0.75rem;
  margin: 0;
  font-weight: 400;
  opacity: 0.7;
}
