
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(../fonts/BricolageGrotesque-800.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url(../fonts/BricolageGrotesque-600.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/DMSans-400.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/DMSans-500.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(../fonts/DMSans-700.woff2) format("woff2"); }

:root {
  --paper: #F5EEDC;
  --paper2: #EDE2C7;
  --white: #FFFDF7;
  --red: #E5462E;
  --red-d: #C23722;
  --sun: #F4B731;
  --ink: #1F1B18;
  --ink2: #574D44;
  --green: #2E8B57;
  --head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --tt: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0 24L0 10L28 7L55 12L90 5L122 9L150 4L188 11L220 6L251 13L287 7L320 3L352 9L390 6L421 12L455 5L490 8L522 3L560 10L596 6L630 12L665 4L700 9L733 6L770 13L802 7L840 4L872 10L910 6L944 12L980 5L1012 9L1050 3L1085 10L1120 6L1155 11L1200 7L1200 24Z'/></svg>");
  --tb: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'><path d='M0 0L0 14L28 17L55 12L90 19L122 15L150 20L188 13L220 18L251 11L287 17L320 21L352 15L390 18L421 12L455 19L490 16L522 21L560 14L596 18L630 12L665 20L700 15L733 18L770 11L802 17L840 20L872 14L910 18L944 12L980 19L1012 15L1050 21L1085 14L1120 18L1155 13L1200 17L1200 0Z'/></svg>");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.6 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(87, 77, 68, .07) 1px, transparent 1.4px),
    radial-gradient(rgba(87, 77, 68, .05) 1px, transparent 1.4px);
  background-size: 22px 22px, 37px 37px;
  background-position: 0 0, 11px 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--head); line-height: 1.04; letter-spacing: -.02em; margin: 0; }
h1 { font-weight: 800; font-size: clamp(44px, 6vw, 82px); }
h2 { font-weight: 800; font-size: clamp(32px, 4vw, 52px); }
h3 { font-weight: 600; font-size: 24px; }
p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.kicker i { font-style: normal; color: var(--ink); }
.kicker.light { color: var(--sun); }
.label { font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 24px 0 10px; }
.hl { background: linear-gradient(transparent 58%, var(--sun) 58% 92%, transparent 92%); padding: 0 .06em; }


.tear-top, .tear-bot { position: relative; isolation: isolate; }
.tear-top::before, .tear-bot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg, var(--white)); }
.tear-top::before { -webkit-mask: var(--tt) top / 100% 22px no-repeat, linear-gradient(#000 0 0) 0 21px / 100% calc(100% - 21px) no-repeat; mask: var(--tt) top / 100% 22px no-repeat, linear-gradient(#000 0 0) 0 21px / 100% calc(100% - 21px) no-repeat; }
.tear-bot::before { -webkit-mask: var(--tb) bottom / 100% 22px no-repeat, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 21px) no-repeat; mask: var(--tb) bottom / 100% 22px no-repeat, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 21px) no-repeat; }
.tear-top.tear-bot::before { -webkit-mask: var(--tt) top / 100% 22px no-repeat, var(--tb) bottom / 100% 22px no-repeat, linear-gradient(#000 0 0) 0 21px / 100% calc(100% - 42px) no-repeat; mask: var(--tt) top / 100% 22px no-repeat, var(--tb) bottom / 100% 22px no-repeat, linear-gradient(#000 0 0) 0 21px / 100% calc(100% - 42px) no-repeat; }


.sticker { filter: drop-shadow(0 10px 14px rgba(31, 27, 24, .22)); pointer-events: none; animation: bob 5.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-8px) rotate(1.2deg); } }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 "DM Sans", sans-serif; text-decoration: none; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 2.5px solid var(--ink);
  background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-d); }
