:root {
  --paper: #f2f1ed;
  --ink: #171717;
  --subtle: #6d6b66;
  --line: #d4d1ca;
  --card: #e8e6e0;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(1280px, calc(100% - 48px));
  min-height: 72px;
  margin-inline: auto;
}
.wordmark { font: 800 18px/0.83 "Kanit", sans-serif; letter-spacing: 0; }
.site-header nav { display: flex; justify-content: center; gap: 28px; font-size: 13px; font-weight: 500; }
.site-header nav a { transition: opacity 180ms ease; }
.site-header nav a:hover { opacity: 0.55; }

.pill, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}
.pill { min-width: 172px; padding: 11px 12px 11px 18px; border-radius: 999px; }
.pill-dark { color: var(--white); background: var(--ink); }
.pill b, .text-link b, .project-grid a b, .contact-panel b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}
.pill, .feature-card, .project-grid article, .contact-panel a { transition: transform 180ms ease, box-shadow 180ms ease; }
.pill:hover, .feature-card:hover, .project-grid article:hover, .contact-panel a:hover { transform: translateY(-4px); }

.eyebrow { margin: 0 0 16px; color: var(--subtle); font-size: 11px; font-weight: 700; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Kanit", "Noto Sans Thai", sans-serif; font-weight: 600; letter-spacing: 0; }
h2 { margin-bottom: 20px; font-size: 44px; line-height: 1.16; }

.hero { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 28px 40px; padding: 35px 0 28px; }
.hero-copy { padding-top: 24px; }
.hero h1 { margin: 0 0 26px; font-size: 104px; font-weight: 700; line-height: 0.86; letter-spacing: 0; }
.hero-lead { margin-bottom: 26px; font-size: 19px; line-height: 1.5; }
.hero-visual { position: relative; min-height: 420px; overflow: hidden; border-radius: 10px; background: #c8c6bf; }
.hero-visual img { height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.04), transparent 45%); pointer-events: none; }
.hero-visual span, .feature-card-image span { position: absolute; right: 12px; bottom: 10px; color: rgba(255,255,255,.7); font-size: 10px; }
.hero-points { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-points div { display: flex; align-items: center; gap: 13px; min-height: 54px; padding: 10px 22px; border-right: 1px solid var(--line); }
.hero-points div:first-child { padding-left: 0; }
.hero-points div:last-child { border-right: 0; }
.hero-points b, .benefit-grid b { font: 500 11px "Kanit", sans-serif; }
.hero-points span { font-size: 12px; line-height: 1.45; }

.feature-pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 18px 0 82px; }
.feature-card { position: relative; min-height: 278px; overflow: hidden; padding: 28px; border-radius: 10px; background: var(--card); }
.feature-card-text { display: flex; flex-direction: column; align-items: flex-start; }
.feature-card h2 { margin-bottom: 14px; font-size: 34px; line-height: 1.16; }
.feature-card p:not(.eyebrow) { max-width: 315px; margin-bottom: 22px; color: var(--subtle); font-size: 14px; line-height: 1.65; }
.text-link { margin-top: auto; padding: 0; }
.text-link b { border: 1px solid var(--ink); }
.feature-card-image { padding: 0; background: #b9b7b0; }
.feature-card-image img { height: 100%; object-fit: cover; transition: transform 450ms ease; }
.feature-card-image:hover img { transform: scale(1.045); }

.about { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 42px; align-items: start; padding: 0 0 86px; }
.about-copy { max-width: 340px; }
.about-copy p:not(.eyebrow) { margin-bottom: 28px; color: var(--subtle); font-size: 14px; line-height: 1.7; }
.about-gallery { display: grid; grid-template-columns: 0.72fr 1fr; gap: 16px; }
.about-gallery img { height: 285px; object-fit: cover; border-radius: 10px; }
.about-gallery img:last-child { height: 285px; }

.projects { padding: 48px 38px 40px; color: var(--white); background: var(--ink); border-radius: 12px; }
.projects .eyebrow { color: #bdbbb5; }
.section-top { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 28px; }
.section-top h2 { margin: 0; color: var(--white); }
.section-top > p { max-width: 340px; margin: 0; color: #d0cec9; font-size: 14px; line-height: 1.65; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.project-grid article { overflow: hidden; border-radius: 9px; background: #efede8; color: var(--ink); }
.project-grid img { height: 173px; object-fit: cover; transition: transform 420ms ease; }
.project-grid article:hover img { transform: scale(1.05); }
.project-grid article div { padding: 13px; }
.project-grid span { display: block; margin-bottom: 5px; color: var(--subtle); font-size: 9px; font-weight: 700; letter-spacing: 0; }
.project-grid h3 { min-height: 44px; margin: 0 0 12px; font-size: 17px; line-height: 1.35; }
.project-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid #d3d0ca; font-size: 11px; font-weight: 700; }
.project-grid a b { width: 17px; height: 17px; border: 1px solid var(--ink); font-size: 12px; }

.benefits { padding: 80px 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid article { min-height: 150px; padding: 24px 22px; border-right: 1px solid var(--line); }
.benefit-grid article:first-child { padding-left: 0; }
.benefit-grid article:last-child { border-right: 0; }
.benefit-grid b { color: var(--subtle); }
.benefit-grid h3 { margin: 24px 0 6px; font-size: 19px; line-height: 1.35; }
.benefit-grid p { margin: 0; color: var(--subtle); font-size: 13px; line-height: 1.55; }

.contact { display: grid; grid-template-columns: 1fr 0.92fr; gap: 48px; align-items: center; padding: 35px 38px; border-radius: 12px; background: #e4e1da; }
.contact h2 { margin-bottom: 12px; }
.contact > div > p:not(.eyebrow) { margin: 0; color: var(--subtle); font-size: 14px; line-height: 1.65; }
.contact-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.contact-panel a { position: relative; min-height: 115px; padding: 19px; color: var(--white); background: var(--ink); border-radius: 9px; }
.contact-panel a:nth-child(2) { color: var(--ink); background: var(--white); }
.contact-panel span, .contact-panel strong { display: block; }
.contact-panel span { margin-bottom: 5px; color: #bdbbb5; font-size: 11px; font-weight: 700; }
.contact-panel a:nth-child(2) span { color: var(--subtle); }
.contact-panel strong { font: 600 22px "Kanit", sans-serif; }
.contact-panel b { position: absolute; right: 15px; bottom: 15px; }
.contact-panel a:nth-child(2) b { color: var(--white); background: var(--ink); }
.contact-panel > p { grid-column: 1 / -1; margin: 3px 0 0; color: var(--subtle); font-size: 12px; line-height: 1.55; }

.site-footer { display: flex; justify-content: space-between; align-items: center; min-height: 82px; font-size: 11px; }
.site-footer > a:last-child { font-weight: 700; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 18px; }
  .site-header nav { gap: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .hero-copy { padding-top: 0; }
  .about { grid-template-columns: 1fr; }
  .about-copy { max-width: 550px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid img { height: 210px; }
}

@media (max-width: 620px) {
  .shell, .site-header { width: min(100% - 28px, 1280px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .site-header nav { display: none; }
  .site-header .pill { min-width: auto; padding: 9px 10px 9px 14px; font-size: 10px; }
  .hero { gap: 22px; padding-top: 18px; }
  .hero h1 { font-size: 68px; line-height: 0.92; }
  .hero-lead { font-size: 17px; }
  .hero-visual { min-height: 310px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-points div, .hero-points div:first-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-points div:last-child { border-bottom: 0; }
  .feature-pairs { grid-template-columns: 1fr; padding-bottom: 58px; }
  .feature-card { min-height: 245px; }
  h2 { font-size: 34px; }
  .about { padding-bottom: 58px; }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery img, .about-gallery img:last-child { height: 235px; }
  .projects { width: 100%; padding: 38px 14px; border-radius: 0; }
  .section-top { display: grid; gap: 10px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid img { height: 225px; }
  .benefits { padding: 58px 0; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article, .benefit-grid article:first-child { min-height: 155px; padding: 20px 12px; }
  .benefit-grid article:nth-child(2) { border-right: 0; }
  .benefit-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; gap: 24px; padding: 30px 20px; }
  .contact-panel { grid-template-columns: 1fr; }
  .site-footer { padding: 20px 0; align-items: end; }
  .site-footer span { max-width: 115px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
