/* ============================================
   PRINTARIUM.ZA — shared stylesheet
   Palette drawn from the brand logo
   ============================================ */
:root {
  --ink: #faf5ec;        /* warm paper background */
  --ink-2: #fffdf8;      /* card surface */
  --ink-3: #e9dfcf;      /* warm sand borders */
  --cream: #33283a;      /* primary text (warm dark plum) */
  --muted: #71647a;      /* secondary text */
  --night: #18131e;      /* dark footer */
  --cyan: #2bc0ea;
  --magenta: #c13fd8;
  --orange: #f58a2b;
  --grad: linear-gradient(110deg, var(--cyan), var(--magenta) 55%, var(--orange));
  --radius: 14px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

/* accent words inside headings */
.tint {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}

/* gradient filament rule */
.filament {
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  margin: 18px 0 26px;
}

/* ============ NAV ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo span { 
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--cream); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(193, 63, 216, 0.35);
}

.btn-ghost {
  background: none;
  border: 1px solid var(--ink-3);
  color: var(--cream);
}

.btn-ghost:hover { border-color: var(--magenta); box-shadow: none; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--ink-3);
    padding: 12px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
}

.hero-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.hero .wrap { position: relative; }

.hero p.lead {
  max-width: 540px;
  font-size: 1.15rem;
  margin: 22px 0 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
}

.hero-tags span {
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ============ CARDS ============ */
.grid {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover { transform: translateY(-4px); border-color: var(--magenta); box-shadow: 0 12px 32px rgba(51, 40, 58, 0.08); }

.card h3 { margin-bottom: 10px; }

.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

/* gallery / image placeholders */
.ph {
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px dashed #d8cbb6;
  background: #f3ecdf;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery page only: square photos, matching the Available Art cards */
.gallery-grid .ph { aspect-ratio: 1 / 1; }

/* A .ph slot that actually holds a photo: drop the dashed placeholder
   frame and padding so the picture runs edge to edge, like the art cards */
.ph.ph-filled {
  padding: 0;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
}

.work-card { display: flex; flex-direction: column; gap: 14px; }
.work-card h3 { font-size: 1.1rem; }
.work-card p { font-size: 0.95rem; }

/* ============ SPLIT / ABOUT ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.checks { list-style: none; margin-top: 22px; }

.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--muted);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--grad);
}

/* ============ PROCESS ============ */
.process {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.step { text-align: center; flex: 1; min-width: 120px; }

.step .dot {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.step strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.step small { color: var(--muted); font-size: 0.82rem; }

/* ============ CTA BAND ============ */
.cta-band {
  text-align: center;
  background: var(--ink-2);
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
}

.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; }

/* ============ PAGE HEADER ============ */
.page-head {
  padding: 84px 0 50px;
  border-bottom: 1px solid var(--ink-3);
}

.page-head p { max-width: 620px; margin-top: 18px; font-size: 1.1rem; }

/* ============ CONTACT ============ */
.contact-list { list-style: none; margin-top: 26px; }

.contact-list li { margin-bottom: 16px; color: var(--muted); }
.contact-list a { color: var(--cream); border-bottom: 1px solid var(--magenta); }
.contact-list strong { color: var(--cream); display: block; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }

/* ============ FOOTER ============ */
footer {
  background: var(--night);
  color: #f2ede6;
  padding: 56px 0 36px;
  font-size: 0.92rem;
}

footer .logo { color: #f2ede6; }
footer p, footer a { color: #a89fa8; }
.foot-grid h4 { color: #f2ede6; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #2c2535; color: #a89fa8; }

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); transition: color 0.2s; }
.foot-grid a:hover { color: var(--cream); }
.foot-grid p { font-size: 0.92rem; }

.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}


/* ============ AVAILABLE ART ============ */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .art-grid { grid-template-columns: 1fr; } }

.art-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.art-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(51, 40, 58, 0.1); }

.art-card .art-img {
  aspect-ratio: 1 / 1;
  background: #f3ecdf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  overflow: hidden;
}

.art-card .art-img img { width: 100%; height: 100%; object-fit: cover; }

.art-card .art-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.art-card h3 { font-size: 1.15rem; }

.art-card .art-price {
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.art-card p { font-size: 0.95rem; flex: 1; }

.art-card .art-cta {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cream);
  border-bottom: 2px solid;
  border-image: var(--grad) 1;
  align-self: flex-start;
  padding-bottom: 2px;
}

.badge-sold {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #71647a;
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
}


/* ============ LEGAL PAGES ============ */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--magenta); }
.legal .updated { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
