:root {
  --burgundy: #6b1f2e;
  --burgundy-deep: #4a1420;
  --burgundy-ink: #2b0d14;
  --gold: #b8894a;
  --gold-soft: #d7b47c;
  --cream: #faf6f0;
  --cream-2: #f3ece1;
  --ink: #2a2326;
  --muted: #6c6064;
  --line: #e6dccd;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(74, 20, 32, .25);
  --serif: "Noto Serif Thai", Georgia, serif;
  --sans: "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; margin: 0 0 .6em; color: var(--burgundy-ink); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--burgundy-ink);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--gold);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: .45rem 1.1rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: stretch; gap: 1rem; text-decoration: none; }
.brand img { width: 128px; }
.brand-text { display: flex; flex-direction: column; justify-content: space-between; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); color: var(--burgundy); font-size: 1.35rem; }
.brand-text small { font-size: .72rem; letter-spacing: .18em; color: var(--muted); }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .98rem; position: relative; }
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--gold); transition: width .2s;
}
.menu a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--burgundy); margin: 5px 0; }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(43,13,20,.96) 0%, rgba(74,20,32,.88) 45%, rgba(74,20,32,.35) 100%),
    url("assets/hero.jpg") center right / cover no-repeat;
}
.hero-inner { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5.2vw, 3.6rem); }
.hero h1 .accent { color: var(--gold-soft); }
.nw { white-space: nowrap; display: inline-block; }
.hero .lead { max-width: 58ch; font-size: 1.1rem; color: rgba(255,255,255,.85); font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 3rem; }
.hero-stats {
  list-style: none; margin: 0; padding: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 640px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); }
.hero-stats span { font-size: .9rem; color: rgba(255,255,255,.7); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--cream-2); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head .sub { color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-grid > div > p { color: var(--muted); }
.vm { display: grid; gap: 1.25rem; }
.vm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.vm-card h3 { display: flex; align-items: baseline; gap: .6rem; color: var(--burgundy); }
.vm-card h3 span { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.vm-card p { margin: 0; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; color: var(--muted); }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .7rem; height: .7rem; border-radius: 2px; transform: rotate(45deg);
  background: var(--gold);
}

/* Objective */
.objective {
  margin: 0 0 3rem;
  padding: 2rem clamp(1.4rem, 4vw, 3rem);
  background: var(--burgundy);
  color: rgba(255,255,255,.9);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}
.objective::before {
  content: "“"; position: absolute; top: -.2em; left: .3em;
  font-family: var(--serif); font-size: 6rem; color: var(--gold); opacity: .55; line-height: 1;
}
.objective p { font-size: 1.08rem; margin: 0; position: relative; }
.objective cite { display: block; margin-top: 1rem; font-style: normal; font-size: .85rem; letter-spacing: .1em; color: var(--gold-soft); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.svc-no { font-family: var(--serif); font-size: .95rem; color: var(--gold); font-weight: 700; }
.svc h3 { margin: .5rem 0 .5rem; font-size: 1.08rem; }
.svc p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem 4.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.3rem; top: 1.4rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--burgundy); color: var(--gold-soft);
  font-family: var(--serif); font-weight: 700;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }
.note {
  margin: 2rem 0 0; padding: 1rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: var(--cream-2); border-radius: 0 10px 10px 0;
  color: var(--burgundy-deep);
}

/* Portfolio */
.section-dark { background: var(--burgundy-ink); color: rgba(255,255,255,.82); }
.section-dark h2 { color: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.chips li {
  padding: .6rem 1.1rem;
  border: 1px solid rgba(215,180,124,.45);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,.04);
  font-size: .98rem;
}

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; }
.benefits article { padding: 1.4rem 0 0; border-top: 2px solid var(--burgundy); }
.benefits h3 { color: var(--burgundy); }
.benefits p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Company */
.company-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.company-logo { width: min(320px, 100%); margin-top: 1.5rem; }
.facts { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 500; }
.facts dd span { font-weight: 400; font-size: .85rem; letter-spacing: .1em; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%); color: rgba(255,255,255,.85); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.ic svg { width: 20px; height: 20px; fill: var(--burgundy-ink); }
.contact-list small { display: block; font-size: .8rem; letter-spacing: .08em; color: var(--gold-soft); }
.contact-list a, .contact-list address { color: var(--white); font-style: normal; text-decoration: none; font-size: 1.05rem; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .map-link { font-size: .9rem; color: var(--gold-soft); }

/* Footer */
.site-footer { background: var(--burgundy-ink); color: rgba(255,255,255,.6); padding: 2.5rem 0; font-size: .9rem; }
.footer-inner { display: grid; gap: .6rem; }
.footer-brand { display: flex; align-items: stretch; gap: .9rem; margin-bottom: .5rem; }
.footer-brand > div { display: flex; flex-direction: column; justify-content: space-between; line-height: 1.1; }
.footer-brand img { width: 110px; filter: brightness(1.6) saturate(.6); }
.footer-brand strong { display: block; color: var(--white); font-family: var(--serif); font-size: 1.1rem; }
.footer-brand span { font-size: .72rem; letter-spacing: .18em; }
.site-footer p { margin: 0; }
.copy { color: rgba(255,255,255,.4); }

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1rem;
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: .8rem; }
  .about-grid, .portfolio-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services, .steps, .benefits { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .facts > div { grid-template-columns: 1fr; gap: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 600px) {
  .nav { height: 76px; }
  .menu { top: 76px; }
  .brand img { width: 96px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { font-size: .62rem; letter-spacing: .12em; }
}
