/* ============================================================
   Niemiller Art — shared stylesheet
   Minimalist gallery aesthetic: warm neutrals, black ink text,
   one terracotta accent, generous whitespace, big imagery.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@400;500&display=swap');

:root {
  --bg: #fafaf7;
  --bg-alt: #f1ede5;
  --ink: #1c1a17;
  --ink-soft: #6b6459;
  /* Brand palette */
  --navy: #364052;
  --navy-dark: #262e3b;
  --yellow: #ffc75a;
  --yellow-dark: #f5b43a;
  --pink: #ffae9c;
  --pink-dark: #ff9a85;
  --blue: #b9d0dd;
  --blue-dark: #9fbccd;
  --accent: var(--navy);
  --accent-dark: var(--navy-dark);
  --line: #e4ddd0;
  --white: #ffffff;
  --max-w: 1180px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(28, 26, 23, 0.08);
  --font-head: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.9em;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--pink); border-color: var(--pink); color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-light:hover { background: var(--white); color: var(--ink); }

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}
.logo em { color: var(--accent); font-style: italic; font-weight: 400; }
.logo-mark {
  height: 90px;
  width: auto;
  display: block;
}
.footer-top .logo-mark {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
}

.nav-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: border-color .2s, color .2s;
}
.nav-social a:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}

/* Overlay header — home page only: transparent, floats on top of the hero
   image instead of a solid bar, so the hero photo fills the very top of
   the page. */
.header-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--header-h, 126px);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h, 126px));
    height: calc(100dvh - var(--header-h, 126px));
    overflow-y: auto;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .nav-social { display: none; }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(250,250,247,0.5) 9%, transparent 24%),
    radial-gradient(125% 105% at 50% 48%, transparent 52%, var(--bg) 100%),
    linear-gradient(90deg, rgba(20,17,14,0.55) 0%, rgba(20,17,14,0.22) 42%, rgba(20,17,14,0.06) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 560px;
  padding: 0 24px;
  margin: 0;
  margin-left: max(24px, calc((100% - var(--max-w)) / 2));
  width: 100%;
}
.hero-content .eyebrow { color: var(--white); opacity: 0.85; }
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 0.4em;
}
.hero-content h1 em { font-style: italic; color: var(--yellow); }
.hero-content p {
  font-size: 1.05rem;
  max-width: 460px;
  opacity: 0.92;
  margin-bottom: 1.6em;
}
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
  margin-bottom: 0.9em;
}
.hero-stack span {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.15;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Sections ---------------- */

section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--ink-soft); }

/* Banner (Abstract Series) */
.banner {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 340px;
  display: flex;
  align-items: center;
  color: var(--white);
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,17,14,0.65) 10%, rgba(20,17,14,0.15) 80%);
}
.banner-content { position: relative; z-index: 1; padding: 40px 48px; max-width: 480px; min-width: 0; width: 100%; }
.banner-content h3 { font-size: 1.8rem; margin-bottom: 0.3em; }
.banner-content p { opacity: 0.9; margin-bottom: 1.4em; }

/* Wave dividers between sections.
   Each wave sits above its section and covers the bottom of the section before it.
   The wave curve fills ~40% of its height, so a section's visible area is shifted
   up by --wave-shift. Content padding below is balanced by that amount so it looks
   centered between the curves. */
:root { --wave-h: 90px; --wave-shift: 54px; }
.wave-divider {
  position: absolute;
  top: 0; left: 0; right: 0;
  transform: translateY(-99%);
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: var(--wave-h);
}

/* Shop links section */
.shop-links-section {
  position: relative;
  background: var(--bg-alt);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(70px - var(--wave-shift)) 0 calc(70px + var(--wave-shift));
}
.shop-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}
.shop-btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  padding: 24px 64px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.shop-btn:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(54,64,82,0.22); }

