[hidden] { display: none !important; }
.language-switch { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.language-switch a, .language-switch span { padding: 2px 8px; border-radius: 4px; }
.language-switch a { border: 1px solid #ffffff65; }
.language-switch span { background: #fff; color: #700013; font-weight: 700; }
.wordmark { color: #a80019; font-weight: 800; text-align: center; line-height: 1.05; letter-spacing: -.02em; font-size: clamp(16px, 2.1vw, 28px); }
.footer-brand .wordmark { background: #fff; padding: 10px; border-radius: 6px; flex-shrink: 0; font-size: 16px; }
.btn-line, .line-bg { background: #08743b; color: #fff; }
.hero-actions .btn-outline { border-radius: 7px; }
.phone-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.phone-list .btn-call { font-size: 17px; padding: 8px 13px; min-height: 42px; }
.line-number { font-size: 25px; font-weight: 700; user-select: all; }
#line { scroll-margin-top: 100px; }
#line .btn-line { margin-top: 10px; }
.copy-status:empty { display: none; }
.channel-copy { padding: 20px; overflow-wrap: anywhere; }
.coverage-brand { color: #a80019; }
.coverage-brand .icon { width: 34px; height: 34px; }
.contact-actions .btn-outline { border-radius: 7px; }
.experience-number small { white-space: nowrap; }
:lang(en) .brand-title small { font-family: Thai, Arial, sans-serif; }
@media (max-width: 700px) {
 .utility > .container { gap: 10px; justify-content: space-between; }
 .utility > .container > span { display: none; }
 .language-switch a, .language-switch span { padding-inline: 6px; }
 .hero-actions .btn { padding-inline: 13px; }
 .mobile-contact .btn { min-width: 0; padding-inline: 7px; }
 .mobile-contact .btn .icon { width: 14px; }
 .experience-number small { font-size: .3em; }
}

.hero-art {
 background: #800017;
}
.hero-art::before {
 content: '';
 position: absolute;
 inset: 0 0 0 36%;
 background: url('assets/project-site-32-retouched.webp') center 41% / cover no-repeat;
 filter: saturate(1.02);
}
.hero-art::after {
 background: linear-gradient(90deg, #58000d 0%, #720014 32%, #8d0017d9 39%, #90001755 52%, transparent 69%),
             linear-gradient(0deg, #7600113b, transparent 38%);
}
.banner-net {
 background: linear-gradient(90deg, #850013 10%, #a0001ac9 58%, #84001922),
             url('assets/project-site-37.webp') right 43% / cover no-repeat;
}
.coverage-backdrop {
 background: linear-gradient(90deg, #fff8f9f8 5%, #fff4f6e8 50%, #ffedf0ce),
             url('assets/project-site-26.webp') center 57% / cover no-repeat;
}
.coverage-brand .wordmark { font-size: clamp(10px, 1.25vw, 16px); }
.location strong { white-space: nowrap; }
.service-regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-regions .region-tile { height: clamp(100px, 15vw, 190px); }
.service-card[id], #service-improvement, #service-areas { scroll-margin-top: 105px; }
.service-card .service-body > p { margin-bottom: 12px; }
:lang(en) .hero-title { font-size: clamp(52px, 5.55vw, 83px); }
:lang(en) .experience-number small { font-size: clamp(17px, 2.3vw, 34px); }
@media (max-width: 700px) {
 .hero-art::before { inset: 0; background-position: 61% center; }
 .hero-art::after { background: linear-gradient(90deg, #610010ed, #82001bc9 38%, #98001936 100%), linear-gradient(0deg,#820015d0,transparent 60%); }
 :lang(en) .hero-title { font-size: clamp(49px, 10.5vw, 72px); }
 .service-regions { gap: 7px; }
 .service-regions .region-tile > span { left: 4px; bottom: 5px; font-size: 9px; gap: 2px; padding: 4px; }
 .service-regions .region-tile .icon { width: 11px; height: 11px; }
}
.experience-number small { letter-spacing: 0; }
@media (max-width: 420px) {
 .nav-wrap { gap: 10px; }
 .nav-wrap .brand { width: 116px; padding-right: 9px; }
 .brand-title { margin-left: 11px; }
 .experience-message { overflow-wrap: normal; }
}

.nav-wrap .brand-logo { width: min(184px, 100%); height: auto; }
.coverage-brand .brand-logo { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 700px) {
 .nav-wrap .brand-logo { width: min(128px, 100%); }
}

/* Local tonal correction for underexposed original photos. */
:root { --photo-shadows: brightness(1.18) contrast(.94) saturate(1.05); }
img[src$="project-site-10.webp"] {
 filter: brightness(1.31) contrast(.89) saturate(1.07);
}
img:is([src$="project-site-4.webp"], [src$="project-site-27.webp"], [src$="project-site-38.webp"], [src$="project-site-39.webp"], [src$="project-site-44.webp"]) {
 filter: brightness(1.26) contrast(.92) saturate(1.05);
}
img:is([src$="project-site-1.webp"], [src$="project-site-2.webp"], [src$="project-site-15.webp"], [src$="project-site-16.webp"], [src$="project-site-20.webp"], [src$="project-site-21.webp"], [src$="project-site-23.webp"], [src$="project-site-25.webp"], [src$="project-site-26.webp"], [src$="project-site-28.webp"], [src$="project-site-33.webp"], [src$="project-site-42.webp"]) {
 filter: var(--photo-shadows);
}
.work-shot[data-category="buildings"] img { object-position: center 40%; }
.work-shot[data-category="roads"] img { object-position: center 58%; }

/* Keep the wedge inside its own space at every header breakpoint. */
.nav-wrap .brand { --brand-slant: 24px; }
.nav-wrap .brand::before {
 right: calc(-1 * var(--brand-slant));
 transform: none;
 clip-path: polygon(0 0, calc(100% - var(--brand-slant)) 0, 100% 100%, 0 100%);
}
@media (max-width: 700px) {
 .nav-wrap .brand { --brand-slant: 14px; }
}

.profile-heading { margin-bottom: 20px; }
.profile-grid, .company-document-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0,1fr));
 gap: 18px;
}
.profile-image { display: block; border: 1px solid #d5e5f3; border-radius: 10px; overflow: hidden; background: #fff; }
.profile-image img { width: 100%; height: auto; }
.profile-image:hover { border-color: #1684cc; }
.company-document-grid { margin-top: 22px; }
.company-document { display: flex; gap: 16px; padding: 18px; border: 1px solid #eadcdf; border-radius: 10px; }
.company-document .round-icon { flex: 0 0 auto; }
.company-document h3 { font-size: 19px; }
.company-document p { margin-top: 5px; }
.company-document .text-link { font-size: 14px; padding-block: 6px 0; }
#company-documents { scroll-margin-top: 100px; }
@media (max-width: 700px) {
 .profile-grid, .company-document-grid { grid-template-columns: 1fr; gap: 13px; }
 .company-document { padding: 14px; }
}

.portfolio-group + .portfolio-group { margin-top: 40px; }
.portfolio-group h2 { border-left: 4px solid var(--crimson); padding-left: 13px; margin-bottom: 15px; font-size: clamp(20px, 3vw, 27px); }
.social-top .facebook-icon { fill: currentColor; stroke: none; }
@media (min-width: 701px) {
 .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.company-document-intro { margin-top: -5px; color: var(--muted); }
.company-document-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.company-document { display: flex; flex-direction: column; padding: 0; gap: 0; overflow: hidden; }
.company-document-copy { display: flex; align-items: flex-start; gap: 12px; padding: 18px; }
.document-preview { display: grid; place-items: center; background: #f8f6f6; padding: 16px; border-bottom: 1px solid #eadcdf; }
.document-preview img { width: 100%; height: clamp(240px,29vw,400px); object-fit: contain; }
.document-preview:hover { background: #f0e8e9; }
@media (max-width: 960px) {
 .company-document-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
 .company-document-grid { grid-template-columns: 1fr; }
 .document-preview img { height: clamp(270px,80vw,400px); }
}

.company-leadership { padding-top: 16px; }
.company-leadership h2 { color: var(--crimson); margin-bottom: 18px; }
.leadership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leadership-card { padding: clamp(21px, 3vw, 34px); border: 1px solid #eed5da; border-top: 4px solid var(--crimson); border-radius: 12px; background: linear-gradient(135deg, #fff6f7, #fff 75%); }
.leadership-card h3 { color: var(--crimson); font-size: 18px; margin-bottom: 11px; }
.leadership-card ul { list-style: none; margin: 0; padding: 0; }
.leadership-card li { color: #262129; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.45; font-weight: 700; }
.leadership-card li + li { margin-top: 5px; }
@media (max-width: 700px) {
 .leadership-grid { grid-template-columns: 1fr; gap: 12px; }
}

.contact-map { padding-top: 18px; scroll-margin-top: var(--header-padding, 90px); }
.contact-map-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; padding-bottom: 18px; }
.contact-map-header h2 { color: var(--crimson); }
.contact-map iframe { display: block; width: 100%; height: clamp(325px, 45vw, 460px); border: 0; background: #f2f2f2; }

.public-projects { scroll-margin-top: 95px; }
.public-projects > h2 { color: var(--crimson); margin-bottom: 6px; }
.public-projects > p { color: var(--muted); margin-bottom: 20px; }
.public-projects-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.public-projects .document-preview img { height: clamp(180px, 21vw, 290px); }
.public-project-copy { padding: 16px; }
.public-project-copy p { margin-top: 5px; }
@media (max-width: 960px) {
 .public-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
 .public-projects-grid { grid-template-columns: 1fr; }
 .public-projects .document-preview img { height: clamp(225px, 64vw, 310px); }
}

.service-card {
 display: flex;
 flex-direction: column;
}
.service-card .service-body {
 flex: 1;
 display: flex;
 flex-direction: column;
 align-items: flex-start;
}
.service-card .service-body .btn { margin-top: auto; }
.service-illustration {
 display: grid;
 place-items: center;
 aspect-ratio: 1.45;
 color: var(--crimson);
 background:
  repeating-linear-gradient(90deg, #b6001710 0 1px, transparent 1px 26px),
  repeating-linear-gradient(0deg, #b6001710 0 1px, transparent 1px 26px),
  linear-gradient(150deg, #fff8f8 12%, #f6c9d0);
}
.service-illustration .icon {
 box-sizing: content-box;
 width: 27%;
 height: auto;
 aspect-ratio: 1;
 padding: 4%;
 border: 1px solid #c6002536;
 border-radius: 20%;
 background: #fff8f8;
 box-shadow: 0 12px 25px #94002818;
}
@media (max-width: 700px) {
 .service-illustration { aspect-ratio: 1.9; }
 .service-illustration .icon { width: 22%; }
}

.hero-art::before { content: none; }
.hero-art img {
 position: absolute;
 inset: 0 0 0 auto;
 width: 61%;
 height: 100%;
 object-fit: cover;
 object-position: center 70%;
}
.hero-art::after {
 background: linear-gradient(90deg, #58000d 0%, #720014 33%, #760014da 39%, #76001419 56%, transparent 68%);
}
.about-photo img { object-position: center 36%; }

.service-card .service-icon {
 position: static;
 flex: none;
 margin: 0 0 .8rem;
 border: 1px solid #f2d6da;
 background: #fff5f6;
}
.service-card .service-body { padding: clamp(16px, 2vw, 24px); }

.work-item { min-width: 0; }
.work-item .work-shot { width: 100%; }
.work-caption { margin: .44rem 0 0; font-size: .875rem; line-height: 1.5; color: #332b2d; }
.project-album { margin-bottom: 28px; }
.project-album h3 { margin: 0 0 12px; color: var(--crimson); }
.portfolio-group[data-portfolio-group="site"] > .project-album { margin: 26px 0 0; }

.house-plans { background: #fff7f8; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.plan-card {
 display: flex;
 flex-direction: column;
 overflow: hidden;
 background: white;
 border: 1px solid #f1dfe2;
 border-radius: 12px;
}
.plan-cover {
 position: relative;
 display: block;
 flex: none;
 width: 100%;
 aspect-ratio: 1000 / 586;
 border: 0;
 background: #f4ecee;
 padding: 0;
 cursor: zoom-in;
}
.plan-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.plan-copy { display: flex; flex-direction: column; flex: 1; padding: 16px 18px; }
.plan-copy h3 { margin: 0 0 9px; color: var(--crimson); }
.plan-copy ul { display: flex; flex-wrap: wrap; gap: 5px 8px; padding: 0; margin: 0 0 12px; list-style: none; }
.plan-copy li { font-size: .86rem; background: #f8f2f3; padding: 3px 7px; border-radius: 5px; }
.plan-copy p { margin: 0 0 4px; font-size: .94rem; }
.plan-open { border: 0; background: transparent; align-self: flex-start; padding: 9px 0 0; margin-top: auto; }

.location-3 { left: 32%; bottom: 0; top: auto; width: auto; }
.location-thumb > .icon { width: 40%; height: 40%; color: var(--crimson); }
.location-thumb:has(> .icon) { display: grid; place-items: center; background: #fff4f6; }
.service-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-regions .region-tile:last-child { background: linear-gradient(145deg, #68000f, #bd001e); }
.line-contact { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0; }
.line-contact img { display: block; width: min(172px, 100%); height: auto; padding: 8px; background: white; }
#line .line-contact { align-items: flex-start; }
#line { scroll-margin-top: 110px; }
.channel-copy .btn-line { color: white; }

@media (max-width: 900px) {
 .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 700px) {
 .hero { display: flex; flex-direction: column; min-height: 0; }
 .hero-art { position: relative; inset: auto; order: 1; aspect-ratio: 1.58; overflow: hidden; }
 .hero-art img { inset: 0; width: 100%; object-position: center 74%; }
 .hero-art::after { background: linear-gradient(180deg, #72001423, transparent 30%); }
 .hero-inner { order: 2; padding-block: 24px 32px; }
 :lang(en) .hero-title { font-size: clamp(36px, 10.5vw, 72px); }
 .location-3 { left: 31%; bottom: 0; width: auto; }
 .service-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 510px) {
 .plan-grid { gap: 10px; }
 .plan-copy { padding: 10px; overflow-wrap: anywhere; }
 .plan-copy h3 { font-size: .95rem; line-height: 1.35; margin-bottom: 6px; }
 .plan-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 8px;
 }
 .plan-copy li { font-size: .75rem; line-height: 1.35; padding: 3px 4px; }
 .plan-copy p, .plan-open { font-size: .8rem; line-height: 1.4; }
 .plan-open { gap: 5px; padding-top: 8px; }
 .plan-open .icon { width: 14px; height: 14px; flex: none; }
 .work-caption { font-size: .77rem; }
}
.plan-cover img, .lightbox figure img {
 object-view-box: inset(var(--plan-top, 0%) 0 var(--plan-crop, 0%) 0);
}

@supports not (object-view-box: inset(0)) {
 .plan-cover img, .lightbox figure img {
  clip-path: inset(var(--plan-top, 0%) 0 var(--plan-crop, 0%) 0);
 }
}
@media (max-width: 700px) {
 .hero-inner :is(.hero-kicker, .hero-title span, .hero-subtitle, .area-chips, .hero-actions) {
  animation: none;
 }
}

.hero-title .accent { color: #ffda55; }
.coverage-orbit .location { cursor: default; }
.location-0 .location-thumb img { object-position: center 42%; }
.location-1 .location-thumb img { object-position: center 39%; }
.location-2 .location-thumb img { object-position: 56% center; }
.location-3 .location-thumb img { object-position: center 46%; }
.landmark-credits {
 grid-column: 1 / -1;
 margin: 0 0 14px;
 font-size: .75rem;
 color: #5d4549;
}
.landmark-credits summary { cursor: pointer; width: fit-content; }
.landmark-credits a { text-decoration: underline; text-underline-offset: .15em; }
#service-areas .landmark-credits { margin: 14px 0 0; }
@media (max-width: 700px) {
 .hero-inner { padding-block: 22px 26px; }
 .hero-kicker { margin-bottom: 14px; }
 .hero-inner .area-chips {
  gap: 6px;
  margin-block: 16px 0;
 }
 .hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
  gap: 8px;
  margin-top: 16px;
 }
 .hero-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  justify-content: center;
 }
 .hero-actions .btn-call {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-height: 48px;
  font-size: clamp(19px, 5.8vw, 23px);
 }
}
.director-card { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.director-portrait {
 display: block;
 width: clamp(80px, 12vw, 135px);
 height: auto;
 aspect-ratio: 4 / 5;
 object-fit: cover;
 object-position: center 23%;
 flex: none;
 border-radius: 8px;
}
@media (max-width: 380px) {
 .director-card li { font-size: 18px; overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
 :lang(th) .hero-title {
  font-size: clamp(30px, 10.4vw, 58px);
  white-space: nowrap;
 }
 :lang(th) .hero-title span { display: inline; }
}

.hero-title { line-height: 1.1; }
.hero-subtitle {
 margin-top: clamp(3px, .45vw, 7px);
 line-height: 1.3;
}
.hero-actions .btn-call { font-family: Thai, Arial, sans-serif; }
.hero-phone-number,
.hero-phone-name { white-space: nowrap; }
.hero-phone-name {
 color: #ffdf76;
 font-size: .82em;
}

.services-overview {
 background: radial-gradient(ellipse at 50% 65%, #f9e6e9 0%, #fff8f9 58%, #fff 100%);
}
.services-overview .section-heading { margin-bottom: 18px; }
.service-layout {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, .78fr) minmax(0, 1fr);
 grid-template-rows: repeat(5, auto);
 column-gap: clamp(10px, 2.2vw, 32px);
 row-gap: clamp(8px, 1.2vw, 16px);
 max-width: 1120px;
 margin-inline: auto;
}
.service-options {
 grid-row: 1 / span 5;
 display: grid;
 grid-template-rows: repeat(5, 1fr);
 grid-template-rows: subgrid;
 row-gap: inherit;
 min-width: 0;
}
.service-options-left { grid-column: 1; }
.service-options-right { grid-column: 3; }
.service-layout > .service-portrait {
 grid-area: 1 / 2 / span 5;
 align-self: end;
 display: grid;
 justify-items: center;
 min-width: 0;
}
.service-portrait img {
 display: block;
 width: min(100%, 205px);
 height: auto;
 aspect-ratio: 720 / 1336;
 object-fit: cover;
 object-position: center top;
 -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent);
 mask-image: linear-gradient(to bottom, #000 94%, transparent);
}
.service-option {
 display: grid;
 grid-template-columns: auto minmax(0, 1fr) auto;
 align-items: center;
 gap: clamp(7px, 1vw, 13px);
 min-height: 61px;
 padding-right: clamp(10px, 1.2vw, 17px);
 border: 1px solid #efdadf;
 border-radius: 12px 26px 26px 12px;
 background: #fff;
 box-shadow: 0 5px 13px #6d051613;
 color: #a80019;
 font-size: clamp(14px, 1.55vw, 19px);
 font-weight: 700;
 line-height: 1.3;
 overflow-wrap: anywhere;
}
.service-option:hover {
 border-color: #bd001e;
 box-shadow: 0 6px 18px #6d051625;
}
.service-option .service-icon {
 position: static;
 display: grid;
 place-items: center;
 align-self: stretch;
 width: clamp(40px, 5vw, 58px);
 height: auto;
 min-height: 100%;
 margin: 0;
 border: 0;
 outline: 0;
 box-shadow: none;
 border-radius: 11px 0 0 11px;
 background: linear-gradient(135deg, #eb0023, #a80019);
 color: #fff;
}
.service-option > .icon { width: 16px; height: 16px; }

.footer-social {
 align-items: center;
 flex-wrap: wrap;
 gap: 8px;
}
.footer-social-icon {
 display: inline-grid;
 place-items: center;
 width: 34px;
 height: 34px;
 border: 1px solid #ffffff60;
 border-radius: 7px;
 color: #fff;
}
.footer-social-icon svg { width: 19px; height: 19px; }
.footer-social-icon[aria-label="Facebook"] { background: #0866ff; border-color: #0866ff; }
.footer-social-icon[aria-label="Instagram"] {
 background: radial-gradient(circle at 28% 100%, #ffdc80, #fcaf45 22%, #f77737 40%, #e1306c 64%, #833ab4 100%);
 border-color: transparent;
}
.footer-social-icon[aria-label="TikTok"] { background: #161616; border-color: #161616; }
.footer-social-icon[aria-label="TikTok"] svg {
 filter: drop-shadow(-1px -1px 0 #25f4ee) drop-shadow(1px 1px 0 #fe2c55);
}


@media (max-width: 700px) {
 .hero-art::after {
  background: linear-gradient(to bottom, #72001423, transparent 28%),
              linear-gradient(to bottom, transparent 77%, #800017 100%);
 }
 .hero-actions .btn-call {
  gap: clamp(5px, 2vw, 10px);
  font-size: clamp(16px, 5vw, 23px);
  padding-inline: 5px;
 }
 .service-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, .90fr) minmax(0, 1fr);
  gap: 5px;
 }
 .service-option {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 44px;
  gap: 5px;
  padding-right: 5px;
  border-radius: 9px 16px 16px 9px;
  font-size: clamp(11px, 2.6vw, 15px);
 }
 .service-option .service-icon {
  width: clamp(20px, 5.5vw, 39px);
  border-radius: 8px 0 0 8px;
 }
 .service-portrait img {
  width: min(205px, 100% + 8px);
  max-width: none;
 }
 .service-option .service-icon .icon { width: 67%; height: auto; }
 .service-option > .icon { display: none; }
}

.plan-cover[data-album="plan-6"] img { object-fit: contain; }
