:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --surface-alt: #f4ebdf;
  --text: #1f1d1b;
  --muted: #635d55;
  --line: rgba(31, 29, 27, 0.1);
  --accent: #f47f3d;
  --accent-deep: #d35e1d;
  --accent-soft: #ffe0ca;
  --forest: #1c4a4a;
  --shadow: 0 24px 60px rgba(77, 51, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(244, 127, 61, 0.18), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(28, 74, 74, 0.12), transparent 18%),
    linear-gradient(180deg, #fffaf3 0%, #fff7ef 42%, #fffdf8 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.hero h1,
.inquiry-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.96;
  font-weight: 600;
}

.section-heading p,
.hero-lead,
.inquiry-copy p,
.footer p,
.faq-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.site-shell {
  overflow-x: hidden;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.78);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.navbar-inner,
.trust-strip-inner,
.hero-actions,
.hero-proof,
.topbar-links,
.eyebrow-group,
.field-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-inner {
  justify-content: space-between;
  min-height: 54px;
}

.eyebrow-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
}

.eyebrow-copy,
.topbar-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.84);
  backdrop-filter: blur(20px);
}

.navbar-inner {
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 54px;
  height: 54px;
}

.brand strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-lead {
  margin: 24px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.hero-proof {
  flex-wrap: wrap;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.hero-proof li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-card {
  position: absolute;
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-main {
  inset: 0 28px 100px 0;
  padding: 18px;
}

.hero-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero-card-stat {
  right: 0;
  bottom: 68px;
  width: 250px;
  padding: 22px;
}

.hero-card-stat.secondary {
  left: 24px;
  bottom: 0;
  right: auto;
  width: 280px;
}

.hero-card-stat span,
.market-highlight strong,
.resource-card span {
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.5rem;
  line-height: 1.05;
}

.hero-card-stat p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-strip {
  padding: 18px 0;
}

.trust-strip-inner {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-strip-inner span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  font-weight: 700;
}

.featured-grid,
.family-tabs,
.family-meta,
.subcategory-head,
.featured-topline,
.product-mini-grid,
.subcategory-grid {
  display: grid;
  gap: 22px;
}

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

.featured-card,
.family-panel,
.subcategory-card,
.product-mini-card {
  border: 1px solid rgba(31, 29, 27, 0.09);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.featured-card {
  border-radius: var(--radius-lg);
  padding: 18px;
}

.featured-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 18px;
}

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

.featured-badge,
.featured-note,
.status-chip,
.family-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.featured-badge,
.status-chip {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: transparent;
}

.featured-note {
  color: var(--muted);
}

.featured-card h3,
.subcategory-head h3 {
  margin: 0 0 10px;
  line-height: 1.1;
}

.featured-card p,
.featured-list li,
.family-panel p,
.subcategory-head p,
.product-mini-card p {
  color: var(--muted);
}

.featured-list {
  padding-left: 18px;
  margin: 14px 0 0;
}

.product-grid,
.resource-grid,
.seo-checklist,
.capability-cards {
  display: grid;
  gap: 22px;
}

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

.product-card,
.resource-card,
.seo-checklist article,
.capability-cards article,
.inquiry-card,
.faq-item,
.market-layout,
.process-steps li {
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
}

.product-card a.inline-link,
.resource-card.inline-link,
.inline-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-deep);
  font-weight: 800;
}

.product-card img {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
}

.product-card h3,
.resource-card h3,
.seo-checklist h3,
.capability-cards h3,
.faq-trigger span:first-child,
.footer h3,
.footer h4 {
  margin: 0 0 10px;
  line-height: 1.1;
}

.product-card p,
.resource-card p,
.seo-checklist li,
.capability-cards p,
.market-panel p,
.market-panel li,
.process-steps p,
.inquiry-note,
.footer li {
  color: var(--muted);
}

.product-card ul,
.seo-checklist ul,
.market-panel ul,
.footer ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.capabilities-grid,
.seo-grid,
.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.capability-cards,
.seo-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-cards article,
.seo-checklist article {
  padding: 26px;
}

.capability-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
}

