.story-main-about {
  padding-bottom: 0;
}


/* Our Story (/about): one flat intro band — title, copy, hero image, same surface */
body.page-about .about-top {
  margin: 0;
  padding: calc(60px + var(--space-2xl)) var(--space-lg) var(--space-2xl);
  text-align: center;
  background: var(--color-bg);
  background-image: none;
  border: none;
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
}

body.page-about .about-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

body.page-about .about-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

body.page-about .about-intro-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-light);
  font-weight: 300;
  max-width: 42rem;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.about-image-wrapper {
  max-width: 500px;
  width: 100%;
  margin: 0 auto var(--space-xl);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1.2s ease, transform 1.2s ease;
  box-sizing: border-box;
}

/* Hero image sits on the same flat band — no card lift */
body.page-about .about-top .about-image-wrapper {
  max-width: 900px;
  aspect-ratio: 21/8;
  opacity: 1;
  transform: none;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-top .about-title,
.about-top .about-subtitle,
.about-top .about-intro-text {
  opacity: 1;
  transform: none;
  animation: none;
}

body.page-about .about-top .about-image-wrapper .about-image,
body.page-about .about-top .about-image-hero,
body.page-about .about-top .about-image-hero .about-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.about-image-wrapper.visible {
  opacity: 1;
  transform: scale(1);
}

.about-image-hero {
  border-radius: 12px;
  max-width: 100%;
  width: 100%;
}

.about-image-hero .about-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  vertical-align: middle;
}

.about-image-placeholder {
  width: 100%;
  padding-top: 80%;
  position: relative;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  box-sizing: border-box;
}

.about-story {
  padding: var(--space-xl) 0;
}

/* Row: text left, image right (second image in Our Story) */
.about-story-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  align-items: start;
}

@media (min-width: 640px) {
  .about-story-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .about-story-row--image-left {
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
  }
}

.about-story-row--text-left .story-section {
  order: 1;
}

.about-story-row--text-left .about-image-wrapper {
  order: 2;
  margin-top: 0;
  margin-bottom: 0;
  max-width: none;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 350px;
}

.about-story-row--text-left .about-image-wrapper .about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Row: image left, text right (Why MinimalInterior) */
.about-story-row--image-left .about-image-wrapper {
  order: 1;
  margin-top: 0;
  margin-bottom: 0;
  max-width: none;
  width: 100%;
  aspect-ratio: 3/4;
  min-height: 380px;
}

.about-story-row--image-left .about-image-wrapper .about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-story-row--image-left .story-section {
  order: 2;
}

/* Last images: left one long, right 2 stacked (after The Philosophy) */
.about-story-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-sm);
  width: 100%;
  aspect-ratio: 4/3;
}

.about-story-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg);
  min-height: 140px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-story-gallery-item--long {
  grid-row: 1 / -1;
  min-height: 0;
}

.about-story-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.about-story-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.about-story-gallery--standalone {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .about-story-gallery--standalone {
    gap: var(--space-md);
  }
}

.about-story .about-image-wrapper {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.about-story .story-container {
  max-width: min(800px, 100%);
  width: 100%;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  box-sizing: border-box;
}

.story-section {
  margin-bottom: var(--space-xl);
}

.story-section.animate-slide-up {
  opacity: 0;
  transform: translateX(-60px) translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: none !important; /* Override the general animate-slide-up animation */
}

.story-section.animate-slide-up:nth-child(even) {
  transform: translateX(60px) translateY(20px);
}

.story-section.animate-slide-up.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.story-section.animate-slide-up:nth-child(1).visible { transition-delay: 0s; }
.story-section.animate-slide-up:nth-child(2).visible { transition-delay: 0.05s; }
.story-section.animate-slide-up:nth-child(3).visible { transition-delay: 0.1s; }
.story-section.animate-slide-up:nth-child(4).visible { transition-delay: 0.15s; }
.story-section.animate-slide-up:nth-child(5).visible { transition-delay: 0.2s; }
.story-section.animate-slide-up:nth-child(6).visible { transition-delay: 0.25s; }
.story-section.animate-slide-up:nth-child(7).visible { transition-delay: 0.3s; }
.story-section.animate-slide-up:nth-child(8).visible { transition-delay: 0.35s; }
.story-section.animate-slide-up:nth-child(9).visible { transition-delay: 0.4s; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.story-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--color-text-light);
  font-weight: 300;
}

.story-content p {
  margin-bottom: var(--space-md);
}

.story-content .btn-story {
  display: block;
  margin: var(--space-lg) auto 0;
  text-align: center;
  width: fit-content;
}

.philosophy-list {
  list-style: none;
  margin: var(--space-md) 0;
  padding-left: 0;
}

.philosophy-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
}

.philosophy-list li:last-child {
  border-bottom: none;
}

.philosophy-list strong {
  color: var(--color-text);
  font-weight: 500;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin: var(--space-lg) 0;
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-text);
}

/* Quote as its own section (under Why MinimalInterior) */
.story-section--quote {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.story-section--quote .story-quote {
  margin-top: 0;
  margin-bottom: 0;
}

.story-question {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-text);
  margin: var(--space-lg) 0;
  text-align: center;
}

/* Let's Begin: recognizable separated CTA section */
.story-section--lets-begin {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-bg);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.story-section--lets-begin .section-title {
  margin-bottom: var(--space-md);
}

.story-section--lets-begin .story-content {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.story-section--lets-begin .story-question {
  margin: var(--space-lg) 0 var(--space-xl);
}

.story-section--lets-begin .btn-story {
  margin-top: var(--space-sm);
}

/* Contact Page */
.contact-section {
  padding: var(--space-xl) 0;
  min-height: 70vh;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  text-align: center;
  color: var(--color-text);
}

.contact-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--space-sm);
  font-weight: 300;
}

.contact-phone,
.contact-direct {
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
}

.contact-direct {
  margin-bottom: var(--space-lg);
}

.contact-direct-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
}

.contact-phone a,
.contact-direct-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

.contact-phone a:hover,
.contact-direct-link:hover {
  text-decoration: underline;
}

.auth-section {
  padding-top: calc(60px + var(--space-xl));
}

.auth-switch {
  margin-top: var(--space-lg);
  font-size: 0.95rem;
  text-align: center;
  color: var(--color-text-light);
}

.auth-switch a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Create your story – intro block (separate, noticeable) */
.create-story-intro {
  text-align: center;
  padding: var(--space-2xl, 2.5rem) var(--space-lg);
  margin-bottom: var(--space-2xl, 2.5rem);
  border-bottom: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  background: var(--color-bg-subtle, rgba(0, 0, 0, 0.02));
  border-radius: 12px;
}

.create-story-tagline {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-md);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.create-story-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  margin: 0 0 var(--space-lg);
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.create-story-desc {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin: 0;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.5;
}

/* My Story (Create your story) placeholder */
.my-story-section {
  padding-top: calc(60px + var(--space-xl));
}

.my-story-brand,
.my-story-placeholder {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.my-story-section .btn-story {
  display: inline-block;
  margin-top: var(--space-md);
}

.my-story-path {
  margin: var(--space-sm) 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.my-story-account-banner {
  margin: 0 0 var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-subtle, rgba(0, 0, 0, 0.04));
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.my-story-account-banner-text {
  margin: 0.4rem 0 0;
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.my-story-account-banner a {
  color: var(--color-accent);
  text-decoration: none;
}

.my-story-account-banner a:hover {
  text-decoration: underline;
}

.my-story-back {
  margin-top: var(--space-lg);
  text-align: center;
}

.my-story-back a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.95rem;
}

.my-story-back a:hover {
  color: var(--color-text);
}

/* Track order & projects page */
.track-section {
  padding: calc(60px + var(--space-xl)) 0 var(--space-2xl);
  min-height: 50vh;
}

.page-track .track-section--dashboard {
  background: linear-gradient(180deg, #f8f7f5 0%, #f3f1ee 48%, #faf9f8 100%);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.track-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

.track-subtitle,
.track-login-prompt {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-xl);
}

.track-login-btn {
  display: inline-block;
}

.track-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-md);
}

.track-heading:first-of-type {
  margin-top: 0;
}

.track-order-block {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--color-bg-subtle, rgba(0, 0, 0, 0.03));
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
}

