/* Concept A · «Moving paper» — warm cold-press paper, watercolor washes, prints on a gallery wall. Own code (MIT). */
@font-face { font-family: Gloock; src: url(fonts/Gloock-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: DMSans; src: url(fonts/DMSans-VF.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --paper: #f4eee3; --paper2: #ece4d5; --ink: #2a2521; --soft: #5d544c; --terra: #b4553a; --sage: #6f826a; --gold: #b8913f;
  --serif: Gloock, "Iowan Old Style", Georgia, serif; --sans: DMSans, "Helvetica Neue", Arial, sans-serif; --ease: cubic-bezier(.2, .7, .1, 1); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; }
/* the whole page sits on paper: a fixed, very light fibre texture (SVG noise, no image file) */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.kicker { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terra); }
.small { color: var(--soft); font-size: 14px; }

/* reveals: paper laid down — a small drop with a settle */
[data-reveal] { opacity: 0; transform: translateY(26px) rotate(var(--r0, 0deg)); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.rm [data-reveal] { opacity: 1; transform: none; transition: none; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px 28px;
  background: linear-gradient(180deg, rgba(244, 238, 227, .92), rgba(244, 238, 227, 0)); }
.logo { font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.links a { text-decoration: none; color: var(--soft); } .links a:hover { color: var(--ink); }
.pill { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(42, 37, 33, .25); text-decoration: none; font-size: 14px; background: rgba(255, 255, 255, .4); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); font: 600 15px/1 var(--sans); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 0 6px 18px rgba(42, 37, 33, .18); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(42, 37, 33, .24); outline: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(42, 37, 33, .3); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
#wash { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nogl .hero { background: radial-gradient(60% 70% at 78% 45%, rgba(214, 140, 140, .35), transparent 70%), radial-gradient(40% 50% at 70% 70%, rgba(130, 160, 125, .3), transparent 70%), var(--paper); }
.nogl #wash { display: none; }
.hero-in { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: 110px 28px 70px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: 1.02; margin: 18px 0 22px; }
h1 em { font-style: normal; color: var(--terra); }
.lede { font-size: 19px; color: var(--soft); max-width: 31em; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--soft); }
.trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: 8px; vertical-align: 1px; }

/* the fan of prints: three mounted films; they spread as you scroll (--k) */
.fan { position: relative; height: min(76vh, 640px); --k: 0; }
.hero { --k: 0; }
.print { position: absolute; margin: 0; width: min(46%, 300px); aspect-ratio: 9 / 16; top: 50%; left: 50%; transition: transform .8s var(--ease); }
.print .frame { position: absolute; inset: 0; padding: 10px 10px 34px; background: #fbf8f2; border-radius: 3px;
  box-shadow: 0 1px 1px rgba(60, 40, 20, .15), 0 18px 40px -12px rgba(60, 40, 20, .35), 0 40px 80px -30px rgba(60, 40, 20, .3); }
.print video, .card video, .board video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--paper2); }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font: 500 12px/1 var(--sans); letter-spacing: .08em; color: var(--soft); }
.p1 { transform: translate(-50%, -50%) rotate(calc(-2deg + var(--k) * 2deg)) translateY(calc(var(--k) * -30px)); z-index: 3; }
.p2 { transform: translate(-50%, -50%) translateX(calc(-62% - var(--k) * 40%)) rotate(calc(-9deg - var(--k) * 6deg)) scale(.86); z-index: 2; }
.p3 { transform: translate(-50%, -50%) translateX(calc(60% + var(--k) * 40%)) rotate(calc(8deg + var(--k) * 6deg)) scale(.86); z-index: 1; }
.print .frame video { height: calc(100% - 0px); }
.print:hover { z-index: 4; }
.tape { position: absolute; z-index: 2; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; transform: rotate(-3deg);
  background: linear-gradient(90deg, rgba(230, 214, 180, .75), rgba(240, 226, 196, .85)); box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%); }

