:root {
  --ink: #23201b;
  --deep: #1d2924;
  --green: #33493b;
  --sage: #788a77;
  --paper: #f7f5f0;
  --warm: #e9e3d8;
  --sand: #d7ccbc;
  --muted: #716d64;
  --line: rgba(35, 32, 27, .16);
  --white: #ffffff;
  --max: 1240px;
  --display: 'IBM Plex Sans Thai', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, sans-serif;
  --sans: 'IBM Plex Sans Thai', 'Noto Sans Thai', 'Leelawadee UI', Tahoma, Arial, sans-serif;
  --latin: 'Manrope', 'IBM Plex Sans Thai', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.72; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 132px 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -60px; padding: 10px 14px; background: #fff; color: #000; border-radius: 4px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.site-header.is-scrolled { color: var(--ink); background: rgba(247,245,240,.96); box-shadow: 0 4px 24px rgba(25,20,15,.07); backdrop-filter: blur(12px); }
.nav-wrap { height: 92px; display: flex; align-items: center; gap: 24px; }
.brand { width: 112px; flex: 0 0 auto; }
.brand img { height: 70px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); transition: filter .25s; }
.is-scrolled .brand img { filter: none; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.35vw, 24px); font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.primary-nav a { position: relative; padding: 10px 0; opacity: .9; }
.primary-nav a:after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; transform: scaleX(0); transform-origin: left; transition: transform .2s; background: currentColor; }
.primary-nav a:hover:after { transform: scaleX(1); }
.nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: 9px 16px; font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; margin-left: auto; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.hero { min-height: 100svh; position: relative; color: #fff; overflow: hidden; display: grid; align-items: end; }
.hero-media { position: absolute; inset: 0; background: url('assets/new-design-a.jpg') center 55% / cover no-repeat; transform: scale(1.04); animation: scale-in 1.2s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,16,13,.72) 0%, rgba(12,16,13,.44) 40%, rgba(12,16,13,.13) 78%), linear-gradient(0deg, rgba(10,13,10,.62), transparent 42%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 108px; }
.eyebrow { font-family: var(--latin); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin: 0 0 20px; color: var(--green); }
.eyebrow.light, .section-index.light { color: rgba(255,255,255,.74); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 18px; font-family: var(--display); font-size: clamp(53px, 6.7vw, 98px); line-height: 1.02; font-weight: 700; letter-spacing: -.072em; }
h1 em { font-style: normal; font-weight: 500; color: #d6d1bb; }
h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(39px, 4.25vw, 63px); font-weight: 700; letter-spacing: -.06em; line-height: 1.13; }
.hero-copy { max-width: 560px; margin-bottom: 32px; font-size: 18px; line-height: 1.72; color: rgba(255,255,255,.93); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .2s, color .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: var(--deep); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.05); }
.button-ghost:hover { background: #fff; color: var(--ink); }
.button-light { color: var(--ink); background: #fff; }
.hero-meta { display: flex; gap: 20px; margin-top: 70px; font-family: var(--latin); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.74); }
.hero-meta span + span { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.35); }
.scroll-cue { position: absolute; z-index: 2; right: 34px; bottom: 33px; display: flex; flex-direction: column; gap: 10px; align-items: center; font-size: 9px; letter-spacing: .13em; font-weight: 700; transform: rotate(90deg) translateX(50%); transform-origin: right bottom; }
.scroll-cue i { display: block; width: 46px; height: 1px; background: #fff; }
@keyframes scale-in { from { transform: scale(1.12); } to { transform: scale(1.04); } }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 2.25fr 1.35fr; gap: 52px; align-items: start; }
.section-index { margin: 2px 0 0; color: var(--muted); font-family: var(--latin); font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.intro-copy { padding-top: 45px; }
.intro-copy p { color: #4e4a43; }
.text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 21px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-weight: 800; font-size: 14px; }
.text-link span { font-size: 18px; line-height: .8; }
.section-tint { background: #eeece7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-lead { max-width: 360px; margin: 0; color: var(--muted); }
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.strength-card { min-height: 275px; padding: 25px 25px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.strength-card span { font-family: var(--latin); font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--sage); }
.strength-card h3 { margin: auto 0 10px; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -.05em; line-height: 1.2; }
.strength-card p { margin: 0; font-size: 14px; color: var(--muted); }

.plans-heading { align-items: end; }
.section-heading-action { max-width: 380px; }
.section-heading-action p { margin-bottom: 17px; color: var(--muted); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-card { overflow: hidden; }
.home-card-image { display: block; overflow: hidden; aspect-ratio: 1/1.05; background: #d8d5ce; }
.home-card-image img { height: 100%; object-fit: cover; transition: transform .55s ease; }
.home-card:hover img { transform: scale(1.05); }
.home-card-info { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-top: 17px; }
.home-code { margin: 0 0 2px; color: var(--sage); font-family: var(--latin); font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.home-card h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.05em; line-height: 1.22; }
.plan-specs { margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 13px; list-style: none; color: var(--muted); font-size: 11px; font-weight: 500; text-align: right; }
.plan-specs b { color: var(--ink); font-size: 14px; }

.section-dark { color: #fff; background: var(--deep); }
.portfolio-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 76px; }
.portfolio-intro h2 { margin: 0 0 25px; }
.portfolio-intro > p:not(.eyebrow):not(.section-index) { max-width: 450px; color: rgba(255,255,255,.72); }
.portfolio-intro .button { margin-top: 11px; }
.portfolio-collage { min-height: 530px; position: relative; }
.portfolio-frame { position: absolute; display: grid; place-items: center; color: rgba(255,255,255,.7); border: 1px dashed rgba(255,255,255,.45); background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.03)); font-size: 10px; letter-spacing: .12em; line-height: 1.75; text-align: center; }
.frame-one { width: 52%; height: 65%; top: 0; left: 0; }
.frame-two { width: 44%; height: 50%; top: 17%; right: 0; }
.frame-three { width: 48%; height: 33%; bottom: 0; left: 14%; }

.services-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.service-list { border-top: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 45px 1fr 30px; gap: 15px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .2s, color .2s; }
.service-list a:hover { padding-left: 8px; color: var(--green); }
.service-list span { color: var(--sage); font-size: 11px; letter-spacing: .1em; }
.service-list strong { font-family: var(--display); font-weight: 600; letter-spacing: -.05em; font-size: 27px; }
.service-list i { font-size: 20px; text-align: right; font-style: normal; }
.compact-heading { margin-bottom: 38px; }
.promotion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.promotion-card { display: block; background: #fff; padding: 12px 12px 21px; transition: transform .2s, box-shadow .2s; }
.promotion-card:hover { transform: translateY(-4px); box-shadow: 0 16px 26px rgba(50,45,37,.1); }
.promotion-card img { aspect-ratio: 16/8.7; object-fit: cover; margin-bottom: 18px; }
.promotion-card span { display: inline-block; margin-left: 10px; font-family: var(--latin); font-size: 10px; letter-spacing: .12em; color: var(--sage); font-weight: 800; }
.promotion-card h3 { margin: 6px 10px 2px; font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -.05em; }
.promotion-card p { margin: 0 10px; color: var(--muted); font-size: 13px; }

.materials { overflow: hidden; }
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; background: var(--warm); }
.materials-image { min-height: 620px; overflow: hidden; }
.materials-image img { height: 100%; object-fit: cover; }
.materials-content { padding: clamp(45px, 7vw, 94px); }
.materials-content > p:not(.eyebrow) { max-width: 420px; margin: 23px 0 30px; color: #5a534a; }
.material-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.material-tags span { padding: 7px 12px; border: 1px solid rgba(35,32,27,.3); border-radius: 999px; font-size: 12px; }
.section-earth { background: #d7d0c1; }
.sustain-grid { display: grid; grid-template-columns: 1fr 2.2fr 1.35fr; gap: 52px; }
.sustain-copy { padding-top: 44px; }
.sustain-copy p { color: #544f47; }

.careers { padding-top: 0; }
.careers-card { display: grid; grid-template-columns: 1.4fr .6fr; gap: 50px; padding: clamp(38px, 6vw, 76px); color: #fff; background: linear-gradient(120deg, rgba(27,43,32,.94), rgba(55,78,58,.9)), url('assets/nh-982.jpg') center/cover; }
.careers-card h2 { margin: 0; }
.careers-card > div:last-child { align-self: end; }
.careers-card p { color: rgba(255,255,255,.82); }
.careers-card .button { margin-top: 8px; }

.contact { background: #f1eee8; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; }
.contact-lead { margin: 22px 0 35px; color: var(--muted); }
.contact-direct { display: grid; gap: 12px; }
.contact-direct a { display: flex; justify-content: space-between; gap: 15px; max-width: 360px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.contact-direct strong { font-weight: 800; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 7px; color: #4f4b43; font-size: 12px; font-weight: 800; }
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4), .contact-form .form-submit, .contact-form .form-note, .contact-form .form-success { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); outline: 0; background: transparent; font-size: 15px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.form-submit { justify-content: space-between; margin-top: 8px; border: 0; }
.form-note { margin: -7px 0 0; color: var(--muted); font-size: 11px; }
.form-success { min-height: 1em; margin: 0; color: var(--green); font-size: 13px; font-weight: 800; }

.site-footer { color: rgba(255,255,255,.85); background: #222722; }
.footer-top { display: grid; grid-template-columns: 1.1fr .8fr .95fr 1fr; gap: 35px; padding: 74px 0 55px; }
.footer-brand { width: 150px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-links { display: grid; align-content: start; gap: 12px; font-size: 14px; }
.footer-links a:hover, .footer-social a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; align-content: start; }
.footer-social p { width: 100%; margin-bottom: 1px; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .12em; }
.footer-social a { font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .07em; }

.floating-actions { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.floating-actions a { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; border-radius: 50%; box-shadow: 0 10px 20px rgba(0,0,0,.18); font-weight: 900; }
.floating-line { background: #2f9c65; }
.floating-phone { background: var(--green); }

@media (max-width: 1120px) {
  .primary-nav { gap: 13px; font-size: 12px; }
  .nav-cta { display: none; }
}
@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 92px 0 auto; display: none; padding: 14px 24px 23px; color: var(--ink); background: var(--paper); box-shadow: 0 15px 25px rgba(29,27,22,.1); }
  .primary-nav.is-open { display: grid; gap: 2px; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a:after { display: none; }
  .hero-content { padding-bottom: 90px; }
  .intro-grid, .sustain-grid { grid-template-columns: 1fr 2fr; }
  .intro-copy, .sustain-copy { grid-column: 2; padding-top: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .portfolio-collage { min-height: 430px; }
  .materials-grid { grid-template-columns: 1fr; }
  .materials-image { min-height: 430px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { height: 76px; }
  .brand { width: 85px; }
  .brand img { height: 56px; }
  .primary-nav { inset: 76px 0 auto; }
  .hero { min-height: 760px; }
  .hero-content { padding-bottom: 77px; }
  h1 { font-size: clamp(50px, 17vw, 72px); }
  h2 { font-size: clamp(39px, 12vw, 57px); }
  .hero-copy { font-size: 16px; }
  .desktop-only, .hero-meta { display: none; }
  .scroll-cue { display: none; }
  .intro-grid, .sustain-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-copy, .sustain-copy { grid-column: auto; }
  .strength-grid, .plans-grid, .promotion-grid { grid-template-columns: 1fr; }
  .strength-card { min-height: 205px; }
  .plans-grid { gap: 40px; }
  .home-card-info { display: block; }
  .plan-specs { margin-top: 12px; justify-content: flex-start; text-align: left; }
  .portfolio-collage { min-height: 330px; }
  .services-grid { gap: 35px; }
  .service-list strong { font-size: 23px; }
  .materials-image { min-height: 340px; }
  .careers-card { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 52px 0 35px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
