/* /Pages/Dev/WordmarkContext.razor.rz.scp.css */
/* Context page styles */
.wordmark-context[b-cmcj3t6stm] {
  background: #F8F6F2;
  color: #5F5F5F;
  min-height: 100vh;
  padding: 3rem 1rem;
}

.wordmark-context .container[b-cmcj3t6stm] {
  max-width: 1000px;
  margin: 0 auto;
}

.intro[b-cmcj3t6stm] { text-align: center; margin-bottom: 2rem; }
.intro h1[b-cmcj3t6stm] { font-size: 1.25rem; margin: 0 0 0.25rem 0; color: #5F5F5F; }
.intro p[b-cmcj3t6stm] { margin: 0; color: #7a7a7a; }

.section-title[b-cmcj3t6stm] {
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1rem;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.block[b-cmcj3t6stm] { margin-bottom: 2rem; }
.panel[b-cmcj3t6stm] { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1.25rem; }
.panel:hover[b-cmcj3t6stm] { color: #2A2A2A; }

.header-panel[b-cmcj3t6stm] { background: #F9F7F3; }
.header-mark[b-cmcj3t6stm] { display: flex; flex-direction: column; gap: .25rem; }

.fraunces[b-cmcj3t6stm] { font-family: 'Fraunces', serif; }

/* Refined tagline spacing and style */
.tagline[b-cmcj3t6stm] {
  margin-top: 0.2rem; /* closer to wordmark */
  line-height: 1.15;
  letter-spacing: 0.2em;
  font-family: 'Spectral', serif;
  font-size: 1rem;
  color: #7A7A7A;
  text-align: center;
}

/* Print-style tighter variant */
.tagline.tight[b-cmcj3t6stm] {
  margin-top: 0.15rem;
  letter-spacing: 0.15em;
}

/* Add separation under each exploration sample */
.tagline-demo .sample[b-cmcj3t6stm] { margin-bottom: 1.5rem; }
.tagline-demo .sample:last-child[b-cmcj3t6stm] { margin-bottom: 0; }

.caption[b-cmcj3t6stm] { font-family:'Spectral', serif; font-size: .85rem; color: #7a7a7a; text-align: center; margin-top: .5rem; }

.grid-two[b-cmcj3t6stm] { display:grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width:768px) { .grid-two[b-cmcj3t6stm] { grid-template-columns: 1fr 1fr; } }

.watermark-panel[b-cmcj3t6stm] { border: 1px dashed #e6e2da; }
.watermark-wrap[b-cmcj3t6stm] { display:flex; align-items:center; justify-content:center; min-height: 220px; }
.watermark[b-cmcj3t6stm] { line-height: 1; }
/* /Pages/Dev/WordmarkPreview.razor.rz.scp.css */
/* Scoped page styles (imports moved inline in the Razor page) */

.wordmark-preview[b-s06p0guq28] {
  background: #F8F6F2; /* ivory */
  color: #5F5F5F;      /* medium gray */
  min-height: 100vh;
  padding: 3rem 1rem;
}

.wordmark-preview .container[b-s06p0guq28] {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro[b-s06p0guq28] {
  text-align: center;
  margin-bottom: 2rem;
}

.intro h1[b-s06p0guq28] {
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
  color: #5F5F5F;
}

.intro p[b-s06p0guq28] {
  margin: 0;
  color: #7a7a7a;
}

.section-title[b-s06p0guq28] {
  margin: 2rem 0 0.5rem 0;
  font-size: 1rem;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.samples[b-s06p0guq28] {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* 1.5�2rem rhythm */
}

@media (min-width: 768px) {
  .samples[b-s06p0guq28] {
    grid-template-columns: 1fr; /* stay single column for calm focus */
  }
}

.sample[b-s06p0guq28] {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: color 160ms ease-in-out;
}

.sample:hover[b-s06p0guq28] {
  color: #2A2A2A; /* slightly darker on hover */
}

.wordmark[b-s06p0guq28] {
  font-size: 3rem;         /* required size */
  letter-spacing: 0.03em;  /* default letter spacing */
  line-height: 1.1;
}

.caption[b-s06p0guq28] {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.description[b-s06p0guq28] {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #7a7a7a;
  max-width: 60ch;
}

/* Expressive section inherits same base styles; ensure separation */
.expressive-demo[b-s06p0guq28] { margin-top: 1rem; }

/* Fraunces Showcase */
.fraunces-showcase[b-s06p0guq28] {
  background-color: #F8F6F2;
  color: #5F5F5F;
  text-align: center;
  padding: 4rem 1rem;
}

.fraunces-showcase .sample[b-s06p0guq28] {
  margin: 2rem 0;
  transition: color 0.3s ease;
}

.fraunces-showcase .sample:hover[b-s06p0guq28] {
  color: #2A2A2A;
}

.fraunces-showcase .caption[b-s06p0guq28] {
  font-family: 'Spectral', serif;
  font-size: 0.9rem;
  color: #7A7A7A;
}

.fraunces-showcase .description[b-s06p0guq28] {
  font-family: 'Spectral', serif;
  font-size: 0.8rem;
  color: #8C8C8C;
  margin-bottom: 2rem;
}
/* /Pages/Store/Store.razor.rz.scp.css */
/* Page-scoped CSS for the static split demo with tabs */
:host[b-xt51idcjcz] { display: block; }

/* Desktop 70/30 split */
.split-grid[b-xt51idcjcz] {
  display: grid;
  grid-template-columns: 70% 30%;
  height: 100%;
}

/* Visibility toggles to avoid flicker */
.desktop-block[b-xt51idcjcz] { display: grid; }
.mobile-block[b-xt51idcjcz] { display: none; }

@media (max-width: 767.98px) {
  .desktop-block[b-xt51idcjcz] { display: none; }
  .mobile-block[b-xt51idcjcz] { display: block; }
}

/* Single-DOM responsive split with tabs */

/* Root: desktop 70/30 grid; mobile becomes single column */
.split-root[b-xt51idcjcz] {
  display: grid;
  grid-template-columns: 70% 30%;
  height: 100%;
  overflow: hidden;
}
.primary-pane[b-xt51idcjcz], .secondary-pane[b-xt51idcjcz] { height: 100%; min-width: 0; min-height: 0; }

/* Desktop-only indicator control */
.desktop-only[b-xt51idcjcz] { display: block; }

/* Tab bar defaults to top (desktop). On mobile it docks to bottom */
.tabbar[b-xt51idcjcz] { position: relative; }

/* Secondary tab panels: only one visible when an active right tab is chosen; when none (activeTab==0), show first by default on desktop */
.secondary-panels[b-xt51idcjcz] { position: relative; }
.secondary-panels .panel[b-xt51idcjcz] { display: none; }
.secondary-panels .panel.is-active[b-xt51idcjcz] { display: block; }
/* Fallback: when no-active, show first panel by default on desktop */
.secondary-panels.no-active .panel:first-child[b-xt51idcjcz] { display: block; }

/* Mobile behavior at <=768px */
@media (max-width: 767.98px) {
  .split-root[b-xt51idcjcz] {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr auto; /* content + tabbar */
  }
  /* On mobile, the secondary pane takes the full width and height; tabbar docks to bottom */
  .secondary-pane[b-xt51idcjcz] { grid-row: 2; }
  .tabbar[b-xt51idcjcz] {
    position: sticky;
    bottom: 0;
    height: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e5e7eb;
    background: #fff;
  }
  /* Hide primary content unless Primary tab is selected */
  .primary-pane[b-xt51idcjcz] { display: none; }
  .primary-pane.mobile-active[b-xt51idcjcz] { display: block; grid-row: 1; }

  /* Show the selected panel as the full content area */
  .secondary-panels[b-xt51idcjcz] { height: calc(100% - 48px); overflow: hidden; }

  /* Hide desktop-only bits on mobile */
  .desktop-only[b-xt51idcjcz] { display: none; }
}

/* CSS-only responsive tabs for SplitPanelDemoStatic */
:host[b-xt51idcjcz] { display:block; }

/* Hide radios */
.tab-radio[b-xt51idcjcz] { position:absolute; opacity:0; pointer-events:none; }

/* Desktop (>=768px): 70/30 layout; primary always visible; right shows one of Tab1..3.
   Hide the Primary tab label on desktop. */
@media (min-width: 768px) {
  .tabbar label[for="t0"][b-xt51idcjcz] { display: none; }
  .sec-panels .sec-panel[b-xt51idcjcz] { display: none; }
  #t1:checked ~ .split-root .sec-panels #panel1[b-xt51idcjcz] { display:block; }
  #t2:checked ~ .split-root .sec-panels #panel2[b-xt51idcjcz] { display:block; }
  #t3:checked ~ .split-root .sec-panels #panel3[b-xt51idcjcz] { display:block; }
  /* Fallback: if Primary is selected (e.g., initial state), show Tab 1 by default on desktop */
  #t0:checked ~ .split-root .sec-panels #panel1[b-xt51idcjcz] { display:block; }
}

/* Selected tab visual styles (applies both desktop and mobile) */
#t0:checked ~ .split-root .tabbar label[for="t0"][b-xt51idcjcz],
#t1:checked ~ .split-root .tabbar label[for="t1"][b-xt51idcjcz],
#t2:checked ~ .split-root .tabbar label[for="t2"][b-xt51idcjcz],
#t3:checked ~ .split-root .tabbar label[for="t3"][b-xt51idcjcz] {
  background:#111827; color:#fff; border-radius:0.375rem;
}

/* Mobile (<768px): single column; 4 tabs (Primary + 3 right tabs).
   Exactly one full-screen panel is visible above the bottom tabbar. */
@media (max-width: 767.98px) {
  .split-root[b-xt51idcjcz] { display:block; height:100%; padding-bottom:48px; }

  /* Flatten aside so its children behave as if siblings of split-root */
  .secondary-pane[b-xt51idcjcz] { display: contents; }

  /* Bottom tabbar fixed to viewport */
  .tabbar[b-xt51idcjcz]{
    position:fixed; left:0; right:0; bottom:0; height:48px; display:grid;
    grid-template-columns:repeat(4,1fr); border-top:1px solid #e5e7eb; background:#fff; z-index:20;
  }

  /* Show only one panel at a time (full width/height above tabbar) */
  .primary-pane[b-xt51idcjcz] { display:none; height:100%; }
  #t0:checked ~ .split-root .primary-pane[b-xt51idcjcz] { display:block; }

  .sec-panels[b-xt51idcjcz] { display:none; height:100%; }
  #t1:checked ~ .split-root .sec-panels[b-xt51idcjcz],
  #t2:checked ~ .split-root .sec-panels[b-xt51idcjcz],
  #t3:checked ~ .split-root .sec-panels[b-xt51idcjcz] { display:block; }

  .sec-panels .sec-panel[b-xt51idcjcz] { display:none; height:100%; }
  #t1:checked ~ .split-root .sec-panels #panel1[b-xt51idcjcz] { display:block; }
  #t2:checked ~ .split-root .sec-panels #panel2[b-xt51idcjcz] { display:block; }
  #t3:checked ~ .split-root .sec-panels #panel3[b-xt51idcjcz] { display:block; }
}

/* --- Overrides to ensure mobile preview has real height at initial load --- */
@media (max-width: 767.98px) {
  /* Ensure a real viewport-based height so children with height:100% resolve */
  .split-root[b-xt51idcjcz] { min-height: 100vh; height: auto; }

  /* When the Preview tab is selected, make the primary pane fill the viewport above the tabbar */
  #t0:checked ~ .split-root .primary-pane[b-xt51idcjcz] {
    display: block;
    height: calc(100vh - 48px); /* 48px = tabbar height */
  }

  /* Stretch the immediate content wrapper inside primary-pane */
  #t0:checked ~ .split-root .primary-pane > .flex-1[b-xt51idcjcz] {
    height: 100%;
  }

  /* Likewise, when Product/Content/Buy tabs are selected, give the right panels a real height */
  #t1:checked ~ .split-root .sec-panels[b-xt51idcjcz],
  #t2:checked ~ .split-root .sec-panels[b-xt51idcjcz],
  #t3:checked ~ .split-root .sec-panels[b-xt51idcjcz] {
    display: block;
    height: calc(100vh - 48px);
  }
}