.track-order-intro {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin: 0 0 var(--space-md);
}

.track-order-form {
  margin-bottom: var(--space-md);
}

.track-order-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.track-order-row input[type="text"],
.track-order-row input[type="tel"],
.track-order-row input[type="password"] {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  min-width: 0;
}

.track-order-row input[name="track_phone_code"] {
  width: 5rem;
}

.track-order-row input[name="track_phone_number"] {
  flex: 1;
  min-width: 8rem;
}

.track-order-row input[name="track_pin"] {
  width: 6rem;
}

.track-order-error {
  color: #b91c1c;
  font-size: 0.95rem;
  margin: 0 0 var(--space-md);
}

.track-order-result {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.track-order-result .track-order-status,
.track-order-result .track-order-date {
  margin: 0 0 var(--space-xs);
}

.track-order-items {
  list-style: none;
  margin: var(--space-sm) 0;
  padding: 0;
}

.track-order-items li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.track-order-total {
  margin: var(--space-md) 0 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.track-change-pin-block {
  margin-top: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--color-bg-subtle, rgba(0, 0, 0, 0.03));
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
}

.track-change-pin-form .track-order-row {
  margin-top: var(--space-sm);
}

.track-change-pin-form .track-order-row input {
  min-width: 8rem;
}

.track-change-pin-success {
  color: #15803d;
  font-size: 0.95rem;
  margin: 0 0 var(--space-md);
}

.track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.track-card {
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  background: var(--color-bg-subtle, rgba(0, 0, 0, 0.03));
  border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
}

.track-card-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.track-card-type {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.track-card-date {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.track-card-status {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  margin-left: auto;
}

.track-status-new,
.track-status-pending {
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}

.track-status-reviewed,
.track-status-contacted {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
}

.track-status-accepted {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.track-status-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.track-card-desc {
  font-size: 0.95rem;
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
  line-height: 1.45;
}

.track-card-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.track-empty {
  color: var(--color-text-light);
  margin: var(--space-lg) 0 0;
}

.track-empty a {
  color: var(--color-accent);
  text-decoration: none;
}

.track-empty a:hover {
  text-decoration: underline;
}

/* Track dashboard — professional account & overview */
.track-dashboard-container {
  max-width: 72rem;
  margin: 0 auto;
}

body.track-modal-open {
  overflow: hidden;
}

.track-modal[hidden] {
  display: none !important;
}

.track-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.track-modal.is-visible {
  display: flex;
}

.track-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.track-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(92vh, 720px);
  overflow-y: auto;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 80px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.track-modal-dialog--wide {
  max-width: min(34rem, 100%);
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.track-modal-dialog--wide .track-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.track-modal-dialog--wide .form-group-combobox:focus-within {
  z-index: 40;
}

.track-modal-dialog--wide .combobox-dropdown {
  z-index: 250;
}

.track-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.track-modal-heading {
  min-width: 0;
}

.track-modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #141414;
}

.track-modal-subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.52);
}

.track-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin: -0.25rem -0.35rem 0 0;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.45);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.track-modal-close:hover {
  color: #141414;
  background: rgba(0, 0, 0, 0.06);
}

.track-modal-close:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}

.track-modal-body {
  padding: 1.25rem 1.4rem 1.4rem;
}

.track-modal .track-pro-field input[type="password"],
.track-modal .track-pro-field input[type="text"],
.track-modal .track-pro-field input[type="email"],
.track-modal .track-pro-field input[type="tel"] {
  max-width: none;
}

.track-modal-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.track-modal-cancel {
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.track-modal-cancel:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
}

.track-modal-cancel:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}

.track-account-header.track-account-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.06);
  position: relative;
}

.track-account-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #3d3d3d 100%);
  opacity: 0.9;
}

.track-account-header-main {
  flex: 1;
  min-width: 0;
  padding-left: 0.65rem;
}

.track-account-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.45);
}

.track-account-username {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text);
  line-height: 1.45;
}

.track-account-username-value {
  font-weight: 600;
  font-family: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.track-account-meta-label {
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.track-account-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0 0 0.65rem;
}

.track-contact-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.78);
  background: rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 999px;
  word-break: break-word;
}

.track-contact-chip--phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Name appears last (below username & contact) */
.track-account-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #141414;
}

.track-account-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.track-account-action-btn {
  margin: 0;
  padding: 0.55rem 1.1rem;
  min-width: 0;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 9px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.track-account-action-btn--secondary {
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.track-account-action-btn--secondary:hover {
  border-color: rgba(0, 0, 0, 0.28);
  background: #fafafa;
}

.track-account-action-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #2a2a2a 0%, #141414 100%);
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.track-account-action-btn--primary:hover {
  background: linear-gradient(180deg, #333 0%, #1a1a1a 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.track-account-action-btn:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .track-account-header.track-account-card {
    padding: 1.15rem 1.15rem 1.2rem;
  }

  .track-account-card::before {
    top: 0.75rem;
    bottom: 0.75rem;
  }

  .track-account-header {
    flex-direction: column;
    align-items: stretch;
  }

  .track-account-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 0;
  }

  .track-account-action-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.track-account-expand-panel {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 1px solid rgba(20, 20, 20, 0.09);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.track-panel-head {
  padding: 1rem 1.5rem 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
}

.track-panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #141414;
  line-height: 1.25;
}

.track-panel-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.52);
  max-width: 36rem;
}

.track-account-expand-inner {
  padding: 1.25rem 1.5rem 1.35rem;
}

.track-flash {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  border-radius: 8px;
}

.track-flash--success {
  color: #14532d;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.track-flash--error {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.track-pro-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-pro-field label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.track-pro-field input[type="password"],
.track-pro-field input[type="text"],
.track-pro-field input[type="email"],
.track-pro-field input[type="tel"] {
  width: 100%;
  max-width: 22rem;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fafafa;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.track-pro-field input[type="password"]:hover,
.track-pro-field input[type="text"]:hover,
.track-pro-field input[type="email"]:hover,
.track-pro-field input[type="tel"]:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.track-pro-field input[type="password"]:focus,
.track-pro-field input[type="text"]:focus,
.track-pro-field input[type="email"]:focus,
.track-pro-field input[type="tel"]:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.35);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.track-field-hint {
  display: block;
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.45);
}

.track-form-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.track-modal .btn-story.track-password-submit,
.track-modal .btn-story.track-location-submit {
  padding: 0.55rem 1.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
}

.track-location-form {
  margin: 0;
}

.track-location-form .checkout-address-block {
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
}

.track-location-form .form-group {
  margin-bottom: 0.75rem;
}

.track-location-form .form-group:last-of-type {
  margin-bottom: 0;
}

.track-location-form label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.track-location-form input[type="text"] {
  font-size: 0.875rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fafafa;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.track-location-form input[type="text"]:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.track-location-form input[type="text"]:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.32);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.track-location-form .track-form-actions {
  margin-top: 1.1rem;
  padding-top: 0;
  border-top: none;
}

.track-dashboard-hero {
  margin: 0.25rem 0 1.35rem;
  padding-top: 0.25rem;
}

.track-dashboard-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #141414;
}

.track-dashboard-hero .track-subtitle {
  margin-bottom: 0;
}

.track-dashboard-lead {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.5);
}

.track-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .track-dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.track-dash-box {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 17rem;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.22s ease;
}

a.track-dash-box--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a.track-dash-box--link:focus-visible {
  outline: 2px solid var(--color-accent, #1a1a1a);
  outline-offset: 3px;
}

.track-dash-box--link .track-dash-box-title,
.track-dash-box--link .track-dash-box-subtitle {
  color: inherit;
}

.track-dash-box:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

a.track-dash-box--link:hover {
  transform: translateY(-1px);
}

.track-dash-box--orders {
  border-top: 3px solid #141414;
}

.track-dash-box--projects {
  border-top: 3px solid #2c4a4a;
}

.track-dash-box-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.025) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
}

.track-dash-box-icon {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.045);
  color: var(--color-text);
}

.track-dash-box--projects .track-dash-box-icon {
  background: rgba(53, 82, 82, 0.11);
  color: #2a3f3f;
}

