@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-400-latin.woff2) format('woff2');
  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: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-400-latin.woff2) format('woff2');
  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: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/CormorantGaramond-400-latin.woff2) format('woff2');
  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: 'Prompt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Prompt-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Prompt-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Prompt-400-latin.woff2) format('woff2');
  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: 'Prompt';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Prompt-500-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Prompt-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Prompt-500-latin.woff2) format('woff2');
  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: 'Prompt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Prompt-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Prompt-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Prompt-600-latin.woff2) format('woff2');
  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;
}
:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --white: #fcfbf8;
  --ink: #152b32;
  --muted: #536369;
  --accent: #8c2638;
  --line: #c8cbc5;
  --dark-line: #587077;
  --display: 'Cormorant', Georgia, serif;
  --body: 'Prompt', 'Thonburi', sans-serif;
  --header-height: 92px;
  --gutter: clamp(24px, 4.8vw, 78px);
  --rail-width: 62px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--paper);
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
figure,
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}
button {
  border: 0;
  background: transparent;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #e5d5d8;
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 20px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}
.brand img {
  width: 195px;
  height: auto;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: clamp(20px, 3vw, 48px);
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
}
.primary-nav a::after {
  content: '';
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 250ms var(--ease);
}
.primary-nav a:hover::after {
  width: 16px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.language-switch a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
}
.language-switch a[aria-current] {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
}
.menu-lines {
  position: relative;
  width: 24px;
  height: 12px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.menu-lines::after {
  content: '';
  position: absolute;
  top: 5px;
  width: 18px;
  border-top: 1px solid var(--ink);
}
.menu-text {
  font-size: 12px;
}
.chapter-rail {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: var(--rail-width);
  transform: translateY(-50%);
}
.chapter-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  font-size: 10px;
  color: var(--muted);
}
.chapter-rail a::before {
  content: '';
  position: absolute;
  left: 3px;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 350ms var(--ease);
}
.chapter-rail a[aria-current] {
  font-weight: 600;
  color: var(--accent);
}
.chapter-rail a[aria-current]::before {
  height: 26px;
}
.rail-name {
  position: absolute;
  left: 50px;
  padding: 4px 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: 11px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease;
}
.chapter-rail a:hover .rail-name,
.chapter-rail a:focus-visible .rail-name {
  visibility: visible;
  opacity: 1;
}
.site-canvas {
  margin-left: var(--rail-width);
  border-left: 1px solid var(--line);
}
.section {
  position: relative;
  scroll-margin-top: 0;
}
.section-pad {
  padding: 112px var(--gutter) 96px;
}
.eyebrow {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .15em;
  font-weight: 600;
  color: var(--accent);
}
:lang(th) .eyebrow {
  letter-spacing: .04em;
}
.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 4.7vw, 76px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.display > span {
  display: block;
}
:lang(th) .display {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(32px, 3.35vw, 54px);
  line-height: 1.38;
  letter-spacing: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 500;
}
.text-link span {
  font-size: 19px;
  transition: transform 300ms var(--ease);
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 500;
}
.button-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.button-outline:hover {
  background: #eadfe0;
}
.button-solid {
  color: var(--white);
  background: var(--accent);
  transition: background 250ms ease;
}
.button-solid:hover {
  background: #6e1c2b;
}
.hero-layout {
  display: grid;
  grid-template-columns: 38fr 62fr;
  min-height: min(700px, calc(100svh - 185px));
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 34px 70px var(--gutter);
}
.hero-copy .eyebrow {
  margin-bottom: 38px;
  font-size: 9px;
}
.hero-title {
  font-size: clamp(56px, 5.2vw, 84px);
  line-height: .99;
}
:lang(th) .hero-title {
  font-size: clamp(35px, 3.3vw, 53px);
  line-height: 1.34;
}
.hero-intro {
  max-width: 335px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}
.hero-actions .text-link {
  font-size: 11px;
}
.hero-index {
  position: absolute;
  bottom: 24px;
  left: var(--gutter);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--muted);
}
.media-frame {
  position: relative;
  overflow: hidden;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image {
  min-height: 620px;
  background: #dce3e3;
}
.hero-image img {
  position: absolute;
  inset: -22px 0 auto;
  height: calc(100% + 110px);
  object-position: 54% 47%;
}
.hero-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px;
  font-size: 10px;
  color: var(--white);
  background: linear-gradient(transparent, #152b32de);
}
.hero-chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-chapters a {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}
.hero-chapters a:last-child {
  border-right: 0;
}
.hero-chapters a > span:last-child {
  margin-left: auto;
  font-size: 20px;
}
.chapter-number {
  font-size: 11px;
  color: var(--accent);
}
.hero-chapters strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.hero-chapters small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.about-section {
  padding-top: 80px;
  padding-bottom: 72px;
  background: var(--white);
}
.about-layout {
  display: grid;
  grid-template-columns: 40fr 27fr 33fr;
  grid-template-rows: auto 1fr;
  column-gap: 34px;
  min-height: 510px;
}
.about-heading {
  position: relative;
  z-index: 2;
  grid-column: 1 / 3;
  grid-row: 1;
  padding-right: 160px;
}
.about-heading .eyebrow {
  margin-bottom: 26px;
}
.about-heading .display {
  max-width: 580px;
}
:lang(th) .about-heading .display {
  font-size: clamp(32px, 3vw, 47px);
}
.craft-closeup {
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  height: 250px;
  margin-top: 38px;
  margin-right: -75px;
  border: 8px solid var(--white);
  border-left: 0;
}
.craft-closeup img {
  object-position: 50% 52%;
}
.craft-closeup figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 16px 12px;
  color: white;
  font-size: 10px;
  background: linear-gradient(transparent, #152b32db);
}
.craft-tall {
  grid-column: 2;
  grid-row: 1 / 3;
  height: 450px;
  margin-top: 0;
  align-self: start;
}
.craft-tall img {
  object-position: 60% center;
}
.photo-index {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 10px;
  letter-spacing: .12em;
}
.about-narrative {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  padding-left: 14px;
  padding-top: 40px;
}
.small-rule {
  display: block;
  width: 35px;
  height: 2px;
  margin-bottom: 28px;
  background: var(--accent);
}
.about-narrative .lead {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.9;
}
.about-narrative > p:not(.lead) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
.about-narrative .text-link {
  margin-top: 22px;
}
.process-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.process-header h3 {
  font-size: 14px;
  font-weight: 500;
}
.process-header p {
  font-size: 11px;
  color: var(--muted);
}
.process-chapters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin: 0;
  padding: 26px 0 0;
  list-style: none;
}
.process-chapters li {
  min-width: 0;
}
.process-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11px;
}
.process-chapters img {
  width: 100%;
  height: 105px;
  margin-bottom: 14px;
  object-fit: cover;
}
.process-chapters h4 {
  font-size: 13px;
  font-weight: 500;
}
.process-chapters p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}
.products-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-showcase {
  display: grid;
  grid-template-columns: 29fr 71fr;
  align-items: center;
  column-gap: 22px;
}
.product-heading {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 32px;
}
.product-heading .eyebrow {
  margin-bottom: 28px;
}
.product-heading .display {
  font-size: clamp(46px, 4vw, 66px);
}
:lang(th) .product-heading .display {
  font-size: clamp(31px, 2.9vw, 45px);
}
.product-heading > p:not(.eyebrow) {
  max-width: 270px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}