.btn.ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
.btn.ink:hover { box-shadow: 6px 6px 0 var(--red); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--white); }
.btn.small { padding: 11px 20px; font-size: 15px; }
.btn.big { padding: 19px 38px; font-size: 19px; }
.btn:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--red-d); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.card { background: var(--white); border: 2.5px solid var(--ink); border-radius: 12px; padding: 30px; box-shadow: 8px 8px 0 var(--ink); }
.polaroid { background: #fff; padding: 12px 12px 16px; box-shadow: 0 12px 26px rgba(31, 27, 24, .16); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }


.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 10px 28px; background: rgba(245, 238, 220, .93); backdrop-filter: blur(8px); border-bottom: 2.5px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand b { display: block; font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: var(--ink2); }
.nav nav { margin-left: auto; display: flex; gap: 4px; }
.nav nav a { padding: 8px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav nav a:hover { background: rgba(31, 27, 24, .07); }
.nav nav a.on { background: var(--ink); color: var(--sun); }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.pill.live { background: var(--green); border-color: var(--green); color: #fff; }
.pill.live::before { background: #fff; }


.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(245, 238, 220, .94) 0%, rgba(245, 238, 220, .78) 34%, rgba(245, 238, 220, 0) 58%); }
.hero-copy { position: relative; z-index: 2; max-width: 600px; padding: 90px 0 110px 6vw; }
.hero-copy h1 { margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--ink2); max-width: 500px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }


.ribbon { --bg: var(--ink); color: var(--sun); transform: rotate(-1.4deg); margin: -34px -20px 0; padding: 22px 0 16px; overflow: hidden; z-index: 3; }
.ribbon-track { display: flex; gap: 54px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon-track span { font-family: var(--head); font-weight: 600; font-size: 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 54px; }
.ribbon-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

[data-view="home"] { overflow-x: clip; }


.how { padding: 110px 28px 100px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 46px; }
.how-char { height: 250px; margin-bottom: -60px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps li { position: relative; background: var(--white); border: 2.5px solid var(--ink); border-radius: 10px; padding: 30px 24px 26px; box-shadow: 6px 6px 0 var(--ink); }
.steps li:nth-child(odd) { transform: rotate(-1.2deg); }
.steps li:nth-child(even) { transform: rotate(1.3deg); margin-top: 18px; }
.steps li::before { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: rgba(244, 183, 49, .78); transform: rotate(-4deg); }
.steps .num { font-family: var(--head); font-weight: 800; font-size: 40px; color: var(--red); line-height: 1; }
.steps img { display: block; width: 78px; height: 78px; object-fit: contain; margin: 10px 0 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--ink2); }


.showcase { --bg: var(--sun); padding: 110px 0 120px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 40px; }
.tabs button { cursor: pointer; padding: 10px 18px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--white); font-weight: 700; font-size: 15px; }
.tabs button small { font-weight: 500; margin-left: 6px; color: var(--red); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--sun); }
.tabs button[aria-selected="true"] small { color: var(--paper); }
.show-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.show-art { margin: 0; position: relative; }
#show-img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 14px solid #fff; box-shadow: 0 18px 40px rgba(31, 27, 24, .22); transform: rotate(-1.5deg); }
#show-img.swap { animation: swap .45s ease; }
@keyframes swap { from { opacity: .2; transform: rotate(-1.5deg) scale(.97); } }
.show-art .polaroid.mini { position: absolute; left: -26px; bottom: -34px; width: 170px; margin: 0; padding: 9px 9px 10px; transform: rotate(5deg); }
.show-art .polaroid.mini span { display: block; font-size: 13px; font-weight: 700; margin-top: 6px; text-align: center; }
.show-info h3 { font-family: var(--head); font-weight: 800; font-size: 30px; margin-bottom: 16px; }
.quote { border-left: 4px solid var(--red); padding-left: 16px; color: var(--ink2); }
.swatches { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.swatches li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.swatches i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); }
.show-char { position: absolute; right: -40px; bottom: -110px; height: 290px; }


.desk { position: relative; padding: 380px 0 70px; }
.desk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.desk-card { position: relative; max-width: 580px; margin-left: 6vw; }
.desk-card h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.desk-card p { color: var(--ink2); margin-bottom: 22px; }


.finale { position: relative; min-height: 700px; overflow: hidden; }
.finale-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.finale-copy { position: relative; text-align: center; max-width: 600px; margin: 80px auto 0; padding: 38px 40px 40px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1deg); }
.finale-copy h2 { margin-bottom: 12px; }
.finale-copy p { color: var(--ink2); font-size: 18px; margin-bottom: 24px; }
@media (max-width: 760px) { .finale-copy { margin: 56px 18px 0; padding: 28px 22px 30px; } }

