/* Jim lives inside the main hub. Keep all overrides scoped and shared brand CSS intact. */
@font-face {
  font-family: JimThai;
  src: url('./noto-sans-thai-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.jim-site {
  --jim-thai: JimThai, "Noto Sans Thai", Tahoma, Arial, sans-serif;
  --jim-quiet: #bdb6aa;
  font-family: var(--jim-thai);
  line-height: 1.8;
}

.jim-site h1,
.jim-site h2,
.jim-site h3,
.jim-site input,
.jim-site select,
.jim-site textarea,
.jim-site button {
  font-family: var(--jim-thai);
  letter-spacing: 0;
}

.jim-site [lang="en"] {
  font-family: Jost, Arial, sans-serif;
}

.jim-site .jim-en {
  display: inline-block;
  font-size: .8em;
  letter-spacing: .02em;
  margin-left: .35em;
  font-weight: 400;
}

.jim-site .jim-copy-en {
  display: block;
  margin-top: .5em;
  font-size: .88em;
  line-height: 1.7;
  color: var(--jim-quiet);
}

.jim-site .eyebrow {
  letter-spacing: .05em;
  line-height: 1.6;
}

.jim-site a:focus-visible,
.jim-site button:focus-visible,
.jim-site input:focus-visible,
.jim-site select:focus-visible,
.jim-site textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.jim-site #main:focus {
  outline: none;
}

.jim-header .header-inner {
  max-width: 1640px;
  height: 106px;
  gap: 32px;
}

.jim-brand img {
  width: 230px;
  height: auto;
  object-fit: contain;
}

.jim-ambassador-label {
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .11em;
  color: var(--ivory);
}

.jim-header .nav-links {
  gap: clamp(16px, 2vw, 30px);
  font-size: 13px;
}

.jim-header .nav-links a {
  padding: 10px 0;
}

.jim-header .nav-links .jim-en {
  display: block;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--jim-quiet);
}

.jim-header .nav-links .jim-main-hub {
  color: var(--accent);
  white-space: nowrap;
}

.jim-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, .8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  min-height: 700px;
  padding-top: 88px;
  padding-bottom: 88px;
  overflow: hidden;
  background: linear-gradient(135deg, #17171c, #0f0f14 62%);
}

.jim-hero-frame {
  position: absolute;
  inset: 25px 26px;
  z-index: -1;
  border: 1px solid #f1e9d62b;
  clip-path: polygon(0 16px, 16px 16px, 16px 0, calc(100% - 16px) 0, calc(100% - 16px) 16px, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 16px calc(100% - 16px), 0 calc(100% - 16px));
}

.jim-hero-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #f1e9d618;
}

.jim-hero-intro {
  color: var(--accent);
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.jim-site .jim-hero h1 {
  font-family: Poiret, sans-serif;
  font-size: clamp(40px, 5.3vw, 86px);
  line-height: 1.13;
  letter-spacing: .055em;
  color: #fff;
}

.jim-hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--ivory);
  font-size: 1.12em;
}

.jim-lead {
  max-width: 580px;
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.9;
}

.jim-hero-copy > .jim-copy-en {
  max-width: 560px;
  margin-top: 12px;
  font-size: 15px;
}

.jim-hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.jim-hero-actions .button,
.jim-hero-actions .text-link {
  font-size: 13px;
  gap: 17px;
}

.jim-hero-side {
  min-width: 0;
  width: 100%;
  max-width: 340px;
  justify-self: end;
}

.jim-portrait {
  margin: 0;
}

.jim-portrait-frame,
.jim-slot-frame {
  width: 100%;
}

.jim-portrait-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  padding: 25px 20px;
  border: 1px solid #767269;
  background: linear-gradient(145deg, #2b2b31, #19191e);
  overflow: hidden;
}

.jim-portrait-frame::before,
.jim-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #f1e9d624;
  z-index: -1;
}

.jim-portrait-frame::after {
  inset: 14px;
  border-color: #f1e9d612;
}

.jim-portrait-silhouette {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .65;
}

.jim-portrait-silhouette::before {
  content: "";
  position: absolute;
  top: 21%;
  left: 36%;
  width: 28%;
  aspect-ratio: 1;
  border: 1px solid #bdb6aa55;
  border-radius: 50%;
  background: #a5a1990b;
}

