/* ==========================================================================
   Niko's Miniatures
   Dark bone-and-charcoal palette drawn from the circular badge logo.
   Mobile-first. Edit prices in /js/prices.js, not here.
   ========================================================================== */

:root {
  --bg: #0a0908;
  --bg-raised: #12100e;
  --bg-card: #161411;
  --bg-header: rgba(10, 9, 8, 0.88);
  --bone: #e6e3de;
  --bone-soft: #c8c2b8;
  --bone-dim: #8f8a82;
  --line: rgba(230, 227, 222, 0.16);
  --line-strong: rgba(230, 227, 222, 0.32);
  --ink: #2c2f2c;
  --focus: #e6e3de;
  --danger: #e8b4b0;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --font-display: "IM Fell English SC", Georgia, serif;
  --font-label: "Cinzel", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --space: 1.25rem;
  --wide: 68rem;
  --narrow: 42rem;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bone-soft);
  background: var(--bg);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("../images/noise.png");
  background-size: 128px 128px;
  opacity: 0.045;
  mix-blend-mode: overlay;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--bone);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: var(--bone);
  color: var(--bg);
  padding: 0.6rem 0.9rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--bg-header);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--bone);
  min-width: 0;
}

.brand:hover { color: var(--bone); }

.brand__logo {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: #000;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.brand__tag {
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 0.22rem;
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 45;
  background: #0a0908;
  padding: 1.25rem 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  overflow: auto;
}

.site-nav.is-open { display: flex; }

.site-nav a {
  text-decoration: none;
  color: var(--bone-soft);
  font-size: 1.15rem;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid var(--line);
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--bone); }

.site-nav .nav-cta {
  margin-top: 1rem;
  border: 1px solid var(--bone);
  text-align: center;
  padding: 0.75rem 1rem;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.15rem;
    background: transparent;
    padding: 0;
    overflow: visible;
  }

  .site-nav a {
    font-size: 0.95rem;
    padding: 0.2rem 0;
    border: 0;
    color: var(--bone-soft);
  }

  .site-nav a.nav-cta {
    border: 1px solid var(--bone);
  }

  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--bone);
  }
}

/* -------------------------------------------------------------------------- */
/*  Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

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

.btn--ghost {
  background: transparent;
  color: var(--bone);
}

.btn--ghost:hover {
  background: rgba(230, 227, 222, 0.08);
  color: #fff;
}

.btn--small {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* -------------------------------------------------------------------------- */
/*  Layout                                                                     */
/* -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 4.25rem 0;
}

.section--tight { padding-top: 2.5rem; }

.section__kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 5.5vw, 3.4rem);
  line-height: 1.2;
  color: var(--bone);
  letter-spacing: 0.03em;
}

.section__lede {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--bone-soft);
  font-size: 1.1rem;
}

.section-head {
  margin-bottom: 2rem;
}

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

.hero {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0 2.75rem;
  text-align: center;
  overflow-x: hidden;
}

.hero__grid {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
}

.hero__copy,
.hero__actions {
  width: 100%;
}

.hero__logo {
  width: min(42vw, 11rem);
  height: auto;
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  width: min(100%, 22rem);
}

.hero__art::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 20%;
  bottom: 2%;
  background: radial-gradient(ellipse at 50% 74%, rgba(255, 120, 30, 0.4), rgba(255, 70, 10, 0.14) 42%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero__art picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.hero__mini {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.55));
}

@media (min-width: 900px) {
  .hero {
    text-align: left;
    padding: 2.25rem 0 2.75rem;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    grid-template-areas:
      "copy art"
      "actions art";
    align-items: start;
    column-gap: 2.5rem;
    justify-items: stretch;
  }
  .hero__copy { grid-area: copy; padding-top: 1rem; }
  .hero__art { grid-area: art; width: 100%; max-width: none; }
  .hero__actions { grid-area: actions; }
  .hero__logo { margin-left: 0; width: 9.5rem; }
  .hero__lede { margin-left: 0; margin-right: 0; }
  .hero .btn-row { justify-content: flex-start; }
  .hero__meta { justify-content: flex-start; margin-left: 0; }
  .hero__mini { max-height: 38rem; }
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
@media (max-width: 899px) {
  .hero__kicker { letter-spacing: 0.18em; }
}

.hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__lede {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 1.15rem;
  color: var(--bone-soft);
}

.hero .btn-row {
  justify-content: center;
}

.hero__meta {
  margin: 1.6rem auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.35rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__meta li + li::before {
  content: "·";
  margin-right: 0.15rem;
  color: var(--line-strong);
  display: none;
}

/* -------------------------------------------------------------------------- */
/*  About                                                                      */
/* -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}

.about-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-label);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 600;
}

.about-card p {
  margin: 0;
  color: var(--bone-soft);
}

.prose p + p { margin-top: 1rem; }

@media (min-width: 760px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 2.5rem;
  }

  .about-side {
    display: grid;
    gap: 1rem;
  }
}

/* -------------------------------------------------------------------------- */
/*  Tiers + price table                                                        */
/* -------------------------------------------------------------------------- */

