/* ONLINE PLATFORM layout samples. Chosen with the bar at the bottom of the page. */

/* ---------- H1: three small landscape cards in a row ---------- */
.pf-h1 .platform { grid-template-rows: auto 1fr; }
.pf-h1 .platform-cards { align-self: center; width: min(100%, 1320px); margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4vw; }
.pf-h1 .pf-card { aspect-ratio: 16 / 10; min-height: 0; }
.pf-h1 .pf-body { gap: 8px; padding: clamp(14px, 1.4vw, 22px); }
.pf-h1 .pf-logo { width: min(62%, 220px); }
.pf-h1 .pf-logo-rise { width: min(42%, 150px); }
.pf-h1 .pf-text { font-size: 10.5px; }
.pf-h1 .pf-cta { padding: 7px 11px; font-size: 9.5px; }
.pf-h1 .pf-direct strong { font-size: clamp(1.2rem, 1.7vw, 1.8rem) !important; }
.pf-h1 .pf-direct .pf-text { display: none; }
.pf-h1 .pf-direct .pf-btn { padding: 7px 11px; font-size: 9.5px; }
.pf-h1 .pf-direct .pf-shot { height: 100%; object-position: left top !important; }

/* ---------- H2: three wide rows, one under another ---------- */
.pf-h2 .platform-cards { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 1vw; }
.pf-h2 .pf-card { align-items: center; }
.pf-h2 .pf-card::after { background: linear-gradient(90deg, rgba(59,44,34,.88) 0%, rgba(59,44,34,.6) 45%, rgba(59,44,34,.2) 100%); }
.pf-h2 .pf-shot { object-position: center 25%; }
.pf-h2 .pf-body { grid-template-columns: minmax(160px, 300px) 1fr auto; align-items: center; gap: 3vw; padding: 0 clamp(22px, 3vw, 48px); }
.pf-h2 .pf-logo { width: 100%; max-width: 280px; }
.pf-h2 .pf-logo-rise { max-width: 190px; }
.pf-h2 .pf-text { font-size: 12px; max-width: 34rem; }
.pf-h2 .pf-cta { margin: 0; }
.pf-h2 .pf-direct .pf-body { grid-template-columns: minmax(160px, 300px) 1fr auto auto; }
.pf-h2 .pf-direct small { display: none; }
.pf-h2 .pf-direct strong { font-size: clamp(1.3rem, 2vw, 2rem) !important; }
.pf-h2 .pf-direct .pf-shot { height: 100%; object-position: left 20% !important; }
.pf-h2 .pf-direct .pf-actions { margin: 0; }
.pf-h2 .pf-direct .pf-mail { margin: 0; }

