/* The home page around what people came for (on request): "Have something in mind?" with WhatsApp, Instagram,
   Text and the estimate; then two big choices, My work and What I make; and What I make opens on one question
   (paint it yourself, or finished?) with the ways to a figure under it (js/wants.js). Loaded last. */

/* ── Hero: straight to Costa ── */
.home-ask { margin: 0 0 2px; color: var(--muted); font-size: .98rem; }
.home-ask b { color: var(--ink); font-weight: 600; }
.home-social.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-btn.social.sms { background: #2f4f8f; }
.home-btn.social.sms:hover { background: #274379; }
.home-btn.social.sms .hb-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.home-social.three .home-btn.social { padding: 14px; min-width: 0; }
.home-social.three .hb-text small { font-size: .8rem; overflow-wrap: anywhere; }
/* phones: three small tiles, an icon over its name */
@media (max-width: 640px) {
  .home-social.three { gap: 8px; }
  .home-social.three .home-btn.social { min-height: 72px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; text-align: center; }
  .home-social.three .hb-ico { width: 32px; height: 32px; }
  .home-social.three .hb-text b { font-size: .98rem; }
  .home-social.three .hb-text small { display: none; }
}

/* ── Three big choices: Past work, Order a piece, Design your own (three across at every size) ── */
/* The name on a tile sits on a solid plate across the middle of its photos (on request: it was hard to read over
   them; the photos still take turns above and below it). Only the plate's very edges fade. */
.pick b { padding: 11px 10px; font-size: clamp(1.3rem, 2.5vw, 2rem); }
.pick b::before {
  inset: -5px 0;
  background: linear-gradient(180deg, rgba(247, 246, 242, 0) 0%, #f7f6f2 16%, #f7f6f2 84%, rgba(247, 246, 242, 0) 100%);
}
.pick[aria-pressed="true"] b::before { background: linear-gradient(180deg, rgba(24, 23, 22, 0) 0%, #181716 16%, #181716 84%, rgba(24, 23, 22, 0) 100%); }
@media (max-width: 640px) {
  .pick b { padding: 9px 4px; font-size: 1.08rem; }
  .pick b::before { inset: -4px 0; }
}

/* ── What I make: the question ── */
#get .section-head { margin-bottom: 14px; }
.want-q { margin: 0 0 14px; font: 400 clamp(1.45rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); }
.want-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.want-opt {
  display: grid; gap: 4px; align-content: center; min-height: 76px; padding: 14px 18px; text-align: left; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--panel); color: var(--ink); font: inherit;
  transition: border-color var(--quick), background var(--quick), color var(--quick);
}
.want-opt b { font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.want-opt small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.want-opt:hover { border-color: var(--ink); }
.want-opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.want-opt[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.want-opt:focus-visible, .way:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── …and the ways to a figure, which follow the answer ── */
.want-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.way {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: border-color var(--quick), transform var(--quick);
}
.way:hover { border-color: var(--ink); }
.way:active { transform: scale(.99); }
.way-img { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.way-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.way-img .render-tag { position: absolute; left: 4px; top: 4px; padding: 2px 5px; font-size: .56rem; }
.way-text { display: grid; gap: 3px; min-width: 0; }
.way-text b { font: 400 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.way-text small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.way-go { color: var(--accent); font-size: 1.1rem; }
/* the line that goes with their answer */
.way-text small { display: none; }
.want[data-mode=""] .way-text small[data-for=""],
.want[data-mode="paint"] .way-text small[data-for="paint"],
.want[data-mode="done"] .way-text small[data-for="done"] { display: block; }
.want[data-mode="paint"] .way.for-done, .want[data-mode="done"] .way.for-paint { display: none; }

/* ── More I make: the other five ── */
.want-more { margin: clamp(32px, 5vw, 52px) 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 clamp(1.45rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -.01em; }
/* (three tiles, three across: Custom pieces, Collector figures, Bulk & business. My services is a tab instead.) */

/* ── Menu: seven tabs. Computers: one row. Phones and zoomed-in windows: the three big choices on the first row,
   then Services, Estimates, Printers and Noteworthy on the second (a break element in the markup splits them). ── */
.nav nav.tabs .tab-break { display: none; }
@media (max-width: 900px) and (min-width: 701px) { .nav nav.tabs { gap: 0 clamp(11px, 1.9vw, 20px); } .nav nav.tabs a { letter-spacing: .12em; } } /* (seven on one row) */
@media (max-width: 700px) {
  .nav nav.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(14px, 6vw, 30px); }
  .nav nav.tabs .tab-break { display: block; flex-basis: 100%; height: 0; }
  .nav nav.tabs .tab-break ~ a { font-size: .7rem; letter-spacing: .07em; }
  .nav nav.tabs:has(.tab-break) { column-gap: clamp(12px, 4.4vw, 26px); }
}
@media (max-width: 350px) { .nav nav.tabs { column-gap: 10px; } .nav nav.tabs .tab-break ~ a { font-size: .68rem; letter-spacing: .03em; } }
/* Design your own: five cards (three designers, the Printables search, the estimate) */
@media (min-width: 1000px) { #design .mk-promos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } #design .mk-promos .lt-promo-text b { font-size: 1.3rem; } #design .mk-promos .lt-promo-go { padding: 9px 14px; font-size: .92rem; } }
@media (max-width: 640px) { #design .mk-promos .lt-promo { grid-template-columns: 84px minmax(0, 1fr); margin: 0; padding: 8px; } #design .mk-promos .lt-promo-text b { font-size: 1.15rem; } }
@media (max-width: 640px) {
  .want-opts { gap: 8px; }
  .want-opt { min-height: 72px; padding: 12px; }
  .want-opt b { font-size: 1rem; }
  .want-opt small { font-size: .82rem; }
  .want-ways { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .way { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 8px 12px 8px 8px; }
  .way-img { width: 64px; height: 64px; }
  .way-text b { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .want-opt, .way { transition: none; } .way:active { transform: none; } }

/* ── Order a piece opens on "What's it for?" (on request: funnel each kind of customer from what they came for;
   js/needs.js). Six choices: three across on computers, two on tablets, one compact row each on phones. Picking one
   shows its path right under them: a heading, the product cards that fit, the designers, the estimate. ── */
#needs-q { margin-bottom: 14px; }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.need {
  position: relative; display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; transition: border-color var(--quick), box-shadow var(--quick);
}
.need:hover { border-color: var(--ink); }
.need:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.need[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.need-img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.need-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.need-img .render-tag { position: absolute; left: 8px; top: 8px; }
.need-text { display: grid; gap: 3px; align-content: start; padding: 12px 40px 14px 14px; }
.need-text b { font: 400 1.4rem/1.15 var(--display); letter-spacing: -.01em; }
.need-text small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.need-go { position: absolute; right: 14px; bottom: 14px; color: var(--accent); font-size: 1.1rem; }
.need[aria-pressed="true"] .need-go { transform: rotate(90deg); }
@media (max-width: 900px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .needs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .need { grid-template-rows: none; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 14px 7px 7px; min-height: 86px; }
  .need-img { aspect-ratio: auto; width: 72px; height: 72px; border-radius: 10px; }
  .need-img .render-tag { left: 3px; top: 3px; padding: 2px 4px; font-size: .52rem; letter-spacing: .04em; }
  .need-text { padding: 0; }
  .need-text b { font-size: 1.2rem; }
  .need-text small { font-size: .84rem; }
  .need-go { position: static; }
}

/* the path for the one they picked */
.need-path { margin-top: clamp(22px, 3.5vw, 34px); padding-top: clamp(18px, 3vw, 26px); border-top: 1px solid var(--line); }
.need-head { margin-bottom: 18px; }
.need-head h3 { margin: 0; font: 400 clamp(1.7rem, 3.4vw, 2.5rem)/1.1 var(--display); letter-spacing: -.01em; }
.need-head .sub { margin: 8px 0 0; max-width: 640px; color: var(--muted); }
.need-path .want { margin-bottom: clamp(22px, 3.5vw, 34px); }
.need-biz { margin-bottom: clamp(22px, 3.5vw, 34px); }
.need-biz .btn { margin-top: 14px; }
.need-foot { display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 30px); }
.need-foot p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.need-try > span, .need-ask > span { color: var(--muted); font-size: .95rem; }
.need-tool { min-height: 40px; }
@media (prefers-reduced-motion: reduce) { .need { transition: none; } }

/* ── Choosing goes one step at a time (on request): a choice, once made, goes away and what follows it takes its
   place, with Back. "Do you want to paint it yourself…": the ways to a figure only show once it's answered. ── */
.want[data-mode=""] .want-ways, .want[data-mode=""] .want-chosen { display: none; }
.want:not([data-mode=""]) > .want-q, .want:not([data-mode=""]) .want-opts { display: none; }
.want-chosen { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.want-chosen .want-q { margin: 0; }
.need-head { display: grid; justify-items: start; gap: 10px; }
.need-back, .want-back, .biz-back { min-height: 40px; }
.needs[hidden], #needs-q[hidden], .want-more[hidden], .pick-grid[hidden] { display: none; }

/* Business orders: two kinds to start (big promotional pieces, small items in bulk), then that kind's items */
.biz-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.biz-kinds[hidden], .biz-shown[hidden] { display: none; }
.biz-kind { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: inherit; font: inherit; text-align: left; cursor: pointer; position: relative; transition: border-color .2s; }
.biz-kind:hover { border-color: var(--ink); }
.biz-kind:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.biz-kind .biz-img { margin: 0; border-radius: 0; aspect-ratio: 16 / 9; box-shadow: none; }
.biz-kind-text { display: grid; gap: 4px; padding: 14px 44px 16px 16px; }
.biz-kind-text b { font: 400 clamp(1.3rem, 2.4vw, 1.6rem)/1.15 var(--display); }
.biz-kind-text small { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.biz-kind-go { position: absolute; right: 16px; bottom: 18px; color: var(--accent); font-size: 1.2rem; }
.biz-shown-head { display: grid; justify-items: start; gap: 10px; margin-bottom: 16px; }
.biz-shown-head h3 { margin: 0; font: 400 clamp(1.5rem, 3vw, 2rem)/1.1 var(--display); }
@media (max-width: 560px) {
  .biz-kinds { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .biz-kind { grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .biz-kind .biz-img { aspect-ratio: 1; height: 100%; }
  .biz-kind-text { padding: 12px 40px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .biz-kind { transition: none; } }
/* inside an "Order a piece" path its own Back steps back through these, so they don't get a second one */
.need-path .want-back, .need-path .biz-back { display: none; }

/* "What would you like made?" (on request: the kinds of piece, by what the piece is): eight picture tiles with just
   their name, four across, two across on phones */
.needs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.need-img { aspect-ratio: 4 / 3; }
.need-text { padding: 11px 34px 13px 13px; align-content: center; }
.need-text b { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.need-go { right: 12px; bottom: 13px; }
@media (max-width: 640px) {
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .need { grid-template-columns: none; grid-template-rows: auto 1fr; align-items: stretch; gap: 0; padding: 0; min-height: 0; }
  .need-img { width: auto; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .need-img .render-tag { left: 6px; top: 6px; }
  .need-text { padding: 9px 28px 11px 11px; }
  .need-text b { font-size: 1.05rem; }
  .need-go { position: absolute; right: 10px; bottom: 11px; font-size: 1rem; }
}
