﻿/* PAGE DESIGN ROLL — Contact / Blotter Desk (A108)
   Layout: single blotter pad form with ink wells + channel taps
   Card style: paper blotter with bark rails
   Section dividers: ruled blotter lines
   Motion: ink-well focus ring + send wipe
   Signature: blotter ink bleed on focused fields
   Shell tokens — differs from Rain Barrel · Porch Bell · dual-column form
*/

body.page-a108-porchbell {
  --pd-moss: var(--a108-lime-deep);
  --pd-bloom: var(--a108-sunflower);
  --pd-sky: var(--a108-soil);
  --pd-sun: var(--a108-sunflower);
}

body.page-a108-porchbell .pd-mast {
  padding: calc(var(--a108-nav-h) + 1.5rem) 0 1rem;
}
body.page-a108-porchbell .pd-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-moss);
}
body.page-a108-porchbell .pd-mast h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}
body.page-a108-porchbell .pd-mast > p {
  margin: 0;
  max-width: 48ch;
  color: var(--a108-mute);
}

/* Porch: plaque center-left, signs hanging to the side â€” not left-info/right-form */
body.page-a108-porchbell .pd-porch {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 2rem;
  align-items: start;
  padding: 0.5rem 0 3.5rem;
}

body.page-a108-porchbell .pd-plaque {
  position: relative;
  padding: 2.5rem 1.5rem 1.5rem;
  background:
    radial-gradient(ellipse 40% 28% at 8% 8%, rgba(255, 225, 74, 0.28), transparent 55%),
    linear-gradient(165deg, #F7FFF4 0%, #FFFFFF 55%, #FFF8EC 100%);
  border: 3px solid var(--a108-tray);
  border-radius: 8px 8px 28px 28px;
  box-shadow:
    inset 0 0 0 6px rgba(14, 107, 60, 0.06),
    6px 8px 0 rgba(14, 107, 60, 0.18);
}
body.page-a108-porchbell .pd-bell {
  position: absolute;
  top: -18px;
  right: 1.5rem;
  width: 52px;
  height: 52px;
}
body.page-a108-porchbell .pd-bell-body {
  display: block;
  width: 44px;
  height: 36px;
  margin: 0 auto;
  background: var(--pd-sun);
  border: 2px solid var(--a108-tray);
  border-radius: 22px 22px 8px 8px;
  box-shadow: 2px 2px 0 var(--a108-tray);
}
body.page-a108-porchbell .pd-bell-button {
  display: block;
  width: 18px;
  height: 18px;
  margin: -6px auto 0;
  background: var(--pd-bloom);
  border: 2px solid var(--a108-tray);
  border-radius: 50%;
  box-shadow: 0 2px 0 rgba(22, 32, 24, 0.25);
}
body.page-a108-porchbell .pd-plaque-title {
  margin: 0 0 1rem;
  font-family: var(--a108-font-display);
  font-size: 1.05rem;
  color: var(--pd-moss);
}

body.page-a108-porchbell .pd-notice {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--a108-radius-blot);
  border: 2px solid var(--a108-border);
}
body.page-a108-porchbell .pd-notice.is-success {
  background: var(--a108-mint);
  border-color: var(--pd-moss);
}
body.page-a108-porchbell .pd-notice.is-error {
  background: #FDF0EE;
  border-color: var(--pd-bloom);
}
body.page-a108-porchbell .pd-notice strong { display: block; margin-bottom: 0.2rem; }
body.page-a108-porchbell .pd-notice p { margin: 0; font-size: 0.9rem; }

body.page-a108-porchbell .pd-form {
  display: grid;
  gap: 0.85rem;
}
body.page-a108-porchbell .pd-field label {
  display: grid;
  gap: 0.3rem;
}
body.page-a108-porchbell .pd-field span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--a108-mute);
}
body.page-a108-porchbell .pd-field input,
body.page-a108-porchbell .pd-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--a108-border);
  border-radius: 10px 16px 12px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--a108-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