.tier-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 700px) {
  .tier-grid { grid-template-columns: 1fr 1fr; }
}

.tier-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  position: relative;
}

.tier-card.is-popular {
  border-color: var(--line-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

.tier-card__badge {
  margin: 0 0 0.7rem;
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--bone);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.tier-card__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--bone);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.tier-card__tagline {
  margin: 0 0 0.75rem;
  color: var(--bone);
  font-weight: 600;
}

.tier-card__body {
  margin: 0;
  color: var(--bone-soft);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

.price-table th,
.price-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bone-dim);
  background: #1a1714;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }

.price-table tbody th { font-weight: 400; }

.price-table__model {
  display: block;
  color: var(--bone);
  font-weight: 650;
  font-size: 1.05rem;
}

.price-table__examples {
  display: block;
  margin-top: 0.2rem;
  color: var(--bone-dim);
  font-size: 0.92rem;
  font-weight: 400;
  max-width: 28rem;
}

.price-table__value {
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.price-table .is-featured {
  background: rgba(230, 227, 222, 0.04);
}

.price-note {
  margin: 1rem 0 0;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

.extras-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.extras-list__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--bg-raised);
}

.extras-list__name {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  color: var(--bone);
  font-weight: 650;
}

.extras-list__detail {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

.extras-list__price {
  margin: 0;
  color: var(--bone);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    padding: 1rem 1.1rem 1.15rem;
    border-bottom: 1px solid var(--line);
  }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table th, .price-table td {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .price-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.55rem;
  }
  .price-table td::before {
    content: attr(data-label);
    color: var(--bone-dim);
    font-family: var(--font-label);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    align-self: center;
  }
  .price-table td.is-featured {
    background: transparent;
    padding: 0.45rem 0.55rem;
    margin-top: 0.45rem;
    border-radius: 8px;
    background: rgba(230, 227, 222, 0.05);
  }
  .price-table__examples { max-width: none; }
  .extras-list__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* -------------------------------------------------------------------------- */
/*  Gallery                                                                    */
/* -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0c0b0a;
  text-decoration: none;
  aspect-ratio: 4 / 5;
}

/* Soft fill behind contain-fitted photos so landscape shots don't letterbox. */
.gallery-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: var(--gallery-bg);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.08);
  transform: scale(1.08);
  pointer-events: none;
  z-index: 0;
}

.gallery-card picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  transition: transform 0.4s ease;
}

.gallery-card--landscape img {
  object-position: center;
}

.gallery-card--ember::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 82%, rgba(255, 110, 30, 0.22), transparent 62%);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.03);
}

.gallery-card--more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.5rem 1.1rem;
  aspect-ratio: 4 / 5;
  background: var(--bg-raised);
  color: var(--bone);
}

.gallery-card--more:hover,
.gallery-card--more:focus-visible {
  border-color: var(--line-strong);
}

.gallery-card--more__kicker {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

.gallery-card--more__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--bone);
}

.gallery-card--more__meta {
  font-size: 0.92rem;
  color: var(--bone-soft);
}

@media (max-width: 799px) {
  .gallery-card--more {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 7.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.75rem;
  }
}

.gallery-card figcaption,
.gallery-card .gallery-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.6rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(10, 9, 8, 0.9));
  color: var(--bone-soft);
  font-size: 0.85rem;
}

