
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:#dfddd7; color:#33362f; font-family:Garamond, 'EB Garamond', 'Times New Roman', serif; line-height:1.5;
  -webkit-font-smoothing:antialiased; overflow-x:hidden; }
img { display:block; max-width:100%; }
a { color:inherit; }
.chat { max-width:720px; margin:0 auto; min-height:100vh; background:#eae9e3;
  box-shadow:0 0 60px rgba(0,0,0,.12); display:flex; flex-direction:column; }

.topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; gap:14px;
  padding:14px 20px; background:#6d7f75; color:#ffffff; }
.topbar .pic { width:44px; height:44px; border-radius:50%; display:grid; place-items:center;
  background:#ffffff; color:#6d7f75; font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-weight:900; font-size:1.3rem; }
.who { display:flex; flex-direction:column; line-height:1.2; }
.who strong { font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-size:1.1rem; }
.who small { opacity:.85; font-size:.78rem; }
.dots { margin-left:auto; display:flex; gap:5px; }
.dots i { width:6px; height:6px; border-radius:50%; background:#ffffff; opacity:.7; }

.thread { flex:1; padding:20px clamp(14px,4vw,28px) 30px; display:flex; flex-direction:column; gap:14px; }
.day { align-self:center; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:#8a8d84; background:#faf9f5; padding:5px 14px; border-radius:999px; margin:8px 0; }

.pinned { background:#faf9f5; border-radius:20px; padding:clamp(22px,4vw,38px);
  border-left:5px solid #6d7f75; box-shadow:0 6px 16px rgba(0,0,0,.1); }
.pinlab { font-size:.72rem; font-weight:700; color:#6d7f75; letter-spacing:.05em; }
.pinned .kick { display:block; margin-top:.6rem; font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; letter-spacing:.26em;
  text-transform:uppercase; font-size:.78rem; color:#8a8d84; }
.pinned h1 { font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-weight:900; line-height:.98;
  font-size:clamp(2rem,7vw,3.6rem); margin:.15em 0 .35em; letter-spacing:-.01em; }
.pinned p { color:#8a8d84; margin-bottom:1.3rem; }
.send { display:inline-block; background:#6d7f75; color:#ffffff; font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  font-weight:800; text-decoration:none; padding:12px 26px; border-radius:999px; transition:transform .15s; }
.send:hover { transform:translateY(-2px); }

.row { display:flex; align-items:flex-end; gap:10px; max-width:100%; }
.row--out { justify-content:flex-end; }
.av { width:34px; height:34px; border-radius:50%; object-fit:cover; flex:0 0 auto; }
.bub { position:relative; max-width:74%; padding:12px 16px; border-radius:20px; font-size:1rem; }
.bub--in { background:#faf9f5; color:#33362f; border-bottom-left-radius:5px; }
.bub--out { background:#6d7f75; color:#ffffff; border-bottom-right-radius:5px; }
.bub--in::before { content:""; position:absolute; left:-7px; bottom:0; width:14px; height:14px;
  background:#faf9f5; clip-path:polygon(100% 0,100% 100%,0 100%); }
.bub--out::before { content:""; position:absolute; right:-7px; bottom:0; width:14px; height:14px;
  background:#6d7f75; clip-path:polygon(0 0,100% 100%,0 100%); }
.bub b { font-weight:800; }
.react { position:absolute; bottom:-12px; left:12px; background:#dfddd7; color:#33362f;
  font-size:.72rem; padding:2px 8px; border-radius:999px; box-shadow:0 2px 5px rgba(0,0,0,.2); }
.seen { display:block; text-align:right; font-size:.68rem; opacity:.7; margin-top:4px; }
.fwd { display:block; font-size:.7rem; font-style:italic; opacity:.7; margin-bottom:4px; }
.from { display:block; margin-top:6px; font-weight:700; font-size:.85rem; }

.bub--img { padding:6px 6px 4px; }
.bub--img img { width:min(260px,60vw); border-radius:14px; object-fit:cover; }
.bub--img .cap { display:block; font-size:.72rem; padding:4px 4px 2px; opacity:.75; }

.typing { display:flex; gap:5px; padding:16px; }
.typing span { width:8px; height:8px; border-radius:50%; background:#8a8d84;
  animation:blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay:.2s; } .typing span:nth-child(3) { animation-delay:.4s; }
@keyframes blink { 0%,60%,100% { opacity:.3; } 30% { opacity:1; } }

.composer { position:sticky; bottom:0; background:#faf9f5; padding:16px clamp(14px,4vw,24px) 22px;
  box-shadow:0 -4px 20px rgba(0,0,0,.1); }
.ctitle { font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-weight:800; margin-bottom:10px; }
.inputbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; background:#dfddd7;
  border-radius:999px; padding:8px 8px 8px 18px; }
.inputbar a { text-decoration:none; font-weight:600; }
.sendbtn { margin-left:auto; border:0; cursor:pointer; font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-weight:800;
  background:#6d7f75; color:#ffffff; padding:10px 22px; border-radius:999px; font-size:.95rem; }
.addr { display:block; margin-top:8px; color:#8a8d84; font-size:.78rem; text-align:center; }

@media (max-width:640px) { .bub { max-width:82%; } }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .typing span { animation:none; } .send:hover { transform:none; }
}


.xq{box-sizing:border-box;font-family:Garamond, 'EB Garamond', 'Times New Roman', serif;color:#33362f;padding:56px 24px;width:100%}
.xq *{box-sizing:border-box;margin:0}
.xq .xq-wrap{max-width:1060px;margin:0 auto}
.xq h2{font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;font-size:1.7rem;line-height:1.2;margin-bottom:8px}
.xq .xq-kick{display:block;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#6d7f75;margin-bottom:10px;font-weight:700}

.xq-tl-list{list-style:none;padding:0;margin-top:24px;position:relative;border-left:2px solid rgba(51,54,47,0.14)}
.xq-tl-item{position:relative;padding:0 0 26px 26px}
.xq-tl-item::before{content:"";position:absolute;left:-7px;top:4px;width:12px;height:12px;border-radius:50%;background:#6d7f75;box-shadow:0 0 0 4px rgba(51,54,47,0.05)}
.xq-tl-item time{font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;font-weight:800;color:#6d7f75;display:block;margin-bottom:4px}
.xq-tl-item p{color:#8a8d84;max-width:58ch}


.xq-steplist{counter-reset:xqs;list-style:none;padding:0;margin-top:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}
.xq-step{counter-increment:xqs;position:relative;padding:18px 18px 18px 20px;border-left:3px solid #6d7f75;background:rgba(51,54,47,0.05);border-radius:0 18px 18px 0}
.xq-step::before{content:"0" counter(xqs);display:block;font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;font-size:.8rem;letter-spacing:.1em;color:#6d7f75;font-weight:800;margin-bottom:8px}
.xq-step h3{font-family:'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;font-size:1.02rem;margin-bottom:6px}
.xq-step p{font-size:.9rem;color:#8a8d84}


/* =====================================================
   DESIGN DNA: deco-gold
   Whole-page visual system applied over the layout
   archetype. Appended last so it wins the cascade.
   ===================================================== */
html::before{content:'';position:fixed;inset:0;z-index:99980;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0L56 28L28 56L0 28Z' fill='none' stroke='%236d7f75' stroke-width='1'/%3E%3C/svg%3E");opacity:.07;}
html::after{content:'';position:fixed;inset:0;z-index:99990;pointer-events:none;border:4px double #6d7f75;background:none;outline:1px solid rgba(109,127,117,.55);outline-offset:-14px}
h1,h2,h3{font-family:Copperplate, 'Copperplate Gothic Light', 'Segoe UI', sans-serif !important;text-transform:uppercase !important;letter-spacing:.24em !important;font-weight:600 !important}
img{filter:sepia(.22) contrast(1.05);border-radius:0 !important;border:1px solid rgba(109,127,117,.8) !important;outline:1px solid rgba(109,127,117,.45);outline-offset:5px}
a[class*="btn"],button,span[class*="btn"]{border-radius:0 !important;border:1px solid #6d7f75 !important;letter-spacing:.22em;text-transform:uppercase}
div[class*="card"]:not([class*="cards"]),article[class*="card"],a[class*="card"],figure[class*="card"],li[class*="card"]{border:1px solid rgba(109,127,117,.5) !important;border-radius:0 !important}