/* Split feature (image + copy side-by-side, e.g. Abstract Series) */
.split-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-feature-media {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.split-feature-media:hover img { transform: scale(1.03); }
.split-feature-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.split-feature-copy p { color: var(--ink-soft); margin-bottom: 1.6em; }
.split-feature-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pill-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--blue);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.pill-btn:hover { background: var(--pink); transform: translateY(-1px); }

@media (max-width: 820px) {
  .split-feature { grid-template-columns: 1fr; gap: 32px; }
}

/* Custom Artwork ticker */
.custom-ticker-section { position: relative; padding-top: calc(88px - var(--wave-shift)); padding-bottom: 0; }
.custom-ticker-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 88px;
}
.custom-ticker-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0; }
.custom-ticker-head .btn-primary {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 12px;
  font-size: 1.05rem;
  padding: 18px 48px;
}
.custom-ticker-head .btn-primary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 12px 24px rgba(54,64,82,0.22); }

.ticker {
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: tickerScroll 26s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--ink);
  white-space: nowrap;
  padding: 0 28px;
  border-right: 1px solid rgba(28,26,23,0.25);
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Gallery preview — a few pieces pinned in place while the quote/link
   scrolls past them. */
.gallery-preview-section {
  position: relative;
  min-height: 200vh;
  background: var(--navy);
}
.gallery-preview-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.gp-img {
  position: absolute;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
/* Scattered, overlapping collage (percentages of the pinned screen) */
.gp-img-1 { top: 4%;    left: 6%;   width: 26%; height: 36%; transform: rotate(-2deg); z-index: 2; }
.gp-img-2 { top: 36%;   left: 19%;  width: 11%; height: 26%; transform: rotate(4deg); z-index: 3; }
.gp-img-3 { bottom: 3%; left: 3%;   width: 14%; height: 34%; transform: rotate(-3deg); z-index: 4; }
.gp-img-4 { top: 10%;   left: 41%;  width: 14%; height: 34%; transform: rotate(-3deg); z-index: 1; }
.gp-img-5 { bottom: 4%; left: 36%;  width: 27%; height: 38%; transform: rotate(-1.5deg); z-index: 2; }
.gp-img-6 { top: 4%;    right: 12%; width: 24%; height: 26%; transform: rotate(2deg); z-index: 2; }
.gp-img-7 { top: 34%;   right: 2%;  width: 12%; height: 26%; transform: rotate(-2.5deg); z-index: 3; }
.gp-img-8 { bottom: 6%; right: 4%;  width: 15%; height: 29%; transform: rotate(3deg); z-index: 4; }

.gallery-preview-text {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  z-index: 10;
  text-shadow: 0 2px 18px rgba(20,26,36,0.65);
  text-align: center;
  padding: 0 24px;
  max-width: 620px;
  margin: 0 auto;
}
.gallery-preview-text p {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 0.5em;
}
.gallery-preview-text em { font-style: italic; color: var(--yellow); }
.gallery-preview-text .text-link {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(38,46,59,0.6);
  border-radius: 999px;
  text-shadow: none;
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.gallery-preview-text .text-link:hover { color: var(--white); }

@media (max-width: 700px) {
  /* The pinned-image effect needs room to breathe; on small screens it
     just becomes a simple static collage so nothing feels cramped. */
  .gallery-preview-section { min-height: 0; }
  .gallery-preview-sticky {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 48px 20px 8px;
  }
  .gp-img {
    position: static;
    width: 100%;
    height: 160px;
    transform: none;
  }
  .gallery-preview-text {
    position: relative;
    top: auto;
    padding: 12px 24px 48px;
  }
}

/* Simplified footer — home page only */
.footer-simple-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 8px 0 28px;
}
.footer-simple-menu {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-simple-menu a:hover { color: var(--accent); }
.footer-simple-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.category-card .price {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.6em;
}
.category-card h3 { font-size: 1.15rem; }
.category-card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: var(--bg-alt);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(20,17,14,0.75), rgba(20,17,14,0));
  color: var(--white);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Portfolio masonry wall — keeps each photo's real aspect ratio and
   arranges them in a natural, staggered collage instead of a rigid grid. */
.gallery-wall {
  columns: 3 300px;
  column-gap: 18px;
}
.gallery-wall .gallery-item {
  display: block;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 18px;
}
.gallery-wall .gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
}
@media (max-width: 900px) {
  .gallery-wall { columns: 2 220px; }
}
@media (max-width: 560px) {
  .gallery-wall { columns: 2 140px; column-gap: 10px; }
  .gallery-wall .gallery-item { margin-bottom: 10px; }
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  background: var(--white);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 11, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  text-align: center;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* About / Bio */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-copy p { color: var(--ink-soft); }
.about-copy .signature {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: 1.2em;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-info h3 { font-size: 1.2rem; margin-top: 1.4em; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p, .contact-info a { color: var(--ink-soft); }
.contact-info a:hover { color: var(--accent); }

.social-row { display: flex; gap: 14px; margin-top: 10px; }
.social-row a {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 64px 32px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 1.8em; }

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: var(--bg-alt);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { min-height: 90vh; }
  .banner-content { padding: 28px; }
}

/* Contact form helpers */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: 0.95rem; min-height: 1.4em; color: var(--ink-soft); }
.form-status.ok { color: var(--navy); font-weight: 500; }
.form-status.err { color: #b3475a; }


/* ---------------- Custom Artwork page ---------------- */
.custom-hero { text-align: center; padding: 96px 0 calc(72px + var(--wave-shift)); }
.custom-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.4em; }
.custom-hero p { max-width: 620px; margin: 0 auto 1.8em; color: var(--ink-soft); font-size: 1.05rem; }
.custom-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.custom-cats-section { padding: calc(88px - var(--wave-shift)) 0 calc(88px + var(--wave-shift)); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cat-card-art {
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink);
  color: var(--navy);
}
.cat-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card-body h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.cat-card-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1em; }
.cat-card-link { margin-top: 0; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--accent); }
.cat-card:hover .cat-card-link { color: var(--accent-dark); text-decoration: underline; }