.track-dash-box-icon-svg {
  width: 1.4rem;
  height: 1.4rem;
}

.track-dash-box-headings {
  flex: 1;
  min-width: 0;
}

.track-dash-box-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.track-dash-box-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-light);
  line-height: 1.35;
  opacity: 0.9;
}

.track-dash-badge {
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.3em 0.65em;
  min-width: 1.75rem;
  text-align: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.07);
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.track-dash-box--projects .track-dash-badge {
  background: rgba(53, 82, 82, 0.14);
  color: #1e3333;
}

.track-dash-box-body {
  flex: 1;
  padding: 1.25rem 1.35rem 1.4rem;
  min-height: 0;
  overflow: visible;
}

.track-dash-box-body--simple {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  justify-content: center;
}

/* Scroll only when project previews fill the card */
.track-dash-box--link .track-dash-box-body:not(.track-dash-box-body--simple) {
  max-height: min(42vh, 380px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.track-dash-box--link .track-dash-box-body:not(.track-dash-box-body--simple)::-webkit-scrollbar {
  width: 5px;
}

.track-dash-box--link .track-dash-box-body:not(.track-dash-box-body--simple)::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.track-dash-card-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-light);
  max-width: none;
}

.track-dash-card-desc strong {
  color: var(--color-text);
  font-weight: 600;
}

.track-dash-card-desc-link {
  color: var(--color-accent, #1a1a1a);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.track-dash-card-desc-link:hover {
  text-decoration-thickness: 2px;
}

.track-dash-primary-action {
  margin-top: 0;
}

.track-dash-box .btn-story,
.track-dash-box .track-dash-primary-action {
  padding: 0.6rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.track-dash-box-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.track-dash-box-hit:focus-visible {
  outline: 2px solid var(--color-accent, #1a1a1a);
  outline-offset: 3px;
}

.track-dash-box--empty .track-dash-empty-btn {
  position: relative;
  z-index: 2;
}

.track-dash-cta {
  margin: 0.65rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.track-dash-box--link:hover .track-dash-cta {
  color: var(--color-text);
}

.track-dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.track-dash-item {
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
  background: rgba(0, 0, 0, 0.018);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.track-dash-item:last-child {
  margin-bottom: 0;
}

.track-dash-item:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.09);
}

.track-dash-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.track-dash-item .track-card-status {
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 0.2em 0.42em;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: auto;
}

.track-dash-item-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-light);
}

.track-dash-item-date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
}

.track-dash-item-lines {
  margin-top: 0;
}

.track-dash-item-total {
  margin: var(--space-sm) 0 0;
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.track-dash-item-desc {
  margin: 0 0 0.2rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text);
}

.track-dash-item-meta {
  margin: 0;
  font-size: 0.71875rem;
  color: var(--color-text-light);
}

.track-dash-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 0.15rem 0 0.25rem;
  text-align: left;
}

.track-dash-empty-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.track-dash-empty-text {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-light);
  max-width: 100%;
}

.track-dash-empty-btn {
  margin-top: 0;
}