body.page-a108-porchbell .pd-field.is-focused input,
body.page-a108-porchbell .pd-field.is-focused textarea,
body.page-a108-porchbell .pd-field.is-filled input,
body.page-a108-porchbell .pd-field.is-filled textarea {
  border-color: var(--pd-moss);
  box-shadow: 0 0 0 3px rgba(14, 107, 60, 0.12);
}
body.page-a108-porchbell .pd-field textarea { resize: vertical; min-height: 7rem; }
body.page-a108-porchbell .pd-submit-wrap { padding-top: 0.35rem; }
body.page-a108-porchbell .pd-submit-wrap .is-pressing {
  transform: translateY(1px);
}

/* Hanging porch signs â€” stacked vertically with hooks */
body.page-a108-porchbell .pd-signs-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-sky);
}
body.page-a108-porchbell .pd-sign-rail {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--a108-tray);
}
body.page-a108-porchbell .pd-sign {
  position: relative;
  margin-left: 1rem;
  padding: 0.85rem 1rem 0.95rem;
  background: var(--a108-surface);
  border: 2px solid var(--a108-tray);
  border-radius: 4px 14px 14px 4px;
  box-shadow: 3px 4px 0 rgba(22, 32, 24, 0.12);
  animation: pd-sway 4.5s ease-in-out infinite;
}
body.page-a108-porchbell .pd-sign:nth-child(2) { animation-delay: 0.4s; }
body.page-a108-porchbell .pd-sign:nth-child(3) { animation-delay: 0.8s; }
body.page-a108-porchbell .pd-sign:nth-child(4) { animation-delay: 1.2s; }
body.page-a108-porchbell .pd-sign:nth-child(5) { animation-delay: 1.6s; }
@keyframes pd-sway {
  0%, 100% { transform: rotate(-0.6deg); }
  50% { transform: rotate(0.8deg); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-a108-porchbell .pd-sign { animation: none; }
}

body.page-a108-porchbell .pd-sign-hook {
  position: absolute;
  top: -12px;
  left: 1rem;
  width: 12px;
  height: 14px;
  border: 2px solid var(--a108-tray);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
}
body.page-a108-porchbell .pd-sign-hook::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--a108-tray);
}
body.page-a108-porchbell .pd-sign-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.page-a108-porchbell .pd-sign p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
body.page-a108-porchbell .pd-sign a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
body.page-a108-porchbell .pd-sign a:hover { color: var(--pd-bloom); }

body.page-a108-porchbell .pd-sign--moss {
  border-left: 5px solid var(--pd-moss);
}
body.page-a108-porchbell .pd-sign--moss .pd-sign-label { color: var(--pd-moss); }
body.page-a108-porchbell .pd-sign--sky {
  border-left: 5px solid var(--pd-sky);
}
body.page-a108-porchbell .pd-sign--sky .pd-sign-label { color: var(--pd-sky); }
body.page-a108-porchbell .pd-sign--bloom {
  border-left: 5px solid var(--pd-bloom);
}
body.page-a108-porchbell .pd-sign--bloom .pd-sign-label { color: var(--pd-bloom); }
body.page-a108-porchbell .pd-sign--sun {
  border-left: 5px solid var(--pd-sun);
  background: linear-gradient(135deg, #FFFBE8, #FFFFFF);
}
body.page-a108-porchbell .pd-sign--sun .pd-sign-label { color: var(--a108-leaf-ink); }

body.page-a108-porchbell .pd-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
body.page-a108-porchbell .pd-channel {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--a108-ink);
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--a108-tray);
  border-radius: 999px 8px 999px 8px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
body.page-a108-porchbell .pd-channel:hover {
  background: var(--pd-moss);
  color: var(--a108-on-pool);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  body.page-a108-porchbell .pd-porch {
    grid-template-columns: 1fr;
  }
  body.page-a108-porchbell .pd-sign-rail {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 3px solid var(--a108-tray);
    padding-left: 0;
    padding-top: 1rem;
  }
  body.page-a108-porchbell .pd-sign {
    flex: 1 1 220px;
    margin-left: 0.5rem;
  }
}

