/* The Fine Art Print - shared styles for font pages */
:root {
  --bg: #FCFBFA;
  --ink: #26211f;
  --muted: #6f6562;
  --line: #e6dcd3;
  --gold: #8c6b45;
  --gold-deep: #5e4630;
  --blush: #f5ebe5;
  --white: #ffffff;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.brand-bar { padding: 28px 0 18px; text-align: center; }

.brand {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--gold); }

.sub-nav { border-top: 1px solid var(--line); }

.sub-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 0 auto;
  padding: 14px 40px;
  max-width: 1080px;
  list-style: none;
}

.sub-nav a {
  position: relative;
  padding: 4px 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s ease;
}

.sub-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.sub-nav a:hover,
.sub-nav a[aria-current="page"] { color: var(--gold-deep); }
.sub-nav a:hover::after,
.sub-nav a[aria-current="page"]::after { width: 100%; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 22px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 30px; text-align: center; }

.badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  max-width: 860px;
  margin: 0 auto 24px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta span + span::before { content: "\2022"; margin-right: 22px; color: var(--gold); }

/* ---------- Showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: stretch;
  margin-top: 20px;
}

.frame {
  margin: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 44px -28px rgba(60, 40, 30, 0.45);
}
.frame-inner { overflow: hidden; background: var(--blush); }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.9s ease; }
.frame:hover img { transform: scale(1.04); }

.facts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 28px;
  background: var(--blush);
  border: 1px dashed var(--gold);
  border-radius: 4px;
}
.facts h2 {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.facts dl { margin: 0; }
.facts dt {
  margin-top: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 2px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.cta {
  display: inline-block;
  padding: 16px 30px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.cta:hover,
.cta:focus-visible {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -12px rgba(60, 40, 30, 0.6);
}
.cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Article ---------- */
.article { max-width: 740px; margin: 0 auto; padding: 50px 0 10px; }

.lead {
  margin: 0 0 28px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  line-height: 1.75;
  color: #4a413e;
}
.lead::first-letter { font-size: 1.3em; color: var(--gold); }

.lead-cta { margin: 0 0 34px; }

.toc {
  margin: 0 0 14px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.toc h2 {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.toc ol { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 0.92rem; }
.toc li::before { content: counter(toc, decimal-leading-zero) " "; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; }
.toc a { text-decoration: none; color: var(--muted); transition: color 0.3s ease; }
.toc a:hover { color: var(--gold-deep); }

.article section { padding-top: 40px; scroll-margin-top: 20px; }

.article h2 {
  margin: 0 0 16px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.25;
}
.article h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin-top: 14px;
  background: var(--gold);
}

.article .toc h2 {
  margin: 0 0 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.article .toc h2::after { display: none; }
.article p { margin: 0 0 18px; color: var(--muted); }
.article ol.steps, .article ul.bullets { margin: 0 0 18px; padding-left: 22px; color: var(--muted); }
.article ol.steps li, .article ul.bullets li { margin-bottom: 10px; }
.article ol.steps li::marker { color: var(--gold); font-weight: 600; }
.article ul.bullets li::marker { color: var(--gold); }
.article strong { color: var(--ink); font-weight: 600; }

/* ---------- Palette ---------- */
.palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 6px; }
.swatch { text-align: center; }
.swatch-dot {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 120px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px -14px rgba(60, 40, 30, 0.5);
}
.swatch b { display: block; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 0.98rem; line-height: 1.3; color: var(--ink); }
.swatch span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Blueprint & tips ---------- */
.blueprint { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: bp; }
.blueprint li {
  counter-increment: bp;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
}
.blueprint li::before {
  content: counter(bp, decimal-leading-zero);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  color: var(--gold);
}
.blueprint li strong { display: block; }

.tips-box {
  margin: 44px 0 0;
  padding: 30px 30px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 40px -30px rgba(60, 40, 30, 0.4);
}
.tips-box h2 { font-size: 1.5rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  color: var(--ink);
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  margin: 60px 0 0;
  padding: 44px 30px;
  text-align: center;
  background: var(--blush);
  border: 1px solid var(--gold);
  border-radius: 4px;
}
.final-cta h2 {
  margin: 0 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  font-weight: 400;
}
.final-cta p { max-width: 520px; margin: 0 auto 24px; color: var(--muted); }

/* ---------- Prev / next ---------- */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 56px 0 0;
}
.pager a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pager a:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 16px 28px -22px rgba(60, 40, 30, 0.5); }
.pager small { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.pager b { display: block; margin-top: 4px; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.pager .next { text-align: right; }

/* ---------- Related fonts ---------- */
.related { margin: 80px 0 0; padding-top: 50px; border-top: 1px solid var(--line); }
.related-head { text-align: center; margin-bottom: 34px; }
.related-head p { margin: 0 0 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.related-head h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 400; }

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

.mini-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.mini-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 22px 36px -26px rgba(60, 40, 30, 0.5); }
.mini-card .thumb { overflow: hidden; background: var(--blush); }
.mini-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.8s ease; }
.mini-card:hover img { transform: scale(1.05); }
.mini-card .body { padding: 18px 20px 22px; }
.mini-card .tag { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.mini-card h3 { margin: 6px 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; font-weight: 400; color: var(--ink); }
.mini-card p { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.mini-card .go { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }

.back-home { margin: 44px 0 0; text-align: center; }
.back-home a {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-deep);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.back-home a:hover { background: var(--gold); color: var(--white); }

/* ---------- Footer ---------- */
.disclosure { margin: 50px auto 0; max-width: 640px; font-size: 0.8rem; text-align: center; color: var(--muted); }
.site-footer {
  margin-top: 40px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .container { padding: 0 28px; }
  .sub-nav ul { padding: 14px 28px; }
  h1 { font-size: 2.4rem; }
  .showcase { gap: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .brand { font-size: 1.25rem; letter-spacing: 0.24em; }
  .sub-nav ul { gap: 4px 16px; padding: 12px 18px; }
  .sub-nav a { font-size: 0.64rem; letter-spacing: 0.14em; }
  .hero { padding: 30px 0 20px; }
  h1 { font-size: 1.9rem; }
  .meta { gap: 6px 14px; }
  .meta span + span::before { margin-right: 14px; }

  .showcase { grid-template-columns: 1fr; gap: 22px; }
  .frame { padding: 10px; }
  .facts { padding: 24px 20px; }

  .article { padding-top: 34px; }
  .lead { font-size: 1.12rem; }
  .article h2 { font-size: 1.55rem; }
  .cta { display: block; width: 100%; padding: 18px 20px; }
  .toc { padding: 16px 4px; }

  .palette { grid-template-columns: repeat(2, 1fr); }
  .tips-box { padding: 24px 20px 12px; }
  .final-cta { padding: 32px 20px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .related { margin-top: 56px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .frame img, .mini-card, .mini-card img, .pager a, .sub-nav a, .sub-nav a::after { transition: none; }
  .cta:hover, .frame:hover img, .mini-card:hover, .mini-card:hover img, .pager a:hover { transform: none; }
}