.product-heading .text-link {
  margin-top: 26px;
}
.specimen-stage {
  min-width: 0;
}
.specimen-scene {
  position: relative;
  margin: -40px -12px 0;
}
.specimen-scene img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center 54%;
}
.specimen-scene figcaption {
  padding: 5px 12px 20px;
  font-size: 9px;
  text-align: right;
  color: var(--muted);
}
.specimen-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-detail {
  min-width: 0;
  border-top: 1px solid var(--line);
}
.product-detail summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 72px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
}
.product-detail summary::-webkit-details-marker {
  display: none;
}
.product-number {
  padding-top: 2px;
  color: var(--accent);
  font-size: 9px;
}
.product-detail summary > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.product-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.product-detail small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
.detail-icon {
  font-size: 20px;
  line-height: 1.2;
}
.product-detail[open] .detail-icon {
  transform: rotate(45deg);
}
.product-body {
  padding: 0 0 22px 20px;
  font-size: 12px;
  color: var(--muted);
}
.product-body p + p {
  margin-top: 14px;
}
.product-body .text-link {
  margin-top: 10px;
  color: var(--accent);
}
.additional-products {
  display: grid;
  grid-template-columns: 29fr 71fr;
  gap: 22px;
  margin-top: 42px;
}
.additional-products > .eyebrow {
  padding-top: 22px;
}
.additional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.spec-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.projects-section {
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 37fr 34fr 29fr;
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  row-gap: 34px;
  min-height: 675px;
}
.portfolio-heading {
  grid-column: 1;
  grid-row: 1;
}
.portfolio-heading .eyebrow {
  margin-bottom: 26px;
}
.portfolio-heading .display {
  font-size: clamp(44px, 4.3vw, 70px);
}
:lang(th) .portfolio-heading .display {
  font-size: clamp(31px, 3vw, 48px);
}
.portfolio-heading > p:not(.eyebrow) {
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  max-width: 300px;
}
.project-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.featured-1 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.featured-2 {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
}
.featured-3 {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: end;
  padding-top: 135px;
}
.project-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dce2df;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.featured-1 .project-image {
  height: 290px;
}
.featured-2 .project-image {
  height: 575px;
}
.featured-3 .project-image {
  height: 430px;
}
.featured-2 img {
  object-position: 52% center;
}
.featured-3 img {
  object-position: 18% center;
}
.project-image:hover img {
  transform: scale(1.035);
}
.project-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--paper);
  font-size: 23px;
}
.project-item figcaption {
  display: flex;
  gap: 16px;
  align-items: baseline;
  min-height: 92px;
  padding: 19px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.project-index {
  color: var(--accent);
  font-size: 9px;
}
.project-item figcaption strong {
  display: block;
  font-weight: 500;
  font-size: 13px;
}
.project-item figcaption small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.portfolio-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.portfolio-bottom p {
  color: var(--muted);
  font-size: 10px;
}
.more-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 38px;
}
.more-project-grid .project-image {
  aspect-ratio: 4 / 3;
}
.contact-section {
  display: grid;
  grid-template-columns: 72fr 28fr;
  color: var(--paper);
  background: var(--ink);
}
.contact-main {
  padding: 86px 45px 70px var(--gutter);
}
.contact-heading .eyebrow {
  color: #dcb3bb;
  margin-bottom: 25px;
}
.contact-heading .display {
  font-size: clamp(47px, 4.8vw, 76px);
}
:lang(th) .contact-heading .display {
  font-size: clamp(32px, 3.3vw, 52px);
}
.contact-heading > p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 25px;
  font-size: 13px;
  color: #c4cecc;
}
.contact-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 52px;
  border-top: 1px solid var(--dark-line);
}
.contact-cell {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 25px 26px 0;
  border-bottom: 1px solid var(--dark-line);
}
.contact-cell:nth-child(odd) {
  border-right: 1px solid var(--dark-line);
}
.contact-cell:nth-child(even) {
  padding-left: 22px;
}
.contact-cell img {
  width: 150px;
  height: 160px;
  object-fit: cover;
  opacity: .75;
  filter: saturate(.5);
  transition: opacity 300ms ease;
}
.contact-cell:hover img {
  opacity: 1;
}
.contact-text {
  display: block;
  min-width: 0;
}
.contact-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  color: #dcb3bb;
}
.contact-text strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-text small {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: #c4cecc;
}
.location-cell .contact-text strong {
  font-size: 10px;
  line-height: 1.7;
}
.contact-arrow {
  position: absolute;
  top: 18px;
  right: 8px;
  font-size: 18px;
}
.contact-glass {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  background: #52605c;
}
.contact-glass img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 86% center;
  opacity: .76;
  filter: saturate(.2);
}
.contact-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #152b32c4, transparent 65%);
}
.contact-glass > span {
  position: absolute;
  bottom: 36px;
  left: 28px;
  z-index: 1;
  font-family: var(--display);
  font-size: 42px;
  line-height: .95;
  letter-spacing: .02em;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  grid-column: 1 / -1;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--dark-line);
}
.site-footer strong {
  font-size: 12px;
  font-weight: 500;
}
.site-footer p {
  margin-top: 3px;
  color: #c4cecc;
  font-size: 10px;
}
.site-footer .text-link {
  margin-left: auto;
  font-size: 10px;
}
.footer-mark {
  margin-left: 25px;
  color: #c4cecc;
  font-size: 9px;
  letter-spacing: .12em;
}
.contact-section :focus-visible,
.project-dialog :focus-visible {
  outline-color: #edc4cd;
}
.project-dialog {
  position: fixed;
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100svh - 48px);
  padding: 24px 30px;
  border: 1px solid var(--dark-line);
  color: var(--paper);
  background: var(--ink);
  overflow: auto;
}
.project-dialog::backdrop {
  background: #071519db;
  backdrop-filter: blur(4px);
}
.dialog-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-topbar .eyebrow {
  color: #dcb3bb;
}
.dialog-close {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12px;
}
.dialog-close span {
  font-size: 28px;
}
.dialog-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
  background: #0f2228;
}
.dialog-image {
  width: 100%;
  height: min(65svh, 650px);
  object-fit: contain;
}
.dialog-error {
  position: absolute;
  max-width: 350px;
  padding: 30px;
  text-align: center;
  background: var(--ink);
}
.dialog-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 23px;
}
.dialog-bottom h2 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
.dialog-category {
  margin-top: 5px;
  color: #c4cecc;
  font-size: 11px;
}
.dialog-original {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  min-height: 44px;
  margin-top: 5px;
  color: #edc4cd;
  font-size: 11px;
}
.dialog-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.dialog-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--dark-line);
  font-size: 24px;
}
.dialog-count {
  min-width: 50px;
  text-align: center;
  font-size: 12px;
}
body.dialog-open {
  overflow: hidden;
}
[data-reveal] {
  opacity: 1;
  transform: none;
}
[data-depth] {
  transform: translateY(var(--depth, 0px)) scale(1.04);
  transform-origin: center;
}
@keyframes enter {
  from {
    opacity: .35;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes image-enter {
  from {
    opacity: .5;
    clip-path: inset(0 0 7% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}
@media (min-width: 1600px) {
  .site-header,
  .site-canvas {
    max-width: 1800px;
    margin-right: auto;
  }
  .hero-layout {
    min-height: 760px;
  }
}
@media (max-width: 1199px) {
  :root {
    --rail-width: 0px;
    --gutter: 38px;
    --header-height: 82px;
  }
  .chapter-rail {
    display: none;
  }
  .site-canvas {
    border-left: 0;
  }
  .brand img {
    width: 175px;
  }
  .primary-nav {
    gap: 22px;
  }
  .hero-copy {
    padding-right: 28px;
  }
  .hero-layout {
    min-height: 590px;
  }
  .hero-image {
    min-height: 590px;
  }
  :lang(th) .hero-title {
    font-size: 37px;
  }
  .hero-title {
    font-size: 59px;
  }
  .about-layout {
    column-gap: 25px;
  }
  .about-heading {
    padding-right: 100px;
  }
  .about-narrative {
    padding-left: 0;
  }
  .specimen-scene img {
    height: 400px;
  }
  .contact-main {
    padding-right: 30px;
  }
  .contact-cell {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }
  .contact-cell img {
    width: 56px;
    height: 78px;
  }
}
@media (max-width: 900px) {
  .site-header {
    gap: 15px;
    justify-content: space-between;
  }
  .js-ready .menu-toggle {
    display: flex;
  }
  .js-ready .primary-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .js-ready .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    padding: 12px 0;
    font-size: 16px;
  }
  body:not(.js-ready) .site-header {
    height: auto;
    flex-wrap: wrap;
    padding-top: 15px;
  }
  body:not(.js-ready) .primary-nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .hero-layout {
    grid-template-columns: 42fr 58fr;
  }
  .hero-copy {
    padding: 48px 25px 60px var(--gutter);
  }
  .hero-title {
    font-size: 51px;
  }
  :lang(th) .hero-title {
    font-size: 31px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 28px;
    font-size: 8px;
  }
  .hero-intro {
    font-size: 12px;
  }
  .hero-chapters a {
    gap: 15px;
    padding: 20px;
  }
  .hero-chapters small {
    font-size: 9px;
  }
  .section-pad {
    padding-top: 85px;
    padding-bottom: 75px;
  }
  .about-layout {
    grid-template-columns: 48fr 52fr;
    column-gap: 30px;
    row-gap: 32px;
  }
  .about-heading {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }
  .craft-closeup {
    grid-column: 1;
    grid-row: 2;
    height: 220px;
    margin-top: 0;
    margin-right: -45px;
  }
  .craft-tall {
    grid-column: 2;
    grid-row: 1 / 3;
    height: 400px;
    margin-top: 0;
  }
  .about-narrative {
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 0;
    max-width: 620px;
  }
  .about-narrative .lead {
    font-size: 17px;
  }
  .small-rule {
    margin-bottom: 20px;
  }
  .process-header {
    margin-top: 48px;
  }
  .process-chapters {
    gap: 18px;
  }
  .process-chapters h4 {
    font-size: 11px;
  }
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .product-heading {
    padding-top: 0;
  }
  .product-heading .display {
    font-size: 62px;
  }
  :lang(th) .product-heading .display {
    font-size: 42px;
  }
  .product-heading > p:not(.eyebrow) {
    max-width: 440px;
  }
  .specimen-scene {
    margin: 0 -12px;
  }
  .specimen-scene img {
    height: 480px;
  }
  .additional-products {
    grid-template-columns: 1fr;
  }
  .spec-note {
    text-align: left;
  }
  .portfolio-grid {
    column-gap: 22px;
    row-gap: 28px;
    min-height: 550px;
  }
  .portfolio-heading .display {
    font-size: 46px;
  }
  :lang(th) .portfolio-heading .display {
    font-size: 31px;
  }
  .featured-1 .project-image {
    height: 250px;
  }
  .featured-2 .project-image {
    height: 495px;
  }
  .featured-3 .project-image {
    height: 340px;
  }
  .project-item figcaption {
    gap: 8px;
  }
  .project-item figcaption strong {
    font-size: 11px;
  }
  .more-project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-section {
    grid-template-columns: 78fr 22fr;
  }
  .contact-main {
    padding-top: 70px;
  }
  .contact-heading .display {
    font-size: 52px;
  }
  :lang(th) .contact-heading .display {
    font-size: 36px;
  }
  .contact-cell {
    grid-template-columns: 1fr;
  }
  .contact-cell img {
    width: 78px;
    height: 68px;
  }
  .footer-mark {
    display: none;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 24px;
    --header-height: 74px;
  }
  .brand img {
    width: 152px;
  }
  .site-header {
    padding: 0 20px;
  }
  .header-tools {
    gap: 9px;
  }
  .language-switch {
    font-size: 10px;
    gap: 0;
  }
  .language-switch a {
    min-width: 44px;
  }
  .menu-toggle {
    gap: 0;
  }
  .menu-text {
    display: none;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 43px var(--gutter) 52px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 25px;
    font-size: 8px;
  }
  .hero-title {
    font-size: 60px;
    line-height: 1;
  }
  :lang(th) .hero-title {
    font-size: 39px;
    line-height: 1.36;
  }
  .hero-intro {
    max-width: 350px;
    margin-top: 23px;
    font-size: 13px;
  }
  .hero-actions {
    gap: 25px;
    margin-top: 26px;
  }
  .hero-index {
    bottom: 17px;
    font-size: 8px;
  }
  .hero-image {
    min-height: 390px;
  }
  .hero-image img {
    object-position: 52% center;
  }
  .hero-image figcaption {
    padding: 24px 20px 14px;
    font-size: 9px;
  }
  .hero-chapters {
    grid-template-columns: 1fr;
  }
  .hero-chapters a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 24px;
    gap: 24px;
  }
  .hero-chapters a:last-child {
    border-bottom: 0;
  }
  .hero-chapters strong {
    font-size: 12px;
  }
  .hero-chapters small {
    font-size: 10px;
  }
  .section-pad {
    padding-top: 66px;
    padding-bottom: 60px;
  }
  .display {
    font-size: 48px;
  }
  :lang(th) .display {
    font-size: 31px;
  }
  .about-layout {
    grid-template-columns: 53fr 47fr;
    column-gap: 0;
    row-gap: 28px;
    min-height: 0;
  }
  .about-heading {
    grid-column: 1 / -1;
  }
  .about-heading .display {
    font-size: 47px;
  }
  :lang(th) .about-heading .display {
    font-size: 30px;
  }
  .about-heading .eyebrow {
    margin-bottom: 22px;
  }
  .craft-closeup {
    grid-column: 1;
    grid-row: 2;
    height: 175px;
    margin-right: -20px;
    border-width: 5px;
    align-self: end;
    margin-bottom: -10px;
  }
  .craft-tall {
    grid-column: 2;
    grid-row: 2;
    height: 245px;
  }
  .craft-closeup figcaption {
    font-size: 8px;
    padding: 22px 8px 8px;
  }
  .photo-index {
    font-size: 8px;
    right: 10px;
    top: 10px;
  }
  .about-narrative {
    grid-row: 3;
    margin-top: 12px;
  }
  .about-narrative .lead {
    font-size: 16px;
    line-height: 1.85;
  }
  .process-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 42px;
  }
  .process-chapters {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }
  .process-chapters li {
    display: grid;
    grid-template-columns: 25px 1fr;
    column-gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .process-number {
    grid-row: 1 / 4;
    margin: 0;
    padding-top: 1px;
  }
  .process-chapters img {
    grid-column: 2;
    width: 110px;
    height: 65px;
    margin-bottom: 10px;
  }
  .process-chapters h4 {
    grid-column: 2;
    font-size: 13px;
  }
  .process-chapters p {
    grid-column: 2;
    margin-top: 3px;
    font-size: 11px;
  }
  .product-heading .display {
    font-size: 49px;
  }
  :lang(th) .product-heading .display {
    font-size: 33px;
  }
  .product-heading .eyebrow {
    margin-bottom: 22px;
  }
  .product-heading > p:not(.eyebrow) {
    margin-top: 22px;
  }
  .specimen-scene {
    margin: 14px -24px 0;
  }
  .specimen-scene img {
    height: 320px;
    object-fit: cover;
  }
  .specimen-scene figcaption {
    padding: 0 24px 22px;
    text-align: left;
    font-size: 8px;
  }
  .specimen-labels {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .product-detail summary {
    min-height: 73px;
    gap: 18px;
  }
  .product-detail strong {
    font-size: 16px;
  }
  .product-detail small {
    font-size: 11px;
  }
  .product-body {
    padding-left: 30px;
    font-size: 13px;
  }
  .additional-products {
    margin-top: 25px;
    gap: 16px;
  }
  .additional-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .spec-note {
    font-size: 10px;
    line-height: 1.9;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px 18px;
    min-height: 0;
  }
  .portfolio-heading {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .portfolio-heading .display {
    font-size: 49px;
  }
  :lang(th) .portfolio-heading .display {
    font-size: 33px;
  }
  .portfolio-heading > p:not(.eyebrow) {
    max-width: 330px;
    font-size: 13px;
  }
  .featured-1 {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .featured-2 {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
  }
  .featured-3 {
    grid-column: 2;
    grid-row: 3;
    padding-top: 45px;
  }
  .featured-1 .project-image {
    height: 245px;
  }
  .featured-2 .project-image {
    height: 295px;
  }
  .featured-3 .project-image {
    height: 250px;
  }
  .project-item figcaption {
    min-height: 80px;
    margin-top: 12px;
    padding-top: 14px;
    gap: 10px;
  }
  .project-item figcaption strong {
    font-size: 12px;
  }
  .project-item figcaption small {
    font-size: 9px;
    line-height: 1.7;
  }
  .project-open {
    right: 8px;
    bottom: 8px;
  }
  .portfolio-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .more-project-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 26px;
  }
  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-main {
    padding: 66px var(--gutter) 40px;
  }
  .contact-heading .display {
    font-size: 48px;
  }
  :lang(th) .contact-heading .display {
    font-size: 33px;
  }
  .contact-heading > p:not(.eyebrow) {
    margin-top: 22px;
  }
  .contact-matrix {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
  .contact-cell {
    grid-template-columns: 75px 1fr;
    gap: 20px;
    padding: 23px 22px 23px 0;
  }
  .contact-cell:nth-child(odd) {
    border-right: 0;
  }
  .contact-cell:nth-child(even) {
    padding-left: 0;
  }
  .contact-cell img {
    width: 75px;
    height: 83px;
  }
  .contact-text strong {
    font-size: 13px;
  }
  .location-cell .contact-text strong {
    font-size: 11px;
  }
  .contact-glass {
    min-height: 280px;
    margin: 0 var(--gutter) 35px;
  }
  .contact-glass img {
    object-position: 70% 65%;
  }
  .contact-glass > span {
    font-size: 35px;
    bottom: 25px;
    left: 25px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 27px var(--gutter);
    gap: 16px;
  }
  .site-footer > div {
    flex-basis: 100%;
  }
  .site-footer .text-link {
    margin-left: 0;
  }
  .project-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    padding: 14px;
  }
  .dialog-topbar {
    gap: 10px;
    margin-bottom: 12px;
  }
  .dialog-topbar .eyebrow {
    font-size: 8px;
    letter-spacing: .05em;
  }
  .dialog-close {
    gap: 10px;
    padding: 0 5px;
    font-size: 10px;
  }
  .dialog-image {
    height: 48svh;
  }
  .dialog-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
  }
  .dialog-bottom h2 {
    font-size: 27px;
  }
  .dialog-controls {
    justify-content: space-between;
    width: 100%;
  }
}
@media (max-width: 359px) {
  .brand img {
    width: 115px;
  }
  .site-header {
    padding: 0 15px;
  }
  :lang(th) .hero-title {
    font-size: 35px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero-actions {
    gap: 15px;
  }
  .button {
    padding: 13px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal],
  .motion-ready [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  [data-depth] {
    transform: none;
  }
}
@media print {
  .site-header,
  .chapter-rail,
  .hero-actions,
  .hero-chapters,
  .project-open,
  .more-projects,
  .site-footer .text-link {
    display: none;
  }
  .site-canvas {
    margin: 0;
    border: 0;
  }
  .section-pad {
    padding: 30px;
  }
  [data-reveal],
  .motion-ready [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  .project-image,
  .contact-cell {
    break-inside: avoid;
  }
  .contact-section {
    color: var(--ink);
    background: white;
  }
  .contact-text small,
  .contact-label,
  .site-footer p,
  .contact-heading > p:not(.eyebrow) {
    color: var(--muted);
  }
}

/* Cinematic revision: Prompt typography, restrained refraction and adaptive rail. */
:root {
  --scene-duration: 950ms;
  --feedback-duration: 220ms;
  --focus-ring: 2px solid var(--accent);
}
body {
  font-synthesis: none;
}
:lang(th) .display {
  line-height: 1.4;
  letter-spacing: normal;
}
.display > span {
  padding-block: .08em;
}
.hero-intro,
.about-narrative p,
.product-heading > p:not(.eyebrow),
.portfolio-heading > p:not(.eyebrow),
.contact-heading > p:not(.eyebrow),
.product-body p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.8;
}
.primary-nav a {
  font-size: 14px;
}
.site-header {
  background: rgba(246, 245, 241, .96);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header {
    background: rgba(246, 245, 241, .9);
    backdrop-filter: blur(10px);
  }
}
.rail-icon,
.ui-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform var(--feedback-duration) var(--ease);
}
.chapter-rail a {
  gap: 2px;
  padding-block: 5px;
}
.chapter-rail a > .rail-number {
  font-size: 9px;
  line-height: 1;
}
.chapter-rail a[aria-current] .rail-icon {
  stroke-width: 1.8;
}
.rail-progress {
  width: 1px;
  height: 80px;
  margin-top: 12px;
  background: var(--line);
  overflow: hidden;
}
.rail-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleY(var(--page-progress, 0));
  transform-origin: top;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(246,245,241,.11), transparent 35%, rgba(21,43,50,.09));
}
.process-chapters {
  position: relative;
}
.process-chapters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}
.text-link,
.contact-cell,
.hero-actions a {
  transition: color 220ms ease, background-color 220ms ease, transform 220ms var(--ease);
}
.text-link .ui-icon,
.hero-actions .ui-icon {
  margin-left: 8px;
}
.contact-cell .ui-icon {
  margin-right: 8px;
}
.contact-label {
  display: flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .chapter-rail a:hover .rail-icon,
  .chapter-rail a:focus-visible .rail-icon {
    transform: translateY(-2px);
  }
  .text-link:hover > span[aria-hidden],
  .contact-cell:hover .contact-arrow {
    transform: translate(3px, -3px);
  }
  .project-image:hover img {
    filter: saturate(1.03);
  }
  .contact-cell:hover {
    background: rgba(255,255,255,.035);
  }
}
.text-link:active,
.hero-actions a:active {
  transform: translateY(1px);
}
.primary-nav a:focus-visible::after {
  width: 16px;
}
@media (max-width: 1199px) {
  .chapter-rail {
    display: flex;
    top: auto;
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(420px, calc(100% - 24px));
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 6px 22px rgba(21,43,50,.12);
  }
  .chapter-rail a {
    width: 20%;
    min-height: 48px;
    padding: 4px 2px;
    grid-template-rows: 20px auto;
  }
  .chapter-rail .rail-number {
    display: none;
  }
  .chapter-rail .rail-name {
    position: static;
    visibility: visible;
    opacity: 1;
    padding: 0;
    font-size: 10px;
    line-height: 1.5;
    background: transparent;
  }
  .chapter-rail a::before {
    left: 50%;
    bottom: 0;
    width: 16px;
    height: 2px;
    transform: translateX(-50%) scaleX(0);
  }
  .chapter-rail a[aria-current]::before {
    height: 2px;
    transform: translateX(-50%) scaleX(1);
  }
  .rail-progress {
    position: absolute;
    bottom: -1px;
    left: 14px;
    right: 14px;
    width: auto;
    height: 1px;
    margin: 0;
  }
  .rail-progress i {
    transform: scaleX(var(--page-progress, 0));
    transform-origin: left;
  }
  body.dialog-open .chapter-rail {
    visibility: hidden;
  }
  body:has(.primary-nav.is-open) .chapter-rail {
    visibility: hidden;
  }
  .site-footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
  :focus-visible {
    outline-offset: 3px;
  }
}
@media (max-width: 359px) {
  .chapter-rail .rail-name {
    font-size: 9px;
  }
  .chapter-rail {
    padding-inline: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rail-icon,
  .ui-icon,
  .contact-arrow {
    transition: none;
    transform: none !important;
  }
  .hero-image,
  .hero-title > span,
  .hero-chapters > a,
  .about-layout > *,
  .product-showcase > *,
  .portfolio-grid > *,
  .contact-cell,
  .process-chapters > li {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
}
@media print {
  .chapter-rail {
    display: none;
  }
}

/* The edge scene moves toward the canvas; no horizontal excursion outside it. */
.contact-glass img {
  object-position: center;
  opacity: .9;
  filter: saturate(.65);
}
.contact-label,
.contact-text small,
.project-item figcaption small,
.portfolio-bottom p,
.spec-note,
.specimen-scene figcaption {
  font-size: 12px;
  line-height: 1.7;
}
.contact-text strong,
.location-cell .contact-text strong {
  font-size: 14px;
  line-height: 1.8;
}
.process-chapters p {
  font-size: 14px;
  line-height: 1.7;
}
.eyebrow {
  font-size: 11px;
}
@media (max-width: 767px) {
  .contact-text strong,
  .location-cell .contact-text strong {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

.contact-cell:focus-visible .ui-icon {
  transform: translateY(-2px);
}
@media (hover: hover) and (pointer: fine) {
  .contact-cell:hover .ui-icon { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-cell .ui-icon { transform: none !important; }
}

/* Owner choices Q1:A / Q2:A — architectural cut and opposite corner feedback. */
:root {
  --corner-photo: 34px;
  --corner-card: 18px;
  --corner-duration: 460ms;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-title {
  position: relative;
  padding-bottom: 20px;
  --headline-rule: 1;
}
.hero-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--headline-rule));
  transform-origin: left;
}
:lang(th) .hero-title { font-weight: 500; line-height: 1.28; }
:lang(th) .hero-title > span:first-child {
  font-size: clamp(64px, 5.6vw, 88px);
  font-weight: 600;
  line-height: 1.18;
}
:lang(th) .hero-title > span:nth-child(2) {
  font-size: clamp(44px, 4vw, 58px);
  color: var(--accent);
}
:lang(th) .hero-title > span:last-child {
  font-size: clamp(30px, 2.7vw, 44px);
}
:lang(en) .hero-title { font-size: clamp(48px, 4.7vw, 76px); line-height: 1.02; }
:lang(en) .hero-title > span:first-child { font-size: 1.16em; font-weight: 600; }
:lang(en) .hero-title > span:nth-child(2) { color: var(--accent); }
.hero-intro { margin-top: 24px; }
.hero-image { background: var(--paper); }
.hero-aperture {
  position: absolute;
  inset: 0;
  overflow: hidden;
  --hero-cut: clamp(40px, 4.4vw, 64px);
  clip-path: polygon(0 0, calc(100% - var(--hero-cut)) 0, 100% var(--hero-cut),
    100% 100%, var(--hero-cut) 100%, 0 calc(100% - var(--hero-cut)));
  background: #dce3e3;
}
.hero-aperture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at var(--light-x, 50%) var(--light-y, 50%),
    rgba(246,245,241,.24), transparent 48%);
  transition: opacity 450ms ease;
  box-shadow: inset 0 0 0 1px rgba(246,245,241,.3);
}
.hero-image.has-pointer .hero-aperture::after { opacity: 1; }
.hero-image::after { display: none; }
.hero-image img {
  transform: translate(var(--pointer-x, 0px), calc(var(--depth, 0px) + var(--pointer-y, 0px))) scale(1.04);
  transition: transform 600ms var(--ease);
}
.hero-image figcaption { left: 72px; padding: 16px 20px; }
.media-frame:not(.hero-image), .project-image, .contact-glass,
.specimen-scene img {
  border-radius: 0;
  transition: border-radius var(--corner-duration) var(--ease);
}
.hero-chapters a, .contact-cell, .process-chapters > li,
.product-detail summary, .hero-actions .button {
  border-radius: 0;
  transition: border-radius var(--corner-duration) var(--ease),
    background-color 300ms ease, color 220ms ease, transform 220ms var(--ease);
}
/* Connected grids retain their shared rules; their interior surfaces respond. */
.hero-chapters a:focus-visible, .contact-cell:focus-visible,
.product-detail summary:focus-visible {
  border-radius: var(--corner-card) 0 var(--corner-card) 0;
}
.project-image:focus-visible {
  border-radius: var(--corner-photo) 0 var(--corner-photo) 0;
}
.hero-actions .button:focus-visible { border-radius: 12px 0 12px 0; }
.project-item:focus-within figcaption strong { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .media-frame:not(.hero-image):hover, .project-image:hover,
  .contact-glass:hover, .specimen-scene:hover img {
    border-radius: var(--corner-photo) 0 var(--corner-photo) 0;
  }
  .hero-chapters a:hover, .contact-cell:hover,
  .product-detail summary:hover {
    border-radius: var(--corner-card) 0 var(--corner-card) 0;
  }
  .hero-chapters a:hover, .product-detail summary:hover,
  .process-chapters > li:hover { background-color: rgba(140,38,56,.055); }
  .process-chapters > li:hover { border-radius: 14px 0 14px 0; }
  .process-chapters > li:hover .process-number { color: var(--accent); }
  .hero-chapters a:hover > span:last-child { transform: translate(3px, -3px); }
  .hero-chapters a > span:last-child { transition: transform 300ms var(--ease); }
  .hero-actions .button:hover { border-radius: 12px 0 12px 0; }
  .project-image:hover img { transform: scale(1.025); }
  .project-item:hover figcaption strong { color: var(--accent); }
  .project-image:hover .project-open { background: var(--accent); color: var(--paper); }
  .contact-cell:hover { background-color: rgba(255,255,255,.065); }
}
@media (max-width: 1199px) {
  :lang(th) .hero-title > span:first-child { font-size: clamp(58px, 7vw, 78px); }
  :lang(th) .hero-title > span:nth-child(2) { font-size: clamp(40px, 4.8vw, 54px); }
  :lang(th) .hero-title > span:last-child { font-size: clamp(29px, 3.5vw, 38px); }
  :lang(en) .hero-title { font-size: clamp(42px, 4.6vw, 58px); }
}
@media (max-width: 767px) {
  .hero-copy .eyebrow { margin-bottom: 22px; }
  :lang(th) .hero-title > span:first-child { font-size: clamp(62px, 17vw, 80px); }
  :lang(th) .hero-title > span:nth-child(2) { font-size: clamp(42px, 11.5vw, 56px); }
  :lang(th) .hero-title > span:last-child { font-size: clamp(28px, 7.6vw, 38px); }
  :lang(en) .hero-title { font-size: clamp(40px, 10.5vw, 62px); }
  .hero-aperture { --hero-cut: 28px; }
  .hero-image figcaption { left: 36px; padding: 14px 14px; }
  .hero-title { padding-bottom: 18px; }
}
@media (hover: none) {
  .hero-chapters a:active, .contact-cell:active,
  .product-detail summary:active { border-radius: 14px 0 14px 0; }
  .project-image:active { border-radius: 24px 0 24px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image img { transform: none; transition: none; }
  .hero-aperture::after { display: none; }
  .hero-title::after { transform: none; }
}

/* Finish the same corner language on small photographic modules. */
.process-chapters img, .contact-cell img {
  border-radius: 0;
  transition: border-radius var(--corner-duration) var(--ease), opacity 300ms ease;
}
.contact-cell:focus-visible img { border-radius: 18px 0 18px 0; }
.product-detail[open] summary { background-color: rgba(140,38,56,.04); }
.project-item figcaption strong, .project-open {
  transition: color 240ms ease, background-color 240ms ease;
}
.section-pad .eyebrow::after, .contact-heading .eyebrow::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 1px;
  margin-inline-start: 12px;
  background: currentColor;
  opacity: .6;
}
@media (hover: hover) and (pointer: fine) {
  .process-chapters > li:hover img, .contact-cell:hover img {
    border-radius: 18px 0 18px 0;
  }
  .specimen-stage:focus-within .specimen-scene img {
    border-radius: var(--corner-photo) 0 var(--corner-photo) 0;
  }
}


/* v04 — tighter editorial type, image-led mobile Hero and compact Process. */
.hero-title > span { padding-block: .015em; }
:lang(th) .hero-title { line-height: 1.19; }
:lang(th) .hero-title > span:first-child { line-height: 1.08; }
.hero-title { padding-bottom: 16px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-intro { margin-top: 20px; }
.about-heading .display > span,
.product-heading .display > span,
.portfolio-heading .display > span,
.contact-heading .display > span { padding-block: .025em; }
:lang(th) .about-heading .display,
:lang(th) .product-heading .display,
:lang(th) .portfolio-heading .display,
:lang(th) .contact-heading .display { line-height: 1.3; }
.hero-brand-note {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 30px;
  padding: 16px 20px;
  color: var(--paper);
  background: rgba(21,43,50,.84);
  border: 1px solid rgba(246,245,241,.35);
  border-radius: 18px 0 18px 0;
  pointer-events: none;
}
.hero-brand-code, .hero-brand-detail { display: block; font-size: 9px; letter-spacing: .12em; }
.hero-brand-code { display: flex; align-items: center; gap: 9px; }
.hero-brand-code i { display: block; height: 1px; width: 22px; background: currentColor; opacity: .7; }
.hero-brand-name { display: block; margin: 8px 0 4px; font-family: var(--display); font-size: 32px; line-height: 1.1; }
.hero-brand-detail { font-size: 8px; opacity: .85; }
@media (max-width: 767px) {
  .hero-layout { position: relative; isolation: isolate; }
  .hero-copy, .hero-image { grid-area: 1 / 1; }
  .hero-copy {
    z-index: 2;
    justify-content: center;
    padding: 110px var(--gutter) 90px;
    color: var(--paper);
    pointer-events: none;
  }
  .hero-copy a { pointer-events: auto; }
  .hero-image { z-index: 0; min-height: 590px; }
  .hero-layout::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,28,34,.94), rgba(10,28,34,.64)),
      linear-gradient(0deg, rgba(10,28,34,.88), transparent 60%);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px,
      100% 100%, 28px 100%, 0 calc(100% - 28px));
    pointer-events: none;
  }
  .hero-copy .eyebrow { color: #B8DEE5; margin-bottom: 20px; font-size: 9px; }
  :lang(th) .hero-title { color: var(--paper); line-height: 1.18; }
  :lang(th) .hero-title > span:first-child { line-height: 1.06; }
  :lang(th) .hero-title > span:nth-child(2),
  :lang(en) .hero-title > span:nth-child(2) { color: #B8DEE5; }
  .hero-title::after { background: #B8DEE5; }
  .hero-intro { color: var(--paper); font-size: 15px; line-height: 1.7; margin-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px; margin-top: 24px; }
  .hero-actions .button { min-width: 0; gap: 8px; padding: 14px 12px; font-size: 11px; }
  .hero-actions .button-outline { color: var(--paper); border-color: var(--paper); background: rgba(21,43,50,.3); }
  .hero-actions .button-outline:hover { color: var(--paper); background: rgba(246,245,241,.14); }
  .hero-index { color: var(--paper); bottom: 53px; }
  .hero-image img { inset: 0; height: 100%; object-position: 58% center; }
  .hero-image figcaption { z-index: 3; bottom: 5px; left: 36px; font-size: 9px; padding: 12px; background: none; }
  .hero-brand-note { top: 22px; left: 24px; padding: 0; border: 0; background: none; border-radius: 0; z-index: 3; }
  .hero-brand-name { font-size: 24px; margin-top: 5px; }
  .hero-brand-detail { display: none; }
  .hero-brand-code { font-size: 8px; }
  .process-header { margin-top: 28px; }
  .process-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-top: 18px; }
  .process-chapters li { display: flex; flex-direction: column; gap: 0; padding: 0 0 16px; }
  .process-number { margin-bottom: 10px; padding-top: 0; }
  .process-chapters img { width: 100%; height: auto; aspect-ratio: 306 / 230; margin-bottom: 10px; }
  .process-chapters h4 { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
  .process-chapters p { margin-top: 4px; font-size: 13px; line-height: 1.6; }
}
@media (max-width: 359px) {
  .hero-copy { padding-top: 105px; padding-bottom: 88px; }
  .hero-copy .eyebrow { font-size: 8px; }
  .hero-actions .button { font-size: 10px; padding-inline: 10px; }
}
@media (max-width: 767px) {
  /* Shade the photograph inside its aperture; keep brand/caption above it. */
  .hero-layout::after { display: none; }
  .hero-aperture::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10,28,34,.94), rgba(10,28,34,.64)),
      linear-gradient(0deg, rgba(10,28,34,.88), transparent 60%);
  }
  .hero-image img { inset: -22px 0 auto; height: calc(100% + 110px); }
}
@media (max-width: 767px) {
  .hero-actions { align-items: stretch; }
}