.gallery-card--more::before,
.gallery-card--more::after {
  content: none;
  display: none;
}

/* -------------------------------------------------------------------------- */
/*  Shop                                                                       */
/* -------------------------------------------------------------------------- */

.shop-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}

.shop-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shop-card__media {
  position: relative;
  background: #111;
}

.shop-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  font-family: var(--font-label);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bone);
  color: var(--bg);
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
}

.shop-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.shop-card__title {
  margin: 0;
  font-size: 1.08rem;
  color: var(--bone);
}

.shop-card__blurb {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.95rem;
  flex: 1;
}

.shop-card__price {
  margin: 0.25rem 0 0.45rem;
  color: var(--bone);
  font-weight: 700;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.shop-card .btn { align-self: flex-start; }

/* -------------------------------------------------------------------------- */
/*  Process steps                                                              */
/* -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}

.step {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.15rem 1.4rem;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-label);
  letter-spacing: 0.12em;
  color: var(--bone-dim);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  color: var(--bone);
  font-size: 1.15rem;
}

.step p { margin: 0; color: var(--bone-soft); }

/* -------------------------------------------------------------------------- */
/*  FAQ                                                                        */
/* -------------------------------------------------------------------------- */

.faq-list {
  max-width: 46rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__button {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--bone);
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 1.05rem 2.2rem 1.05rem 0;
  cursor: pointer;
  position: relative;
}

.faq-item__button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bone-dim);
  font-weight: 400;
  font-size: 1.4rem;
}

.faq-item__button[aria-expanded="true"]::after { content: "–"; }

.faq-item__panel {
  padding: 0 0 1.15rem;
  color: var(--bone-soft);
}

.faq-item__panel p { margin: 0; }
.faq-item__panel p + p { margin-top: 0.75rem; }

/* -------------------------------------------------------------------------- */
/*  Contact form                                                               */
/* -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-aside p { margin: 0 0 1rem; }

.social-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--bone);
  background: var(--bg-raised);
}

.social-list a:hover { border-color: var(--line-strong); }
.social-list svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

.contact-form {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.4rem;
}

@media (min-width: 700px) {
  .contact-form { padding: 1.6rem 1.5rem 1.7rem; }
}


/* -------------------------------------------------------------------------- */
/*  Discord community widget                                                   */
/* -------------------------------------------------------------------------- */
.discord-community {
  padding-top: 2.5rem;
}
.discord-community__inner {
  display: grid;
  gap: 1.6rem;
  align-items: start;
  justify-items: center;
}
.discord-community__copy {
  max-width: 36rem;
  text-align: center;
}
.discord-community__copy p {
  margin: 0;
  color: var(--bone-soft);
  font-size: 1.1rem;
}
.discord-community__widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 350px;
}
.discord-community__frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius);
  background: #0d0c0b;
}
.discord-community__cta {
  width: 100%;
  margin: 0.85rem 0 0;
  display: flex;
  justify-content: center;
}
.discord-community__join {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}
@media (min-width: 700px) {
  .discord-community__frame { height: 500px; }
}
@media (min-width: 860px) {
  .discord-community__inner {
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    justify-items: stretch;
    align-items: center;
  }
  .discord-community__copy { text-align: left; }
}

.form-row {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}


@media (min-width: 600px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }

.field label {
  font-size: 0.92rem;
  color: var(--bone);
  font-weight: 600;
}

.field .hint {
  font-size: 0.85rem;
  color: var(--bone-dim);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  appearance: none;
  width: 100%;
  background: #0d0c0b;
  color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  line-height: 1.4;
}

.field textarea { min-height: 9.5rem; resize: vertical; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 0;
  border-color: var(--bone);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.9rem 0 0;
  color: var(--bone-soft);
}

.form-status.is-error { color: var(--danger); }