/* ---------- H3: catalogue rows — picture on the left, details on the right ---------- */
.pf-h3 .platform-cards { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(74,52,38,.22); }
.pf-h3 .pf-card { display: grid; grid-template-columns: minmax(0, 38%) 1fr; align-items: stretch; gap: 2.4vw; padding: 1vw 0; background: transparent !important; color: var(--ink) !important; border-bottom: 1px solid rgba(74,52,38,.22); overflow: visible; }
.pf-h3 .pf-card::after { display: none !important; }
.pf-h3 .pf-shot { position: relative; inset: auto; z-index: 0; height: 100%; min-height: 0; filter: sepia(.25) brightness(.92) !important; transform: none !important; opacity: 1; }
.pf-h3 a.pf-card:hover .pf-shot { filter: none !important; }
.pf-h3 .pf-body { align-content: center; gap: 10px; padding: 0 1vw 0 0; }
.pf-h3 .pf-logo { filter: invert(.82) sepia(.5) saturate(1.4) hue-rotate(-10deg) brightness(.5); width: min(60%, 260px); }
.pf-h3 .pf-logo-rise { width: min(40%, 170px); }
.pf-h3 .pf-text { color: #6d5944 !important; font-size: 12px; max-width: 34rem; }
.pf-h3 .pf-cta { color: var(--title) !important; border-color: rgba(74,52,38,.45) !important; }
.pf-h3 a.pf-card:hover .pf-cta { background: var(--title) !important; color: var(--moon) !important; border-color: var(--title) !important; }
.pf-h3 .pf-direct small { color: #8a6a52 !important; }
.pf-h3 .pf-direct strong { color: var(--title) !important; font-size: clamp(1.4rem, 2.2vw, 2.4rem) !important; }
.pf-h3 .pf-direct strong em { color: #8a6a52 !important; }
.pf-h3 .pf-direct .pf-shot { height: 100% !important; object-position: left top !important; }
.pf-h3 .pf-direct .pf-btn { color: var(--title) !important; border-color: rgba(74,52,38,.45) !important; background: transparent !important; }
.pf-h3 .pf-direct .pf-btn img { filter: none !important; }
.pf-h3 .pf-direct .pf-mail { color: var(--title) !important; border-color: rgba(74,52,38,.45) !important; }

/* phones: rows stack simply */
@media (max-width: 800px) {
  .pf-h1 .pf-card { aspect-ratio: 16 / 9; }
  .pf-h2 .pf-body, .pf-h2 .pf-direct .pf-body { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .pf-h3 .pf-card { grid-template-columns: 40% 1fr; }
}

/* ---------- picker bar ---------- */
.pf-picker { position: fixed; z-index: 70; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 5px 6px; background: rgba(27,21,18,.82); backdrop-filter: blur(6px); border: 1px solid rgba(236,230,218,.18); border-radius: 999px; font: 500 10.5px/1 'Poppins', sans-serif; }
.pf-picker p { margin: 0 8px 0 10px; font-size: 9px; letter-spacing: .16em; color: #d8c9a8; white-space: nowrap; }
.pf-picker button { border: 0; background: transparent; color: #ece6da; padding: 6px 11px; border-radius: 999px; cursor: pointer; font: inherit; white-space: nowrap; }
.pf-picker button:hover { background: rgba(236,230,218,.1); }
.pf-picker button.on { background: #ece6da; color: #3b2e25; font-weight: 700; }

/* leave room for the picker bar */
body.has-pf-picker .platform { height: calc(100svh - 48px - 56px); }
/* H1: darker veil on the artist card so its text reads */
.pf-h1 .pf-direct::after { display: block !important; background: linear-gradient(180deg, rgba(59,44,34,.25) 0%, rgba(59,44,34,.88) 70%) !important; }
/* H2: e-mail sits on the same line as the button */
.pf-h2 .pf-direct .pf-mail { align-self: center; }
/* H3: artist row fits its height */
.pf-h3 .pf-direct .pf-body { gap: 7px; }
.pf-h3 .pf-direct strong { font-size: clamp(1.2rem, 1.8vw, 2rem) !important; }
.pf-h3 .pf-direct .pf-text { font-size: 11px; }
.pf-h3 .pf-direct .pf-actions { display: flex; align-items: center; gap: 18px; }

/* H4: Saatchi Art and Rise Art share the top row, half each; Yu Rim Gough is one large card below
   that opens Instagram (the e-mail address stays its own link) */
body.pf-h4 .platform-cards{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1.1fr)}
body.pf-h4 .pf-direct{grid-column:1 / -1}
body.pf-h4 .pf-direct .pf-shot{height:100%;object-position:left 22%!important}
body.pf-h4 .pf-direct .pf-btn::after{content:'';position:absolute;inset:0;z-index:1}
body.pf-h4 .pf-direct{cursor:pointer}
body.pf-h4 .pf-direct .pf-mail{position:relative;z-index:2}
body.pf-h4 .pf-direct .pf-body{max-width:760px}
body.pf-h4 .pf-direct:hover .pf-btn{background:var(--halo);color:var(--ink)!important}
body.pf-h4 .pf-card .pf-shot[src*="saatchi"],body.pf-h4 .pf-card .pf-shot[src*="rise"]{object-position:center 12%}
body.pf-h4 .pf-logo{width:min(56%,300px)}
body.pf-h4 .pf-logo-rise{width:min(38%,200px)}
@media(max-width:800px){
  body.pf-h4 .platform-cards{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1.25fr);gap:2.5vw}
  body.pf-h4 .pf-body{padding:12px;gap:7px}
  body.pf-h4 .pf-logo{width:92%}
  body.pf-h4 .pf-logo-rise{width:66%}
  body.pf-h4 .pf-card:not(.pf-direct) .pf-text{font-size:9.5px;line-height:1.4}
  body.pf-h4 .pf-cta{font-size:8.5px;padding:6px 8px;letter-spacing:.04em}
  body.pf-h4 .pf-direct .pf-body{padding:16px}
  body.pf-h4 .pf-direct .pf-mail{display:inline-block!important}
}
body.pf-h4 .pf-direct small{color:#cdb48f!important}
@media(min-width:801px){
  body.pf-h4 .pf-direct .pf-shot{left:auto;right:0;width:56%;height:100%;object-fit:cover;object-position:left top!important}
  body.pf-h4 .pf-direct::after{background:linear-gradient(90deg,#4a3a2f 0%,#4a3a2f 44%,rgba(74,58,47,.35) 62%,rgba(59,44,34,.15) 100%)}
  body.pf-h4 .pf-direct{align-items:center}
}
@media(max-width:800px) and (max-height:720px){body.pf-h4 .pf-direct .pf-text{display:none}}
/* 12-01 c: whole Instagram screenshot visible on computers (nothing cut at the bottom) */
@media(min-width:801px){
  body.pf-h4 .pf-direct .pf-shot{width:auto!important;height:100%!important;aspect-ratio:716/640;object-fit:cover;right:0;left:auto}
  body.pf-h4 .pf-direct::after{background:linear-gradient(90deg,#4a3a2f 0%,#4a3a2f 60%,rgba(74,58,47,.55) 70%,rgba(74,58,47,.08) 82%,rgba(74,58,47,0) 100%)}
}
/* 12-02: computers — Instagram fills more than half of the card and melts into the brown on its left */
@media(min-width:801px){
  body.pf-h4 .pf-direct .pf-shot{left:auto!important;right:0!important;width:62%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:50% 6%!important;filter:sepia(.25) saturate(.85) brightness(.92);-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 14%,rgba(0,0,0,.85) 32%,#000 48%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 14%,rgba(0,0,0,.85) 32%,#000 48%)}
  body.pf-h4 .pf-direct::after{background:linear-gradient(90deg,#4a3a2f 0%,#4a3a2f 34%,rgba(74,58,47,.55) 48%,rgba(74,58,47,.22) 62%,rgba(74,58,47,.12) 100%)!important}
  body.pf-h4 .pf-direct .pf-body{max-width:44%}
}

/* 12-02 b: computers — the three cards side by side in one row, about half the size, with more space around */
@media(min-width:801px){
  body.pf-h4 .platform{grid-template-rows:auto 1fr}
  body.pf-h4 .platform-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:1fr!important;width:min(1180px,76%);height:min(400px,50vh);margin:auto;gap:22px!important;align-self:center}
  body.pf-h4 .pf-direct{grid-column:auto!important;align-items:flex-end!important}
  body.pf-h4 .pf-direct .pf-shot{left:0!important;right:auto!important;width:100%!important;height:100%!important;object-position:50% 0!important;-webkit-mask-image:none!important;mask-image:none!important;filter:grayscale(.4) sepia(.35) brightness(.62)!important}
  body.pf-h4 .pf-direct::after{background:linear-gradient(180deg,rgba(43,33,26,.1) 0%,rgba(43,33,26,.55) 55%,rgba(43,33,26,.9) 100%)!important}
  body.pf-h4 .pf-direct .pf-body{max-width:none!important}
  body.pf-h4 .pf-direct .pf-text{display:none}
  body.pf-h4 .pf-body{padding:18px!important;gap:10px!important}
  body.pf-h4 .pf-logo{width:min(70%,220px)!important}
  body.pf-h4 .pf-logo-rise{width:min(46%,140px)!important}
  body.pf-h4 .pf-text{font-size:11px;line-height:1.45}
  body.pf-h4 .pf-cta{font-size:9.5px;padding:8px 11px}
  body.pf-h4 .pf-direct strong{font-size:clamp(1.4rem,2vw,2rem)!important}
}
/* 12-02 c: phones — cards smaller, wider side margins, gathered in the middle */
@media(max-width:800px){
  body.pf-h4 .platform-cards{width:80%;height:min(100%,560px);justify-self:center;align-self:center;gap:8px!important}
  body.pf-h4 .pf-body{padding:9px!important;gap:5px!important}
  body.pf-h4 .pf-card:not(.pf-direct) .pf-text{font-size:8.5px!important}
  body.pf-h4 .pf-cta{font-size:7.5px!important;padding:5px 6px!important}
  body.pf-h4 .pf-direct .pf-body{padding:12px!important}
  body.pf-h4 .pf-direct strong{font-size:1.45rem!important}
  body.pf-h4 .pf-direct .pf-text{font-size:10px!important;line-height:1.45}
}
/* 12-02 d: computers — more space between the three cards */
@media(min-width:801px){body.pf-h4 .platform-cards{gap:clamp(36px,4vw,64px)!important;width:min(1260px,82%)}}
/* 12-02 e: phones — cards sit a little higher */
@media(max-width:800px){body.pf-h4 .platform-cards{align-self:start;margin-top:max(8px,4.5svh);height:min(calc(100% - max(8px,4.5svh)),560px)}}
/* 12-02 f: a soft shadow under every card */
body.pf-h4 .pf-card{box-shadow:0 14px 32px -10px rgba(58,40,30,.38),0 4px 10px rgba(58,40,30,.12)!important;transition:box-shadow .35s,transform .35s}
@media(hover:hover){body.pf-h4 .pf-card:hover{box-shadow:0 22px 44px -12px rgba(58,40,30,.45),0 6px 14px rgba(58,40,30,.14)!important}}
@media(max-width:800px){body.pf-h4 .pf-card{box-shadow:0 10px 22px -8px rgba(58,40,30,.4),0 3px 8px rgba(58,40,30,.12)!important}}
/* 12-02 g: the HOME / INSTAGRAM / EMAIL bar shows on the first screen, no scrolling */
.pf-foot{padding-top:15px!important;padding-bottom:17px!important}
body.pf-h4 .platform{height:calc(100svh - 48px - 50px - 10px)!important}
@media(max-width:800px){body.pf-h4 .platform{height:calc(100svh - 44px - 48px - 10px)!important}}
@media(max-height:620px) and (max-width:800px){body.pf-h4 .platform{height:auto!important}}