.jim-portrait-silhouette::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 20%;
  width: 60%;
  height: 34%;
  border: 1px solid #bdb6aa44;
  border-radius: 50% 50% 0 0;
  background: #a5a1990b;
}

.jim-placeholder-word {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ivory);
  background: #19191ee8;
  padding: 4px 10px;
}

.jim-portrait-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--jim-quiet);
  margin-top: 7px;
}

.jim-portrait-label [lang="en"] {
  font-size: 10px;
}

.jim-portrait figcaption {
  margin-top: 11px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--jim-quiet);
}

.jim-portrait figcaption [lang="en"] {
  display: block;
}

.jim-profile {
  scroll-margin-top: 128px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.jim-site .jim-profile h2 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.jim-profile p {
  font-size: 12px;
  color: #d0c9be;
}

.jim-profile .jim-copy-en {
  font-size: 11px;
}

.jim-section-head h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.6;
  letter-spacing: 0;
}

.jim-section-head h2 .jim-en {
  font-family: Poiret, sans-serif;
  font-size: .75em;
  letter-spacing: .075em;
}

.jim-section-head > p {
  max-width: 410px;
  color: var(--jim-quiet);
}

.jim-portfolio-note {
  border-top: 1px solid #454249;
  padding-top: 18px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--jim-quiet);
}

.jim-portfolio-note [lang="en"] {
  display: block;
  margin-top: 4px;
}

.jim-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 22px;
  max-width: 1080px;
  margin: 32px auto 0;
}

.jim-portfolio-slot {
  min-width: 0;
  margin: 0;
}

.jim-slot-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2c2c31, #19191e);
  border: 1px solid #59565d;
  overflow: hidden;
}

.jim-slot-frame::before,
.jim-slot-frame::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid #f1e9d625;
  z-index: -1;
}

.jim-slot-frame::after {
  inset: 17px;
  border-color: #f1e9d613;
}

.jim-portfolio-slot:nth-child(3n + 2) .jim-slot-frame {
  background: linear-gradient(180deg, #232328, #303036 48%, #19191e);
}

.jim-portfolio-slot:nth-child(3n + 3) .jim-slot-frame {
  background: linear-gradient(115deg, #202025, #34343a, #202025);
}

.jim-slot-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: Poiret, sans-serif;
  font-size: 28px;
  line-height: 1;
  color: #bdb6aa;
}

.jim-slot-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px;
}

.jim-slot-rule {
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: .75;
  margin-bottom: 22px;
}

.jim-site .jim-slot-word {
  font-family: Poiret, sans-serif;
  font-size: clamp(16px, 2.8vw, 38px);
  line-height: 1.4;
  letter-spacing: .12em;
}

.jim-slot-status {
  margin-top: 22px;
  font-size: 12px;
  color: #c3bdb2;
}

.jim-slot-status [lang="en"] {
  display: block;
  font-size: 10px;
}

.jim-slot-format {
  position: absolute;
  bottom: 19px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: .14em;
  color: #bdb6aa;
}

.jim-portfolio-slot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  color: #c3bdb2;
}

.jim-shop .jim-section-head > p,
.jim-shop .jim-copy-en {
  color: #605c57;
}

.jim-tracking-notice {
  padding: 21px 25px;
  border: 1px solid #a8a297;
  border-left: 3px solid #bd8293;
  background: #efebe4;
  color: #38343b;
  font-size: 12px;
  line-height: 1.9;
  margin: 30px 0;
}

.jim-tracking-notice strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
}

.jim-tracking-notice p + p {
  margin-top: 6px;
}

.jim-product-grid {
  gap: 36px 24px;
}

.jim-shop .product-image img {
  object-fit: contain;
  filter: none;
  transition: none;
}

.jim-shop .product-image:hover img {
  transform: none;
}

.jim-shop .product-image {
  aspect-ratio: 4 / 5;
  background: #e7e3db;
  flex-shrink: 0;
  width: 100%;
}

.jim-shop .product-meta {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .025em;
}

.jim-site .jim-product-card h3 {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 5px;
  font-weight: 500;
}

.jim-product-card > .jim-product-name-en {
  color: #514c48;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.jim-product-card > .jim-product-description {
  font-size: 12px;
  line-height: 1.9;
  color: #605a54;
}

.jim-product-description .jim-copy-en {
  font-size: 11px;
}

.jim-shop .product-buy {
  min-height: 47px;
  font-size: 12px;
  line-height: 1.7;
  margin-top: auto;
}

