/* ==========================================================================
   Shikor (শিকড়) — Design System
   Warm cream, deep ink & heritage amber. Editorial, quiet, precise.
   ========================================================================== */

@import url('https://fonts.maateen.me/solaiman-lipi/font.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
    --font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-bn: 'SolaimanLipi', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;

    /* Palette — unchanged brand theme, formalised as tokens */
    --ink: #1c1917;          /* stone-900 */
    --ink-soft: #44403c;     /* stone-700 */
    --muted: #78716c;        /* stone-500 */
    --line: #e7e2d9;         /* warm hairline */
    --line-strong: #d6cfc2;
    --cream: #f8f6f2;
    --cream-2: #f2ede4;
    --sand: #e4ddcf;
    --paper: #fffdfa;
    --amber: #78350f;        /* amber-900 */
    --amber-deep: #451a03;   /* amber-950 */
    --amber-soft: #b45309;
    --night: #1f1a17;

    --color-bg-subtle: #f9f9f9;
    --color-border: #e8e8e8;
    --color-sage: #e3eae2;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 1px 2px rgba(28, 25, 23, 0.04), 0 8px 24px -12px rgba(28, 25, 23, 0.12);
    --shadow-lift: 0 2px 4px rgba(28, 25, 23, 0.04), 0 24px 48px -20px rgba(28, 25, 23, 0.22);
}

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: var(--ink);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

/* ---------- Language font stacks ---------- */
body.lang-en,
html[lang="en"] body {
    font-family: var(--font-en) !important;
}

body.lang-bn,
html[lang="bn"] body {
    font-family: var(--font-bn) !important;
    letter-spacing: 0.01em;
}

body.lang-bn .font-display,
body.lang-bn h1,
body.lang-bn h2,
body.lang-bn h3,
body.lang-bn h4,
body.lang-bn p,
body.lang-bn button,
body.lang-bn input,
body.lang-bn select,
body.lang-bn textarea,
body.lang-bn a,
body.lang-bn span,
body.lang-bn li,
body.lang-bn label {
    font-family: var(--font-bn) !important;
}

/* English display serif for editorial headings */
body.lang-en .font-display,
body.lang-en .font-serif,
body.lang-en h1,
body.lang-en h2 {
    font-family: var(--font-display) !important;
    letter-spacing: -0.01em;
}
body.lang-en .font-display { font-weight: 500; }

/* Brand wordmark is always the Bangla logotype */
.brand-wordmark { font-family: var(--font-bn) !important; letter-spacing: 0.04em; }

