@font-face {
  font-family: Geist;
  src: url('assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 400 750;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plex Thai';
  src: url('assets/fonts/plex-thai-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: 'Plex Thai';
  src: url('assets/fonts/plex-thai-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

:root {
  color-scheme: light;
  --paper: #fbfcfa;
  --white: #fff;
  --ink: #0a1914;
  --forest: #0d3326;
  --leaf: #0e7732;
  --brand-green: #138f2d;
  --muted: #4e5e55;
  --line: #d9e3da;
  --mint: #eef5ed;
  --gutter: clamp(1.25rem, 5vw, 5.75rem);
  --max-width: 88rem;
  --header-height: 4.625rem;
  --font: Geist, 'Plex Thai', Tahoma, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .25, 1);
  font-family: var(--font);
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

body, button, select, textarea { font-family: var(--font); }

p, h1, h2, ul { margin: 0; }

p { font-size: 1rem; line-height: 1.7; }

a { color: inherit; }

img { display: block; max-width: 100%; }

::selection { background: #d0edca; color: var(--forest); }

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 5px; }

main:focus { outline: none; }

.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 5;
  inset: .75rem auto auto 1rem;
  transform: translateY(-180%);
  background: var(--forest);
  color: var(--white);
  padding: .7rem 1rem;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 4;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: #fbfcfaee;
  backdrop-filter: blur(16px);
}

.reading-progress {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  background: var(--brand-green);
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .55rem;
  color: var(--forest);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 720;
  letter-spacing: -.06em;
  line-height: 1;
}

.brand img { flex: none; }

.primary-nav, .footer-inner nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); }

.primary-nav a, .footer-inner nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.primary-nav a:hover, .primary-nav a[aria-current], .footer-inner nav a:hover { color: var(--leaf); }

.header-actions { display: flex; align-items: center; gap: .5rem; justify-self: end; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 3.125rem;
  padding: .58rem 1.38rem;
  border: 1px solid transparent;
  border-radius: 100vmax;
  font: 600 1rem/1.35 var(--font);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: color 190ms ease, background-color 190ms ease, border-color 190ms ease, transform 190ms var(--ease-out);
}

.button:active { transform: translateY(1px); }

.button-primary { background: var(--forest); color: var(--white); }

.button-primary:hover { background: var(--leaf); }

.button-outline { border-color: #aabdaf; background: transparent; color: var(--forest); }

.button-outline:hover { border-color: var(--leaf); background: var(--mint); }

.button-light { border-color: #e5f3e9a8; color: var(--white); background: #0a191442; }

.button-light:hover { border-color: var(--white); color: var(--forest); background: var(--white); }

.button-light:focus-visible { outline-color: var(--white); }

.header-cta { min-height: 2.625rem; padding-inline: 1.15rem; font-size: .9375rem; }

.header-cta[aria-current] { border-color: var(--leaf); background: var(--mint); }

.menu-toggle { display: none; }

.hero { padding-top: clamp(2rem, 3.4vw, 3.75rem); }

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(1.8rem, 3.2vw, 3.5rem);
  min-height: clamp(30rem, 41vw, 42rem);
}

.hero-copy { align-self: center; padding-block: .75rem; }

.eyebrow {
  display: flex;
  gap: .65rem;
  align-items: center;
  color: var(--leaf);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.eyebrow::before { content: ''; flex: none; width: 1.25rem; height: 1px; background: currentColor; }

.hero-title {
  margin-top: 1.85rem;
  font-size: clamp(4.4rem, 9.15vw, 9rem);
  font-weight: 650;
  line-height: .89;
  letter-spacing: -.06em;
}

.hero-title em { color: var(--leaf); font-style: normal; }

.hero-description {
  max-width: 26rem;
  margin-block: 1.8rem 1.7rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.45vw, 1.23rem);
  line-height: 1.63;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dbe9e4;
  border-radius: .125rem;
}

.hero-image, .energy-image {
  position: absolute;
  inset: -9% -4%;
  width: 108%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  object-position: 54% 43%;
}

[data-depth] {
  transform: translate3d(var(--pan-x, 0px), calc(var(--shift-y, 0px) + var(--pan-y, 0px)), 0);
}

.hero-reticle {
  position: absolute;
  inset: 1.35rem;
  pointer-events: none;
  --mark: #fff9;
  background:
    linear-gradient(var(--mark), var(--mark)) left top / .85rem 1px,
    linear-gradient(var(--mark), var(--mark)) left top / 1px .85rem,
    linear-gradient(var(--mark), var(--mark)) right top / .85rem 1px,
    linear-gradient(var(--mark), var(--mark)) right top / 1px .85rem,
    linear-gradient(var(--mark), var(--mark)) left bottom / .85rem 1px,
    linear-gradient(var(--mark), var(--mark)) left bottom / 1px .85rem,
    linear-gradient(var(--mark), var(--mark)) right bottom / .85rem 1px,
    linear-gradient(var(--mark), var(--mark)) right bottom / 1px .85rem;
  background-repeat: no-repeat;
}

.hero-rail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  min-height: 3.5rem;
  border-top: 1px solid var(--line);
}

.scroll-link {
  display: inline-flex;
  gap: .68rem;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
}

.scroll-link:hover { color: var(--leaf); }

.scroll-mark { width: 1px; height: 1rem; background: #a2b9a8; position: relative; }

.scroll-mark::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 5px;
  inset: auto auto 0 -1px;
  background: var(--brand-green);
}

.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .28rem .95rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
}

