/* Temp build input: emits ONLY the component + custom layers.
   No @tailwind base (CDN ships preflight) and no @tailwind utilities
   (CDN generates those in the browser). */

/* ---------- fonts ---------- */

/* Self-hosted brand faces. One file per family, so the weight range is declared
   wide: every weight the components ask for (400-600) maps to the single face
   instead of falling back to Sarabun. */

@font-face {
  font-family: "AlethiaNext";
  src: url("../font/AlethiaNext-Regular.woff2") format("woff2"),
       url("../font/AlethiaNext-Regular.woff") format("woff");
  font-weight: 200 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Murberry-Normal";
  src: url("../font/Murberry-Normal.woff2") format("woff2"),
       url("../font/Murberry-Normal.woff") format("woff");
  font-weight: 200 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Circular B";
  src: url("../font/EuclidCircularB-Light.woff2") format("woff2"),
       url("../font/EuclidCircularB-Light.woff") format("woff");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* Murberry is a display face used for headings and labels, so every
   `font-head` element is uppercased here rather than per-element in the markup.
   The CDN injects its utilities after this file, so `normal-case` still wins
   wherever a heading needs mixed case. */

.font-head {
  text-transform: uppercase;
}

/* ---------- base ---------- */

html {
  scroll-behavior: smooth;
}

/* Selected text in the house colours: crimson ground, ivory letters.
   `::-moz-selection` is listed separately because one unknown selector
   invalidates the whole rule. */

::selection {
  background-color: #741623;
  color: #fffafb;
  text-shadow: none;
}

::-moz-selection {
  background-color: #741623;
  color: #fffafb;
  text-shadow: none;
}

/* …inverted on the dark sections, where crimson on burgundy is unreadable. */

.bg-ink ::selection,
.bg-burgundy ::selection,
footer ::selection {
  background-color: #dbc7a1;
  color: #44070f;
}

.bg-ink ::-moz-selection,
.bg-burgundy ::-moz-selection,
footer ::-moz-selection {
  background-color: #dbc7a1;
  color: #44070f;
}

/* ---------- Google Website Translator ---------- */

/* The widget is left exactly as Google ships it. The only thing changed is
   the banner strip it pins to the top of the page, and the body offset that
   strip creates — delete this whole block to get the stock behaviour back. */

iframe.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}

body,
html {
  top: 0 !important;
  position: static !important;
}

/* The language control is the pair of flags; js/main.js writes Google's
   `googtrans` cookie and reloads, and the widget translates the page on the
   way back. Its own gadget still has to be in the DOM and rendered for that
   to initialise, so it is moved out of sight rather than `display: none`. */

#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.flag-btn {
  display: block;
  padding: 2px;
  border: 1px solid transparent;
  line-height: 0;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 200ms, border-color 200ms;
}

.flag-btn:hover {
  opacity: 1;
}

.flag-btn img {
  display: block;
  width: 24px;
  height: 16px;
  object-fit: cover;
}

/* the language in use: full strength, gold hairline */

.flag-btn.is-active {
  opacity: 1;
  border-color: #dbc7a1;
  cursor: default;
}

/* Page scrollbar, likewise. `scrollbar-color` (Firefox, and Chrome 121+)
   inherits, so inner scrollers pick up the same palette; the ::-webkit rules
   are scoped to the document so carousels and the gallery tab rail keep their
   slim default bar. */

html {
  scrollbar-width: thin;
  scrollbar-color: #741623 #f2e8dc;
}

html::-webkit-scrollbar {
  width: 11px;
}

html::-webkit-scrollbar-track {
  background-color: #f2e8dc;
}

html::-webkit-scrollbar-thumb {
  border: 3px solid #f2e8dc;
  border-radius: 999px;
  background-color: #741623;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #44070f;
}

/* `html body` (0-0-2) not `body` (0-0-1): the CDN injects preflight AFTER this
   file, and preflight sets `body { line-height: inherit }` which would
   otherwise win and drop leading-relaxed. */

