/* Shekinah · warm paper invitations. The hosted form and its SDK are unchanged. */
#shekinah-mentorship.motion-review :is(.invitation-card,.paper-invitation) {
  --invitation-cream:#fffaf3;
  --invitation-rose:#f4dfdf;
  --invitation-wine:#722d46;
  --invitation-ink:#50313d;
  --invitation-line:#dab6b9;
  position:relative; min-width:0; box-sizing:border-box;
  color:var(--invitation-ink);
}

/* A real, single hosted opt-in in a responsive shell, without touching its document. */
#shekinah-mentorship.motion-review #request-guide.gift-request { padding-top:56px; border-top:0; }
#shekinah-mentorship.motion-review #request-guide .gift-request-grid {
  grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr); gap:clamp(30px,5vw,70px);
  align-items:start;
}
#shekinah-mentorship.motion-review #request-guide .gift-request-copy { padding-top:32px; }
#shekinah-mentorship.motion-review #request-guide .gift-request-copy h2 { max-width:13ch; }
#shekinah-mentorship.motion-review #request-guide .guide-optin-card {
  width:100%; max-width:none; margin:0; padding:clamp(22px,3.2vw,38px);
  background:radial-gradient(ellipse at 100% 0%,#f3d4d954,transparent 64%),linear-gradient(145deg,#fffaf4,#fff5ec);
  border:1px solid #d8adb480; border-radius:24px;
  box-shadow:0 18px 42px -30px #722d4659,0 3px 10px #b8798b0b;
}
#shekinah-mentorship.motion-review #request-guide .gift-request-image {
  position:relative; overflow:clip; margin:-10px -12px 18px; border-radius:18px;
}
#shekinah-mentorship.motion-review #request-guide .gift-request-image img {
  display:block; width:100%; height:clamp(150px,17vw,195px); object-fit:cover;
}
#shekinah-mentorship.motion-review #request-guide .hosted-form-shell,
#shekinah-mentorship.motion-review #request-guide .hosted-form-shell .kit-native {
  display:block; box-sizing:border-box; width:100%; max-width:100%; min-width:0;
  height:auto; min-height:476px; max-height:none; overflow:visible;
}
#shekinah-mentorship.motion-review #request-guide .hosted-form-shell {
  padding:4px; margin:0; border:1px solid #e9cfd060; border-radius:16px;
  background:#fffaf6a8;
}
#shekinah-mentorship.motion-review #request-guide .hosted-form-shell iframe {
  display:block; box-sizing:border-box; width:100%; max-width:100%; min-height:476px;
  /* Do not set height: the unmodified SDK owns the iframe's pixel height. */
}
#shekinah-mentorship.motion-review #request-guide .guide-optin-card:focus-within {
  border-color:#a65e76; box-shadow:0 0 0 3px #ba7b912b,0 18px 42px -30px #722d4659;
}
#shekinah-mentorship.motion-review #request-guide .hosted-form-shell:focus-within {
  outline:2px solid #a65e76; outline-offset:4px;
}
#shekinah-mentorship.motion-review #request-guide .guide-optin-card > .small {
  margin:20px 2px 0; font-size:14px; line-height:1.65;
}

/* Contact stays an honest personal note invitation with its existing outbound links. */
#shekinah-mentorship.motion-review #contact-main .personal-contact { align-items:start; gap:clamp(30px,5vw,68px); }
#shekinah-mentorship.motion-review #contact-main .personal-note-card {
  padding:clamp(28px,4vw,46px); border:1px solid #d8adb480; border-radius:22px;
  background:radial-gradient(ellipse at 92% 8%,#ecc8d04d,transparent 62%),linear-gradient(135deg,#fffaf4,#fff4eb);
  box-shadow:0 20px 44px -33px #6d30455e;
}
#shekinah-mentorship.motion-review #contact-main .personal-note-card h2 {
  font:normal clamp(33px,3.1vw,44px)/1.12 Georgia,'Times New Roman',serif;
  color:#683044; max-width:13ch; margin-top:4px;
}
#shekinah-mentorship.motion-review #contact-main .note-card-rule {
  display:block; width:60px; height:1px; margin:0 0 26px;
  background:linear-gradient(90deg,#ac7f3f,#dabe7a77,transparent);
}
#shekinah-mentorship.motion-review #contact-main .personal-note-card .kit-placeholder {
  padding:22px; border:1px solid #ddbfc2; border-radius:15px;
  background:#fffdf8c7; color:#624351; line-height:1.7;
}
#shekinah-mentorship.motion-review #contact-main .personal-note-card .kit-placeholder p:last-child { margin-bottom:0; }
#shekinah-mentorship.motion-review #contact-main .personal-note-card .kit-placeholder a {
  display:inline-block; padding:8px 0; min-height:44px; box-sizing:border-box;
  font-size:16px; color:#722d46; text-decoration:underline; text-underline-offset:4px;
  overflow-wrap:anywhere;
}
#shekinah-mentorship.motion-review #contact-main .contact-card {
  padding:24px 26px; border:1px solid #dfc0c1a8; border-radius:15px;
  background:linear-gradient(135deg,#fffaf4d9,#f9e9e49c); box-shadow:none;
}
#shekinah-mentorship.motion-review #contact-main .contact-card h3 { font-size:22px; line-height:1.25; }
#shekinah-mentorship.motion-review #contact-main .contact-card a { display:inline-block; padding-block:8px; min-height:44px; box-sizing:border-box; }
#shekinah-mentorship.motion-review #contact-main .personal-note-card:focus-within,
#shekinah-mentorship.motion-review #contact-main .contact-card:focus-within {
  outline:2px solid #a65e76; outline-offset:5px;
}
#shekinah-mentorship.motion-review #contact-main :is(.personal-note-card,.contact-card) .gold-corner { opacity:.5; }
#shekinah-mentorship.motion-review :is(#contact-main,#request-guide) a:focus-visible {
  outline:2px solid #722d46; outline-offset:4px; border-radius:3px;
}

