/* Trendejo (the shop): same editorial system as Leah's Journal - white, serif, wide labels. */
:root {
  color-scheme: light;
  --ink: #000;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --wash: #f6f4f0;
  --gold: #b89b6a;
  --bg: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --wide: "Syncopate", "Helvetica Neue", Arial, sans-serif;
  --script: "Herr Von Muellerhoff", "Snell Roundhand", cursive;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tj-center { text-align: center; }

/* Labels and type */
.tj-eyebrow { margin: 0; font-family: var(--wide); font-size: 11px; line-height: 1.8; letter-spacing: 0.22em; text-transform: uppercase; }
.tj-caps { margin: 0 auto 28px; max-width: 760px; padding-left: 0.3em; font: 400 19px/1.45 var(--serif); letter-spacing: 0.3em; text-transform: uppercase; text-align: center; }
.tj-script { margin: 0; font-family: var(--script); font-size: 40px; line-height: 1; }
.tj-body { margin: 0; font-size: 16px; line-height: 1.6; color: #222; }
.tj-lede { max-width: 560px; margin: -8px auto 40px; font-size: 17px; line-height: 1.6; font-style: italic; color: var(--muted); }

/* Header */
.tj-header { position: sticky; top: 0; z-index: 20; background: var(--bg); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07); }
.tj-header-row { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 62px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.tj-wordmark { justify-self: center; font-family: var(--wide); font-weight: 700; font-size: 20px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.tj-nav { display: none; }
.tj-nav.open { display: block; }
.tj-nav ul { list-style: none; margin: 0; padding: 8px 0 12px; }
.tj-nav a { display: block; padding: 13px var(--gutter); font-family: var(--wide); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; text-align: center; }

/* Hero */
.tj-hero { position: relative; }
/* Hero slideshow: photos stacked, crossfading; the active one drifts in its own direction (like the Carrd hero). */
.tj-hero-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #1d1d1d; }
.tj-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease-in-out; }
.tj-slide.is-active { opacity: 1; }
.tj-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(1.12); will-change: transform; }
.tj-slide.is-moving[data-motion="right"] img { animation: tj-drift-right 9s linear forwards; }
.tj-slide.is-moving[data-motion="left"] img { animation: tj-drift-left 9s linear forwards; }
.tj-slide.is-moving[data-motion="down"] img { animation: tj-drift-down 9s linear forwards; }
.tj-slide.is-moving[data-motion="up"] img { animation: tj-drift-up 9s linear forwards; }
@keyframes tj-drift-right { from { transform: scale(1.12) translateX(-3.5%); } to { transform: scale(1.12) translateX(3.5%); } }
@keyframes tj-drift-left { from { transform: scale(1.12) translateX(3.5%); } to { transform: scale(1.12) translateX(-3.5%); } }
@keyframes tj-drift-down { from { transform: scale(1.12) translateY(-3.5%); } to { transform: scale(1.12) translateY(3.5%); } }
@keyframes tj-drift-up { from { transform: scale(1.12) translateY(3.5%); } to { transform: scale(1.12) translateY(-3.5%); } }
.tj-hero-copy { padding: 34px var(--gutter) 10px; text-align: center; }
.tj-hero-title { margin: 14px 0 16px; font: 400 34px/1.15 var(--serif); }
.tj-hero-text { max-width: 520px; margin: 0 auto 26px; font-size: 17px; line-height: 1.6; color: #333; }
.tj-button { display: inline-block; padding: 15px 30px; border: 1px solid var(--ink); font-family: var(--wide); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; background: transparent; }
.tj-button-dark { background: var(--ink); color: #fff; }
.tj-link-arrow { display: inline-flex; align-items: center; gap: 16px; font-family: var(--wide); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }

/* Sections */
.tj-section { max-width: 1180px; margin: 0 auto; padding: 72px var(--gutter) 0; }
.tj-wash { max-width: none; margin-top: 72px; padding-bottom: 72px; background: var(--wash); }
.tj-wash > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.tj-pillars, .tj-journeys { display: grid; gap: 44px; }
.tj-pillar-media img, .tj-journey-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--wash); }
.tj-journey-media img { aspect-ratio: 3 / 2; }
.tj-pillar-title { margin: 18px 0 10px; font: 400 21px/1.3 var(--serif); }
.tj-price { margin: 14px 0 0; font-family: var(--wide); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.tj-transport { display: grid; gap: 28px; margin: 0 auto 64px; }
.tj-transport-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tj-transport-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tj-price-list { list-style: none; margin: 16px 0 26px; padding: 0; }
.tj-price-list li { padding: 14px 0; border-bottom: 1px solid #d9d4ca; font-size: 17px; line-height: 1.45; }
.tj-subhead { margin: 0 0 28px; font: 400 24px/1.3 var(--serif); text-align: center; }
.tj-essentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; margin-bottom: 44px; }
.tj-tile-media img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ece8e1; margin-bottom: 12px; }
.tj-tile .tj-body { margin-top: 6px; font-size: 14px; }

.tj-journal { text-align: center; }
.tj-heavy-rule { border: 0; border-top: 3px solid var(--ink); margin: 0 0 36px; }
.tj-journal .tj-caps { margin-top: 6px; }
.tj-journal-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; text-align: left; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
.tj-journal-card { flex: 0 0 72%; scroll-snap-align: start; }
.tj-journal-card a { text-decoration: none; }
.tj-journal-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--wash); }
.tj-journal-card .tj-script { margin-top: 12px; font-size: 30px; }
.tj-journal-title { margin: 2px 0 0; font: 400 18px/1.3 var(--serif); }