html body {
  --tw-bg-opacity: 1;
  background-color: rgb(255 250 251 / var(--tw-bg-opacity, 1));
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-weight: 400;
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(38 3 7 / var(--tw-text-opacity, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid #dbc7a1;
  outline-offset: 3px;
}

.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1380px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .wrap {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* buttons */

.btn {
  display: inline-block;
  padding-left: 34px;
  padding-right: 34px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.btn-ivory {
  --tw-bg-opacity: 1;
  background-color: rgb(255 250 251 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

.btn-ivory:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(219 199 161 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

.btn-crimson {
  --tw-bg-opacity: 1;
  background-color: rgb(116 22 35 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 250 251 / var(--tw-text-opacity, 1));
}

.btn-crimson:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(94 15 26 / var(--tw-bg-opacity, 1));
}

.btn-sand {
  --tw-bg-opacity: 1;
  background-color: rgb(219 199 161 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

.btn-sand:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 250 251 / var(--tw-bg-opacity, 1));
}

/* section heading + filter tabs */

.sec-title {
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

@media (max-width: 768px) {
  .sec-title {
    font-size: 26px;
  }
}

.tab {
  border-bottom-width: 1px;
  border-color: transparent;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  --tw-text-opacity: 1;
  color: rgb(107 82 85 / var(--tw-text-opacity, 1));
}

.tab:hover {
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

.tab[aria-selected="true"] {
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

/* horizontal rails (cards + journal) */

.rail {
  display: grid;
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
  --tw-scroll-snap-strictness: mandatory;
  grid-auto-columns: 78%;
  grid-auto-flow: column;
  gap: 21px;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .rail {
    grid-auto-columns: calc((100% - 21px) / 2);
  }
}

@media (min-width: 1024px) {
  .rail {
    grid-auto-columns: calc((100% - 63px) / 4);
  }
}

.rail {
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .rail-3 {
    grid-auto-columns: calc((100% - 42px) / 3);
  }
}

/* product / collection card */

/* flex column + `margin-top: auto` on the trailing link so every card in a rail
   lines its call-to-action up on the same baseline, however long the copy runs. */

.card,
.post {
  display: flex;
  height: 100%;
  flex-direction: column;
  scroll-snap-align: start;
}

.card[hidden] {
  display: none;
}

.card .ph {
  position: relative;
  flex: none;
  aspect-ratio: 4/5;
  overflow: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(242 232 220 / var(--tw-bg-opacity, 1));
}

.card .ph img,
.post .ph img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.card:hover .ph img,
.post:hover .ph img {
  transform: scale(1.04);
}

.card .tag {
  position: absolute;
  left: 0px;
  top: 18px;
  --tw-bg-opacity: 1;
  background-color: rgb(116 22 35 / var(--tw-bg-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  --tw-text-opacity: 1;
  color: rgb(255 250 251 / var(--tw-text-opacity, 1));
}

.card h3 {
  margin-top: 17px;
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* The worlds rail carries one-word titles in wider tiles, so it runs a size
   larger than the other rails. Scoped to .rail-worlds, not .rail-3, because
   .rail-3 is layout only — other three-up rails keep the 24px title. */

.rail-worlds .card h3 {
  font-size: 30px;
}

.card p {
  margin-top: 0.125rem;
  font-size: 20px;
  line-height: 1.5;
  --tw-text-opacity: 1;
  color: rgb(107 82 85 / var(--tw-text-opacity, 1));
}

.card .more {
  margin-top: auto;
  padding-top: 0.625rem;
  display: inline-block;
  align-self: flex-start;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

/* collection slider — a native scroll-snap track, so swipe/momentum come free.
   Arrows and dots are injected by js/main.js ([data-cslider]); with JS off the
   track is still a scrollable, snapping gallery. */

.cs-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cs-track::-webkit-scrollbar {
  display: none;
}

.cs-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Top-aligned: the 9:16 lookbook portraits frame the model's head right at the
   top edge, so any vertical crop takes it off. The 4:5 sources have nothing to
   crop and the square ones only crop horizontally, so this is a no-op there. */

.cs-slide img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 0%;
  object-position: 50% 0%;
}

.cs-dot {
  height: 5px;
  width: 5px;
  border-radius: 9999px;
  background-color: rgb(255 250 251 / 0.55);
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

.cs-dot[aria-current="true"] {
  width: 14px;
  --tw-bg-opacity: 1;
  background-color: rgb(219 199 161 / var(--tw-bg-opacity, 1));
}

/* contact form (js/contact.js -> mail.php) */

.field-label {
  margin-bottom: 0.5rem;
  display: block;
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

.field {
  display: block;
  width: 100%;
  border: 1px solid rgb(68 7 15 / 0.18);
  --tw-bg-opacity: 1;
  background-color: rgb(255 250 251 / var(--tw-bg-opacity, 1));
  padding: 0.85rem 1rem;
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  --tw-text-opacity: 1;
  color: rgb(38 3 7 / var(--tw-text-opacity, 1));
  transition: border-color 0.2s ease;
}

.field::-moz-placeholder {
  color: rgb(107 82 85 / 0.7);
}

.field::placeholder {
  color: rgb(107 82 85 / 0.7);
}

.field:hover {
  border-color: rgb(116 22 35 / 0.45);
}

.field:focus {
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
}

textarea.field {
  resize: vertical;
  min-height: 150px;
}

/* process page — filter tabs + masonry gallery (js/process.js) */

.pg-tab {
  flex: none;
  border: 1px solid rgb(68 7 15 / 0.25);
  padding: 0.55rem 1.1rem;
  font-family: "AlethiaNext", Sarabun, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.pg-tab:hover {
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

.pg-tab[aria-pressed="true"] {
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(116 22 35 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 250 251 / var(--tw-text-opacity, 1));
}

.pg-tab-n {
  margin-left: 0.5rem;
  font-size: 10px;
  opacity: 0.65;
}

.pg-tab[aria-pressed="true"] .pg-tab-n {
  --tw-text-opacity: 1;
  color: rgb(219 199 161 / var(--tw-text-opacity, 1));
  opacity: 1;
}

/* columns are real elements, not CSS `columns`, so that "Load more" appends
   without reshuffling what is already on screen */

.pg-grid {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 768px) {
  .pg-grid {
    gap: 18px;
  }
}

.pg-col {
  display: flex;
  min-width: 0;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .pg-col {
    gap: 18px;
  }
}

.pg-item {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
  --tw-bg-opacity: 1;
  background-color: rgb(242 232 220 / var(--tw-bg-opacity, 1));
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* starting state for a freshly appended tile; js removes it on the next frame */

.pg-item.pg-enter {
  opacity: 0;
  transform: scale(0.96);
}

.pg-item img {
  display: block;
  height: auto;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1);
}

.pg-item:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .pg-item,
  .pg-item img {
    transition: none;
  }

  .pg-item:hover img {
    transform: none;
  }
}

/* journal post */

.post .ph {
  flex: none;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(242 232 220 / var(--tw-bg-opacity, 1));
}

.post .cat {
  margin-top: 1.25rem;
  display: block;
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

.post h3 {
  margin-top: 0.5rem;
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 21px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.post .by {
  margin-top: auto;
  padding-top: 0.75rem;
  display: block;
  font-size: 17px;
  --tw-text-opacity: 1;
  color: rgb(107 82 85 / var(--tw-text-opacity, 1));
}

/* The home activity cards carry the same descriptions as the House Activities
   section on our-journey.html, so they match its body type (15.5px/1.75). */

.post p {
  margin-top: 0.75rem;
  font-size: 15.5px;
  line-height: 1.75;
  --tw-text-opacity: 1;
  color: rgb(107 82 85 / var(--tw-text-opacity, 1));
}

/* footer */

.f-title {
  margin-bottom: 22px;
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  --tw-text-opacity: 1;
  color: rgb(219 199 161 / var(--tw-text-opacity, 1));
}

.f-list li {
  margin-bottom: 9px;
  font-size: 17px;
}

.f-list a:hover {
  --tw-text-opacity: 1;
  color: rgb(255 250 251 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-underline-offset: 4px;
}

/* inner-page helpers */

.prose-ch p {
  margin-bottom: 1.25rem;
  font-size: 17px;
  line-height: 1.8;
  --tw-text-opacity: 1;
  color: rgb(38 3 7 / var(--tw-text-opacity, 1));
}

.prose-ch p.lead {
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 20px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.35;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .prose-ch p.lead {
    font-size: 20px;
  }
}

.prose-ch p.big {
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.375;
  letter-spacing: 0.06em;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .prose-ch p.big {
    font-size: 28px;
  }
}

.h2-ch {
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 40px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.08em;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

@media (max-width: 768px) {
  .h2-ch {
    font-size: 28px;
  }
}

.eyebrow {
  margin-bottom: 1rem;
  display: block;
  font-family: "AlethiaNext", serif;
  font-style: normal;
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1.4;
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .eyebrow {
    font-size: 26px;
  }
}

.eyebrow-sand {
  --tw-text-opacity: 1;
  color: rgb(219 199 161 / var(--tw-text-opacity, 1));
}

.chip {
  border-width: 1px;
  border-color: rgb(68 7 15 / 0.3);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    -webkit-backdrop-filter;
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
    transform, filter, backdrop-filter;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter,
    -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.chip:hover {
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(116 22 35 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 250 251 / var(--tw-text-opacity, 1));
}

.val {
  border-top-width: 1px;
  border-color: rgb(116 22 35 / 0.4);
  padding-top: 1.25rem;
}

.val h3 {
  margin-bottom: 0.5rem;
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

.val p {
  font-size: 17px;
  line-height: 1.7;
  --tw-text-opacity: 1;
  color: rgb(107 82 85 / var(--tw-text-opacity, 1));
}

.more-link {
  /* border-bottom-width: 1px; */
  --tw-border-opacity: 1;
  border-color: rgb(116 22 35 / var(--tw-border-opacity, 1));
  font-family: "Euclid Circular B", Sarabun, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  --tw-text-opacity: 1;
  color: rgb(116 22 35 / var(--tw-text-opacity, 1));
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    -webkit-backdrop-filter;
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow,
    transform, filter, backdrop-filter;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter,
    -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.more-link:hover {
  --tw-text-opacity: 1;
  color: rgb(68 7 15 / var(--tw-text-opacity, 1));
}

/* ---------- components ---------- */

/* ---------- custom pieces Tailwind can't express cleanly ---------- */

.marquee-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee-track span {
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-weight: 200;
  font-size: clamp(54px, 8.5vw, 138px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #44070f;
  padding-right: 0.6em;
  white-space: nowrap;
}

.marquee-track b {
  font-weight: 200;
  color: #741623;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.hero-mark {
  font-size: clamp(90px, 23.5vw, 300px);
  bottom: -0.17em;
}

.foot-mark {
  font-size: clamp(70px, 19.5vw, 250px);
  margin: -30px 0 -0.12em;
}

.twoup-cap::before {
  content: "";
  position: absolute;
  inset: -160px 0 -56px;
  z-index: -1;
  background: rgba(38, 3, 7, 0.5);
  -webkit-mask: linear-gradient(0deg, #000 40%, transparent);
  mask: linear-gradient(0deg, #000 40%, transparent);
}

/* The statement has to hold on one line, so its size is driven by the viewport
   instead of a fixed ramp. Set in Murberry the line measures 20.53em (incl. the
   -.005em tracking), and .wrap leaves 100vw - 5rem of room until it caps at
   1380px, i.e. 1300px. 4.1vw keeps >=3.5% headroom at every width, and 61px
   caps it so the line still fits 1300px on wide screens. */

.statement-text {
  font-size: min(4.1vw, 61px);
  white-space: nowrap;
}

.statement-text em {
  font-family: "Murberry-Normal", Sarabun, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #741623;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
}

/* mobile nav dropdown — animated open/close (.is-open toggled by js/main.js).
   display can't be transitioned, so the panel animates max-height + opacity
   instead. Above md the media query drops out and the md: utilities take over. */

@media (max-width: 767.98px) {
  .nav-menu {
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.36s cubic-bezier(0.2, 0.6, 0.2, 1),
      opacity 0.26s ease,
      visibility 0s linear 0.36s;
  }

  .nav-menu.is-open {
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transition:
      max-height 0.36s cubic-bezier(0.2, 0.6, 0.2, 1),
      opacity 0.26s ease,
      visibility 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu {
    transition: none;
  }
}

/* scroll reveal (classes applied by js/main.js) */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* woven-silk photo backdrop for dark statement bands.
   Pair with .bg-burgundy (fallback colour) + .text-ivory. The gradient keeps
   ivory text readable; the 50% 72% crop sits on the fabric, below the book. */

.silk-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(68, 7, 15, 0.84), rgba(38, 3, 7, 0.9)), url("../images/tx-c.jpg");
  background-position:
    center,
    50% 72%;
  background-size: cover;
  background-repeat: no-repeat;
}
.font-script {
  font-style: normal;
  text-transform: uppercase;
}
#gallery-tabs{
  padding: 0 40px;
}