.market-layout {
  padding: 24px;
}

.family-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.family-tab {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.family-tab.active {
  border-color: transparent;
  background: var(--text);
  color: #fff;
}

.family-panel {
  display: none;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.family-panel.active {
  display: block;
}

.family-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.family-panel-head h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  font-weight: 600;
}

.family-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 320px;
}

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

.subcategory-card {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.42), rgba(255, 255, 255, 0.95));
}

.subcategory-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.product-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
  gap: 14px;
}

.product-mini-card {
  border-radius: 18px;
  padding: 14px;
}

.product-mini-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 12px;
}

.product-mini-card strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.2;
}

.catalog-hero {
  margin-bottom: 22px;
}

.catalog-summary-grid {
  display: grid;
  gap: 14px;
}

.catalog-summary-grid article {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.45), rgba(255, 255, 255, 0.95));
}

.catalog-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-summary-grid strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.5rem;
  line-height: 1.05;
}

.catalog-summary-grid p {
  margin: 0;
  color: var(--muted);
}

.catalog-toolbar {
  display: grid;
  gap: 18px;
}

.catalog-toolbar-block {
  padding: 22px;
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.catalog-tabs {
  margin-bottom: 0;
}

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

.catalog-results-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 600;
}

.catalog-count-card {
  flex: 0 0 auto;
  min-width: 160px;
  padding: 18px;
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  text-align: center;
}

.catalog-count-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-count-card strong {
  display: block;
  margin: 8px 0;
  font-size: 2rem;
  line-height: 1;
}

.catalog-grid,
.catalog-tags {
  display: grid;
  gap: 18px;
}

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

.catalog-card {
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 16px;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 14px;
}

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

.catalog-code {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalog-card h3 {
  margin: 0 0 10px;
  line-height: 1.15;
}

.catalog-card p,
.catalog-specs li {
  color: var(--muted);
}

.catalog-specs {
  padding-left: 18px;
  margin: 14px 0 0;
}

.catalog-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.catalog-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.market-tab {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.market-tab.active {
  border-color: transparent;
  background: var(--text);
  color: #fff;
}

.market-panel {
  display: none;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.45), rgba(255, 255, 255, 0.92));
}

.market-panel.active {
  display: block;
}

.market-highlight {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.market-highlight span {
  font-size: 1.1rem;
  font-weight: 800;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-steps li {
  padding: 22px;
}

.process-steps strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.3;
}

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

.resource-card {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
}

.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-alt);
  font-size: 1.3rem;
}

.faq-panel {
  display: none;
  padding: 0 24px 24px;
}

.faq-item.open .faq-panel {
  display: block;
}

.inquiry-card {
  padding: 28px;
}

.field-row {
  align-items: stretch;
}

.field-row label,
.inquiry-card > label {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.inquiry-card span {
  font-size: 0.92rem;
  font-weight: 800;
}

.inquiry-card input,
.inquiry-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  padding: 14px 16px;
  color: var(--text);
}

.inquiry-note {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.inquiry-note span {
  display: inline;
  margin: 0 10px;
}

.footer {
  padding: 42px 0 56px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.footer ul {
  margin: 0;
}

.page-main {
  padding: 44px 0 88px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 32px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.98;
  font-weight: 600;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-panel,
.detail-sidebar,
.detail-card,
.cta-band,
.faq-rich-item,
.market-focus-card,
.contact-card {
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
}

.hero-panel img {
  width: 100%;
  border-radius: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  align-items: start;
}

.detail-flow {
  display: grid;
  gap: 24px;
}

.detail-card {
  padding: 24px;
}

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.15;
}

.detail-card p,
.detail-card li,
.detail-sidebar li,
.contact-card p,
.contact-card li,
.faq-rich-item p {
  color: var(--muted);
}

.detail-card ul,
.detail-sidebar ul,
.contact-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.detail-sidebar {
  padding: 24px;
  position: sticky;
  top: 112px;
}

.detail-sidebar h3,
.contact-card h3,
.faq-rich-item h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.spec-pills,
.link-row,
.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-pills span,
.mini-proof span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 0.9rem;
  font-weight: 700;
}

.link-row {
  margin-top: 14px;
}

.cta-band {
  margin-top: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.58), rgba(255, 255, 255, 0.94));
}

