:root {
  --paper: #f2f0ea;
  --paper-deep: #e3e4e0;
  --ink: #1b1c1a;
  --muted: #63645f;
  --line: rgba(27, 28, 26, 0.18);
  --accent: #c83b26;
  --accent-dark: #962717;
  --page-x: clamp(1rem, 4vw, 4.5rem);
  --max-width: 1440px;
  --header-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 20;
  --z-menu: 18;
  --z-mobile-cta: 25;
  --z-progress: 30;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  scrollbar-color: var(--accent) var(--paper-deep);
}

::selection {
  background: var(--accent);
  color: #fffaf7;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bai Jamjuree", "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
.wordmark {
  font-family: "Sarabun", "Thonburi", "Leelawadee UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

em {
  color: var(--accent);
  font-style: italic;
  font-weight: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: var(--z-progress);
  width: 100%;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: page-progress linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes page-progress {
  to { transform: scaleX(1); }
}

.section-shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--page-x);
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: transparent;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  white-space: nowrap;
  font-size: 1.5rem;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(242, 240, 234, 0.95);
}

.wordmark small {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.75rem);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(242, 240, 234, 0.95);
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease-out);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.is-active:not(.nav-cta)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  text-shadow: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-cta:active,
.button:active,
.mobile-contact:active {
  transform: translateY(1px) scale(0.98);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--max-width));
  min-height: 100dvh;
  margin-inline: auto;
  padding: clamp(6rem, 12vh, 8rem) var(--page-x) 3.5rem;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.5rem);
}

.hero__copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding-bottom: 1.5rem;
}

.eyebrow {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--accent-dark);
  font-family: "Bai Jamjuree", "Thonburi", "Leelawadee UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.65;
  text-transform: none;
}

.hero__title-line {
  display: block;
}

.hero h1 {
  max-width: 850px;
  font-family: "Sarabun", "Thonburi", "Leelawadee UI", sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 100;
  line-height: 1.06;
}

.hero h1 em {
  display: inline-block;
  padding-bottom: 0.12em;
  line-height: 1.12;
}

.hero__lead {
  max-width: 46rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 650;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button--primary {
  min-width: 132px;
  padding: 0.8rem 1.55rem;
  background: var(--accent);
  color: #fffaf7;
}

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

.button--text {
  position: relative;
  min-width: auto;
}

.button--text::after {
  content: "";
  position: absolute;
  inset: auto 0 0.42rem;
  height: 1px;
  background: currentColor;
  transition: transform 250ms var(--ease-out);
  transform-origin: right;
}

.button--text:hover::after {
  transform: scaleX(0.35);
}

.hero__visual {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-height: 0;
  margin: 0;
  pointer-events: none;
}

.hero__keyart {
  position: absolute;
  inset: 0 0 0 4%;
  overflow: hidden;
}

.hero__keyart::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(242, 240, 234, 0.62) 10%, rgba(242, 240, 234, 0) 28%),
    linear-gradient(to right, transparent 93%, var(--paper) 100%);
}

.hero__keyart img {
  object-position: 84% 42%;
  transform: scale(1.03);
}

