:root {
  color-scheme: light;
  --ink: #1d1b18;
  --paper: #f4efe7;
  --paper-bright: #fbf8f2;
  --rose: #95535b;
  --rose-dark: #703a42;
  --sage: #7d846d;
  --line: rgba(29, 27, 24, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px clamp(22px, 4vw, 72px);
  color: #201d19;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}

.brand span {
  font: 500 30px/1 var(--serif);
  letter-spacing: 0.08em;
}

.brand small,
.site-header nav a,
.eyebrow,
.hero-disclosure,
.experience-visual span,
.mood span {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.site-header .language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(29, 27, 24, 0.2);
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.64);
  backdrop-filter: blur(12px);
}

.site-header .language-switcher a {
  min-width: 38px;
  padding: 8px 9px;
  border: 0;
  border-radius: 999px;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: none;
}

.site-header .language-switcher a:hover,
.site-header .language-switcher a[aria-current="page"] {
  border: 0;
  background: var(--ink);
  color: white;
}

html[lang="th"] {
  --serif: "Noto Serif Thai", "Leelawadee UI", Tahoma, serif;
  --sans: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
}

html[lang="zh-Hans"] {
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

html[lang="th"] h1,
html[lang="th"] h2,
html[lang="th"] h3,
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3 {
  letter-spacing: -0.015em;
}

html[lang="th"] .eyebrow,
html[lang="th"] .hero-disclosure,
html[lang="th"] .experience-visual span,
html[lang="th"] .mood span,
html[lang="zh-Hans"] .eyebrow,
html[lang="zh-Hans"] .hero-disclosure,
html[lang="zh-Hans"] .experience-visual span,
html[lang="zh-Hans"] .mood span {
  letter-spacing: 0.04em;
  text-transform: none;
}

.site-header nav a {
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover { border-bottom-color: currentColor; }

.site-header .nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(29, 27, 24, 0.3);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  background: #e6d9ca;
}

.hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #f4efe7 0%, #f4efe7 40%, rgba(244, 239, 231, 0.98) 46%, rgba(244, 239, 231, 0.74) 54%, rgba(244, 239, 231, 0.04) 68%),
    linear-gradient(0deg, rgba(35, 26, 20, 0.18), transparent 35%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(900px, 100svh);
  width: min(620px, 52vw);
  padding: clamp(150px, 22vh, 230px) 0 70px clamp(24px, 7vw, 128px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 22px;
  font-weight: 700;
  color: var(--rose-dark);
}

.eyebrow.dark { color: #6c5b50; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font: 400 clamp(54px, 7.2vw, 112px)/0.92 var(--serif);
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 500px;
  margin-bottom: 32px;
  font: 400 clamp(18px, 1.55vw, 24px)/1.5 var(--serif);
}

.hero-actions,
.trust-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary,
.button-dark {
  background: var(--ink);
  color: white;
}

.button-quiet {
  border-color: rgba(29, 27, 24, 0.28);
  background: rgba(255, 255, 255, 0.42);
}

.hero-disclosure {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 64px);
  bottom: 26px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(29, 27, 24, 0.58);
  backdrop-filter: blur(10px);
}

.fact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
  padding: 0 clamp(20px, 4vw, 72px);
}

.fact-band div {
  display: flex;
  min-height: 145px;
  padding: 30px clamp(16px, 2.5vw, 40px);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.fact-band div:first-child { border-left: 1px solid var(--line); }

.fact-band strong {
  margin-bottom: 8px;
  font: 400 clamp(24px, 2.6vw, 40px)/1 var(--serif);
}

.fact-band span {
  font-size: 13px;
  line-height: 1.4;
  color: #70675f;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.story {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(48px, 10vw, 150px);
  align-items: end;
  padding-top: clamp(90px, 12vw, 170px);
  padding-bottom: clamp(90px, 12vw, 170px);
}

h2 {
  margin-bottom: 26px;
  font: 400 clamp(42px, 5.2vw, 76px)/1.01 var(--serif);
  letter-spacing: -0.04em;
}

.section-intro > p:last-child,
.experience-copy > p,
.trust-copy > p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.75;
  color: #625b54;
}

blockquote {
  margin: 0;
  padding: 8px 0 8px 38px;
  border-left: 1px solid var(--rose);
  font: 400 clamp(25px, 3vw, 42px)/1.35 var(--serif);
  color: var(--rose-dark);
}

blockquote cite {
  display: block;
  margin-top: 24px;
  font: 700 11px/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding-bottom: clamp(100px, 13vw, 180px);
}

.experience-visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 3px;
  background: #d9cfbf;
}