.cta-band h2 {
  margin: 0 0 10px;
}

.cta-band p {
  margin: 0 0 16px;
  color: var(--muted);
}

.market-focus-grid,
.contact-layout,
.faq-rich-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.market-focus-card,
.contact-card,
.faq-rich-item {
  padding: 24px;
}

.contact-layout {
  align-items: start;
}

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

.photo-strip img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-summary-grid,
.admin-form-grid,
.admin-help-list {
  display: grid;
  gap: 18px;
}

.admin-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-summary-card,
.admin-card,
.admin-status-pill {
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.admin-summary-card {
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.42), rgba(255, 255, 255, 0.94));
}

.admin-summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-summary-card strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
  line-height: 1;
}

.admin-summary-card p,
.admin-field small,
.admin-help-list p,
.admin-empty,
.admin-list-item span,
.admin-status-pill span {
  color: var(--muted);
}

.admin-toolbar,
.admin-toolbar-group,
.admin-status-bar,
.admin-view-tabs,
.admin-actions-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-status-bar {
  margin-bottom: 8px;
}

.admin-status-pill {
  padding: 16px 18px;
}

.admin-status-pill strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.admin-dashboard {
  padding-top: 16px;
}

.admin-view-tabs {
  margin-bottom: 20px;
}

.admin-view-tab {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.admin-view-tab.active {
  border-color: transparent;
  background: var(--text);
  color: #fff;
}

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

.admin-layout-wide {
  grid-template-columns: 1fr;
}

.admin-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 112px;
}

.admin-main,
.admin-editor-stack {
  display: grid;
  gap: 20px;
}

.admin-card {
  padding: 22px;
}

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

.admin-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
}

.admin-section-description {
  margin: 0 0 18px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list-item {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.admin-list-item strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.admin-list-item.active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.65), rgba(255, 255, 255, 0.96));
}

.admin-mini-button {
  min-height: 42px;
  padding: 0 16px;
}

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

.admin-field,
.admin-field-full {
  display: grid;
  gap: 8px;
}

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

.admin-field span {
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-code-preview {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
}

.admin-field textarea,
.admin-code-preview {
  resize: vertical;
}

.admin-field small {
  font-size: 0.86rem;
}

.admin-help-list article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.28), rgba(255, 255, 255, 0.96));
}

.admin-help-list strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.2;
}

.admin-help-list p {
  margin: 0;
}

.admin-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.admin-code-preview {
  min-height: 320px;
}

.studio-shell,
.studio-summary-strip,
.studio-command-bar,
.studio-panel-tabs,
.studio-command-actions,
.studio-workspace,
.studio-context-body,
.studio-card,
.studio-card-head,
.studio-tree,
.studio-stack,
.studio-fields-grid,
.studio-preview-actions,
.studio-help-grid {
  display: grid;
  gap: 18px;
}

.admin-page .container {
  width: min(1440px, calc(100vw - 40px));
}

.studio-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.studio-summary-tile,
.studio-sidebar .studio-card,
.studio-editor .studio-card,
.studio-preview-card {
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.studio-summary-tile {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.42), rgba(255, 255, 255, 0.96));
}

.studio-summary-tile span,
.studio-field-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.studio-summary-tile strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 1.8rem;
  line-height: 1;
}

.studio-summary-tile p,
.studio-tree-item span,
.studio-section-note,
.studio-field-card small,
.studio-preview-tip,
.studio-help-grid p,
.studio-empty {
  color: var(--muted);
}

.studio-command-bar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 18px;
}

