:root {
  --bg: #f4fbff;
  --surface: #ffffff;
  --surface-accent: #d9f0ff;
  --line: rgba(23, 83, 124, 0.12);
  --text: #12314a;
  --muted: #55758f;
  --primary: #2a90c8;
  --primary-deep: #126fa5;
  --accent: #7ed0f6;
  --shadow: 0 18px 50px rgba(36, 96, 141, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(1160px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(126, 208, 246, 0.35), transparent 26%),
    radial-gradient(circle at top right, rgba(42, 144, 200, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fdff 0%, #eef8ff 100%);
}

a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 251, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0.85rem; }
.brand-logo { display: block; flex: 0 0 auto; width: min(250px, 36vw); max-width: 100%; height: auto; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}

.brand-copy { display: flex; flex-direction: column; font-family: "Manrope", sans-serif; line-height: 1; }
.brand-copy strong { font-size: 1.05rem; }
.brand-copy span { font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }

.main-nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.98rem; }
.main-nav a { position: relative; padding-bottom: 0.2rem; }
.menu-toggle, .mobile-nav-cta, .nav-backdrop, .drawer-header { display: none; }
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: -1rem;
  min-width: 280px;
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 180ms ease;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  padding: 0.4rem 0.2rem;
  font-size: 0.92rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }

.header-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: white;
  box-shadow: var(--shadow);
}

.logout-form { margin: 0; }

.logout-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-deep);
  border: 1px solid rgba(18, 111, 165, 0.16);
}

.header-cta:hover,
.button-primary:hover,
.button-secondary:hover,
.product-card:hover { transform: translateY(-3px); }

.hero-section {
    padding: 1.25rem 0 2.5rem;
}

.subhero { padding: 5rem 0 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.subhero h1 {
  margin: 0.6rem 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-copy p,
.subhero p,
.section-heading p,
.info-card p,
.content-panel p,
.quality-card p,
.contact-card,
.product-card p,
.product-story p,
.spec-card li,
.narrative-copy p { color: var(--muted); line-height: 1.75; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

.hero-panel,
.content-panel,
.quality-card,
.contact-card,
.info-card,
.spec-card,
.product-story,
.pillar-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(228, 245, 255, 0.96)),
    linear-gradient(135deg, rgba(42, 144, 200, 0.14), rgba(126, 208, 246, 0.2));
}

.hero-product-image,
.product-card-image,
.product-detail-image,
.gallery-image {
  width: 100%;
  display: block;
  object-fit: contain;
  background: white;
}

.hero-product-image {
  border-radius: 24px;
  margin: 0.75rem 0 0.9rem;
  border: 1px solid rgba(18, 111, 165, 0.12);
}

.hero-badge,
.eyebrow,
.card-kicker,
.product-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: var(--surface-accent);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2,
.section-heading h2 {
  margin: 1rem 0 0.8rem;
  font-family: "Manrope", sans-serif;
}

.hero-panel h2 { font-size: 1.8rem; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }

.hero-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hero-metrics li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong { font-family: "Manrope", sans-serif; font-size: 1.4rem; }
.hero-metrics span { color: var(--muted); }

.page-section { padding: 1.25rem 0 3.5rem; }
.section-tint { background: linear-gradient(180deg, rgba(232, 246, 255, 0.76), rgba(244, 251, 255, 0.12)); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.with-action { display: flex; justify-content: space-between; align-items: end; gap: 1rem; max-width: none; }

.card-grid,
.split-grid,
.narrative-grid,
.product-detail-grid,
.product-detail-layout,
.footer-grid,
.pillar-list { display: grid; gap: 1.35rem; }

.three-up, .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.narrative-grid { grid-template-columns: 1.2fr 0.8fr; }
.product-detail-grid { grid-template-columns: 1.1fr 1fr 1fr; }
.product-detail-layout { grid-template-columns: 300px 1fr; align-items: start; }
.footer-grid { grid-template-columns: 1.1fr 0.7fr 0.9fr; }
.pillar-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.welcome-grid,
.statement-grid {
  display: grid;
  gap: 1.5rem;
}

/*.welcome-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }*/
.statement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.info-card,
.product-card,
.content-panel,
.quality-card,
.contact-card,
.spec-card,
.product-story,
.welcome-panel,
.statement-card,
.product-sidebar { padding: 1.5rem; }

.product-card { display: block; }
.product-story { grid-row: span 2; }
.welcome-panel { margin-top: 2rem; }
.welcome-panel,
.statement-card,
.product-sidebar {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-card h3,
.product-card h3,
.product-card h2,
.content-panel h2,
.quality-card h2,
.contact-card h2,
.spec-card h2,
.product-sidebar h2 {
  margin: 1rem 0 0.65rem;
  font-family: "Manrope", sans-serif;
}

.mini-cards .info-card { min-height: 100%; }
.statement-card p,
.welcome-panel p { color: var(--muted); line-height: 1.75; }

.product-card-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 18px;
  border: 1px solid rgba(18, 111, 165, 0.1);
}

.product-detail-image {
  max-height: 380px;
  margin-bottom: 1.2rem;
  padding: 0.75rem;
  border-radius: 22px;
  border: 1px solid rgba(18, 111, 165, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-image {
  aspect-ratio: 1 / 1;
  padding: 0.45rem;
  border-radius: 18px;
  border: 1px solid rgba(18, 111, 165, 0.1);
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.sidebar-links li {
  border-bottom: 1px solid rgba(18, 111, 165, 0.08);
}

.sidebar-links a {
  display: block;
  padding: 0.8rem 0;
  color: var(--muted);
}

.sidebar-links li.active a,
.sidebar-links a:hover {
  color: var(--primary-deep);
  font-weight: 700;
}

.text-link { color: var(--primary-deep); font-weight: 700; }

.contact-list,
.footer-links,
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li,
.footer-links li,
.check-list li { margin-bottom: 0.9rem; }

.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
}

.pillar-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex: 0 0 auto;
}

.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.45rem; }
.form-row label { font-weight: 700; }

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(18, 111, 165, 0.18);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--text);
}

