/*
Theme Name: Glomat
Theme URI: https://glomat.com.my/
Author: Glomat Industrial Supplies Sdn Bhd
Description: Custom classic theme for Glomat Industrial Supplies. Industrial red-and-steel
system built on the corrugated-flute motif. Design tokens mirror DESIGN.md.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glomat
*/

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plexsans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/plexsans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/plexsans-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/plexmono-600.woff2") format("woff2");
}

:root {
  --ink: #1e2226;
  --steel: #3b4247;
  --slate: #5b6469;
  --mist: #d6dbdc;
  --surface: #f4f6f6;
  --white: #ffffff;
  --red: #e4262b;
  --red-dark: #b01e22;
  --red-tint: #fbe7e7;
  --footer-text: #aeb8bc;
  --topbar-text: #b9c0c2;
  /* the wordmark is now the real artwork, so no display face is needed for it —
       the whole site runs on one superfamily */
  --font-display: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --container-max: 1280px;
  --pad-inline: clamp(20px, 4vw, 48px);
  --radius: 10px;
  --flute-url: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTAgMTUgUTEwIDQgMjAgMTUgVDQwIDE1IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMS40IiBzdHJva2Utb3BhY2l0eT0iMC41Ii8+PC9zdmc+");
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* corrugated-flute texture + die-line divider — the site's one recurring visual motif,
     literally the cross-section of the corrugated board / die-cut guide lines Glomat sells */
.flute-layer {
  position: absolute;
  inset: 0;
  background-image: var(--flute-url);
  background-repeat: repeat;
  background-size: 40px 20px;
  opacity: 0.3;
  pointer-events: none;
}
.flute-anim {
  animation: flutepan 16s linear infinite;
}
@keyframes flutepan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240px 0;
  }
}
.dieline {
  height: 2px;
  background-image: radial-gradient(
    circle,
    var(--mist) 1.4px,
    transparent 1.6px
  );
  background-size: 11px 100%;
  background-repeat: repeat-x;
  margin-block: 26px;
  max-width: 120px;
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.cat-grid .cat-card:nth-child(1) {
  transition-delay: 0.04s;
}
.cat-grid .cat-card:nth-child(2) {
  transition-delay: 0.13s;
}
.cat-grid .cat-card:nth-child(3) {
  transition-delay: 0.22s;
}
.why-grid .why-card:nth-child(1) {
  transition-delay: 0s;
}
.why-grid .why-card:nth-child(2) {
  transition-delay: 0.08s;
}
.why-grid .why-card:nth-child(3) {
  transition-delay: 0.16s;
}
.why-grid .why-card:nth-child(4) {
  transition-delay: 0.24s;
}

/* hero load-in stagger */
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero .eyebrow {
  animation: heroUp 0.7s ease both;
}
.hero h1 {
  animation: heroUp 0.7s ease 0.12s both;
}
.hero p {
  animation: heroUp 0.7s ease 0.24s both;
}
.hero .ctas {
  animation: heroUp 0.7s ease 0.36s both;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}
h1,
h2 {
  font-weight: 700;
}
h3,
h4 {
  font-weight: 600;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 16px -4px rgba(228, 38, 43, 0.5);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--steel);
}
.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-white {
  background: var(--white);
  color: var(--red);
}
.btn-white:hover {
  background: #ffe9e9;
}

/* ---------------- HEADER ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
header.scrolled {
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.15);
}

nav.mainnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
  gap: 20px;
  position: relative;
}
/* the real wordmark, not type. Height-driven so the lockup scales as one piece. */
.logo {
  display: block;
  flex: 0 0 auto;
}
.logo img {
  display: block;
  height: 46px;
  width: auto;
}
@media (max-width: 600px) {
  .logo img {
    height: 38px;
  }
}

.navlinks {
  display: none;
  gap: 28px;
  font-weight: 600;
  font-size: 0.9rem;
  align-items: center;
}
/* the dropdown's <summary> is a nav item like any other, so it shares the link's box —
   without this it sits on a different baseline and the active underline has nothing to
   align to. Both sit in the same 8px padding, so the underline lands in one place. */
.navlinks a,
.navlinks .dropdown summary {
  padding: 8px 2px;
  position: relative;
  color: var(--steel);
  font: inherit;
}
.navlinks a:hover,
.navlinks a.current,
.navlinks .dropdown summary:hover,
.navlinks .dropdown summary.current {
  color: var(--red);
}
.navlinks a.current::after,
.navlinks .dropdown summary.current::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
/* the chevron is part of the control, not the label — keep it out of the underline */
.navlinks .dropdown summary.current::after {
  right: 16px;
}
.navcta {
  display: none;
}