.track-dash-settings-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.track-change-pin-block--dashboard {
  margin-top: 2rem;
  padding: 1rem 1.125rem;
  background: var(--color-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 6px 20px rgba(0, 0, 0, 0.04);
}

/* Track detail pages (full lists) */
.track-detail-container {
  max-width: 720px;
  margin: 0 auto;
}

.track-detail-nav {
  margin-bottom: var(--space-lg);
}

.track-detail-back {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.track-detail-back:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.track-detail-header {
  margin-bottom: var(--space-xl);
}

.track-detail-lead {
  margin-bottom: 0;
  max-width: 36rem;
}

.track-detail-subheading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin: var(--space-2xl) 0 var(--space-md);
  letter-spacing: -0.01em;
}

.track-detail-subheading:first-of-type {
  margin-top: 0;
}

.track-detail-list {
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
}

.track-detail-list:last-child {
  margin-bottom: 0;
}

.track-detail-item {
  margin-bottom: var(--space-md);
}

.track-detail-item:last-child {
  margin-bottom: 0;
}

.track-detail-empty {
  padding: var(--space-xl) 0;
}

.track-detail-empty .btn-story {
  margin-top: var(--space-sm);
}

.track-order-status-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.track-order-status-actions .track-card-status {
  margin-left: 0;
}

.track-order-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.track-order-info-btn:hover {
  color: #141414;
  border-color: rgba(0, 0, 0, 0.22);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.track-order-info-btn:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 2px;
}

.track-order-info-btn-icon {
  position: relative;
  top: 0.04em;
}

.track-order-detail-section {
  margin-bottom: 1.25rem;
}

.track-order-detail-section:last-of-type {
  margin-bottom: 0;
}

.track-order-detail-section-title {
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.track-order-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.track-order-detail-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (max-width: 479px) {
  .track-order-detail-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.track-order-detail-label {
  color: rgba(0, 0, 0, 0.45);
  font-weight: 500;
}

.track-order-detail-value {
  color: var(--color-text, #141414);
  word-break: break-word;
}

.track-order-detail-address {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text, #141414);
}

.track-order-detail-muted {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.45);
  font-style: italic;
}

.track-order-detail-items {
  margin: 0 0 0.65rem;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text, #141414);
}

.track-order-detail-items li {
  margin-bottom: 0.2rem;
}

.track-order-detail-total {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-text, #141414);
}

.track-order-detail-notes {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
  color: var(--color-text, #141414);
}

.track-order-detail-modal-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

@media (max-width: 599px) {
  .track-change-pin-form .track-order-row {
    flex-direction: column;
    align-items: stretch;
  }

  .track-change-pin-form .track-order-row input,
  .track-change-pin-form .track-order-row .btn-story {
    width: 100%;
  }
}

.form-choice-intro {
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 0 0 var(--space-lg);
  font-weight: 500;
  text-align: center;
}

.form-choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.form-choice-btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.form-choice-btn:hover {
  background: var(--color-bg-subtle, rgba(0, 0, 0, 0.04));
  border-color: var(--color-text-light);
}

.form-choice-btn.active {
  background: var(--color-text, #1a1a1a);
  border-color: var(--color-text, #1a1a1a);
  color: var(--color-bg, #fff);
}

.form-choice-switch {
  margin-top: var(--space-lg);
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.form-choice-switch a {
  color: var(--color-accent);
  text-decoration: none;
}

.form-choice-switch a:hover {
  text-decoration: underline;
}

.checkout-login-form .form-group,
.my-story-login-form .form-group {
  max-width: 20em;
}

.my-story-login-form .form-group {
  margin-left: auto;
  margin-right: auto;
}

.my-story-login-form {
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.my-story-login-form .form-group label {
  text-align: center;
}

.my-story-login-form .form-group input {
  margin-left: auto;
  margin-right: auto;
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.9em;
}

.my-story-form-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: var(--space-xl) 0 var(--space-md);
  color: var(--color-text);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
  letter-spacing: 0.02em;
}

.my-story-form-heading:first-of-type {
  margin-top: 0;
}

.form-hint {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.category-page-section {
  padding-top: calc(60px + var(--space-xl));
}

.category-page-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

.category-page-cta .btn-story {
  display: inline-block;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form .checkout-phone-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
}

.contact-form .checkout-phone-row input {
  width: auto;
}

.contact-form .checkout-phone-row input:first-child {
  width: 5.5rem;
  min-width: 5.5rem;
  flex: 0 0 5.5rem;
}

.contact-form .checkout-phone-row input:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.my-story-form .btn-story {
  margin-top: var(--space-lg);
  padding: 0.85rem var(--space-xl);
  border-radius: 8px;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Quote form: account-derived readonly values look subtly distinct */
.my-story-form .form-group input[readonly] {
  background: rgba(15, 23, 42, 0.035);
  border-color: rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.78);
}

.my-story-form .form-group input[readonly]:hover,
.my-story-form .form-group input[readonly]:focus {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkout-phone-row,
.checkout-email-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.checkout-phone-row input:first-child {
  width: 5.5rem;
  min-width: 5.5rem;
  flex-shrink: 0;
}

.checkout-phone-row input:last-child,
.checkout-email-row input {
  flex: 1;
  min-width: 0;
}

.checkout-email-row input:first-child {
  flex: 1;
}

.checkout-email-row input:last-child {
  flex: 1.15;
}

.checkout-email-at {
  display: flex;
  align-items: center;
  padding: 0 0.1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-light);
  flex-shrink: 0;
  user-select: none;
}

.checkout-address-block {
  margin: 0 0 var(--space-lg);
  padding: 0;
  border: none;
  min-width: 0;
  overflow: visible;
}

.checkout-address-legend {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  padding: 0;
}

.checkout-address-block .form-group {
  margin-bottom: var(--space-lg);
}

.checkout-address-block .form-group:last-of-type {
  margin-bottom: 0;
}

.form-group-combobox {
  position: relative;
  z-index: 0;
}

.form-group-combobox:focus-within {
  z-index: 30;
}

.combobox {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.form-group .combobox input {
  width: auto;
  flex: 1;
  min-width: 0;
  padding-right: 2.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.combobox-toggle {
  width: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--color-text-light);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.combobox-toggle:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.combobox-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 200;
  display: none;
}

.combobox-dropdown[role='listbox'] li {
  padding: 0.5rem 0.85rem;
  font-size: 1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
}

.combobox-dropdown[role='listbox'] li:last-child {
  border-bottom: none;
}

.combobox-dropdown[role='listbox'] li:hover,
.combobox-dropdown[role='listbox'] li[aria-selected='true'] {
  background: rgba(0, 0, 0, 0.05);
}

.my-story-form .room-type-dropdown {
  position: relative;
  width: min(240px, 100%);
  max-width: 100%;
}

.my-story-form .custom-select-trigger {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.my-story-form .custom-select-trigger::after {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(15, 23, 42, 0.6);
  border-bottom: 2px solid rgba(15, 23, 42, 0.6);
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.my-story-form .custom-select.open .custom-select-trigger {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.my-story-form .custom-select-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  width: 100%;
  max-width: 100%;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  z-index: 20;
  display: none;
  box-sizing: border-box;
}

.my-story-form .custom-select.open .custom-select-menu {
  display: block;
}

.my-story-form .custom-select-menu li {
  padding: 0.5rem 0.72rem;
  font-size: 0.92rem;
  line-height: 1.3;
  cursor: pointer;
}

.my-story-form .custom-select-menu li:hover {
  background: rgba(15, 23, 42, 0.05);
}

.form-group .form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.checkbox-inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.form-group label.checkbox-inline-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 400;
  margin: 0;
}

.checkbox-inline-option input[type="checkbox"] {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.budget-slider-wrap {
  max-width: 360px;
}

.budget-slider-wrap input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #111827;
}

.budget-slider-value {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--color-text-light);
}

.room-users-builder {
  display: grid;
  gap: 0.65rem;
}

.room-user-row {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.7rem;
  background: rgba(15, 23, 42, 0.02);
}

.room-user-fields {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 0.55rem;
}

.room-user-gender-group {
  grid-column: 1 / -1;
  align-items: center;
}

.room-user-gender-label {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-right: 0.2rem;
}

.room-user-add-btn {
  margin-top: 0.55rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: var(--color-surface);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.room-user-add-btn:hover {
  border-color: rgba(15, 23, 42, 0.34);
  background: rgba(15, 23, 42, 0.04);
}

.room-user-add-btn:active {
  transform: translateY(1px);
}

.room-user-remove-btn {
  margin-top: 0.55rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.dimension-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 88px;
  gap: 0.55rem;
}

.height-grid {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 0.55rem;
}

.timeline-picker {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 0.55rem;
  align-items: start;
}

.timeline-picker select,
.timeline-picker input {
  margin: 0;
  padding: 0.52rem 0.65rem;
  border-radius: 6px;
  font-size: 0.92rem;
}

.timeline-picker-field .form-hint {
  margin-top: 0.28rem;
  font-size: 0.74rem;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .my-story-form .room-type-dropdown {
    width: 100%;
  }

  .room-user-fields {
    grid-template-columns: 1fr;
  }

  .dimension-grid,
  .height-grid {
    grid-template-columns: 1fr;
  }

  .timeline-picker {
    grid-template-columns: 0.9fr 1.25fr 0.9fr;
    gap: 0.38rem;
    align-items: start;
  }

  .timeline-picker select,
  .timeline-picker input {
    padding: 0.45rem 0.5rem;
    font-size: 0.85rem;
  }

  .timeline-picker-field .form-hint {
    font-size: 0.68rem;
    margin-top: 0.2rem;
  }
}

.message {
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: 4px;
}

.message.success {
  background: #f0f9f4;
  color: #166534;
  border: 1px solid #86efac;
}

.message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.quote-success-popup {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: #166534;
  color: #fff;
  padding: 0.7rem 0.95rem;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quote-success-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.track-overview-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.track-overview-stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.track-overview-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.track-overview-value {
  margin: 0.15rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.track-overview-value--small {
  font-size: 0.96rem;
  font-weight: 500;
}

.track-dashboard-grid-enhanced {
  margin-top: 0.5rem;
}

.track-dash-card-desc--spaced {
  margin-bottom: 0.65rem;
}

.track-dashboard-note {
  margin-top: 1.1rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.track-dashboard-note-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.track-dashboard-note-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.track-projects-intro {
  margin: 0 0 0.85rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.track-project-title-list {
  display: grid;
  gap: 0.65rem;
}

.track-project-title-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.track-project-title-link:hover {
  border-color: rgba(15, 23, 42, 0.28);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.track-project-title-link-title {
  font-weight: 600;
  color: var(--color-text);
}

.track-project-title-right {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.track-project-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.34rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.track-project-detail-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  padding: 0.8rem 0.9rem;
}

.track-project-stage {
  margin: 0 0 0.3rem;
}

.track-project-stage-hint {
  margin: 0 0 0.55rem;
  color: var(--color-text-light);
  font-size: 0.88rem;
}

.track-project-update-block {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-border);
}

.track-project-note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.track-project-note-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  background: rgba(15, 23, 42, 0.02);
}

.track-project-note-title {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 600;
}

.track-project-note-desc {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  white-space: pre-wrap;
}

.track-project-note-date {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.track-project-submitted-grid {
  display: grid;
  gap: 0.3rem;
}

.track-project-submitted-row {
  margin: 0;
  font-size: 0.88rem;
}

.track-project-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}

.track-project-image-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.track-project-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.track-project-file-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-surface);
}

.track-project-chat-card {
  padding: 0.75rem;
}

.track-project-chat-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  padding-bottom: 0.55rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-border);
}

.track-project-chat-topbar .track-dash-item-date {
  margin: 0 0 0 auto;
}

.track-project-chat-thread {
  padding: 0.2rem;
  max-height: 56vh;
  overflow-y: auto;
}

.track-project-message-form {
  display: grid;
  gap: 0.55rem;
  margin: 0.6rem 0 0.75rem;
}

.track-project-message-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  resize: vertical;
  min-height: 90px;
  background: #fff;
}

.track-project-message-thread {
  display: grid;
  gap: 0.5rem;
}

.track-project-message-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  background: rgba(15, 23, 42, 0.02);
}

.track-project-message-item--user {
  border-color: rgba(45, 88, 255, 0.25);
  background: rgba(45, 88, 255, 0.06);
  margin-left: auto;
  max-width: 86%;
}

.track-project-message-item--admin {
  border-color: rgba(16, 185, 129, 0.22);
  background: rgba(16, 185, 129, 0.08);
  margin-right: auto;
  max-width: 86%;
}

.track-project-message-author {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
}

.track-project-message-text {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  white-space: pre-wrap;
}

.track-project-message-date {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  color: var(--color-text-light);
}

.track-project-chat-image-link {
  margin-top: 0.35rem;
  max-width: 280px;
}

.track-project-chat-image {
  height: 168px;
}

.track-project-chat-composer {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--color-border);
}

.track-flash {
  margin: 0.4rem 0 0;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.84rem;
}

.track-flash--success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #065f46;
}

.track-flash--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #991b1b;
}

@media (max-width: 480px) {
  .track-overview-snapshot {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .track-project-chat-topbar .track-dash-item-date {
    width: 100%;
    margin-left: 0;
  }

  .track-project-message-item--user,
  .track-project-message-item--admin {
    max-width: 100%;
  }
}

/* Choose Your Path Page - same design language & animations */
body.page-choose {
  overflow: hidden;
  height: 100vh;
}

body.page-choose .choose-main {
  height: 100vh;
  overflow: hidden;
}

.choose-section {
  padding: calc(60px + var(--space-md)) var(--space-lg);
  height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.choose-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 1100px;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 60px - var(--space-md) * 2);
}

.choose-card {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateX(-50px) translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.choose-card-right {
  transform: translateX(50px) translateY(20px);
}

.choose-card.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.choose-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.choose-card:hover .choose-card-cta {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: var(--color-text);
}

.choose-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-xl);
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.choose-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  line-height: 1.2;
}

.choose-card-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  font-weight: 300;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.choose-card-tagline {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.choose-card-cta {
  display: inline-block;
  width: fit-content;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-align: center;
  border-radius: 0;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

/* Brand Pages */
.brand-hero {
  padding: var(--space-xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(to bottom, var(--color-bg), var(--color-surface));
}

.brand-hero-with-logo {
  padding-top: calc(60px + var(--space-xl));
}

.brand-logo-wrap {
  margin-bottom: var(--space-md);
}

.brand-logo-img {
  max-width: 140px;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

.brand-logo-svg {
  display: inline-block;
  width: 100px;
  height: 50px;
  color: var(--color-text);
}

.brand-logo-svg svg {
  width: 100%;
  height: 100%;
}

/* Brand pages: shared type scale (MinimalInterior + Tiny Place) */
body.page-brand .story-main .brand-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
}

body.page-brand .story-main .brand-hero-subtitle {
  font-size: 1.5rem;
}

body.page-brand .story-main .brand-hero-desc {
  font-size: 1.125rem;
}

body.page-brand .story-main .brand-categories-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

body.page-brand .story-main .brand-category-name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

body.page-brand .story-main .brand-category-block .brand-category-desc {
  font-size: 1rem;
}

body.page-brand .story-main .brand-slideshow-item-title {
  font-size: 0.9rem;
}

body.page-brand .story-main .brand-story-cta-text {
  font-size: 1.35rem;
}

body.page-brand .story-main .brand-products-heading {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

body.page-brand .story-main .brand-products-intro {
  font-size: 1rem;
}

.brand-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.brand-hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-text-light);
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.brand-hero-desc {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-light);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* Services section: grid of cards */
.brand-services-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.brand-services-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-xs);
}

.brand-services-intro {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.brand-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .brand-services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.brand-service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md) var(--space-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.brand-service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.brand-service-index {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.brand-service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.brand-service-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-light);
  font-weight: 400;
}

.brand-categories-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.brand-categories-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
  text-align: center;
}

/* Category block: name + slideshow + Show all */
.brand-category-block {
  margin-bottom: var(--space-2xl);
}

.brand-category-block:last-child {
  margin-bottom: 0;
}

.brand-category-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.brand-category-block .brand-category-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  font-weight: 300;
  margin-bottom: var(--space-md);
}

/* Slideshow - auto-scroll + drag, swipe, arrows, keyboard */
.brand-slideshow {
  position: relative;
  margin-bottom: var(--space-md);
}

.brand-slideshow-track {
  overflow: hidden;
}

.brand-slideshow-inner {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--space-xs) 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.brand-slideshow-inner.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.brand-slideshow-inner:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

.brand-slideshow-inner::-webkit-scrollbar {
  display: none;
}

.brand-slideshow-item {
  flex: 0 0 180px;
  pointer-events: auto;
}

.brand-slideshow-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  outline-offset: 2px;
}

.brand-slideshow-item-link:focus-visible {
  outline: 2px solid var(--color-text);
}

.brand-slideshow-item-link:hover .brand-slideshow-item-title {
  color: var(--color-text);
}

.brand-slideshow-item-image {
  position: relative;
  padding-top: 100%;
  background: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.brand-slideshow-item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-slideshow-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-border) 0%, var(--color-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-slideshow-placeholder::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-text-light);
  opacity: 0.3;
  border-radius: 4px;
}

.brand-slideshow-item-title {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}

.brand-category-cta {
  text-align: center;
  margin-top: var(--space-lg);
  padding: var(--space-sm) 0;
}

.btn-show-all {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn-show-all:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Products for sale (e.g. Tiny Place) */
.brand-products-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.brand-products-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
}

.brand-products-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0 0 var(--space-lg);
}