.jim-site .jim-buy-pending {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #bfa8af;
  padding: 10px 0;
  color: #68615c;
  cursor: not-allowed;
  opacity: 1;
  justify-content: flex-start;
  text-align: left;
}

.jim-buy-pending .jim-en {
  display: block;
  margin-left: 0;
  font-size: 10px;
}

.jim-price-context {
  border-top: 1px solid #c9c3b9;
  margin-top: 35px;
  padding-top: 24px;
  font-size: 12px;
  color: #5b554e;
  max-width: 1040px;
}

.jim-price-context p + p {
  margin-top: 7px;
}

.jim-programs {
  background: #eae7df;
  color: var(--ink);
}

.jim-programs .partners {
  padding-bottom: 30px;
}

.jim-site .jim-programs h2 {
  font-family: var(--jim-thai);
  letter-spacing: 0;
  line-height: 1.6;
}

.jim-programs h2 .jim-en {
  font-family: Poiret, sans-serif;
  letter-spacing: .04em;
}

.jim-programs .partner-row h3 {
  font-family: Jost, Arial, sans-serif;
  letter-spacing: .02em;
}

.jim-programs .partner-visit {
  background: transparent;
  border: 0;
  padding: 8px 0;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 50%;
  line-height: 1.6;
  font-size: 12px;
}

.jim-programs .partner-visit:disabled {
  cursor: not-allowed;
  opacity: 1;
  color: #625a54;
}

.jim-programs .partner-visit .jim-en {
  margin-left: 0;
}

.jim-programs-note {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 6.3% 36px;
  font-size: 12px;
  color: #625a54;
}

.jim-programs-note .jim-copy-en {
  color: #625a54;
}

.jim-fulfillment {
  display: flex;
  align-items: center;
  gap: 44px;
  border-bottom: 1px solid #38343b;
}

.jim-fulfillment > div:last-child {
  max-width: 900px;
}

.jim-site .jim-fulfillment h2 {
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.8;
  margin-top: 12px;
}

.jim-fulfillment h2 .jim-en {
  font-family: Poiret, sans-serif;
  letter-spacing: .055em;
}

.jim-fulfillment p:not(.eyebrow):not(.jim-coming-soon) {
  font-size: 14px;
  color: #c3bdb2;
}

.jim-coming-soon {
  color: var(--accent);
  margin: 17px 0;
  font-size: 17px;
}

.jim-coming-soon [lang="en"] {
  margin-left: 10px;
  font-size: 15px;
}

.jim-fulfillment-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 65px;
  flex: 0 0 65px;
}

.jim-fulfillment-mark span {
  display: block;
  width: 38px;
  height: 38px;
  transform: rotate(45deg);
  border: 1px solid #bfa8af;
}

.jim-fulfillment-mark span:last-child {
  margin-top: -27px;
  opacity: .4;
}

.jim-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  margin-top: 36px;
}

.jim-contact-copy > p {
  font-size: 14px;
  color: #c3bdb2;
}

.jim-contact-copy > .jim-contact-routing {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #5b5159;
  color: var(--accent);
  font-size: 16px;
}

