/* OneArtSource gift cards, one card per amount (18 Nov 2026).
   Used by the gift card page (/gift-card/). Cards are drawn in HTML/CSS so they stay sharp and can tilt.
   Five tiers: Linen $260, Ivory $500, Ink $750, Night $1,200, Gold leaf $1,500.
   Undo: stop loading this file and oas-gc3d.js. */

@property --mx{syntax:'<percentage>';inherits:true;initial-value:50%}
@property --my{syntax:'<percentage>';inherits:true;initial-value:30%}
@property --rx{syntax:'<angle>';inherits:true;initial-value:0deg}
@property --ry{syntax:'<angle>';inherits:true;initial-value:0deg}

.gcx{--rx:0deg;--ry:0deg;--mx:50%;--my:30%;--shine:.2;--glare:0;--drop:.25;
  position:relative;width:100%;aspect-ratio:1.586;container-type:inline-size;perspective:1200px;
  touch-action:pan-y;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.gcx *,.gcx *:before,.gcx *:after{box-sizing:border-box}
.gcx-b{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry));will-change:transform}
.gcx-l{position:absolute;inset:0;border-radius:3.4cqw;background:var(--edge,#ddd)}
.gcx-f{position:absolute;inset:0;border-radius:3.4cqw;overflow:hidden;transform:translateZ(0);background:var(--bg);isolation:isolate;
  font-family:Manrope,system-ui,sans-serif;color:var(--ink)}
/* soft floor shadow, deeper for heavier cards */
.gcx:after{content:"";position:absolute;left:9%;right:9%;bottom:-7%;height:16%;z-index:-1;border-radius:50%;
  background:radial-gradient(closest-side,rgba(20,17,12,var(--drop)),rgba(20,17,12,0));
  transform:translateX(calc(var(--ry) * -0.4)) scaleX(.96);filter:blur(4px);pointer-events:none}

/* painting window */
.gcx-art{position:absolute;margin:0;z-index:1}
.gcx .gcx-art img{display:block;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover;margin:0!important;max-width:none!important;border-radius:0}

/* words */
.gcx-c{position:absolute;z-index:3;left:7cqw;top:6.6cqw;bottom:6.2cqw;width:46cqw;display:flex;flex-direction:column;justify-content:space-between}
.gcx-br{font-family:Jost,system-ui,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.2em;font-size:3cqw;line-height:1;color:var(--brand)}
.gcx-v{display:block;font-family:Fraunces,Georgia,serif;font-weight:600;font-size:12.4cqw;line-height:.95;letter-spacing:-.025em;color:var(--ink);font-variant-numeric:lining-nums;margin:0}
.gcx-v sup{font-size:.5em;vertical-align:.62em;letter-spacing:0;margin-right:.04em}
.gcx-ft{display:flex;align-items:center;gap:2.2cqw;font-family:Jost,system-ui,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.18em;font-size:2.9cqw;line-height:1;color:var(--label)}
.gcx-ft i{font-style:normal;color:var(--tier)}
.gcx-ft:before{content:"";order:2;width:4.5cqw;height:1px;background:currentColor;opacity:.55}
.gcx-ft i{order:3}

/* light that follows the hand */
.gcx-sh{position:absolute;inset:0;z-index:5;border-radius:inherit;pointer-events:none;mix-blend-mode:soft-light;
  background:radial-gradient(circle at var(--mx) var(--my),rgba(255,255,255,var(--shine)) 0,rgba(255,255,255,0) 58%)}
.gcx-gl{position:absolute;inset:0;z-index:6;border-radius:inherit;pointer-events:none;mix-blend-mode:overlay;opacity:var(--glare);
  background:linear-gradient(115deg,rgba(255,255,255,0) calc(var(--mx) - 22%),rgba(255,248,230,.55) var(--mx),rgba(255,255,255,0) calc(var(--mx) + 22%))}

/* gold foil words (Night, Gold leaf) */
.gcx-foil{background:linear-gradient(105deg,#8C6C33 0%,#C9A461 calc(var(--mx) - 28%),#F6E4BC var(--mx),#C9A461 calc(var(--mx) + 28%),#7E622F 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent!important}

/* ---------- 1. Linen, $260: unbleached linen, a small painting hung on it ---------- */
.gcx[data-tier="linen"]{--bg:#F4F1E9;--edge:#DDD5C3;--ink:#16161A;--brand:#16161A;--label:#6C655E;--tier:#7E622F;--shine:.22;--drop:.2}
.gcx[data-tier="linen"] .gcx-f{background:
  repeating-linear-gradient(0deg,rgba(90,72,40,.05) 0 1px,rgba(0,0,0,0) 1px 3px),
  repeating-linear-gradient(90deg,rgba(90,72,40,.04) 0 1px,rgba(0,0,0,0) 1px 3px),#F4F1E9}
.gcx[data-tier="linen"] .gcx-art{right:7cqw;top:7.5cqw;bottom:7.5cqw;width:30cqw;padding:1.3cqw;background:#FBFAF6;box-shadow:0 0 0 1px #E3DDCF}

/* ---------- 2. Ivory, $500: smooth ivory stock, gold hairline, painting to the edge ---------- */
.gcx[data-tier="ivory"]{--bg:#FBFAF6;--edge:#E6DECB;--ink:#16161A;--brand:#7E622F;--label:#6C655E;--tier:#7E622F;--shine:.32;--glare:.25;--drop:.24}
.gcx[data-tier="ivory"] .gcx-f{background:linear-gradient(160deg,#FFFFFF 0%,#FBFAF6 55%,#F4F1E9 100%)}
.gcx[data-tier="ivory"] .gcx-f:before{content:"";position:absolute;inset:2.6cqw;z-index:4;border:1px solid rgba(168,130,62,.75);border-radius:2cqw;pointer-events:none}
.gcx[data-tier="ivory"] .gcx-art{right:0;top:0;bottom:0;width:43%}

/* ---------- 3. Ink, $750: black stock, the painting runs off the edge ---------- */
.gcx[data-tier="ink"]{--bg:#14110C;--edge:#0B0907;--ink:#FBFAF6;--brand:#C9C2B4;--label:#A79C89;--tier:#E6C98F;--shine:.38;--glare:.35;--drop:.32}
.gcx[data-tier="ink"] .gcx-art{right:0;top:0;bottom:0;width:64%}
.gcx[data-tier="ink"] .gcx-art img{object-position:0% 50%}
.gcx[data-tier="ink"] .gcx-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#14110C 0%,rgba(20,17,12,.7) 16%,rgba(20,17,12,0) 42%)}
.gcx[data-tier="ink"] .gcx-f:before{content:"";position:absolute;inset:0;z-index:4;border:1px solid rgba(168,130,62,.55);border-radius:inherit;pointer-events:none}

/* ---------- 4. Night, $1,200: dark panel, light gold foil, gold core in the edge ---------- */
.gcx[data-tier="night"]{--edge:#0B0907;--ink:#E6C98F;--brand:#E6C98F;--label:#A79C89;--tier:#E6C98F;--shine:.42;--glare:.5;--drop:.36}
.gcx[data-tier="night"] .gcx-f{background:linear-gradient(180deg,#14110C 0%,#14110C 45%,#211A11 100%)}
.gcx[data-tier="night"] .gcx-art{right:0;top:0;bottom:0;width:54%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%)}
.gcx[data-tier="night"] .gcx-f:before{content:"";position:absolute;inset:0;z-index:4;border:1px solid rgba(168,130,62,.8);border-radius:inherit;pointer-events:none}
.gcx[data-tier="night"] .gcx-l.is-core{background:#A8823E}

/* ---------- 5. Gold leaf, $1,500: black metal, engraved rings, gold-leaf frame, solid gold edge ---------- */
.gcx[data-tier="gold"]{--edge:#8C6C33;--ink:#E6C98F;--brand:#C9A461;--label:#A79C89;--tier:#E6C98F;--shine:.5;--glare:.65;--drop:.46}
.gcx[data-tier="gold"] .gcx-f{background:
  repeating-radial-gradient(circle at 0% 100%,rgba(230,201,143,.075) 0 1px,rgba(0,0,0,0) 1px 6px),
  repeating-linear-gradient(90deg,rgba(255,255,255,.022) 0 1px,rgba(0,0,0,0) 1px 2px,rgba(255,255,255,.012) 2px 3px),
  linear-gradient(160deg,#1E1A14 0%,#0E0C09 55%,#18140E 100%)}
.gcx[data-tier="gold"] .gcx-f:before{content:"";position:absolute;inset:0;z-index:4;border-radius:inherit;pointer-events:none;
  padding:1px;background:linear-gradient(105deg,#7E622F,#E6C98F var(--mx),#7E622F);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.gcx[data-tier="gold"] .gcx-art{right:7cqw;top:7cqw;bottom:7cqw;width:31cqw;padding:1.2cqw;
  background:linear-gradient(125deg,#7E622F 0%,#C9A461 calc(var(--mx) - 30%),#F6E4BC var(--mx),#C9A461 calc(var(--mx) + 30%),#6E5426 100%)}
.gcx[data-tier="gold"] .gcx-art:before{content:"";position:absolute;inset:1.2cqw;box-shadow:inset 0 0 0 1px rgba(20,17,12,.45);z-index:2;pointer-events:none}
.gcx[data-tier="gold"] .gcx-l{background:linear-gradient(90deg,#6E5426,#E6C98F 50%,#6E5426)}

/* ---------- small swatch, for the amount buttons ---------- */
.gcx.gcx--mini{perspective:none;touch-action:auto}
.gcx.gcx--mini:after,.gcx.gcx--mini .gcx-l,.gcx.gcx--mini .gcx-gl{display:none}
.gcx.gcx--mini .gcx-b{transform:none}
.gcx.gcx--mini .gcx-c{left:7cqw;top:7.5cqw;bottom:7.5cqw;width:52cqw}
.gcx.gcx--mini .gcx-br{display:none}
.gcx.gcx--mini .gcx-v{font-size:16.5cqw;margin-top:auto;margin-bottom:6cqw}
.gcx.gcx--mini .gcx-ft{font-size:6.6cqw;letter-spacing:.14em}
.gcx.gcx--mini .gcx-ft:before{display:none}
.gcx.gcx--mini[data-tier="ivory"] .gcx-c{left:9cqw}
.gcx.gcx--mini[data-tier="ink"] .gcx-art{width:50%}
.gcx.gcx--mini[data-tier="night"] .gcx-art{width:48%}
.gcx.gcx--mini .gcx-f{border-radius:7cqw;box-shadow:0 0 0 1px rgba(20,17,12,.1)}
.gcx.gcx--mini .gcx-f:before{border-radius:inherit!important}
/* amount buttons on /gift-card/: the card on top, its name and the radio under it, then what it buys */
html body .oas-gcp .oas-kb-pick button.oas-kb-o.has-sw{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;column-gap:10px;align-items:center;align-content:start;padding:10px 10px 14px!important}
.oas-gcp .oas-kb-o.has-sw .gcx-sw{grid-column:1/-1;grid-row:1;width:100%;margin:0 0 12px;pointer-events:none}
.oas-gcp .oas-kb-o.has-sw>b{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0!important}
.oas-gcp .oas-kb-o.has-sw .gcx-tn{grid-column:1;grid-row:2;padding-left:4px;font-family:Fraunces,Georgia,serif;font-style:normal;font-weight:600;font-size:1.12rem;line-height:1.2;letter-spacing:-.01em;color:#16161A}
.oas-gcp .oas-kb-o.has-sw>span{grid-column:1/-1;grid-row:3;margin-top:5px!important;padding:0 4px}
.oas-gcp .oas-kb-o.has-sw:after{position:static!important;grid-column:2;grid-row:2;margin-right:4px}
/* the last, odd one (Patron) runs the full width: card left, words right */
html body .oas-gcp .oas-kb-pick button.oas-kb-o.has-sw:last-child:nth-child(odd){grid-template-columns:minmax(0,46%) minmax(0,1fr) auto;grid-template-rows:auto 1fr;column-gap:14px;align-items:start}
.oas-gcp .oas-kb-o.has-sw:last-child:nth-child(odd) .gcx-sw{grid-column:1;grid-row:1/3;margin:0}
.oas-gcp .oas-kb-o.has-sw:last-child:nth-child(odd) .gcx-tn{grid-column:2;grid-row:1;padding:4px 0 0}
.oas-gcp .oas-kb-o.has-sw:last-child:nth-child(odd)>span{grid-column:2/4;grid-row:2;padding:0}
.oas-gcp .oas-kb-o.has-sw:last-child:nth-child(odd):after{grid-column:3;grid-row:1;margin-top:3px}

/* idle drift when nobody is touching it */
@keyframes gcx-drift{
  0%{--rx:5deg;--ry:-11deg;--mx:22%;--my:22%}
  50%{--rx:-3deg;--ry:9deg;--mx:78%;--my:40%}
  100%{--rx:5deg;--ry:-11deg;--mx:22%;--my:22%}}
.gcx.is-idle{animation:gcx-drift 9s ease-in-out infinite}
.gcx.is-live{animation:none}
.gcx.is-settle .gcx-b{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
@media (prefers-reduced-motion:reduce){.gcx.is-idle{animation:none;--rx:3deg;--ry:-7deg;--mx:35%}.gcx .gcx-b{transition:none!important}}

/* the empty card spot before the script draws the cards (no jump) */
.oas-gcp-card:empty{aspect-ratio:1.42;margin-bottom:64px!important}

/* ---------- the stage on the page: a fan of all five, then the chosen one ---------- */
.gcx-stage{position:relative;width:100%;aspect-ratio:1.42;margin:0}
.gcx-stage .gcx-slot{position:absolute;left:12%;right:12%;top:12%;transition:transform .7s cubic-bezier(.2,.75,.2,1),opacity .45s ease;transform-origin:50% 120%;cursor:pointer}
.gcx-stage .gcx-slot:focus-visible{outline:2px solid #A8823E;outline-offset:4px;border-radius:14px}
.gcx-stage:not(.has-pick) .gcx-slot{transform:translateX(calc(var(--i) * 7.5%)) rotate(calc(var(--i) * 5deg)) scale(.8)}
.gcx-stage:not(.has-pick) .gcx-slot:hover,.gcx-stage:not(.has-pick) .gcx-slot:focus-visible{z-index:30!important}
.gcx-stage:not(.has-pick) .gcx-slot:hover,.gcx-stage:not(.has-pick) .gcx-slot:focus-visible{transform:translateX(calc(var(--i) * 7.5%)) translateY(-5%) rotate(calc(var(--i) * 5deg)) scale(.82)}
.gcx-stage.has-pick .gcx-slot{opacity:0;pointer-events:none;transform:translateY(6%) scale(.9)}
.gcx-stage.has-pick .gcx-slot.is-on{opacity:1;pointer-events:auto;transform:none;left:4%;right:4%;top:7%;cursor:default}
.gcx-cap{margin:22px 0 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px}
.gcx-cap b{font-family:Jost,system-ui,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.14em;font-size:11px;line-height:1.4;color:#7E622F}
.gcx-cap span{font-family:Manrope,system-ui,sans-serif;font-size:13.5px;line-height:1.5;color:#6C655E}
@media (prefers-reduced-motion:reduce){.gcx-stage .gcx-slot{transition:opacity .2s ease}}

/* the one gold italic word in the gift card title */
.oas-gcp h1.product_title em{font-style:italic;font-weight:600;color:#A8823E}