/* Brand home: Shop heading + intro above carousel */
.brand-products-on-brand .brand-products-heading {
  text-align: center;
}

.brand-products-on-brand .brand-products-intro {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Products slideshow (brand layout – 3-up peek: center focused, sides half-visible) */
.brand-products-slideshow {
  position: relative;
  overflow: visible;
  margin-bottom: var(--space-md);
  --brand-products-slide-pct: 58%;
}

.brand-products-slideshow--peek {
  padding: 0 var(--space-sm);
}

.brand-products-track-wrap {
  overflow: hidden;
  margin: 0 auto;
}

.brand-products-slideshow--peek .brand-products-track-wrap {
  max-width: 52rem;
}

.brand-products-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.35s ease;
  will-change: transform;
}

.brand-products-slide {
  min-width: 0;
  flex: 0 0 var(--brand-products-slide-pct, 58%);
  padding: 0 0.35rem;
  box-sizing: border-box;
}

.brand-products-slide .brand-product-card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.brand-products-slide[aria-hidden="true"] .brand-product-card {
  transform: scale(0.9);
  opacity: 0.82;
  box-shadow: none;
}

.brand-products-slide[aria-hidden="false"] .brand-product-card {
  transform: scale(1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* Tiny Place brand shop: center hero, side peeks */
.brand-products-on-brand .brand-products-slide[aria-hidden="true"] .brand-product-card {
  transform: scale(0.88);
  opacity: 0.78;
}

.brand-products-on-brand .brand-products-slide[aria-hidden="false"] .brand-product-card {
  transform: scale(1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.brand-products-on-brand .brand-products-slide[aria-hidden="true"] .brand-product-desc {
  display: none;
}

.brand-products-on-brand .brand-product-card--carousel .brand-product-image {
  padding-top: 88%;
}

.brand-products-on-brand .brand-products-slide[aria-hidden="true"] .brand-product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.95rem;
}

.brand-products-on-brand .brand-products-slide[aria-hidden="false"] .brand-product-info {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-xs);
}

@media (max-width: 639px) {
  .brand-products-slideshow--peek {
    padding: 0;
  }

  .brand-products-slideshow--peek {
    --brand-products-slide-pct: 68%;
  }

  .brand-products-slide {
    padding: 0 0.2rem;
  }

  .brand-products-on-brand .brand-product-card--carousel .brand-product-image {
    padding-top: 82%;
  }

  .brand-products-prev {
    left: 0.15rem;
  }

  .brand-products-next {
    right: 0.15rem;
  }
}

@media (min-width: 640px) {
  .brand-products-slideshow--peek {
    --brand-products-slide-pct: 56%;
  }
}

.brand-products-prev,
.brand-products-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-products-prev:hover,
.brand-products-next:hover {
  background: var(--color-text);
  color: var(--color-surface);
  border-color: var(--color-text);
}

.brand-products-prev {
  left: -1rem;
}

.brand-products-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .brand-products-prev {
    left: -3.5rem;
  }
  .brand-products-next {
    right: -3.5rem;
  }
}

/* Category showroom – projects slideshow */
.category-showroom-section {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  min-height: 60vh;
}

.category-showroom-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
  text-align: center;
}

.category-showroom-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0 0 var(--space-lg);
  text-align: center;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.category-showroom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.category-showroom-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .category-showroom-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.category-showroom-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.category-showroom-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent, rgba(0, 0, 0, 0.12));
  transform: translateY(-2px);
}

.category-showroom-image {
  position: relative;
  background: var(--color-border);
  overflow: hidden;
  aspect-ratio: 8/9;
}

.category-showroom-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-showroom-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-border) 0%, var(--color-bg) 100%);
}

.category-showroom-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 768px) {
  .category-showroom-title {
    font-size: 1.05rem;
    padding: var(--space-md) var(--space-lg);
  }
}

