/*
 * TeaTalkCentury Herbal Craft theme.
 *
 * The layout follows a classical paper-and-ink direction: warm paper
 * surfaces, dark ink typography, cinnabar accents and restrained gold lines.
 * Shared module styles define the component structure; this file only adds
 * the template's visual language.
 */
:root {
  --ink: #1c1a17;
  --ink-soft: #2a241f;
  --paper: #f4efe6;
  --paper-deep: #ede4d6;
  --paper-light: #fbf8f2;
  --red: #9e2b25;
  --red-deep: #7d211d;
  --gold: #b08d57;
  --gold-soft: #d6c3a1;
  --jade: #6f7d64;
  --plum: #6d4a5a;
  --line: rgba(107, 74, 50, 0.2);
  --line-strong: rgba(107, 74, 50, 0.42);
  --shadow: 0 18px 42px rgba(41, 32, 24, 0.12);
  --radius: 8px;
  --container: 1180px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  left: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  font-weight: 600;
  line-height: 1.08;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
}

.section-copy {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(28, 26, 23, 0.72);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn--small {
  min-height: 34px;
  padding: 6px 13px;
  font-size: 12px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.btn--outline {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.btn--outline:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Site shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__seal {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-deep);
}

.brand__name {
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

.site-nav > a:not(.btn) {
  position: relative;
  padding: 8px 0;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav > a.lang-switch {
  color: var(--red);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(28, 26, 23, 0.58);
  content: "";
}

.hero__content {
  max-width: 820px;
  padding-block: 110px;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

.hero__lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(251, 248, 242, 0.82);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
  color: rgba(251, 248, 242, 0.72);
  font-family: var(--sans);
  font-size: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid rgba(251, 248, 242, 0.34);
  border-radius: 999px;
  color: rgba(251, 248, 242, 0.84);
  font-family: var(--sans);
  font-size: 12px;
}

/* Sections */
.section {
  padding-block: 92px;
}

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

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

.section--dark .eyebrow {
  color: var(--gold-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head__link,
.text-link {
  color: var(--red);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.section-head__link:hover,
.text-link:hover {
  color: var(--red-deep);
  text-decoration: underline;
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__body {
  display: block;
  padding: 20px 20px 24px;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.category-card p {
  margin: 0;
  color: rgba(28, 26, 23, 0.7);
  font-size: 14px;
}

/* Product cards */
.product-grid,
.service-grid,
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--ink-soft);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

.product-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.94);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.product-card p {
  margin: 0;
  color: rgba(28, 26, 23, 0.72);
  font-size: 14px;
}

.product-card__meta {
  margin-top: 10px !important;
  color: var(--jade) !important;
  font-family: var(--sans);
  font-size: 12px !important;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

/* Filters */
.product-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.catalog-filter__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.catalog-filter__label {
  min-width: 130px;
  color: rgba(28, 26, 23, 0.62);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.catalog-filter__option,
.filter-button {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
}

.catalog-filter__option.is-active,
.filter-button.is-active,
.catalog-filter__option:hover,
.filter-button:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-light);
}

/* Journal */
.journal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.journal-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper-deep);
}

.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-card__body {
  display: block;
  padding: 18px;
}

.journal-card__meta,
.article-meta {
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.journal-card h3 {
  margin: 8px 0;
  font-size: 19px;
}

.journal-card p {
  margin: 0 0 12px;
  color: rgba(28, 26, 23, 0.7);
  font-size: 14px;
}

/* Product detail */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 8px;
  object-fit: contain;
}

.detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
}

.detail-lede {
  color: rgba(28, 26, 23, 0.74);
  font-size: 17px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.spec-table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 40%;
  color: rgba(28, 26, 23, 0.62);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.check-list,
.contact-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 5px 0 5px 20px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "·";
  font-weight: 700;
}

.detail-description {
  margin-bottom: 22px;
  color: rgba(28, 26, 23, 0.78);
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 12px;
}

.detail-meta span {
  display: grid;
  gap: 4px;
}

.detail-meta strong {
  color: var(--red);
}

/* Article */
.article {
  max-width: 780px;
  margin-inline: auto;
}

.article h1 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.article-lede {
  color: rgba(28, 26, 23, 0.74);
  font-size: 18px;
}

.article-hero {
  margin: 30px 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.article-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.article-body p {
  margin-bottom: 1.25em;
  font-size: 17px;
}

/* Craft builder */
.builder {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.builder__panel,
.builder__preview,
.inquiry-form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  padding: 26px;
}

.builder__row {
  margin-bottom: 24px;
}

.builder__row > span {
  display: block;
  margin-bottom: 10px;
  color: rgba(28, 26, 23, 0.66);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.options,
.builder__sizes,
.builder__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-chip,
.builder__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
}

.option-chip i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.option-chip.is-active,
.builder__option.is-active,
.option-chip:hover,
.builder__option:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-light);
}

.builder__preview {
  position: sticky;
  top: 100px;
  text-align: center;
}

.preview-ring {
  display: grid;
  grid-template-columns: repeat(6, 22px);
  justify-content: center;
  gap: 8px;
  min-height: 180px;
  align-content: center;
  margin: 20px auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.preview-ring span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.12);
}

.builder__summary {
  min-height: 48px;
  color: rgba(28, 26, 23, 0.72);
  font-size: 15px;
}

.builder__estimate {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

/* Forms */
.inquiry-page {
  padding-block: 80px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.inquiry-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field span {
  color: rgba(28, 26, 23, 0.66);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(158, 43, 37, 0.24);
  border-color: var(--red);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.form-status {
  color: var(--red);
  font-size: 13px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-list li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: rgba(28, 26, 23, 0.58);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.faq-item div {
  padding: 0 0 18px;
  color: rgba(28, 26, 23, 0.72);
}

/* CTA and footer */
.cta-band {
  padding-block: 56px;
  background: var(--red);
  color: var(--paper-light);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-band p {
  margin: 0;
  color: rgba(251, 248, 242, 0.76);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cta-band .btn {
  border-color: var(--paper-light);
  background: var(--paper-light);
  color: var(--ink);
}

.cta-band__email {
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  padding-block: 64px 28px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr));
  gap: 34px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 14px;
  color: rgba(244, 239, 230, 0.66);
  font-size: 14px;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(244, 239, 230, 0.76);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 239, 230, 0.16);
  color: rgba(244, 239, 230, 0.54);
  font-family: var(--sans);
  font-size: 12px;
}

/* Pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.pager__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pager-page__btn {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
}

.pager-page__btn.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-light);
}

.pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: rgba(28, 26, 23, 0.64);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

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

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

  .btn,
  .category-card,
  .product-card,
  .journal-card {
    transition: none;
  }
}

@media (max-width: 720px) {
  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"] {
    transform: translateY(16px) !important;
  }

  .reveal[data-reveal="left"].is-visible,
  .reveal[data-reveal="right"].is-visible {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
 * TeaTalkCentury sub-brand logo and vivid hero layer
 * ------------------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand-logo {
  display: block;
  width: clamp(180px, 20vw, 252px);
  height: auto;
}

.brand-logo--dark {
  color: var(--ink);
}

.brand-logo--light {
  color: var(--paper);
}

.hero__image {
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
}

.hero::before {
  position: absolute;
  inset: -20% -40%;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(244, 239, 230, 0.08) 48%,
    rgba(214, 195, 161, 0.14) 52%,
    transparent 68%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-30%) rotate(2deg);
  animation: hero-light-sweep 11s ease-in-out infinite;
}

.hero__product {
  position: absolute;
  right: 5%;
  bottom: 4%;
  z-index: 0;
  width: min(30vw, 390px);
  max-height: 64%;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.46));
  animation: hero-product-float 7.8s ease-in-out infinite;
}

.hero__beads {
  position: absolute;
  bottom: 4%;
  left: -2%;
  z-index: 0;
  width: min(42vw, 620px);
  opacity: 0.78;
  pointer-events: none;
  animation: hero-bead-sway 9s ease-in-out infinite;
}

.hero__leaf {
  position: absolute;
  z-index: 0;
  width: 18px;
  height: 30px;
  border-radius: 100% 0 100% 0;
  background: rgba(214, 195, 161, 0.42);
  pointer-events: none;
  animation: hero-leaf-float 8s ease-in-out infinite;
}

.hero__leaf--1 { left: 12%; bottom: 18%; animation-delay: -1s; }
.hero__leaf--2 { left: 24%; bottom: 30%; width: 12px; height: 22px; animation-delay: -3s; }
.hero__leaf--3 { right: 32%; top: 18%; width: 14px; height: 24px; animation-delay: -5s; }

@keyframes hero-light-sweep {
  0%, 100% { transform: translateX(-38%) rotate(2deg); opacity: 0.35; }
  50% { transform: translateX(26%) rotate(2deg); opacity: 0.72; }
}

@keyframes hero-product-float {
  0%, 100% { transform: translateY(-8px) rotate(-1.5deg); }
  50% { transform: translateY(10px) rotate(1.5deg); }
}

@keyframes hero-bead-sway {
  0%, 100% { transform: translateY(-4px) rotate(-1deg); }
  50% { transform: translateY(8px) rotate(1.4deg); }
}

@keyframes hero-leaf-float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.36; }
  50% { transform: translateY(-18px) rotate(18deg); opacity: 0.72; }
}

@media (max-width: 980px) {
  .hero__product {
    right: -8%;
    width: min(42vw, 300px);
    opacity: 0.72;
  }

  .hero__beads {
    width: 58vw;
    opacity: 0.56;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    width: 178px;
  }

  .hero__product {
    right: -14%;
    bottom: 2%;
    width: 54vw;
    opacity: 0.42;
  }

  .hero__beads {
    display: none;
  }

  .hero__leaf--3 {
    display: none;
  }

  .hero__leaf {
    width: 12px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero__product,
  .hero__beads,
  .hero__leaf {
    animation: none !important;
  }
}

/* Hero product showcase */
.hero__product-showcase {
  position: absolute;
  right: 4%;
  bottom: 6%;
  z-index: 2;
  width: min(34vw, 440px);
}

.hero__product {
  position: relative;
  right: auto;
  bottom: auto;
  display: block;
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.46));
  transition: opacity 260ms ease, transform 260ms ease;
  animation: hero-product-spin 9s ease-in-out infinite;
}

.hero__product.is-switching {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}

.hero__product-copy {
  max-width: 390px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 239, 230, 0.24);
  color: var(--paper);
  transition: opacity 260ms ease, transform 260ms ease;
}

.hero__product-copy.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.hero__product-eyebrow {
  display: block;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__product-copy h2 {
  margin: 6px 0 6px;
  font-size: 21px;
  line-height: 1.25;
}

.hero__product-copy p {
  margin: 0 0 10px;
  color: rgba(244, 239, 230, 0.74);
  font-size: 13px;
  line-height: 1.6;
}

.hero__product-link {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.hero__product-link:hover {
  color: var(--paper);
}

@keyframes hero-product-spin {
  0%, 100% { transform: translateY(-7px) rotateY(-9deg) rotateZ(-1.5deg); }
  50% { transform: translateY(9px) rotateY(9deg) rotateZ(1.5deg); }
}

@media (max-width: 980px) {
  .hero__product-showcase {
    right: -6%;
    width: min(42vw, 340px);
    opacity: 0.78;
  }
}

@media (max-width: 720px) {
  .hero {
    display: block;
    padding-bottom: 40px;
  }

  .hero__content {
    padding-bottom: 24px;
  }

  .hero__product-showcase {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 0 16px 8px;
    opacity: 1;
  }

  .hero__product {
    max-height: 320px;
  }

  .hero__product-copy {
    max-width: none;
  }
}

/* Five Elements and food-herb heritage */
.element-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.element-card {
  display: grid;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.element-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.element-card__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-light);
  font-size: 22px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.34);
}

.element-card__body {
  display: grid;
  gap: 4px;
}

.element-card__body strong {
  font-size: 17px;
}

.element-card__body > span {
  color: var(--red);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.element-card__body p {
  margin: 0;
  color: rgba(28, 26, 23, 0.66);
  font-size: 13px;
}

.food-herb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.food-herb-card {
  position: relative;
  padding: 20px 18px 18px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.food-herb-card__dot {
  position: absolute;
  top: 24px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.16);
}

.food-herb-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.food-herb-card h3 small {
  display: block;
  margin-top: 2px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.food-herb-card p {
  margin: 0;
  color: rgba(28, 26, 23, 0.64);
  font-size: 13px;
}

.studio-elements {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-element {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.studio-element i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--element-color, #B08D57);
}

.studio-element.is-active,
.studio-element:hover {
  border-color: var(--element-color, var(--red));
  background: var(--element-color, var(--red));
  color: var(--paper-light);
}

@media (max-width: 980px) {
  .element-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .food-herb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .element-grid,
  .food-herb-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero composition balance */
.hero__content {
  max-width: 700px;
}

.hero .display {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

.hero__product-showcase {
  right: 2%;
  bottom: 8%;
  width: min(26vw, 340px);
}

.hero__product {
  max-height: 40vh;
}

.hero__product-copy {
  max-width: 320px;
}

@media (max-width: 1200px) {
  .hero__product-showcase {
    width: min(28vw, 300px);
  }

  .hero__product-copy {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero__product-showcase {
    width: min(100%, 360px);
  }

  .hero__product {
    max-height: 320px;
  }

  .hero__product-copy {
    display: block;
  }
}

@media (max-width: 980px) {
  .category-grid,
  .product-grid,
  .service-grid,
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .builder,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .builder__preview {
    position: static;
  }

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

@media (max-width: 720px) {
  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"] {
    transform: translateY(16px);
  }

  .reveal[data-reveal="left"].is-visible,
  .reveal[data-reveal="right"].is-visible {
    transform: none;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-light);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    padding: 10px 8px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero {
    min-height: 540px;
  }

  .hero__content {
    padding-block: 84px;
  }

  .hero__lede {
    font-size: 16px;
  }

  .section {
    padding-block: 64px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid,
  .service-grid,
  .journal-grid,
  .form-grid,
  .detail-meta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .preview-ring {
    grid-template-columns: repeat(5, 20px);
  }

  .preview-ring span {
    width: 20px;
    height: 20px;
  }

  .cta-band__inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
 * Dynamic sub-brand layer
 *
 * TeaTalkCentury Herbal Craft keeps the paper-and-ink foundation above and
 * adds a more expressive layer: scroll progress, parallax, staggered reveals,
 * card shine, a live studio preview and a mobile preview dock.
 * ------------------------------------------------------------------------ */
:root {
  --herb-green: #5f735d;
  --herb-deep: #33402f;
  --clay: #a6573f;
  --shadow-soft: 0 24px 60px rgba(36, 28, 21, 0.14);
  --shadow-lift: 0 30px 70px rgba(36, 28, 21, 0.2);
}

/* Scroll progress and sticky header state */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 120ms linear;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(36, 28, 21, 0.08);
}

.site-header.is-scrolled .site-header__inner {
  min-height: 64px;
}

/* Sub-brand lockup */
.brand__lockup {
  display: grid;
  gap: 0;
  line-height: 1.1;
}

.brand__parent {
  color: rgba(28, 26, 23, 0.58);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__sub {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.brand__endorsement {
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.lang-switch button {
  min-width: 34px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(28, 26, 23, 0.62);
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--paper-light);
}

.lang-switch button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Hero motion */
.hero--dynamic {
  min-height: 680px;
}

.hero__parallax {
  transform: scale(1.06);
  will-change: transform;
}

.hero__smoke {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.hero__smoke path {
  fill: none;
  stroke: rgba(244, 239, 230, 0.36);
  stroke-linecap: round;
  stroke-width: 1.2;
  animation: smoke-drift 14s ease-in-out infinite alternate;
}

.hero__smoke path:nth-child(2) {
  animation-duration: 18s;
  animation-delay: -4s;
  opacity: 0.7;
}

.hero__smoke path:nth-child(3) {
  animation-duration: 22s;
  animation-delay: -8s;
  opacity: 0.5;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  color: rgba(251, 248, 242, 0.72);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__scroll::before {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--gold-soft);
  content: "";
  animation: scroll-line 2.2s ease-in-out infinite;
}

/* Reveal variants */
.reveal[data-reveal="left"] {
  transform: translateX(-28px);
}

.reveal[data-reveal="right"] {
  transform: translateX(28px);
}

.reveal[data-reveal="scale"] {
  transform: scale(0.96);
}

.reveal[data-reveal="left"].is-visible,
.reveal[data-reveal="right"].is-visible,
.reveal[data-reveal="scale"].is-visible {
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: 0 1px 0 rgba(28, 26, 23, 0.03);
}

.stat-card__value {
  display: block;
  color: var(--red);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.stat-card__label {
  display: block;
  margin-top: 10px;
  color: rgba(28, 26, 23, 0.62);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Product card lift and shine */
.product-card,
.journal-card,
.category-card {
  transform: translateY(0);
  will-change: transform;
}

.product-card:hover,
.journal-card:hover,
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.product-card__media::after,
.journal-card__media::after,
.category-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  content: "";
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 260ms ease, transform 620ms ease;
}

.product-card:hover .product-card__media::after,
.journal-card:hover .journal-card__media::after,
.category-card:hover .category-card__media::after {
  opacity: 1;
  transform: translateX(40%);
}

.product-card__media img,
.journal-card__media img,
.category-card__media img {
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img,
.journal-card:hover .journal-card__media img,
.category-card:hover .category-card__media img {
  transform: scale(1.05);
}

.product-card__quick {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(244, 239, 230, 0.5);
  border-radius: 999px;
  background: rgba(28, 26, 23, 0.66);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: translateY(0);
}

/* Studio layout */
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: start;
}

.studio__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.studio__progress {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.studio__progress-step {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  color: rgba(28, 26, 23, 0.44);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.studio__progress-step::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: attr(data-step);
}

.studio__progress-step.is-active,
.studio__progress-step.is-done {
  color: var(--red);
}

.studio__progress-step.is-active::before,
.studio__progress-step.is-done::before {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-light);
}

.studio__body {
  min-height: 520px;
  padding: 26px;
}

.studio-step {
  display: none;
  animation: step-in 320ms ease both;
}

.studio-step.is-active {
  display: block;
}

.studio-step__head {
  margin-bottom: 22px;
}

.studio-step__head h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.studio-step__head p {
  margin: 0;
  color: rgba(28, 26, 23, 0.66);
}

.studio-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.studio-option {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.studio-option:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.studio-option.is-active {
  border-color: var(--red);
  background: rgba(158, 43, 37, 0.08);
}

.studio-option strong {
  font-size: 16px;
}

.studio-option span {
  color: rgba(28, 26, 23, 0.62);
  font-family: var(--sans);
  font-size: 12px;
}

.studio-option__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.14);
}

.studio-row {
  margin-top: 22px;
}

.studio-row > label,
.studio-row > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(28, 26, 23, 0.62);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.studio-sizes,
.studio-finishes,
.studio-charms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.studio-size,
.studio-finish,
.studio-charm {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.studio-size.is-active,
.studio-finish.is-active,
.studio-charm.is-active,
.studio-size:hover,
.studio-finish:hover,
.studio-charm:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper-light);
}

.studio-charm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-charm i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
}

.studio-range {
  width: 100%;
  accent-color: var(--red);
}

.studio-review {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.studio-review__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(107, 74, 50, 0.14);
  font-size: 14px;
}

.studio-review__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.studio-review__row span:first-child {
  color: rgba(28, 26, 23, 0.58);
}

.studio-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.studio-nav__hint {
  color: rgba(28, 26, 23, 0.56);
  font-family: var(--sans);
  font-size: 12px;
}

.studio-nav__actions {
  display: flex;
  gap: 10px;
}

/* Studio preview */
.studio-preview {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-lift);
}

.studio-preview__stage {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #2f2b26 0%, #1c1a17 70%);
}

.studio-preview__stage::before {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 119.5h120M119.5 0v120' stroke='%23f4efe6' stroke-opacity='.04'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

.studio-preview__svg {
  width: min(420px, 86%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.36));
}

.studio-preview__ribbon {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(244, 239, 230, 0.28);
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.76);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-preview__summary {
  padding: 20px 22px 22px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
}

.studio-preview__summary h3 {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: 20px;
}

.studio-preview__summary p {
  margin: 0;
  color: rgba(244, 239, 230, 0.7);
  font-size: 14px;
}

.studio-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.studio-preview__meta span {
  padding: 5px 10px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.78);
  font-family: var(--sans);
  font-size: 11px;
}

.bead-orbit {
  transform-origin: 210px 210px;
  animation: bead-orbit 26s linear infinite;
}

.bead-orbit--slow {
  animation-duration: 38s;
}

.bead {
  animation: bead-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bead-shine {
  animation: bead-shine 4.6s ease-in-out infinite;
}

.preview-float {
  animation: preview-float 6.8s ease-in-out infinite;
}

/* Mobile preview dock */
.mobile-preview-bar {
  display: none;
  position: sticky;
  bottom: 12px;
  z-index: 30;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.mobile-preview-bar__dots {
  display: flex;
  gap: 3px;
}

.mobile-preview-bar__dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.mobile-preview-bar__summary {
  flex: 1;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keyframes */
@keyframes smoke-drift {
  0% { transform: translate3d(-2%, 1%, 0) scale(1); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.04); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleX(0.5); transform-origin: left; opacity: 0.5; }
  50% { transform: scaleX(1); transform-origin: left; opacity: 1; }
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bead-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bead-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bead-shine {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes preview-float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(6px); }
}

@media (max-width: 980px) {
  .studio {
    grid-template-columns: 1fr;
  }

  .studio-preview {
    position: static;
    order: -1;
  }

  .studio-preview__stage {
    min-height: 420px;
  }

  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-preview-bar {
    display: flex;
  }
}

@media (max-width: 720px) {
  .studio__body {
    padding: 20px;
  }

  .studio-options {
    grid-template-columns: 1fr;
  }

  .studio-preview__stage {
    min-height: 340px;
  }

  .studio-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-nav__actions {
    width: 100%;
  }

  .studio-nav__actions .btn {
    flex: 1;
  }

  .stat-band {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__smoke path,
  .hero__scroll::before,
  .bead-orbit,
  .bead,
  .bead-shine,
  .preview-float,
  .studio-step {
    animation: none !important;
  }

  .product-card,
  .journal-card,
  .category-card,
  .product-card__media img,
  .journal-card__media img,
  .category-card__media img {
    transition: none !important;
  }
}
