/* =====================================================================
   rakhis.org v2 - "festive editorial"
   Mobile first. Breakpoints: 720px (tablet), 1024px (desktop).
   All motion switches off under prefers-reduced-motion.
   ===================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url("fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 800; font-display: swap; src: url("fonts/inter-tight-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
/* Devanagari (Hindi wishes) only */
@font-face { font-family: "Mukta"; font-weight: 400; font-display: swap; src: url("fonts/mukta-devanagari-400-normal.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-weight: 600; font-display: swap; src: url("fonts/mukta-devanagari-600-normal.woff2") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

/* ---------- Tokens ---------- */
:root {
    --night: #1C0A0F;
    --night-2: #26101A;
    --night-line: #4A2A32;
    --maroon: #6B1027;
    --rose: #C2183F;
    --marigold: #F2994A;
    --gold: #E6B85C;
    --cream: #FBF4E9;
    --sand: #F3E4D2;
    --paper: #FFFDF8;
    --ink: #1C0A0F;
    --muted: #5F4B4F;
    --soft: #D9C6BC;
    --line: #E8D5BE;
    --accent-text: #B4520F;   /* marigold, dark enough for text on cream */
    --sans: "Inter Tight", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --r-sm: 14px;
    --r: 22px;
    --r-lg: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); overflow-x: clip; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--maroon); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--marigold); color: var(--night); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 22px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--maroon); }
