/* ============================================================
   BRIGHTSTONE TRADING SDN. BHD. — "Field Ledger" design system
   A deliberate break from the corporate-blue trading template:
   warm paper, ink, quarried-stone neutrals, amber seal.
   No frameworks. One stylesheet for all pages.
   ============================================================ */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe7d6;
  --card: #fffdf7;
  --ink: #1c1812;
  --ink-soft: #4a4438;
  --muted: #7c7364;
  --line: #ddd2bd;
  --stone: #2b2721;
  --stone-2: #38322a;
  --amber: #b97a1b;
  --amber-deep: #8f5c0e;
  --moss: #5c6b4c;
  --rust: #a4441f;
  --radius: 14px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-ledger: "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --shadow: 0 18px 45px -22px rgba(28, 24, 18, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 85% -5%, rgba(185, 122, 27, .10), transparent 60%),
    radial-gradient(900px 480px at -10% 20%, rgba(92, 107, 76, .10), transparent 55%),
    var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

/* faint ledger grid underneath everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(28, 24, 18, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 24, 18, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
}

main, header.site, footer.site { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--amber); color: #fff; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- top strip ---------- */
.strip {
  background: var(--stone);
  color: #e9e1d0;
  font-family: var(--font-ledger);
  font-size: 12px;
  letter-spacing: .04em;
}
.strip .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 9px 0; flex-wrap: wrap;
}
.strip .dot { color: var(--amber); margin: 0 8px; }
.strip a { color: #f3e9d2; text-decoration: none; border-bottom: 1px dotted rgba(243,233,210,.5); }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.mark {
  width: 46px; height: 46px; border-radius: 11px; flex: 0 0 46px;
  background: linear-gradient(145deg, var(--stone) 55%, var(--amber-deep));
  display: grid; place-items: center; color: #f6f1e7;
  font-family: var(--font-display); font-weight: 900; font-size: 24px;
  box-shadow: inset 0 0 0 1.5px rgba(246,241,231,.35), var(--shadow);
  position: relative; overflow: hidden;
}
.mark::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 9px; height: 3px;
  background: var(--amber); border-radius: 3px;
}
.brand b { font-family: var(--font-display); font-size: 19px; letter-spacing: .01em; display: block; line-height: 1.15; }
.brand small { font-family: var(--font-ledger); font-size: 10.5px; letter-spacing: .14em; color: var(--muted); display: block; }

nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 10px 14px; border-radius: 9px; color: var(--ink-soft);
  position: relative;
}
nav.main a:hover { background: rgba(28,24,18,.06); color: var(--ink); }
nav.main a.active { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
nav.main a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--amber); border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #f6f1e7 !important;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { background: var(--stone-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.amber { background: var(--amber); border-color: var(--amber-deep); }
.btn.amber:hover { background: var(--amber-deep); }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #f6f1e7 !important; }
.btn.small { padding: 9px 18px; font-size: 13.5px; }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 18px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 66px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: start; }

.kicker {
  font-family: var(--font-ledger); font-size: 12.5px; letter-spacing: .18em;
  color: var(--amber-deep); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--amber); display: inline-block; }