.experience-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.experience-visual span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 9px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(24, 23, 20, 0.74);
}

.experience-copy ul {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.experience-copy li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.updates-preview {
  padding-bottom: clamp(100px, 13vw, 180px);
}

.updates-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  margin-bottom: 48px;
}

.updates-heading h2 { max-width: 760px; margin-bottom: 0; }

.updates-heading > p {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.7;
  color: #625b54;
}

.update-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.update-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 560px;
  background: #d6cec1;
}

.update-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 20, 18, 0.38), transparent 42%);
  pointer-events: none;
}

.update-card-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms ease;
}

.update-card-media:hover img { transform: scale(1.015); }

.update-card-media span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.update-card-copy {
  display: flex;
  padding: clamp(34px, 5vw, 72px);
  flex-direction: column;
  justify-content: center;
}

.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.update-card h3 {
  margin-bottom: 24px;
  font: 400 clamp(34px, 4vw, 56px)/1.05 var(--serif);
  letter-spacing: -0.035em;
}

.update-card-copy > p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.75;
  color: #625b54;
}

.light-section {
  padding: clamp(100px, 12vw, 170px) 0;
  color: #f7f1e8;
  background: #24211e;
}

.light-section .eyebrow { color: #d9a5a8; }

.light-section h2 { max-width: 900px; }

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.15);
}

.mood {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 34px;
  background-size: cover;
  background-position: center;
}

.mood::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/showcase/168-daylight-concept.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.82);
}

.mood::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 17, 15, 0.9), rgba(20, 17, 15, 0.08) 70%);
}

.mood-sunset::before { filter: sepia(0.36) saturate(1.25) brightness(0.78); }
.mood-night::before { filter: sepia(0.1) hue-rotate(170deg) saturate(0.8) brightness(0.3); }

.mood > * { position: relative; z-index: 1; }
.mood span { opacity: 0.8; }
.mood h3 { margin: 230px 0 10px; font: 400 34px/1 var(--serif); }
.mood p { max-width: 320px; margin-bottom: 0; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 9vw, 150px);
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.trust h2 { font-size: clamp(38px, 4.5vw, 68px); }
.trust-actions { margin-top: 32px; }

/* Project update article */

.article-page { background: var(--paper-bright); }

.article-site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.96);
}

.article-hero {
  padding-top: clamp(90px, 10vw, 150px);
  padding-bottom: clamp(70px, 9vw, 125px);
}

.article-update-meta {
  max-width: 560px;
  margin-bottom: 46px;
}

.article-hero h1 {
  max-width: 1050px;
  margin-bottom: 34px;
  font-size: clamp(58px, 8vw, 116px);
}

.article-lede {
  max-width: 850px;
  margin-bottom: 36px;
  font: 400 clamp(21px, 2.5vw, 34px)/1.45 var(--serif);
  color: #514a43;
}