/* how it works */
.how { max-width: 1180px; margin: 0 auto; padding: 110px 28px 40px; }
.how h2, .cat-head h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; }
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li { position: relative; padding: 30px 26px 28px; background: #fbf8f2; border-radius: 4px; box-shadow: 0 14px 30px -18px rgba(60, 40, 20, .35); }
.steps b { font: 400 56px/1 var(--serif); color: var(--terra); opacity: .9; }
.steps h3 { font-size: 26px; margin: 14px 0 8px; }
.steps p { color: var(--soft); }

/* catalog: a gallery wall */
.catalog { max-width: 1280px; margin: 0 auto; padding: 90px 28px 40px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 30px; margin-bottom: 40px; }
.cat-head h2 { flex: 1 1 420px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: 500 14px/1 var(--sans); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(42, 37, 33, .22); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hint { width: 100%; font-size: 14px; color: var(--soft); } .hint .t, .touch .hint .hv { display: none; } .touch .hint .t { display: inline; }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 56px; max-width: 1080px; margin: 0 auto; }
.wall .card:nth-child(3n+2) { margin-top: 70px; }
.card { --r: 0deg; outline: none; cursor: pointer; }
.card[data-reveal] { --r0: calc(var(--r) * 3); transform: translateY(40px) rotate(calc(var(--r) * 3)); }
.card[data-reveal].in { transform: rotate(var(--r)); }
.card .mount { position: relative; aspect-ratio: 9 / 16; padding: 12px; background: #fbf8f2; border-radius: 3px; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  box-shadow: 0 1px 1px rgba(60, 40, 20, .12), 0 22px 40px -22px rgba(60, 40, 20, .45); }
.card .frame { height: 100%; overflow: hidden; }
.card:hover .mount, .card:focus-visible .mount, .card.playing .mount { transform: rotate(calc(var(--r) * -1)) translateY(-8px) scale(1.015); box-shadow: 0 1px 1px rgba(60, 40, 20, .12), 0 36px 60px -26px rgba(60, 40, 20, .5); }
.card h3 { font-size: 24px; margin: 20px 0 4px; }
.card .meta { color: var(--soft); font-size: 14px; }
.card .price { margin-top: 6px; font-weight: 600; } .card .price.soon { color: var(--sage); font-weight: 500; }

/* product block */
.product { max-width: 1180px; margin: 0 auto; padding: 120px 28px 60px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.pr-media { position: relative; }
.board { position: relative; aspect-ratio: 9 / 16; max-width: 400px; margin: 0 auto; padding: 14px 14px 46px; background: #fbf8f2; border-radius: 3px; transform: rotate(-1.5deg);
  box-shadow: 0 2px 2px rgba(60, 40, 20, .12), 0 40px 80px -30px rgba(60, 40, 20, .5); }
.board .frame { height: 100%; overflow: hidden; }
.note { text-align: center; margin-top: 22px; font-size: 13px; color: var(--soft); }
.pr-txt h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.02; margin: 14px 0 18px; }
.sub { font-size: 22px; margin: 30px 0 10px; }
.got { list-style: none; padding: 0; margin: 0; }
.got li { padding: 9px 0 9px 28px; border-top: 1px solid rgba(42, 37, 33, .1); position: relative; }
.got li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.buy { display: flex; align-items: center; gap: 22px; margin: 30px 0 14px; }
.buy .big { font: 400 44px/1 var(--serif); }

/* own theme */
.own { padding: 80px 28px 100px; }
.own-card { max-width: 860px; margin: 0 auto; text-align: center; padding: 60px 40px; background: #fbf8f2; border-radius: 4px; box-shadow: 0 30px 60px -36px rgba(60, 40, 20, .45);
  background-image: radial-gradient(40% 60% at 10% 0%, rgba(214, 140, 140, .18), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(130, 160, 125, .2), transparent 70%); }
.own-card h2 { font-size: clamp(36px, 4vw, 56px); margin: 12px 0 14px; }
.own-card p { color: var(--soft); max-width: 36em; margin: 0 auto; }
.own-card .from { margin: 20px 0 24px; font-size: 18px; color: var(--ink); } .own-card .from b { font: 400 34px/1 var(--serif); }

.foot { border-top: 1px solid rgba(42, 37, 33, .12); padding: 40px 28px 50px; text-align: center; color: var(--soft); font-size: 14px; display: grid; gap: 10px; }
.foot .logo { font-size: 30px; color: var(--ink); }
.foot p { max-width: 46em; margin: 0 auto; }
.proto { opacity: .7; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* checkout overlay (stand-in for Payhip) */
.co { border: 0; padding: 0; width: min(440px, calc(100vw - 32px)); border-radius: 10px; background: #fbf8f2; color: var(--ink); box-shadow: 0 40px 100px rgba(40, 25, 10, .45); }
.co::backdrop { background: rgba(42, 37, 33, .45); backdrop-filter: blur(4px); }
.co-in { padding: 28px 26px 22px; position: relative; }
.co-x { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--soft); }
.co-k { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.co-t { font-size: 26px; margin: 10px 0 2px; } .co-p { font: 400 20px/1.2 var(--serif); color: var(--terra); }
.co-f { display: grid; gap: 10px; margin: 18px 0; }
.co-f label { font-size: 13px; color: var(--soft); display: grid; gap: 5px; }
.co-f span { height: 40px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px rgba(42, 37, 33, .15); }
.co-pay { width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--sans); cursor: pointer; }
.co-n { margin-top: 14px; font-size: 12px; color: var(--soft); line-height: 1.5; }

/* phones */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .top { padding: 12px 16px; } .links { display: none; } .pill { margin-left: auto; font-size: 13px; padding: 8px 14px; }
  .hero { min-height: auto; }
  .hero-in { grid-template-columns: 1fr; padding: 92px 16px 40px; gap: 18px; }
  .lede { font-size: 17px; }
  .fan { height: 440px; margin-top: 10px; }
  .print { width: 52%; }
  .how, .catalog, .product { padding-left: 16px; padding-right: 16px; }
  .how { padding-top: 70px; }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .wall { grid-template-columns: 1fr 1fr; gap: 34px 16px; }
  .wall .card:nth-child(3n+2) { margin-top: 0; } .wall .card:nth-child(2n) { margin-top: 36px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; width: calc(100% + 32px); } .chips::-webkit-scrollbar { display: none; } .chips button { flex: none; }
  .card .mount { padding: 7px; }
  .card h3 { font-size: 18px; margin-top: 14px; }
  .card .meta { font-size: 12.5px; }
  .product { grid-template-columns: 1fr; gap: 36px; padding-top: 80px; }
  .board { max-width: 300px; }
  .buy { gap: 16px; } .buy .big { font-size: 36px; }
  .own { padding: 50px 16px 70px; } .own-card { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .print, .card .mount { transition: none; } }