.jim-contact-routing [lang="en"] {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.jim-direct-draft {
  margin-top: 24px;
  font-size: 13px;
}

.jim-brand-fallback {
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid #514952;
  border-bottom: 1px solid #514952;
}

.jim-brand-fallback h3 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.jim-brand-fallback h3 [lang="en"] {
  display: block;
  font-weight: 400;
  color: #c3bdb2;
  font-size: 12px;
}

.jim-brand-fallback p {
  font-size: 12px;
  line-height: 1.9;
  color: #bdb6aa;
}

.jim-brand-fallback p + p {
  margin-top: 7px;
}

.jim-brand-fallback a,
.jim-form-privacy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.jim-contact form {
  min-width: 0;
}

.jim-contact fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.jim-form-note {
  margin-bottom: 20px;
  color: var(--jim-quiet);
  font-size: 12px;
}

.jim-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jim-field {
  min-width: 0;
  margin-bottom: 19px;
}

.jim-field label {
  display: block;
  font-size: 13px;
  color: var(--ivory);
  margin-bottom: 8px;
}

.jim-field label [lang="en"] {
  margin-left: 6px;
  color: #bdb6aa;
  font-size: 12px;
}

.jim-field input,
.jim-field select,
.jim-field textarea {
  width: 100%;
  max-width: 100%;
  background: #19191f;
  border: 1px solid #6b626a;
  border-radius: 0;
  color: var(--ivory);
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.7;
  min-height: 48px;
}

.jim-field textarea {
  display: block;
  resize: vertical;
}

.jim-field input:disabled,
.jim-field select:disabled,
.jim-field textarea:disabled {
  cursor: not-allowed;
  opacity: 1;
  color: #c3bdb2;
  border-color: #625a61;
  background: #1b1b20;
  -webkit-text-fill-color: #c3bdb2;
}

.jim-contact-submit {
  gap: 18px;
  font-size: 13px;
}

.jim-contact-submit:disabled {
  cursor: not-allowed;
  background: #b896a0;
  border-color: #b896a0;
  color: #1b1b20;
}

.jim-form-status {
  margin-top: 18px;
  font-size: 12px;
  color: #c3bdb2;
  min-height: 24px;
}

.jim-form-privacy {
  margin-top: 10px;
  font-size: 11px;
  color: #bdb6aa;
}

.jim-form-privacy a {
  display: inline-block;
  margin-left: 6px;
}

.jim-footer {
  border-top: 1px solid #343139;
}

.jim-footer .footer-top {
  gap: 28px;
}

.jim-footer .footer-top > p {
  margin-right: 0;
}

.jim-footer .footer-top > p .jim-en {
  display: block;
  margin-left: 0;
}

.jim-footer .back-top {
  gap: 10px;
}

.jim-legal-links {
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--accent);
}

.jim-legal-links [lang="en"] {
  font-size: 11px;
  display: inline-block;
  margin-left: 5px;
}

.jim-compliance {
  color: #bdb6aa;
  font-size: 11px;
  line-height: 1.9;
}

.jim-legal > h1 {
  font-size: clamp(28px, 3.5vw, 43px);
  line-height: 1.65;
  letter-spacing: 0;
}

.jim-legal h1 > [lang="en"] {
  display: block;
  font-family: Poiret, sans-serif;
  font-size: .8em;
  line-height: 1.5;
  letter-spacing: .08em;
}

.jim-legal > h2 {
  font-family: var(--jim-thai);
  font-size: 23px;
  line-height: 1.8;
  letter-spacing: 0;
  margin-top: 35px;
}

.jim-legal > h2 [lang="en"] {
  font-size: 18px;
  margin-left: 8px;
}

.jim-legal > p {
  color: #c3bdb2;
  font-size: 15px;
  line-height: 1.9;
}

.jim-legal > p[lang="en"] {
  font-size: 14px;
  margin-top: -5px;
}

.jim-legal .jim-tracking-notice {
  background: #24232a;
  color: #d7d0c6;
  border-color: #756a71;
  border-left-color: var(--accent);
}