/* -------------------------------------------------------------------------- */
/*  Footer + lightbox                                                          */
/* -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

.site-footer__inner {
  width: min(100% - 2rem, var(--wide));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a { color: var(--bone-soft); text-decoration: none; }
.site-footer a:hover { color: var(--bone); text-decoration: underline; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 1.5rem;
}

.lightbox[hidden] { display: none; }

.lightbox__image {
  max-width: min(100%, 56rem);
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__caption {
  margin: 0.8rem 0 0;
  color: var(--bone-soft);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  color: var(--bone);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}

/* -------------------------------------------------------------------------- */
/*  Thanks page                                                                */
/* -------------------------------------------------------------------------- */

.thanks {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h) - 7rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}

.thanks h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--bone);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin: 0 0 0.8rem;
}

.thanks p { margin: 0 auto 1.5rem; max-width: 28rem; }


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.shop-cta {
  margin: 0 0 0.25rem;
}

.section-head .shop-cta {
  margin-top: -0.5rem;
  margin-bottom: 0;
}

.shop-card__badge--sold {
  background: rgba(18, 16, 14, 0.92);
  color: var(--bone);
  border: 1px solid var(--line-strong);
}

.shop-card.is-sold .shop-card__media img {
  opacity: 0.68;
}

/* -------------------------------------------------------------------------- */
/*  Home teaser — New to painting?                                             */
/* -------------------------------------------------------------------------- */

.tips-teaser {
  position: relative;
  z-index: 1;
  padding: 0 0 0.5rem;
}

.tips-teaser__inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tips-teaser__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.tips-teaser__copy .section__kicker { margin-bottom: 0.35rem; }

.tips-teaser__copy h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--bone);
}

.tips-teaser__copy p {
  margin: 0;
  color: var(--bone-soft);
  max-width: 36rem;
}

/* A slightly tighter desktop nav once Tips is added */
@media (min-width: 960px) and (max-width: 1240px) {
  .site-nav { gap: 0.15rem 0.75rem; }
  .site-nav a { font-size: 0.88rem; }
  .site-nav .nav-cta { margin-left: 0.25rem; padding: 0.4rem 0.75rem; }
}

/* -------------------------------------------------------------------------- */
/*  Tips list & guide                                                          */
/* -------------------------------------------------------------------------- */

.tips-page {
  padding-top: 0.5rem;
  min-height: calc(100vh - var(--header-h) - 7rem);
}

.tips-hero { padding-top: 2.5rem; }

.tips-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
}

.tips-chip {
  appearance: none;
  background: transparent;
  color: var(--bone-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
}

.tips-chip:hover,
.tips-chip:focus-visible {
  color: var(--bone);
  border-color: var(--line-strong);
}

.tips-chip.is-active {
  background: var(--bone);
  color: var(--bg);
  border-color: var(--bone);
}

.tips-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .tips-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .tips-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.tips-card {
  margin: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

.tips-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tips-card__link:hover .tips-card__title,
.tips-card__link:focus-visible .tips-card__title {
  color: #fff;
}

.tips-card__cover {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  background: #111;
}

.tips-card__cover--empty {
  background:
    radial-gradient(circle at 30% 20%, rgba(230, 227, 222, 0.08), transparent 50%),
    var(--bg-card);
}

.tips-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.tips-card__tags,
.tip-guide__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tips-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

.tips-tag--diff { color: var(--bone-soft); }

.tips-tag--starter {
  color: var(--bg);
  background: var(--bone-soft);
  border-color: var(--bone-soft);
}

.tips-card__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--bone);
  overflow-wrap: anywhere;
}

.tips-card__excerpt {
  margin: 0;
  color: var(--bone-soft);
  font-size: 0.98rem;
}

.tips-empty {
  color: var(--bone-dim);
  margin: 0 0 2rem;
}

.tip-guide {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
  padding-top: 2.25rem;
}

.tip-guide__back {
  margin: 0 0 1rem;
}

.tip-guide__back a {
  color: var(--bone-soft);
  text-decoration: none;
}

.tip-guide__back a:hover { color: var(--bone); }

.tip-guide__meta { margin: 0 0 1rem; }

.tip-guide__starter {
  margin: 0 0 1.25rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-raised);
  color: var(--bone-dim);
  font-size: 0.95rem;
}

.tip-guide__cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 0 1.35rem;
  background: #111;
}

.tip-guide__excerpt {
  margin: 0 0 1.4rem;
  font-size: 1.12rem;
  color: var(--bone-soft);
}

