:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f3;
  --surface: rgba(255, 252, 247, 0.94);
  --surface-strong: #fffaf2;
  --surface-light: #ffffff;
  --line: rgba(27, 40, 58, 0.1);
  --text: #1e2b39;
  --muted: #5c6876;
  --heading: #102033;
  --accent: #b98243;
  --accent-strong: #d79c58;
  --accent-dark: #7e5425;
  --success: #567f66;
  --shadow: 0 22px 50px rgba(28, 33, 41, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1680px;
  --navy-gradient: linear-gradient(135deg, #f3ede4 0%, #ebe2d5 52%, #f9f5ee 100%);
  --gold-gradient: linear-gradient(135deg, #e0ad71 0%, #c88a48 48%, #915d2a 100%);
  --ink-gradient: linear-gradient(135deg, #132234 0%, #1b2f46 55%, #28425f 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.tompako-modern {
  margin: 0;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(215, 156, 88, 0.18), transparent 24%),
    radial-gradient(circle at top left, rgba(36, 72, 112, 0.1), transparent 28%),
    var(--navy-gradient);
  font: 400 16px/1.7 "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
}

body.tompako-modern::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 51, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 78%);
}

.legacy-shell {
  display: none !important;
}

.site-shell {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(249, 245, 238, 0.88);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--heading);
  text-decoration: none;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 0;
  display: block;
  box-shadow: none;
  background: transparent;
  padding: 0;
  filter: none;
  object-fit: contain;
}

.brand-mark {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-strong);
  padding-left: 86px;
}

.brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 86px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  position: relative;
}

.site-nav a,
.nav-summary {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  border: 0;
  background: transparent;
  font: inherit;
}

.site-nav a:hover,
.site-nav a.is-current,
.nav-summary:hover,
.nav-summary.is-current,
.nav-item-dropdown[open] > .nav-summary {
  background: #ffffff;
  color: var(--heading);
  box-shadow: 0 12px 30px rgba(28, 33, 41, 0.08);
}

.nav-summary::-webkit-details-marker {
  display: none;
}

.nav-item {
  position: relative;
}

.nav-item-dropdown {
  z-index: 30;
}

.nav-caret {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-item-dropdown[open] > .nav-summary .nav-caret,
.nav-item-dropdown:hover > .nav-summary .nav-caret,
.nav-item-dropdown:focus-within > .nav-summary .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(1080px, calc(100vw - 40px));
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.98);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 24px 60px rgba(28, 33, 41, 0.14);
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2.05fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item-dropdown[open] > .nav-mega-menu,
.nav-item-dropdown:hover > .nav-mega-menu,
.nav-item-dropdown:focus-within > .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mega-intro,
.nav-mega-column {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: linear-gradient(180deg, #fffdf9 0%, #f7efe3 100%);
}

.nav-mega-intro h3,
.nav-mega-column h4 {
  margin: 0 0 10px;
  color: var(--heading);
}

.nav-mega-intro p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-mega-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.92);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-mega-column h4 {
  font-size: 0.98rem;
}

.nav-mega-links {
  display: grid;
  gap: 8px;
}