.studio-panel-tabs,
.studio-command-actions,
.studio-preview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.studio-panel-tab,
.studio-preview-chip {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.studio-panel-tab.active,
.studio-preview-chip.active {
  border-color: transparent;
  background: var(--text);
  color: #fff;
}

.studio-context-card {
  margin-bottom: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(31, 29, 27, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.studio-context-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.studio-context-note {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-context-body {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.studio-context-section {
  display: grid;
  gap: 8px;
}

.studio-context-section span,
.studio-context-meta span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.studio-context-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 0 16px;
  color: var(--text);
  font: inherit;
}

.studio-context-pills,
.studio-context-actions,
.studio-context-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.studio-context-pill {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

.studio-context-pill.active {
  border-color: transparent;
  background: var(--text);
  color: #fff;
}

.studio-context-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 224, 202, 0.42);
}

.studio-workspace {
  grid-template-columns: minmax(400px, 0.88fr) minmax(0, 1.42fr);
  align-items: stretch;
  height: min(78vh, 940px);
  min-height: 680px;
  overflow: hidden;
}

.studio-editor {
  min-height: 0;
}

.studio-card,
.studio-preview-card {
  padding: 22px;
}

.studio-editor .studio-card,
.studio-field-card {
  scroll-margin-top: 24px;
}

.studio-editor {
  display: grid;
  gap: 20px;
  overflow: auto;
  padding-right: 8px;
  align-content: start;
}

.studio-card-head,
.studio-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.studio-card h3,
.studio-preview-head h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
}

.studio-tree-item {
  width: 100%;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.studio-tree-item strong {
  line-height: 1.2;
}

.studio-tree-item.active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.65), rgba(255, 255, 255, 0.98));
}

.studio-product-tree-item {
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.studio-product-tree-thumb {
  width: 84px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.78);
}

.studio-product-tree-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-product-tree-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.studio-product-tree-copy span {
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.studio-product-tree-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

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

.studio-field-groups {
  display: grid;
  gap: 20px;
}

.studio-field-group {
  display: grid;
  gap: 14px;
}

.studio-field-group-head {
  display: grid;
  gap: 6px;
}

.studio-field-group-head strong {
  font-size: 1rem;
  line-height: 1.2;
}

.studio-field-group-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-field-group-technical {
  padding-top: 4px;
  border-top: 1px dashed rgba(31, 29, 27, 0.16);
}

.studio-field-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.studio-field-card.active {
  border-color: rgba(244, 127, 61, 0.4);
  box-shadow: 0 0 0 4px rgba(244, 127, 61, 0.14);
}

.studio-field-card.is-technical {
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.96), rgba(255, 255, 255, 0.94));
}

.studio-field-head {
  display: grid;
  gap: 4px;
}

.studio-field-head strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.studio-field-mode-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(244, 127, 61, 0.12);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.studio-field-card input,
.studio-field-card textarea,
.studio-field-card select,
.studio-code-preview {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
}

.studio-field-card textarea,
.studio-code-preview {
  resize: vertical;
}

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

.studio-logo-field {
  display: grid;
  gap: 12px;
}

.studio-logo-preview {
  width: 100%;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed rgba(31, 29, 27, 0.18);
  border-radius: 16px;
  background: rgba(255, 248, 238, 0.72);
}

.studio-logo-preview img {
  max-width: 180px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.studio-logo-placeholder {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.studio-logo-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.studio-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
}

.studio-upload-button input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  padding: 0;
}

.studio-upload-hint {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.studio-preview-tip {
  margin: 0 0 16px;
  font-size: 0.92rem;
}

.studio-preview-notice {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(244, 127, 61, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.42), rgba(255, 255, 255, 0.96));
}

.studio-preview-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.studio-preview-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-technical-panel {
  display: grid;
  gap: 18px;
  min-height: 0;
}

.studio-technical-summary {
  display: grid;
  gap: 10px;
}

.studio-technical-summary h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.15;
}

.studio-technical-summary p {
  margin: 0;
  color: var(--muted);
}

.studio-technical-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(28, 74, 74, 0.1);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
}

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