.category-showroom-back {
  text-align: center;
  margin: var(--space-xl) 0 0;
  font-size: 0.95rem;
}

.category-showroom-back a {
  color: var(--color-text-light);
  text-decoration: none;
}

.category-showroom-back a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.category-showroom-empty {
  text-align: center;
  color: var(--color-text-light);
  margin: var(--space-xl) 0;
}

/* Tiny Place: palette scoped to main content (type scale matches page-brand / MI) */
body.theme-tinyplace .story-main,
body.theme-tinyplace-alt .story-main {
  --color-text: #435f87;
  --color-text-light: #6f88ab;
  --color-accent: #5f8fda;
  --color-border: #d5e3f5;
}

/* Nav matches site default (not Tiny Place blue / Cormorant-only stack) */
body.theme-tinyplace .story-nav .nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: #1e293b;
  letter-spacing: -0.02em;
}

body.theme-tinyplace .story-nav .nav-links a,
body.theme-tinyplace .story-nav .nav-dropdown-trigger,
body.theme-tinyplace .story-nav .nav-dropdown-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: normal;
  color: #64748b;
}

body.theme-tinyplace .story-nav .nav-links a:hover,
body.theme-tinyplace .story-nav .nav-links a.active,
body.theme-tinyplace .story-nav .nav-dropdown-link:hover,
body.theme-tinyplace .story-nav .nav-dropdown-link.active {
  color: #1e293b;
}

body.theme-tinyplace .story-nav .nav-user-link,
body.theme-tinyplace .story-nav .nav-cart-link {
  color: #64748b;
}

body.theme-tinyplace .story-nav .nav-user-link:hover,
body.theme-tinyplace .story-nav .nav-user-link.active,
body.theme-tinyplace .story-nav .nav-cart-link:hover,
body.theme-tinyplace .story-nav .nav-cart-link.active {
  color: #1e293b;
}

body.theme-tinyplace .brand-hero-title,
body.theme-tinyplace-alt .brand-hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

body.theme-tinyplace .brand-hero-subtitle,
body.theme-tinyplace-alt .brand-hero-subtitle {
  letter-spacing: normal;
  line-height: 1.35;
}

body.theme-tinyplace .brand-hero-desc,
body.theme-tinyplace-alt .brand-hero-desc {
  line-height: 1.8;
}

body.theme-tinyplace .services-section,
body.theme-tinyplace-alt .services-section .services-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.theme-tinyplace .services-section,
body.theme-tinyplace-alt .services-section .services-intro {
  font-weight: 400;
}

body.theme-tinyplace .services-card-title,
body.theme-tinyplace-alt .services-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

body.theme-tinyplace .services-card-link,
body.theme-tinyplace-alt .services-card-link {
  font-weight: 400;
}

body.theme-tinyplace .brand-categories-heading,
body.theme-tinyplace-alt .brand-categories-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.theme-tinyplace .brand-category-name,
body.theme-tinyplace-alt .brand-category-name {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.theme-tinyplace .brand-category-block,
body.theme-tinyplace-alt .brand-category-block .brand-category-desc {
  font-weight: 400;
}

body.theme-tinyplace .brand-slideshow-item-title,
body.theme-tinyplace-alt .brand-slideshow-item-title {
  letter-spacing: normal;
}

body.theme-tinyplace .brand-products-heading,
body.theme-tinyplace-alt .brand-products-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body.theme-tinyplace .brand-products-intro,
body.theme-tinyplace-alt .brand-products-intro {
  font-weight: 400;
}

body.theme-tinyplace .brand-product-title,
body.theme-tinyplace-alt .brand-product-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.3;
}

body.theme-tinyplace .brand-product-price,
body.theme-tinyplace-alt .brand-product-price {
  font-weight: 500;
  letter-spacing: normal;
}

body.theme-tinyplace .category-showroom-heading,
body.theme-tinyplace-alt .category-showroom-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

body.theme-tinyplace .category-showroom-intro,
body.theme-tinyplace-alt .category-showroom-intro {
  font-family: var(--font-sans);
}

body.theme-tinyplace .category-showroom-title,
body.theme-tinyplace-alt .category-showroom-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

body.theme-tinyplace .product-detail-title,
body.theme-tinyplace-alt .product-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 0.85vw, 1.5rem);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.25;
  text-wrap: balance;
}

body.theme-tinyplace .product-detail-desc,
body.theme-tinyplace-alt .product-detail-desc {
  font-family: var(--font-sans);
}

body.theme-tinyplace .product-detail-price,
body.theme-tinyplace-alt .product-detail-price {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.02em;
}

body.theme-tinyplace .project-detail-title,
body.theme-tinyplace-alt .project-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

body.theme-tinyplace .project-detail-description,
body.theme-tinyplace-alt .project-detail-description {
  line-height: 1.75;
}

body.theme-tinyplace .brand-story-cta-text,
body.theme-tinyplace-alt .brand-story-cta-text {
  letter-spacing: normal;
  text-wrap: balance;
}

body.theme-tinyplace .btn-story,
body.theme-tinyplace-alt .btn-story,
body.theme-tinyplace .btn-show-all,
body.theme-tinyplace-alt .btn-show-all {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.04em;
}

body.theme-tinyplace .btn-add-to-cart,
body.theme-tinyplace-alt .btn-add-to-cart {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.03em;
}

body.theme-tinyplace .btn-create-story,
body.theme-tinyplace-alt .btn-create-story {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.04em;
}

body.theme-tinyplace .brand-hero,
body.theme-tinyplace-alt .brand-hero,
body.theme-tinyplace .services-section,
body.theme-tinyplace-alt .services-section,
body.theme-tinyplace .brand-categories-section,
body.theme-tinyplace-alt .brand-categories-section,
body.theme-tinyplace .brand-products-section,
body.theme-tinyplace-alt .brand-products-section,
body.theme-tinyplace .category-showroom-section,
body.theme-tinyplace-alt .category-showroom-section,
body.theme-tinyplace .brand-story-cta,
body.theme-tinyplace-alt .brand-story-cta,
body.theme-tinyplace .product-detail-section,
body.theme-tinyplace-alt .product-detail-section {
  position: relative;
  overflow: hidden;
}

body.theme-tinyplace .brand-hero,
body.theme-tinyplace-alt .brand-hero > *,
body.theme-tinyplace .services-section,
body.theme-tinyplace-alt .services-section > *,
body.theme-tinyplace .brand-categories-section,
body.theme-tinyplace-alt .brand-categories-section > *,
body.theme-tinyplace .brand-products-section,
body.theme-tinyplace-alt .brand-products-section > *,
body.theme-tinyplace .category-showroom-section,
body.theme-tinyplace-alt .category-showroom-section > *,
body.theme-tinyplace .brand-story-cta,
body.theme-tinyplace-alt .brand-story-cta > *,
body.theme-tinyplace .product-detail-section,
body.theme-tinyplace-alt .product-detail-section > * {
  position: relative;
  z-index: 1;
}

/* One custom mural per section (no repeating pattern) */
body.theme-tinyplace .brand-hero::before,
body.theme-tinyplace-alt .brand-hero::before,
body.theme-tinyplace .services-section::before,
body.theme-tinyplace-alt .services-section::before,
body.theme-tinyplace .brand-categories-section::before,
body.theme-tinyplace-alt .brand-categories-section::before,
body.theme-tinyplace .brand-products-section::before,
body.theme-tinyplace-alt .brand-products-section::before,
body.theme-tinyplace .category-showroom-section::before,
body.theme-tinyplace-alt .category-showroom-section::before,
body.theme-tinyplace .brand-story-cta::before,
body.theme-tinyplace-alt .brand-story-cta::before,
body.theme-tinyplace .product-detail-section::before,
body.theme-tinyplace-alt .product-detail-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
}