/* v05 — enlarge the actual supplied logo at every breakpoint. */
.brand img { width: 280px; }
@media (max-width: 1199px) {
  .brand img { width: 240px; }
}
@media (max-width: 900px) {
  .brand img { width: 250px; }
}
@media (max-width: 600px) {
  .site-header { gap: 10px; padding-inline: 16px; }
  .brand { flex: 1 1 230px; min-width: 0; max-width: 230px; }
  .brand img { width: 100%; }
  .header-tools { flex-shrink: 0; gap: 4px; }
}
@media (max-width: 374px) {
  :root { --header-height: 112px; }
  .site-header { padding: 10px 16px 48px; }
  .brand { max-width: 200px; }
  .header-tools .language-switch { position: absolute; right: 16px; bottom: 4px; }
}

/* Mobile full-bleed canvas: classic preview scrollbars must not reserve a gutter. */
@media (max-width: 767px) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
@media (max-width: 767px) {
  /* Keep the material image's depth scale inside its full-width figure. */
  .specimen-scene { overflow: hidden; }
}

/* Client revision: vector controls, supplied logo and accessible LINE copy. */
.vector-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.button .vector-icon, .text-link .vector-icon { width: 16px; height: 16px; }
.contact-arrow .vector-icon, .project-open .vector-icon { width: 20px; height: 20px; }
.brand { gap: 9px; }
.brand img.brand-seal { width: 58px; height: 58px; object-fit: contain; flex: 0 0 58px; }
.brand-wordmark { display: grid; gap: 3px; min-width: 0; color: #111; }
.brand-wordmark strong { font-size: 13px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.brand-wordmark small { font-size: 10px; line-height: 1.5; }
.line-contact-button { background: transparent; border-radius: 0; color: inherit; font: inherit; text-align: left; width: 100%; cursor: pointer; }
.line-copy-status { font-size: 13px; line-height: 1.8; margin-top: 20px; color: #b8dee5; }
.line-copy-status:empty { display: none; }
.product-detail { overflow-anchor: none; }
@media (max-width: 600px) {
 .brand { max-width: 246px; gap: 6px; }
 .brand img.brand-seal { width: 44px; height: 44px; flex-basis: 44px; }
 .brand-wordmark strong { font-size: 9px; }
 .brand-wordmark small { font-size: 8px; }
}
@media (max-width: 374px) {
 .brand-wordmark strong { font-size: 9px; }
}
