/* Danni Derr editorial blog redesign — scoped to .ddb- namespace */
.ddb-wrap{
  --ivory:#FAF7F2; --ink:#111111; --gold:#C6A15B; --beige:#F0E6D8;
  --serif:'Playfair Display',Georgia,serif; --sans:'Inter',sans-serif;
  background:var(--ivory); color:var(--ink); font-family:var(--sans);
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
.ddb-wrap *{box-sizing:border-box}
.ddb-wrap a{color:inherit; text-decoration:none}
.ddb-container{max-width:1160px; margin:0 auto; padding:0 20px}

/* ---------- header ---------- */
.ddb-header{display:flex; align-items:center; justify-content:space-between; padding:22px 0; border-bottom:1px solid rgba(17,17,17,.08)}
.ddb-wordmark{font-family:var(--serif); font-size:22px; letter-spacing:.04em; display:block}
.ddb-tagline{font-size:11px; color:#777; letter-spacing:.02em; margin-top:2px}
.ddb-nav{display:flex; align-items:center; gap:28px; font-size:13px; letter-spacing:.06em; text-transform:uppercase}
.ddb-nav a:hover{color:var(--gold)}
.ddb-btn-gold{background:var(--gold); color:#fff; padding:9px 20px; border-radius:2px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; display:inline-block; transition:opacity .2s}
.ddb-btn-gold:hover{opacity:.85; color:#fff}
.ddb-nav-toggle{display:none; background:none; border:none; font-size:22px; cursor:pointer}

/* ---------- hero ---------- */
.ddb-hero{
  position:relative; padding:64px 0 56px; text-align:center;
  background-color:var(--ivory);
  background-image:
    linear-gradient(rgba(250,247,242,.88),rgba(250,247,242,.94)),
    repeating-linear-gradient(0deg, rgba(17,17,17,.035) 0, rgba(17,17,17,.035) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(17,17,17,.035) 0, rgba(17,17,17,.035) 1px, transparent 1px, transparent 28px);
}
.ddb-hero-label{font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:18px}
.ddb-hero-photo-wrap{position:relative; width:380px; height:258px; margin:0 auto 30px; border-radius:4px; overflow:hidden; box-shadow:0 18px 50px rgba(17,17,17,.14)}
.ddb-hero-photo-wrap img{width:100%; height:100%; object-fit:cover; object-position:50% 25%; display:block}
.ddb-hero h1{font-family:var(--serif); font-weight:600; font-size:40px; line-height:1.15; max-width:620px; margin:0 auto 16px}
.ddb-hero-sub{font-size:15px; color:#555; max-width:440px; margin:0 auto 28px; line-height:1.6}
.ddb-signup{display:flex; max-width:380px; margin:0 auto; border:1px solid rgba(17,17,17,.18); border-radius:2px; overflow:hidden}
.ddb-signup input{flex:1; border:none; background:transparent; padding:13px 16px; font-family:var(--sans); font-size:13px; outline:none; min-width:0}
.ddb-signup button{background:var(--gold); color:#fff; border:none; padding:13px 22px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; flex:none}
.ddb-signup button:disabled{opacity:.6; cursor:default}
.ddb-hp{position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; pointer-events:none}
.ddb-signup-msg{font-size:12.5px; color:var(--gold); margin:10px 0 0; min-height:1em}

/* ---------- hero v3: full-bleed photo, card overlay ---------- */
.ddb-hero-v3{position:relative; width:100%; height:clamp(480px,88vh,900px); overflow:hidden; background:var(--ivory)}
.ddb-hero-v3-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 15%; display:block}
.ddb-hero-v3-card{
  position:absolute; left:clamp(20px,6vw,80px); bottom:clamp(24px,6vh,64px);
  background:var(--ivory); padding:30px 32px; border-radius:4px; max-width:440px;
  box-shadow:0 20px 50px rgba(17,17,17,.25);
}
.ddb-hero-v3-card h1{font-family:var(--serif); font-weight:600; font-size:clamp(24px,3.2vw,32px); line-height:1.18; margin:0 0 10px}
.ddb-hero-v3-tagline{font-size:13.5px; color:var(--gold); letter-spacing:.03em; margin:0 0 20px}
.ddb-hero-v3-card .ddb-signup{max-width:380px; margin:0}

/* ---------- credits strip ---------- */
.ddb-credits{background:var(--beige); padding:16px 0; text-align:center}
.ddb-credits-inner{font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#555; display:flex; justify-content:center; gap:14px; flex-wrap:wrap}
.ddb-credits-inner span:not(:last-child)::after{content:'·'; margin-left:14px; color:var(--gold)}

/* ---------- category chips ---------- */
.ddb-chips{display:flex; justify-content:center; gap:10px; flex-wrap:wrap; padding:36px 20px 8px}
.ddb-chip{font-size:12px; letter-spacing:.08em; text-transform:uppercase; padding:8px 18px; border:1px solid rgba(17,17,17,.18); border-radius:999px; color:var(--ink)}
.ddb-chip.is-active, .ddb-chip:hover{background:var(--ink); color:#fff; border-color:var(--ink)}
.ddb-chip-desc{text-align:center; font-size:13.5px; color:#555; max-width:560px; margin:14px auto 0; line-height:1.6}

/* ---------- author box ---------- */
.ddb-author-box{display:flex; align-items:center; gap:16px; max-width:720px; margin:36px auto; padding:20px; background:var(--beige); border-radius:4px}
.ddb-author-avatar{border-radius:50%; width:64px; height:64px; object-fit:cover; flex:none}
.ddb-author-name{font-family:var(--serif); font-size:16px; margin-bottom:4px}
.ddb-author-bio{font-size:13px; color:#555; line-height:1.6; margin:0}

/* ---------- gold divider ---------- */
.ddb-divider{border:none; border-top:1px solid var(--gold); opacity:.5; max-width:1160px; margin:40px auto}

/* ---------- section heading ---------- */
.ddb-section-title{font-family:var(--serif); font-size:26px; text-align:center; margin:0 0 30px}

/* ---------- featured post ---------- */
.ddb-featured{display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center; padding:10px 20px 50px; max-width:1160px; margin:0 auto}
.ddb-featured-img{aspect-ratio:4/5; overflow:hidden; border-radius:3px}
.ddb-featured-img img{width:100%; height:100%; object-fit:cover; object-position:50% 12%; display:block}
.ddb-featured-label{font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:14px}
.ddb-featured h2{font-family:var(--serif); font-size:32px; line-height:1.2; margin:0 0 16px}
.ddb-featured p{font-size:15px; color:#444; line-height:1.7; margin:0 0 22px}
.ddb-read-link{font-size:12px; letter-spacing:.1em; text-transform:uppercase; border-bottom:1px solid var(--gold); padding-bottom:4px}

/* ---------- post grid ---------- */
.ddb-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:32px 28px; padding:10px 20px 60px; max-width:1160px; margin:0 auto}
.ddb-card-img{position:relative; aspect-ratio:3/4; overflow:hidden; border-radius:3px; background:var(--beige)}
.ddb-card-img img{width:100%; height:100%; object-fit:cover; object-position:50% 12%; display:block; transition:transform .4s}
.ddb-date-badge{
  position:absolute; left:14px; bottom:-14px; z-index:2;
  width:46px; height:46px; border-radius:50%; background:var(--gold); color:#fff;
  display:flex; align-items:center; justify-content:center; text-align:center;
  font-size:10.5px; font-weight:600; letter-spacing:.02em; line-height:1.15;
  box-shadow:0 4px 12px rgba(17,17,17,.2);
}
.ddb-paged-hidden{display:none}
.ddb-card:hover .ddb-card-img img{transform:scale(1.04)}
.ddb-card-cat{font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin:16px 0 8px}
.ddb-card h3{font-family:var(--serif); font-size:19px; line-height:1.3; margin:0 0 8px}
.ddb-card p{font-size:13px; color:#555; line-height:1.6; margin:0 0 12px}
.ddb-card .ddb-read-link{font-size:11px}

/* ---------- shop strip ---------- */
.ddb-shop{background:var(--beige); padding:54px 0}
.ddb-shop-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:1160px; margin:0 auto; padding:0 20px}
.ddb-product{background:#fff; border-radius:4px; overflow:hidden; text-align:center; padding-bottom:18px}
.ddb-product-img{aspect-ratio:1/1; background:linear-gradient(135deg,#f1ece3,#e9e0d1); display:flex; align-items:center; justify-content:center; color:#b3a284; font-size:11px; letter-spacing:.08em; text-transform:uppercase}
.ddb-product h4{font-size:13.5px; margin:16px 14px 4px; font-weight:600}
.ddb-product .ddb-price{font-size:13px; color:var(--gold); margin-bottom:12px}
.ddb-product .ddb-btn-gold{margin:0 14px}
.ddb-shop-note{text-align:center; font-size:11.5px; color:#8a8a8a; margin-top:24px; font-style:italic}

/* ---------- about strip ---------- */
.ddb-about{display:flex; align-items:center; gap:40px; max-width:1160px; margin:0 auto; padding:60px 20px}
.ddb-about-img{width:220px; height:270px; flex:none; border-radius:3px; overflow:hidden}
.ddb-about-img img{width:100%; height:100%; object-fit:cover; display:block}
.ddb-about h2{font-family:var(--serif); font-size:26px; margin:0 0 14px}
.ddb-about p{font-size:14.5px; color:#444; line-height:1.75; margin:0 0 10px; max-width:520px}

/* ---------- footer ---------- */
.ddb-footer{background:var(--ink); color:#eee; padding:44px 0 28px; text-align:center}
.ddb-footer-socials{display:flex; justify-content:center; gap:20px; margin-bottom:18px; font-size:13px; letter-spacing:.08em; text-transform:uppercase}
.ddb-footer-socials a:hover{color:var(--gold)}
.ddb-footer-fine{font-size:11.5px; color:#999}
.ddb-footer-fine a{text-decoration:underline}

/* ---------- single post ---------- */
.ddb-post-head{text-align:center; max-width:720px; margin:0 auto; padding:50px 20px 0}
.ddb-post-cat{font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:14px}
.ddb-post-head h1{font-family:var(--serif); font-size:38px; line-height:1.2; margin:0 0 20px}
.ddb-post-hero{max-width:900px; margin:30px auto 0; aspect-ratio:16/10; overflow:hidden; border-radius:3px}
.ddb-post-hero img{width:100%; height:100%; object-fit:cover; object-position:50% 12%; display:block}
.ddb-disclosure{max-width:720px; margin:28px auto; background:var(--beige); border-left:3px solid var(--gold); padding:14px 18px; font-size:12.5px; color:#555; line-height:1.6; border-radius:2px}
.ddb-post-body{max-width:720px; margin:0 auto; padding:10px 20px 10px; font-size:16.5px; line-height:1.85; color:#222}
.ddb-post-body p{margin:0 0 24px}
.ddb-post-body img{max-width:100%; height:auto; border-radius:3px; margin:8px 0 28px}
/* Neutralize leftover Squarespace migration markup: its aspect-ratio padding-bottom
   hack and absolutely-positioned images depend on Squarespace's own CSS, which isn't
   loaded here, so it otherwise collapses into large empty gaps. */
.ddb-post-body .sqs-image-shape-container-element{padding-bottom:0 !important; height:auto !important}
.ddb-post-body .image-block-wrapper,
.ddb-post-body .image-block-outer-wrapper{height:auto !important}
.ddb-post-body .sqs-image-shape-container-element img,
.ddb-post-body .image-block-wrapper img{position:static !important; height:auto !important; width:100% !important; inset:auto !important}
.ddb-post-body figure.sqs-block-image-figure{max-width:100% !important; margin:8px 0 28px}
.ddb-post-body .sqs-block-image{margin:0}
/* Safety net: the same Squarespace aspect-ratio hack shows up on gallery/video/embed
   blocks too, each with its own wrapper class name. Rather than enumerate every one,
   neutralize any inline padding-bottom-percentage spacer wherever it appears. */
.ddb-post-body [style*="padding-bottom"]{padding-bottom:0 !important; height:auto !important}
.ddb-post-body [style*="padding-bottom"] > img,
.ddb-post-body [style*="padding-bottom"] > div{position:static !important; height:auto !important; width:100% !important; inset:auto !important}
.ddb-post-body iframe{max-width:100%}
/* Hide two broken Squarespace widgets found in ~29 migrated posts: a "Subscribe"
   newsletter form whose submit handler calls Squarespace's own JS (not present here),
   and a "Featured" block that dynamically pulled related posts via Squarespace's
   backend API (also not present here) — hence the broken images and duplicated text.
   Both are fully non-functional outside Squarespace. A working equivalent of each
   (email signup, real related posts) is already provided by this template below the
   content, so these are hidden rather than rebuilt. Content itself is untouched. */
.ddb-post-body .sqs-block-newsletter,
.ddb-post-body .sqs-block-summary-v2{display:none !important}
.ddb-post-body h2{font-family:var(--serif); font-size:26px; margin:40px 0 18px}
.ddb-post-body h3{font-family:var(--serif); font-size:21px; margin:32px 0 14px}
.ddb-shop-look{max-width:720px; margin:40px auto; background:var(--beige); padding:28px 26px; border-radius:4px}
.ddb-shop-look h3{font-family:var(--serif); font-size:20px; margin:0 0 18px; text-align:center}
.ddb-related{max-width:1160px; margin:50px auto 0; padding:0 20px}
.ddb-signup-block{background:var(--beige); padding:50px 20px; text-align:center; margin-top:60px}
.ddb-signup-block h3{font-family:var(--serif); font-size:24px; margin:0 0 6px}

/* ---------- animated chest (lightweight CSS/SVG, no video/Lottie) ---------- */
.ddb-chest{width:84px; height:74px; margin:0 auto 18px; cursor:pointer; outline:none}
.ddb-chest-svg{width:100%; height:100%; overflow:visible; display:block}
.ddb-chest-lid{transition:transform .7s cubic-bezier(.34,1.56,.64,1); transform-box:fill-box; transform-origin:50% 100%}
.ddb-chest.is-open .ddb-chest-lid{transform:rotate(-52deg)}
.ddb-chest-card{opacity:0; transform:translateY(0); transition:opacity .45s ease .15s, transform .55s cubic-bezier(.34,1.56,.64,1) .15s; transform-box:fill-box; transform-origin:50% 50%}
.ddb-chest.is-open .ddb-chest-card{opacity:1; transform:translateY(-20px)}
.ddb-chest-sparkles .ddb-spark{fill:var(--gold); opacity:0; transform:scale(.4); transition:opacity .35s ease .3s, transform .4s ease .3s; transform-box:fill-box; transform-origin:50% 50%}
.ddb-chest.is-open .ddb-chest-sparkles .ddb-spark{opacity:1; transform:scale(1)}
.ddb-chest.is-open .ddb-spark-b{transition-delay:.38s}
.ddb-chest.is-open .ddb-spark-c{transition-delay:.46s}

/* ---------- guide bullets + reassurance line ---------- */
.ddb-guide-bullets{list-style:none; margin:0 auto 22px; padding:0; max-width:460px; text-align:left}
.ddb-guide-bullets li{display:flex; align-items:flex-start; gap:9px; font-size:13.5px; line-height:1.55; color:#333; margin-bottom:11px}
.ddb-check{color:var(--gold); font-weight:700; flex:none; line-height:1.55}
.ddb-guide-reassure{font-size:11.5px; color:#8a8a8a; margin:14px auto 0; max-width:420px}

/* ---------- exit-intent popup ---------- */
.ddb-popup-overlay{
  position:fixed; inset:0; z-index:9999; background:rgba(17,17,17,.55);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; transition:opacity .25s ease; backdrop-filter:blur(1px);
}
.ddb-popup-overlay.is-visible{opacity:1}
.ddb-popup-overlay[hidden]{display:none}
.ddb-popup-box{
  position:relative; background:var(--ivory); border-radius:6px; padding:40px 30px 32px;
  max-width:420px; width:100%; text-align:center; box-shadow:0 30px 70px rgba(0,0,0,.35);
  transform:scale(.95); transition:transform .25s ease;
}
.ddb-popup-overlay.is-visible .ddb-popup-box{transform:scale(1)}
.ddb-popup-box h3{font-family:var(--serif); font-size:21px; margin:0 0 6px}
.ddb-popup-close{
  position:absolute; top:10px; right:14px; background:none; border:none; font-size:22px;
  color:#999; cursor:pointer; line-height:1; padding:4px;
}
.ddb-popup-close:hover{color:var(--ink)}

/* ---------- mobile ---------- */
@media (max-width:860px){
  .ddb-header{flex-wrap:wrap; gap:10px}
  .ddb-nav{font-size:11.5px; gap:14px; flex-wrap:wrap}
  .ddb-hero h1{font-size:28px}
  .ddb-hero-v3{height:92vh}
  .ddb-hero-v3-card{left:16px; right:16px; bottom:20px; max-width:none; padding:22px 20px}
  .ddb-hero-v3-card h1{font-size:23px}
  .ddb-featured{grid-template-columns:1fr; gap:22px}
  .ddb-grid{grid-template-columns:repeat(2,1fr); gap:24px 16px}
  .ddb-shop-grid{grid-template-columns:repeat(2,1fr)}
  .ddb-about{flex-direction:column; text-align:center}
  .ddb-about-img{width:70%; height:260px}
  .ddb-post-head h1{font-size:28px}
  .ddb-post-body{font-size:16px}
}
@media (max-width:480px){
  .ddb-grid{grid-template-columns:1fr}
  .ddb-shop-grid{grid-template-columns:1fr}
  .ddb-hero-photo-wrap{width:240px; height:300px}
}