.tj-window { display: grid; gap: 28px; align-items: center; }
.tj-window-title { margin: 12px 0 14px; font: 400 30px/1.2 var(--serif); }
.tj-window-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Inner Circle */
.tj-access { margin-top: 80px; padding: 64px var(--gutter); background: #111; color: #fff; text-align: center; }
.tj-access-title { margin: 0 0 14px; font: 400 30px/1.2 var(--serif); }
.tj-access-text { max-width: 560px; margin: 0 auto 28px; font-size: 16px; line-height: 1.65; color: #d7d7d7; }
.tj-form { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin: 0 auto; }
.tj-form input[type="email"] { height: 50px; padding: 0 16px; border: 1px solid #555; border-radius: 0; background: #111; color: #fff; font: 16px var(--serif); }
.tj-form input[type="email"]::placeholder { color: #9a9a9a; }
.tj-form button { height: 50px; border: 0; background: #fff; color: #000; font-family: var(--wide); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; }
.tj-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tj-access .tj-fine { max-width: 520px; margin: 22px auto 0; color: #9a9a9a; }
.tj-access .tj-fine a { color: #fff; }
.tj-notice { max-width: 460px; margin: 0 auto 18px; padding: 12px 16px; border: 1px solid var(--gold); color: #fff; font-style: italic; }
.tj-notice-error { border-color: #e57373; }

/* Legal */
.tj-legal { max-width: calc(36rem + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 0; }
.tj-legal-title { margin: 12px 0 8px; font: 400 32px/1.2 var(--serif); }
.tj-legal-updated { margin: 0 0 28px; font-size: 14px; font-style: italic; color: var(--muted); }
.tj-legal-intro, .tj-legal p { font-size: 16px; line-height: 1.65; }
.tj-legal-h { margin: 40px 0 12px; font: 400 21px/1.3 var(--serif); }
.tj-legal ul { margin: 0 0 1.2em; padding-left: 1.2em; line-height: 1.65; }

/* Footer */
.tj-footer { margin-top: 0; padding: 48px var(--gutter) 40px; border-top: 1px solid var(--line); text-align: center; }
.tj-footer-line { margin: 12px 0 0; font-style: italic; color: var(--muted); }
.tj-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
.tj-footer-links a { font-family: var(--wide); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }
.tj-fine { margin: 26px 0 0; font-size: 12px; color: var(--muted); }
.tj-legal + .tj-footer, main > .tj-legal:last-child { margin-bottom: 72px; }

/* Tablet and up */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .tj-header-row .icon-btn { visibility: hidden; }
  .tj-wordmark { font-size: 24px; }
  .tj-nav { display: block; }
  .tj-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(20px, 4vw, 56px); padding: 4px var(--gutter) 2px; }
  .tj-nav a { padding: 8px 0 14px; font-size: 10px; }

  .tj-hero-media { width: 100%; aspect-ratio: auto; height: min(78vh, 56.25vw); min-height: 460px; }
  .tj-hero-copy { z-index: 2; position: absolute; left: 0; right: 0; bottom: 0; padding: 120px var(--gutter) 56px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); }
  .tj-hero-title { font-size: 52px; }
  .tj-hero-text { color: #eee; }
  .tj-hero .tj-button { border-color: #fff; color: #fff; }

  .tj-pillars, .tj-journeys { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .tj-transport { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; max-width: 1000px; }
  .tj-essentials { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; max-width: 1000px; }
  .tj-journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto 28px; padding: 0; overflow: visible; }
  .tj-window { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .tj-form { flex-direction: row; }
  .tj-form input[type="email"] { flex: 1; }
  .tj-form button { padding: 0 28px; }
  .tj-legal { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tj-slide.is-moving img { animation: none !important; }
}
/* Journal teaser: partner product shots are shown whole, on white */
.tj-journal-media img.fit-contain { object-fit: contain; background: #fff; }