.hero__polaroids {
  position: absolute;
  z-index: 3;
  left: 76%;
  right: -32vw;
  bottom: 8rem;
  width: auto;
  height: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__polaroids li {
  margin: 0;
}

.polaroid {
  --rot: 0deg;
  position: absolute;
  bottom: 0;
  width: 26%;
  margin: 0;
  padding: 0.32rem 0.32rem 1.2rem;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, -6px 18px 16px 4px rgba(27, 28, 26, 0.23);
}

.polaroid img {
  aspect-ratio: 5 / 4;
  background: #d8d6d0;
}

.polaroid--1 {
  left: 0;
  z-index: 2;
  width: 24%;
  --rot: -6deg;
  transform: rotate(var(--rot));
}

.polaroid--1 img,
.polaroid--4 img {
  aspect-ratio: 3 / 4;
}

.polaroid--2 {
  left: 16%;
  z-index: 7;
  width: 30%;
  --rot: 5deg;
  transform: rotate(var(--rot));
}

.polaroid--3 {
  left: 38%;
  z-index: 3;
  --rot: -3deg;
  transform: rotate(var(--rot));
}

.polaroid--4 {
  left: 56%;
  z-index: 4;
  --rot: 4deg;
  transform: rotate(var(--rot));
}

.polaroid--5 {
  left: 74%;
  z-index: 1;
  --rot: -5deg;
  transform: rotate(var(--rot));
}

.section-heading--stacked {
  max-width: 900px;
}

.section-heading h2 {
  font-size: clamp(2.45rem, 5.6vw, 5.7rem);
  line-height: 1.08;
}

.section-heading p {
  max-width: 620px;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.proof {
  overflow: visible;
  padding-top: clamp(3.25rem, 6vw, 6.5rem);
  padding-bottom: clamp(7rem, 12vw, 12rem);
}

.proof__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.proof__heading h2 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 100;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.proof__heading h2 em {
  font-weight: 100;
}

.proof__heading p {
  max-width: 22rem;
  padding-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.proof-grid {
  display: grid;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(148px, 11vw);
  gap: 0.42rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.proof-cell {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.proof-cell--photo img {
  transition: transform 1600ms var(--ease-out), filter 900ms ease;
}

.proof-cell--photo:hover img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.proof-cell--years {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.2rem 1.85rem;
  background: var(--accent);
  color: var(--paper);
}

.proof-years {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-family: "Sarabun", "Thonburi", "Leelawadee UI", sans-serif;
  font-size: clamp(5.4rem, 11.4vw, 9.6rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.62;
}

.proof-years sup {
  margin-top: 0.02em;
  font-size: 0.38em;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.proof-years__label {
  position: absolute;
  right: 0.45rem;
  bottom: 0.5rem;
  left: 0.45rem;
  max-width: none;
  margin-top: 0;
  font-size: clamp(0.92rem, 1.15vw, 1.12rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.proof-cell--note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 0.35rem 0.2rem 0.55rem;
}

.proof-cell--note h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.proof-cell--note p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.proof-cell--play {
  isolation: isolate;
}

.proof-play {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  transition: background-color 180ms ease, transform 180ms ease;
}

.proof-play:hover {
  background: var(--accent-dark);
  transform: scale(1.06);
}

.proof-play:active {
  transform: scale(0.95);
}

/* Modal player behind the grid's play buttons; the links reach YouTube without JavaScript. */
.video-lightbox {
  width: min(1120px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 24px;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.video-lightbox::backdrop {
  background: rgba(15, 18, 13, 0.91);
}

.video-lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.video-lightbox__top h2 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.video-lightbox__close {
  display: grid;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.video-lightbox__close:hover {
  background: var(--accent);
  color: var(--paper);
}

.video-lightbox__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.video-lightbox__frame {
  width: min(100%, calc((100dvh - 250px) * 16 / 9));
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--ink);
}

.video-lightbox__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__note {
  margin-top: 16px;
  font-size: 0.875rem;
}

.video-lightbox__note a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

body.video-open {
  overflow: hidden;
}

.proof-cell--reel {
  overflow: hidden;
  background: var(--ink);
}

.proof-reel,
.proof-reel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.proof-reel {
  position: relative;
  min-height: 100%;
  background: var(--ink);
}

.proof-reel a {
  display: none;
}

.proof-reel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.proof-reel__toggle {
  position: absolute;
  z-index: 2;
  right: 0.65rem;
  bottom: 0.65rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 250, 247, 0.72);
  border-radius: 50%;
  background: rgba(27, 28, 26, 0.88);
  color: #fffaf7;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.proof-reel__toggle:hover {
  background: var(--accent);
}

.proof-reel__toggle:active {
  transform: scale(0.95);
}

.proof-reel__toggle [data-reel-icon="pause"],
.proof-reel__toggle[aria-pressed="true"] [data-reel-icon="play"] {
  display: none;
}

.proof-reel__toggle[aria-pressed="true"] [data-reel-icon="pause"] {
  display: block;
}

.proof-cell--curve {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.9rem 0.75rem;
  border-radius: 0 0 0 7.5rem;
  background: var(--accent);
  color: var(--paper);
}

.proof-cell--curve p {
  writing-mode: vertical-rl;
  font-family: "Sarabun", "Thonburi", "Leelawadee UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.38em;
}

.proof__handoff {
  max-width: 1120px;
  margin: clamp(6rem, 10vw, 10rem) 0 0 auto;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--ink);
  font-family: "Sarabun", "Thonburi", "Leelawadee UI", sans-serif;
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 100;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.proof__handoff strong {
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   ส่วนล่างของหน้า: production marks
   ============================================================ */

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(13rem, 0.6fr);
  align-items: end;
  gap: clamp(3rem, 7vw, 8rem);
  min-height: 44vh;
  padding: clamp(4rem, 7vw, 7rem) var(--page-x) 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer__brand strong,
.site-footer__brand span {
  display: block;
}

.site-footer__brand strong {
  font-size: clamp(4rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.site-footer__brand span {
  margin-top: 0.65rem;
  color: rgba(242, 240, 234, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer__links {
  align-self: start;
  display: grid;
  gap: 0;
}

.site-footer__links a {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(242, 240, 234, 0.38);
  font-size: 1rem;
  font-weight: 700;
}

.site-footer__links a:last-child {
  border-bottom: 1px solid rgba(242, 240, 234, 0.38);
}

.site-footer__links a:hover {
  color: #ef6a54;
}

.site-footer__meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242, 240, 234, 0.18);
}

.site-footer__meta p {
  color: rgba(242, 240, 234, 0.6);
  font-size: 0.78rem;
}

.mobile-contact {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out);
}

.js.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js.js-ready .proof .reveal {
  opacity: 0;
  transform: scale(1.72);
  transform-origin: 50% 50%;
  transition: opacity 700ms ease, transform 1500ms cubic-bezier(0.22, 1, 0.32, 1);
}

.js.js-ready .proof .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js.js-ready .proof-grid .proof-cell:nth-child(1) { transition-delay: 0ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(2) { transition-delay: 70ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(3) { transition-delay: 140ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(4) { transition-delay: 40ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(5) { transition-delay: 180ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(6) { transition-delay: 250ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(7) { transition-delay: 320ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(8) { transition-delay: 210ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(9) { transition-delay: 360ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(10) { transition-delay: 430ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(11) { transition-delay: 500ms; }
.js.js-ready .proof-grid .proof-cell:nth-child(12) { transition-delay: 390ms; }

.top-marker {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .hero__keyart {
    inset: 0;
  }

  .hero__keyart img {
    object-position: 92% 40%;
  }

  .hero__polaroids {
    left: 77%;
    right: -14vw;
    width: auto;
    height: 200px;
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  }

  .hero h1 {
    font-size: clamp(3rem, 6.7vw, 5rem);
  }

  .hero__visual {
    min-height: 0;
  }

  .proof__heading {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(160px, 22vw);
    gap: 0.42rem;
  }
}

@media (max-width: 767px) {
  :root {
    --page-x: 1rem;
    --header-height: 64px;
  }

  body {
    padding-bottom: 64px;
  }

  .site-header {
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  .menu-toggle__lines,
  .menu-toggle__lines::before {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform 250ms var(--ease-out);
  }

  .menu-toggle__lines {
    position: relative;
  }

  .menu-toggle__lines::before {
    content: "";
    position: absolute;
    top: -6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    top: 0;
    transform: rotate(90deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: var(--z-menu);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 2rem var(--page-x) 7rem;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 320ms var(--ease-out), visibility 0s linear 320ms;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(2.25rem, 12vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    min-height: 0;
    padding: 0.8rem 0;
    background: transparent;
    color: var(--accent);
  }

  .hero {
    min-height: 100dvh;
    padding-top: 5.5rem;
    padding-bottom: 1.25rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(240px, 43dvh);
    align-content: stretch;
    gap: 1.25rem;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 4.5rem);
    line-height: 1.08;
  }

  .hero__lead {
    max-width: none;
    margin-top: 1rem;
    font-size: 0.96rem;
  }

  .hero__actions {
    margin-top: 1.4rem;
  }

  .hero__visual {
    position: relative;
    z-index: 0;
    inset: auto;
    min-height: clamp(280px, 78vw, 460px);
    width: calc(100% + (2 * var(--page-x)));
    margin-left: calc(-1 * var(--page-x));
  }

  .hero__keyart {
    inset: 0;
  }

  .hero__keyart img {
    object-position: 82% 18%;
    transform: scale(1.12);
    transform-origin: 80% 12%;
  }

  .hero__keyart::after {
    background: linear-gradient(180deg, var(--paper) 0%, rgba(242, 240, 234, 0) 22%);
  }

  .hero__polaroids {
    left: 66%;
    right: -32vw;
    bottom: 0.7rem;
    width: auto;
    height: 148px;
  }

  .proof__heading {
    display: block;
  }

  .proof__heading p {
    max-width: 34rem;
    margin-top: 1rem;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, auto);
    gap: 0.42rem;
  }

  .proof-cell--note {
    min-height: 150px;
  }

  .proof-cell--years,
  .proof-cell--curve,
  .proof-cell--reel {
    min-height: 220px;
  }

  .proof-years {
    font-size: clamp(5rem, 28vw, 8.2rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    gap: 2.5rem;
    padding-bottom: 2rem;
  }

  .site-footer__meta {
    flex-direction: column;
    gap: 0.35rem;
  }

  .mobile-contact {
    position: fixed;
    z-index: var(--z-mobile-cta);
    inset: auto 0 0;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fffaf7;
    font-weight: 800;
    box-shadow: 0 -10px 30px rgba(92, 26, 16, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    display: none;
  }

  .js.js-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .polaroid {
    animation: none !important;
    transform: rotate(var(--rot)) !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 > .eyebrow,
  .hero h1 > .hero__title-line,
  .hero__lead,
  .hero__actions {
    animation: hero-enter 900ms var(--ease-out) both;
  }

  .hero h1 > .hero__title-line { animation-delay: 90ms; }
  .hero__lead { animation-delay: 170ms; }
  .hero__actions { animation-delay: 240ms; }

  .polaroid {
    animation: polaroid-slide 1.15s var(--ease-out) both;
  }

  .polaroid--1 { animation-delay: 60ms; }
  .polaroid--2 { animation-delay: 140ms; }
  .polaroid--3 { animation-delay: 220ms; }
  .polaroid--4 { animation-delay: 300ms; }
  .polaroid--5 { animation-delay: 380ms; }
  .polaroid--6 { animation-delay: 460ms; }
  .polaroid--7 { animation-delay: 540ms; }

  .inquiry-polaroid--1 { animation-delay: 90ms; }
  .inquiry-polaroid--2 { animation-delay: 220ms; }
  .inquiry-polaroid--3 { animation-delay: 350ms; }
  .inquiry-polaroid--4 { animation-delay: 480ms; }
  .inquiry-polaroid--5 { animation-delay: 610ms; }
  .inquiry-polaroid--6 { animation-delay: 740ms; }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes polaroid-slide {
  from {
    transform: translateX(75vw) rotate(var(--rot));
  }
  to {
    transform: translateX(0) rotate(var(--rot));
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.contact-page {
  position: relative;
  min-height: 100dvh;
  overflow: visible;
  color: #efe6d4;
  background-color: #0c1a28;
  background-image:
    linear-gradient(rgba(239, 230, 212, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 230, 212, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

.home-blur,
.contact-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 18;
  height: min(48vh, 14rem);
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, transparent 100%);
}

.home-blur {
  background: linear-gradient(
    180deg,
    rgba(242, 240, 234, 0.28) 0%,
    rgba(242, 240, 234, 0.12) 42%,
    rgba(242, 240, 234, 0) 100%
  );
}

.contact-blur {
  background: linear-gradient(180deg, rgba(12, 26, 40, 0.28) 0%, rgba(12, 26, 40, 0.12) 42%, rgba(12, 26, 40, 0) 100%);
}

@media (prefers-reduced-transparency: reduce) {
  .home-blur,
  .contact-blur {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-blur {
    background: linear-gradient(180deg, rgba(242, 240, 234, 0.96) 0%, rgba(242, 240, 234, 0.82) 42%, rgba(242, 240, 234, 0) 100%);
  }

  .contact-blur {
    background: linear-gradient(180deg, rgba(12, 26, 40, 0.96) 0%, rgba(12, 26, 40, 0.82) 42%, rgba(12, 26, 40, 0) 100%);
  }
}

.contact-page .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.contact-page .site-header.is-scrolled {
  background: rgba(12, 26, 40, 0.94);
  border-bottom-color: rgba(239, 230, 212, 0.12);
}

.contact-page .wordmark,
.contact-page .site-nav {
  color: #efe6d4;
  text-shadow: none;
}

.contact-page .wordmark small,
.contact-page .site-nav a:not(.nav-cta) {
  color: rgba(239, 230, 212, 0.72);
}

.inquiry-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(14rem, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: calc(var(--header-height) + 1.75rem) var(--page-x) 4rem;
  overflow: visible;
}

.film-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.film-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 32% 42%, rgba(12, 26, 40, 0.18), transparent 70%),
    linear-gradient(105deg, rgba(12, 26, 40, 0.62) 0%, rgba(12, 26, 40, 0.28) 42%, rgba(12, 26, 40, 0.12) 100%);
}

.film-strip {
  position: absolute;
  top: -28vh;
  width: min(46vw, 34rem);
  height: 220vh;
  overflow: hidden;
  background: #0a1624;
  box-shadow: none;
  transform-origin: 50% 40%;
}

.film-strip--a {
  left: -10vw;
  transform: rotate(-26deg);
}

.film-strip--b {
  left: auto;
  right: -12vw;
  transform: rotate(26deg);
}

.film-strip__grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.08) 16%,
    rgba(0, 0, 0, 0.5) 34%,
    rgba(0, 0, 0, 0.02) 50%,
    rgba(0, 0, 0, 0.58) 68%,
    rgba(0, 0, 0, 0.12) 84%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.film-strip::before,
.film-strip::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='26' viewBox='0 0 32 26'%3E%3Crect x='8' y='6' width='16' height='14' rx='2.2' fill='%23f2f0ea'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: center top;
  pointer-events: none;
}

.film-strip::before { left: 0; }
.film-strip::after { right: 0; }

.film-strip__track {
  display: flex;
  flex-direction: column;
  padding: 0 2.15rem;
}

.film-strip--a .film-strip__track {
  animation: film-roll 52s linear infinite;
}

.film-strip--b .film-strip__track {
  animation: film-roll-rev 64s linear infinite;
}

.film-strip--soft {
  filter: blur(68px) saturate(1.18) brightness(1.28);
  opacity: 0.78;
}

.film-strip--b.film-strip--soft {
  filter: blur(82px) saturate(1.08) brightness(1.18);
  opacity: 0.58;
}

.film-strip--crisp {
  filter: blur(1.6px) saturate(1.12) brightness(1.45);
  opacity: 0.62;
}

.film-strip--a.film-strip--crisp {
  mask-image: linear-gradient(112deg, transparent 41%, rgba(0, 0, 0, 0.55) 48%, #000 52%, transparent 61%);
  -webkit-mask-image: linear-gradient(112deg, transparent 41%, rgba(0, 0, 0, 0.55) 48%, #000 52%, transparent 61%);
}

.film-strip--b.film-strip--crisp {
  mask-image: linear-gradient(-112deg, transparent 36%, rgba(0, 0, 0, 0.6) 47%, #000 52%, transparent 64%);
  -webkit-mask-image: linear-gradient(-112deg, transparent 36%, rgba(0, 0, 0, 0.6) 47%, #000 52%, transparent 64%);
}

.film-strip__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0;
}

.film-strip__group .film-frame:last-child {
  margin-bottom: 0.35rem;
}

.film-frame {
  margin: 0;
  padding: 0;
  background: #0c0b0a;
}

.film-frame img {
  aspect-ratio: 3 / 2;
  filter: contrast(1.06) saturate(0.88);
}

.inquiry-form {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  padding: 2.2rem 0 1.2rem;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.inquiry-index {
  position: relative;
  z-index: 1;
  left: auto;
  top: auto;
  margin: 0 0 0.35rem;
  color: #e31b23;
  font-family: "Sarabun", "Thonburi", "Leelawadee UI", sans-serif;
  font-size: clamp(3.6rem, 10vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
  pointer-events: none;
  user-select: none;
}

.inquiry-kicker,
.inquiry-form h1,
.inquiry-lead,
.inquiry-group,
.inquiry-status,
.inquiry-form .button {
  position: relative;
  z-index: 1;
}

.inquiry-kicker {
  max-width: none;
  margin: 0 0 0.15rem;
  color: rgba(239, 230, 212, 0.7);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.inquiry-form h1 {
  max-width: 12ch;
  margin-top: 0;
  margin-left: auto;
  color: #efe6d4;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-align: right;
}

.inquiry-lead {
  max-width: 22rem;
  margin: 0.9rem 0 1.8rem auto;
  color: rgba(239, 230, 212, 0.62);
  font-size: 0.88rem;
  line-height: 1.7;
  text-align: right;
}

.inquiry-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.9rem;
}

.inquiry-group + .inquiry-group {
  margin-top: 2.6rem;
  padding-top: 0.35rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.3rem;
}

.inquiry-form__wide {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.3rem;
  margin: 0;
}

.inquiry-form label span,
.inquiry-form__wide span {
  color: #e31b23;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(239, 230, 212, 0.22);
  border-radius: 10px;
  background: rgba(8, 16, 26, 0.45);
  color: #efe6d4;
  font: inherit;
  font-size: 0.92rem;
  resize: vertical;
}

.inquiry-form textarea {
  min-height: 7.5rem;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(239, 230, 212, 0.38);
}

.inquiry-form input:focus-visible,
.inquiry-form textarea:focus-visible {
  outline: 2px solid #e31b23;
  outline-offset: 2px;
  background: rgba(8, 16, 26, 0.7);
}

.inquiry-status {
  margin-bottom: 0.85rem;
  color: #efe6d4;
  font-size: 0.88rem;
  font-weight: 600;
}

.inquiry-form .button {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  min-width: 10rem;
  min-height: 46px;
  background: #e31b23;
}

.inquiry-polaroids {
  position: relative;
  min-height: 68rem;
  margin-left: 1.5rem;
}

.inquiry-polaroid {
  bottom: auto;
  height: auto;
  width: min(27.5rem, 108%);
  padding: 0.5rem 0.5rem 2.15rem;
}

.inquiry-polaroid img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.inquiry-polaroid--1 {
  top: 0.4rem;
  left: 8%;
  z-index: 2;
  --rot: -8deg;
}

.inquiry-polaroid--2 {
  top: 6.5rem;
  left: 58%;
  z-index: 3;
  width: min(29rem, 118%);
  --rot: 6deg;
}

.inquiry-polaroid--3 {
  top: 23rem;
  left: 10%;
  z-index: 1;
  width: min(26rem, 104%);
  --rot: 4deg;
}

.inquiry-polaroid--4 {
  top: 26rem;
  left: 64%;
  z-index: 4;
  width: min(19.5rem, 80%);
  --rot: -5deg;
}

.inquiry-polaroid--4 img {
  aspect-ratio: 2 / 3;
}

.inquiry-polaroid--5 {
  top: 43rem;
  left: 14%;
  z-index: 2;
  width: min(27rem, 110%);
  --rot: -6deg;
}

.inquiry-polaroid--6 {
  top: 50rem;
  left: 60%;
  z-index: 1;
  width: min(28.5rem, 116%);
  --rot: 3deg;
}

@keyframes film-roll {
  to { transform: translateY(-50%); }
}

@keyframes film-roll-rev {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

@media (max-width: 1040px) {
  .inquiry-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .inquiry-polaroids {
    display: none;
  }
}

@media (max-width: 767px) {
  .inquiry-layout {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 1rem);
  }

  .film-strip {
    width: min(78vw, 22rem);
    height: 200vh;
  }

  .film-strip--a {
    left: -22vw;
  }

  .film-strip--b {
    right: -24vw;
  }

  .inquiry-form {
    transform: none;
  }

  .inquiry-group {
    grid-template-columns: 1fr;
  }
}

@keyframes film-roll-x {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .film-strip__track {
    animation: none;
  }
}
