/* TekBKK — clean static rebuild. One stylesheet, no framework. */
:root {
  --bg: #0e0f12;
  --bg-soft: #16181d;
  --card: #1b1e24;
  --line: #2a2e37;
  --fg: #eef1f5;
  --fg-dim: #a6adba;
  --accent: #d4a24e;      /* warm brass — reads "quality manufacturing" */
  --accent-h: #e8b862;
  --max: 1100px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,18,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 800; letter-spacing: .5px; font-size: 1.35rem; color: var(--fg); }
.brand span { color: var(--accent); }
nav.site a {
  color: var(--fg-dim); margin-left: 22px; font-size: .95rem; font-weight: 500;
}
nav.site a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent); color: #1a1206 !important; padding: 8px 16px;
  border-radius: 8px; font-weight: 700;
}
.nav-cta:hover { background: var(--accent-h); }
.menu-toggle { display: none; background: none; border: 0; color: var(--fg); font-size: 1.5rem; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(212,162,78,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 18px; max-width: 18ch; }
.hero p.lede { font-size: 1.2rem; color: var(--fg-dim); max-width: 60ch; margin: 0 0 30px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin: 0 0 14px; }

.btn {
  display: inline-block; background: var(--accent); color: #1a1206; font-weight: 700;
  padding: 13px 26px; border-radius: 10px; border: 0; cursor: pointer; font-size: 1rem;
  transition: transform .06s ease, background .2s ease;
}
.btn:hover { background: var(--accent-h); color: #1a1206; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--fg); margin-left: 12px; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Sections ---- */
section.block { padding: 72px 0; border-bottom: 1px solid var(--line); }
section.block h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 14px; }
section.block .sub { color: var(--fg-dim); max-width: 62ch; margin: 0 0 40px; font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.card img { width: 100%; height: 220px; object-fit: cover; }
.card .body { padding: 16px 18px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--fg-dim); font-size: .95rem; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.pillar { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pillar h3 { margin: 0 0 6px; color: var(--accent); font-size: 1.05rem; }
.pillar p { margin: 0; color: var(--fg-dim); font-size: .95rem; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* ---- Contact / form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
form.sample { display: grid; gap: 14px; }
form.sample label { font-size: .9rem; color: var(--fg-dim); display: block; margin-bottom: 6px; }
form.sample input, form.sample textarea, form.sample select {
  width: 100%; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; color: var(--fg); font-size: 1rem; font-family: inherit;
}
form.sample input:focus, form.sample textarea:focus, form.sample select:focus {
  outline: none; border-color: var(--accent);
}
form.sample textarea { min-height: 120px; resize: vertical; }
.contact-side .line { display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; }
.contact-side .line b { color: var(--fg); min-width: 90px; }
.tg-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #229ED9; color: #fff !important;
  padding: 11px 18px; border-radius: 10px; font-weight: 700; margin-top: 6px;
}
.tg-badge:hover { background: #1b8dc4; color: #fff !important; }
.note { color: var(--fg-dim); font-size: .85rem; }

/* ---- Legal pages ---- */
.legal { padding: 56px 0; }
.legal h1 { font-size: 2.2rem; margin: 0 0 8px; }
.legal .updated { color: var(--fg-dim); font-size: .9rem; margin-bottom: 34px; }
.legal h2, .legal h3, .legal h4 { margin-top: 32px; }
.legal p, .legal li { color: var(--fg-dim); }
.legal a { color: var(--accent); }

/* ---- Footer ---- */
footer.site { padding: 44px 0; color: var(--fg-dim); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer.site nav a { color: var(--fg-dim); margin-right: 18px; }
footer.site nav a:hover { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-4, .pillars, .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  nav.site { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-soft);
    flex-direction: column; padding: 16px 22px; border-bottom: 1px solid var(--line); }
  nav.site.open { display: flex; }
  nav.site a { margin: 8px 0; }
  .menu-toggle { display: block; }
}
@media (max-width: 520px) {
  .grid.cols-4, .gallery { grid-template-columns: 1fr; }
  .card img, .gallery img { height: 240px; }
}
