:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5d6a63;
  --line: #dfe6df;
  --paper: #fbfaf7;
  --soft: #f2efe8;
  --panel: #ffffff;
  --sage: #2f6b4f;
  --sage-soft: #e7f0ea;
  --coral: #c96f59;
  --gold: #b68a3a;
  --blue: #335c81;
  --shadow: 0 16px 42px rgba(31, 46, 39, 0.12);
  /* Generator controls */
  --output-fs: clamp(24px, 4vw, 38px);
  --result-bg: #ffffff;
  --result-text: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 32, 27, 0.08);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1180px;
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--sage);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 23px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.page {
  min-height: 100vh;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.ad-band {
  padding: 18px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.ad-band.lower {
  border-top: 1px solid var(--line);
}

.ad-slot {
  min-height: 92px;
  border: 0;
  border-radius: 8px;
  display: block;
  padding: 16px;
  background: transparent;
}

.tool-section {
  padding: 8px 0 10px;
}

.tool-intro {
  margin-bottom: 8px;
  max-width: 760px;
}

.tool-intro .eyebrow {
  display: none;
}

.tool-intro p {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--coral);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.8vw, 18px);
}

.tool-intro-full p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}


.generator-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.input-panel {
  padding: 20px;
  position: sticky;
  top: 84px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: #fffefa;
  font: 18px/1.45 inherit;
}

textarea:focus,
select:focus {
  outline: 3px solid rgba(47, 107, 79, 0.18);
  border-color: var(--sage);
}

.controls {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font: inherit;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--sage);
  text-decoration: none;
  font-weight: 850;
  background: var(--sage);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.button.secondary {
  background: var(--sage-soft);
  color: var(--sage);
}

.button.copy {
  min-width: 76px;
  padding-inline: 12px;
}

.meta-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.results {
  display: grid;
  gap: 12px;
}

.result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--result-bg, #fff);
  color: var(--result-text, var(--ink));
  padding: 16px;
  transition: background 0.18s, color 0.18s;
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.result-title {
  font-weight: 850;
}

.result-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* ── Extra controls row ──────────────────────────────────────────────────── */
.controls-extra {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.ctrl-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.ctrl-group label {
  white-space: nowrap;
  font-weight: 600;
  color: var(--muted);
}

.size-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  accent-color: var(--sage);
  cursor: pointer;
}

.size-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sage);
  cursor: pointer;
}

/* ── Background swatches ─────────────────────────────────────────────────── */
.bg-swatches {
  display: flex;
  gap: 6px;
  align-items: center;
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  outline: none;
  transition: transform 0.12s, box-shadow 0.12s;
}

.swatch:hover {
  transform: scale(1.15);
}

.swatch.active {
  border-color: var(--sage);
  box-shadow: 0 0 0 2px var(--sage-soft);
}

.swatch-picker {
  width: 28px;
  height: 28px;
  padding: 2px;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: none;
}

/* ── Download button ─────────────────────────────────────────────────────── */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  min-height: 32px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.btn-download:hover {
  background: var(--sage-soft);
  color: var(--sage);
  border-color: var(--sage);
}

.output {
  min-height: 48px;
  overflow-wrap: anywhere;
  font-size: var(--output-fs, clamp(24px, 4vw, 38px));
  line-height: 1.25;
  transition: font-size 0.1s;
}

.seo-section {
  padding: 58px 0 64px;
}

.seo-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.seo-aside {
  position: sticky;
  top: 88px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.seo-aside h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.keyword-list a,
.keyword-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--sage);
  background: var(--sage-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.seo-copy {
  max-width: 820px;
}

.seo-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.seo-copy h3 {
  margin-top: 30px;
  font-size: 24px;
}

.seo-copy p {
  margin: 16px 0 0;
  color: #3f4d46;
  font-size: 17px;
}

.partners-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.partners-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.partners-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.partners-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.partner-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}

.partner-card strong {
  font-size: 18px;
}

.partner-card span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.partner-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow);
}

.sitemap-section {
  padding: 56px 0 64px;
}

.sitemap-panel {
  max-width: 820px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.sitemap-panel h1 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 54px);
}

.sitemap-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.sitemap-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sitemap-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--sage);
  background: var(--sage-soft);
  font-weight: 850;
  text-decoration: none;
}

.sitemap-list a:hover {
  border-color: var(--sage);
}

.site-footer {
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--sage);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .tool-intro,
  .generator-shell,
  .seo-layout,
  .partners-grid {
    grid-template-columns: 1fr;
  }

.input-panel,
  .seo-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }

  .nav {
    padding-inline: 16px;
  }

  .tool-section {
    padding-top: 32px;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  padding: 40px 20px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}