.jim-legal .text-link {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .jim-header .header-inner {
    gap: 20px;
  }

  .jim-brand img {
    width: 210px;
  }

  .jim-header .nav-links {
    gap: 17px;
    font-size: 12px;
  }

  .jim-hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(235px, 1fr);
    gap: 35px;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .jim-site .jim-hero h1 {
    font-size: clamp(36px, 5.1vw, 60px);
  }

  .jim-contact-grid {
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .jim-site {
    font-size: 15px;
  }

  .jim-header .header-inner {
    height: 94px;
  }

  .jim-header #primary-nav {
    top: 94px;
  }

  /* Without JavaScript, the essential navigation remains visible and usable. */
  html:not(.jim-js) .jim-header .header-inner {
    height: auto;
    min-height: 94px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  html:not(.jim-js) .jim-header .menu-button {
    display: none;
  }

  html:not(.jim-js) .jim-header #primary-nav {
    display: block;
    position: static;
    width: 100%;
    padding: 5px 0 0;
    border: 0;
    background: transparent;
  }

  html:not(.jim-js) .jim-header .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .jim-brand img {
    width: 200px;
  }

  .jim-ambassador-label {
    font-size: 9px;
    letter-spacing: .075em;
  }

  .jim-header .nav-links {
    font-size: 14px;
    gap: 12px;
  }

  .jim-header .nav-links .jim-en {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
  }

  .jim-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 62px 8% 52px;
    min-height: 0;
  }

  .jim-hero-frame {
    inset: 17px 14px;
  }

  .jim-hero-intro {
    margin-top: 21px;
    font-size: 15px;
  }

  .jim-site .jim-hero h1 {
    font-size: clamp(30px, 7.8vw, 56px);
    line-height: 1.25;
    letter-spacing: .045em;
  }

  .jim-lead {
    margin-top: 23px;
    font-size: 15px;
  }

  .jim-hero-copy > .jim-copy-en {
    font-size: 13px;
  }

  .jim-hero-actions {
    margin-top: 25px;
    gap: 20px;
  }

  .jim-hero-actions .button,
  .jim-hero-actions .text-link {
    font-size: 12px;
  }

  .jim-hero-side {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    max-width: none;
    justify-self: stretch;
  }

  .jim-portrait-frame {
    padding: 18px 8px;
  }

  .jim-placeholder-word {
    font-size: 8px;
    letter-spacing: .07em;
    padding: 3px 5px;
  }

  .jim-portrait-label {
    font-size: 9px;
    margin-top: 5px;
  }

  .jim-portrait-label [lang="en"] {
    font-size: 8px;
  }

  .jim-portrait figcaption {
    font-size: 9px;
  }

  .jim-profile {
    border: 0;
    padding: 0;
    margin: 0;
    scroll-margin-top: 112px;
  }

  .jim-site .jim-profile h2 {
    font-size: 17px;
    margin-bottom: 9px;
  }

  .jim-profile h2 .jim-en {
    display: block;
    margin: 0;
  }

  .jim-profile p {
    font-size: 11px;
  }

  .jim-profile .jim-copy-en {
    font-size: 10px;
  }

  .jim-section-head h2 {
    font-size: 28px;
    line-height: 1.6;
  }

  .jim-section-head > p {
    max-width: none;
    font-size: 12px;
  }

  .jim-portfolio-note {
    font-size: 11px;
  }

  .jim-portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px 8px;
    margin-top: 24px;
  }

  .jim-slot-frame::before {
    inset: 5px;
  }

  .jim-slot-frame::after {
    inset: 8px;
  }

  .jim-slot-number {
    top: 11px;
    left: 11px;
    font-size: 17px;
  }

  .jim-slot-center {
    padding: 6px;
  }

  .jim-slot-rule {
    width: 17px;
    margin-bottom: 12px;
  }

  .jim-site .jim-slot-word {
    font-size: clamp(10px, 2.8vw, 21px);
    letter-spacing: .055em;
  }

  .jim-slot-status {
    font-size: clamp(7px, 1.9vw, 11px);
    margin-top: 12px;
    line-height: 1.8;
  }

  .jim-slot-status [lang="en"] {
    font-size: clamp(6px, 1.7vw, 9px);
  }

  .jim-slot-format {
    bottom: 10px;
    font-size: clamp(5px, 1.5vw, 8px);
    letter-spacing: .025em;
  }

  .jim-portfolio-slot figcaption {
    font-size: 9px;
    line-height: 1.7;
    flex-wrap: wrap;
    gap: 0 5px;
  }

  .jim-tracking-notice {
    padding: 17px 18px;
    font-size: 11px;
    margin: 24px 0;
  }

  .jim-tracking-notice strong {
    font-size: 12px;
  }

  .jim-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .jim-shop .product-meta {
    font-size: 8px;
  }

  .jim-site .jim-product-card h3 {
    font-size: 12px;
  }

  .jim-product-card > .jim-product-name-en {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .jim-product-card > .jim-product-description,
  .jim-product-description .jim-copy-en {
    font-size: 10px;
    line-height: 1.8;
  }

  .jim-shop .product-buy {
    font-size: 11px;
  }

  .jim-buy-pending .jim-en {
    font-size: 9px;
  }

  .jim-price-context {
    font-size: 11px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .jim-programs .partner-row h3 {
    width: calc(100% - 31px);
  }

  .jim-programs .partner-visit {
    position: static;
    margin-left: 31px;
    margin-right: auto;
    max-width: calc(100% - 31px);
    font-size: 11px;
  }

  .jim-programs-note {
    padding-left: 6%;
    padding-right: 6%;
    font-size: 11px;
  }

  .jim-fulfillment {
    gap: 23px;
    align-items: flex-start;
  }

  .jim-fulfillment-mark {
    width: 35px;
    flex-basis: 35px;
    margin-top: 17px;
  }

  .jim-fulfillment-mark span {
    width: 25px;
    height: 25px;
  }

  .jim-fulfillment-mark span:last-child {
    margin-top: -18px;
  }

  .jim-site .jim-fulfillment h2 {
    font-size: 22px;
  }

  .jim-fulfillment h2 .jim-en {
    display: block;
    margin-left: 0;
  }

  .jim-fulfillment p:not(.eyebrow):not(.jim-coming-soon) {
    font-size: 12px;
  }

  .jim-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 25px;
  }

  .jim-contact-copy > p {
    font-size: 12px;
  }

  .jim-contact-copy > .jim-contact-routing {
    font-size: 14px;
  }

  .jim-form-row {
    gap: 13px;
  }

  .jim-field label {
    font-size: 12px;
  }

  .jim-field label [lang="en"] {
    font-size: 11px;
  }

  .jim-field input,
  .jim-field select,
  .jim-field textarea {
    font-size: 16px;
    padding: 10px;
  }

  .jim-footer .footer-top {
    gap: 21px;
  }

  .jim-footer .footer-top > .jim-brand {
    width: auto;
  }

  .jim-footer .footer-top > p {
    width: 100%;
    font-size: 12px;
  }

  .jim-footer .back-top {
    margin-left: 0;
  }

  .jim-legal-links {
    align-items: flex-start;
    gap: 13px;
    font-size: 11px;
  }

  .jim-compliance {
    font-size: 10px;
  }

  .jim-legal > h1 {
    font-size: 28px;
  }

  .jim-legal > h2 {
    font-size: 21px;
  }

  .jim-legal > h2 [lang="en"] {
    display: block;
    font-size: 17px;
    margin-left: 0;
  }

  .jim-legal > p,
  .jim-legal > p[lang="en"] {
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .jim-hero-side {
    gap: 13px;
  }

  .jim-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jim-site *,
  .jim-site *::before,
  .jim-site *::after {
    transition: none !important;
    animation: none !important;
  }
}

.jim-social-link{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 24px}.jim-social-link [lang="en"]{font-family:Jost,sans-serif}

/* Supplied Jim portrait: preserve the complete source frame and shirt signature. */
.jim-portrait-frame.jim-portrait-frame--photo {
  padding: 0;
  display: block;
  aspect-ratio: 922 / 1152;
}
.jim-portrait-frame--photo::before,
.jim-portrait-frame--photo::after {
  z-index: 1;
  pointer-events: none;
}
.jim-portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
}

