/* Closing gifts (Dec 2026): the closing-gifts page, the proof page, and the card itself (cgc-).
   The card is drawn at its print size (96 CSS px to the inch) and scaled down on screen. */

/* ---------- the card ---------- */
.cgc-fit{position:relative;width:100%;overflow:hidden}
.cgc-scale{position:absolute;left:0;top:0;transform-origin:0 0;width:max-content}
.cgc-spread{--b:0px;display:flex;width:calc(960px + 2 * var(--b));height:calc(672px + 2 * var(--b));font-family:'Karla',system-ui,sans-serif;color:#3A3226;
  text-align:left;line-height:normal;overflow:hidden;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-size:16px}
.cgc-bleed{--b:12px}
.cgc-spread *{box-sizing:border-box}
.cgc-panel{position:relative;width:calc(480px + var(--b));height:100%;display:flex;flex-direction:column;overflow:hidden;flex:0 0 auto}
.cgc-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#33491F;line-height:1.3}
.cgc-logo{display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}
.cgc-logo img{display:block;width:100%;height:100%;object-fit:contain}
.cgc-logo-lg{width:216px;height:58px}
.cgc-logo-sm{width:180px;height:48px}
.cgc-logo-md{width:192px;height:51px;justify-content:flex-start}
.cgc-logo-md img{object-position:left center}
.cgc-logo-txt span{font-family:'Fraunces',Georgia,serif;font-weight:600;color:#22331B;line-height:1.05;text-align:center;white-space:nowrap}
.cgc-logo-md.cgc-logo-txt span{text-align:left}
.cgc-logo-none span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:2px dashed #ADC28C;border-radius:10px;font-size:13px;font-weight:700;color:#5B5245}
/* outside, left: the back */
.cgc-back{background:#22331B;color:#DCE5CB;padding:calc(46px + var(--b)) 44px calc(40px + var(--b)) calc(44px + var(--b));align-items:center;text-align:center;gap:20px}
.cgc-chip{background:#F5F4EC;border-radius:14px;padding:14px 24px;display:flex}
.cgc-chip img{display:block;height:88px;width:auto}
.cgc-tag{margin:6px 0 0;font-family:'Fraunces',Georgia,serif;font-style:italic;font-weight:400;font-size:22px;line-height:1.4;color:#F5F4EC;max-width:350px}
.cgc-rule{width:56px;height:3px;border-radius:3px;background:#E9A413;flex:0 0 auto}
.cgc-addr{display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:1.5}
.cgc-addr b{font-weight:700;color:#ADC28C}
.cgc-by{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:10px}
.cgc-by .cgc-eyebrow{color:#ADC28C}
.cgc-logochip{background:#fff;border-radius:14px;padding:10px 16px;display:flex}
.cgc-byline{font-size:14px;color:#DCE5CB;max-width:380px}
/* outside, right: the front */
.cgc-front{background:#F5F4EC}
.cgc-photo{height:calc(348px + var(--b));flex:0 0 auto;overflow:hidden;background:#DCE5CB}
.cgc-photo img{display:block;width:100%;height:100%;object-fit:cover}
.cgc-bar{height:5px;background:#E9A413;flex:0 0 auto}
.cgc-fbody{flex:1;min-height:0;padding:26px calc(40px + var(--b)) calc(30px + var(--b)) 40px;display:flex;flex-direction:column;gap:10px}
.cgc-lead{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:42px;line-height:1.08;color:#22331B}
.cgc-lead em{font-style:italic;color:#33491F}
.cgc-ffoot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.cgc-ffoot>img{display:block;height:76px;width:auto}
.cgc-pres{background:#fff;border:1.5px solid #DCE5CB;border-radius:14px;padding:7px 10px 8px;display:flex;flex-direction:column;align-items:center;gap:4px}
.cgc-stack{flex-direction:column;width:480px;height:auto}
.cgc-stack .cgc-panel{width:480px;height:672px}
.cgc-stack.cgc-out{flex-direction:column-reverse}
.cgc-frontonly{width:480px}
.cgc-frontonly .cgc-panel{width:480px}
/* inside, left: the note and the giver */
.cgc-il{background-color:#F5F4EC;background-image:repeating-linear-gradient(90deg,rgba(51,73,31,.045) 0 1px,transparent 1px 96px),repeating-linear-gradient(0deg,rgba(51,73,31,.045) 0 1px,transparent 1px 96px);
  padding:calc(46px + var(--b)) 46px calc(40px + var(--b)) calc(46px + var(--b));gap:14px}
.cgc-greet{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:34px;line-height:1.12;color:#22331B;overflow-wrap:anywhere}
.cgc-note{font-family:'Fraunces',Georgia,serif;font-style:italic;font-weight:400;font-size:19px;line-height:1.55;color:#33491F;white-space:pre-line;overflow-wrap:anywhere}
.cgc-sign{font-family:'Fraunces',Georgia,serif;font-style:italic;font-weight:500;font-size:20px;color:#22331B}
.cgc-agent{margin-top:auto;background:#fff;border-radius:14px;border-top:5px solid #E9A413;box-shadow:0 2px 10px rgba(34,51,27,.10);padding:16px 20px 18px;display:flex;flex-direction:column;gap:12px;flex:0 0 auto}
.cgc-hr{height:1px;background:#DCE5CB;flex:0 0 auto}
.cgc-who{display:flex;flex-direction:column;gap:2px;min-width:0}
.cgc-who b{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:21px;color:#22331B;overflow-wrap:anywhere}
.cgc-who span{font-size:14px;color:#5B5245;overflow-wrap:anywhere}
.cgc-contact{display:flex;flex-direction:column;gap:6px;font-size:14px}
.cgc-contact span{display:flex;align-items:center;gap:10px}
.cgc-contact svg{flex:0 0 auto}
.cgc-contact i{font-style:normal;overflow-wrap:anywhere;min-width:0}
/* inside, right: the gift card */
.cgc-ir{background:#22331B;padding:calc(46px + var(--b)) calc(44px + var(--b)) calc(40px + var(--b)) 44px;align-items:center;text-align:center;gap:20px}
.cgc-ir .cgc-eyebrow{color:#ADC28C}
.cgc-gc{position:relative;width:304px;height:192px;margin:14px 0 6px;flex:0 0 auto}
.cgc-gcard{position:absolute;inset:0;border-radius:14px;background:#141712;box-shadow:0 12px 26px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center}
.cgc-gcard img{display:block;height:104px;width:auto}
.cgc-gcard span{position:absolute;right:16px;bottom:12px;font-size:12px;font-weight:700;letter-spacing:.14em;color:#DCE5CB}
.cgc-c{position:absolute;width:52px;height:52px;border:0 solid rgba(173,194,140,.55)}
.cgc-c1{left:-12px;top:-12px;border-top-width:2px;border-left-width:2px;border-top-left-radius:8px}
.cgc-c2{right:-12px;bottom:-12px;border-bottom-width:2px;border-right-width:2px;border-bottom-right-radius:8px}
.cgc-c3,.cgc-c4{display:none}
.cgc-good{font-size:17px;line-height:1.55;color:#DCE5CB;max-width:330px}
.cgc-open{font-size:17px;font-weight:700;color:#E9A413}
.cgc-qr{margin-top:auto;width:100%;background:#F5F4EC;border-radius:14px;padding:12px 14px;display:flex;align-items:center;gap:14px;text-align:left}
.cgc-qrbox{flex:0 0 auto;width:78px;height:78px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center}
.cgc-qrbox svg{display:block;width:66px;height:66px}
.cgc-qr b{display:block;font-size:14px;font-weight:700;color:#22331B;line-height:1.35}
.cgc-qr span{display:block;font-size:13px;font-weight:700;color:#33491F;margin-top:3px}
/* print: a frame where the real card goes (3.375 x 2.125 in) instead of the picture of one */
.cgc-print .cgc-gc{width:324px;height:204px;margin:6px 0 0}
.cgc-print .cgc-gcard{display:none}
.cgc-print .cgc-c{display:block;width:26px;height:26px;border-color:#ADC28C}
.cgc-print .cgc-c1{left:-6px;top:-6px}
.cgc-print .cgc-c2{right:-6px;bottom:-6px}
.cgc-print .cgc-c3{right:-6px;top:-6px;border-top-width:2px;border-right-width:2px;border-top-right-radius:8px}
.cgc-print .cgc-c4{left:-6px;bottom:-6px;border-bottom-width:2px;border-left-width:2px;border-bottom-left-radius:8px}
/* the e-card */
.cgc-email{width:640px;box-sizing:border-box;background:#E6E2D4;padding:30px 40px;font-family:'Karla',system-ui,sans-serif;color:#3A3226;text-align:left;line-height:normal;font-size:16px}
.cgc-email *{box-sizing:border-box}
.cgc-ebox{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(34,51,27,.10);display:flex;flex-direction:column}
.cgc-emeta{padding:14px 24px;border-bottom:1px solid #E4E0D3;display:flex;flex-direction:column;gap:3px;font-size:14px;color:#5B5245}
.cgc-emeta b{color:#3A3226}
.cgc-ehead{background:#F5F4EC;border-bottom:1px solid #DCE5CB;padding:18px;display:flex;justify-content:center}
.cgc-ehead img{display:block;height:74px;width:auto}
.cgc-ephoto{display:block;width:560px;height:200px;object-fit:cover}
.cgc-ebody{padding:30px 36px 28px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.cgc-ehl{font-family:'Fraunces',Georgia,serif;font-weight:500;font-size:34px;line-height:1.12;color:#22331B;overflow-wrap:anywhere}
.cgc-ebody p{margin:0;font-size:17px;line-height:1.6;max-width:420px}
.cgc-egc{position:relative;inset:auto;width:300px;height:190px}
.cgc-egc img{height:102px}
.cgc-enote{width:100%;background:#F5F4EC;border-radius:14px;padding:18px 22px;display:flex;flex-direction:column;gap:6px;text-align:left}
.cgc-enote .cgc-sign{font-size:17px}
.cgc-ebtn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 28px;border-radius:999px;background:#E9A413;color:#22331B;font-weight:700;font-size:16px}
.cgc-eagent{margin:0 36px 30px}
.cgc-erow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.cgc-erow .cgc-who{text-align:right}
.cgc-efoot{background:#22331B;color:#DCE5CB;padding:24px 36px 26px;display:flex;flex-direction:column;gap:6px;font-size:15px}
.cgc-efoot b{color:#E9A413}
.cgc-elink{font-weight:700;color:#ADC28C}

/* ---------- the closing-gifts page ---------- */
.cg-page main em{font-style:italic}
.cg-page .cg-h2{font-family:var(--display);font-weight:500;color:var(--forest);font-size:clamp(1.8rem,3.6vw,2.5rem);line-height:1.12;margin:10px 0 18px;max-width:none}
.cg-page .cg-h2 em{color:var(--pine)}
.cg-page .eyebrow.cg-eye{color:var(--marigold-ink)}
.cg-sec{padding:72px 0}
.cg-wide{max-width:1180px}
.cg-hero{background:#EDEEDF;padding:56px 0 64px;overflow:hidden}
.cg-hero-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:center;max-width:1180px}
.cg-hero h1{font-family:var(--display);font-weight:500;color:var(--forest);line-height:1.04;margin:12px 0 18px;font-size:clamp(2.5rem,5vw,4rem)}
.cg-hero h1 em{color:var(--pine)}
.cg-lead{font-size:1.12rem;line-height:1.6;max-width:34em}
.cg-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.cg-trust{margin-top:18px;font-size:.9rem;font-weight:700;color:var(--pine)}
.cg-hero-art{position:relative;padding:10px 0 30px}
.cg-hero-card{position:relative;z-index:1;width:min(100%,330px);margin:0 auto 0 8%;transform:rotate(-3deg);border-radius:6px;box-shadow:0 18px 40px rgba(34,51,27,.22);overflow:hidden;background:#F5F4EC}
.cg-hero-gc{position:absolute;z-index:0;right:0;top:20%;width:min(48%,240px);aspect-ratio:1.586;border-radius:12px;background:#141712;box-shadow:0 14px 28px rgba(0,0,0,.3);
  transform:rotate(8deg);display:flex;align-items:center;justify-content:center}
.cg-hero-gc img{width:58%;height:auto;display:block}
.cg-hero-gc span{position:absolute;right:12px;bottom:9px;font-size:.62rem;font-weight:700;letter-spacing:.14em;color:#DCE5CB}
.cg-cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px}
.cg-card{background:var(--white);border-radius:16px;padding:26px 24px;box-shadow:0 2px 12px rgba(34,51,27,.08)}
.cg-card h3{font-family:var(--display);color:var(--forest);font-size:1.25rem;margin:12px 0 8px}
.cg-card p{font-size:.97rem;margin:0}
.cg-ico{width:46px;height:46px;border-radius:12px;background:var(--sage-soft);display:flex;align-items:center;justify-content:center;color:var(--forest)}
.cg-how{background:var(--white)}
.cg-steps{list-style:none;padding:0;margin:30px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:none}
.cg-steps li{background:var(--glass);border-radius:16px;padding:24px}
.cg-steps b{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:var(--marigold);color:var(--forest);font-weight:700}
.cg-steps h3{font-family:var(--display);color:var(--forest);font-size:1.2rem;margin:14px 0 6px}
.cg-steps p{font-size:.97rem;margin:0}
.cg-what-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;margin-top:30px;align-items:start}
.cg-what-card{background:var(--white);border-radius:16px;overflow:hidden;box-shadow:0 2px 12px rgba(34,51,27,.08)}
.cg-what-pic{background:#E6E2D4;padding:18px}
.cg-what-pic .cgc-fit{border-radius:4px;box-shadow:0 8px 20px rgba(34,51,27,.16)}
.cg-what-ecard{max-height:330px;overflow:hidden;padding:18px 18px 0}
.cg-what-txt{padding:20px 24px 24px}
.cg-what-txt h3{font-family:var(--display);color:var(--forest);font-size:1.3rem;margin:0 0 8px}
.cg-what-txt p{font-size:.97rem;margin:0 0 10px}
.cg-links a{font-weight:700;color:var(--pine)}
/* the designer + the order, one form */
.cg-studio-sec{background:var(--glass)}
.cg-what{background:#EDEEDF}
.cg-sub{max-width:44em;margin:0 0 26px}
.cg-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"design preview" "order preview";gap:22px 26px;align-items:start}
.cg-design{grid-area:design}
.cg-order{grid-area:order}
.cg-preview{grid-area:preview;position:sticky;top:88px;background:var(--white);border-radius:16px;padding:18px;box-shadow:0 4px 18px rgba(34,51,27,.10)}
.cg-studio .quote-form{padding:26px}
.cg-studio h3{font-family:var(--display);color:var(--forest);font-size:1.35rem;margin:0 0 14px}
.cg-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px}
.cg-label,.cg-deliv legend{display:block;font-weight:700;font-size:.85rem;margin-bottom:6px;color:var(--forest);padding:0}
.cg-hint{display:block;font-size:.8rem;color:#6B6455;margin-top:5px}
.cg-file{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1.5px dashed var(--sage);border-radius:10px;padding:12px 14px;background:var(--glass)}
.cg-file input{font-family:var(--body);font-size:.9rem;max-width:100%;width:auto;border:0;background:transparent;padding:0}
.cg-logo-now{display:flex;align-items:center;gap:12px;margin-top:10px}
.cg-logo-now[hidden]{display:none}
.cg-logo-now img{max-width:160px;max-height:48px;background:#fff;border:1px solid var(--sage-soft);border-radius:8px;padding:4px 8px}
.cg-linkbtn{background:none;border:0;padding:0;font:inherit;font-size:.85rem;font-weight:700;color:var(--pine);text-decoration:underline;cursor:pointer}
.cg-err{color:#8C2B12;font-size:.85rem;font-weight:700;margin:8px 0 0}
.cg-err[hidden]{display:none}
.cg-seg{display:inline-flex;background:var(--glass);border:1.5px solid var(--sage-soft);border-radius:999px;padding:3px}
.cg-seg label,.cg-chips label{position:relative;cursor:pointer}
.cg-seg input,.cg-chips input,.cg-deliv input{position:absolute;opacity:0;width:1px;height:1px}
.cg-seg span{display:block;padding:8px 16px;border-radius:999px;font-weight:700;font-size:.9rem;color:var(--forest)}
.cg-seg input:checked+span{background:var(--forest);color:var(--glass)}
.cg-seg input:focus-visible+span,.cg-chips input:focus-visible+span,.cg-deliv input:focus-visible+span{outline:2px solid var(--marigold);outline-offset:2px}
.cg-count{float:right;font-weight:400;color:#6B6455;font-size:.78rem}
.cg-pv-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.cg-badge{display:inline-block;padding:5px 12px;border-radius:999px;background:var(--sage-soft);color:var(--forest);font-weight:700;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.cg-badge.mine{background:var(--marigold);color:var(--forest)}
.cg-samples{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.85rem;color:#6B6455}
.cg-samples[hidden]{display:none}
.cg-samples button,.cg-tabs button{font-family:var(--body);font-weight:700;font-size:.85rem;border:1.5px solid var(--forest);background:transparent;color:var(--forest);border-radius:999px;padding:6px 12px;cursor:pointer}
.cg-samples button[aria-pressed="true"],.cg-tabs button[aria-selected="true"]{background:var(--forest);color:var(--glass)}
.cg-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.cg-pv[hidden]{display:none}
.cg-pv .cgc-fit{border-radius:4px;box-shadow:0 6px 18px rgba(34,51,27,.16)}
.cg-pv-ecard{background:#E6E2D4;border-radius:10px;max-height:640px;overflow:auto}
.cg-pv-ecard .cgc-fit{box-shadow:none;border-radius:0}
.cg-cap{font-size:.82rem;color:#6B6455;margin:10px 2px 0}
.cg-chips{display:flex;flex-wrap:wrap;gap:8px}
.cg-cards{max-width:220px}
.cg-chips span{display:block;min-width:64px;text-align:center;padding:10px 14px;border:1.5px solid var(--sage-soft);border-radius:10px;background:var(--glass);font-weight:700;color:var(--forest)}
.cg-chips input:checked+span{border-color:var(--forest);background:var(--forest);color:var(--glass)}
.cg-other{margin-top:10px}
.cg-other[hidden]{display:none}
.cg-total{margin:-4px 0 16px;font-weight:700;color:var(--pine);min-height:1.4em}
.cg-deliv{border:0;padding:0;margin:0 0 18px}
.cg-deliv label{display:block;position:relative;cursor:pointer;margin-bottom:8px}
.cg-deliv label>span{display:block;border:1.5px solid var(--sage-soft);border-radius:12px;padding:12px 14px 12px 44px;background:var(--glass)}
.cg-deliv label>span::before{content:"";position:absolute;left:15px;top:15px;width:16px;height:16px;border-radius:999px;border:2px solid var(--sage);background:#fff}
.cg-deliv input:checked+span{border-color:var(--forest);background:#fff}
.cg-deliv input:checked+span::before{border:5px solid var(--forest)}
.cg-deliv b{display:block;color:var(--forest)}
.cg-deliv small{display:block;font-size:.85rem;color:#6B6455}
.cg-order .confirm{font-weight:400}
.cg-order .confirm b{font-weight:700}
.cg-faq-x[hidden]{display:none}
@media (max-width:960px){
  .cg-hero-in{grid-template-columns:1fr;gap:20px}
  .cg-hero-art{max-width:440px;margin:0 auto;width:100%}
  .cg-studio{grid-template-columns:minmax(0,1fr);grid-template-areas:"design" "preview" "order"}
  .cg-preview{position:static}
  .cg-what-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .cg-cards3,.cg-steps{grid-template-columns:minmax(0,1fr)}
  .cg-sec{padding:52px 0}
  .cg-hero{padding:32px 0 40px}
  .cg-hero h1{font-size:2.3rem}
  .cg-hero-card{width:74%;margin-left:2%}
  .cg-hero-gc{width:46%;top:16%}
}
@media (max-width:520px){
  .cg-2{grid-template-columns:minmax(0,1fr)}
  .cg-studio .quote-form{padding:20px 16px}
  .cg-preview{padding:12px}
  .cg-cta .btn{flex:1 1 100%;text-align:center}
}

/* ---------- the proof page ---------- */
.cgp-head{background:#EDEEDF;padding:40px 0 30px}
.cgp-head h1{font-family:var(--display);font-weight:500;color:var(--forest);font-size:clamp(2rem,4.4vw,3rem);line-height:1.08;margin:10px 0 12px}
.cgp-state{font-weight:700;color:var(--pine)}
.cgp-body{padding:30px 0 70px}
.cgp-block{background:var(--white);border-radius:16px;padding:20px;box-shadow:0 2px 12px rgba(34,51,27,.08);margin-bottom:22px}
.cgp-block h2{font-family:var(--display);font-weight:500;color:var(--forest);font-size:1.4rem;margin:0 0 4px}
.cgp-block p.cgp-note{font-size:.92rem;color:#6B6455;margin:0 0 14px}
.cgp-block .cgc-fit{box-shadow:0 6px 18px rgba(34,51,27,.16);border-radius:3px}
.cgp-ecard{background:#E6E2D4;border-radius:10px;max-width:560px}
.cgp-ok{background:var(--sage-soft);border-radius:14px;padding:18px 20px;margin:0 0 22px;color:var(--forest)}
.cgp-ok b{display:block;font-family:var(--display);font-size:1.15rem;margin-bottom:4px}
.cgp-printbox{border:2px dashed var(--sage);background:var(--glass)}
.cgp-printbox ol{margin:10px 0 16px 20px;padding:0;font-size:.95rem}
.cgp-printbox li{margin-bottom:4px}
.cgp-bad{background:#F6E3B4;border-radius:14px;padding:18px 20px;font-weight:700;color:var(--forest)}
.cgp-print{display:none}
.cgp-print.cgp-measure{display:block;position:absolute;left:-20000px;top:0;visibility:hidden}
.cg-page main [hidden],.cgp-page main [hidden]{display:none!important}