.hero-disciplines li + li::before { content: '·'; color: var(--brand-green); margin-right: .95rem; }

.about {
  margin-top: 2rem;
  border-block: 1px solid #e2eae0;
  padding-block: clamp(4.3rem, 9.4vw, 9rem);
  background: #f3f7f1;
}

.about-layout, .project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
}

.display-th {
  font-size: clamp(2.75rem, 4.65vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -.029em;
  line-height: 1.15;
  text-wrap: balance;
}

.accent { color: var(--leaf); }

.about h2, .project h2, .energy h2 { margin-top: 1.15rem; }

.about-copy p, .project-copy > p:last-child {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.45vw, 1.23rem);
  line-height: 1.67;
}

.about-copy p + p { margin-top: .95rem; }

.solutions { padding-block: clamp(4.3rem, 9vw, 8rem); }

.solutions-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 3.5rem);
}

.display-en {
  font-size: clamp(3.75rem, 8vw, 8rem);
  font-weight: 640;
  line-height: .92;
  letter-spacing: -.06em;
}

.display-en span { color: var(--leaf); }

.solutions-heading p { color: var(--muted); font-size: 1.0625rem; }

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.25rem);
  align-items: start;
}

.solution-visual {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.32;
  border-radius: .125rem;
  background: #dce9df;
}

.solution-images { position: absolute; inset: -12% 0; }

.solution-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.055);
  transition: opacity 360ms var(--ease-out), transform 620ms var(--ease-out);
}

.solution-images img.is-current { z-index: 1; opacity: 1; transform: none; }

.service-list { border-top: 1px solid var(--line); }

.service { border-bottom: 1px solid var(--line); }

.service summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 4.55rem;
  padding-block: .75rem;
  list-style: none;
  cursor: pointer;
  transition: color 190ms ease;
}

.service summary::-webkit-details-marker { display: none; }

.service summary:focus-visible { outline-offset: .22rem; }

.service[open] summary, .service summary:hover { color: var(--leaf); }

.service-name { font-size: clamp(1.175rem, 1.95vw, 1.65rem); font-weight: 600; line-height: 1.35; }

.service-toggle {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  transition: background-color 190ms ease, border-color 190ms ease, color 190ms ease;
}

.service-toggle::before, .service-toggle::after { content: ''; grid-area: 1/1; width: .7rem; height: 1px; background: currentColor; }

.service-toggle::after { transform: rotate(90deg); transition: transform 190ms var(--ease-out); }

.service[open] .service-toggle { border-color: var(--forest); background: var(--forest); color: var(--white); }

.service[open] .service-toggle::after { transform: rotate(0); }

.service-body { padding: 0 1.9rem 1.15rem 0; }

.service-body p { color: var(--muted); }

.service-mobile-image { display: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .35rem;
  color: var(--leaf);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.text-link:hover { color: var(--forest); text-decoration-thickness: 2px; }

.energy {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(32rem, 54vw, 48rem);
  padding-block: 4.8rem;
  background: var(--forest);
  color: var(--white);
}

.energy-image { inset: -14% 0; width: 100%; height: 128%; object-position: 50% 52%; }

.energy picture { position: absolute; inset: 0; }

.energy-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #071d16f5 0%, #09271cca 31%, #09271c4d 65%, #09271c19 100%);
}

.energy-content { z-index: 1; }

.energy .eyebrow { color: #d5f4cc; }

.energy-copy > p:not(.eyebrow) {
  max-width: 27rem;
  margin-block: 1.3rem 1.55rem;
  color: #f3faf3;
  font-size: 1.125rem;
  line-height: 1.65;
}

.project {
  padding-block: clamp(4.3rem, 9.5vw, 9rem);
  background: var(--mint);
}

.project-layout { align-items: center; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }

.project-copy > p:last-child { max-width: 27rem; margin-top: 1.45rem; }

.brief {
  display: grid;
  padding: clamp(1.3rem, 3.1vw, 2.7rem);
  border: 1px solid #d7e4d6;
  border-radius: .48rem;
  background: var(--white);
}

.brief label { margin-bottom: .48rem; font-size: 1rem; font-weight: 600; }

.select-field { position: relative; margin-bottom: 1.24rem; }

.select-field::after {
  content: '';
  position: absolute;
  inset: calc(50% - .28rem) 1.1rem auto auto;
  width: .47rem;
  height: .47rem;
  transform: rotate(45deg);
  border: solid var(--forest);
  border-width: 0 1.5px 1.5px 0;
  pointer-events: none;
}

.brief select, .brief textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c8bb;
  border-radius: .24rem;
  background: #fcfdfb;
  color: var(--ink);
  padding: .72rem .86rem;
  font-size: 1rem;
  line-height: 1.5;
}