.form-row span { color: #b12f4d; font-size: 0.92rem; }

.success-banner {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(126, 208, 246, 0.18);
  color: var(--primary-deep);
  border: 1px solid rgba(18, 111, 165, 0.12);
}

.error-banner {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(177, 47, 77, 0.1);
  color: #8d1736;
  border: 1px solid rgba(177, 47, 77, 0.18);
}

.admin-subhero { padding-bottom: 1.5rem; }

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-section { padding-top: 0; }

.auth-layout {
  display: grid;
  place-items: start center;
}

.auth-panel {
  width: min(520px, 100%);
}

.admin-table-shell {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.admin-table th,
.admin-table td {
  vertical-align: middle;
}

.admin-thumb {
  width: 72px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(18, 111, 165, 0.1);
  background: white;
}

.admin-table-note {
  display: block;
  max-width: 340px;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: normal;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-weight: 800;
  font-size: 0.78rem;
}

.status-pill.active {
  background: rgba(37, 143, 95, 0.12);
  color: #21714f;
}

.status-pill.archived {
  background: rgba(139, 111, 44, 0.12);
  color: #7a5d19;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.icon-action {
  border: 1px solid rgba(18, 111, 165, 0.16);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: white;
  color: var(--primary-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.icon-action.danger,
.danger-button {
  background: #b12f4d;
  border-color: #b12f4d;
  color: white;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(18, 49, 74, 0.42);
}

.modal-overlay.is-open { display: flex; }

.admin-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: min(90vh, 920px);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(14, 46, 68, 0.3);
}

.admin-modal.compact { width: min(520px, 100%); }

.admin-modal h2 {
  margin: 0 2rem 1rem 0;
  font-family: "Manrope", sans-serif;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

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

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

.align-end { align-items: end; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 54px;
  font-weight: 800;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: rgba(14, 46, 68, 0.95);
  color: rgba(240, 249, 255, 0.92);
}

.footer-grid h3,
.footer-grid h4 { font-family: "Manrope", sans-serif; margin-top: 0; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(240, 249, 255, 0.12);
}

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: rgba(240, 249, 255, 0.92);
}

.contact-stack {
  display: grid;
  gap: 1.4rem;
}

.hero-product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  overflow: hidden;
}

.hero-product-strip .hero-product-image {
  width: 100%;
  min-width: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1025px) {
  :root { --container: min(1320px, calc(100% - 3rem)); }
  .subhero { padding: 2.75rem 0 1rem; }
  .page-section { padding-top: 1rem; padding-bottom: 3rem; }
  .hero-section { padding: 1rem 0 1.75rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
  .hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-copy > .eyebrow, .hero-copy > h1, .hero-copy > p, .hero-copy > .welcome-panel { width: 100%; }
  .hero-copy h1 { max-width: none; margin-top: 0.45rem; font-size: clamp(3rem, 4vw, 4.15rem); }
  .hero-copy > p { max-width: 58ch; margin: 0.75rem 0; }
  .hero-actions { margin-top: 1.25rem; }
  .welcome-panel { margin-top: 1.4rem !important; }
  .hero-panel { min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.25rem, 2vw, 1.75rem); }
  .hero-panel h2 { max-width: 25ch; margin-top: 0.65rem; font-size: clamp(1.45rem, 2vw, 1.8rem); }
  .hero-product-strip {
    display: flex;
    gap: 0.8rem;
    margin: 0.8rem 0 0.65rem;
    padding: 0.15rem 0.1rem 0.8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 111, 165, 0.38) rgba(18, 111, 165, 0.08);
  }
  .hero-product-tile {
    flex: 0 0 clamp(130px, 14vw, 172px);
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(18, 111, 165, 0.12);
    border-radius: 18px;
    background: rgba(255,255,255,0.88);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }
  .hero-product-tile:hover, .hero-product-tile:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(18, 111, 165, 0.32);
    box-shadow: 0 12px 28px rgba(36, 96, 141, 0.14);
  }
  .hero-product-strip .hero-product-image {
    width: 100%;
    height: 132px;
    margin: 0;
    padding: 0.65rem;
    border: 0;
    border-radius: 0;
  }
  .hero-product-tile span {
    display: block;
    min-height: 2.75rem;
    padding: 0.35rem 0.65rem 0.65rem;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
  }
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin-top: auto; padding-top: 1rem; }
  .hero-metrics li { min-width: 0; display: grid; gap: 0.2rem; padding: 0.8rem; }
  .hero-metrics strong { font-size: 1.2rem; }
  .hero-metrics span { font-size: 0.78rem; line-height: 1.35; }
  .products-grid { align-items: stretch; }
  .product-card { height: 100%; }
  .product-detail-layout { grid-template-columns: minmax(230px, 270px) minmax(0, 1fr); }
  .product-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero-product-tile { display: contents; }
  .hero-product-tile span { display: none; }
}