.tip-guide__prose {
  color: var(--bone-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.tip-guide__prose h2,
.tip-guide__prose h3,
.tip-guide__prose h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--bone);
  margin: 1.75rem 0 0.7rem;
}

.tip-guide__prose h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.tip-guide__prose h3 { font-size: 1.35rem; }
.tip-guide__prose h4 { font-size: 1.2rem; }

.tip-guide__prose p { margin: 0 0 1rem; }

.tip-guide__prose ul,
.tip-guide__prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.tip-guide__prose li { margin: 0 0 0.4rem; }

.tip-guide__prose a { color: var(--bone); }

.tip-guide__prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.75rem 0 1.1rem;
}

.tip-guide__prose blockquote {
  margin: 0 0 1.15rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--line-strong);
  color: var(--bone);
}

.tip-guide__prose code {
  font-size: 0.92em;
  background: var(--bg-raised);
  padding: 0.05em 0.35em;
  border-radius: 4px;
}

.tip-guide__prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0;
}

.tip-guide__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
}

/* -------------------------------------------------------------------------- */
/*  Public & shared recipe views                                               */
/* -------------------------------------------------------------------------- */

.recipe-primer { margin: 0 0 1rem; color: var(--bone-soft); }

.recipe-photos {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.recipe-photos .recipe-photo:first-child {
  grid-column: 1 / -1;
}

.recipe-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}

.recipe-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.recipe-step {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 0.9rem;
  min-width: 0;
}

.recipe-step__index {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 0.25rem;
}

.recipe-step__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--bone);
  overflow-wrap: anywhere;
}

.recipe-step p { margin: 0 0 0.4rem; color: var(--bone-soft); }

@media (min-width: 960px) and (max-width: 1320px) {
  .site-nav { gap: 0.1rem 0.62rem; }
  .site-nav a { font-size: 0.84rem; }
}

/* -------------------------------------------------------------------------- */
/*  Find a Painter directory                                                   */
/* -------------------------------------------------------------------------- */

.painter-disclaimer {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-left-width: 4px;
  border-radius: 10px;
  background: var(--bg-raised);
  color: var(--bone-soft);
  font-size: 0.95rem;
  max-width: 48rem;
}

.painter-disclaimer strong { color: var(--bone); }

.painter-filters {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}

.painter-filters__top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.painter-filters__search { flex: 1 1 auto; min-width: 0; }
.painter-filters__toggle { flex: 0 0 auto; min-height: 44px; }

.painter-filters__more {
  display: none;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  align-items: end;
}

.painter-filters__more.is-open { display: grid; }

