/* =========================================================
   Resource Emporium — style.css
   Old-time department store: striped awning, kraft paper,
   wood shelving, price tags, coupons, and receipts.
   Alfa Slab One (storefront sign) + DM Sans (body)
   + Courier Prime (tags, receipts).
   ========================================================= */

:root {
  --brick:     #b8322a;
  --brick-dk:  #8e2219;
  --tomato:    #e0533d;
  --orange:    #e07a1f;
  --orange-dk: #b85d10;
  --mustard:   #e8b23a;
  --mustard-2: #f6d77f;
  --rust:      #a84a24;
  --cocoa:     #6b3e26;
  --wood:      #8a5a36;
  --wood-dk:   #4a2c1b;
  --espresso:  #2e1a12;
  --kraft:     #ecd9b8;
  --kraft-2:   #f3e6cc;
  --paper:     #fbf3e4;
  --cream:     #fffaf0;
  --ink:       #2e1a12;
  --muted:     #7a5a48;
  --line:      #e4cfae;
  --error:     #b8322a;

  --maxw: 1160px;
  --sign: "Alfa Slab One", Rockwell, "Courier New", serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --shadow: 0 18px 40px -22px rgba(74, 44, 27, 0.55);
  --shadow-sm: 0 8px 18px -12px rgba(74, 44, 27, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brick); }
h1, h2 { font-family: var(--sign); font-weight: 400; line-height: 1.1; margin: 0; color: var(--ink); letter-spacing: 0.005em; }
h3, h4 { font-family: var(--body); font-weight: 700; line-height: 1.2; margin: 0; color: var(--ink); }
.mark-hl { font-style: normal; color: var(--brick); background: linear-gradient(transparent 64%, var(--mustard-2) 64%, var(--mustard-2) 92%, transparent 92%); padding: 0 2px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.mono { font-family: var(--mono); }

/* paper grain for kraft blocks */
.grain { background-color: var(--kraft-2);
  background-image: radial-gradient(rgba(107, 62, 38, 0.07) 1px, transparent 1.2px), radial-gradient(rgba(107, 62, 38, 0.05) 1px, transparent 1.2px);
  background-size: 14px 14px, 23px 23px; background-position: 0 0, 7px 11px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--body); font-weight: 700; font-size: 1rem; padding: 13px 24px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn-red { background: var(--brick); color: #fff; box-shadow: 0 4px 0 var(--brick-dk); }
.btn-red:hover { background: var(--tomato); }
.btn-gold { background: var(--mustard); color: var(--espresso); box-shadow: 0 4px 0 #b8861d; }
.btn-gold:hover { background: var(--mustard-2); }
.btn-outline { background: transparent; color: var(--brick); border-color: var(--brick); }
.btn-outline:hover { background: var(--brick); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }

/* ---------- Awning ---------- */
.awning { position: relative; height: 30px; background: repeating-linear-gradient(90deg, var(--brick) 0 40px, var(--cream) 40px 80px); z-index: 61; }
.awning::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 20px 0, var(--brick) 19.5px, transparent 20px) 0 0 / 80px 14px repeat-x,
              radial-gradient(circle at 60px 0, var(--cream) 19.5px, transparent 20px) 0 0 / 80px 14px repeat-x;
  filter: drop-shadow(0 3px 2px rgba(74, 44, 27, 0.25)); }

/* ---------- Header ---------- */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 60; border-bottom: 4px double var(--wood); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px 12px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 48px; height: 48px; flex: 0 0 auto; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm .t1 { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--cocoa); }
.brand .wm .t2 { font-family: var(--sign); font-size: 1.7rem; color: var(--brick); margin-top: 2px; }
.brand .wm .s { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a.navlink { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.94rem; padding: 9px 13px; border-radius: 8px; transition: background .15s, color .15s; }
.nav a.navlink:hover { background: var(--kraft); color: var(--brick-dk); }
.nav .btn { margin-left: 8px; padding: 11px 18px; }
.header-cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--espresso); display: block; border-radius: 2px; }