.article-status {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.article-status span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-comparison { padding-bottom: clamp(90px, 11vw, 150px); }

.article-section-heading {
  max-width: 900px;
  margin-bottom: 50px;
}

.article-section-heading > p:last-child {
  max-width: 740px;
  font-size: 17px;
  line-height: 1.75;
  color: #625b54;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.analysis-figure { margin: 0; }

.figure-image-wrap {
  position: relative;
  overflow: hidden;
  background: #d3cbc0;
}

.figure-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.figure-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(25, 23, 20, 0.74);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.analysis-figure figcaption {
  padding: 18px 2px 0;
  font-size: 12px;
  line-height: 1.65;
  color: #70675f;
}

.analysis-figure figcaption a { text-underline-offset: 3px; }

.analysis-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.analysis-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.analysis-fact-grid div {
  display: flex;
  min-height: 160px;
  padding: 30px clamp(18px, 3vw, 42px);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.analysis-fact-grid div:first-child { border-left: 1px solid var(--line); }

.analysis-fact-grid strong {
  margin-bottom: 10px;
  font: 400 clamp(27px, 3vw, 42px)/1 var(--serif);
}

.analysis-fact-grid span {
  font-size: 12px;
  line-height: 1.5;
  color: #6f665d;
}

.analysis-reading {
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.reading-grid article {
  min-height: 350px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-bright);
}

.reading-grid article > span {
  display: block;
  margin-bottom: 90px;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.reading-grid h3 {
  margin-bottom: 18px;
  font: 400 30px/1.1 var(--serif);
}

.reading-grid p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #675f58;
}

.method-section {
  padding: clamp(100px, 12vw, 170px) 0;
  color: #f7f1e8;
  background: #24211e;
}

.method-section .eyebrow { color: #d9a5a8; }

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 10vw, 150px);
}

.method-grid h2 { max-width: 600px; }

.method-copy h3 {
  margin: 0 0 16px;
  font: 400 28px/1.1 var(--serif);
}

.method-copy ul {
  margin: 0 0 36px;
  padding-left: 20px;
}

.method-copy li {
  margin-bottom: 11px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
}

.method-links {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}

.method-links a { color: white; text-underline-offset: 3px; }

.design-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(50px, 10vw, 150px);
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.design-note > div:last-child > p {
  font-size: 18px;
  line-height: 1.75;
  color: #625b54;
}

footer {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 48px;
  padding: 60px clamp(24px, 7vw, 128px);
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.footer-brand {
  font: 400 clamp(70px, 10vw, 150px)/0.8 var(--serif);
  letter-spacing: -0.05em;
}

.legal p {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: 11px;
  line-height: 1.65;
  color: #766e67;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #d19aa0;
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .site-header nav:not(.language-switcher) a:not(.nav-cta) { display: none; }
  .hero-copy { width: 70vw; padding-left: 30px; }
  .hero-shade { background: linear-gradient(90deg, #f4efe7 0%, #f4efe7 38%, rgba(244, 239, 231, 0.92) 52%, rgba(244, 239, 231, 0.04) 76%); }
  .fact-band { grid-template-columns: repeat(2, 1fr); }
  .fact-band div:nth-child(3) { border-left: 1px solid var(--line); }
  .story, .experience, .trust, .updates-heading, .method-grid, .design-note { grid-template-columns: 1fr; }
  .experience-visual { order: 2; }
  .update-card { grid-template-columns: 1fr; }
  .update-card-media, .update-card-media img { min-height: 480px; }
  .mood-grid { grid-template-columns: 1fr; }
  .mood { min-height: 360px; }
  .mood h3 { margin-top: 170px; }
  .analysis-fact-grid { grid-template-columns: repeat(2, 1fr); }
  .analysis-fact-grid div:nth-child(3) { border-left: 1px solid var(--line); }
  .reading-grid { grid-template-columns: 1fr; }
  .reading-grid article { min-height: auto; }
  .reading-grid article > span { margin-bottom: 44px; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px; }
  .brand small { display: none; }
  .site-header nav:not(.language-switcher) { display: none; }
  .header-actions { gap: 8px; }
  .site-header .language-switcher a { min-width: 35px; padding: 8px 7px; }
  .hero { min-height: 790px; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(244, 239, 231, 0.98) 0%, rgba(244, 239, 231, 0.84) 44%, rgba(244, 239, 231, 0.05) 72%); }
  .hero-copy {
    justify-content: flex-end;
    width: 100%;
    min-height: 790px;
    padding: 120px 20px 96px;
  }
  h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-lede { font-size: 18px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-disclosure { right: 14px; bottom: 14px; left: 14px; text-align: center; }
  .fact-band { grid-template-columns: 1fr 1fr; padding: 0; }
  .fact-band div { min-height: 130px; padding: 22px 18px; }
  .fact-band div:nth-child(odd) { border-left: none; }
  .section-shell { width: min(100% - 36px, 1180px); }
  .experience-visual, .experience-visual img { min-height: 330px; }
  .experience-visual img { object-position: 52% center; }
  .updates-heading { margin-bottom: 30px; }
  .update-card-media, .update-card-media img { min-height: 380px; }
  .update-card-copy { padding: 28px 22px 34px; }
  .update-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .mood { padding: 24px; }
  .article-site-header .brand small { display: none; }
  .article-hero { padding-top: 70px; }
  .article-hero h1 { font-size: clamp(52px, 15vw, 76px); }
  .view-grid { grid-template-columns: 1fr; }
  .analysis-fact-grid { grid-template-columns: 1fr 1fr; }
  .analysis-fact-grid div { min-height: 135px; padding: 24px 18px; }
  .analysis-fact-grid div:nth-child(odd) { border-left: none; }
  .design-note .trust-actions { align-items: flex-start; }
  .trust-actions { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; padding: 48px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .update-card-media img { transition: none; }
}
