/* CrayonKey — shared styles */
:root {
  --paper: #fffaf2;
  --ink: #23201c;
  --muted: #6b645a;
  --line: #ece3d4;
  --red: #e5483b;
  --yellow: #f6b928;
  --blue: #2f6fdb;
  --green: #2f9e6a;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(35,32,28,.06), 0 10px 30px -12px rgba(35,32,28,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.4rem; color: var(--ink); text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--red); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff !important; padding: 13px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--red); }
.btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }

/* Crayon underline */
.scribble { background: linear-gradient(transparent 62%, rgba(246,185,40,.55) 62%, rgba(246,185,40,.55) 88%, transparent 88%); padding: 0 .08em; }

/* Hero */
.hero { padding: 40px 0 70px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 33ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { width: 100%; max-width: 420px; margin: 0 auto; } }

/* Sections */
section { padding: 70px 0; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--red); margin-bottom: 10px; }
.section-intro { max-width: 60ch; color: var(--muted); font-size: 1.1rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.alt .step { background: var(--paper); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); font-weight: 900; margin-bottom: 14px; font-family: "Fraunces", serif; font-size: 1.2rem; }
.step:nth-child(2)::before { background: #ffd2cc; }
.step:nth-child(3)::before { background: #cfe0ff; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Example gallery preview */
.example { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.example-points { list-style: none; padding: 0; margin: 0 0 24px; }
.example-points li { padding: 5px 0 5px 30px; position: relative; font-weight: 700; }
.example-points li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.example-board { display: block; background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transform: rotate(1deg); transition: transform .2s; }
.example-board:hover { transform: rotate(0deg) translateY(-4px); }
.board-title { display: block; text-align: center; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.35rem; margin-bottom: 14px; }
.board-title small { display: block; font-family: "Nunito", sans-serif; font-weight: 600; font-size: .85rem; color: var(--muted); }
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.board-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #f4efe6; box-shadow: 0 1px 0 rgba(35,32,28,.06), 0 4px 12px -6px rgba(35,32,28,.25); }
@media (max-width: 860px) { .example { grid-template-columns: 1fr; } .example-board { transform: none; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--ink); }
.plan .tag { align-self: flex-start; background: var(--yellow); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.price { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 700; margin: 6px 0 2px; }
.price small { font-family: "Nunito", sans-serif; font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan ul { padding: 0; margin: 16px 0 24px; list-style: none; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.plan .btn { text-align: center; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Privacy */
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; margin-top: 26px; padding: 0; list-style: none; }
.promise li { padding-left: 34px; position: relative; }
.promise li::before { content: "★"; position: absolute; left: 0; top: -2px; color: var(--yellow); font-size: 1.3rem; }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

/* Order form */
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 680px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 34px 0 50px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Gallery pages ---------- */
.gallery-head { text-align: center; padding: 46px 0 26px; }
.gallery-head .badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 800; color: var(--muted); margin-bottom: 16px; }
.gallery-head .badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }
.gallery-head p { color: var(--muted); font-size: 1.1rem; }
.featured-art { max-width: 560px; margin: 0 auto 50px; background: #fff; padding: 16px 16px 20px; border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.featured-art img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f4efe6; }
.featured-art .cap { text-align: center; font-family: "Fraunces", serif; margin-top: 12px; font-size: 1.15rem; }
.grid { columns: 3 260px; column-gap: 22px; padding-bottom: 50px; }
.piece { break-inside: avoid; background: #fff; border-radius: 6px; padding: 12px 12px 14px; margin-bottom: 22px; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .15s; border: 0; width: 100%; text-align: left; font: inherit; color: inherit; display: block; }
.piece:hover { transform: translateY(-3px) rotate(-.5deg); }
.piece img { width: 100%; background: #f4efe6; }
.piece .t { font-weight: 800; margin-top: 10px; }
.piece .d { color: var(--muted); font-size: .88rem; }
.forsale { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 900; background: #e2f4ea; color: var(--green); padding: 2px 9px; border-radius: 999px; }
.lightbox { position: fixed; inset: 0; background: rgba(20,18,15,.88); display: none; place-items: center; padding: 24px; z-index: 50; }
.lightbox.on { display: grid; }
.lightbox figure { margin: 0; max-width: 900px; width: 100%; text-align: center; color: #fff; }
.lightbox img { max-height: 76vh; margin: 0 auto; border-radius: 4px; background: #fff; }
.lightbox figcaption { margin-top: 14px; font-size: 1.05rem; }
.lightbox figcaption span { display: block; opacity: .7; font-size: .9rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }
.made-with { text-align: center; padding: 30px 0 46px; color: var(--muted); font-size: .9rem; }
.made-with a { color: var(--ink); font-weight: 800; text-decoration: none; }