/* products dropdown (native <details>) */
.dropdown {
  position: relative;
}
.dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--steel);
}
.dropdown summary::-webkit-details-marker {
  display: none;
}
.dropdown summary:hover {
  color: var(--red);
}
.dropdown .chev {
  transition: transform 0.15s ease;
  font-size: 0.7em;
}
.dropdown[open] .chev {
  transform: rotate(180deg);
}
.dropdown[open] summary {
  color: var(--red);
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.22);
  padding: 10px;
  min-width: 230px;
}
.dropdown-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
}
.dropdown-panel a:hover {
  background: var(--surface);
  color: var(--red);
}
.dropdown-panel a span {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--slate);
}

/* mobile menu (native <details>) */
.menu-toggle {
  display: flex;
}
.menu-toggle summary {
  list-style: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1.5px solid var(--mist);
}
.menu-toggle summary::-webkit-details-marker {
  display: none;
}
.menu-toggle .bars {
  width: 18px;
  height: 12px;
  position: relative;
}
.menu-toggle .bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.menu-toggle .bars span:nth-child(1) {
  top: 0;
}
.menu-toggle .bars span:nth-child(2) {
  top: 5px;
}
.menu-toggle .bars span:nth-child(3) {
  top: 10px;
}
.menu-toggle[open] .bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[open] .bars span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[open] .bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}
.mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  box-shadow: 0 20px 34px -18px rgba(0, 0, 0, 0.25);
  padding: 14px var(--pad-inline) 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.mobile-panel a {
  padding: 12px 4px;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px dashed var(--mist);
  text-align: left;
  width: 100%;
}
.mobile-panel a.current {
  color: var(--red);
}
.mobile-panel .mp-sub {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
}
.mobile-panel .mp-sub a {
  border-bottom: none;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--slate);
  padding: 9px 4px;
}
.mobile-panel .btn {
  margin-top: 14px;
  justify-content: center;
}