@media (max-width: 1024px) {
  :root { --container: min(100% - 2rem, 900px); }
  .topbar { display: grid; grid-template-columns: 1fr auto; justify-items: start; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 0.75rem 1.1rem; }
  .topbar > .header-cta, .topbar > .logout-form { grid-column: 2; grid-row: 1; }
  .hero-grid, .narrative-grid, .product-detail-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-story { grid-column: 1 / -1; grid-row: auto; }
  .three-up, .products-grid, .statement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid:has(textarea) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  :root { --container: calc(100% - 1.25rem); }
  .site-header { backdrop-filter: none; }
  .topbar { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; gap: 0.75rem; padding: 0.55rem 0; }
  .brand { justify-content: flex-start; }
  .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
  .brand-logo { width: min(232px, 68vw); }
  .brand-copy strong { font-size: 1rem; }
  .menu-toggle { display: flex; grid-column: 2; grid-row: 1; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.88); color: var(--text); box-shadow: 0 8px 24px rgba(36,96,141,0.1); cursor: pointer; }
  .menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 220ms ease, opacity 160ms ease; }
  .nav-open .menu-toggle { display: none; }
  .main-nav { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; display: grid !important; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; align-content: start; width: min(320px, 82vw); min-width: 0; max-width: 82vw; overflow-x: hidden; overflow-y: auto; padding: max(1rem, env(safe-area-inset-top)) 1.15rem max(1.25rem, env(safe-area-inset-bottom)); background: rgba(255,255,255,0.99); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(14,46,68,0.16); font-size: 1rem; white-space: normal; transform: translateX(105%); visibility: hidden; transition: transform 260ms cubic-bezier(.2,.8,.2,1), visibility 260ms; }
  .nav-open .main-nav { transform: translateX(0); visibility: visible; }
  .drawer-header { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 0.75rem; color: var(--text); font-family: "Manrope", sans-serif; font-size: 1.15rem; }
  .drawer-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
  .main-nav > a, .main-nav .nav-group > a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .nav-group { width: 100%; min-width: 0; }
  .main-nav .nav-dropdown { position: static; display: grid; min-width: 0; gap: 0; padding: 0 0 0.5rem 0.9rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .main-nav .nav-dropdown a { min-height: 40px; padding: 0.55rem 0.25rem; color: var(--muted); white-space: normal; }
  .mobile-nav-cta { display: flex !important; width: 100%; justify-content: center; margin-top: 1.25rem; padding: 0.9rem 1rem !important; border: 0 !important; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; font-weight: 800; box-shadow: var(--shadow); }
  .topbar > .header-cta, .topbar > .logout-form { display: none; }
  .nav-backdrop { position: fixed; z-index: 19; inset: 0; display: block; border: 0; background: rgba(11,32,48,0.42); opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .hero-section, .subhero { padding-top: 1.5rem; }
  .hero-copy h1, .subhero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .hero-grid, .welcome-grid, .statement-grid, .three-up, .products-grid, .split-grid, .narrative-grid, .product-detail-layout, .product-detail-grid, .pillar-list, .footer-grid { grid-template-columns: 1fr; }
  .with-action { align-items: flex-start; flex-direction: column; }
  .admin-heading { align-items: stretch; flex-direction: column; }
  .admin-form-grid, .admin-form-grid:has(textarea) { grid-template-columns: 1fr; }
  .hero-panel, .info-card, .product-card, .content-panel, .quality-card, .contact-card, .spec-card, .product-story, .welcome-panel, .statement-card, .product-sidebar { padding: 1.15rem; }
  .hero-actions { gap: 0.65rem; }
  .hero-actions > a { flex: 1 1 100%; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; gap: 0.25rem; }
  .footer-bottom p { margin: 0.35rem 0; }
  .admin-modal { padding: 1rem; }
  .admin-table-shell { padding: 0.6rem; }
  .admin-table { min-width: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media (max-width: 380px) {
  .brand-copy strong { font-size: 0.95rem; }
  .brand-copy span { font-size: 0.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}