body.theme-tinyplace .brand-hero::before,
body.theme-tinyplace-alt .brand-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M120 180c70-70 130 60 200 10 50-35 90-100 150-40 70 70 130-20 200 20' stroke='%235f8fda' stroke-width='7' opacity='.45'/%3E%3Cpath d='M1120 120l120 40-120 40 30-40z' stroke='%2389aee8' stroke-width='7' opacity='.55'/%3E%3Cpath d='M990 520l100 32-100 32 24-32z' stroke='%236b9be0' stroke-width='7' opacity='.45'/%3E%3Cellipse cx='270' cy='520' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cellipse cx='270' cy='620' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cellipse cx='390' cy='520' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cellipse cx='390' cy='620' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cpath d='M330 470v200' stroke='%2381749f' stroke-width='7'/%3E%3Cellipse cx='1280' cy='580' rx='56' ry='38' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='1280' cy='680' rx='56' ry='38' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='1410' cy='580' rx='56' ry='38' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='1410' cy='680' rx='56' ry='38' stroke='%23c67ecb' stroke-width='6'/%3E%3Cpath d='M1345 530v200' stroke='%2381749f' stroke-width='7'/%3E%3C/g%3E%3C/svg%3E");
}

body.theme-tinyplace .brand-categories-section::before,
body.theme-tinyplace-alt .brand-categories-section::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M90 640c120-120 260-30 340-100 60-50 140-120 220-60' stroke='%2396b8ed' stroke-width='7' opacity='.5'/%3E%3Cpath d='M1230 640c100-110 220-20 290-90 40-40 110-95 170-50' stroke='%235f8fda' stroke-width='7' opacity='.5'/%3E%3Cpath d='M270 170l120 40-120 40 28-40z' stroke='%236b9be0' stroke-width='7'/%3E%3Cpath d='M1210 190l125 42-125 42 30-42z' stroke='%2389aee8' stroke-width='7'/%3E%3Ccircle cx='730' cy='170' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='790' cy='170' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='760' cy='120' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='760' cy='220' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='760' cy='170' r='16' stroke='%23f0b95e' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E");
}

body.theme-tinyplace .brand-products-section::before,
body.theme-tinyplace-alt .brand-products-section::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M210 170c70-90 150 40 240-20 70-47 130-110 210-35' stroke='%235f8fda' stroke-width='7' opacity='.45'/%3E%3Cpath d='M980 120l130 45-130 45 32-45z' stroke='%2396b8ed' stroke-width='7'/%3E%3Cpath d='M1110 530l140 46-140 46 34-46z' stroke='%236b9be0' stroke-width='7'/%3E%3Cellipse cx='350' cy='560' rx='62' ry='42' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='350' cy='670' rx='62' ry='42' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='490' cy='560' rx='62' ry='42' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='490' cy='670' rx='62' ry='42' stroke='%23c67ecb' stroke-width='6'/%3E%3Cpath d='M420 500v230' stroke='%2381749f' stroke-width='7'/%3E%3C/g%3E%3C/svg%3E");
}

body.theme-tinyplace .category-showroom-section::before,
body.theme-tinyplace-alt .category-showroom-section::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M90 220h210c45 0 60-55 102-55 36 0 52 36 96 36h150' stroke='%2396b8ed' stroke-width='7' opacity='.45'/%3E%3Cpath d='M1180 250h190c44 0 58-56 96-56 34 0 52 36 98 36h130' stroke='%235f8fda' stroke-width='7' opacity='.45'/%3E%3Ccircle cx='280' cy='600' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='340' cy='600' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='310' cy='550' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='310' cy='650' r='28' stroke='%23d06ca1' stroke-width='6'/%3E%3Ccircle cx='310' cy='600' r='16' stroke='%23f0b95e' stroke-width='6'/%3E%3Cpath d='M1200 560l120 40-120 40 30-40z' stroke='%236b9be0' stroke-width='7'/%3E%3C/g%3E%3C/svg%3E");
}

body.theme-tinyplace .product-detail-section::before,
body.theme-tinyplace-alt .product-detail-section::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M180 150l130 44-130 44 30-44z' stroke='%235f8fda' stroke-width='7'/%3E%3Cpath d='M1250 140l130 44-130 44 30-44z' stroke='%2389aee8' stroke-width='7'/%3E%3Cellipse cx='220' cy='560' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cellipse cx='220' cy='660' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cellipse cx='340' cy='560' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cellipse cx='340' cy='660' rx='52' ry='36' stroke='%23d06ca1' stroke-width='6'/%3E%3Cpath d='M280 510v200' stroke='%2381749f' stroke-width='7'/%3E%3Cellipse cx='1260' cy='560' rx='52' ry='36' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='1260' cy='660' rx='52' ry='36' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='1380' cy='560' rx='52' ry='36' stroke='%23c67ecb' stroke-width='6'/%3E%3Cellipse cx='1380' cy='660' rx='52' ry='36' stroke='%23c67ecb' stroke-width='6'/%3E%3Cpath d='M1320 510v200' stroke='%2381749f' stroke-width='7'/%3E%3C/g%3E%3C/svg%3E");
}

/* Polished controls and cards */
body.theme-tinyplace .btn-story,
body.theme-tinyplace-alt .btn-story,
body.theme-tinyplace .btn-show-all,
body.theme-tinyplace-alt .btn-show-all,
body.theme-tinyplace .btn-add-to-cart,
body.theme-tinyplace-alt .btn-add-to-cart {
  border-radius: 999px;
  border-color: #c7d8f1;
}

body.theme-tinyplace .brand-product-card,
body.theme-tinyplace-alt .brand-product-card,
body.theme-tinyplace .category-showroom-card,
body.theme-tinyplace-alt .category-showroom-card,
body.theme-tinyplace .product-detail-card,
body.theme-tinyplace-alt .product-detail-card,
body.theme-tinyplace .brand-category-block,
body.theme-tinyplace-alt .brand-category-block {
  border-radius: 18px;
  border-color: #d5e3f5;
}

/* Final override: realistic butterfly rendering */
body.theme-tinyplace .brand-hero::before,
body.theme-tinyplace-alt .brand-hero::before,
body.theme-tinyplace .brand-products-section::before,
body.theme-tinyplace-alt .brand-products-section::before,
body.theme-tinyplace .product-detail-section::before,
body.theme-tinyplace-alt .product-detail-section::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cdefs%3E%3CradialGradient id='wingPinkR' cx='35%25' cy='28%25' r='82%25'%3E%3Cstop offset='0' stop-color='%23fff1f8'/%3E%3Cstop offset='.44' stop-color='%23efb6d3'/%3E%3Cstop offset='1' stop-color='%239b537c'/%3E%3C/radialGradient%3E%3CradialGradient id='wingBlueR' cx='35%25' cy='28%25' r='82%25'%3E%3Cstop offset='0' stop-color='%23f3f9ff'/%3E%3Cstop offset='.44' stop-color='%23b7d2ef'/%3E%3Cstop offset='1' stop-color='%23566f9f'/%3E%3C/radialGradient%3E%3Cfilter id='bfShadowR' x='-25%25' y='-25%25' width='150%25' height='150%25'%3E%3CfeDropShadow dx='0' dy='7' stdDeviation='5' flood-color='%233f4f6f' flood-opacity='.28'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M146 190c82-70 144 48 220 12 43-20 76-68 126-38' stroke='%235f8fda' stroke-width='5' opacity='.22'/%3E%3Cpath d='M1088 154l110 34-110 34 24-34z' stroke='%2389aee8' stroke-width='5' opacity='.34'/%3E%3Cg transform='translate(250 556)' filter='url(%23bfShadowR)'%3E%3Cpath d='M0 34c-10-72 54-120 116-104 43 11 74 50 82 94-20 32-50 50-90 56C56 86 8 70 0 34z' fill='url(%23wingPinkR)' stroke='%237f4767' stroke-width='3.6'/%3E%3Cpath d='M180 34c10-72-54-120-116-104-43 11-74 50-82 94 20 32 50 50 90 56 54 8 102-14 108-46z' fill='url(%23wingPinkR)' stroke='%237f4767' stroke-width='3.6'/%3E%3Cpath d='M34 -4C66 12 112 12 146 -4M22 26C58 42 122 42 158 26M20 56C58 72 122 72 160 56' stroke='%23fff' stroke-opacity='.5' stroke-width='2.5'/%3E%3Cpath d='M90 -62V124' stroke='%23565565' stroke-width='4.6'/%3E%3Cpath d='M90 -62c-10-18-18-28-32-40M90 -62c10-18 18-28 32-40' stroke='%23565565' stroke-width='3.5'/%3E%3Cellipse cx='90' cy='24' rx='8' ry='11' fill='%23f3c776' stroke='%23b48742' stroke-width='2.5'/%3E%3C/g%3E%3Cg transform='translate(1174 564) scale(.9)' filter='url(%23bfShadowR)'%3E%3Cpath d='M0 34c-10-72 54-120 116-104 43 11 74 50 82 94-20 32-50 50-90 56C56 86 8 70 0 34z' fill='url(%23wingBlueR)' stroke='%23465d88' stroke-width='3.6'/%3E%3Cpath d='M180 34c10-72-54-120-116-104-43 11-74 50-82 94 20 32 50 50 90 56 54 8 102-14 108-46z' fill='url(%23wingBlueR)' stroke='%23465d88' stroke-width='3.6'/%3E%3Cpath d='M34 -4C66 12 112 12 146 -4M22 26C58 42 122 42 158 26M20 56C58 72 122 72 160 56' stroke='%23fff' stroke-opacity='.48' stroke-width='2.5'/%3E%3Cpath d='M90 -62V124' stroke='%23565565' stroke-width='4.6'/%3E%3Cellipse cx='90' cy='24' rx='8' ry='11' fill='%23f3c776' stroke='%23b48742' stroke-width='2.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.18 !important;
}