.brief select { appearance: none; min-height: 3rem; padding-right: 2.35rem; }

.brief select:invalid, .brief textarea::placeholder { color: #526158; }

.brief textarea { resize: vertical; min-height: 7.5rem; }

.brief select:focus-visible, .brief textarea:focus-visible { outline-offset: 2px; }

.brief-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }

.brief-feedback { min-height: 1.4em; margin-top: .6rem; color: var(--leaf); font-size: .9375rem; line-height: 1.4; }

.site-footer { border-top: 1px solid #dce6da; background: var(--paper); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  padding-block: 1rem;
}

.footer-inner small { justify-self: end; color: var(--muted); font-size: .875rem; }

.motion-ready .will-reveal:not(:focus-within) { opacity: 0; transform: translateY(1.25rem); }

.motion-ready [data-reveal] { transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }

@media (max-width: 880px) {
  .about-layout, .project-layout { gap: 2.3rem; }
  .solutions-layout { gap: 2.2rem; }
  .hero-layout { min-height: 28rem; }
  .hero-title { font-size: clamp(4rem, 9.2vw, 5.9rem); }
  .hero-description { font-size: 1.0625rem; }
}

@media (max-width: 720px) {
  :root { --gutter: clamp(1.2rem, 5.4vw, 2rem); --header-height: 4.125rem; }

  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; }
  .brand { font-size: 1.4rem; gap: .38rem; }
  .brand img { width: 1.75rem; height: 1.75rem; }
  .header-cta { min-height: 2.5rem; padding-inline: .83rem; font-size: .875rem; }
  .primary-nav { grid-row: 2; grid-column: 1/-1; gap: 1.1rem; }

  .js .primary-nav {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    display: none;
    padding: .5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 1.15rem 2rem #0d332617;
  }

  .js .primary-nav[data-open] { display: grid; gap: 0; }
  .js .primary-nav a + a { border-top: 1px solid var(--line); }

  .js .menu-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--forest);
    cursor: pointer;
  }

  .menu-toggle:hover { background: var(--mint); }
  .menu-icon { display: grid; place-items: center; width: 1rem; height: 1rem; }
  .menu-icon::before, .menu-icon::after { content: ''; grid-area: 1/1; width: 1rem; height: 1.5px; background: currentColor; transition: transform 190ms var(--ease-out); }
  .menu-icon::before { transform: translateY(-.19rem); }
  .menu-icon::after { transform: translateY(.19rem); }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }

  .hero { padding-top: 2rem; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.85rem; min-height: 0; }
  .hero-copy { padding-block: 0; }
  .hero-title { margin-top: 1.35rem; font-size: clamp(3.9rem, 14.6vw, 6.3rem); }
  .hero-description { margin-block: 1.18rem 1.28rem; }
  .hero-visual { min-height: 0; aspect-ratio: 1.16; }
  .hero-reticle { inset: .9rem; }
  .hero-rail { margin-top: 1rem; }
  .hero-disciplines { display: none; }

  .about { margin-top: 1.2rem; }
  .about-layout, .project-layout { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; }
  .display-th { font-size: clamp(2.3rem, 8.2vw, 3.65rem); }
  .about h2, .project h2, .energy h2 { margin-top: .8rem; }
  .about-copy p + p { margin-top: .65rem; }

  .solutions-heading { display: block; }
  .solutions-heading p { margin-top: .55rem; }
  .solutions-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .solution-visual { display: none; }
  .service summary { min-height: 3.95rem; }
  .service-body { padding-right: 0; }
  .service-mobile-image { display: block; width: 100%; height: auto; margin-top: .8rem; border-radius: .125rem; }

  .energy { align-items: end; min-height: clamp(33rem, 125vw, 42rem); padding-block: 3.3rem; }
  .energy-image { object-position: 56% 47%; }
  .energy-shade { background: linear-gradient(0deg, #071d16fa 0%, #09271ce0 29%, #09271c6b 63%, #09271c12 100%); }
  .energy-copy > p:not(.eyebrow) { margin-block: 1rem 1.35rem; }

  .project-copy > p:last-child { margin-top: 1rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; padding-block: 1.4rem; }
  .footer-inner nav { grid-column: 1/-1; grid-row: 2; gap: 1.15rem; }
}

@media (max-width: 360px) {
  .button { padding-inline: 1rem; }
  .header-cta { padding-inline: .68rem; }
  .brief-actions { display: grid; }
  .brief-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-depth] { transform: none; }
  .motion-ready .will-reveal:not(:focus-within) { opacity: 1; transform: none; }
}
