@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* Variables stay inside blog/shared components, never on :root. */
body.sx, .sx-nav, .sx-footer, .sx-reel, .sx-follow, .sx-pr {
  --cream: #fffaf7; --white: #fff; --warm: #f3ebe3; --blush: #f2e1e2;
  --rose: #d49aa1; --dusty: #80605f; --mauve: #80605f;
  --brown: #5e4d48; --text: #5e4d48; --muted: #796963;
  --line: #ecded8;
  font-family: 'Zen Maru Gothic', sans-serif;
}
body.sx { margin: 0; background: var(--cream); color: var(--text); font-size: 16px; line-height: 1.95; }
body.sx *, body.sx *::before, body.sx *::after,
.sx-nav, .sx-nav *, .sx-footer, .sx-footer * { box-sizing: border-box; }
body.sx a { color: var(--dusty); text-underline-offset: .25em; }
body.sx img { display: block; max-width: 100%; }
body.sx a:focus-visible, .sx-nav a:focus-visible, .sx-footer a:focus-visible { outline: 3px solid #80605f; outline-offset: 4px; }
body.sx .sx-crumbs a { display: inline-block; min-height: 44px; line-height: 44px; }
.sx-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.sx-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 24px; }
.sx-section { padding: 56px 0; scroll-margin-top: 24px; }
.sx-h2 { text-align: center; font-size: 1.65rem; font-weight: 500; margin: 0 0 8px; letter-spacing: .08em; }
.sx-h2-sub { text-align: center; color: var(--muted); font-size: 1rem; margin: 0 0 28px; }

/* Shared navigation: quiet, scrollable and usable on narrow screens. */
.sx-nav { display: block; position: relative; margin: 0; padding: 0; background: #fffaf7; border-bottom: 1px solid var(--line); color: var(--text); line-height: 1.6; }
.sx-nav-inner { max-width: 1200px; margin: auto; padding: 18px 24px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.sx-logo { display: flex; min-height: 44px; flex-direction: column; align-items: center; text-decoration: none; color: var(--text); }
.sx-logo b { font-family: 'Zen Maru Gothic', sans-serif; font-size: 24px; font-weight: 500; letter-spacing: .1em; }
.sx-logo small { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.sx-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 2px 0 6px; max-width: 100%; overflow-x: auto; }
.sx-links li { flex: 0 0 auto; }
.sx-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 24px; color: var(--text); font-size: 14px; text-decoration: none; white-space: nowrap; font-weight: 500; }
.sx-links a.on, .sx-links a:hover { background: var(--warm); }
.sx-links .sx-ig a { background: var(--blush); }
.sx-footer { background: #f3ebe3; color: var(--text); text-align: center; padding: 40px 24px 28px; font-size: 14px; line-height: 1.8; border-top: 1px solid var(--line); }
.sx-f-links { display: flex; flex-wrap: wrap; gap: 0 20px; justify-content: center; max-width: 1040px; margin: 0 auto 16px; }
.sx-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text); }
.sx-footer a:hover { text-decoration: underline; }
.sx-f-note { color: var(--muted); margin-bottom: 16px; }

