:root {
  --bg:#f6f2ea;
  --surface:#ffffff;
  --ink:#1a1f2b;
  --muted:#6b6f78;
  --accent:#1f3a5f;
  --accent2:#936312;
  --line:rgba(20,25,40,.12);
  --on-accent:#fff;
  --on-accent2:#fff;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman","Noto Sans Thai",
    serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,"Noto Sans Thai",
    sans-serif;
  --max:1160px;
  --ease:cubic-bezier(.16,1,.3,1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .6s var(--ease), color .6s var(--ease);
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 48px);
}
.serif {
  font-family: var(--serif);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.ribbon {
  position: relative;
  z-index: 5;
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .03em;
  padding: 9px 14px;
  transition: background .6s var(--ease);
}
.ribbon a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition:
    background .3s,
    box-shadow .3s,
    backdrop-filter .3s;
}
header.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  transition: height .3s var(--ease);
}
header.scrolled .bar {
  height: 64px;
}
.logo {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .02em;
  font-weight: 600;
}
.logo b {
  color: var(--accent);
}
nav.top {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}
nav.top a {
  position: relative;
}
nav.top a.on {
  color: var(--ink);
}
nav.top a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
nav.top a.on::after {
  transform: scaleX(1);
  transform-origin: left;
}
nav.top a:hover {
  color: var(--ink);
}
nav.top a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 18%, transparent);
  transition: filter .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 40%, transparent);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 880px) {
  nav.top {
    display: none;
  }
}
@media (max-width: 430px) {
  .bar {
    height: 64px;
    gap: 10px;
  }
  .logo {
    font-size: 17px;
  }
  header .bar .btn {
    display: none;
  }
}
.hero {
  position: relative;
  padding: clamp(46px, 7vw, 90px) 0 clamp(50px, 7vw, 84px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent2);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent2);
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
h1 .em {
  font-style: italic;
  color: var(--accent);
}
.hero p.sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
}
.hero .row {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .meta {
  margin-top: 46px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .meta .m {
  flex: 1;
  min-width: 120px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.hero .meta .m b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
}
.hero .meta .m span {
  color: var(--muted);
}
.visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .14);
}
.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.visual .frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  z-index: 2;
}
.visual .badge {
  align-self: flex-start;
  color: #fff;
  background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 8px 12px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.visual .cap {
  color: #fff;
  font-family: var(--serif);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.visual .cap small {
  display: block;
  font-family: var(--sans);
  opacity: .9;
  margin-top: 6px;
}
section {
  position: relative;
  padding: clamp(52px, 8vw, 100px) 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent2);
  margin-bottom: 18px;
}
.tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent2);
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.01em;
  max-width: 20ch;
}
.lead {
  margin-top: 22px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 17px;
}
.lead + .lead {
  margin-top: 18px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.split.rev > div:first-child {
  order: 2;
}
@media (max-width: 820px) {
  .split.rev > div:first-child {
    order: 0;
  }
}
.stack {
  aspect-ratio: 1/1;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
}
.stack.wide {
  aspect-ratio: 3/2;
}
.stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stack .who {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  font-family: var(--serif);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  overflow: hidden;
  transition:
    transform .3s var(--ease),
    box-shadow .3s var(--ease),
    border-color .3s;
  display: block;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  background:
    radial-gradient(
      340px circle at var(--mx,50%) var(--my,0%),
      color-mix(in srgb, var(--accent) 14%, transparent),
      transparent 60%);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .1);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card .no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent2);
}
.card h3 {
  font-family: var(--serif);
  margin: 14px 0 10px;
}
.card p {
  color: var(--muted);
}
.card .more {
  margin-top: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.card:hover .more {
  opacity: 1;
  transform: none;
}
.srv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.srv:first-of-type {
  border-top: 0;
}
@media (max-width: 820px) {
  .srv {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.srv .pic {
  aspect-ratio: 3/2;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
}
.srv .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.srv h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
  max-width: none;
}
.srv .no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent2);
  margin-bottom: 8px;
}
.srv ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.srv li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}
.srv li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.step b {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent2);
}
.step h3 {
  font-family: var(--serif);
  margin: 10px 0 8px;
}
.step p {
  color: var(--muted);
}
.marquee {
  border-block: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent);
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent);
}
.marquee .track {
  display: inline-flex;
  gap: 52px;
  animation: scroll 26s linear infinite;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--muted);
}
.marquee b {
  color: var(--accent2);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
.quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(38px, 5vw, 68px);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 24px;
  font-family: var(--serif);
  font-size: 180px;
  color: color-mix(in srgb, var(--accent) 12%, transparent);
  line-height: 1;
}
.quote blockquote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1.34;
  font-weight: 500;
}
.quote .who {
  margin-top: 22px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.assure {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 38px;
  color: var(--muted);
}
.assure span::before {
  content: "— ";
  color: var(--accent2);
}
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .1);
}
@media (max-width: 820px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
.contact .info {
  position: relative;
  padding: clamp(30px, 4vw, 52px);
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.contact .info canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  z-index: 0;
}
.contact .info > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  .contact .info {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
.contact .info h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}
.contact .info p {
  color: var(--muted);
  margin-top: 18px;
  max-width: 36ch;
}
.contact .info .line {
  margin-top: 20px;
}
.contact .info .line b {
  font-family: var(--serif);
  color: var(--ink);
}
form {
  padding: clamp(30px, 4vw, 52px);
  display: grid;
  gap: 16px;
}
label {
  color: var(--muted);
}
input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
form .btn {
  justify-content: center;
  border: 0;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  padding: 15px;
}
.thanks {
  display: none;
  padding: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--ink);
}
.cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .1);
}
.cta h2 {
  margin: 0 auto;
  max-width: 24ch;
}
.cta p {
  color: var(--muted);
  margin: 18px auto 0;
  max-width: 52ch;
}
.cta .row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
footer {
  border-top: 1px solid var(--line);
  padding: 46px 0;
  color: var(--muted);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.palettes {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 9px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 13px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .14);
  flex-wrap: wrap;
  max-width: calc(100vw - 32px);
}
.palettes .lbl {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sw {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  padding: 2px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: transform .2s;
}
.sw:hover {
  transform: scale(1.14);
}
.sw.active {
  border-color: var(--ink);
}
.ci {
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.ci button {
  font: inherit;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ci button:hover {
  color: var(--ink);
}
.ci input[type=color] {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  padding: 0;
  cursor: pointer;
  display: none;
}
.ci.open input[type=color] {
  display: inline-block;
}
@media (max-width: 560px) {
  .palettes .lbl {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee .track {
    animation: none;
  }
}
:root {
  --fs-label:11px;
  --fs-fine:13px;
  --fs-body:15px;
  --fs-num:16px;
  --fs-h4:20px;
}
.eyebrow,
.hero .meta .m span,
.visual .badge,
.visual .cap small,
.tag {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.card .more,
.quote .who,
.assure,
.thanks,
footer,
label {
  font-size: var(--fs-fine);
  font-weight: 400;
}
.card p,
.srv li,
.step p,
.contact .info p,
.contact .info .line,
input,
textarea {
  font-size: var(--fs-body);
  font-weight: 400;
}
.card .no,
.srv .no,
.step b {
  font-size: var(--fs-num);
}
.card h3,
.step h3,
.visual .cap,
.stack .who {
  font-size: var(--fs-h4);
  font-weight: 600;
}