.footer-col a:hover {
  color: var(--ink);
}
@media (max-width: 680px) {
  .footer-body {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .footer-body {
    grid-template-columns: 1fr;
  }
}

.legal-section {
  padding: 54px 0 72px;
}

.legal-panel {
  max-width: 880px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 34px;
}

.legal-panel h1 {
  max-width: 760px;
}

.legal-panel h2 {
  margin-top: 30px;
  font-size: 24px;
}

.legal-panel p {
  color: var(--muted);
}

.legal-intro {
  font-size: 18px;
  max-width: 760px;
}

.legal-updated {
  margin-top: 30px;
  font-size: 14px;
}


.related-tools {
  padding: 54px 0 58px;
  background: #fffefa;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.tool-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.tool-card span {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.tool-card strong {
  font-size: 18px;
  line-height: 1.2;
}

.tool-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
}

.tool-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  transition: 0.18s ease;
}

@media (max-width: 900px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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


.font-hero {
  padding: 50px 0 42px;
  background: #fffefa;
  border-bottom: 1px solid var(--line);
}

.font-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  align-items: center;
}

.font-hero h1 {
  max-width: 760px;
}

.font-hero p,
.font-preview-panel p,
.font-card p,
.upgrade-card p {
  color: var(--muted);
}

.font-preview-panel {
  padding: 20px;
}

.font-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: 18px/1.4 inherit;
}

.font-input:focus {
  outline: 3px solid rgba(47, 107, 79, 0.18);
  border-color: var(--sage);
}

.font-section,
.upgrade-section {
  padding: 54px 0 58px;
}

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

.font-card {
  min-height: 260px;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.font-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.font-card h3 {
  font-size: 19px;
}

.font-card-top p {
  margin: 6px 0 0;
  font-size: 13px;
}

.font-card-top a {
  color: var(--sage);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.font-preview {
  min-height: 90px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
}

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

.upgrade-card {
  padding: 24px;
}

.upgrade-card h2 {
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
}

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

  .font-hero-grid,
  .upgrade-grid {
    grid-template-columns: 1fr;
  }
}

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


.template-hero {
  background: #fbfaf7;
}

.template-preview-card {
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.template-preview-card span {
  color: var(--sage);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.template-preview-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 64px);
  font-style: italic;
  line-height: 1;
}

.template-preview-card em {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
  font-style: normal;
}

/* =============================================
   DROPDOWN NAVIGATION
   ============================================= */

.nav-group {
  position: relative;
}

.nav-group-label {
  cursor: pointer;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 14px;
  user-select: none;
}

.nav-group-label::after {
  content: "▾";
  font-size: 9px;
  opacity: 0.7;
}

.nav-group-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(31,46,39,0.14);
  padding: 6px 0;
  z-index: 200;
  transition: opacity 140ms ease, visibility 140ms ease;
}

.nav-group:hover .nav-group-menu,
.nav-group:focus-within .nav-group-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-group-menu a {
  display: block;
  padding: 9px 16px;
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-group-menu a:hover {
  background: var(--sage-soft);
  color: var(--sage);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--sage);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #255940;
}

/* =============================================
   BREADCRUMB
   ============================================= */

.breadcrumb {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-list li + li::before {
  content: "›";
  margin: 0 7px;
  opacity: 0.5;
}

.breadcrumb-list a {
  color: var(--sage);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* =============================================
   USE CASES SECTION
   ============================================= */

.use-cases-section {
  padding: 54px 0 58px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.use-case-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 4px 14px rgba(31,46,39,0.06);
}

.use-case-card .uc-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.use-case-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.use-case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   ALPHABET TABLE
   ============================================= */

.alpha-section {
  padding: 54px 0 58px;
}

.alpha-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
}

.alpha-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.alpha-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.alpha-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.alpha-table td:first-child {
  font-weight: 800;
  font-size: 18px;
  width: 50px;
}

.alpha-table td .alpha-char {
  font-size: 26px;
  line-height: 1;
}

.alpha-table tr:hover td {
  background: var(--soft);
}

/* =============================================
   FONT STYLE SHOWCASE
   ============================================= */

.style-showcase {
  padding: 54px 0 58px;
  background: #fffefa;
  border-top: 1px solid var(--line);
}

.style-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}

.style-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 4px 14px rgba(31,46,39,0.06);
}

.style-card .style-label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 12px;
  display: block;
}

.style-card .style-preview {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}

.style-card .style-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 900px) {
  .style-showcase-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 560px) {
  .style-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   MOBILE NAV — hamburger menu
   ============================================= */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 16px 20px 40px;
  border-top: 1px solid var(--line);
}
.nav-mobile-drawer.open { display: block; }

.nav-mobile-section { margin-bottom: 24px; }
.nav-mobile-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.nav-mobile-drawer a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-drawer a:hover { color: var(--sage); }

@media (max-width: 900px) {
  .nav-group { display: none; }
  .nav-burger { display: flex; }
}


.cluster-flow {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sage-soft);
}
.cluster-flow strong { display: block; margin-bottom: 8px; }
.cluster-flow a { color: var(--sage); font-weight: 800; text-decoration: none; }
.cluster-flow a:hover { text-decoration: underline; }
.cluster-flow .flow-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cluster-flow .flow-links a { padding: 7px 10px; border: 1px solid rgba(47,107,79,.2); border-radius: 8px; background: #fff; }