@media (min-width: 880px) {
  .navlinks {
    display: flex;
  }
  .navcta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* ---------------- HERO ---------------- */
.hero {
  background: linear-gradient(120deg, #181b1d 0%, #262c2e 55%, #3b4247 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  right: -12%;
  top: -18%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(228, 38, 43, 0.35),
    transparent 65%
  );
  pointer-events: none;
}
.hero-diag {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(135deg, rgba(228, 38, 43, 0.08), transparent 60%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
/* hero drawing: a nested carton layout, each blank cut in turn. Every blank carries a
     tab on its right and a matching notch on its left, so neighbours slot together —
     that interlock is what nesting is, and why a sheet yields more cartons. */
.hero-art {
  position: absolute;
  top: 50%;
  right: -7%;
  width: 74%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-art .blank {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.4;
  stroke-opacity: 0.15;
  stroke-dasharray: 700;
  animation: nestplot 12s linear infinite;
}
.hero-art .b2 {
  animation-delay: 0.5s;
}
.hero-art .b3 {
  animation-delay: 1s;
}
.hero-art .b4 {
  animation-delay: 1.5s;
}
.hero-art .b5 {
  animation-delay: 2s;
}
.hero-art .b6 {
  animation-delay: 2.5s;
}
@keyframes nestplot {
  0% {
    stroke-dashoffset: 700;
    opacity: 1;
  }
  13%,
  76% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  88%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
/* the global reduce-motion rule collapses every animation to its last keyframe, which
     here is opacity 0 — so the sheet must be pinned visible explicitly, after that rule */
@media (prefers-reduced-motion: reduce) {
  .hero-art .blank {
    animation: none !important;
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }
}

.hero .container {
  padding-block: clamp(56px, 9vw, 110px);
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.3rem);
  line-height: 1.04;
  max-width: 15ch;
}
.hero h1 .accent {
  color: var(--red);
}
.hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #c7cdce;
  max-width: 46ch;
  margin-top: 22px;
  line-height: 1.65;
}
.hero .ctas {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------------- SECTIONS ---------------- */
.section {
  padding-block: clamp(56px, 8vw, 96px);
}
.section-head {
  max-width: 56ch;
  margin-bottom: clamp(30px, 5vw, 48px);
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-top: 10px;
}
.section-head p {
  color: var(--slate);
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.6;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.cat-card {
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  scroll-margin-top: 120px;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px -18px rgba(30, 34, 38, 0.35);
}
.cat-card .head {
  padding: 26px 22px;
  display: flex;
  align-items: flex-end;
  min-height: 130px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background-size:
    40px 20px,
    cover;
  background-repeat: repeat, no-repeat;
  transition: background-position 0.5s ease;
}
.cat-card:hover .head {
  background-position:
    8px 0,
    0 0;
}
.cat-card .head.raw {
  background-image: var(--flute-url), linear-gradient(135deg, #3b4247, #1e2226);
}
.cat-card .head.machine {
  background-image: var(--flute-url), linear-gradient(135deg, #c42328, #7a1417);
}
.cat-card .head.software {
  background-image: var(--flute-url), linear-gradient(135deg, #6b7478, #3b4247);
}
.cat-card .head .num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.6rem;
  opacity: 0.4;
}
.cat-card .head h3 {
  font-size: 1.3rem;
}
.cat-card .body {
  padding: 22px;
}
.cat-card .body li {
  font-size: 0.875rem;
  color: var(--slate);
  padding: 9px 0;
  border-bottom: 1px dashed var(--mist);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cat-card .body li:last-child {
  border-bottom: none;
}
.cat-card .body .catlink {
  margin-top: 16px;
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--red);
}
.cat-card .body .catlink:hover {
  text-decoration: underline;
}

.split .container {
  display: grid;
  gap: clamp(30px, 6vw, 60px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) {
  .split .container {
    grid-template-columns: 1fr 1fr;
  }
}
.split {
  background: var(--surface);
}
/* gradient stays as the backdrop — it shows while the photo decodes, so no white flash */
.split .imgblock {
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b4247, #181b1d);
  position: relative;
  overflow: hidden;
}
.split .imgblock img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split .imgblock .tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.split h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 10px;
}
.split p {
  color: var(--slate);
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
.split .pillrow {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.split .pill {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--steel);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.why-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--mist);
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.why-card:hover {
  box-shadow: 0 14px 30px -18px rgba(30, 34, 38, 0.3);
  transform: translateY(-3px);
}
.why-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 16px;
}
.why-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
}

.ctaband {
  background: linear-gradient(120deg, #b01e22, #e4262b);
  color: var(--white);
  scroll-margin-top: 80px;
}
.ctaband .container {
  padding-block: clamp(44px, 7vw, 68px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ctaband h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  max-width: 24ch;
}
.ctaband p {
  color: #fbe1e1;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ---------------- FOOTER ---------------- */
footer {
  background: var(--ink);
  color: var(--footer-text);
  padding-block: clamp(48px, 7vw, 70px) 30px;
  scroll-margin-top: 80px;
}
footer .container {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
footer .brand-col {
  grid-column: span 2;
  min-width: 240px;
}
@media (max-width: 520px) {
  footer .brand-col {
    grid-column: span 1;
  }
}
footer h5 {
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
/* reversed colourway of the same lockup, for the ink ground */
.logo-f {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}
footer p {
  font-size: 0.875rem;
  line-height: 1.7;
}
footer li {
  font-size: 0.875rem;
  margin-bottom: 10px;
}
footer li a:hover {
  color: var(--white);
}
.footbot {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px var(--pad-inline) 0;
  border-top: 1px solid #3b4247;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* toast */

/* floating call CTA — works today via tel:; swap to a wa.me/ deep link once a WhatsApp-enabled number is confirmed */
.call-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(228, 38, 43, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.call-float:hover {
  background: var(--red-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px -6px rgba(228, 38, 43, 0.5);
}
.call-float svg {
  width: 24px;
  height: 24px;
}
.call-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0.6;
  animation: callpulse 2.4s ease-out 1;
}
@keyframes callpulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ---------------- INTERIOR PAGE HEAD ---------------- */
/* shared by every page below the homepage — products, about, and whatever comes next */
.pagehead {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(32px, 5.5vw, 56px);
}
.pagehead .hero-shape {
  position: absolute;
  right: -14%;
  top: -46%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 40%,
    rgba(228, 38, 43, 0.3),
    transparent 66%
  );
  pointer-events: none;
}
.pagehead .container {
  position: relative;
}
.pagehead .eyebrow {
  color: var(--red);
}
.pagehead h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-top: 8px;
}
.pagehead .lede {
  color: var(--mist);
  margin-top: 14px;
  max-width: 60ch;
  line-height: 1.65;
}
.pagehead .meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--topbar-text);
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pagehead .meta .dot {
  color: #4a5254;
}

.crumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--topbar-text);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.crumb a:hover {
  color: var(--white);
}
.crumb .sep {
  color: #4a5254;
}
.crumb .here {
  color: var(--white);
}