/* Profile and highlight circles echo the Instagram profile. */
.sx-hero { padding: 52px 0 32px; background: radial-gradient(ellipse at 20% 20%, #f3ebe3 0, transparent 65%); }
.sx-profile-intro { display: flex; justify-content: center; align-items: center; gap: 48px; }
.sx-prof-ava { width: 96px; height: 96px; padding: 5px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #eedbd0, #dcaab5 55%, #e4dbe9); }
.sx-prof-ava img { width: 100%; height: 100%; object-fit: cover; border: 4px solid white; border-radius: 50%; }
.sx-hero .sx-prof-ava { width: 190px; height: 190px; padding: 7px; }
.sx-profile-copy { min-width: 0; }
.sx-handle { margin: 0 0 8px; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.sx-hero h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.6; font-weight: 500; margin: 0 0 16px; letter-spacing: .04em; }
.sx-hero h1 span { display: block; font-size: 18px; letter-spacing: .02em; }
.sx-bio { list-style: none; padding: 0; margin: 0 0 12px; font-size: 16px; }
.sx-bio li { padding-left: 1.3em; text-indent: -1.3em; }
.sx-followers { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.sx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 24px; font-size: 16px; font-weight: 500; line-height: 1.6; text-decoration: none; border: 1px solid transparent; transition: background .2s; max-width: 100%; overflow-wrap: anywhere; }
body.sx .sx-btn-main, .sx-btn-main { background: var(--blush, #f2e1e2); color: #5e4d48; border-color: #e7cdd0; }
body.sx .sx-btn-sub, .sx-btn-sub { background: white; color: #5e4d48; border-color: #dfcdc5; }
.sx-btn:hover { background: #f3ebe3; }
.sx-highlights { display: flex; gap: 28px; justify-content: center; overflow-x: auto; padding-top: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.sx-highlights a { flex: 0 0 112px; text-align: center; text-decoration: none; }
.sx-highlights span { display: block; width: 88px; height: 88px; margin: 0 auto 10px; border-radius: 50%; padding: 4px; background: white; border: 1px solid #dfcdc5; }
.sx-highlights img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sx-highlights b { display: block; font-size: 14px; font-weight: 500; line-height: 1.6; }

/* Cover tiles retain the original photographs and use the reel's pink ribbon. */
.sx-cat-grid, .sx-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.sx-cat, .sx-post { display: block; min-width: 0; text-decoration: none; border-radius: 20px; background: white; overflow: hidden; box-shadow: 0 4px 18px rgba(94,77,72,.04); }
.sx-reel-cover { position: relative; isolation: isolate; aspect-ratio: 1 / 1; overflow: hidden; background: var(--warm); }
.sx-reel-cover img { width: 100%; height: 100%; object-fit: cover; }
.sx-reel-cover::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(94,77,72,.65)); z-index: 0; pointer-events: none; }
.sx-ribbon { position: absolute; top: 10%; left: 0; width: 100%; padding: 8px 10px; background: rgba(225,185,190,.55); color: white; text-shadow: 0 1px 4px #796963; font-size: 14px; text-align: center; line-height: 1.6; z-index: 1; }
body.sx .sx-cover-title { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; margin: 0; color: white; font-size: 24px; font-weight: 700; line-height: 1.6; text-shadow: 0 2px 6px rgba(94,77,72,.7); z-index: 1; overflow-wrap: anywhere; }
body.sx .sx-cat-caption { margin: 0; padding: 16px; font-size: 16px; line-height: 1.8; color: var(--text); }
.sx-post-body { padding: 20px; }
body.sx .sx-post-body p { margin: 0; font-size: 16px; }
.sx-post-date { font-size: 14px; color: var(--muted); margin-top: 12px; }
.sx-cat:hover, .sx-post:hover { box-shadow: 0 6px 24px rgba(94,77,72,.12); }
.sx-empty { text-align: center; padding: 32px 20px; border: 1px dashed #dfcdc5; border-radius: 20px; background: white; font-size: 16px; }

/* Editorial pages and existing guidance keep all copy. */
.sx-page { padding-top: 16px; padding-bottom: 64px; }
.sx-crumbs { font-size: 14px; color: var(--muted); }
.sx-page h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 500; text-align: center; line-height: 1.6; margin: 28px 0 12px; }
.sx-page .sx-lead { text-align: center; margin: 0 0 32px; font-size: 16px; }
.sx-page h2 { font-size: 22px; font-weight: 500; border-left: 3px solid var(--rose); padding-left: 14px; margin: 40px 0 20px; }
.sx-page p { font-size: 16px; margin: 0 0 20px; }
.sx-page .sx-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sx-page .sx-cover-title { font-size: 20px; }
.sx-band, .sx-follow { padding: 32px 28px; border-radius: 24px; text-align: center; }
.sx-band h2, .sx-band h3 { margin: 0 0 12px; font-size: 22px; font-weight: 500; padding: 0; border: 0; }
.sx-band p, .sx-follow p { max-width: 560px; margin: 0 auto 20px; font-size: 16px; }
.sx-band-ig, .sx-follow { background: linear-gradient(120deg, #f3ebe3, #f2e1e2); }
.sx-band-room { background: white; border: 1px solid var(--line); }
.sx-band-pro { background: var(--warm); }
.sx-follow { margin: 40px 0 24px; color: var(--text); }
body.sx .sx-note { font-size: 14px; color: var(--muted); margin: 20px auto 0; }
.sx-prof { display: flex; align-items: center; gap: 24px; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.sx-prof h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; }
.sx-prof ul { margin: 0 0 10px; padding-left: 20px; font-size: 16px; }
.sx-steps { list-style: none; counter-reset: step; padding: 0; }
.sx-steps > li { counter-increment: step; position: relative; padding: 20px 20px 20px 64px; background: white; margin-bottom: 12px; border-radius: 20px; }
.sx-steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 18px; top: 20px; color: var(--dusty); font-size: 20px; }
.sx-category-head { display: flex; align-items: center; gap: 28px; margin: 24px 0 36px; padding: 24px; border-radius: 24px; background: white; }
.sx-category-photo { width: 180px; flex-shrink: 0; }
.sx-category-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.sx-category-head h1 { text-align: left; margin: 0 0 16px; font-size: 26px; }
.sx-category-head .sx-lead { text-align: left; margin: 0; }
.sx-room-photo { width: 180px; margin: 0 auto 24px; }
.sx-room-photo img { width: 180px; height: 240px; object-fit: cover; border-radius: 90px 90px 24px 24px; }
.sx-reel { display: flex; align-items: center; gap: 16px; padding: 20px; margin-bottom: 24px; background: white; border: 1px solid #ecded8; border-radius: 20px; text-decoration: none; color: #5e4d48; }
.sx-reel b { display: block; }
.sx-reel small { color: #796963; }
.sx-pr { display: inline-block; padding: 8px 16px; border-radius: 12px; background: #f3ebe3; color: #796963; font-size: 14px; }
@media (max-width: 760px) {
  .sx-nav-inner { padding: 12px 16px 4px; align-items: stretch; }
  .sx-wrap, .sx-narrow { padding-left: 16px; padding-right: 16px; }
  .sx-profile-intro { gap: 24px; }
  .sx-hero .sx-prof-ava { width: 120px; height: 120px; }
  .sx-highlights { justify-content: flex-start; gap: 12px; }
  .sx-cat-grid, .sx-posts, .sx-page .sx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  body.sx .sx-cover-title { font-size: 20px; padding: 14px; }
  .sx-ribbon { font-size: 12px; padding: 6px; }
  .sx-category-head { gap: 20px; padding: 20px; }
  .sx-category-photo { width: 130px; }
}
@media (max-width: 520px) {
  .sx-hero { padding-top: 28px; }
  .sx-profile-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sx-hero .sx-prof-ava { width: 100px; height: 100px; }
  .sx-hero h1 { font-size: 26px; }
  .sx-actions { gap: 8px; }
  .sx-actions .sx-btn { padding: 10px 16px; }
  .sx-section { padding-top: 36px; padding-bottom: 36px; }
  .sx-h2 { font-size: 24px; }
  body.sx .sx-cover-title { font-size: 18px; padding: 12px; }
  body.sx .sx-cat-caption { padding: 12px; }
  .sx-prof { flex-direction: column; align-items: flex-start; padding: 24px; }
  .sx-band, .sx-follow { padding: 28px 20px; }
  .sx-posts { grid-template-columns: minmax(0, 1fr); }
  body.sx .sx-post .sx-cover-title { font-size: 24px; padding: 20px; }
  .sx-category-head { flex-direction: column; align-items: stretch; }
  .sx-category-photo { width: 100%; }
  .sx-category-photo img { height: auto; aspect-ratio: 1 / 1; max-width: 240px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.sx *, body.sx *::before, body.sx *::after,
  .sx-nav *, .sx-footer *, .sx-btn { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