/* ---------- Marquee strip ---------- */
.marquee { background: var(--espresso); color: var(--mustard-2); font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.marquee .wrap { display: flex; gap: 14px 30px; justify-content: center; flex-wrap: wrap; padding: 9px 26px; }
.marquee span::before { content: "\2605"; color: var(--orange); margin-right: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 6px solid var(--wood); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: repeating-linear-gradient(90deg, var(--wood) 0 120px, #9a6a43 120px 122px); opacity: 0.9; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; padding: 58px 26px 76px; }
.stamp { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); border: 2px solid var(--brick); border-radius: 6px; padding: 5px 12px; transform: rotate(-2deg); background: rgba(255, 250, 240, 0.6); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); margin: 22px 0 0; }
.hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 18px 0 0; }
.list-card { margin: 26px 0 0; max-width: 460px; background: var(--cream); border-radius: 6px; padding: 16px 22px 14px 46px; box-shadow: var(--shadow-sm); position: relative; transform: rotate(-0.6deg);
  background-image: linear-gradient(90deg, transparent 32px, rgba(184, 50, 42, 0.35) 32px, rgba(184, 50, 42, 0.35) 33.5px, transparent 33.5px), repeating-linear-gradient(transparent 0 29px, rgba(122, 90, 72, 0.18) 29px 30px); }