.custom-steps-section { padding: calc(88px - var(--wave-shift)) 0 calc(88px + var(--wave-shift)); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 28px;
}
.steps li { text-align: center; flex: 1 1 190px; max-width: 230px; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink); border: 0; color: var(--navy);
  font-family: var(--font-head); font-size: 1.15rem;
  margin-bottom: 14px;
}

.custom-request-section { padding: calc(88px - var(--wave-shift)) 0 calc(88px + var(--wave-shift)); }
.commission-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.optional { text-transform: none; letter-spacing: 0; opacity: 0.75; }

.custom-faq-section { padding: calc(88px - var(--wave-shift)) 0 88px; }
.faq-wrap { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .steps li { flex-basis: 100%; max-width: 360px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Reference photo upload */
.photo-upload { border: 0; margin: 0; padding: 0; min-width: 0; }
.photo-upload legend {
  padding: 0; margin-bottom: 6px;
  font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft);
}
.photo-upload .form-note { margin: 0 0 10px; }
.photo-slot { margin-bottom: 10px; }
.contact-form .photo-slot input[type="file"] { padding: 9px 12px; cursor: pointer; }
.contact-form .photo-slot input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 14px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font-family: var(--font-body); font-size: 0.85rem; cursor: pointer;
}
.js .photo-slot-extra { display: none; }
.js .photo-slot-extra.show { display: block; }

/* Category card pricing */
.cat-card-price { margin: auto 0 14px; }
.price-row { line-height: 1.5; }
.price-main { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.price-detail { font-size: 0.85rem; color: var(--ink-soft); margin-left: 4px; }
.price-note { text-align: center; color: var(--ink-soft); font-size: 0.9rem; max-width: 560px; margin: 36px auto 0; }
