/* Shared colour, type and glass surfaces for the SYRIVA ingredient catalogue. */
@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Thai";
  src: url("./assets/noto-sans-thai.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --white: oklch(1 0 0);
  --ink: oklch(.266 .033 356);
  --muted: oklch(.447 .032 354);
  --rose: oklch(.455 .108 356);
  --rose-hover: oklch(.385 .097 356);
  --rose-deep: oklch(.332 .084 354);
  --blush: oklch(.971 .012 358);
  --tint: oklch(.939 .027 357);
  --line: oklch(.887 .021 355);
  --paper: oklch(.985 .01 63);
  --canvas: #f5eeef;
  --rose-petal: oklch(.92 .027 4);
  --rose-silk: oklch(.954 .018 4);
  --rose-rule: oklch(.805 .035 4);
  --backdrop: oklch(.2 .035 356 / .65);
  --glass-surface: linear-gradient(147deg, #ffffffb3 0%, #ffffff4d 18%, #fff8fc16 46%, #fff7fa35 74%, #fff9 100%);
  --glass-rim: #fffffff2;
  --glass-depth: inset 0 0 0 1px #9c81917d, inset 1px 2px 2px #fff, inset -2px -2px 5px #ae809b88, inset 0 0 11px #ffebf6b3, 0 0 0 1px #71536658, 0 16px 27px -20px #503247b3;
  --glass-photo-rim: inset 0 0 0 1px #ae879c78, inset 1px 2px 3px #fff, inset -2px -3px 7px #74576e68;
  --glass-panel-depth: inset 0 1px 1px #fff, inset 0 -1px 2px #a0798c5c, 0 0 0 1px #95758855, 0 15px 25px -22px #4b3042b3;
  --glass-shine-stops: transparent 12%, #f3d9eb40 35%, #ffffffc9 44%, #fff 50%, #fff9 55%, #f6cce86e 64%, transparent 82%;
  --glass-shine-streak: linear-gradient(105deg, var(--glass-shine-stops));
  --glass-edge-core: #fff;
  --glass-edge-bloom: #fff4f3bd;
  --glass-edge-wash: #f5bfd181;
  --glass-edge-tail: #d992b259;
  --glass-control: linear-gradient(151deg, #ffffffdb 0%, #fff9 20%, #fffafd4d 57%, #f9edf39c 100%);
  --glass-control-depth: inset 0 1px 1px #fff, inset 0 -1px 3px #92647e32, 0 3px 9px -6px #5d4456aa;
  --glass-popover: linear-gradient(150deg, #fffdfd, #f8eef3);
  --display-ink: #711c34;
  --type-display: Georgia, 'Times New Roman', serif;
  --type: Manrope, "Segoe UI", sans-serif;
  --type-thai: "Noto Sans Thai", Tahoma, sans-serif;
  --text-meta: .8125rem;
  --text-ui: .9375rem;
  --text-body: 1rem;
  --text-lead: 1.0625rem;
  --text-item: 1.125rem;
  --text-heading: clamp(1.7rem, 2.7vw, 2.5rem);
  --text-display: clamp(2.4rem, 4.95vw, 4.75rem);
  --side: clamp(17px, 4.15vw, 64px);
  --frame-gutter: clamp(7px, 1.4vw, 22px);
  --panel-inset: clamp(5px, .8vw, 12px);
  --panel-radius: clamp(22px, 2.5vw, 36px);
  --card-radius: 16px;
  --control-radius: 10px;
  --speed: 220ms cubic-bezier(.22, 1, .36, 1);
  --z-menu: 2;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  position: relative;
  overflow-x: clip;
  scroll-behavior: smooth;
  background:
    linear-gradient(180deg, transparent 68%, #faf6f7 100%) top / 100% 1360px no-repeat,
    linear-gradient(141deg, #f8f4f6 8%, #eee4ea 35%, #e3d6df 57%, #fbf7f9 86%) top / 100% 1360px no-repeat,
    #faf6f7;
  scrollbar-color: var(--rose) var(--canvas);
}
.glass-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(770px, 120vh, 1160px);
  height: clamp(770px, 120svh, 1160px);
  overflow: hidden;
  overflow: clip;
  /* Keep the fade stationary as the reflection translates and rotates. */
  mask-image: linear-gradient(#000 60%, #000e 70%, #0009 82%, #0002 94%, transparent);
  pointer-events: none;
}
.glass-backdrop::before {
  position: absolute;
  inset: calc(-10% - 8vw) calc(-12vw - 48px);
  background:
    radial-gradient(ellipse 131% 94% at -10% -43%, transparent 73%, #b487a932 76%, #fbe9f5ad 77.1%, #fff 77.8%, #fff6 78.7%, #d3a6c165 80%, transparent 83.5%),
    radial-gradient(ellipse 118% 82% at 110% 130%, transparent 74%, #ad85a244 77%, #fbe7f3ab 78.2%, #fff 78.8%, #fff8 80%, #e2bad29c 81.6%, transparent 86%),
    radial-gradient(ellipse at 87% 34%, #fff8, #faeaf42b 32%, transparent 61%);
  pointer-events: none;
  content: '';
}
html[data-glass-motion] .glass-backdrop::before { animation: glass-reflections 13s -2.75s ease-in-out infinite alternate; }
html[data-glass-motion='paused'] .glass-backdrop::before { animation-play-state: paused; }
@keyframes glass-reflections {
  from { transform: translate3d(-4%, -3%, 0) rotate(-5deg) scale(1.02); }
  to { transform: translate3d(5%, 8%, 0) rotate(6deg) scale(1.07); }
}
body { overflow-x: clip; display: flow-root; width: min(calc(100% - var(--frame-gutter) * 2), 1460px); margin: var(--frame-gutter) auto; color: var(--ink); font: 400 var(--text-body)/1.6 var(--type); font-kerning: normal; }
button, input, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
::selection { color: var(--white); background: var(--rose); }
:is(a, button, input, select, summary):focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
:is(section, footer)[id] { scroll-margin-top: 24px; }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: var(--text-heading); line-height: 1.16; font-weight: 700; letter-spacing: -.03em; }
p { text-wrap: pretty; }
.wrap { width: min(100% - var(--side) * 2, 1280px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: var(--z-menu); top: 12px; left: var(--side); padding: 10px 16px; background: var(--paper); }
.icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon.direction-icon { flex: 0 0 1.05em; width: 1.05em; height: 1.05em; }
.icon.industry-nav-chevron { flex-basis: 14px; width: 14px; height: 14px; }

.site-header { position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand-wordmark { display: block; width: clamp(119px, 12.2vw, 166px); height: auto; color: #9e5267; }
.site-nav, .header-actions { display: flex; align-items: center; }
.site-nav { gap: clamp(14px, 2vw, 29px); }
.site-nav :is(a, summary) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: var(--text-ui); font-weight: 650; white-space: nowrap; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--rose); text-decoration: underline; }
.industry-nav { position: relative; }
.industry-nav summary { gap: 7px; border-radius: var(--control-radius); list-style: none; cursor: pointer; }
.industry-nav summary::-webkit-details-marker { display: none; }
.industry-nav summary:hover, .industry-nav[open] summary, .industry-nav:has(a[aria-current="page"]) summary { color: var(--rose); }
.industry-nav-chevron { flex: 0 0 14px; width: 14px; height: 14px; transition: transform var(--speed); }
.industry-nav[open] .industry-nav-chevron { transform: rotate(180deg); }
.industry-nav-list {
  position: absolute;
  z-index: var(--z-menu);
  inset: calc(100% + 4px) auto auto 0;
  width: max-content;
  min-width: 250px;
  max-width: min(320px, calc(100vw - var(--side) * 2));
  max-height: min(400px, calc(100dvh - 90px));
  margin: 0;
  padding: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--glass-rim);
  border-radius: var(--card-radius);
  background: var(--glass-popover);
  box-shadow: var(--glass-depth);
  list-style: none;
}
.site-nav .industry-nav-list a {
  display: flex;
  min-height: 44px;
  padding: 8px 12px;
  border-inline-start: 2px solid transparent;
  border-radius: 8px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
.site-nav .industry-nav-list a:hover { background: var(--rose-silk); }
.site-nav .industry-nav-list a:focus-visible { outline-offset: -2px; }
.site-nav .industry-nav-list a[aria-current="page"] {
  border-inline-start-color: var(--rose);
  background: var(--tint);
  text-decoration: none;
}
.site-nav .mobile-contact { display: none; }
.nav-glass-lens { display: none; }
.header-actions { gap: 12px; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 23px; border: 1px solid var(--glass-rim); border-radius: 999px; background: var(--glass-control); box-shadow: var(--glass-control-depth); color: var(--display-ink); font-size: var(--text-ui); font-weight: 700; white-space: nowrap; text-decoration: none; transition: background-color var(--speed), transform var(--speed); }
.header-contact:hover { background: var(--white); transform: translateY(-1px); }
.header-contact:active { transform: translateY(1px); }
.menu-toggle { display: none; }

.home-page {
  --home-gutter: clamp(17px, 2.5vw, 42px);
  --home-card-inset: clamp(20px, 3vw, 42px);
  --home-card-gap: clamp(12px, 1.5vw, 24px);
  --home-card-columns: 3;
}
.home-page main > :is(.hero, .wrap) { width: min(100% - var(--home-gutter) * 2, 1340px); margin-inline: auto; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  margin-top: 8px;
  padding: clamp(21px, 3vw, 42px);
  border: 1px solid var(--glass-rim);
  border-radius: var(--panel-radius);
  background: var(--glass-surface);
  box-shadow: var(--glass-panel-depth);
}
:is(.hero, .home-page .industries, .industry-hero, .documents-hero, .sales-samples)::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff0 4%, #fff 19%, #ffe7f790 41%, #fff0 76%) top / 100% 1px no-repeat,
    linear-gradient(90deg, #fff0 41%, #f3dce875 65%, #fff 84%, #fff0 97%) bottom / 100% 1px no-repeat;
  pointer-events: none;
  content: '';
}
.glass-edge-shine { display: none; }
@supports (mask-image: linear-gradient(black, transparent)) {
  .glass-edge-shine {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    overflow: clip;
    border-radius: inherit;
    pointer-events: none;
    mask-image: linear-gradient(#000 2px, #0006 7px, transparent 21px, transparent calc(100% - 19px), #0006 calc(100% - 6px), #000 calc(100% - 2px));
  }
  .glass-edge-shine::before, .glass-edge-shine::after {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    content: '';
  }
  .glass-edge-shine::before {
    --glass-edge-from: -23%;
    --glass-edge-to: 41%;
    inset: 0 0 auto;
    height: 21px;
    background-image:
      radial-gradient(ellipse 22% 88% at 66% 0%, var(--glass-edge-core), var(--glass-edge-bloom) 20%, var(--glass-edge-wash) 48%, transparent),
      radial-gradient(ellipse 47% 93% at 48% 0%, var(--glass-edge-tail), transparent 100%);
    background-size: clamp(108px, 30%, 386px) 100%;
  }
  .glass-edge-shine::after {
    --glass-edge-from: -41%;
    --glass-edge-to: 23%;
    --glass-edge-peak: .74;
    --glass-edge-delay: -.58s;
    inset: auto 0 0;
    height: 19px;
    background-image:
      radial-gradient(ellipse 32% 90% at 60% 100%, var(--glass-edge-bloom), var(--glass-edge-wash) 43%, transparent),
      radial-gradient(ellipse 48% 96% at 49% 100%, var(--glass-edge-tail), transparent 100%);
    background-size: clamp(96px, 25%, 330px) 100%;
  }
  html[data-glass-motion='playing'] .glass-edge-shine.is-visible::before,
  html[data-glass-motion='playing'] .glass-edge-shine.is-visible::after {
    animation: glass-edge-loop 5s var(--glass-edge-delay, -.8s) linear infinite;
  }
}
@keyframes glass-edge-loop {
  from { transform: translate3d(var(--glass-edge-from), 0, 0); opacity: 0; }
  14%, 78% { opacity: var(--glass-edge-peak, 1); }
  to { transform: translate3d(var(--glass-edge-to), 0, 0); opacity: 0; }
}
@keyframes glass-edge-pass {
  from { transform: translate3d(-155%, 0, 0) skewX(-15deg); opacity: 0; }
  18%, 78% { opacity: 1; }
  to { transform: translate3d(380%, 0, 0) skewX(-15deg); opacity: 0; }
}
.hero-copy { padding: clamp(14px, 1.5vw, 22px) 0 clamp(14px, 1.5vw, 22px) clamp(0px, .8vw, 12px); }
.hero h1 { color: var(--display-ink); font: 400 var(--text-display)/.99 var(--type-display); letter-spacing: -.056em; }
.hero h1 span { display: block; text-wrap: pretty; }
.hero h1 span + span { font-style: italic; }
.hero-description { max-width: 33ch; margin-top: 20px; color: var(--ink); font-size: var(--text-lead); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero-figure { position: relative; min-width: 0; aspect-ratio: 3 / 2; border-radius: calc(var(--panel-radius) - 5px); box-shadow: 0 12px 24px -18px #533c4c90, 0 0 0 1px #9275825f; }
.hero-figure::after { position: absolute; inset: 0; border: 1px solid #fffdfb; border-radius: inherit; box-shadow: var(--glass-photo-rim); pointer-events: none; content: ''; }
.hero-photo-window { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; }
.hero-photo-window > img { width: 100%; height: 100%; object-fit: cover; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 19px; border: 1px solid transparent; border-radius: 999px; font-size: var(--text-ui); font-weight: 700; line-height: 1.4; text-decoration: none; transition: background-color var(--speed), color var(--speed), border-color var(--speed), transform var(--speed); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.primary-button { border-color: #6d1c37; color: var(--white); background: linear-gradient(#a43e59, #731732); box-shadow: inset 0 1px 2px #ffffff60, inset 0 -2px 4px #4b0c2561, 0 6px 12px -7px #641632b8; }
.primary-button:hover { background: var(--rose-hover); }
.secondary-button { border-color: var(--line); background: var(--glass-control); box-shadow: var(--glass-control-depth); color: var(--rose-deep); }
.secondary-button:hover { background: var(--blush); border-color: var(--rose); }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--rose); font-size: var(--text-ui); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--rose-hover); text-decoration: underline; }

.industries { position: relative; isolation: isolate; margin-block: clamp(20px, 2.8vw, 36px) clamp(26px, 3.2vw, 44px); padding: var(--home-card-inset); border: 1px solid var(--glass-rim); border-radius: var(--panel-radius); background: var(--glass-surface); box-shadow: var(--glass-panel-depth); }
:is(.industries-intro, .families-intro, .spotlight-intro) { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: clamp(16px, 1.7vw, 24px); }
.industries-intro { scroll-margin-top: 24px; }
:is(.industries-intro, .families-intro) p { margin-top: 5px; color: var(--muted); font-size: var(--text-ui); }
.industry-list, .industry-tags, .family-list { padding: 0; margin: 0; list-style: none; }
.home-page :is(.industry-list, .family-list, .spotlight-products) { display: grid; grid-template-columns: repeat(var(--home-card-columns), minmax(0, 1fr)); gap: var(--home-card-gap); }
.industry-card { position: relative; isolation: isolate; display: grid; grid-template-columns: clamp(84px, 9vw, 128px) minmax(0, 1fr) auto; align-items: center; min-width: 0; height: 100%; padding: 8px; overflow: clip; border: 1px solid var(--glass-rim); border-radius: var(--card-radius); background: var(--glass-control); box-shadow: var(--glass-control-depth), 0 0 0 1px #96798646; text-decoration: none; transition: border-color var(--speed), transform var(--speed); }
.industry-card:hover { transform: translateY(-2px); border-color: var(--rose); }
.industry-card:hover strong { color: var(--rose); }
.industry-card::after { position: absolute; z-index: -1; inset: 0 auto 0 -9%; width: 50%; border-radius: inherit; background: var(--glass-shine-streak); opacity: 0; pointer-events: none; content: ''; }
html[data-glass-motion='playing'] .industry-card:focus-visible::after { animation: glass-edge-pass .85s ease-out both; }
@media (hover: hover) and (pointer: fine) {
  html[data-glass-motion='playing'] .industry-card:hover::after { animation: glass-edge-pass .85s ease-out both; }
}
.industry-photo { grid-column: 1 / -1; display: block; aspect-ratio: 2.85; border-radius: calc(var(--card-radius) - 1px) calc(var(--card-radius) - 1px) 0 0; background: var(--tint) url("./assets/industry-applications.webp") var(--photo-x) var(--photo-y) / 300% auto no-repeat; }
.industry-photo-beverages { --photo-x: 0%; --photo-y: 20%; }
.industry-photo-nutrition { --photo-x: 50%; --photo-y: 20%; }
.industry-photo-bakery { --photo-x: 100%; --photo-y: 20%; }
.industry-photo-plant { --photo-x: 0%; --photo-y: 80%; }
.industry-photo-dairy { --photo-x: 50%; --photo-y: 80%; }
.industry-photo-sauces { --photo-x: 100%; --photo-y: 80%; }
.industry-card .industry-photo { grid-column: auto; width: 100%; aspect-ratio: 1; border-radius: calc(var(--card-radius) - 5px); background-size: 300% 200%; box-shadow: 0 0 0 1px #7f626d38; }
.industry-card :is(.industry-photo-beverages, .industry-photo-nutrition, .industry-photo-bakery) { background-position-y: 0%; }
.industry-card :is(.industry-photo-plant, .industry-photo-dairy, .industry-photo-sauces) { background-position-y: 100%; }
.industry-card-copy { display: grid; min-width: 0; gap: 4px; padding: 6px 6px 6px clamp(10px, 1.05vw, 16px); }
.industry-card strong { font-size: clamp(.97rem, 1.25vw, 1.16rem); line-height: 1.3; text-wrap: pretty; overflow-wrap: break-word; }
.industry-card-copy > span { color: var(--muted); font-size: var(--text-meta); line-height: 1.4; }
.industry-arrow, .family-arrow { display: grid; place-items: center; color: var(--rose); }
.industry-arrow { width: 25px; height: 28px; margin-inline-end: 2px; }
.industry-arrow .direction-icon, .family-arrow .direction-icon { width: 18px; height: 18px; }
.industry-technical { grid-column: 1 / -1; }
.industry-technical .industry-card { grid-template-columns: minmax(0, 1fr) auto; min-height: 65px; }
.ingredient-families { border-radius: var(--panel-radius); padding: var(--home-card-inset); }
.family-list a {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 11px 8px;
  height: 100%;
  padding: clamp(11px, 1.25vw, 18px);
  border: 1px solid var(--glass-rim);
  border-radius: var(--card-radius);
  background: radial-gradient(ellipse at 52% 34%, var(--family-glow), transparent 69%), var(--glass-control);
  box-shadow: var(--glass-panel-depth);
  text-decoration: none;
  transition: border-color var(--speed), transform var(--speed);
}
.family-list a::before {
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(107deg, #fff9, transparent 32%, transparent 74%, #fff5);
  pointer-events: none;
  content: '';
}
.family-list [data-catalog-category='proteins'] { --family-glow: #f0cba46b; }
.family-list [data-catalog-category='fruit'] { --family-glow: #efb1c282; }
.family-list [data-catalog-category='grain'] { --family-glow: #eac59977; }
.family-art { position: relative; grid-column: 1 / -1; display: block; width: min(100%, 242px); aspect-ratio: 1.55; justify-self: center; }
.family-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px #5a35452e);
  transition: transform var(--speed);
}
.family-copy { min-width: 0; }
.family-list strong { display: block; font-size: var(--text-body); line-height: 1.3; font-weight: 750; }
.family-description { display: block; margin-top: 4px; color: var(--muted); font-size: var(--text-meta); line-height: 1.45; }
.family-arrow { align-self: center; transition: transform var(--speed); }
.family-list a:is(:hover, :focus-visible) { border-color: var(--rose); }
.family-list a:is(:hover, :focus-visible) strong { color: var(--rose); }
.family-list a:is(:hover, :focus-visible) .family-photo { transform: translateY(-3px); }
.family-list a:is(:hover, :focus-visible) .family-arrow { transform: translateY(2px); }

.spotlight { padding-block: clamp(35px, 4.3vw, 62px) 0; padding-inline: calc(var(--home-card-inset) + 1px); }
.spotlight-card { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 15px; align-items: center; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--paper); transition: border-color var(--speed), transform var(--speed); }
.spotlight-card:hover { border-color: var(--rose); transform: translateY(-2px); }
.spotlight-photo { align-self: center; min-width: 0; width: 100%; overflow: hidden; border-radius: var(--control-radius); aspect-ratio: .87; background: var(--blush); }
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--speed); }
.spotlight-card:hover .spotlight-photo img { transform: scale(1.025); }
.spotlight-copy h3 { font-size: clamp(1rem, 1.35vw, 1.1875rem); font-weight: 700; line-height: 1.28; letter-spacing: -.02em; }
.spotlight-name { text-decoration: none; }
.spotlight-name::after { content: ""; position: absolute; inset: 0; border-radius: var(--card-radius); }
.spotlight-name:focus-visible { outline: none; }
.spotlight-name:focus-visible::after { outline: 2px solid var(--rose); outline-offset: 4px; }
.spotlight-copy > p { margin-top: 6px; font-size: var(--text-meta); color: var(--muted); line-height: 1.45; }
.spotlight-pdf { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 10px; color: var(--rose); font-size: var(--text-meta); font-weight: 700; text-decoration: none; }
.spotlight-pdf:hover { text-decoration: underline; }

.ingredient-section { margin-block: clamp(43px, 5.4vw, 80px); }
.ingredient-section:focus { outline: none; }
.catalogue-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(46%, 520px);
  align-items: center;
  gap: clamp(17px, 3vw, 44px);
  padding: clamp(15px, 2.35vw, 34px);
  border: 1px solid #885168;
  border-radius: var(--panel-radius);
  background: linear-gradient(137deg, #822c49, #541c36 64%, #48182f);
  box-shadow: 0 17px 29px -23px #4c253fc4;
  color: var(--white);
}
.catalogue-intro { padding-inline-start: clamp(4px, 2vw, 29px); }
.catalogue-intro h2 { font: 400 clamp(2.7rem, 5.5vw, 5rem)/.95 var(--type-display); letter-spacing: -.055em; text-wrap: pretty; }
.catalogue-intro em { display: block; color: #ffdce8; }
.catalogue-intro p { max-width: 39ch; margin-top: 19px; color: #fff4f7; font-size: var(--text-body); }
.catalogue-cover-media { position: relative; min-width: 0; overflow: hidden; border-radius: clamp(11px, 1.65vw, 22px); box-shadow: 0 12px 25px -17px #210913d9; }
.catalogue-cover-media img { width: 100%; height: auto; }
.catalogue-cover-media::after { position: absolute; inset: 0; border: 1px solid var(--glass-rim); border-radius: inherit; box-shadow: var(--glass-photo-rim); pointer-events: none; content: ''; }
.catalogue-tools { margin-top: clamp(13px, 1.6vw, 23px); padding: clamp(13px, 2vw, 27px); border: 1px solid var(--glass-rim); border-radius: calc(var(--panel-radius) - 4px); background: var(--glass-popover); box-shadow: var(--glass-panel-depth); }
.catalog-controls { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 4px; border: 1px solid #dcbfce; border-radius: 16px; background: linear-gradient(145deg, #f5e8ee, #fff9fb8f); box-shadow: inset 0 1px 3px #a77a902b; }
.industry-filter { min-width: 0; }
.industry-filter select { width: 100%; min-height: 54px; padding: 12px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--paper); color: var(--ink); font-size: var(--text-ui); cursor: pointer; }
.industry-filter select:hover { border-color: var(--rose); }
.search-field { display: flex; align-items: center; flex: 1; gap: 12px; min-width: 0; min-height: 54px; padding-inline: 16px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--white); color: var(--rose); }
.search-field:focus-within { border-color: var(--rose); outline: 1px solid var(--rose); }
.search-field svg { flex: 0 0 auto; }
.search-field input { width: 100%; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: var(--ink); caret-color: var(--rose); outline: 0; }
.search-field input::placeholder { color: var(--muted); }
.spec-filter { display: flex; align-items: center; flex: 0 0 auto; gap: 9px; min-height: 44px; padding-inline: 5px; font-size: var(--text-ui); cursor: pointer; }
.spec-filter input { width: 18px; height: 18px; margin: 0; accent-color: var(--rose); }
.catalogue-tools .spec-filter { align-self: stretch; min-width: 0; min-height: 54px; padding-inline: 10px; color: var(--rose-deep); white-space: nowrap; }
.catalog-controls :is(.search-field, select) { border-color: #be9eae70; border-radius: 12px; background: #fff7; }
.catalog-controls .search-field:focus-within, .catalog-controls select:hover { border-color: var(--rose); }
.category-filters { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.category-filter { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff7; color: var(--ink); font-size: var(--text-ui); font-weight: 650; line-height: 1.3; transition: color var(--speed), background-color var(--speed), border-color var(--speed); }
.category-filter:hover { border-color: var(--rose); background: #fff9; }
.category-filter[aria-pressed="true"] { border-color: #aa758e; background: #eac9db43; color: var(--rose-deep); font-weight: 780; }
.catalogue-lens {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: var(--lens-width, 0px);
  height: var(--lens-height, 0px);
  transform: translate3d(var(--lens-x, 0px), var(--lens-y, 0px), 0);
  opacity: 0;
  pointer-events: none;
  border: 1px solid #fffffff2;
  border-radius: 12px;
  background: radial-gradient(ellipse at 20% 0%, #fff 1%, #fffb 20%, transparent 70%), linear-gradient(158deg, #fff5fa 0%, #f4dbe8 55%, #dfb7cf 100%);
  box-shadow: inset 0 1px 2px #fff, inset 0 -2px 5px #9a64804f, 0 0 0 1px #a5708c5e, 0 6px 14px -9px #63394fba;
}
.catalogue-lens.is-positioned { transition: transform 420ms cubic-bezier(.22, 1.15, .37, 1), width 380ms cubic-bezier(.23, .9, .38, 1), height 380ms cubic-bezier(.23, .9, .38, 1), opacity 150ms ease; }
.catalogue-lens.is-visible { opacity: 1; }
.catalogue-category-lens { border-radius: 999px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; margin-top: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: var(--text-meta); }
.ingredient-section .result-bar { min-height: 50px; margin-block: 16px 12px; border: 0; color: var(--rose-deep); font-size: var(--text-ui); }
.ingredient-section .result-bar::after { order: 1; flex: 1; min-width: 0; height: 1px; background: linear-gradient(90deg, #c49cb2aa, #d7bdcb38); content: ''; }
#result-count { display: inline-flex; align-items: center; gap: 9px; }
.result-count-value { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding-inline: 8px; border: 1px solid var(--glass-rim); border-radius: 12px; background: linear-gradient(148deg, #fff9, #f3d8e6); box-shadow: var(--glass-control-depth), 0 0 0 1px #b1839b52; color: var(--display-ink); font-size: 1.56rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.result-count-label { font-weight: 700; }
#clear-filters { min-height: 44px; padding: 6px 0 6px 10px; border: 0; background: transparent; color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }
.ingredient-section #clear-filters { order: 2; flex: 0 0 auto; padding-inline-start: 3px; }
.ingredient-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.45vw, 20px); }
.ingredient-results .empty-state { grid-column: 1 / -1; border: 1px solid var(--line); }
.ingredient-row { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(16px, 1.75vw, 25px); border: 1px solid var(--glass-rim); border-radius: 17px; background: linear-gradient(151deg, #fff, #fbf3f6); box-shadow: 0 0 0 1px #c8a9ba63, 0 9px 16px -15px #593349a5; }
.ingredient-heading { min-width: 0; }
.ingredient-card-title { display: flex; align-items: center; gap: clamp(9px, 1vw, 15px); min-width: 0; }
.ingredient-card-title-copy { flex: 1; min-width: 0; }
.ingredient-card-thumb { order: -1; flex: 0 0 auto; width: clamp(58px, 6vw, 82px); aspect-ratio: 1.18; object-fit: contain; filter: drop-shadow(0 3px 3px #55304b30); }
.ingredient-type { color: var(--rose); font-size: var(--text-meta); font-weight: 600; line-height: 1.45; }
.ingredient-heading .ingredient-type { font-size: .75rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; }
.industry-tags a { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 8px; border-radius: 8px; background: var(--rose-silk); color: var(--rose-deep); font-size: var(--text-meta); line-height: 1.35; text-decoration: none; }
.industry-tags a:hover { color: var(--rose); text-decoration: underline; }
#detail-industries { margin-top: 8px; }
.ingredient-name { margin-top: 7px; color: var(--display-ink); font-size: clamp(1.12rem, 1.55vw, 1.44rem); font-weight: 740; line-height: 1.25; letter-spacing: -.023em; }
.ingredient-summary { margin-top: 9px; color: var(--muted); font-size: var(--text-ui); line-height: 1.5; }
.ingredient-heading .industry-tags { margin-top: 13px; gap: 5px 6px; }
.ingredient-actions, .detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ingredient-actions { margin-top: auto; padding-top: 13px; border-top: 1px solid #e0c9d4; }
.details-button, .spec-link { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--paper); color: var(--rose); font-size: var(--text-ui); font-weight: 650; line-height: 1.25; text-decoration: none; transition: background-color var(--speed), border-color var(--speed); }
.details-button:hover { border-color: var(--rose); background: var(--blush); }
.spec-link { border-color: transparent; background: var(--rose-silk); }
.spec-link:hover { border-color: var(--rose); background: var(--blush); }
.ingredient-actions .details-button, .ingredient-actions .spec-link { padding-inline: 11px; }
.ingredient-actions .spec-link { border-color: var(--rose); background: var(--rose); color: var(--white); }
.ingredient-actions .spec-link:hover { border-color: var(--rose-hover); background: var(--rose-hover); }
.show-more { display: flex; width: fit-content; margin: 22px auto 0; background: var(--paper); border-color: var(--line); color: var(--rose); }
.show-more:hover { border-color: var(--rose); background: var(--blush); }
.empty-state { padding: 32px 20px; border-radius: var(--card-radius); background: var(--blush); color: var(--muted); text-align: center; }
.empty-title { font-weight: 700; color: var(--ink); }
.empty-help { font-size: var(--text-ui); }

.about { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 58px); margin-bottom: clamp(34px, 4.9vw, 70px); padding: clamp(14px, 1.65vw, 24px); border-radius: var(--panel-radius); background: var(--rose-silk); }
.about p { max-width: 58ch; color: var(--muted); font-size: var(--text-ui); }
.about-copy { padding: clamp(10px, 1.8vw, 27px) 0 clamp(10px, 1.8vw, 27px) clamp(10px, 2.4vw, 35px); }
.about h2 { margin-bottom: 18px; }
.about p + p { margin-top: 12px; }
.about .button { margin-top: 22px; }
.about > img { width: 100%; height: clamp(285px, 26vw, 385px); object-fit: cover; object-position: center 43%; border-radius: 42% 18px 18px 30% / 45% 18px 18px 55%; background: var(--blush); }
.site-footer { margin: 0 var(--panel-inset) var(--panel-inset); border-radius: var(--panel-radius); background: var(--rose-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; padding-block: clamp(36px, 4.8vw, 69px) 27px; }
.site-footer h2 { max-width: 11ch; margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.footer-grid p { max-width: 37ch; color: var(--blush); font-size: var(--text-ui); }
.footer-button { margin-top: 22px; background: var(--paper); color: var(--rose-deep); }
.footer-button:hover { background: var(--tint); }
address { display: grid; gap: 7px; color: var(--blush); font-size: var(--text-ui); font-style: normal; overflow-wrap: anywhere; }
address a { display: inline-flex; align-items: center; min-height: 36px; width: fit-content; text-decoration: none; }
address a:hover { text-decoration: underline; }
.phone-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 9px; }
.imagery-note { padding-bottom: 20px; color: var(--blush); font-size: .75rem; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 57px; padding-block: 8px; border-top: 1px solid var(--rose-rule); color: var(--blush); font-size: var(--text-meta); }
.footer-base a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.site-footer a:focus-visible { outline-color: var(--white); }

dialog { width: min(650px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid var(--glass-rim); border-radius: var(--panel-radius); background: var(--glass-popover); box-shadow: var(--glass-depth); color: var(--ink); }
dialog::backdrop { background: var(--backdrop); }
html:has(dialog[open]) { overflow-y: hidden; }
.dialog-inner { position: relative; padding: clamp(23px, 4.5vw, 42px); }
.detail-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--rose); font-size: 1.5rem; line-height: 1; }
.detail-close:hover { background: var(--blush); }
.dialog-inner > .ingredient-type { padding-right: 34px; margin-bottom: 8px; }
#detail-title { font-size: clamp(1.55rem, 4.2vw, 2.55rem); }
.detail-description { margin-top: 13px; color: var(--muted); }
.dialog-inner h3 { margin-top: 22px; font-size: var(--text-body); }
#detail-applications { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 10px 0 16px; list-style: none; }
#detail-applications li { padding: 5px 11px; border-radius: 999px; background: var(--rose-silk); font-size: var(--text-ui); }
.detail-note { color: var(--muted); font-size: var(--text-ui); }
.detail-actions { gap: 10px 17px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

.home-page :is(.ingredient-families, .about) { border: 1px solid var(--glass-rim); background: var(--glass-surface); box-shadow: var(--glass-depth); }
.home-page .spotlight-card { border-color: var(--glass-rim); background: var(--glass-control); box-shadow: var(--glass-control-depth), 0 0 0 1px #96798646; }
.home-page .spotlight-card:hover { border-color: var(--rose); }
.home-page .about > img { border-radius: calc(var(--panel-radius) - 5px); }
.site-footer { border: 1px solid #a26577; background: linear-gradient(150deg, #581f35, var(--rose-deep)); box-shadow: inset 0 1px 1px #ffffff68; }

@media (min-width: 821px) {
  .site-nav { position: relative; z-index: var(--z-menu); isolation: isolate; gap: 3px; padding: 2px 7px; border: 1px solid var(--glass-rim); border-radius: 999px; background: var(--glass-control); box-shadow: var(--glass-control-depth), 0 0 0 1px #96798646; }
  .site-nav > a, .site-nav .industry-nav > summary { padding-inline: clamp(10px, 1.2vw, 16px); border-radius: 999px; }
  .site-nav.has-glass-lens > a:is(:hover, [aria-current='page']) { color: var(--rose-deep); text-decoration: none; }
  .site-nav .industry-nav-list.has-glass-lens :is(a:hover, a[aria-current='page']) { background: transparent; text-decoration: none; }
  .nav-glass-lens {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    display: block;
    width: var(--lens-width, 0px);
    height: var(--lens-height, 0px);
    margin: 0;
    padding: 0;
    border-radius: 999px;
    opacity: 0;
    transform: translate3d(var(--lens-x, 0px), var(--lens-y, 0px), 0);
    pointer-events: none;
    list-style: none;
    transition: opacity 140ms ease;
  }
  .nav-glass-lens.is-positioned {
    transition: transform 440ms cubic-bezier(.23, 1.14, .35, 1), width 410ms cubic-bezier(.22, .9, .32, 1), height 410ms cubic-bezier(.22, .9, .32, 1), opacity 160ms ease;
  }
  .nav-glass-lens.is-visible { opacity: 1; }
  .industry-nav-list > .nav-glass-lens { border-radius: 13px; }
  .nav-glass-lens-surface {
    position: absolute;
    inset: 2px;
    border: 1px solid #ffffffde;
    border-radius: inherit;
    background: radial-gradient(ellipse at 22% 0%, #fff9, transparent 64%), linear-gradient(160deg, #fff7 12%, #fff5 48%, #d2aec46c 100%);
    box-shadow: inset 0 1px 2px #fff, inset 0 -2px 6px #a5748f5e, 0 0 0 1px #92718760, 0 5px 10px -7px #57374f9e;
  }
  .nav-glass-lens-surface::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 63% 8px at 29% 1%, #fff 18%, #fff0 84%), radial-gradient(ellipse 64% 9px at 76% 100%, #ffdeed86, transparent 86%);
    content: '';
  }
  @supports (backdrop-filter: blur(1px)) {
    .nav-glass-lens-surface { backdrop-filter: blur(4px) saturate(1.3); }
  }
}
@media (max-width: 1100px) {
  .home-page { --home-card-columns: 2; }
  .header-inner { gap: 18px; }
  .hero { padding-inline: 27px; }
  .hero-actions .button { padding-inline: 14px; }
  .spotlight-card { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 11px; padding: 10px; }
  .ingredient-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 821px) and (max-width: 960px) {
  .header-inner { gap: 9px; }
  .header-actions { gap: 6px; }
  .site-nav { gap: 2px; }
  .site-nav > a, .site-nav .industry-nav > summary { padding-inline: 6px; }
  .header-contact { padding-inline: 13px; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 67px; }
  .site-nav { position: absolute; z-index: var(--z-menu); display: none; align-items: stretch; gap: 0; inset: 100% var(--panel-inset) auto; max-height: calc(100dvh - 82px); padding: 7px var(--side) 12px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--glass-rim); border-radius: var(--card-radius); background: var(--glass-popover); box-shadow: var(--glass-depth); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > * { flex: 0 0 auto; }
  .site-nav :is(a, summary) { min-height: 46px; padding-block: 9px; }
  .site-nav :is(a, summary):active { border-radius: var(--control-radius); background: var(--rose-silk); }
  .industry-nav summary { display: flex; justify-content: space-between; width: 100%; padding-inline-end: 4px; }
  .industry-nav-list {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin-bottom: 6px;
    padding: 4px;
    overflow: visible;
    border-radius: var(--control-radius);
    background: var(--blush);
    box-shadow: none;
  }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--glass-rim); border-radius: 50%; background: var(--glass-control); box-shadow: var(--glass-control-depth), 0 0 0 1px #96798646; color: var(--rose); }
  .hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); gap: 15px; padding: 24px 22px; }
  .hero h1 { font-size: clamp(2.05rem, 4.55vw, 2.65rem); }
  .hero-copy { padding: 12px 0; }
  .hero-description { margin-top: 17px; font-size: var(--text-ui); }
  .hero-actions { margin-top: 20px; gap: 9px; }
  .catalog-controls { grid-template-columns: minmax(0, 1fr) auto; }
  .catalog-controls .search-field { grid-column: 1 / -1; }
  .spotlight-card { display: flex; flex-direction: column; gap: 13px; align-items: stretch; padding: 11px; }
  .spotlight-photo { aspect-ratio: 1.1; }
  .spotlight-copy { display: flex; flex-direction: column; height: 100%; }
  .spotlight-copy h3 { font-size: var(--text-body); }
  .spotlight-pdf { margin-top: auto; padding-top: 8px; align-self: flex-start; }
  .footer-grid { align-items: start; }
}
@media (max-width: 620px) {
  .home-page { --home-card-columns: 1; --home-card-inset: 13px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .brand-wordmark { width: clamp(104px, 34vw, 119px); }
  .header-contact { display: none; }
  .site-nav .mobile-contact { display: flex; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 25px 20px 20px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.08rem, 8.9vw, 3.2rem); }
  .hero-description { max-width: 36ch; margin-top: 16px; font-size: var(--text-body); }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { min-height: 46px; padding-inline: 15px; }
  :is(.industries, .ingredient-families) { padding-block: 18px; }
  .industry-card { grid-template-columns: clamp(72px, 22vw, 98px) minmax(0, 1fr) auto; min-height: 76px; }
  .industry-photo { grid-column: auto; align-self: stretch; aspect-ratio: auto; border-radius: calc(var(--card-radius) - 1px) 0 0 calc(var(--card-radius) - 1px); background-size: 300% 200%; }
  .industry-photo-beverages, .industry-photo-nutrition, .industry-photo-bakery { --photo-y: 0%; }
  .industry-photo-plant, .industry-photo-dairy, .industry-photo-sauces { --photo-y: 100%; }
  .industry-card .industry-photo { align-self: center; border-radius: var(--control-radius); }
  .industry-card-copy { padding: 6px 5px 6px 9px; }
  .family-list a { grid-template-columns: clamp(66px, 21vw, 108px) minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 9px; min-height: 78px; padding: 8px 10px; }
  .family-list .family-art { grid-column: auto; aspect-ratio: 1.26; }
  .spotlight-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: 17px; padding: 12px; }
  .spotlight-photo { aspect-ratio: .98; }
  .spotlight-copy { height: auto; justify-content: center; }
  .spotlight-copy h3 { font-size: 1.125rem; }
  .spotlight-pdf { margin-top: 9px; padding: 0; }
  .catalogue-cover { grid-template-columns: minmax(0, 1fr); }
  .catalogue-intro { padding: 3px 3px 0; }
  .catalogue-intro h2 { font-size: clamp(2.65rem, 10.5vw, 3.9rem); }
  .catalogue-intro p { margin-top: 13px; }
  .catalog-controls { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .catalog-controls :is(input[type='search'], select) { font-size: 1rem; }
  .catalogue-tools .spec-filter { padding-inline: 4px; }
  .spec-filter { width: fit-content; }
  .category-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
  .category-filter { padding-inline: 8px; }
  .ingredient-results { grid-template-columns: minmax(0, 1fr); }
  .ingredient-row { gap: 15px; }
  .ingredient-heading .industry-tags a { min-height: 32px; }
  .about, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .about { gap: 22px; }
  .about-copy { padding: 11px 8px 0; }
  .about > img { height: clamp(215px, 59vw, 330px); border-radius: 33% 14px 14px 14px / 38% 14px 14px 14px; }
  .footer-grid { gap: 28px; }
  address a, .footer-base a { min-height: 44px; }
}
@media (min-width: 360px) and (max-width: 620px) {
  .catalog-controls { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .catalogue-tools .spec-filter { width: 100%; white-space: normal; line-height: 1.3; }
  .catalogue-tools .spec-filter input { flex: none; }
}

/* Burgundy glass with warm reflections and lighter rose text. */
html[data-theme='dark'] {
  color-scheme: dark;
  --ink: #fff3f0;
  --muted: #ddc0c2;
  --rose: #ffb4bb;
  --rose-hover: #ffd2d0;
  --rose-deep: #f9d9d7;
  --display-ink: #ffd8d3;
  --blush: #471c27;
  --tint: #552330;
  --line: #a16a76;
  --paper: #2b101a;
  --canvas: #19080f;
  --rose-petal: #431a26;
  --rose-silk: #391620;
  --rose-rule: #b77983;
  --backdrop: #120409cc;
  --glass-surface: linear-gradient(149deg, #612837c9, #381420dc 48%, #281018dc 78%, #4d1c2bd1);
  --glass-rim: #d9949e74;
  --glass-depth: inset 0 1px 2px #ffe3dc55, inset 0 -2px 5px #16030799, inset 0 0 0 1px #be6e8055, 0 17px 28px -22px #140309ee;
  --glass-photo-rim: inset 0 1px 2px #ffe1d999, inset 0 -2px 8px #20060b99;
  --glass-control: linear-gradient(151deg, #63303ddd, #46202cde 57%, #32141ee8);
  --glass-control-depth: inset 0 1px 1px #ffddd747, inset 0 -1px 3px #14030990, 0 5px 9px -5px #120309cc;
  --glass-popover: linear-gradient(149deg, #4c1e2b, #2e111a 62%, #37151f);
  --glass-panel-depth: inset 0 1px 1px #ffe4dd53, inset 0 -1px 2px #180408a0, 0 0 0 1px #cf839437, 0 15px 26px -19px #120207;
  --glass-shine-stops: transparent 12%, #e996a050 35%, #ffc2babf 47%, #fff0e8 51%, #d684936e 60%, transparent 82%;
  --glass-edge-core: #fff2e6;
  --glass-edge-bloom: #ffd8c6cc;
  --glass-edge-wash: #efa5a67a;
  --glass-edge-tail: #e27a9269;
  --glass-accent: linear-gradient(#a13a50, #67182e);
  --glass-accent-hover: #942c44;
  background: linear-gradient(180deg, transparent 65%, var(--canvas) 100%) top / 100% 1380px no-repeat,
    radial-gradient(ellipse at 28% 13%, #651f32 0%, #39111f 50%, var(--canvas) 82%) top / 100% 1380px no-repeat,
    var(--canvas);
}
html[data-theme='dark'] ::selection { color: var(--canvas); background: var(--rose); }
html[data-theme='dark'] .glass-backdrop::before {
  background:
    radial-gradient(ellipse 131% 94% at -10% -43%, transparent 73%, #b5526b26 76%, #f28f945e 77.2%, #ffd9cd99 77.95%, #d9858b40 80%, transparent 84%),
    radial-gradient(ellipse 118% 82% at 110% 130%, transparent 74%, #a5415d28 77%, #e58a9654 78.4%, #ffc0b87d 79.1%, #be5c702b 82%, transparent 87%),
    radial-gradient(ellipse at 87% 34%, #c05a7036, #85284024 32%, transparent 61%);
}
html[data-theme='dark'] .brand-wordmark { color: var(--display-ink); }
html[data-theme='dark'] .header-contact:hover { background: var(--blush); }
html[data-theme='dark'] .primary-button { border-color: var(--rose-rule); background: var(--glass-accent); }
html[data-theme='dark'] .primary-button:hover { background: var(--glass-accent-hover); }
html[data-theme='dark'] :is(.hero, .home-page .industries, .industry-hero, .documents-hero, .sales-samples)::before {
  background: linear-gradient(90deg, transparent 4%, #ffcabca6 20%, #efadb038 41%, transparent 76%) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 41%, #d9838a50 66%, #ffe1d4b0 84%, transparent 97%) bottom / 100% 1px no-repeat;
}
html[data-theme='dark'] :is(.hero-figure, .industry-hero .industry-photo) {
  box-shadow: 0 15px 27px -16px #19050ecf, -4px 5px 20px -12px #e382966b, 0 0 0 1px #f4afa548;
}
html[data-theme='dark'] :is(.hero-figure, .industry-hero .industry-photo)::after {
  z-index: 1;
  border-color: #ffd0c496;
  background:
    radial-gradient(ellipse 82% 22% at 0% 0%, #ffe4d693, #ed969a34 42%, transparent 100%),
    radial-gradient(ellipse 64% 22% at 100% 100%, #7f244369, #b555682c 38%, transparent 100%);
  box-shadow: inset 0 2px 4px #fff1e280, inset 0 -3px 8px #4d13267a;
}
html[data-theme='dark'] .family-list a::before { background: linear-gradient(107deg, #f7ab9d26, transparent 33%, transparent 74%, #ffdbce19); }
html[data-theme='dark'] .family-list [data-catalog-category='proteins'] { --family-glow: #b58b5850; }
html[data-theme='dark'] .family-list [data-catalog-category='fruit'] { --family-glow: #ce5a6c60; }
html[data-theme='dark'] .family-list [data-catalog-category='grain'] { --family-glow: #b983554b; }
html[data-theme='dark'] .catalogue-cover { border-color: var(--glass-rim); background: linear-gradient(143deg, #672538, #421521 65%, #2b1018); box-shadow: var(--glass-panel-depth); }
html[data-theme='dark'] .catalog-controls { border-color: var(--line); background: linear-gradient(145deg, #471d28, #30121b); box-shadow: inset 0 1px 3px #1604078c; }
html[data-theme='dark'] .search-field { background: var(--paper); }
html[data-theme='dark'] .catalog-controls :is(.search-field, select) { border-color: var(--line); background: #210a126d; }
html[data-theme='dark'] .catalog-controls :is(.search-field:focus-within, select:hover) { border-color: var(--rose); }
html[data-theme='dark'] select option { background: var(--paper); color: var(--ink); }
html[data-theme='dark'] .category-filter { background: #2b0d1685; }
html[data-theme='dark'] .category-filter:hover { background: #62283a78; }
html[data-theme='dark'] .category-filter[aria-pressed='true'] { border-color: var(--rose-rule); background: #a455633d; color: var(--ink); }
html[data-theme='dark'] :is(.catalogue-lens, .result-count-value, .nav-glass-lens-surface) {
  border-color: #ecadb1b0;
  background: radial-gradient(ellipse at 20% 0%, #ffc5b44a, transparent 66%), linear-gradient(155deg, #79384b, #5d2736 52%, #401825);
  box-shadow: inset 0 1px 2px #ffd0c373, inset 0 -2px 6px #1c05096e, 0 5px 12px -7px #160308ee;
}
html[data-theme='dark'] .nav-glass-lens-surface::after { background: radial-gradient(ellipse 63% 8px at 29% 1%, #ffd1c673, transparent 84%); }
html[data-theme='dark'] .ingredient-row { background: var(--glass-control); box-shadow: var(--glass-panel-depth); }
html[data-theme='dark'] .ingredient-actions { border-color: var(--line); }
html[data-theme='dark'] .ingredient-actions .spec-link { border-color: var(--rose-rule); background: var(--glass-accent); color: var(--white); }
html[data-theme='dark'] .ingredient-actions .spec-link:hover { background: var(--glass-accent-hover); }
html[data-theme='dark'] .site-footer { border-color: var(--glass-rim); background: linear-gradient(149deg, #481a28, #2a1019 64%, var(--canvas)); box-shadow: var(--glass-panel-depth); }
html[data-theme='dark'] .site-footer :is(p, address, .footer-base) { color: var(--muted); }
html[data-theme='dark'] .footer-button { background: var(--glass-control); color: var(--rose-deep); }
html[data-theme='dark'] .footer-button:hover { background: var(--tint); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root { --glass-surface: #fcf6f8; --glass-control: #fff9fb; }
  html { background: #f9f3f5; }
  .glass-backdrop, .glass-edge-shine { display: none; }
  .nav-glass-lens-surface { border-color: var(--rose-rule); background: var(--rose-silk); box-shadow: none; backdrop-filter: none; }
  .nav-glass-lens-surface::after { display: none; }
  .catalogue-lens, .result-count-value { border-color: var(--rose-rule); background: var(--rose-silk); box-shadow: none; }
  html[data-theme='dark'] { --glass-surface: #341420; --glass-control: #491e2b; --glass-popover: #381520; background: var(--canvas); }
  html[data-theme='dark'] :is(.catalogue-lens, .result-count-value, .nav-glass-lens-surface) { border-color: var(--rose); background: var(--tint); box-shadow: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .glass-backdrop, .glass-edge-shine { display: none; }
  .nav-glass-lens-surface { border-color: Highlight; background: Canvas; box-shadow: none; backdrop-filter: none; }
  .nav-glass-lens-surface::after { display: none; }
  .catalogue-lens, .result-count-value { border-color: Highlight; background: Canvas; box-shadow: none; }
  html[data-theme='dark'] :is(.catalogue-lens, .result-count-value, .nav-glass-lens-surface) { border-color: Highlight; background: Canvas; box-shadow: none; backdrop-filter: none; }
  .button, .header-contact, .menu-toggle, .category-filter, .details-button, .spec-link, .spotlight-pdf, .industry-card, .industry-tags a { border: 1px solid ButtonText; }
  .category-filter[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: 2px; }
  .site-nav .industry-nav-list a[aria-current="page"] { border-inline-start-color: Highlight; }
}