/* Real butterfly photos (not drawn vectors) */
body.theme-tinyplace .brand-hero::before,
body.theme-tinyplace-alt .brand-hero::before,
body.theme-tinyplace .services-section::before,
body.theme-tinyplace-alt .services-section::before,
body.theme-tinyplace .brand-categories-section::before,
body.theme-tinyplace-alt .brand-categories-section::before,
body.theme-tinyplace .brand-products-section::before,
body.theme-tinyplace-alt .brand-products-section::before,
body.theme-tinyplace .category-showroom-section::before,
body.theme-tinyplace-alt .category-showroom-section::before,
body.theme-tinyplace .brand-story-cta::before,
body.theme-tinyplace-alt .brand-story-cta::before,
body.theme-tinyplace .product-detail-section::before,
body.theme-tinyplace-alt .product-detail-section::before {
  background-image:
    url("../pics/1.png"),
    url("../pics/2.png"),
    url("../pics/3.png"),
    url("../pics/4.png"),
    url("../pics/5.png"),
    url("../pics/6.png");
  background-repeat: no-repeat;
  background-size:
    22% auto, 20% auto, 18% auto, 20% auto, 18% auto, 22% auto;
  background-position:
    2% 6%, 50% 4%, 96% 7%,
    3% 52%, 97% 50%,
    50% 90%;
  opacity: 0.48 !important;
  filter: saturate(1.12) contrast(1.08);
}

/* Tiny Place: unique distribution per section for less repetition */
body.theme-tinyplace .brand-hero::before,
body.theme-tinyplace-alt .brand-hero::before {
  background-position:
    3% 5%, 48% 3%, 95% 6%,
    2% 50%, 98% 48%,
    52% 88%;
}

body.theme-tinyplace .brand-categories-section::before,
body.theme-tinyplace-alt .brand-categories-section::before {
  background-position:
    96% 6%, 4% 8%, 50% 5%,
    97% 52%, 2% 48%,
    48% 92%;
}

body.theme-tinyplace .services-section::before,
body.theme-tinyplace-alt .services-section::before {
  background-position:
    50% 4%, 2% 7%, 94% 8%,
    50% 90%, 3% 54%, 96% 50%;
}

body.theme-tinyplace .brand-products-section::before,
body.theme-tinyplace-alt .brand-products-section::before {
  background-position:
    4% 88%, 96% 86%, 50% 92%,
    2% 6%, 98% 7%, 50% 5%;
}

body.theme-tinyplace .category-showroom-section::before,
body.theme-tinyplace-alt .category-showroom-section::before {
  background-position:
    2% 48%, 98% 52%, 6% 8%,
    94% 6%, 8% 88%, 92% 86%;
}

body.theme-tinyplace .product-detail-section::before,
body.theme-tinyplace-alt .product-detail-section::before {
  background-position:
    3% 54%, 97% 50%, 50% 88%,
    96% 7%, 4% 6%, 50% 4%;
}

/* Product page: calmer backdrop so gallery and copy stay focal */
body.page-product.theme-tinyplace .product-detail-section::before,
body.page-product.theme-tinyplace-alt .product-detail-section::before {
  opacity: 0.12 !important;
}

body.theme-tinyplace .brand-story-cta::before,
body.theme-tinyplace-alt .brand-story-cta::before {
  background-position:
    94% 8%, 6% 7%, 50% 5%,
    4% 50%, 96% 48%, 50% 90%;
}

/* Tiny Place: mobile — viewport-scaled assets, edge-heavy layout (avoids narrow-viewport pile-up) */
@media (max-width: 768px) {
  body.theme-tinyplace .brand-hero::before,
  body.theme-tinyplace-alt .brand-hero::before,
  body.theme-tinyplace .services-section::before,
  body.theme-tinyplace-alt .services-section::before,
  body.theme-tinyplace .brand-categories-section::before,
  body.theme-tinyplace-alt .brand-categories-section::before,
  body.theme-tinyplace .brand-products-section::before,
  body.theme-tinyplace-alt .brand-products-section::before,
  body.theme-tinyplace .category-showroom-section::before,
  body.theme-tinyplace-alt .category-showroom-section::before,
  body.theme-tinyplace .brand-story-cta::before,
  body.theme-tinyplace-alt .brand-story-cta::before,
  body.theme-tinyplace .product-detail-section::before,
  body.theme-tinyplace-alt .product-detail-section::before {
    opacity: 0.42 !important;
    filter: saturate(1.1) contrast(1.06);
    background-size:
      min(36vw, 168px) auto,
      min(32vw, 152px) auto,
      min(36vw, 168px) auto,
      min(32vw, 152px) auto,
      min(32vw, 152px) auto,
      min(36vw, 168px) auto;
    background-position:
      2% 5%, 50% 3%, 98% 6%,
      1% 42%, 99% 44%,
      50% 86%;
  }
}

@media (max-width: 480px) {
  body.theme-tinyplace .brand-hero::before,
  body.theme-tinyplace-alt .brand-hero::before,
  body.theme-tinyplace .services-section::before,
  body.theme-tinyplace-alt .services-section::before,
  body.theme-tinyplace .brand-categories-section::before,
  body.theme-tinyplace-alt .brand-categories-section::before,
  body.theme-tinyplace .brand-products-section::before,
  body.theme-tinyplace-alt .brand-products-section::before,
  body.theme-tinyplace .category-showroom-section::before,
  body.theme-tinyplace-alt .category-showroom-section::before,
  body.theme-tinyplace .brand-story-cta::before,
  body.theme-tinyplace-alt .brand-story-cta::before,
  body.theme-tinyplace .product-detail-section::before,
  body.theme-tinyplace-alt .product-detail-section::before {
    opacity: 0.38 !important;
    background-size:
      min(32vw, 148px) auto,
      min(28vw, 132px) auto,
      min(32vw, 148px) auto,
      min(28vw, 132px) auto,
      min(28vw, 132px) auto,
      min(32vw, 148px) auto;
    background-position:
      1% 6%, 50% 4%, 99% 7%,
      0% 40%, 100% 42%,
      48% 84%;
  }
}

/* Remove remaining decorative after-layers for cleaner realistic look */
body.theme-tinyplace .brand-hero::after,
body.theme-tinyplace-alt .brand-hero::after,
body.theme-tinyplace .services-section::after,
body.theme-tinyplace-alt .services-section::after,
body.theme-tinyplace .brand-categories-section::after,
body.theme-tinyplace-alt .brand-categories-section::after,
body.theme-tinyplace .brand-products-section::after,
body.theme-tinyplace-alt .brand-products-section::after,
body.theme-tinyplace .category-showroom-section::after,
body.theme-tinyplace-alt .category-showroom-section::after,
body.theme-tinyplace .brand-story-cta::after,
body.theme-tinyplace-alt .brand-story-cta::after,
body.theme-tinyplace .product-detail-section::after,
body.theme-tinyplace-alt .product-detail-section::after {
  content: none;
}