.nav-mega-links a {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.nav-mega-links a:hover,
.nav-mega-links a:focus-visible {
  background: transparent;
  box-shadow: none;
  color: var(--accent-dark);
}

.hero {
  padding: 64px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(620px, 1.08fr) minmax(540px, 0.92fr);
  gap: 34px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.category-card,
.product-card,
.detail-card,
.spec-card,
.cta-strip,
.footer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 54px;
  background: var(--ink-gradient);
  color: #f2f6fb;
}

.hero-copy .lead,
.hero-copy .section-intro,
.hero-copy p {
  color: rgba(242, 246, 251, 0.8);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(215, 156, 88, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.detail-copy h1 {
  margin: 18px 0 16px;
  color: var(--heading);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  color: #ffffff;
  max-width: 10ch;
}

.lead,
.detail-summary,
.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions,
.chip-list,
.contact-list,
.meta-list,
.quick-links,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
  margin-bottom: 8px;
}

.chip-list {
  margin-top: 14px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button {
  color: #0a1321;
  background: var(--gold-gradient);
  box-shadow: 0 14px 28px rgba(207, 155, 86, 0.22);
}

.button-secondary {
  color: var(--heading);
  background: #f2ebdf;
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.hero-copy .button-secondary,
.cta-strip .button-secondary {
  color: #f3f6fb;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f4f8fb;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip-dark {
  background: #f0e5d6;
  color: var(--heading);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.hero-panel {
  overflow: hidden;
  background: #ffffff;
}

.spotlight-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
}

.spotlight-stage,
.spotlight-item {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.spotlight-stage {
  min-height: 520px;
  border-radius: 24px;
}

.spotlight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.spotlight-item {
  min-height: 220px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  padding: 10px;
}

.spotlight-media,
.spotlight-item-media {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.spotlight-media,
.spotlight-item-media {
  width: 100%;
  height: 100%;
}

.spotlight-media-large {
  min-height: 520px;
}

.spotlight-item-media {
  min-height: 220px;
}

.spotlight-media img,
.spotlight-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  filter: contrast(1.06) saturate(1.06) drop-shadow(0 16px 24px rgba(16, 32, 51, 0.08));
}

.spotlight-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 196px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.08);
}

.spotlight-caption h3 {
  margin: 12px 0 8px;
  color: var(--heading);
  font-size: 1.8rem;
  line-height: 1.05;
  min-height: 2.15em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.spotlight-caption p {
  margin: 0;
  color: var(--muted);
  min-height: 4.5em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.86);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spotlight-cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.spotlight-cta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.spotlight-cta strong {
  font-size: 1.25rem;
}

.spotlight-cta span {
  color: var(--muted);
  font-size: 0.94rem;
}

.catalog-spotlight-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(180deg, #fffcf7 0%, #f5ecdf 100%);
  align-content: start;
}

.catalog-spotlight-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  min-height: 360px;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.catalog-spotlight-stage-media,
.catalog-spotlight-item-media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.catalog-spotlight-stage-media {
  min-height: 360px;
  padding: 18px;
}

.catalog-spotlight-stage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 360px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.05) 0%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.catalog-spotlight-stage-copy h3 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1.04;
  min-height: 2.15em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.catalog-spotlight-stage-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  min-height: 6em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.catalog-spotlight-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.9);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-spotlight-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.catalog-spotlight-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 152px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  color: inherit;
}

.catalog-spotlight-item-copy {
  display: grid;
  gap: 8px;
}

.catalog-spotlight-item-copy h4 {
  margin: 0;
  color: var(--heading);
  font-size: 1.02rem;
  line-height: 1.18;
  min-height: 2.36em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.catalog-spotlight-item-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 4.2em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.catalog-spotlight-item .spotlight-badge {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  justify-self: start;
}

.catalog-spotlight-item-media {
  min-height: 118px;
  padding: 10px;
}

.catalog-spotlight-stage .catalog-spotlight-stage-media img,
.catalog-spotlight-item .catalog-spotlight-item-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.06) saturate(1.06) drop-shadow(0 14px 24px rgba(16, 32, 51, 0.08));
  transition: transform 0.35s ease;
}

.catalog-spotlight-stage:hover .catalog-spotlight-stage-media img,
.catalog-spotlight-item:hover .catalog-spotlight-item-media img {
  transform: scale(1.03);
}

.hero-panel img,
.detail-media img,
.product-card img,
.showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel img {
  min-height: 100%;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 14px;
  min-height: 100%;
  padding: 18px;
}

.showcase-tile {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 10px);
  background: linear-gradient(180deg, #ffffff 0%, #f7efe4 100%);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.showcase-grid .tile-1 {
  grid-row: 1 / span 2;
}