@media (max-width: 760px) {
  .sec-head { align-items: flex-end; gap: 8px; }
  .sec-head > div { flex: 1 1 auto; min-width: 0; }
  .sec-head .how-char { height: 120px; margin-bottom: -22px; flex: 0 0 auto; }
  .how h2 { font-size: 30px; }
}
.finale-char { position: absolute; right: 6vw; bottom: 30px; height: 300px; }

.foot { background: var(--ink); color: var(--paper2); padding: 34px 0; font-size: 14px; }
.foot b { color: var(--sun); }


.band { padding: 64px 0 80px; color: #fff; }
.band.red { --bg: var(--red); }
.band.sun { --bg: var(--sun); color: var(--ink); }
.band-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; padding-right: 250px; }
.band h1 { margin-bottom: 10px; }
.band p { font-size: 18px; opacity: .92; }
.band-peek { position: absolute; right: 4vw; bottom: 18px; height: 200px; z-index: 1; }
[data-view="booth"] .band-peek { display: none; }
[data-view="booth"] .band-inner { padding-right: 0; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 9px; padding: 7px 16px 7px 7px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 15px; }
.stepper b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); font-size: 14px; }
.stepper li.done b { background: var(--sun); color: var(--ink); }
.stepper li.on { background: #fff; color: var(--ink); border-color: #fff; }
.stepper li.on b { background: var(--red); color: #fff; }


.booth { padding: 96px 28px 110px; min-height: 60vh; }
.photo-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: stretch; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 400px; padding: 30px; border: 3px dashed var(--ink); border-radius: 16px; background: var(--white); cursor: pointer; transition: background .15s, border-color .15s; }
.drop:hover, .drop.over { background: #FFF5D6; border-color: var(--red); }
.drop img { width: 96px; height: 96px; object-fit: contain; }
.drop strong { font-family: var(--head); font-weight: 600; font-size: 25px; }
.drop u { color: var(--red); }
.drop span { font-size: 14.5px; color: var(--ink2); }
.samples { display: flex; flex-direction: column; justify-content: flex-end; }
.sample-row { display: flex; gap: 28px; }
.polaroid.sample { border: 0; cursor: pointer; width: 196px; text-align: left; transform: rotate(-2.5deg); transition: transform .2s; }
.polaroid.sample.tilt { transform: rotate(2.5deg); }
.polaroid.sample:hover { transform: rotate(0) translateY(-6px); }
.polaroid.sample span { display: block; font-weight: 700; font-size: 16px; margin-top: 10px; }
.polaroid.sample small { display: block; font-weight: 400; font-size: 13px; color: var(--ink2); }
.photo-char { position: absolute; right: 0; top: -70px; height: 250px; }

.chosen { display: flex; align-items: center; gap: 24px; margin-bottom: 34px; }
.chosen .polaroid.mini { width: 120px; padding: 8px 8px 14px; transform: rotate(-3deg); flex: none; }
.chosen h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 6px; }
.chosen p { color: var(--ink2); }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.style-card { position: relative; cursor: pointer; text-align: left; background: var(--white); border: 2.5px solid var(--ink); border-radius: 14px; padding: 12px 12px 18px; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.style-card:hover:not(:disabled) { transform: translateY(-4px); box-shadow: 7px 9px 0 var(--ink); }
.style-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sc-name { display: block; font-family: var(--head); font-weight: 800; font-size: 24px; margin: 14px 0 4px; }
.sc-name small { font-family: "DM Sans", sans-serif; font-weight: 500; font-size: 14px; color: var(--red); margin-left: 6px; }
.sc-line { display: block; font-size: 14.5px; color: var(--ink2); }
.style-card.on { border-color: var(--red); box-shadow: 0 0 0 3px var(--red), 7px 9px 0 var(--ink); transform: translateY(-4px); }
.style-card.on::after { content: "Selected"; position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.style-card:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.style-card:disabled img { filter: grayscale(.85); }
.sc-lock { position: absolute; top: 20px; left: 20px; background: var(--ink); color: var(--sun); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.notice { margin-top: 26px; background: #FFF3CF; border-left: 5px solid var(--sun); padding: 13px 18px; border-radius: 6px; font-size: 15px; }
.go-row { margin-top: 36px; text-align: center; }

.painting { position: relative; display: grid; justify-items: center; padding: 6px 0 30px; }
.polaroid.easel { padding: 16px 16px 22px; transform: rotate(-1deg); }
#paint-canvas { display: block; width: min(560px, 84vw); height: auto; background: var(--paper2); }
.paint-char { position: absolute; left: calc(50% + 250px); bottom: 40px; height: 340px; }
.paint-msg { font-family: var(--head); font-weight: 600; font-size: 26px; margin-top: 28px; text-align: center; }
.paint-msg::after { content: ""; display: block; height: 6px; width: 40px; margin: 12px auto 0; background: var(--red); border-radius: 6px; animation: load 1.1s ease-in-out infinite alternate; }
@keyframes load { to { width: 170px; } }

.result { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.compare { --pos: 50%; position: relative; aspect-ratio: 1; border: 14px solid #fff; box-shadow: 0 18px 40px rgba(31, 27, 24, .22); overflow: hidden; background: var(--paper2); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.cmp-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.cmp-tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.cmp-tag.left { left: 14px; }
.cmp-tag.right { right: 14px; }
#cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.chip { display: inline-block; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 13px; font-size: 13px; font-weight: 700; }
.res-info h2 { font-size: clamp(28px, 3vw, 38px); margin: 14px 0 18px; }
.bubble { display: flex; gap: 12px; align-items: flex-start; }
.bubble img { width: 96px; flex: none; margin-top: -14px; }
.bubble p { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px; font-size: 16px; }
.listen { margin: 10px 0 0 108px; font-size: 15px; }
.paint-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paint-list li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--paper); font-size: 15px; font-weight: 500; }
.paint-list i { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
#res-buy { display: inline-block; margin-top: 18px; font-size: 15px; }
.res-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 46px; }


.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 36px 30px; padding: 100px 0 110px; }
.tile { position: relative; cursor: pointer; text-align: left; transition: transform .2s; }
.tile:nth-child(odd) { transform: rotate(-1.4deg); }
.tile:nth-child(even) { transform: rotate(1.2deg); }
.tile:hover { transform: rotate(0) translateY(-6px); }
.t-title { display: block; font-family: var(--head); font-weight: 600; font-size: 19px; line-height: 1.2; margin: 12px 0 4px; }
.t-meta { display: block; font-size: 13px; color: var(--ink2); }
.t-tag { position: absolute; top: -10px; left: -8px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; transform: rotate(-4deg); }
.t-del { position: absolute; top: 20px; right: 20px; border: 0; cursor: pointer; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tile.hint { cursor: default; border: 3px dashed var(--ink); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 30px; min-height: 300px; transform: none; }
.tile.hint:hover { transform: none; }
.tile.hint h3 { font-size: 24px; }
.tile.hint p { color: var(--ink2); font-size: 15px; }


#card-dlg { border: 0; padding: 0; background: transparent; max-width: 94vw; }
#card-dlg::backdrop { background: rgba(31, 27, 24, .72); }
.dlg-body { background: var(--paper); padding: 20px; border-radius: 16px; border: 2.5px solid var(--ink); }
#card-canvas { display: block; width: min(420px, 80vw, calc((100vh - 150px) * .8)); height: auto; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.dlg-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

#toast { position: fixed; left: 50%; bottom: 26px; z-index: 100; transform: translate(-50%, 140px); background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; max-width: 90vw; opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility 0s .3s; }
#toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .3s, opacity .3s; }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .show-grid, .result, .photo-grid { grid-template-columns: 1fr; }
  .show-char { height: 200px; right: -10px; bottom: -90px; }
  .style-grid { grid-template-columns: 1fr 1fr; }
  .band-inner { padding-right: 0; }
  .band-peek { height: 140px; bottom: 18px; }
  .how-char { height: 180px; }
  .finale-char { height: 210px; }
  .paint-char { display: none; }
  .photo-char { display: none; }
  .samples { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-bg { position: relative; height: 50vh; }
  .hero::before { display: none; }
  .hero-copy { padding: 34px 22px 70px; }
  .nav { padding: 8px 14px; gap: 10px; flex-wrap: wrap; }
  .brand small { display: none; }
  .nav nav a { padding: 7px 11px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(even) { margin-top: 0; }
  .sample-row { gap: 16px; }
  .polaroid.sample { width: calc(50% - 8px); }
  .paint-list { grid-template-columns: 1fr; }
  .desk { padding-top: 240px; }
  .desk-card { margin: 0 16px; }
  .finale-char { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