.painter-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 560px) {
  .painter-filters__more { grid-template-columns: 1fr 1fr; }
  .painter-filters__row { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .painter-filters__toggle { display: none; }
  .painter-filters__more { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.painter-filters__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--bone-soft);
  font-size: 0.95rem;
}

.painter-filters__check input { width: 1.1rem; height: 1.1rem; accent-color: var(--bone); }

.painter-count {
  margin: 0 0 1rem;
  color: var(--bone-dim);
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.painter-note {
  margin: 0.75rem 0 0;
  color: var(--bone-dim);
  font-size: 0.88rem;
}

.painter-card.is-featured { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(230, 227, 222, 0.12); }

.painter-card__place {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

.painter-card__price {
  margin: 0.15rem 0 0;
  color: var(--bone);
  font-weight: 600;
  font-size: 0.95rem;
}

.painter-status {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--bone-soft);
}

.painter-status--open { border-color: #7fb88a; color: #b7e0bf; background: rgba(127, 184, 138, 0.12); }
.painter-status--waitlist { border-color: #d6b668; color: #f2dc9b; background: rgba(214, 182, 104, 0.12); }
.painter-status--closed { border-color: var(--line); color: var(--bone-dim); }

.painter-detail { padding-top: 2.25rem; }

.painter-demo-flag {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.3rem 0.65rem;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--bone-soft);
  font-size: 0.88rem;
}

.painter-detail__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .painter-detail__grid { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
  .painter-detail__side { position: sticky; top: calc(var(--header-h) + 1rem); }
}

.painter-h2 {
  margin: 1.75rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--bone);
}

.painter-detail__main > .painter-h2:first-child { margin-top: 0; }

.painter-photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 620px) {
  .painter-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.painter-photos li { margin: 0; }

.painter-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111;
}

.painter-bio p { margin: 0 0 0.9rem; overflow-wrap: anywhere; }

.painter-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.painter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.painter-table th,
.painter-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.painter-table thead th {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: var(--bg-raised);
}

.painter-table tbody th { color: var(--bone); font-weight: 600; }
.painter-table tbody tr:last-child th,
.painter-table tbody tr:last-child td { border-bottom: 0; }
.painter-price { white-space: nowrap; color: var(--bone); font-weight: 600; }
.painter-price-notes { color: var(--bone-dim); overflow-wrap: anywhere; }

@media (max-width: 559px) {
  .painter-table thead { display: none; }
  .painter-table,
  .painter-table tbody,
  .painter-table tr,
  .painter-table th,
  .painter-table td { display: block; width: 100%; }
  .painter-table tr { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
  .painter-table tbody tr:last-child { border-bottom: 0; }
  .painter-table th,
  .painter-table td { padding: 0; border: 0; }
  .painter-price { margin-top: 0.1rem; }
  .painter-price-notes { margin-top: 0.15rem; font-size: 0.9rem; }
}

.painter-facts { margin: 0; display: grid; gap: 0.75rem; }
.painter-facts div { display: grid; gap: 0.2rem; }
.painter-facts dt {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.painter-facts dd { margin: 0; color: var(--bone-soft); }

.painter-box {
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  margin-bottom: 1rem;
}

.painter-box .painter-h2 { margin-top: 0; font-size: 1.5rem; }
.painter-box--quiet { background: transparent; }

.painter-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.painter-links a {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--bone);
  text-decoration: none;
  min-height: 44px;
  justify-content: center;
}

.painter-links a:hover,
.painter-links a:focus-visible { border-color: var(--line-strong); background: rgba(230, 227, 222, 0.05); }

.painter-link__label { font-weight: 600; }
.painter-link__url { color: var(--bone-dim); font-size: 0.85rem; overflow-wrap: anywhere; }

.painter-form { margin-top: 1rem; display: grid; gap: 0.85rem; }
.painter-form[hidden] { display: none; }
.painter-form .field textarea { min-height: 8rem; }

.painter-report-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: var(--bone-dim);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}

.painter-report-btn:hover,
.painter-report-btn:focus-visible { color: var(--bone); }

#email-slot a { color: var(--bone); overflow-wrap: anywhere; }

.painter-email { display: grid; gap: 0.5rem; margin: 0 0 0.9rem; justify-items: start; }
.painter-email .btn[hidden] { display: none; }
.painter-email #email-slot:empty { display: none; }


.tips-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.painter-join { margin: 1rem 0 0.2rem; }

/* Desktop nav with Tools added: keep every link on one line */
@media (min-width: 960px) {
  .site-nav a { white-space: nowrap; }
}
@media (min-width: 1321px) and (max-width: 1880px) {
  .site-nav { gap: 0.15rem 0.85rem; }
  .site-nav a { font-size: 0.9rem; }
}


/* backdrop-filter on the sticky header makes position:fixed of #site-nav
   attach to the header box instead of the viewport, so the drawer would
   be only a sliver. Drop the filter while the menu is open. */
body.nav-open .site-header,
body.nav-open .site-header.app-header,
body.nav-open .site-header.is-scrolled {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  transform: none;
  transition: none;
}

/* -------------------------------------------------------------------------- */
/*  Phone tap targets (sitewide public pages)                                  */
/* -------------------------------------------------------------------------- */

@media (max-width: 959px) {
  .nav-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .tips-chip {
    min-height: 44px;
    padding: 0.55rem 0.9rem;
  }

  .btn--small {
    min-height: 44px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/* Cloudflare Turnstile (Managed) */
.turnstile-slot,
[data-turnstile] {
  margin: 0.75rem 0 0.35rem;
  width: 100%;
  max-width: 300px;
  min-height: 65px;
  overflow: visible;
}