.hero-panel.is-showcase,
.hero-panel.is-catalog,
.hero-panel.is-category,
.hero-panel.is-company,
.detail-media {
  display: grid;
  place-items: center;
  background: #ffffff;
}

.hero-panel.is-catalog img,
.hero-panel.is-category img,
.hero-panel.is-company img,
.detail-media img {
  object-fit: contain;
  padding: 22px;
  filter: contrast(1.05) saturate(1.05) drop-shadow(0 12px 26px rgba(16, 32, 51, 0.08));
}

.section {
  padding: 18px 0 40px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 0;
}

.grid-3,
.grid-4,
.detail-grid,
.stats-grid,
.footer-grid,
.content-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.content-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.detail-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: start;
}

.content-card,
.category-card,
.product-card,
.detail-card,
.spec-card,
.footer-card {
  padding: 26px;
}

.category-card h3,
.product-card h3,
.spec-card h3,
.footer-card h3 {
  margin: 0 0 10px;
  color: #fff;
}

.category-card p,
.product-card p,
.content-card p,
.footer-card p,
.detail-copy p,
.spec-card p,
.spec-card li {
  color: var(--muted);
}

.product-card {
  overflow: hidden;
  padding: 0;
  background: #fffdf9;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    #ffffff;
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.product-thumb img {
  object-fit: contain;
  padding: 8px;
  width: 100%;
  height: 100%;
  filter: contrast(1.05) saturate(1.05) drop-shadow(0 10px 20px rgba(16, 32, 51, 0.08));
}

.product-thumb img {
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

.product-body {
  padding: 22px;
  background: #fffdf9;
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.16;
}

.product-code {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 156, 88, 0.14);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-card h3,
.category-card h3,
.content-card h2,
.footer-card h3,
.spec-card h3 {
  color: var(--heading);
}

.meta-list {
  margin-top: 18px;
}

.meta-item {
  padding: 10px 14px;
  border-radius: 14px;
  background: #f3ece1;
  color: var(--heading);
  border: 1px solid rgba(16, 32, 51, 0.06);
}

.stats-grid .content-card {
  text-align: center;
  background: linear-gradient(180deg, #fffdf9 0%, #f6eee3 100%);
  padding: 22px;
}

.stat-value {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: 2rem;
  font-weight: 900;
}

.stats-grid .content-card p {
  color: var(--text);
}

.detail-card,
.spec-card {
  padding: 30px;
}

.detail-card {
  background: #ffffff;
}

.detail-media {
  min-height: 420px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  background: #ffffff;
}

.detail-copy h1 {
  font-size: clamp(1.5rem, 2.15vw, 2.35rem);
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  white-space: nowrap;
}

.detail-copy h1.detail-title-compact {
  font-size: clamp(1.35rem, 1.95vw, 2rem);
}

.detail-copy h1.detail-title-tight {
  font-size: clamp(1.18rem, 1.65vw, 1.72rem);
  letter-spacing: -0.03em;
}

.detail-kicker {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.cta-strip {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--ink-gradient);
}

.cta-strip h2,
.cta-strip p {
  color: #f4f7fb;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
}

.inquiry-form-card,
.inquiry-support-card {
  background: linear-gradient(180deg, #fffdf8 0%, #f8f0e4 100%);
}

.inquiry-form {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span,
.form-block-head p,
.captcha-question,
.form-note,
.product-source {
  color: var(--muted);
}

.form-field span {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(185, 130, 67, 0.66);
  box-shadow: 0 0 0 4px rgba(215, 156, 88, 0.14);
  transform: translateY(-1px);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-block,
.captcha-shell {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.form-block-head {
  margin-bottom: 16px;
}

.form-block-head h3 {
  margin: 0 0 6px;
  color: var(--heading);
}

.form-block-head p,
.captcha-question,
.captcha-status,
.product-source {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.captcha-question {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--heading);
}

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

.captcha-refresh {
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.08);
  color: var(--heading);
  min-height: 38px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .button,
.form-actions .button-secondary,
.form-actions button,
.form-actions input[type="submit"],
.form-actions input[type="reset"] {
  border: 0;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.form-button-primary,
.form-button-secondary {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.form-button-primary {
  position: relative;
  background: linear-gradient(180deg, #f6b66f 0%, #df9647 48%, #b86a23 100%);
  color: #101a29;
  box-shadow:
    0 18px 34px rgba(185, 106, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(82, 46, 11, 0.18);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.form-button-primary::before,
.form-button-secondary::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

.form-button-secondary {
  background: linear-gradient(180deg, #fffdfa 0%, #efe3d1 55%, #dcc8af 100%);
  color: var(--heading);
  border: 1px solid rgba(16, 32, 51, 0.12);
  box-shadow:
    0 16px 28px rgba(34, 41, 52, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(128, 104, 73, 0.16);
}

.form-button-primary:hover,
.form-button-secondary:hover {
  transform: translateY(-2px);
}

.form-button-primary:hover {
  box-shadow:
    0 20px 36px rgba(185, 106, 35, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(82, 46, 11, 0.2);
}

.form-button-secondary:hover {
  box-shadow:
    0 18px 32px rgba(34, 41, 52, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(128, 104, 73, 0.2);
}

.stack-list {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.stack-list div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.stack-list strong {
  color: var(--heading);
}

.stack-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.supplemental-grid {
  align-items: stretch;
}

.supplemental-card .product-thumb {
  aspect-ratio: 4 / 3.2;
}

.supplemental-card .product-body {
  display: grid;
  gap: 10px;
}

.product-source {
  padding-top: 6px;
}

.footer {
  padding: 18px 0 44px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-card a,
.quick-links a,
.contact-list a,
.product-card a,
.category-card a {
  color: var(--text);
  text-decoration: none;
}

.footer-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta strong {
  color: var(--heading);
}

.legacy-mount form,
.legacy-mount table {
  width: 100% !important;
  max-width: 100% !important;
}

.legacy-mount input[type="text"],
.legacy-mount input[type="email"],
.legacy-mount input[type="tel"],
.legacy-mount select,
.legacy-mount textarea {
  width: 100% !important;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  margin: 6px 0;
}

.legacy-mount input[type="submit"],
.legacy-mount input[type="reset"] {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  margin: 6px 10px 0 0;
  font-weight: 700;
  cursor: pointer;
}

.legacy-mount input[type="submit"] {
  background: var(--gold-gradient);
  color: #09111f;
}

.legacy-mount input[type="reset"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.legacy-mount td,
.legacy-mount span,
.legacy-mount small,
.legacy-mount a {
  color: var(--text) !important;
}

.small {
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .content-grid,
  .detail-grid,
  .inquiry-grid,
  .footer-grid,
  .stats-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotlight-cta-row {
    grid-template-columns: 1fr;
  }

  .catalog-spotlight-stage {
    grid-template-columns: 1fr;
  }

  .catalog-spotlight-list {
    grid-template-columns: 1fr;
  }

  .nav-mega-menu {
    width: min(860px, calc(100vw - 40px));
    grid-template-columns: 1fr;
  }

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

  .detail-copy h1 {
    font-size: clamp(1.3rem, 2vw, 1.9rem);
  }

  .detail-copy h1.detail-title-compact {
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  }

  .detail-copy h1.detail-title-tight {
    font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner,
  .section-heading,
  .cta-strip,
  .hero-actions,
  .captcha-head,
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    min-height: 0;
    padding: 14px 0 16px;
    gap: 14px;
    align-items: stretch;
  }

  .hero,
  .section,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-grid,
  .content-grid,
  .detail-grid,
  .inquiry-grid,
  .footer-grid,
  .stats-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .content-card,
  .detail-card,
  .spec-card,
  .footer-card {
    padding: 24px;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .hero {
    padding: 30px 0 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .lead,
  .detail-summary,
  .section-intro {
    font-size: 0.96rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 180px);
  }

  .showcase-grid .tile-1 {
    grid-row: auto;
  }

  .spotlight-lead,
  .spotlight-item,
  .spotlight-list {
    grid-template-columns: 1fr;
  }

  .spotlight-media {
    min-height: 240px;
  }

  .spotlight-stage {
    min-height: 0;
  }

  .spotlight-list,
  .spotlight-cta-row {
    grid-template-columns: 1fr;
  }

  .catalog-spotlight-stage,
  .catalog-spotlight-item {
    grid-template-columns: 1fr;
  }

  .catalog-spotlight-stage {
    min-height: 0;
    gap: 14px;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .catalog-spotlight-stage-media {
    min-height: 260px;
  }

  .catalog-spotlight-item-media {
    min-height: 150px;
  }

  .catalog-spotlight-stage-copy {
    min-height: 0;
    padding: 18px;
    gap: 10px;
  }

  .catalog-spotlight-stage-copy h3 {
    font-size: 1.5rem;
  }

  .catalog-spotlight-stage-copy p,
  .catalog-spotlight-item-copy p,
  .product-body p {
    font-size: 0.92rem;
  }

  .catalog-spotlight-item {
    padding: 12px;
    gap: 12px;
  }

  .product-thumb {
    aspect-ratio: 1 / 1;
  }

  .product-body {
    padding: 18px;
  }

  .product-body h3 {
    font-size: 1.08rem;
  }

  .product-code {
    font-size: 0.74rem;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .spotlight-caption,
  .spotlight-caption h3,
  .spotlight-caption p,
  .catalog-spotlight-stage-copy h3,
  .catalog-spotlight-stage-copy p,
  .catalog-spotlight-item,
  .catalog-spotlight-item-copy h4,
  .catalog-spotlight-item-copy p {
    min-height: 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    position: static;
    gap: 8px;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .brand {
    width: 100%;
  }

  .brand-row {
    gap: 10px;
  }

  .brand-name {
    font-size: 1.55rem;
  }

  .nav-summary {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a,
  .nav-summary {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: none;
  }

  .nav-mega-menu {
    position: static;
    width: 100%;
    margin-top: 12px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: 0 16px 32px rgba(28, 33, 41, 0.08);
    padding: 16px;
    border-radius: 20px;
  }

  .nav-item-dropdown[open] > .nav-mega-menu {
    display: grid;
  }

  .nav-mega-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark,
  .brand-subtitle {
    padding-left: 0;
  }

  .brand-mark {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .brand-subtitle {
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .spotlight-caption {
    position: static;
    margin-top: 12px;
  }

  .detail-media {
    min-height: 240px;
  }

  .detail-card,
  .spec-card,
  .stats-grid .content-card,
  .cta-strip {
    padding: 20px;
  }

  .detail-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2.15rem);
    white-space: normal;
  }

  .stat-value {
    font-size: 1.7rem;
  }

  .site-nav,
  .hero-actions,
  .cta-actions,
  .contact-list,
  .meta-list {
    width: 100%;
  }

  .button,
  .button-secondary,
  .spotlight-cta,
  .catalog-spotlight-link {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .hero-copy,
  .content-card,
  .detail-card,
  .spec-card,
  .footer-card {
    padding: 18px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .spotlight-media {
    min-height: 220px;
  }

  .spotlight-item-media {
    min-height: 180px;
  }

  .spotlight-caption {
    padding: 14px;
    border-radius: 16px;
  }

  .spotlight-caption h3 {
    font-size: 1.3rem;
  }

  .catalog-spotlight-stage-media {
    min-height: 220px;
    padding: 12px;
  }

  .catalog-spotlight-item-media {
    min-height: 130px;
  }
}