.studio-technical-grid article,
.studio-technical-value {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.studio-technical-grid strong,
.studio-technical-value strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.studio-technical-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-technical-value pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  font: 0.9rem/1.55 "SFMono-Regular", Consolas, monospace;
}

.studio-preview-frame-shell {
  flex: 1;
  height: auto;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.studio-preview-frame-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: #fff;
}

.studio-help-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-help-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 224, 202, 0.28), rgba(255, 255, 255, 0.96));
}

.studio-help-grid strong {
  display: block;
  margin-bottom: 8px;
}

.studio-help-grid p {
  margin: 0;
}

.studio-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.studio-mini-button {
  min-height: 42px;
  padding: 0 16px;
}

.studio-code-preview {
  min-height: 340px;
}

.admin-preview-mode [data-edit-target] {
  cursor: pointer;
  transition: box-shadow 0.18s ease, outline-color 0.18s ease;
}

.admin-preview-mode [data-edit-target]:hover {
  outline: 2px dashed rgba(244, 127, 61, 0.55);
  outline-offset: 4px;
}

.admin-preview-hit {
  outline: 3px solid var(--accent) !important;
  outline-offset: 4px !important;
  box-shadow:
    0 0 0 6px rgba(244, 127, 61, 0.16),
    0 22px 36px rgba(211, 94, 29, 0.12);
  background-image: linear-gradient(0deg, rgba(255, 224, 202, 0.24), rgba(255, 224, 202, 0.24));
}

.admin-preview-hit-group {
  outline: 2px dashed rgba(244, 127, 61, 0.7) !important;
  outline-offset: 8px !important;
  box-shadow: 0 0 0 8px rgba(244, 127, 61, 0.1);
}

.admin-preview-mode .menu-toggle {
  display: none !important;
}

.admin-preview-mode .nav-links {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-preview-mode .nav-links a {
  padding: 0 !important;
}

.admin-preview-mode .nav-cta {
  text-align: center;
}

.studio-preview-card {
  position: static;
  top: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

#studio-visual-preview-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

#studio-technical-preview-panel {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.page-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.page-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.page-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-grid,
  .capabilities-grid,
  .seo-grid,
  .inquiry-grid,
  .footer-grid,
  .product-grid,
  .resource-grid,
  .catalog-grid,
  .subcategory-grid,
  .admin-layout,
  .admin-summary-grid,
  .admin-grid-two,
  .studio-summary-strip,
  .studio-workspace,
  .studio-fields-grid,
  .studio-technical-grid,
  .studio-help-grid,
  .studio-inline-grid {
    grid-template-columns: 1fr;
  }

  .studio-workspace {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .studio-editor,
  #studio-technical-preview-panel {
    overflow: visible;
    padding-right: 0;
  }

  .studio-preview-frame-shell {
    min-height: 460px;
  }

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

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

  .hero-visual {
    min-height: 580px;
  }

  .page-hero,
  .detail-grid,
  .market-focus-grid,
  .contact-layout,
  .faq-rich-grid,
  .catalog-results-head,
  .family-panel-head {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .admin-sidebar,
  .studio-sidebar {
    position: static;
  }

  .studio-context-body {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .studio-context-head {
    display: grid;
  }
}

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

  .navbar-inner {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 12px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-card-main {
    inset: 0 0 110px 0;
  }

  .hero-card-stat {
    right: 12px;
  }

  .hero-card-stat.secondary {
    left: 12px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .capability-cards,
  .seo-checklist,
  .product-mini-grid,
  .catalog-tags {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions,
  .field-row,
  .hero-proof,
  .eyebrow-group,
  .family-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

  .catalog-count-card {
    min-width: 0;
  }

  .family-meta {
    justify-content: flex-start;
    max-width: none;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-card-stat,
  .hero-card-stat.secondary {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
  }

  .hero-card-stat {
    bottom: 84px;
  }

  .hero-card-stat.secondary {
    bottom: 0;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .trust-strip-inner {
    justify-content: flex-start;
  }

  .container {
    width: min(100vw - 24px, 1180px);
  }
}
