@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/BodoniModa.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/Manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --cream: #f4f1e8;
  --cream-deep: #e8e1d3;
  --paper: #fbf9f4;
  --red: #a3392f;
  --red-deep: #7f2923;
  --ink: #1a1a18;
  --muted: #625d56;
  --line: rgba(26, 26, 24, 0.2);
  --content: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", "Noto Sans Lao", "Noto Sans Thai", "Noto Sans KR", "Noto Sans SC", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(244, 241, 232, 0.97);
  border-bottom-color: var(--line);
}

.header-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  text-transform: uppercase;
}

.header-brand span {
  font-family: "Bodoni Moda", Didot, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.08em;
}

.header-brand small {
  margin-top: 0.38rem;
  color: var(--red);
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-content: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 1.55rem;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(0.38rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.site-navigation {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 7rem var(--gutter) 3rem;
  visibility: hidden;
  opacity: 0;
  background: var(--cream);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.site-navigation.is-open {
  visibility: visible;
  opacity: 1;
}

.site-navigation > a,
.language-switcher summary {
  font-family: "Bodoni Moda", Didot, serif;
  font-size: clamp(2rem, 9vw, 4rem);
  line-height: 1.05;
  text-decoration: none;
  cursor: pointer;
}

.language-switcher {
  width: 100%;
}

.language-switcher summary {
  color: var(--red);
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.language-list a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: 7.5rem var(--gutter) 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -18vw;
  bottom: -22vw;
  width: min(92vw, 46rem);
  aspect-ratio: 1;
  border: 1px solid rgba(163, 57, 47, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 4vw rgba(163, 57, 47, 0.04), 0 0 0 12vw rgba(163, 57, 47, 0.035);
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1,
.display-title {
  margin: 0;
  font-family: "Bodoni Moda", Didot, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 16vw, 8.5rem);
  letter-spacing: -0.035em;
}

.hero-body {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-deep);
}

.button-text {
  min-height: auto;
  padding-inline: 0;
  border-bottom: 1px solid currentColor;
}

.hero-art {
  width: min(60vw, 17rem);
  justify-self: end;
  margin-right: 2vw;
}

.hero-mark-wrap {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1.25rem 4rem rgba(26, 26, 24, 0.12);
  transform: rotate(-4deg);
}

.hero-mark {
  width: 84%;
  border-radius: 50%;
}

.hero-art p {
  margin: 1rem 0 0;
  color: var(--red);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.hero-rule {
  position: absolute;
  left: var(--gutter);
  bottom: 1.5rem;
  width: calc(100% - (2 * var(--gutter)));
  height: 1px;
  background: var(--line);
}

.identity-section,
.moods-section,
.careers-section {
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.section-grid,
.moods-heading,
.active-role,
.future-roles,
.site-footer {
  max-width: var(--content);
  margin-inline: auto;
}

.section-grid {
  display: grid;
  gap: 2rem;
}

.display-title {
  max-width: 13ch;
  font-size: clamp(2.9rem, 8vw, 6.8rem);
  letter-spacing: -0.03em;
}

.lead {
  max-width: 44rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
}

.section-aside {
  align-self: end;
  max-width: 24rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--red);
  color: var(--muted);
}

.moods-section {
  color: var(--paper);
  background: var(--ink);
}

.moods-section .section-kicker {
  color: #cf6a5f;
}

.moods-section .lead {
  color: rgba(251, 249, 244, 0.66);
}

.mood-list {
  max-width: var(--content);
  display: grid;
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  padding: 0;
  border-top: 1px solid rgba(251, 249, 244, 0.25);
  list-style: none;
}

.mood-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(251, 249, 244, 0.25);
}

.mood-list span,
.future-roles li span {
  color: #cf6a5f;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.mood-list strong {
  font-family: "Bodoni Moda", Didot, serif;
  font-size: clamp(2.25rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.mood-close {
  max-width: var(--content);
  margin: 2rem auto 0;
  color: rgba(251, 249, 244, 0.7);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.careers-section {
  background: var(--cream-deep);
}

.careers-page-hero {
  max-width: var(--content);
  margin-inline: auto;
  padding: clamp(9rem, 15vw, 13rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}

.careers-page-hero .display-title {
  max-width: 11ch;
}

.careers-page-hero .lead {
  max-width: 50rem;
}

.careers-detail {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.active-role {
  overflow: hidden;
  color: var(--paper);
  background: var(--red);
}

.role-heading,
.role-columns,
.role-offer,
.application-block {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.role-heading {
  border-bottom: 1px solid rgba(251, 249, 244, 0.28);
}

.role-heading p {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.role-heading h2 {
  max-width: 14ch;
  margin: 0;
  font-family: "Bodoni Moda", Didot, serif;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 1;
}

.role-heading span {
  display: block;
  margin-top: 1.2rem;
  color: rgba(251, 249, 244, 0.9);
}

.role-columns {
  display: grid;
  gap: 2rem;
}

.role-columns h3,
.application-block h3 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.role-columns ul,
.application-block ol {
  margin: 0;
  padding-left: 1.15rem;
}

.role-columns li,
.application-block li {
  margin-top: 0.65rem;
  padding-left: 0.35rem;
}

.role-offer {
  margin: 0;
  border-top: 1px solid rgba(251, 249, 244, 0.28);
  border-bottom: 1px solid rgba(251, 249, 244, 0.28);
  font-family: "Bodoni Moda", Didot, serif;
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  line-height: 1.25;
}

.application-block {
  display: grid;
  align-items: end;
  gap: 2rem;
  color: var(--ink);
  background: var(--paper);
}

.application-block p {
  margin: 0 0 1rem;
}

.application-block .own-words {
  max-width: 47rem;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 0.9rem;
}

.button-light {
  width: max-content;
  color: var(--paper);
  background: var(--ink);
}

.future-roles {
  display: grid;
  gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.future-roles p {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
}

.future-roles ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.future-roles li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: grid;
  gap: 2rem;
  padding: 3rem var(--gutter);
  color: var(--paper);
  background: var(--ink);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 4.25rem;
  border-radius: 50%;
  background: var(--paper);
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-brand strong {
  font-family: "Bodoni Moda", Didot, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.footer-brand span,
.site-footer p,
.site-footer > a {
  color: rgba(251, 249, 244, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer > a {
  width: max-content;
  align-self: center;
  color: var(--paper);
  text-underline-offset: 0.35em;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.hero-reveal {
  animation: hero-in 700ms both;
}

.hero-reveal:nth-child(2) { animation-delay: 80ms; }
.hero-reveal:nth-child(3) { animation-delay: 160ms; }
.hero-reveal:nth-child(4) { animation-delay: 240ms; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.locale-root {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter);
  text-align: center;
}

.locale-root main {
  width: min(100%, 36rem);
}

.locale-root img {
  width: min(60vw, 16rem);
  margin-inline: auto;
}

.locale-root p {
  margin: 2rem 0 1.25rem;
  color: var(--muted);
}

.root-language-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.root-language-list a {
  color: var(--red);
  text-underline-offset: 0.3em;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  }

  .hero-art {
    width: min(29vw, 22rem);
    justify-self: center;
    margin-right: 0;
  }

  .section-grid {
    grid-template-columns: minmax(7rem, 0.3fr) minmax(0, 1.35fr) minmax(12rem, 0.5fr);
  }

  .moods-heading {
    display: grid;
    grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
    gap: 1rem 3rem;
  }

  .moods-heading .section-kicker {
    grid-row: 1 / span 2;
  }

  .mood-list {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(251, 249, 244, 0.25);
  }

  .mood-list li {
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(251, 249, 244, 0.25);
    border-bottom: 0;
  }

  .mood-list li:last-child {
    padding-left: 1.5rem;
    border-right: 0;
  }

  .mood-list li:nth-child(2) {
    padding-left: 1.5rem;
  }

  .role-columns,
  .application-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-roles {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .site-header {
    min-height: 5.25rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-navigation {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    padding: 0;
    visibility: visible;
    opacity: 1;
    background: transparent;
  }

  .site-navigation > a,
  .language-switcher summary {
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .site-navigation > a {
    text-decoration: none;
  }

  .site-navigation > a:hover,
  .site-navigation > a:focus-visible {
    color: var(--red);
  }

  .language-switcher {
    position: relative;
    width: auto;
  }

  .language-list {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 12rem;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 1rem 2rem rgba(26, 26, 24, 0.1);
  }

  .language-list a {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