::selection { background: var(--amber); color: #fffbeb; }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.container-pro {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container-pro { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container-pro { padding-inline: 3rem; } }

.section { padding-block: 5rem; }
@media (min-width: 1024px) { .section { padding-block: 7.5rem; } }

.bg-cream { background-color: var(--cream); }
.bg-cream-2 { background-color: var(--cream-2); }
.bg-sand { background-color: var(--sand); }
.bg-night { background-color: var(--night); }
.hairline { border-color: var(--line) !important; }

/* Subtle paper grain for warm surfaces */
.grain { position: relative; isolation: isolate; }
.grain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.47 0 0 0 0 0.34 0 0 0 0 0.2 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--amber);
}
.eyebrow::before {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.eyebrow.eyebrow-center::after {
    content: "";
    width: 2rem;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.eyebrow-light { color: #e7c9a1; }

.display-xl {
    font-size: clamp(2.5rem, 5.2vw, 4.75rem);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.display-lg {
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.015em;
}
.display-md {
    font-size: clamp(1.625rem, 2.4vw, 2.25rem);
    line-height: 1.18;
    font-weight: 400;
}
body.lang-bn .display-xl { line-height: 1.22; font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
body.lang-bn .display-lg { line-height: 1.3; }
body.lang-bn .display-md { line-height: 1.38; }

.lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.body-copy {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--ink-soft);
}

.num {
    font-family: var(--font-display);
    font-feature-settings: "lnum";
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    height: 3.25rem;
    padding-inline: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
body.lang-bn .btn { letter-spacing: 0.04em; font-size: 0.875rem; }
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn-amber { background: var(--amber); color: #fffbeb; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(28, 25, 23, 0.28); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--cream-2); border-color: var(--cream-2); }
.btn-sm { height: 2.5rem; padding-inline: 1.25rem; font-size: 0.6875rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 0.25rem;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: color .3s var(--ease-out), background-size .4s var(--ease-out);
}
body.lang-bn .link-arrow { letter-spacing: 0.03em; font-size: 0.875rem; }
.link-arrow:hover { color: var(--amber); }
.link-arrow svg { transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.announce-bar {
    background: var(--night);
    color: #e7dccb;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
body.lang-bn .announce-bar { letter-spacing: 0.02em; font-size: 0.8125rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 253, 250, 0.92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(28, 25, 23, 0.35);
    background: rgba(255, 253, 250, 0.97);
}

.nav-link {
    position: relative;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding-block: 0.5rem;
    transition: color .25s ease;
    white-space: nowrap;
}
body.lang-bn .nav-link { letter-spacing: 0.01em; font-size: 0.9375rem; }
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--ink); }

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    color: var(--ink);
    transition: background-color .25s ease, color .25s ease;
}
.icon-btn:hover { background: var(--cream-2); }
.icon-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.125rem;
    min-width: 1rem;
    height: 1rem;
    padding-inline: 0.25rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    color: #fff;
    background: var(--amber);
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 2.25rem;
    padding-inline: 0.875rem;
    border: 1px solid var(--line-strong);
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    transition: border-color .25s ease, color .25s ease;
}
.lang-pill:hover { border-color: var(--ink); color: var(--ink); }

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    color: var(--ink);
}
.mobile-nav-link.is-active { color: var(--amber); }

/* ---------- Inner page hero (shared across pages) ---------- */
.page-hero {
    position: relative;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding-block: 4.5rem 4rem;
    overflow: hidden;
    isolation: isolate;
}
@media (min-width: 1024px) { .page-hero { padding-block: 6.5rem 5.5rem; } }
.page-hero::after {
    content: "শিকড়";
    position: absolute;
    right: -1.5rem;
    bottom: -3.5rem;
    z-index: -1;
    font-family: var(--font-bn);
    font-size: clamp(8rem, 18vw, 16rem);
    line-height: 1;
    font-weight: 700;
    color: rgba(120, 53, 15, 0.045);
    pointer-events: none;
    user-select: none;
}
.page-hero h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.75rem) !important;
    line-height: 1.12 !important;
    font-weight: 400 !important;
    letter-spacing: -0.015em;
    max-width: 22ch;
    margin-inline: auto;
}
body.lang-bn .page-hero h1 { line-height: 1.32 !important; max-width: 26ch; }
.page-hero p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: var(--ink-soft) !important;
}
.page-hero a, .page-hero span { letter-spacing: 0.16em; }
body.lang-bn .page-hero a, body.lang-bn .page-hero span { letter-spacing: 0.02em; }

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color .35s var(--ease-out), box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }

.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .pc-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--cream-2);
}
.product-card .pc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out);
}
.product-card:hover .pc-media img { transform: scale(1.045); }
.product-card .pc-badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    z-index: 2;
    padding: 0.3rem 0.625rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(255, 253, 250, 0.94);
    backdrop-filter: blur(4px);
}
.product-card .pc-wish {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 253, 250, 0.94);
    color: var(--ink);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), color .2s ease;
}
.product-card:hover .pc-wish,
.product-card .pc-wish:focus-visible { opacity: 1; transform: none; }
.product-card .pc-wish:hover { color: var(--amber); }
.product-card .pc-cta {
    position: absolute;
    left: 0.875rem;
    right: 0.875rem;
    bottom: 0.875rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.product-card:hover .pc-cta,
.product-card .pc-cta:focus-within { opacity: 1; transform: none; }
@media (hover: none) {
    .product-card .pc-cta { display: none; }
    .product-card .pc-wish { opacity: 1; transform: none; }
}
.product-card .pc-body { padding-top: 1.125rem; }
.product-card .pc-cat {
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
body.lang-bn .product-card .pc-cat { letter-spacing: 0.02em; font-size: 0.8125rem; }
.product-card .pc-title {
    margin-top: 0.375rem;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--ink);
    transition: color .25s ease;
}
.product-card:hover .pc-title { color: var(--amber); }
.product-card .pc-price { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.product-card .pc-price-old { font-size: 0.8125rem; color: var(--muted); text-decoration: line-through; }

/* Filter pills */
.filter-tab-btn {
    height: 2.5rem;
    padding-inline: 1.125rem;
    border: 1px solid var(--line-strong);
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: transparent;
    transition: all .3s var(--ease-out);
}
body.lang-bn .filter-tab-btn { letter-spacing: 0.02em; font-size: 0.875rem; }
.filter-tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-tab-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Slider dots */
.resin-slider-dot { height: 2px; width: 1.5rem; border-radius: 0; background: var(--line-strong); transition: all .4s var(--ease-out); }
.resin-slider-dot.is-active { width: 3rem; background: var(--ink); }

/* Testimonials */
.quote-card { background: var(--cream); padding: 2.25rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.quote-mark { font-family: var(--font-display); font-size: 4.5rem; line-height: 0.6; color: var(--amber); opacity: 0.35; }

/* Category tiles */
.cat-tile { position: relative; display: block; overflow: hidden; background: var(--cream-2); aspect-ratio: 3 / 4; cursor: pointer; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.72) 0%, rgba(28, 25, 23, 0.1) 45%, transparent 70%);
}
.cat-tile .cat-label { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 2; color: #fff; }

/* ---------- Forms ---------- */
.field {
    width: 100%;
    height: 3.25rem;
    padding-inline: 1rem;
    font-size: 0.875rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    transition: border-color .25s ease, box-shadow .25s ease;
}
textarea.field { height: auto; padding-block: 0.875rem; line-height: 1.6; }
.field::placeholder { color: #a8a29e; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(120, 53, 15, 0.08); }
.field-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
body.lang-bn .field-label { letter-spacing: 0.02em; font-size: 0.8125rem; }

/* Generic upgrade for legacy inputs on inner pages */
main input[type="text"], main input[type="email"], main input[type="tel"], main input[type="number"], main select, main textarea {
    border-radius: 0 !important;
}

/* ---------- Overlays ---------- */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(28, 25, 23, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.panel { background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #a8a29e; }
.footer-heading {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e7c9a1;
}
body.lang-bn .footer-heading { letter-spacing: 0.02em; font-size: 0.875rem; }
.footer-link { font-size: 0.875rem; color: #a8a29e; transition: color .25s ease; }
.footer-link:hover { color: #fff; }
.pay-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.875rem;
    min-width: 2.875rem;
    padding: 0.25rem 0.5rem;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.pay-chip:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}
.pay-chip img {
    max-height: 1.125rem;
    max-width: 2.375rem;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #d6d3d1;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.social-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Motion ---------- */
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-spin-slow { animation: spin-slow 28s linear infinite; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Legacy utilities kept for inner pages ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #cfc6b8; border-radius: 10px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: #a8a29e; }

.img-zoom-container { overflow: hidden; }
.img-zoom-container img { transition: transform 1s var(--ease-out); }
.img-zoom-container:hover img { transform: scale(1.05); }

#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast-item {
    pointer-events: auto;
    transition: all 0.4s var(--ease-out);
    transform: translateY(16px);
    opacity: 0;
}
.toast-item.show { transform: translateY(0); opacity: 1; }

.badge-pill { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Legacy hero watermark (kept for any page that still uses it) */
.hero-vertical-watermark {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10rem;
    line-height: 0.9;
    letter-spacing: 0.18em;
    font-family: var(--font-en) !important;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(28, 25, 23, 0.06);
}

/* ==========================================================================
   Editorial primitives for inner pages — catalogue / printed-matter feel
   ========================================================================== */

/* Running head, like the top line of a printed catalogue page */
.folio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.6875rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
body.lang-bn .folio { letter-spacing: 0.02em; font-size: 0.8125rem; }
.folio a:hover { color: var(--ink); }
.folio .sep { color: var(--line-strong); margin-inline: 0.5rem; }

.kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
}
body.lang-bn .kicker { letter-spacing: 0.02em; font-size: 0.875rem; }

.big-num {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.85;
    font-feature-settings: "lnum";
    color: var(--ink);
}

.caption {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--muted);
}
.caption b { font-weight: 600; color: var(--ink-soft); }
body.lang-en .caption { font-family: var(--font-display) !important; font-style: italic; font-size: 0.9375rem; }

/* Drop cap — English only; Bangla conjuncts don't take it gracefully */
body.lang-en .dropcap::first-letter {
    float: left;
    font-family: var(--font-display);
    font-size: 4.6em;
    line-height: 0.82;
    padding: 0.06em 0.12em 0 0;
    color: var(--amber);
}

.pull-quote {
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
    padding-block: 1.75rem;
    font-size: clamp(1.375rem, 2.2vw, 1.875rem);
    line-height: 1.35;
    color: var(--ink);
}
body.lang-en .pull-quote { font-family: var(--font-display) !important; font-style: italic; }
body.lang-bn .pull-quote { line-height: 1.6; }

/* Ledger: ruled rows, like a printed chronology */
.ledger > * { border-top: 1px solid var(--line); }
.ledger > *:last-child { border-bottom: 1px solid var(--line); }

/* Spec list with dotted leaders */
.spec-list { font-size: 0.875rem; }
.spec-list > div { display: flex; align-items: baseline; gap: 0.75rem; padding-block: 0.7rem; }
.spec-list dt { color: var(--muted); white-space: nowrap; }
.spec-list dt::after { content: ""; }
.spec-list .leader { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-0.25rem); min-width: 1.5rem; }
.spec-list dd { color: var(--ink); font-weight: 500; text-align: right; }

/* Underline-only fields for letter-style forms */
.field-line {
    width: 100%;
    padding: 0.625rem 0 0.75rem;
    font-size: 1rem;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
    transition: border-color .25s ease;
}
.field-line:focus { outline: none; border-bottom-color: var(--ink); }
.field-line::placeholder { color: #b5aea5; }
select.field-line { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2378716c' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.25rem center; padding-right: 1.5rem; }
textarea.field-line { resize: vertical; line-height: 1.6; }

/* Option tiles for configurators (state carried by .active) */
.opt-tile {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid var(--line-strong);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.opt-tile:hover { border-color: var(--ink-soft); }
.opt-tile.active { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-tile.active::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--amber);
}

/* FAQ accordion */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 3rem 1fr 1.5rem;
    align-items: baseline;
    gap: 1rem;
    padding-block: 1.5rem;
    font-size: 1.0625rem;
    color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { justify-self: end; transition: transform .3s var(--ease-out); font-size: 1.25rem; line-height: 1; color: var(--muted); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 1.5rem 1.75rem 4rem; max-width: 46rem; }

/* Image with a thin keyline offset, like a mounted print */
.mounted { position: relative; }
.mounted::before {
    content: "";
    position: absolute;
    inset: 0.875rem -0.875rem -0.875rem 0.875rem;
    border: 1px solid var(--line-strong);
    z-index: -1;
}

.text-balance { text-wrap: balance; }
.tabular { font-variant-numeric: tabular-nums; }

/* Sticky in-page index */
.toc a { display: flex; gap: 1rem; padding-block: 0.5rem; color: var(--muted); font-size: 0.875rem; transition: color .2s ease; }
.toc a:hover, .toc a.is-current { color: var(--ink); }
.toc a .n { font-family: var(--font-display); color: var(--amber); width: 1.5rem; }

input[type="range"].range-ink { accent-color: var(--ink); }

/* Segmented tabs (account sign in / register) */
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); }
.seg button { padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ink-soft); border-right: 1px solid var(--line-strong); transition: background-color .2s ease, color .2s ease; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); }
.seg button.is-active { background: var(--ink); color: #fff; }

/* Signed-in account link in the header */
[data-account-link].is-signed-in { color: var(--amber); }