/* Intake: the original notebook keeps its own pencil; writing fields stay anchored. */
#shekinah-mentorship.motion-review #intake-main .note-intake { max-width:850px; }
#shekinah-mentorship.motion-review #intake-main .journal-depth-scene {
  position:relative; isolation:isolate; overflow:clip; width:100%;
  padding-block:52px; margin:-26px auto -20px; box-sizing:border-box;
}
#shekinah-mentorship.motion-review #intake-main .journal-photo-layer {
  position:relative; width:100%; line-height:0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 11%,#000 91%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(0deg,transparent,#000 11%,#000 91%,transparent);
  -webkit-mask-composite:source-in; mask-composite:intersect;
}
#shekinah-mentorship.motion-review #intake-main .journal-depth-photo {
  display:block; width:100%; max-width:100%; height:auto; max-height:none; margin:0;
  border:0; border-radius:0; filter:none; box-shadow:none;
  -webkit-mask-image:none; mask-image:none;
}
#shekinah-mentorship.motion-review #intake-main .journal-page-light {
  display:block; position:absolute; inset:10% 15% 10% 17%; pointer-events:none;
  background:linear-gradient(105deg,transparent 43%,#fff6da00 47%,#fff6da36 49%,#fff9e717 64%,transparent 86%);
  -webkit-mask-image:linear-gradient(0deg,transparent,#000 13%,#000 87%,transparent);
  mask-image:linear-gradient(0deg,transparent,#000 13%,#000 87%,transparent);
}
#shekinah-mentorship.motion-review #intake-main .journal-page-shadow {
  display:block; position:absolute; left:18%; right:15%; bottom:7%; height:3.8%; pointer-events:none;
  background:radial-gradient(ellipse at 54% 40%,#683e2438,transparent 70%); filter:blur(2px);
}
#shekinah-mentorship.motion-review #intake-main .paper-invitation {
  position:relative; isolation:isolate; overflow:visible;
  padding:30px clamp(24px,5vw,54px) 42px; border:1px solid #d6b6aa94;
  border-radius:7px 18px 15px 7px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23847566' filter='url(%23grain)' opacity='.12' d='M0 0h144v144H0z'/%3E%3C/svg%3E"),
    radial-gradient(ellipse farthest-side at 100% 0%,#f5ddd560,transparent 62%),
    linear-gradient(91deg,#eedacf 0,#fbefe5 11px,#fffaf3 31px,#fffdf8 55%,#fdf1e8 100%);
  background-size:144px 144px,100% 100%,100% 100%;
  box-shadow:inset 1px 1px 0 #fffcf6,0 20px 42px -29px #713a4e59,
    2px 3px 0 #f7ebdf,4px 5px 0 #eee0d3,5px 6px 0 #dfc9b588;
}
#shekinah-mentorship.motion-review #intake-main .paper-depth {
  position:absolute; inset:14px 10px 22px; z-index:0; pointer-events:none;
  border-radius:7px;
  background:linear-gradient(90deg,transparent 27px,#bd8b9224 28px,#bd8b9224 29px,transparent 30px),
    repeating-linear-gradient(0deg,transparent,transparent 37px,#c1aa8c12 38px,#c1aa8c12 39px),
    radial-gradient(ellipse at 80% 4%,#f2d5d32b,transparent 62%);
  box-shadow:inset 0 1px 0 #fffaf185;
}
#shekinah-mentorship.motion-review #intake-main .paper-invitation > :not(.paper-depth) { position:relative; z-index:1; }
#shekinah-mentorship.motion-review #intake-main .paper-ornament { height:96px; margin:-8px 0 18px; pointer-events:none; }
#shekinah-mentorship.motion-review #intake-main .paper-canonical-key {
  display:block; position:absolute; left:2px; top:0; width:58px; height:auto; max-height:96px;
  object-fit:contain; border:0; border-radius:0; box-shadow:none; filter:none;
  -webkit-mask-image:linear-gradient(180deg,#000 calc(var(--key-draw-progress,1)*110% - 10%),transparent calc(var(--key-draw-progress,1)*110%));
  mask-image:linear-gradient(180deg,#000 calc(var(--key-draw-progress,1)*110% - 10%),transparent calc(var(--key-draw-progress,1)*110%));
}
#shekinah-mentorship.motion-review #intake-main .paper-invitation > p:first-of-type {
  font-size:17px; line-height:1.75; max-width:65ch; margin-bottom:30px;
}
#shekinah-mentorship.motion-review #intake-main .shk-form h3 { font-size:12px; letter-spacing:.15em; margin-top:34px; border-color:#d9b9b0; }
#shekinah-mentorship.motion-review #intake-main .shk-form label.lb { font-size:14px; line-height:1.5; }
#shekinah-mentorship.motion-review #intake-main .shk-form :is(.field > input,.field > textarea,.field > select) {
  min-height:52px; border:1px solid #c6a4a9; border-radius:12px;
  background:#fffdf9e8; padding:13px 15px; font:400 16px/1.5 Arial,Helvetica,sans-serif;
  color:#50313d; box-shadow:inset 0 1px 3px #9f687208;
}
#shekinah-mentorship.motion-review #intake-main .shk-form .field > textarea { min-height:120px; resize:vertical; }
#shekinah-mentorship.motion-review #intake-main .shk-form :is(input,textarea,select,button):focus-visible {
  outline:2px solid #8d4a63; outline-offset:3px; border-color:#8d4a63;
}
#shekinah-mentorship.motion-review #intake-main .shk-form .bad :is(input,select,textarea) { border-color:#a2304f; }
#shekinah-mentorship.motion-review #intake-main .shk-form .check-row { font-size:14px; line-height:1.65; }
#shekinah-mentorship.motion-review #intake-main .shk-form .form-actions { padding-top:12px; }
#shekinah-mentorship.motion-review #intake-main .shk-form .form-actions .button { min-height:52px; }
#shekinah-mentorship.motion-review #intake-main .paper-invitation > .gold-corner { display:none; }

@media (max-width:740px) {
  #shekinah-mentorship.motion-review #intake-main .journal-depth-scene { padding-block:52px; margin-top:-16px; margin-bottom:-10px; }
  #shekinah-mentorship.motion-review #request-guide .gift-request-grid { grid-template-columns:minmax(0,1fr); gap:26px; }
  #shekinah-mentorship.motion-review #request-guide .gift-request-copy { padding-top:0; }
  #shekinah-mentorship.motion-review #request-guide .guide-optin-card { padding:20px 14px 22px; border-radius:20px; }
  #shekinah-mentorship.motion-review #request-guide .gift-request-image { margin:-8px -6px 16px; }
  #shekinah-mentorship.motion-review #request-guide .hosted-form-shell { padding:2px; }
  #shekinah-mentorship.motion-review #contact-main .personal-note-card { padding:28px 22px; }
  #shekinah-mentorship.motion-review #contact-main .personal-note-card .kit-placeholder { padding:18px 16px; }
  #shekinah-mentorship.motion-review #contact-main .contact-card { padding:22px; }
  #shekinah-mentorship.motion-review #intake-main .paper-invitation { padding:24px 20px 34px; }
  #shekinah-mentorship.motion-review #intake-main .paper-depth { inset:12px 7px 18px; }
  #shekinah-mentorship.motion-review #intake-main .paper-ornament { height:96px; margin-bottom:20px; }
  #shekinah-mentorship.motion-review #intake-main .paper-invitation > p:first-of-type { font-size:16px; }
  #shekinah-mentorship.motion-review #intake-main .shk-form .form-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:680px) {
  #shekinah-mentorship.motion-review #intake-main .journal-depth-scene { padding-block:36px; }
}
@media (max-width:350px) {
  #shekinah-mentorship.motion-review #request-guide .guide-optin-card { padding-inline:10px; }
  #shekinah-mentorship.motion-review #intake-main .paper-invitation { padding-inline:17px; }
}
@media (prefers-reduced-motion:reduce) {
  #shekinah-mentorship.motion-review #intake-main .paper-canonical-key { -webkit-mask-image:none!important; mask-image:none!important; }
  #shekinah-mentorship.motion-review #intake-main :is(.paper-depth,.journal-photo-layer,.journal-page-light,.journal-page-shadow) { translate:none!important; }
}
#shekinah-mentorship.motion-review.motion-reduced #intake-main .paper-canonical-key { -webkit-mask-image:none!important; mask-image:none!important; }
@media print {
  #shekinah-mentorship.motion-review #intake-main .paper-canonical-key { -webkit-mask-image:none!important; mask-image:none!important; }
}