.list-card h4 { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { font-family: var(--mono); font-size: 1rem; line-height: 30px; position: relative; }
.list-card li::before { content: "\2713"; position: absolute; left: -26px; color: var(--brick); font-weight: 700; }

/* coupon signup */
.coupon { position: relative; background: var(--cream); border: 3px dashed var(--brick); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); }
.coupon .scissors { position: absolute; top: -17px; left: 26px; background: var(--kraft-2); padding: 0 6px; color: var(--brick); font-size: 1.5rem; line-height: 1; transform: rotate(90deg); }
.coupon-inner { background: #fff; border-radius: 12px; padding: 22px 26px 24px; }
.coupon .clip { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.coupon .clip b { background: var(--brick); color: #fff; padding: 3px 9px; border-radius: 4px; letter-spacing: 0.1em; }
.coupon h2 { font-size: 1.9rem; margin: 10px 0 2px; color: var(--brick); }
.coupon .sub { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 12px 14px; font-family: var(--body); font-size: 1rem; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(224, 122, 31, 0.2); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brick); flex: 0 0 auto; }
.consent a { color: var(--brick); font-weight: 700; }
.form-error { color: var(--error); font-size: 0.86rem; font-weight: 700; min-height: 1px; margin-bottom: 8px; }
.fine { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.signup .success { display: none; text-align: center; }
.signup.is-done form { display: none; }
.signup.is-done .success { display: block; padding: 8px 4px; }
.signup .success img { width: 60px; height: 60px; margin: 0 auto; }
.signup .success h3 { font-family: var(--sign); font-weight: 400; font-size: 1.5rem; margin: 10px 0 8px; color: var(--brick); }
.signup .success p { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.kraft { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.wood { background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,.12) 100%), repeating-linear-gradient(90deg, var(--wood-dk) 0 180px, #553220 180px 182px); color: var(--cream); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.tagline { position: relative; display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: var(--orange-dk); padding: 5px 14px 5px 24px; border-radius: 3px 6px 6px 3px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.tagline::before { content: ""; position: absolute; left: 12px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0 0; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 12px 0 0; }
.section.wood .section-head h2 { color: var(--cream); }
.section.wood .section-head p { color: #e7cfb0; }
.section.wood .tagline { background: var(--mustard); color: var(--espresso); }
.section.wood .tagline::before { background: var(--wood-dk); }

/* ---------- Store map ---------- */
.map-wrap { display: grid; grid-template-columns: 1.65fr 1fr; gap: 26px; align-items: stretch; }
.floor { background: var(--cream); border: 3px solid var(--wood); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.floor svg { width: 100%; height: auto; display: block; }
.floor a { cursor: pointer; }
.floor a .shelf { transition: transform .15s, filter .15s; transform-box: fill-box; transform-origin: center; }
.floor a:hover .shelf, .floor a:focus .shelf { filter: brightness(1.1) drop-shadow(0 4px 4px rgba(74,44,27,.35)); }
.floor a:focus { outline: none; }
.floor .num { font-family: var(--sign); fill: #fff; }
.floor .nm { font-family: var(--body); font-weight: 700; fill: var(--espresso); }
.floor .lbl { font-family: var(--mono); font-weight: 700; fill: var(--muted); letter-spacing: 0.12em; }
.board { background: var(--espresso); color: var(--cream); border-radius: 14px; padding: 20px 20px 16px; box-shadow: var(--shadow), inset 0 0 0 4px #4a2c1b, inset 0 0 0 6px #6b3e26; }
.board h3 { font-family: var(--sign); font-weight: 400; font-size: 1.35rem; color: var(--mustard-2); text-align: center; margin: 4px 0 12px; letter-spacing: 0.04em; }
.board a { display: flex; align-items: baseline; gap: 8px; color: var(--cream); text-decoration: none; font-family: var(--mono); font-size: 0.95rem; padding: 7px 6px; border-radius: 6px; }
.board a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.board .n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 6px; font-family: var(--sign); font-size: 0.85rem; color: #fff; }
.board .dots { flex: 1; border-bottom: 2px dotted rgba(255, 250, 240, 0.25); transform: translateY(-4px); }
.board .ct { color: var(--mustard-2); font-weight: 700; }
.board .sep { border-top: 1px dashed rgba(255, 250, 240, 0.2); margin: 8px 0; }

/* ---------- Tool counter ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
a.tool { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 22px 18px 20px; text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.tool::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 12px 12px 0 0; background: var(--c, var(--orange)); }
a.tool:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow); border-color: var(--c, var(--orange)); }
.tool .ic { width: 64px; height: 64px; margin: 6px auto 12px; }
.tool h3 { font-size: 1.08rem; }
.tool p { color: var(--muted); font-size: 0.88rem; margin: 6px 0 12px; }
.tool .go { margin-top: auto; font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--brick); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: -12px auto 38px; max-width: 980px; }
.chip { font-family: var(--body); font-weight: 700; font-size: 0.88rem; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 8px; padding: 7px 13px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; background: var(--c, var(--orange)); vertical-align: 0; }
.chip span { font-family: var(--mono); margin-left: 5px; color: var(--muted); font-size: 0.8rem; }
.chip:hover { border-color: var(--c, var(--orange)); }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.chip.is-active span { color: var(--mustard-2); }
.chip:focus-visible { outline: 3px solid rgba(224, 122, 31, 0.5); outline-offset: 2px; }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--cream); border: 2px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c, var(--orange)); }
.card[hidden] { display: none; }
.card .thumb { aspect-ratio: 8 / 5; background: var(--kraft); border-bottom: 2px solid var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .free { position: absolute; top: 12px; right: -2px; font-family: var(--mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--espresso); background: var(--mustard); padding: 4px 12px 4px 16px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.aisle-lbl { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.aisle-lbl i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--orange)); }
.card h3 { font-size: 1.16rem; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 14px; }
.card .more { margin-top: auto; font-family: var(--mono); font-weight: 700; font-size: 0.88rem; color: var(--brick); }
.center-row { text-align: center; margin-top: 42px; }
.related { margin-top: 24px; }

/* ---------- Customer service (resources) ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.res { display: block; background: rgba(255, 250, 240, 0.06); border: 1px solid rgba(246, 215, 127, 0.22); border-radius: 12px; padding: 18px 20px; text-decoration: none; transition: background .15s, border-color .15s; }
.res:hover { background: rgba(255, 250, 240, 0.12); border-color: var(--mustard); }
.res h4 { color: #fff; font-size: 1.04rem; }
.res p { color: #e2c9a8; font-size: 0.88rem; margin: 4px 0 8px; }
.res .ext { font-family: var(--mono); color: var(--mustard-2); font-size: 0.82rem; font-weight: 700; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--brick); color: #fff; border-radius: 18px; padding: 50px 40px; text-align: center; overflow: hidden; box-shadow: var(--shadow); }
.cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background: repeating-linear-gradient(90deg, var(--brick-dk) 0 36px, var(--cream) 36px 72px); opacity: 0.9; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 14px; }
.cta p { max-width: 54ch; margin: 12px auto 24px; color: #ffe6d9; }

/* ---------- Article page ---------- */
.article-hero { padding: 40px 0 0; border-bottom: 2px solid var(--line); }
.article-hero .crumb { font-family: var(--mono); font-size: 0.86rem; color: var(--muted); margin: 0; }
.article-hero .crumb a { color: var(--brick); text-decoration: none; font-weight: 700; }
.article-hero .aisle-lbl { margin-top: 18px; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 12px 0 0; max-width: 24ch; }
.article-hero .meta { font-family: var(--mono); color: var(--muted); font-size: 0.88rem; margin: 12px 0 0; }
.article-hero .banner { max-width: 780px; margin: 30px auto 0; aspect-ratio: 16 / 9; border-radius: 16px 16px 0 0; overflow: hidden; border: 3px solid var(--wood); border-bottom: 0; }
.article-hero .banner img { width: 100%; height: 100%; object-fit: cover; }
.article { max-width: 720px; margin: 0 auto; padding: 48px 26px 24px; }
.article p { margin: 0 0 18px; }
.article h2 { font-size: 1.6rem; margin: 36px 0 12px; color: var(--cocoa); }
.article ul { margin: 0 0 18px; padding-left: 22px; }
.article li { margin: 7px 0; }
.article li::marker { color: var(--orange); }
.article blockquote { margin: 26px 0; padding: 18px 22px; border: 2px dashed var(--orange); background: var(--cream); border-radius: 12px; font-size: 1.03rem; }
.tool-plug { display: flex; align-items: center; gap: 18px; background: var(--kraft-2); border: 2px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 30px 0; text-decoration: none; color: inherit; }
.tool-plug svg { width: 56px; height: 56px; flex: 0 0 auto; }
.tool-plug b { display: block; font-size: 1.05rem; }
.tool-plug span { color: var(--muted); font-size: 0.92rem; }
.tool-plug:hover { border-color: var(--orange); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--espresso); color: var(--cream); border-radius: 14px; padding: 24px 26px; margin: 34px 0; border: 3px dashed var(--mustard); }
.inline-cta h3 { color: #fff; font-family: var(--sign); font-weight: 400; font-size: 1.35rem; }
.inline-cta p { color: #e2c9a8; margin: 6px 0 0; font-size: 0.95rem; }
.back-link { display: inline-block; margin-top: 12px; font-family: var(--mono); font-weight: 700; color: var(--brick); text-decoration: none; }

/* mini coupon */
.mini { background: var(--cream); border: 3px dashed var(--brick); border-radius: 16px; padding: 28px 26px; margin: 40px 0; text-align: center; }
.mini h3 { font-family: var(--sign); font-weight: 400; font-size: 1.5rem; color: var(--brick); }
.mini p { color: var(--muted); margin: 6px 0 16px; }
.mini form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mini input { flex: 1 1 240px; min-width: 0; max-width: 340px; padding: 12px 14px; font-family: var(--body); font-size: 1rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; }
.mini input:focus { outline: none; border-color: var(--orange); }

/* ---------- Calculators ---------- */
.calc-hero { padding: 40px 0 34px; border-bottom: 2px solid var(--line); }
.calc-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 12px 0 0; }
.calc-hero p { color: var(--muted); max-width: 62ch; margin: 12px 0 0; font-size: 1.08rem; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.panel { background: var(--cream); border: 2px solid var(--line); border-radius: 16px; padding: 24px 24px 12px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.45rem; margin-bottom: 16px; color: var(--cocoa); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inp { position: relative; }
.inp .pre, .inp .suf { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 700; color: var(--muted); pointer-events: none; }
.inp .pre { left: 13px; }
.inp .suf { right: 13px; }
.inp input { padding-left: 28px; }
.inp.s input { padding-left: 14px; padding-right: 44px; }
.help { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.receipt { position: relative; background: #fffdf7; font-family: var(--mono); color: var(--espresso); padding: 26px 26px 30px; box-shadow: 0 14px 30px -16px rgba(74, 44, 27, 0.55); margin: 10px 0; }
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background-size: 16px 10px; background-repeat: repeat-x; }
.receipt::before { top: -10px; background-image: linear-gradient(135deg, transparent 50%, #fffdf7 50%), linear-gradient(225deg, transparent 50%, #fffdf7 50%); background-position: 0 0, 8px 0; }
.receipt::after { bottom: -10px; background-image: linear-gradient(45deg, transparent 50%, #fffdf7 50%), linear-gradient(-45deg, transparent 50%, #fffdf7 50%); background-position: 0 0, 8px 0; }
.receipt .rh { text-align: center; border-bottom: 2px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.receipt .rh b { display: block; font-size: 1.05rem; letter-spacing: 0.14em; }
.receipt .rh span { font-size: 0.78rem; color: var(--muted); }
.receipt .big { text-align: center; padding: 8px 0 14px; }
.receipt .big small { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.receipt .big strong { display: block; font-family: var(--sign); font-weight: 400; font-size: clamp(2rem, 5vw, 2.7rem); color: var(--brick); line-height: 1.15; }
.receipt .rl { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dotted var(--line); font-size: 0.95rem; }
.receipt .rl.total { border-bottom: 0; border-top: 2px dashed var(--ink); margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 1.02rem; }
.receipt .note { font-size: 0.78rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.bar { display: flex; height: 16px; border-radius: 4px; overflow: hidden; margin: 12px 0 6px; background: var(--line); }
.bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.78rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; }
.chart { width: 100%; height: auto; margin-top: 10px; }
.sched { margin-top: 22px; }
.sched summary { cursor: pointer; font-family: var(--mono); font-weight: 700; color: var(--brick); }
.sched table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.86rem; margin-top: 10px; }
.sched th, .sched td { text-align: right; padding: 6px 8px; border-bottom: 1px dotted var(--line); }
.sched th:first-child, .sched td:first-child { text-align: left; }
.sched th { color: var(--muted); font-weight: 700; }
.calc-note { font-size: 0.84rem; color: var(--muted); margin-top: 26px; padding: 14px 16px; background: var(--kraft-2); border-radius: 10px; }
.more-tools { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #d9bf9e; padding: 0 0 26px; font-size: 0.93rem; }
.site-footer .stripe { height: 12px; background: repeating-linear-gradient(90deg, var(--brick) 0 30px, var(--mustard) 30px 60px, var(--orange) 60px 90px); margin-bottom: 46px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand .wm .t1 { color: var(--kraft); }
.site-footer .brand .wm .t2 { color: var(--mustard); }
.site-footer .brand .wm .s { color: #b89874; }
.site-footer h4 { color: #fff; font-family: var(--mono); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #d9bf9e; text-decoration: none; }
.site-footer a:hover { color: var(--mustard-2); }
.site-footer .fbrand p { margin: 12px 0 0; max-width: 320px; color: #b89874; }
.site-footer .disclaimer { font-size: 0.8rem; color: #a3845f; margin-top: 28px; padding-top: 20px; border-top: 1px dashed rgba(255, 250, 240, 0.16); line-height: 1.6; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-family: var(--mono); font-size: 0.82rem; color: #a3845f; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 64px; }
  .map-wrap { grid-template-columns: 1fr; }
  .floor .plate { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .fbrand { grid-column: 1 / -1; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 4px double var(--wood); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a.navlink { padding: 14px 26px; border-top: 1px solid var(--line); border-radius: 0; }
  .nav .btn { display: none; }
  .header-bar { padding: 18px 18px 10px; gap: 12px; }
  .header-cta { display: inline-flex; margin-left: auto; padding: 10px 16px; font-size: 0.92rem; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-grid { padding: 40px 16px 56px; }
  .section { padding: 56px 0; }
  .card-grid, .res-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  a.tool { padding: 18px 12px 16px; }
  .tool p { display: none; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .cta { padding: 44px 22px 36px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .brand .wm .t2 { font-size: 1.4rem; }
  .brand .wm .s { display: none; }
  .brand .mark { width: 42px; height: 42px; }
  .coupon-inner { padding: 20px 18px; }
  .marquee { font-size: 0.72rem; letter-spacing: 0.08em; }
  .marquee .wrap { gap: 6px 16px; padding: 8px 12px; }
  .marquee span:first-child { display: none; }
  .panel { padding: 20px 16px 8px; }
  .receipt { padding: 22px 16px 26px; }
}