.jim-pod-store {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #bca8ae;
}
.jim-pod-store > div { max-width: 780px; }
.jim-site .jim-pod-store h3 { font-size: 22px; line-height: 1.6; }
.jim-pod-store p { font-size: 14px; line-height: 1.7; color: #484146; }
.jim-pod-store .jim-copy-en { font-size: 12px; color: #575057; }
.jim-pod-store > a { flex-shrink: 0; }
@media (max-width: 700px) {
  .jim-pod-store { flex-direction: column; align-items: flex-start; gap: 20px; }
  .jim-site .jim-pod-store h3 { font-size: 18px; }
}

.jim-construction {
  margin: 18px 0 24px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.7;
}
.jim-construction span { display: block; }
.jim-construction [lang="en"] { font-family: Jost, sans-serif; }
.jim-form-status:empty { display: none; }
.jim-contact-copy:empty { display: none; }
.jim-profile { padding-bottom: 8px; }

/* Approved creator biography: both languages are server-rendered. */
.jim-biography {
  border-top: 1px solid var(--line);
  scroll-margin-top: 128px;
}
.jim-biography-copy,
.jim-biography-translation {
  max-width: 880px;
  margin-inline: auto;
  min-width: 0;
}
.jim-site .jim-biography h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.jim-biography p {
  font-size: 16px;
  line-height: 1.95;
  color: #d0c9be;
  margin: 0;
}
.jim-biography p + p { margin-top: 20px; }
.jim-biography-translation {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
}
.jim-biography-translation summary {
  color: var(--accent);
  cursor: pointer;
  font-size: 15px;
  padding: 8px 0;
  width: fit-content;
}
.jim-biography-translation summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.jim-biography-en { margin-top: 24px; }
.jim-biography-en p { line-height: 1.8; }
@media (max-width: 760px) {
  .jim-biography { scroll-margin-top: 110px; }
  .jim-biography p { font-size: 15px; }
}