.on-dark .accent, .accent.on-dark { color: var(--marigold); }
.sec-no { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--accent-text); text-transform: uppercase; }
.on-dark .sec-no { color: var(--gold); }
.sec-title { font-weight: 800; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; margin: 8px 0 0; }
.sec-title .accent { font-size: 1.06em; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.on-dark .lead { color: var(--soft); }

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
    font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-marigold { background: var(--marigold); color: var(--night); }
.btn-marigold:hover { color: var(--night); box-shadow: 0 12px 28px rgba(242, 153, 74, .35); }
.btn-maroon { background: var(--maroon); color: var(--cream); }
.btn-maroon:hover { color: var(--cream); background: #821634; box-shadow: 0 12px 28px rgba(107, 16, 39, .3); }
.btn-line-light { border-color: #6A4A52; color: var(--cream); background: transparent; }
.btn-line-light:hover { border-color: var(--marigold); color: var(--cream); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-cream { background: var(--cream); color: var(--night); }
.btn-cream:hover { color: var(--night); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.btn::after {
    content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.text-link { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.text-link:hover { color: var(--maroon); }
.text-link:hover::after { width: 30px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--maroon); color: #FBE3C8; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.ticker-track { display: inline-flex; gap: 28px; align-items: center; padding: 10px 0; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; }
.star { width: 11px; height: 11px; flex: 0 0 auto; color: var(--marigold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--cream); border-bottom: 1px solid #3A1E25; transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(28, 10, 15, .35); }
.header-bar { display: flex; align-items: center; gap: 12px; min-height: 68px; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .header-bar { min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--cream); }
.brand svg { width: 32px; height: 32px; transition: transform .8s var(--ease); }
.brand:hover svg { transform: rotate(45deg); }
.brand-name { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.brand-name b, .dot { color: var(--marigold); font-weight: 800; }

.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--night-2); }
.icon-btn svg { width: 22px; height: 22px; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
#menu-toggle[aria-expanded="true"] .burger { background: transparent; }
#menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.header-cta { display: none; }

/* Mobile drawer */
.main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 45; width: min(88vw, 380px);
    background: var(--night); padding: 124px 22px 28px; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(105%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
    box-shadow: -20px 0 50px rgba(0,0,0,.35);
}
.main-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid #3A1E25; }
.main-nav.is-open .nav-list > li { animation: slideIn .5s var(--ease) both; }
.main-nav.is-open .nav-list > li:nth-child(2) { animation-delay: .04s; }
.main-nav.is-open .nav-list > li:nth-child(3) { animation-delay: .08s; }
.main-nav.is-open .nav-list > li:nth-child(4) { animation-delay: .12s; }
.main-nav.is-open .nav-list > li:nth-child(5) { animation-delay: .16s; }
.main-nav.is-open .nav-list > li:nth-child(6) { animation-delay: .2s; }
.main-nav.is-open .nav-list > li:nth-child(7) { animation-delay: .24s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.nav-link { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; padding: 12px 0; font: inherit; font-size: 18px; font-weight: 600; color: var(--cream); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.nav-link:hover, .nav-link.is-current { color: var(--marigold); }
.drop-toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--marigold); border-bottom: 2px solid var(--marigold); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); margin-left: 10px; }
.drop-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
.drop { display: none; list-style: none; margin: 0; padding: 0 0 14px; }
.drop a { display: block; padding: 10px 0; color: var(--soft); text-decoration: none; }
.drop a:hover { color: var(--cream); }
.drop small { display: block; font-size: 13px; color: #A8928B; }
.drop .drop-no { font-family: var(--mono); font-size: 12px; color: var(--marigold); margin-right: 8px; }
.nav-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(10, 4, 6, .55); opacity: 0; transition: opacity .35s; }
.nav-overlay.is-visible { opacity: 1; }
.drawer-cta { margin-top: 24px; width: 100%; }

/* Search bar */
.search-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); background: var(--night-2); }
.search-panel.is-open { max-height: 120px; }
.search-form { display: flex; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.search-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--night-line); background: var(--night); color: var(--cream); }
.search-form input::placeholder { color: #A8928B; }
.search-form input:focus { outline: 0; border-color: var(--marigold); box-shadow: 0 0 0 4px rgba(242, 153, 74, .2); }

/* ---------- Photos (placeholder until a real image exists) ---------- */
.ph { position: relative; overflow: hidden; background: #E7C9B5; border-radius: var(--r-sm); display: flex; align-items: flex-end; padding: 14px; isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.35), transparent 45%); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.ph-label { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--cream); background: rgba(28, 10, 15, .82); padding: 5px 9px; border-radius: 4px; max-width: 100%; }
a:hover .ph img { transform: scale(1.04); }
.ph-arch { border-radius: 999px 999px var(--r-sm) var(--r-sm); justify-content: center; }
.ph-round { border-radius: 50%; padding: 0; }
.ph-round .ph-label { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--cream); }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 24, 63, .35), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 44px; padding-top: 48px; padding-bottom: 64px; align-items: center; }
.hero-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.display { font-weight: 800; font-size: clamp(84px, 13vw, 160px); line-height: .86; letter-spacing: -.055em; margin: 18px 0 20px; }
.hero-tag { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 18px; }
.hero-tag .accent { font-size: 1.15em; color: var(--marigold); }
.hero-pair { display: flex; flex-direction: column; font-size: 20px; color: var(--soft); margin-bottom: 26px; }
.hero-pair .accent { font-size: 25px; color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-arch { height: 420px; background: #8C2E3F; border: 1px solid var(--gold); }
.hero-arch .mark { position: absolute; inset: 18% 14% auto; width: 72%; z-index: 0; animation: floaty 7s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.date-badge {
    position: absolute; top: 28px; left: -14px; z-index: 2; width: 118px; height: 118px; border-radius: 50%;
    background: var(--marigold); color: var(--night); box-shadow: 0 0 0 8px var(--night);
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; text-align: center;
    animation: badgeIn 1s .4s var(--ease) both;
}
.date-badge .mono { font-size: 10px; }
.date-badge strong { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.date-badge em { font-family: var(--serif); font-size: 19px; }
@keyframes badgeIn { from { opacity: 0; transform: scale(.4) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
.cover-link { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; padding-top: 18px; border-top: 1px solid #3A1E25; color: var(--cream); text-decoration: none; }
.cover-link:hover { color: var(--cream); }
.cover-link .mono { color: var(--gold); white-space: nowrap; padding-top: 4px; line-height: 1.6; }
.cover-title { font-size: 21px; font-weight: 600; line-height: 1.3; }
.cover-title .accent { color: var(--marigold); font-size: 1.12em; }
.cover-link:hover .cover-title { text-decoration: underline; text-decoration-color: var(--marigold); text-underline-offset: 5px; }
.countdown { display: flex; gap: 8px; margin-top: 26px; }
.cd { min-width: 64px; padding: 8px 6px 6px; border: 1px solid var(--night-line); border-radius: 12px; text-align: center; background: var(--night-2); }
.cd b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--gold); }
.cd b.tick { animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: .2; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.sec { padding: 80px 0; }
.sec-tint { background: var(--sand); }
.sec-dark { background: var(--night); color: var(--cream); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; padding-bottom: 22px; margin-bottom: 40px; border-bottom: 1px solid var(--ink); }
.sec-dark .sec-head { border-bottom-color: var(--night-line); }
.sec-head .lead { margin: 0; }

/* Numbered story cards */
.grid-4 { display: grid; gap: 40px 28px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.card:hover { color: var(--ink); }
.card-n { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; color: #E3CDB6; transition: color .3s; }
.card:hover .card-n { color: var(--marigold); }
.card .ph { height: 220px; }
.card-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--accent-text); text-transform: uppercase; }
.card-title { font-size: 22px; font-weight: 700; line-height: 1.22; letter-spacing: -.01em; }
.card-title .accent { font-size: 1.1em; }
.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.card-by { font-size: 14px; color: var(--muted); }
.card-slug { font-family: var(--mono); font-size: 11px; color: #8A7479; border-top: 1px dashed #D9C3A5; padding-top: 8px; }

.strap { text-align: center; padding-top: 56px; padding-bottom: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.strap .star { width: 22px; height: 22px; margin-bottom: 8px; animation: spin 14s linear infinite; }
.strap p { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.strap p.accent { font-size: clamp(28px, 3.3vw, 38px); font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Feature wide */
.feature { display: grid; grid-template-columns: 1fr; background: var(--paper); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.feature:hover { color: var(--ink); box-shadow: 0 30px 60px rgba(28, 10, 15, .12); transform: translateY(-4px); }
.feature .ph { min-height: 300px; border-radius: 0; }
.feature-body { padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature-title { font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.025em; }
.feature-body p { margin: 0; color: var(--muted); }
.minis { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
.mini { display: flex; gap: 18px; align-items: center; padding: 14px; background: var(--paper); border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mini:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(28,10,15,.08); }
.mini .ph { flex: 0 0 88px; height: 88px; }
.mini-title { font-size: 18px; font-weight: 700; line-height: 1.25; }

/* Tool tiles */
.tiles { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--r); border: 1px solid var(--night-line); background: var(--night-2); color: var(--cream); text-decoration: none; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.tile:hover { color: var(--cream); transform: translateY(-6px); border-color: var(--marigold); background: #2E1420; }
.tile-top { display: flex; justify-content: space-between; align-items: baseline; }
.tile-n { font-weight: 800; font-size: 72px; line-height: .9; letter-spacing: -.05em; color: var(--marigold); }
.tile-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--gold); }
.tile-title { font-size: 26px; font-weight: 700; letter-spacing: -.015em; }
.tile p { margin: 0; color: var(--soft); font-size: 16px; }
.tile .btn { align-self: flex-start; margin-top: 6px; pointer-events: none; }

/* Makers */
.makers { display: grid; gap: 26px; grid-template-columns: 1fr; }
.maker { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.maker:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(28,10,15,.1); }
.maker .ph { height: 280px; }
.maker-title { font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.maker p { margin: 0; color: var(--muted); }
.maker .btn { align-self: flex-start; pointer-events: none; }

/* Gentle reminder */
.reminder { background: var(--maroon); color: var(--cream); border-radius: var(--r-lg); padding: 64px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; overflow: hidden; }
.reminder::before, .reminder::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(230, 184, 92, .25); }
.reminder::before { left: -90px; top: -90px; }
.reminder::after { right: -110px; bottom: -110px; width: 320px; height: 320px; }
.reminder .big { font-weight: 700; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.reminder .big.accent { color: var(--marigold); font-size: clamp(36px, 4.6vw, 54px); font-weight: 400; }

/* India tiles */
.india { display: grid; gap: 18px; grid-template-columns: 1fr; }
.india-tile { background: var(--paper); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease); }
.india-tile:hover { transform: translateY(-4px) rotate(-.4deg); }
.india-n { font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.04em; color: #E3CDB6; }
.india-name { font-size: 24px; font-weight: 700; }
.india-tile p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; }
.faq-item { border-top: 1px solid var(--ink); }
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; background: none; border: 0; text-align: left; font: inherit; font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq-q .plus { flex: 0 0 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), background .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent-text); transform: translate(-50%, -50%); }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .plus { transform: rotate(135deg); background: var(--marigold); border-color: var(--marigold); }
.faq-a { padding: 0 0 22px; color: var(--muted); }
.js .faq-a { display: none; }

/* Newsletter */
.letter-grid { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
.letter-form { display: flex; flex-direction: column; gap: 10px; }
.letter-form label { font-size: 14px; color: var(--soft); }
.field { font: inherit; font-size: 16px; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--night-line); background: var(--night-2); color: var(--cream); transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #A8928B; }
.field:focus { outline: 0; border-color: var(--marigold); box-shadow: 0 0 0 4px rgba(242, 153, 74, .2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--marigold); flex: 0 0 auto; }
.letter-note { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #A8928B; }

/* ---------- Footer ---------- */
.site-footer { background: #140608; color: var(--soft); padding: 72px 0 28px; }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 44px; border-bottom: 1px solid #3A1E25; }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.footer-word { font-weight: 800; font-size: clamp(56px, 8vw, 88px); line-height: .9; letter-spacing: -.05em; color: var(--cream); }
.footer-brand .accent { color: var(--marigold); font-size: 22px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-col .mono { color: var(--gold); margin-bottom: 4px; }
.footer-col a { color: var(--soft); text-decoration: none; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 13px; color: #A8928B; }
.footer-bottom a { color: #A8928B; }
.footer-bottom .mono { letter-spacing: .16em; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--marigold); color: var(--night); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(28,10,15,.25); opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translate(-50%, 20px); background: var(--night); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Inner page heads ---------- */
.page-head { background: var(--night); color: var(--cream); padding: 44px 0 56px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -200px; bottom: -300px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 153, 74, .16), transparent 65%); pointer-events: none; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #A8928B; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; text-transform: uppercase; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--marigold); }
.page-title { font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.04em; text-transform: uppercase; max-width: 1000px; }
.page-title .accent { color: var(--marigold); font-size: 1.04em; }

/* ---------- Article ---------- */
.post-head { background: var(--cream); padding: 40px 0 20px; }
.post-head .crumbs { color: var(--muted); }
.post-head .crumbs a { color: var(--muted); }
.post-meta { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--accent-text); text-transform: uppercase; }
.post-title { font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.035em; margin: 14px 0 18px; max-width: 1000px; }
.post-title .accent { font-size: 1.08em; }
.post-dek { font-size: 21px; color: var(--muted); max-width: 820px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 6px 0 30px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: 0 0 auto; }
.byline-who { display: flex; align-items: center; gap: 12px; }
.byline-who span { display: flex; flex-direction: column; line-height: 1.3; }
.byline-who small { font-size: 13px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.post-hero { height: 300px; border-radius: var(--r); }
.post-hero-cap { font-size: 13px; color: var(--muted); padding-top: 10px; }

.post-layout { display: grid; gap: 40px; grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 72px; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; transition: color .2s, transform .25s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent-text); padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: var(--maroon); transform: translateX(3px); }
.toc a.is-active { font-weight: 700; }
.side-card { margin-top: 20px; background: var(--night); color: var(--cream); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.side-card .mono { color: var(--gold); }
.side-card strong { font-size: 20px; line-height: 1.25; }
.side-card select { font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 12px; border: 0; background: var(--cream); color: var(--ink); }

.prose { font-size: 19px; line-height: 1.75; max-width: 740px; min-width: 0; }
.prose h2 { font-weight: 800; font-size: clamp(28px, 3vw, 36px); line-height: 1.12; letter-spacing: -.025em; margin: 52px 0 16px; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-text); }
.prose a { color: var(--maroon); font-weight: 600; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--rose); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--paper); margin: 0 0 28px; border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.prose th { background: var(--night); color: var(--cream); text-align: left; font-weight: 600; padding: 12px 14px; white-space: nowrap; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose blockquote.pull { margin: 36px 0; padding: 0 0 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 36px); line-height: 1.25; color: var(--maroon); position: relative; }
.prose blockquote.pull::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--marigold); margin-bottom: 16px; }
.short-answer { background: var(--sand); border-radius: 18px; padding: 24px 26px; margin: 0 0 34px; }
.short-answer-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 8px !important; }
.short-answer ul { margin: 0; font-size: 17px; }
.short-answer li:last-child { margin-bottom: 0; }

.shop-card { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; margin: 8px 0 30px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; transition: box-shadow .3s; }
.shop-card:hover { box-shadow: 0 20px 40px rgba(28,10,15,.08); }
.shop-card .ph { height: 160px; }
.shop-card-body { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
.shop-card-body .mono { color: var(--accent-text); }
.shop-card-title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.shop-card-body p { margin: 0; color: var(--muted); }
.shop-card-body .btn { align-self: flex-start; margin-top: 6px; }
.prose .shop-card a.btn { color: var(--cream); text-decoration: none; font-weight: 600; }

.post-faq { margin-top: 52px; }
.post-faq h2 { margin-top: 0; }
.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; margin-top: 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.author-box .avatar { width: 64px; height: 64px; font-size: 20px; }
.author-box p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Category ---------- */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 22px; padding-bottom: 6px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.chip:hover { border-color: var(--maroon); color: var(--maroon); transform: translateY(-1px); }
.chip.is-active { background: var(--night); border-color: var(--night); color: var(--cream); }
.cat-layout { display: grid; gap: 44px; grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 80px; }
.row { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row:first-child { padding-top: 0; }
.row:hover { color: var(--ink); }
.row .ph { height: 200px; }
.row-body { display: flex; flex-direction: column; gap: 8px; }
.row-title { font-size: 26px; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; }
.row:hover .row-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--marigold); }
.row-body p { margin: 0; color: var(--muted); }
.pager { display: flex; gap: 8px; padding-top: 32px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
.pager .is-current { background: var(--night); color: var(--cream); border-color: var(--night); }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.side-box + .side-box { margin-top: 20px; }
.side-box .mono { color: var(--accent-text); }
.side-box strong { font-size: 21px; line-height: 1.25; }
.side-box p { margin: 0; color: var(--muted); font-size: 15px; }
.empty { padding: 40px; background: var(--paper); border-radius: 20px; text-align: center; color: var(--muted); }

/* ---------- Tools ---------- */
.tool-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.tool-card label { display: block; font-weight: 700; margin-bottom: 8px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 10px; }
.select, .input { flex: 1 1 220px; font: inherit; font-size: 16px; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); }
.select:focus, .input:focus { outline: 0; border-color: var(--marigold); box-shadow: 0 0 0 4px rgba(242, 153, 74, .2); }
.result { margin-top: 22px; background: var(--night); color: var(--cream); border-radius: 22px; padding: 28px; animation: rise .6s var(--ease) both; }
.result h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.result-row { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--night-line); }
.result-row .mono { color: var(--gold); }
.result-date { font-size: 24px; font-weight: 700; }
.result-date .accent { color: var(--marigold); }
.status { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.status-ok { background: #1F4D33; color: #CFF3DC; }
.status-warn { background: #5B4210; color: #FFE7B0; }
.status-bad { background: #5C1525; color: #FFD6DE; }
.result .note { color: var(--soft); font-size: 15px; margin: 14px 0; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.table-box { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { background: var(--night); color: var(--cream); text-align: left; padding: 12px 14px; font-weight: 600; white-space: nowrap; }
.data-table td, .data-table tbody th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table tbody th { background: var(--sand); font-weight: 600; }
.data-table tbody th a { color: var(--ink); text-decoration: none; }
.data-table tbody tr:hover td { background: #FFF8EE; }

.name-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0 18px; }
.name-box label { font-weight: 700; }
.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.filter-group { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.wish-section h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 34px 0 16px; }
.wish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.wish { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; justify-content: space-between; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wish:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(28,10,15,.08); }
.wish-text { margin: 0; font-size: 18px; line-height: 1.5; }
.wish-text:lang(hi) { font-size: 19px; }
.wish-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-wa { background: #1F7A47; color: #fff; }
.btn-wa:hover { color: #fff; background: #19663B; }
.is-hidden { display: none !important; }

.finder { max-width: 860px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 30px 24px; position: relative; overflow: hidden; }
.finder-bar { height: 6px; background: var(--sand); border-radius: 6px; overflow: hidden; margin-bottom: 24px; }
.finder-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--maroon), var(--marigold)); border-radius: 6px; transition: width .5s var(--ease); }
.step { display: none; position: relative; }
.step.is-active { display: block; animation: rise .45s var(--ease) both; }
.step-q { font-weight: 800; font-size: 28px; letter-spacing: -.02em; margin: 0 0 18px; }
.step-q .mono { color: var(--accent-text); display: block; margin-bottom: 6px; }
.opts { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.opt { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; padding: 18px; min-height: 96px; border-radius: 18px; border: 1px solid var(--line); background: var(--cream); font: inherit; color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.opt b { font-size: 18px; }
.opt small { color: var(--muted); font-size: 14px; }
.opt:hover { transform: translateY(-3px); border-color: var(--marigold); background: var(--paper); }
.opt.is-picked { border-color: var(--maroon); background: #FFF0F3; }
.back { margin-top: 16px; background: none; border: 0; padding: 8px 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.answer h3 { font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 8px 0 12px; }
.answer .tip { background: var(--sand); border-radius: 14px; padding: 14px 18px; font-size: 16px; }
.answer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ================= Tablet ================= */
@media (min-width: 720px) {
    .wrap { padding: 0 28px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .minis { grid-template-columns: repeat(3, 1fr); }
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .makers { grid-template-columns: 1fr 1fr; }
    .india { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .footer-brand { grid-column: auto; }
    .opts { grid-template-columns: repeat(4, 1fr); }
    .opts-2 { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
    .opts-3 { grid-template-columns: repeat(3, 1fr); }
    .shop-card { grid-template-columns: 150px 1fr; }
    .shop-card .ph { height: 150px; }
    .row { grid-template-columns: 260px 1fr; gap: 26px; }
    .row .ph { height: 180px; }
    .wish-list { grid-template-columns: 1fr 1fr; }
    .filters { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
    .post-hero { height: 460px; }
}

/* ================= Desktop ================= */
@media (min-width: 1024px) {
    .header-cta { display: inline-flex; }
    .search-toggle-wrap { order: 3; }
    #menu-toggle { display: none; }
    .main-nav { position: static; transform: none; visibility: visible; width: auto; padding: 0; background: none; box-shadow: none; overflow: visible; transition: none; flex: 1 1 auto; }
    .main-nav.is-open .nav-list > li { animation: none; }
    .nav-overlay { display: none !important; }
    .nav-list { display: flex; align-items: center; gap: 4px; justify-content: center; }
    .nav-list > li { border: 0; position: relative; }
    .nav-link { font-size: 15px; font-weight: 500; min-height: 44px; padding: 10px 12px; position: relative; color: #F3E4D4; }
    .nav-link::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--marigold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
    .nav-link:hover::before, .nav-link.is-current::before, li.is-open > .nav-link::before { transform: scaleX(1); }
    .drawer-cta { display: none; }
    .drop {
        display: block; position: absolute; top: calc(100% + 12px); left: 50%; width: 320px; padding: 14px;
        background: var(--paper); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.3);
        opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
    }
    li.is-open > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
    .drop a { color: var(--ink); padding: 10px 12px; border-radius: 12px; }
    .drop a:hover { background: var(--cream); color: var(--maroon); }
    .drop small { color: var(--muted); }

    .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; padding-top: 64px; padding-bottom: 88px; }
    .hero-arch { height: 520px; }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .feature { grid-template-columns: 1.3fr 1fr; }
    .feature .ph { min-height: 460px; }
    .feature-body { padding: 48px; }
    .india { grid-template-columns: repeat(4, 1fr); }
    .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 72px; }
    .letter-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
    .sec { padding: 104px 0; }

    .post-layout { grid-template-columns: 260px minmax(0, 740px) 1fr; gap: 56px; }
    .post-aside { position: sticky; top: 96px; align-self: start; }
    .cat-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}
.mt-16 { margin-top: 16px; }
.mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.muted-light { color: #E9CFC3; font-size: 15px; }
a.plain, a.plain:hover { color: var(--ink); text-decoration: none; }
a.india-tile:hover .india-name { color: var(--maroon); }
.mt-12 { margin-top: 12px; }
@media (min-width: 1024px) { .grid-4.grid-3 { grid-template-columns: repeat(3, 1fr); } }
.prose-page { padding-top: 56px; padding-bottom: 80px; }
.prose-page .prose h2:first-child { margin-top: 0; }
.gold-dark { color: var(--accent-text); }
/* Keep logo, search and the close button above the open mobile drawer */
.brand, .search-toggle-wrap, #menu-toggle { position: relative; z-index: 46; }
figure { margin: 0; }
.hero-arch .ph-label { position: relative; z-index: 1; }
.mini > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
@media (min-width: 720px) { .prose table { display: table; overflow: visible; } }

/* =====================================================================
   v2.1 additions: search suggestions, article engagement, new tools
   ===================================================================== */

/* ---------- Search auto-suggest ---------- */
.suggest-wrap { position: relative; flex: 1; min-width: 0; }
.suggest-wrap input { width: 100%; }
.search-panel.is-open { max-height: 260px; overflow: visible; }
.suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70;
    list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow-y: auto;
    background: var(--paper); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
    animation: rise .25s var(--ease) both;
}
.suggest li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.suggest li a .s-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--accent-text); }
.suggest li a .s-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.suggest li a mark { background: none; color: var(--maroon); text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; }
.suggest li.is-active a, .suggest li a:hover { background: var(--cream); }
.suggest li.s-all a { flex-direction: row; justify-content: space-between; color: var(--maroon); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.suggest li.s-empty { padding: 12px 14px; color: var(--muted); font-size: 15px; }
.popular { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding-bottom: 16px; font-size: 14px; }
.popular .mono { color: var(--gold); }
.popular a { color: var(--soft); text-decoration: none; border-bottom: 1px dashed #6A4A52; }
.popular a:hover { color: var(--marigold); }
.page-head .search-form { padding: 24px 0 0; max-width: 720px; }

/* ---------- Article: reading progress ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 80; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--marigold), var(--rose)); transition: width .1s linear; }

/* Collapsible contents */
details.toc > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.toc > summary::-webkit-details-marker { display: none; }
details.toc > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(45deg); transition: transform .3s var(--ease); }
details.toc[open] > summary::after { transform: rotate(-135deg); }

a.plain-dark, a.plain-dark:hover { color: var(--cream); text-decoration: none; }
a.side-card .btn { align-self: flex-start; pointer-events: none; }

/* Was this helpful? */
.feedback { margin-top: 48px; padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.feedback-q { font-size: 20px; font-weight: 700; margin: 0 0 12px !important; }
.feedback-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.feedback-more { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.feedback-more[hidden] { display: none; }
.feedback-more label { font-size: 15px; font-weight: 600; }
.feedback-more textarea { border-radius: 16px; resize: vertical; font-size: 16px; }
.feedback-more .btn { align-self: flex-start; }
.feedback-done { margin: 0 !important; font-size: 17px; }

/* Newsletter nudge inside the article */
.nudge { display: grid; gap: 6px; margin-top: 20px; padding: 20px 22px; border-radius: 20px; background: var(--night); color: var(--cream) !important; text-decoration: none !important; font-size: 16px; line-height: 1.5; transition: transform .3s var(--ease); }
.nudge:hover { transform: translateY(-3px); }
.nudge .mono { color: var(--gold); }
.nudge .text-link { color: var(--marigold); }

/* Previous / next */
.prev-next { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 56px; }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.pn:hover { color: var(--ink); border-color: var(--marigold); transform: translateY(-3px); }
.pn .mono { color: var(--accent-text); }
.pn-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.pn-next { text-align: right; }

/* Mobile share bar */
.share-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 32; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--night); box-shadow: 0 16px 40px rgba(0,0,0,.3); transform: translateY(140%); transition: transform .4s var(--ease); }
.share-bar.is-visible { transform: none; }
.share-bar .btn { flex: 1; }
.share-bar .btn-line { background: var(--night-2); color: var(--cream); border-color: var(--night-line); }
body.has-share-bar .to-top { bottom: 84px; }

/* ---------- Tools hub ---------- */
.tools-hub { padding-top: 64px; }
.drop a.drop-all { font-weight: 600; color: var(--marigold); }
.text-link.light { color: var(--cream); }
.text-link.light:hover { color: var(--marigold); }
.small { font-size: 14px; }

/* ---------- E-rakhi card ---------- */
.card-maker { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.card-form label, .planner-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.card-form .input, .card-form .select { width: 100%; border-radius: 14px; }
.card-form textarea.input { resize: vertical; }
.swatches { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.swatches legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.swatch { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--cream); }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch:has(input:checked) { border-color: var(--maroon); box-shadow: 0 0 0 2px var(--maroon) inset; }
.swatch:has(input:focus-visible) { outline: 3px solid var(--marigold); outline-offset: 2px; }
.sw { width: 26px; height: 26px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.1); }
.sw-maroon { background: #6B1027; }
.sw-marigold { background: #F2994A; }
.sw-cream { background: #FBF4E9; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card-preview canvas { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(28,10,15,.18); background: var(--sand); }

/* ---------- Budget planner ---------- */
.planner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.planner-form fieldset { border: 0; padding: 0; margin: 0; }
.planner-form legend { font-weight: 800; font-size: 20px; letter-spacing: -.01em; margin-bottom: 12px; padding: 0; }
.planner-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.planner-grid label { font-weight: 600; font-size: 15px; }
.planner-grid .input { display: block; width: 100%; margin-top: 6px; border-radius: 14px; }
.planner-result { background: var(--night); color: var(--cream); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.planner-total { font-weight: 800; font-size: clamp(44px, 6vw, 64px); letter-spacing: -.04em; line-height: 1; margin: 10px 0 18px !important; color: var(--marigold); font-variant-numeric: tabular-nums; }
.planner-lines { list-style: none; margin: 6px 0 0; padding: 0; }
.planner-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--night-line); font-size: 15px; }
.planner-lines b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-16 { margin-top: 16px; }

@media (min-width: 720px) {
    .prev-next { grid-template-columns: 1fr 1fr; }
    .tiles-5 { grid-template-columns: repeat(3, 1fr); }
    .planner-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .share-bar { display: none; }
    body.has-share-bar .to-top { bottom: 24px; }
    .card-maker { grid-template-columns: .85fr 1.15fr; gap: 48px; }
    .planner { grid-template-columns: 1.2fr .8fr; gap: 48px; }
    .planner-result { position: sticky; top: 96px; }
}

/* v2.1 fixes */
.feedback-more textarea { flex: none; width: 100%; min-height: 96px; }
.card-form, .card-preview, .planner-form, .planner-result { min-width: 0; }

/* =====================================================================
   v2.2 - products from our shops (cards, rails, home shelf, rich footer)
   ===================================================================== */

/* ---------- Product card ---------- */
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcards[hidden] { display: none; }
.pcard { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--soft); box-shadow: 0 18px 36px rgba(28, 10, 15, .1); }
.pcard-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--sand); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-badge { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; background: rgba(255, 253, 248, .94); color: var(--ink); font-size: 11.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-off { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.4; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; }
.pcard-store { font-size: 10.5px; color: var(--accent-text); }
.pcard-name { font-size: 15px; font-weight: 600; line-height: 1.32; min-height: 2.64em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pcard-price strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.pcard-price s { font-size: 13px; color: var(--muted); }
.pcard-cta { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--maroon); }
.pcard-cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.pcard:hover .pcard-cta svg { transform: translateX(4px); }

/* Shop images come from the shops; if one fails, show a calm placeholder */
.pcard-img.is-missing img, .mini-card-img.is-missing img { display: none; }
.pcard-img.is-missing { background: radial-gradient(circle at 30% 30%, #F7D9B5, var(--sand) 60%); }
.pcard-img.is-missing::after { content: "Photo on the shop page"; position: absolute; inset: auto 0 44% 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mini-card-img.is-missing { background: radial-gradient(circle at 30% 30%, #4A2A32, #2A1218 70%); }

/* ---------- Rail (articles and categories) ---------- */
.shop-rail { margin: 52px 0 12px; padding: 24px 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--sand), var(--cream) 70%); }
.shop-rail-head { margin-bottom: 20px; }
.shop-rail-head .mono { color: var(--accent-text); }
.shop-rail .shop-rail-head h2, .prose .shop-rail .shop-rail-head h2 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.shop-rail-head p { margin: 0; max-width: 60ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.prose .shop-rail a.pcard { color: var(--ink); font-weight: inherit; text-decoration: none; }
.cat-page .shop-rail, .wrap > .shop-rail { margin-bottom: 64px; }

/* ---------- Home shelf with tabs ---------- */
.shelf { padding-top: 8px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 22px; }
.shelf-head .mono { color: var(--accent-text); }
.shelf-title { margin-top: 6px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.shelf-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.shelf-tab { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.shelf-tab:hover { color: var(--maroon); }
.shelf-tab.is-active { background: var(--maroon); color: var(--cream); }
.shelf-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; }
.js .shelf .pcards { animation: shelf-in .45s var(--ease); }
@keyframes shelf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Rich footer ---------- */
.trust-row { list-style: none; margin: 0 0 44px; padding: 0 0 36px; display: grid; gap: 18px; grid-template-columns: 1fr; border-bottom: 1px solid #3A1E25; }
.trust-row li { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.45; }
.trust-row svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #2A1218; color: var(--marigold); }
.trust-row strong { display: block; color: var(--cream); font-size: 15px; }

.footer-shelf { margin-bottom: 52px; }
.footer-shelf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }
.footer-shelf-head .mono { color: var(--gold); }
.footer-shelf-links { display: inline-flex; gap: 20px; font-size: 14px; }
.footer-shelf-links a { color: var(--marigold); font-weight: 600; }
.footer-shelf-links a:hover { color: var(--cream); }
.footer-shelf-list { list-style: none; margin: 0 -22px; padding: 2px 22px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #4A2A32 transparent; }
.footer-shelf-list li { scroll-snap-align: start; min-width: 0; }
.mini-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 10px; border: 1px solid #3A1E25; border-radius: 16px; background: #1B0A0E; color: var(--soft); text-decoration: none; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.mini-card:hover { color: var(--soft); border-color: var(--marigold); background: #22100F; transform: translateY(-2px); }
.mini-card-img { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #2A1218; }
.mini-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-card-store { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.mini-card-name { color: var(--cream); font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-card-price { color: var(--marigold); font-size: 14px; font-weight: 700; }

.footer-about { margin: 12px 0 4px; max-width: 36ch; font-size: 14.5px; line-height: 1.55; color: var(--soft); }
.footer-social { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; margin-top: 10px; }
.footer-social-label { font-size: 13px; color: #A8928B; }
.social-icons { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #3A1E25; border-radius: 50%; color: var(--soft); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.social-icons a:hover { background: var(--marigold); border-color: var(--marigold); color: var(--night); transform: translateY(-2px); }
.social-icons svg { width: 17px; height: 17px; }

.footer-help { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0; border-bottom: 1px solid #3A1E25; font-size: 14px; }
.footer-help span { color: var(--gold); font-weight: 600; }
.footer-help a { color: var(--soft); }
.footer-help a:hover { color: var(--cream); }

@media (min-width: 720px) {
    .pcards { gap: 18px; }
    .wrap > .shop-rail .pcards, .shelf .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .shop-rail { padding: 30px 28px 26px; }
    .trust-row { grid-template-columns: repeat(2, 1fr); gap: 22px 32px; }
    .footer-shelf-list { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
    .footer-top { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .prose .shop-rail .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .prose .shop-rail .pcard-name { font-size: 14px; }
    .prose .shop-rail .pcard-body { padding: 10px 12px 12px; }
    .trust-row { grid-template-columns: repeat(4, 1fr); }
    .footer-shelf-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-top { grid-template-columns: 1.5fr repeat(4, 1fr); }
    .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .pcard, .pcard-img img, .mini-card, .social-icons a { transition: none; }
    .pcard:hover, .mini-card:hover { transform: none; }
    .pcard:hover .pcard-img img { transform: none; }
    .js .shelf .pcards { animation: none; }
}