h1.display {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.02; font-weight: 600; letter-spacing: -.015em;
}
h1.display em { font-style: italic; color: var(--amber-deep); }
.lede { font-size: 18.5px; color: var(--ink-soft); margin: 20px 0 28px; max-width: 34em; }
.lede strong { color: var(--ink); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.proof { display: flex; gap: 26px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.proof div b { font-family: var(--font-display); font-size: 26px; display: block; }
.proof div span { font-family: var(--font-ledger); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ledger card (right of hero) */
.ledger {
  background: var(--stone); color: #ece4d1; border-radius: var(--radius);
  padding: 26px 26px 22px; box-shadow: var(--shadow);
  font-size: 14.5px; position: relative; overflow: hidden;
}
.ledger::before {
  content: "No. 001"; position: absolute; top: 14px; right: 18px;
  font-family: var(--font-ledger); font-size: 11px; letter-spacing: .2em; color: rgba(236,228,209,.45);
}
.ledger h3 { font-family: var(--font-ledger); font-size: 12px; letter-spacing: .22em; color: var(--amber); margin-bottom: 16px; font-weight: 600; }
.ledger table { width: 100%; border-collapse: collapse; }
.ledger td { padding: 9px 0; border-top: 1px dashed rgba(236,228,209,.25); vertical-align: top; }
.ledger td:first-child { font-family: var(--font-ledger); font-size: 12px; color: rgba(236,228,209,.65); width: 38%; padding-right: 10px; }
.ledger td:last-child { font-weight: 600; }
.ledger .seal {
  margin-top: 18px; display: flex; align-items: center; gap: 12px;
  border-top: 1px solid rgba(236,228,209,.2); padding-top: 16px;
  font-family: var(--font-ledger); font-size: 11.5px; color: rgba(236,228,209,.7);
}
.seal-ring {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  border: 2px solid var(--amber); display: grid; place-items: center;
  color: var(--amber); font-weight: 700; font-size: 13px; transform: rotate(-12deg);
}

/* ---------- sections ---------- */
section.block { padding: 64px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-no { font-family: var(--font-ledger); font-size: 12.5px; letter-spacing: .2em; color: var(--amber-deep); margin-bottom: 10px; display: block; }
h2.title { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.01em; font-weight: 600; }
h2.title em { font-style: italic; color: var(--amber-deep); }
.sec-sub { color: var(--ink-soft); max-width: 36em; margin-top: 12px; font-size: 17px; }

/* pillar cards */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .num {
  font-family: var(--font-ledger); font-size: 12px; letter-spacing: .18em; color: var(--amber-deep);
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;
}
.pillar .glyph {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--paper-2); font-size: 26px;
}
.pillar h3 { font-family: var(--font-display); font-size: 23px; margin: 6px 0 10px; line-height: 1.2; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }
.pillar a.more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.pillar:nth-child(2) { background: var(--stone); color: #ece4d1; border-color: var(--stone); }
.pillar:nth-child(2) p { color: rgba(236,228,209,.75); }
.pillar:nth-child(2) .glyph { background: rgba(236,228,209,.12); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.step { padding: 28px 24px; border-left: 1px solid var(--line); }
.step:first-child { border-left: none; }
.step .s-no { font-family: var(--font-display); font-style: italic; font-size: 34px; color: var(--amber); }
.step h3 { font-size: 17px; margin: 8px 0 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }
.step:nth-child(even) { background: var(--paper-2); }

/* shelves / product cards */
.shelves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shelf {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shelf:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shelf .swatch { height: 150px; position: relative; display: flex; align-items: end; padding: 16px; overflow: hidden; background: var(--paper-2); }
.shelf .swatch img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.shelf:hover .swatch img { transform: scale(1.05); }
.shelf .swatch::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,18,.35), transparent 55%);
}
.shelf .swatch span.tag { position: relative; z-index: 1; }
.shelf .swatch span.tag {
  font-family: var(--font-ledger); font-size: 11px; letter-spacing: .14em;
  background: rgba(28,24,18,.78); color: #f6f1e7; padding: 5px 11px; border-radius: 999px;
}
.shelf .body { padding: 22px 22px 24px; }
.shelf h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; }
.shelf p { font-size: 14.5px; color: var(--ink-soft); }
.shelf ul { list-style: none; margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.shelf ul li { font-size: 13.5px; color: var(--ink-soft); padding: 3px 0 3px 22px; position: relative; }
.shelf ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--moss); font-weight: 700; }

/* dark band */
.band { background: var(--stone); color: #ece4d1; border-radius: 20px; padding: 52px 48px; position: relative; overflow: hidden; }
.band::after {
  content: "❋"; position: absolute; right: 30px; bottom: -30px; font-size: 190px;
  color: rgba(185, 122, 27, .16); line-height: 1;
}
.band h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; max-width: 20em; }
.band h2 em { color: var(--amber); font-style: italic; }
.band p { color: rgba(236,228,209,.72); max-width: 38em; margin: 16px 0 26px; }
.band .row { display: flex; gap: 14px; flex-wrap: wrap; }
.band .btn.ghost { border-color: rgba(236,228,209,.5); color: #ece4d1 !important; }
.band .btn.ghost:hover { background: #ece4d1; color: var(--stone) !important; }

/* honesty two-col */
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.honest .col { border-radius: var(--radius); padding: 32px 30px; border: 1px solid var(--line); }
.honest .do { background: #eef0e4; border-color: #d3d8bd; }
.honest .dont { background: #f7e9e2; border-color: #e3c4b2; }
.honest h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 14px; }
.honest ul { list-style: none; }
.honest li { padding: 8px 0 8px 30px; position: relative; font-size: 15.5px; }
.do li::before { content: "●"; position: absolute; left: 6px; color: var(--moss); font-size: 12px; top: 14px; }
.dont li::before { content: "○"; position: absolute; left: 6px; color: var(--rust); font-size: 13px; top: 13px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq summary {
  cursor: pointer; padding: 20px 6px; font-weight: 700; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { font-family: var(--font-ledger); color: var(--amber-deep); font-size: 20px; flex: 0 0 auto; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .a { padding: 0 6px 22px; color: var(--ink-soft); max-width: 52em; }

/* forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
label.f { display: block; font-weight: 700; font-size: 13.5px; margin: 16px 0 7px; font-family: var(--font-ledger); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
input.f, select.f, textarea.f {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px;
  font-size: 15.5px; font-family: var(--font-body); background: #fff; color: var(--ink);
}
input.f:focus, select.f:focus, textarea.f:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(185,122,27,.18); }
textarea.f { min-height: 130px; resize: vertical; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* contact split */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }
.addr-card { background: var(--stone); color: #ece4d1; border-radius: var(--radius); padding: 34px 30px; }
.addr-card h3 { font-family: var(--font-ledger); font-size: 12px; letter-spacing: .22em; color: var(--amber); margin-bottom: 18px; }
.addr-card address { font-style: normal; font-size: 17px; line-height: 1.8; }
.addr-card .meta { margin-top: 22px; border-top: 1px dashed rgba(236,228,209,.3); padding-top: 18px; font-family: var(--font-ledger); font-size: 13px; }
.addr-card .meta div { margin-bottom: 8px; }
.addr-card a { color: var(--amber); }

/* tables */
table.spec { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
table.spec th { font-family: var(--font-ledger); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: left; background: var(--stone); color: #ece4d1; padding: 14px 18px; }
table.spec td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.spec tr:nth-child(even) td { background: rgba(28,24,18,.025); }

/* footer */
footer.site { background: var(--stone); color: #d9d0ba; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
.foot-grid h4 { font-family: var(--font-ledger); font-size: 12px; letter-spacing: .2em; color: var(--amber); margin-bottom: 16px; }
.foot-grid p, .foot-grid li { font-size: 14.5px; color: rgba(217,208,186,.82); }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { text-decoration: none; border-bottom: 1px dotted transparent; }
.foot-grid a:hover { color: #fff; border-bottom-color: var(--amber); }
.foot-brand { font-family: var(--font-display); font-size: 24px; color: #f6f1e7; margin: 12px 0 10px; }
.copy { border-top: 1px solid rgba(217,208,186,.18); padding: 20px 0; font-family: var(--font-ledger); font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(217,208,186,.6); }

/* page hero (inner pages) */
.page-hero { padding: 60px 0 10px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(38px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.01em; }
.page-hero h1 em { font-style: italic; color: var(--amber-deep); }
.page-hero .lede { margin-bottom: 8px; }
.crumb { font-family: var(--font-ledger); font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; }
.crumb a { text-decoration: none; border-bottom: 1px dotted var(--muted); }

/* reveal animation */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* franked stamp — the house seal */
.stamp {
  display: inline-block;
  font-family: var(--font-ledger); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; color: var(--amber-deep);
  border: 2px solid var(--amber); border-radius: 8px;
  padding: 10px 18px 10px 20px; margin-bottom: 22px;
  transform: rotate(-2.5deg);
  background: rgba(185, 122, 27, .07);
  box-shadow: inset 0 0 0 1px rgba(246,241,231,.7);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3CfeComposite operator='over' in2='SourceGraphic'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* photo frames (editorial images) */
.photo-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame figcaption {
  font-family: var(--font-ledger); font-size: 11.5px; letter-spacing: .1em;
  color: var(--muted); padding: 12px 18px; border-top: 1px solid var(--line);
  background: var(--card);
}

/* filter chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 8px 18px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--ink-soft);
}
.chip.on { background: var(--ink); color: #f6f1e7; border-color: var(--ink); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 80px); z-index: 99;
  background: var(--stone); color: #f6f1e7; padding: 14px 22px; border-radius: 12px;
  font-size: 14.5px; box-shadow: var(--shadow); transition: transform .35s ease; max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .honest { grid-template-columns: 1fr; }
  .pillars, .shelves { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: none; border-top: 1px solid var(--line); }
  .step:nth-child(-n+2) { border-top: none; }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  nav.main.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line); padding: 10px 4vw 18px; gap: 2px;
  }
  .burger { display: block; }
  .bar .btn { display: none; }
  .band { padding: 40px 28px; }
}
@media (max-width: 620px) {
  .pillars, .shelves, .f-row, .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none !important; border-top: 1px solid var(--line) !important; }
  .step:first-child { border-top: none !important; }
  .form-card { padding: 24px 20px; }
  section.block { padding: 46px 0; }
}
