/*
Theme Name: Currus Theme
Theme URI: https://currus.lt
Author: Ignas Vanagas
Author URI: https://currus.lt
Description: Modern WordPress theme for Currus.
Version: 4.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: currus-theme
*/

:root {
  /* Colors - Unchanged */
  --color-bg: #ffffff;
  --color-surface: #f6f5f2;
  --color-text: #181816;
  --color-text-light: #66645f;
  --color-primary: #000000;
  --color-accent: #B68B45;
  --color-accent-rgb: 182, 139, 69;
  --color-border: #e4e2dd;
  
  /* Fonts */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  /* Typography Scale (Max 4 sizes) */
  --font-size-xl: clamp(2.75rem, 5vw, 4.75rem);
  --font-size-lg: clamp(2rem, 3.4vw, 3.25rem);
  --font-size-md: 1.125rem;
  --font-size-sm: 1rem;     /* 16px - Body/Nav */
  
  /* Spacing (Rule of 8) */
  --container-width: 1320px;
  --space-1: 8px;
  --space-2: 16px;  /* --spacing-sm */
  --space-3: 24px;
  --space-4: 32px;  /* --spacing-md */
  --space-6: 48px;
  --space-8: 64px;  /* --spacing-lg */
  --space-12: 96px;
  --space-16: 128px; /* --spacing-xl */
  --spacing-sm: var(--space-2);
  --spacing-md: var(--space-4);
  --spacing-lg: var(--space-8);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 18px 55px rgba(18, 18, 16, 0.09);
  
  /* Header */
  --header-height: 80px;
}

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
  cursor: pointer;
}

button, input[type="submit"] {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400; /* Font Effect 1 (Regular for headings) */
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

h1 { font-size: var(--font-size-xl); }
h2 { font-size: var(--font-size-lg); }
h3, h4, h5, h6 { font-size: var(--font-size-md); }

p { margin-bottom: var(--space-3); }
small, .text-small { font-size: var(--font-size-sm); } /* Ensure small text adheres to base size or use opacity */

/* Custom Cursor */
.custom-cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: rgba(197, 160, 89, 0.2); /* Light accent fill */
  border: 2px solid var(--color-text); /* Thicker border */
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.15s;
  backdrop-filter: invert(1); /* Helps visibility on dark backgrounds */
}

.custom-cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background-color: var(--color-text);
  border-radius: 50%;
}

.custom-cursor.hovered {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.05);
  border-color: #000;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header */
.nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.nav-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.nav-link {
  position: relative;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400; /* Regular weight */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown logic (basic hover) */
.menu-item-has-children {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  list-style: none;
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: var(--font-size-sm);
}

.sub-menu li a:hover {
  background: var(--color-surface);
}


/* Homepage Split Layout */
.landing-main {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-height);
  position: relative;
}

.landing-options {
  display: flex;
  width: 100%;
  height: 100%;
}

.landing-card {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-card:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.landing-card:hover {
  flex: 1.8;
}

.landing-card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.landing-card:hover .landing-card-media {
  transform: scale(1.1);
}

.landing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  transition: background 0.5s ease;
  z-index: 1;
}

.landing-card:hover::before {
  background: rgba(0,0,0,0.3);
}

.landing-card-body {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  opacity: 0.9;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: var(--space-4);
}

.landing-card h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
  color: #fff;
  font-family: var(--font-heading);
}

.landing-card-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
  background: transparent;
}

.landing-card-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Page Standard Layout */
.page-header {
  padding: var(--space-16) 0 var(--space-8);
  background-color: var(--color-surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

.page-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Sections */
.section-content {
  padding: var(--space-8) 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-4);
  padding: var(--space-8) 0;
}

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
  transform: translateY(0);
}

/* Services / Archive Style */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-item:nth-child(even) { /* Swap order usually */
}

.service-image {
  height: 400px;
  background-size: cover;
  background-position: center;
}

.service-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

/* Forms (CF7) */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
}

/* Submit Button */
.wpcf7-submit, button[type="submit"] {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background: var(--color-accent);
}

/* File Upload */
input[type="file"] {
    padding: 1rem 0;
}

/* Custom Footer */
.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-widget h4 {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Centered Headings Utility */
.centered-headings h1,
.centered-headings h2,
.centered-headings h3,
.centered-headings h4,
.centered-headings h5,
.centered-headings h6 {
    text-align: center;
}

/* Modern Utilities (Rule of 8) */
.u-mb-1 { margin-bottom: var(--space-1); }
.u-mb-2 { margin-bottom: var(--space-2); }
.u-mb-3 { margin-bottom: var(--space-3); }
.u-mb-4 { margin-bottom: var(--space-4); }
.u-mb-8 { margin-bottom: var(--space-8); }

.u-pv-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); } /* 32px */
.u-pv-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); } /* 64px */
.u-pv-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); } /* 128px */

.text-center { text-align: center; }
.text-lead { font-size: var(--font-size-md); font-weight: 400; line-height: 1.5; color: var(--color-text-light); }
.text-bold { font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.bg-surface { background-color: var(--color-surface); }
.bg-primary { background-color: var(--color-primary); color: white; }
.u-shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* Helpers */
.container-narrow { max-width: 900px; margin: 0 auto; }
.quote-box { background: var(--color-surface); padding: var(--space-3); border-left: 4px solid var(--color-accent); margin: var(--space-4) 0; border-radius: 4px; }
.text-white { color: white; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.relative { position: relative; }
.z-2 { z-index: 2; }
.object-cover { object-fit: cover; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.img-rounded { border-radius: 4px; }
.grid-gap-4 { gap: var(--space-4); }
.items-center { align-items: center; }

/* Navigation Button */
.nav-btn {
  border: 1px solid var(--color-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: var(--font-size-sm);
}
.nav-btn:hover {
  background: var(--color-primary);
  color: white;
}
.brand img { height: 50px; width: auto; display: block; }

/* Bento grid utilities */
.bento-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
}

.bento-grid > .bento-card {
  min-width: 0;
}

.bento-grid > .span-4 { grid-column: span 4; }
.bento-grid > .span-5 { grid-column: span 5; }
.bento-grid > .span-6 { grid-column: span 6; }
.bento-grid > .span-7 { grid-column: span 7; }
.bento-grid > .span-8 { grid-column: span 8; }
.bento-grid > .span-12 { grid-column: span 12; }

/* Cookie notice */
#cookie-notice {
  width: min(1040px, calc(100% - 32px));
  min-width: 0 !important;
  left: 50%;
  bottom: var(--space-2);
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.98) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
  cursor: auto !important;
}

#cookie-notice .cookie-notice-container {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: var(--space-2);
  width: auto;
  padding: var(--space-3);
  text-align: left;
}

#cookie-notice .cn-notice-copy {
  display: grid;
  gap: 4px;
}

#cookie-notice #cn-notice-title {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
}

#cookie-notice #cn-notice-text {
  color: var(--color-text-light);
}

#cookie-notice .cn-notice-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
}

#cookie-notice .cn-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0 !important;
  padding: 0 var(--space-2) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: none !important;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer !important;
  appearance: none;
}

#cookie-notice .cn-consent-choice {
  flex: 0 1 230px;
}

#cookie-notice .cn-button:hover,
#cookie-notice .cn-button:focus-visible {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #fff !important;
}

#cookie-notice #cn-more-info {
  margin-left: var(--space-1);
  padding: var(--space-1);
  color: var(--color-text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer !important;
}

#cookie-notice #cn-more-info:hover {
  color: var(--color-accent) !important;
}

#cookie-notice button:focus-visible,
#cookie-notice a:focus-visible,
.cn-revoke-cookie:focus-visible {
  outline: 3px solid var(--color-accent) !important;
  outline-offset: 3px;
}

#cookie-notice:hover ~ .custom-cursor {
  opacity: 0;
}

/* Furniture component service photography */
.manufacturing-service-hero {
  position: relative;
  min-height: clamp(360px, 56vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(3rem, 7vw, 5rem);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.manufacturing-service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 12, 12, 0.82) 0%, rgba(15, 12, 12, 0.42) 60%, rgba(15, 12, 12, 0.2) 100%);
}

.manufacturing-service-hero__content {
  position: relative;
  z-index: 1;
}

.manufacturing-service-hero .page-title {
  max-width: 850px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.manufacturing-service-hero .page-subtitle {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.9);
}

.manufacturing-service-copy .entry-content {
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}

/* Mobile */
@media (max-width: 900px) {
  .landing-options { flex-direction: column; }
  .landing-card { height: 50vh; width: 100%; }
  .nav-header { padding: 1rem; }
  h1 { font-size: 2.5rem; }

  .funding-page-hero .page-title {
    font-size: clamp(1.9rem, 8.2vw, 2.25rem);
    line-height: 1.12;
  }
  
  .portfolio-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 1fr; gap: 2rem; }
  .service-image { height: 300px; margin-bottom: 1rem; }
  .footer-widgets { grid-template-columns: 1fr; gap: 2rem; }

  .bento-grid > .span-4,
  .bento-grid > .span-5,
  .bento-grid > .span-6,
  .bento-grid > .span-7,
  .bento-grid > .span-8,
  .bento-grid > .span-12 {
    grid-column: 1 / -1;
  }

  #cookie-notice {
    width: calc(100% - 16px);
    bottom: var(--space-1);
    font-size: 0.8125rem;
  }

  #cookie-notice .cookie-notice-container {
    gap: var(--space-1);
    padding: var(--space-2);
  }

  #cookie-notice .cn-notice-actions {
    align-items: stretch;
    flex-direction: column;
  }

  #cookie-notice .cn-button,
  #cookie-notice .cn-consent-choice {
    flex-basis: auto;
    width: 100%;
  }

  #cookie-notice #cn-more-info {
    margin-left: 0;
    text-align: center;
  }
}

.hidden { display: none; }

/* Sitewide conversion and consistency pass */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(var(--color-accent-rgb), 0.2);
  color: var(--color-primary);
}

a,
button,
input,
textarea,
select {
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
}

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

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100005;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  background: #fff;
  color: #000;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-sm);
}

.container,
.nav-container {
  width: min(100%, var(--container-width));
}

.nav-shell {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-shell.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(18, 18, 16, 0.07);
}

.nav-container {
  height: 100%;
  gap: clamp(20px, 3vw, 48px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  height: 48px;
  transition: height 0.25s ease;
}

.nav-shell.scrolled .brand img {
  height: 42px;
}

.nav-links {
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
}

.nav-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-link::after {
  bottom: -7px;
  background: var(--color-accent);
}

.menu-item-has-children::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.sub-menu {
  top: calc(100% + 14px);
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.sub-menu li a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.nav-btn {
  padding: 11px 18px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.nav-btn::after {
  display: none;
}

.nav-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.landing-card {
  isolation: isolate;
}

.landing-card:hover {
  flex: 1.25;
}

.landing-card::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 10%, rgba(0, 0, 0, 0.68) 100%);
}

.landing-card:hover::before,
.landing-card:focus-visible::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 10%, rgba(0, 0, 0, 0.56) 100%);
}

.landing-card:focus-visible {
  outline: 4px solid var(--color-accent);
  outline-offset: -4px;
}

.landing-card h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.landing-card-cta {
  min-height: 48px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
}

.landing-card-cta::after {
  content: " →";
}

.page-header {
  min-height: 320px;
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 7rem);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #f8f7f4 0%, #f1f0ec 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  max-width: 980px;
  margin-inline: auto;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-subtitle {
  line-height: 1.6;
}

.manufacturing-service-hero {
  min-height: clamp(430px, 60vh, 680px);
}

.manufacturing-service-hero__overlay {
  background: linear-gradient(90deg, rgba(15, 13, 11, 0.77) 0%, rgba(15, 13, 11, 0.38) 64%, rgba(15, 13, 11, 0.24) 100%);
}

.manufacturing-service-hero .page-title {
  margin-inline: 0;
  text-align: left;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.entry-content {
  color: #292824;
}

.entry-content > * {
  max-width: 780px;
  margin-inline: auto;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
  color: var(--color-text);
  letter-spacing: -0.015em;
}

.entry-content p,
.entry-content li {
  line-height: 1.8;
}

.entry-content a:not(.wp-block-button__link) {
  color: #765722;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content img,
.image-break img {
  border-radius: var(--radius-md);
}

.portfolio-grid,
.product-grid-layout {
  gap: clamp(18px, 2.5vw, 32px);
}

.portfolio-item,
.product-category-card,
.news-item,
.contact-card,
.value-card,
.bento-card {
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(24, 24, 22, 0.08);
  box-shadow: 0 12px 38px rgba(18, 18, 16, 0.07) !important;
}

.product-category-card,
.news-item,
.contact-card,
.value-card {
  background: #fff;
}

.portfolio-item,
.product-category-card,
.bento-card {
  overflow: hidden;
}

.product-category-card,
.contact-card,
.value-card,
.news-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-category-card:hover,
.contact-card:hover,
.value-card:hover,
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft) !important;
}

.portfolio-info {
  opacity: 1;
  transform: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  min-height: 50px;
  padding: 14px 16px !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  background: #fbfbfa !important;
  color: var(--color-text);
}

textarea {
  min-height: 150px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-accent) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(var(--color-accent-rgb), 0.13) !important;
}

.submit-btn,
.wpcf7-submit,
button[type="submit"] {
  min-height: 50px;
  padding: 14px 26px;
  border-radius: var(--radius-sm) !important;
  background: var(--color-primary);
  box-shadow: none;
}

.submit-btn:hover,
.wpcf7-submit:hover,
button[type="submit"]:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-notice {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-weight: 500;
  line-height: 1.5;
}

.form-notice--success {
  border-color: #8db99a;
  background: #eff8f1;
  color: #245c34;
}

.form-notice--error {
  border-color: #d5a3a3;
  background: #fff3f3;
  color: #8a2929;
}

.site-footer {
  padding: 0;
  background: #0e0e0d;
}

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #171714;
}

.footer-cta__inner {
  min-height: 280px;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 88px);
}

.footer-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #d7b477;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.025em;
}

.footer-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}

.footer-cta__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 12px;
}

.footer-primary-action,
.footer-phone-action {
  min-height: 52px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.footer-primary-action {
  background: #886426;
  color: #fff;
}

.footer-primary-action:hover {
  background: #72521e;
  color: #fff;
}

.footer-phone-action {
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  line-height: 1.2;
}

.footer-phone-action span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-main {
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.footer-widgets {
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: 3.5rem;
}

.footer-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-widget h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-widget a:hover {
  color: #d7b477;
}

.footer-about p {
  max-width: 420px;
  margin: 0;
  line-height: 1.7;
}

.footer-logo img {
  width: auto;
  height: 58px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-widget address {
  margin-top: 8px;
  font-style: normal;
  line-height: 1.65;
}

.footer-bottom {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
}

#cookie-notice {
  width: min(1180px, calc(100% - 32px));
  border-radius: var(--radius-md);
}

#cookie-notice .cookie-notice-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  padding: 18px 20px;
}

#cookie-notice .cn-notice-actions {
  flex-wrap: nowrap;
}

#cookie-notice .cn-consent-choice {
  flex-basis: auto;
}

@media (max-width: 1180px) {
  .nav-link {
    font-size: 0.75rem;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-btn {
    padding-inline: 14px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 72px;
  }

  .nav-container {
    padding-inline: 18px;
  }

  .brand img,
  .nav-shell.scrolled .brand img {
    height: 44px;
  }

  .mobile-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 12px;
    left: 12px;
    max-height: calc(100vh - var(--header-height) - 12px);
    padding: 18px;
    display: none;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-link {
    display: block;
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .nav-link::after,
  .menu-item-has-children::after {
    display: none;
  }

  .menu-item-has-children {
    width: 100%;
  }

  .sub-menu {
    position: static;
    min-width: 0;
    margin: 0 0 6px 10px;
    padding: 0 0 0 12px;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-left: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: none;
  }

  .sub-menu::before {
    display: none;
  }

  .sub-menu li a {
    padding: 8px 10px;
    color: var(--color-text-light);
    font-size: 0.84rem;
  }

  .nav-btn {
    margin-top: 8px;
    text-align: center;
    color: #fff;
  }

  .footer-cta__inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-cta__actions {
    width: 100%;
  }

  .footer-widgets {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  #cookie-notice .cookie-notice-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --spacing-md: 20px;
  }

  .landing-main {
    height: auto;
    min-height: 100vh;
  }

  .landing-options {
    min-height: calc(100vh - var(--header-height));
    flex-direction: column;
  }

  .landing-card,
  .landing-card:hover {
    flex: none;
    width: 100%;
    height: max(380px, calc((100vh - var(--header-height)) / 2));
  }

  .landing-card h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .landing-card-cta {
    min-height: 44px;
    padding: 11px 18px;
    letter-spacing: 0.1em;
  }

  .page-header,
  .manufacturing-service-hero {
    min-height: 390px;
    padding: 7rem 0 3.5rem;
  }

  .manufacturing-service-hero .page-title {
    font-size: clamp(2.1rem, 10vw, 3rem);
    overflow-wrap: anywhere;
  }

  .section {
    padding-block: 4rem;
  }

  .portfolio-grid,
  .product-grid-layout {
    grid-template-columns: 1fr !important;
  }

  .service-item {
    padding: 3rem 0;
  }

  .footer-cta__actions {
    flex-direction: column;
  }

  .footer-primary-action,
  .footer-phone-action {
    width: 100%;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom > div {
    flex-direction: column;
    gap: 10px;
  }

  #cookie-notice {
    width: calc(100% - 16px);
    bottom: 8px;
  }

  #cookie-notice .cookie-notice-container {
    gap: 14px;
    padding: 16px;
  }

  #cookie-notice .cn-notice-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  #cookie-notice .cn-button,
  #cookie-notice .cn-consent-choice {
    width: 100%;
  }

  #cookie-notice #cn-more-info {
    grid-column: 1 / -1;
    margin-left: 0;
    text-align: center;
  }
}

/* Focused layouts: materials, EU funding and company profile. */
.page-eyebrow {
  margin: 0 0 1rem;
  color: #e3bd91;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.materials-page-hero .page-subtitle {
  max-width: 680px;
}

.materials-overview-page,
.funding-page {
  background: #f6f6f3;
}

.materials-overview-intro,
.materials-guide,
.funding-overview {
  padding: clamp(4.5rem, 8vw, 7.5rem) 1rem;
}

.materials-overview-intro .content-section-heading {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}

.materials-overview-intro .content-section-heading p,
.materials-guide__heading p,
.about-products__heading p {
  max-width: 680px;
  margin: 1rem 0 0 !important;
  color: var(--color-text-light);
  font-size: 1.08rem;
  line-height: 1.75;
}

.materials-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.materials-overview-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 19, 17, 0.09);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 45px rgba(20, 19, 17, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.materials-overview-card:hover,
.materials-overview-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(20, 19, 17, 0.12);
}

.materials-overview-card:focus-visible {
  outline: 3px solid rgba(var(--color-accent-rgb), 0.45);
  outline-offset: 3px;
}

.materials-overview-card__media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #d8d5cf;
}

.materials-overview-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0.04), rgba(20, 19, 17, 0.36));
}

.materials-overview-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.materials-overview-card:hover .materials-overview-card__media img,
.materials-overview-card:focus-visible .materials-overview-card__media img {
  transform: scale(1.045);
}

.materials-overview-card__media > span {
  position: absolute;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.materials-overview-card__content {
  padding: 1.75rem;
}

.materials-overview-card__content h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.materials-overview-card__content p {
  min-height: 5.2em;
  margin: 0 0 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.materials-guide {
  background: #fff;
}

.materials-guide > .container {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.materials-guide__heading {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.materials-guide__heading h2,
.about-products__heading h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  text-wrap: balance;
}

.materials-guide__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.materials-guide__steps li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(20, 19, 17, 0.12);
}

.materials-guide__steps li:last-child {
  border-bottom: 1px solid rgba(20, 19, 17, 0.12);
}

.materials-guide__steps > li > span {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.materials-guide__steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.materials-guide__steps p {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.7;
}

.funding-overview > .container {
  max-width: 1120px;
}

.funding-project-card {
  overflow: hidden;
  border: 1px solid rgba(20, 19, 17, 0.08);
  border-radius: calc(var(--radius-md) + 4px);
  background: #fff;
  box-shadow: 0 22px 60px rgba(20, 19, 17, 0.08);
}

.funding-project-card__header {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4.5rem);
}

.funding-project-card__header img {
  width: 100%;
  height: auto;
}

.funding-project-card__header h2 {
  max-width: 680px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
  text-wrap: balance;
}

.funding-project-card__header p {
  max-width: 650px;
  margin: 0;
  color: var(--color-text-light);
  font-size: 1.08rem;
  line-height: 1.75;
}

.funding-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(20, 19, 17, 0.1);
  border-bottom: 1px solid rgba(20, 19, 17, 0.1);
  background: var(--color-primary);
  color: #fff;
}

.funding-stats > div {
  padding: 2rem clamp(1.5rem, 3vw, 2.75rem);
}

.funding-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.funding-stats dt {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.funding-stats dd {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.funding-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(20, 19, 17, 0.1);
}

.funding-details > section {
  padding: clamp(2.25rem, 5vw, 4rem);
  background: #fff;
}

.funding-details__number {
  display: block;
  margin-bottom: 1.75rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.funding-details h3 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
}

.funding-details p {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.8;
}

.funding-timeline {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(2.25rem, 5vw, 4rem);
  background: #ecebe6;
}

.funding-timeline span {
  color: var(--color-text-light);
}

.funding-contact {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-top: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(20, 19, 17, 0.08);
}

.funding-contact h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.funding-contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-end;
}

.funding-contact__links a {
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration-color: rgba(var(--color-accent-rgb), 0.5);
  text-underline-offset: 4px;
}

.about-page > .about-intro > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  max-width: 1200px !important;
}

.about-intro__copy h2 {
  max-width: 720px;
  margin-bottom: 1.5rem !important;
}

.about-page .about-intro__copy p,
.about-page .about-intro__lead {
  color: var(--color-text-light) !important;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75 !important;
}

.about-facts {
  margin: 0;
  border-top: 1px solid rgba(20, 19, 17, 0.14);
}

.about-facts > div {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(20, 19, 17, 0.14);
}

.about-facts dt {
  margin-bottom: 0.4rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.about-facts dd {
  margin: 0;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-products {
  background: var(--color-primary);
  color: #fff;
}

.about-page > .about-products > .container {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  max-width: 1200px;
}

.about-products .content-eyebrow,
.about-products__heading h2,
.about-products .content-text-link {
  color: #fff;
}

.about-products__heading p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.about-products__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.about-page .about-products__list li {
  position: relative;
  margin: 0 !important;
  padding: 1.15rem 1rem 1.15rem 1.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.about-products__list li::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.about-products .content-text-link {
  align-self: end;
  justify-self: start;
}

.about-values {
  background: #f6f6f3;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-values__grid article {
  min-height: 270px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(20, 19, 17, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
}

.about-values__grid article > span {
  display: block;
  margin-bottom: 2.75rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.editorial-page .about-values__grid h3 {
  margin: 0 0 0.75rem !important;
}

.about-values__grid p {
  margin: 0 !important;
}

.about-image-break {
  min-height: clamp(340px, 46vw, 620px);
  background-position: center;
  background-size: cover;
}

@media (max-width: 900px) {
  .materials-overview-grid,
  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .materials-overview-card {
    display: grid;
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  }

  .materials-overview-card__media {
    height: 100%;
    min-height: 280px;
  }

  .materials-overview-card__content p {
    min-height: 0;
  }

  .materials-guide > .container,
  .about-page > .about-intro > .container,
  .about-page > .about-products > .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .materials-guide__heading {
    position: static;
  }

  .funding-project-card__header {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .about-products__list {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .materials-overview-intro,
  .materials-guide,
  .funding-overview {
    padding: 3.75rem 0.85rem;
  }

  .materials-overview-card {
    display: block;
  }

  .materials-overview-card__media {
    height: 230px;
    min-height: 0;
  }

  .materials-guide__steps li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 1rem;
  }

  .funding-project-card__header,
  .funding-details,
  .funding-stats {
    grid-template-columns: 1fr;
  }

  .funding-project-card__header img {
    max-width: 230px;
  }

  .funding-stats > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .funding-timeline,
  .funding-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .funding-contact__links {
    align-items: flex-start;
  }

  .about-products__list {
    grid-template-columns: 1fr;
  }

  .about-image-break {
    min-height: 300px;
  }
}

/* Curated product photography galleries. */
.product-gallery {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem;
  background: #fff;
}

.product-gallery__header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.product-gallery__eyebrow {
  margin: 0 0 0.8rem;
  color: var(--color-accent, #9b7b54);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-gallery__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.product-gallery__header > p:last-child {
  max-width: 650px;
  margin: 1rem auto 0;
  color: var(--color-text-light, #666);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-gallery__grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.35rem);
  list-style: none;
}

.product-gallery__item {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #e9e7e3;
  box-shadow: 0 10px 30px rgba(27, 24, 20, 0.08);
}

.product-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(17, 15, 13, 0.36));
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.55);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.product-gallery__item:hover::after,
.product-gallery__item:focus-visible::after,
.product-gallery__item:hover .product-gallery__zoom,
.product-gallery__item:focus-visible .product-gallery__zoom {
  opacity: 1;
}

.product-gallery__item:hover .product-gallery__zoom,
.product-gallery__item:focus-visible .product-gallery__zoom {
  transform: translateY(0);
}

.product-gallery__item:hover img,
.product-gallery__item:focus-visible img {
  transform: scale(1.035);
}

.product-gallery__item:focus-visible {
  outline: 3px solid var(--color-accent, #9b7b54);
  outline-offset: 4px;
}

.product-gallery__lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.product-gallery__lightbox[open] {
  display: grid;
  place-items: center;
}

.product-gallery__lightbox::backdrop {
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(8px);
}

.product-gallery__lightbox-surface {
  position: relative;
  width: min(94vw, 1500px);
  height: min(90vh, 1000px);
  padding: 52px 72px 34px;
  display: grid;
  place-items: center;
  color: #fff;
}

.product-gallery__lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 16px;
}

.product-gallery__lightbox figure img {
  min-width: 0;
  min-height: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(90vh - 180px);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.product-gallery__lightbox figcaption {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.product-gallery__lightbox button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(20, 18, 16, 0.62);
  color: #fff;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.product-gallery__lightbox button:hover,
.product-gallery__lightbox button:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

.product-gallery__lightbox button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.product-gallery__lightbox-close {
  position: absolute;
  top: 0;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
}

.product-gallery__lightbox-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 64px;
  border-radius: 50px;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}

.product-gallery__lightbox-control--previous {
  left: 4px;
}

.product-gallery__lightbox-control--next {
  right: 4px;
}

.product-gallery__lightbox-count {
  position: absolute;
  top: 14px;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

body.product-gallery-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .product-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-gallery__lightbox-surface {
    width: 100vw;
    height: 100vh;
    padding: 58px 56px 32px;
  }

  .product-gallery__lightbox-close {
    top: 8px;
    right: 12px;
  }

  .product-gallery__lightbox-control--previous {
    left: 4px;
  }

  .product-gallery__lightbox-control--next {
    right: 4px;
  }
}

@media (max-width: 520px) {
  .product-gallery {
    padding-inline: 0.75rem;
  }

  .product-gallery__grid {
    grid-template-columns: 1fr;
  }

  .product-gallery__item {
    border-radius: 10px;
  }

  .product-gallery__zoom {
    opacity: 1;
    transform: none;
  }

  .product-gallery__lightbox-surface {
    padding: 54px 12px 82px;
  }

  .product-gallery__lightbox-control {
    top: auto;
    bottom: 18px;
    width: 54px;
    height: 48px;
    transform: none;
  }

  .product-gallery__lightbox-control--previous {
    left: calc(50% - 66px);
  }

  .product-gallery__lightbox-control--next {
    right: calc(50% - 66px);
  }

  .product-gallery__lightbox figcaption {
    font-size: 0.86rem;
  }

  .product-gallery__lightbox figure img {
    max-height: calc(100vh - 190px);
  }
}

@media (max-width: 430px) {
  #cookie-notice .cn-button {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.7rem;
  }
}

@media (hover: none) {
  .portfolio-info {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* One consistent hero system for standard, service and product pages. */
.page-header,
.lux-hero {
  position: relative !important;
  isolation: isolate;
  width: 100%;
  height: 360px !important;
  min-height: 360px !important;
  padding: 0 clamp(20px, 4vw, 64px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  background-color: #24221f !important;
  background-image: url('assets/images/landing-furniture.jpg');
  background-position: center !important;
  background-size: cover !important;
  text-align: center !important;
}

.page-header::before,
.lux-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(14, 13, 12, 0.48);
  pointer-events: none;
}

.page-header > .overlay,
.page-header > .manufacturing-service-hero__overlay,
.page-header > div[style*="position: absolute"] {
  display: none !important;
}

.lux-hero > img {
  opacity: 1 !important;
}

.page-header > .container,
.lux-hero > .container {
  position: relative !important;
  z-index: 2 !important;
  width: min(100%, var(--container-width)) !important;
  margin: 0 auto !important;
}

.lux-hero > .container > div {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.page-header .page-title,
.lux-hero h1 {
  max-width: 1100px;
  margin: 0 auto !important;
  color: #fff !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38) !important;
}

.page-header .page-subtitle,
.page-header .page-eyebrow,
.lux-hero > .container > div > span,
.lux-hero > .container > div > p {
  display: none !important;
}

@media (max-width: 680px) {
  .page-header,
  .lux-hero {
    height: 300px !important;
    min-height: 300px !important;
    padding-inline: 18px !important;
  }

  .page-header .page-title,
  .lux-hero h1 {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }
}

/*
 * Content clarity system
 * The site header, footer and hero treatments intentionally remain untouched.
 */
.product-detail-page,
.content-catalog-page,
.editorial-page,
.category-index-page,
.contact-page,
.listing-page,
.legal-page,
.standard-page,
.article-page,
.utility-page {
  color: var(--color-text) !important;
  font-family: var(--font-body) !important;
}

.content-section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2.25rem, 5vw, 4rem);
  text-align: center;
}

.content-eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.content-section-heading h2,
.utility-heading h1,
.utility-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.content-section-heading > p:last-child,
.utility-heading > p:last-child,
.utility-panel__lead {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.75;
}

.content-button,
.content-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

.content-button {
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}

.content-button:hover {
  border-color: var(--color-text);
}

.content-button--primary {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.content-button--primary:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.content-text-link {
  color: #765722;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Product and feature detail pages. */
.product-detail-page {
  background: var(--color-surface) !important;
}

.product-detail-page > section:not(.lux-hero):not(.product-gallery) {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
}

.product-detail-page .bento-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.product-detail-page .bento-card {
  overflow: hidden;
  border: 1px solid rgba(24, 24, 22, 0.08) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 48px rgba(20, 19, 17, 0.08) !important;
}

.product-detail-page .bento-card.span-12 {
  min-height: 0 !important;
  padding: clamp(2.25rem, 5vw, 4.5rem) !important;
  background: #fff !important;
}

.product-detail-page .bento-card.span-12 > div {
  max-width: 900px !important;
}

.product-detail-page .bento-card.span-12 h2 {
  max-width: 760px;
  margin: 0 0 1.25rem !important;
  font-size: clamp(1.85rem, 3vw, 2.6rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  line-height: 1.16 !important;
  text-wrap: balance;
}

.product-detail-page .bento-card.span-12 p {
  max-width: 880px !important;
  margin-bottom: 0 !important;
  color: var(--color-text-light) !important;
  font-size: clamp(1rem, 1.4vw, 1.12rem) !important;
  line-height: 1.8 !important;
}

.product-detail-page .bento-card.span-6 {
  min-height: clamp(320px, 37vw, 470px) !important;
}

.product-detail-page .bento-card.span-4 {
  min-height: 280px;
  padding: clamp(2rem, 3.5vw, 3rem) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  background: #fff !important;
}

.product-detail-page .bento-card > img {
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 250ms ease;
}

.product-detail-page .bento-card:has(> img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 8, 7, 0.04) 24%, rgba(9, 8, 7, 0.82) 100%);
  pointer-events: none;
}

.product-detail-page .bento-card:has(> img) > img {
  opacity: 0.92 !important;
}

.product-detail-page .bento-card:has(> img):hover > img {
  transform: scale(1.025);
}

.product-detail-page .bento-card.span-6 > div {
  padding: clamp(2rem, 4vw, 3.25rem) !important;
}

.product-detail-page .bento-card h3 {
  margin: 0 0 0.8rem !important;
  font-size: clamp(1.45rem, 2.4vw, 2rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-wrap: balance;
}

.product-detail-page .bento-card p {
  max-width: 660px;
  margin-top: 0 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.product-detail-page .bento-card.span-4 p {
  margin-bottom: 0;
  color: var(--color-text-light) !important;
}

.product-detail-page .bento-card.span-4 > div:first-child {
  margin-bottom: 1.25rem !important;
}

/* Long-form service and company pages. */
.editorial-page {
  background: #fff !important;
}

.editorial-page > .section:not(.content-cta) {
  padding: clamp(4rem, 7vw, 6.5rem) 1rem !important;
}

.editorial-page > .page-header + .section,
.editorial-page > .lux-hero + .section {
  background: #fff;
}

.editorial-page > .page-header + .section > .container:not([style*="grid-template-columns"]),
.editorial-page > .lux-hero + .section > .container:not([style*="grid-template-columns"]) {
  max-width: 960px !important;
}

.editorial-page .section p {
  color: var(--color-text-light);
  line-height: 1.82 !important;
}

.editorial-page .section p + p {
  margin-top: 1.15rem;
}

.editorial-page .section h2 {
  margin-bottom: 1.25rem !important;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem) !important;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

.editorial-page .section h3 {
  margin: 2rem 0 0.8rem !important;
  font-size: 1.3rem !important;
  line-height: 1.35;
}

.editorial-page .section .container > div[style*="grid-template-columns: 1fr 1fr"],
.editorial-page .section .container[style*="grid-template-columns: 1fr 1fr"] {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr) !important;
  gap: clamp(2.5rem, 6vw, 6rem) !important;
  align-items: center !important;
}

.editorial-page .section div[style*="grid-template-columns: repeat(2, 1fr)"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

.editorial-page .section div[style*="grid-template-columns: repeat(2, 1fr)"] img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  object-fit: cover;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 12px 36px rgba(20, 19, 17, 0.1);
}

.editorial-page .section div[style*="border-left: 4px"] {
  margin: 2rem 0 0 !important;
  padding: 1.5rem 1.75rem !important;
  border: 1px solid rgba(var(--color-accent-rgb), 0.25) !important;
  border-left: 4px solid var(--color-accent) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(var(--color-accent-rgb), 0.08) !important;
}

.editorial-page .section ul:not(.sub-menu),
.editorial-page .section ol {
  margin: 1.25rem 0 0;
  padding-left: 1.35rem !important;
}

.editorial-page .section li {
  margin-bottom: 0.75rem !important;
  color: var(--color-text-light);
  line-height: 1.7;
}

.editorial-page .lead-paragraph {
  margin-bottom: 2rem !important;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-surface);
}

.editorial-page .lead-paragraph p {
  margin: 0;
  color: var(--color-text) !important;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.7 !important;
}

.editorial-page .value-card {
  min-height: 250px;
  padding: clamp(2rem, 3.5vw, 3rem) !important;
  border-radius: var(--radius-md) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.editorial-page .value-card > div:first-child {
  margin-bottom: 1rem !important;
  color: var(--color-accent) !important;
  font-family: var(--font-heading);
  font-size: 2.5rem !important;
}

.editorial-page .value-card h3 {
  margin: 0 0 0.75rem !important;
}

.editorial-page .image-break {
  height: clamp(320px, 42vw, 540px) !important;
}

.content-cta {
  padding: clamp(4rem, 7vw, 6rem) 1rem !important;
  background: #171714 !important;
  color: #fff;
  text-align: center;
}

.content-cta h2 {
  max-width: 820px;
  margin: 0 auto 1rem !important;
  color: #fff !important;
}

.content-cta p {
  max-width: 700px;
  margin: 0 auto 2rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.content-cta .container > div:last-child {
  gap: 12px !important;
}

/* Materials and hardware catalog pages. */
.content-catalog-page {
  background: var(--color-surface) !important;
}

.content-catalog-page > section:not(.lux-hero) {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
}

.content-catalog-page .lux-intro {
  max-width: 1080px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem) !important;
  align-items: flex-start !important;
}

.content-catalog-page .lux-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.16 !important;
}

.content-catalog-page .bento-grid {
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.content-catalog-page .bento-card {
  min-height: clamp(360px, 40vw, 520px);
  border: 1px solid rgba(24, 24, 22, 0.08);
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 48px rgba(20, 19, 17, 0.09);
}

.content-catalog-page .bento-content {
  max-width: 760px;
  padding: clamp(2rem, 4vw, 3.5rem) !important;
}

.content-catalog-page .bento-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
}

.content-catalog-page .bento-desc {
  max-width: 650px !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.content-catalog-page .details-grid > div {
  min-height: 155px;
  padding: 2rem 1.25rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  background: var(--color-surface) !important;
}

.content-catalog-page section .container > div[style*="grid-template-columns: 1fr 2fr"] {
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 2fr) !important;
}

/* Product/service category index pages. */
.category-index-page > .section {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
  background: var(--color-surface);
}

.category-index-page .product-grid-layout {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.category-index-page .product-grid-layout:has(> a:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.category-index-page .product-category-card {
  height: clamp(290px, 32vw, 390px) !important;
  margin: 0 !important;
  border: 1px solid rgba(24, 24, 22, 0.08) !important;
  border-radius: var(--radius-lg) !important;
  background: #24221f;
  box-shadow: 0 14px 42px rgba(20, 19, 17, 0.1) !important;
}

.category-index-page .product-category-card::after {
  content: "→";
  position: absolute;
  right: 24px;
  bottom: 23px;
  z-index: 3;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 220ms ease;
}

.category-index-page .product-category-card img {
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1) !important;
}

.category-index-page .product-category-card:hover img,
.category-index-page .product-category-card:focus-visible img {
  transform: scale(1.035) !important;
}

.category-index-page .product-category-card:hover::after,
.category-index-page .product-category-card:focus-visible::after {
  transform: translateX(5px);
}

.category-index-page .product-category-card:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.category-index-page .product-category-label {
  min-height: 92px;
  padding: 28px 64px 22px 24px !important;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, transparent, rgba(12, 11, 10, 0.9)) !important;
  font-size: clamp(1rem, 1.7vw, 1.25rem) !important;
  font-weight: 600;
  letter-spacing: 0.04em !important;
  line-height: 1.3;
  text-align: left !important;
  text-transform: none !important;
}

/* News and archive listings. */
.listing-page > .section:not(.content-cta) {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
  background: var(--color-surface);
}

.listing-page .portfolio-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1.25rem, 2.4vw, 2rem) !important;
}

.listing-page .news-item,
.listing-page .portfolio-item {
  min-width: 0;
  overflow: hidden;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  background: #fff !important;
  box-shadow: 0 12px 38px rgba(18, 18, 16, 0.07) !important;
}

.listing-page .news-item > a:first-child,
.listing-page .portfolio-item > div:first-child {
  width: 100%;
  height: 235px !important;
  margin: 0 !important;
  overflow: hidden;
  background: #e8e6e1 !important;
}

.listing-page .news-item > a:first-child img,
.listing-page .portfolio-item > div:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.listing-page .news-item:hover > a:first-child img,
.listing-page .portfolio-item:hover > div:first-child img {
  transform: scale(1.03);
}

.listing-page .news-item > div:last-child,
.listing-page .portfolio-item > div:last-child {
  flex: 1;
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  display: flex !important;
  flex-direction: column;
}

.listing-page .news-item h3,
.listing-page .portfolio-item h3 {
  margin: 0 0 0.85rem !important;
  font-size: 1.45rem !important;
  line-height: 1.3 !important;
}

.listing-page .news-item h3 a:hover,
.listing-page .portfolio-item h3 a:hover {
  color: #765722;
}

.listing-page .news-btn {
  min-height: 44px;
  margin-top: auto !important;
  padding: 10px 16px !important;
  align-self: flex-start;
  border-color: var(--color-border) !important;
  border-radius: var(--radius-sm);
  font-size: 0.78rem !important;
}

.pagination .nav-links,
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* Contact page. */
.contact-page > .page-header + .section {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
  background: var(--color-surface) !important;
}

.contact-page > .page-header + .section .container > div:first-child {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important;
}

.contact-page > .page-header + .section .container > div:first-child h2 {
  margin-bottom: 0.8rem !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.025em;
}

.contact-page .container-wide > div[style*="grid-template-columns: repeat(auto-fit"] {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.contact-page .contact-card {
  min-height: 320px;
  padding: clamp(2rem, 3vw, 2.75rem) !important;
  align-items: flex-start !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  text-align: left !important;
  box-shadow: 0 12px 38px rgba(18, 18, 16, 0.06) !important;
}

.contact-page .contact-card > div:first-child {
  margin: 0 0 1.4rem !important;
}

.contact-page .contact-card h3 {
  margin-bottom: 0.8rem !important;
}

.contact-page .contact-card a {
  overflow-wrap: anywhere;
}

.contact-page > .section:last-of-type {
  padding: clamp(4.5rem, 8vw, 7rem) 1rem !important;
  background: #fff !important;
}

.contact-page .contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr) !important;
  gap: clamp(2rem, 6vw, 6rem) !important;
  align-items: stretch !important;
}

.contact-page .form-wrapper {
  padding: clamp(2rem, 4vw, 3rem) !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md) !important;
  background: var(--color-surface) !important;
}

.contact-page .form-wrapper h3 {
  margin-bottom: 0.75rem !important;
  font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
  font-weight: 400 !important;
}

.contact-page .custom-contact-form {
  gap: 14px !important;
}

.contact-page .submit-btn {
  width: 100%;
  justify-self: stretch !important;
  margin-top: 0.5rem !important;
}

.contact-page .contact-grid > div:last-child {
  min-height: 620px !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md) !important;
  box-shadow: 0 12px 38px rgba(18, 18, 16, 0.07) !important;
}

/* Legal, generic page and article reading layouts. */
.legal-page > .section:not(.content-cta),
.standard-page > .section:not(.page-header) {
  padding: clamp(4rem, 7vw, 6.5rem) 1rem !important;
  background: var(--color-surface);
}

.legal-page .entry-content,
.standard-page .entry-content {
  max-width: 900px !important;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 42px rgba(20, 19, 17, 0.06);
  font-size: 1.05rem !important;
  line-height: 1.82 !important;
}

.legal-page .entry-content > p:first-child {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.legal-page .entry-content h3 {
  margin: 2.6rem 0 1rem !important;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.05rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.legal-page .entry-content ul,
.legal-page .entry-content ol {
  margin: 1rem 0 1.75rem !important;
  padding-left: 1.4rem !important;
}

.legal-page .entry-content li {
  margin-bottom: 0.7rem;
  padding-left: 0.25rem;
}

.legal-page .cn-revoke-inline {
  color: #765722 !important;
  font-weight: 600 !important;
  text-underline-offset: 3px;
}

.standard-page .container > div[style*="height: 40vh"] {
  max-width: 1100px;
  height: clamp(280px, 45vw, 540px) !important;
  margin: 0 auto 2rem !important;
  border-radius: var(--radius-md) !important;
}

.standard-page .manufacturing-service-copy .entry-content {
  max-width: 820px !important;
}

.standard-page .manufacturing-service-copy .entry-content p:first-child {
  color: var(--color-text);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

.article-page article {
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--color-surface);
}

.article-page .page-header .post-meta {
  position: relative;
  z-index: 2;
  margin-top: 1rem !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-page article > .container:nth-of-type(1) > div {
  height: clamp(300px, 52vw, 680px) !important;
  margin: clamp(2rem, 5vw, 4rem) auto 0 !important;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 42px rgba(20, 19, 17, 0.1);
}

.article-page .entry-content {
  max-width: 820px !important;
  margin: clamp(2rem, 5vw, 4rem) auto 0 !important;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  font-size: 1.06rem !important;
  line-height: 1.84 !important;
}

.article-page article > .container:last-child a {
  min-height: 48px;
  padding: 11px 20px !important;
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 600;
}

/* Search and not-found utility pages. */
.utility-page {
  min-height: 70vh;
  padding: clamp(7rem, 12vw, 11rem) 1rem clamp(4rem, 8vw, 7rem);
  background: var(--color-surface);
}

.utility-panel,
.utility-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.utility-panel {
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 18px 55px rgba(18, 18, 16, 0.08);
}

.utility-panel--compact {
  max-width: 720px;
  margin-top: 3rem;
}

.utility-panel--compact h2 {
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.utility-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.search-results-list {
  max-width: 920px;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  display: grid;
  gap: 14px;
}

.search-result-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.search-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(18, 18, 16, 0.07);
}

.search-result-card__type {
  margin: 0 0 0.5rem;
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-result-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
}

.search-result-card > div {
  color: var(--color-text-light);
  line-height: 1.7;
}

.search-result-card .content-text-link {
  margin-top: 1rem;
}

.search-results-page .pagination {
  margin-top: 2.5rem;
}

.utility-page .search-form {
  max-width: 560px;
  margin: 1.5rem auto 0;
  display: flex;
  gap: 8px;
}

.utility-page .search-form label {
  flex: 1;
}

.utility-page .search-form .search-field {
  width: 100%;
}

.utility-page .search-submit {
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 1050px) {
  .listing-page .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .contact-page .container-wide > div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .contact-page .contact-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .product-detail-page .span-4,
  .product-detail-page .span-6,
  .product-detail-page .span-8,
  .product-detail-page .span-12 {
    grid-column: 1 / -1 !important;
  }

  .editorial-page .section .container > div[style*="grid-template-columns: 1fr 1fr"],
  .editorial-page .section .container[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .content-catalog-page .span-4,
  .content-catalog-page .span-5,
  .content-catalog-page .span-7,
  .content-catalog-page .span-8,
  .content-catalog-page .span-12 {
    grid-column: 1 / -1 !important;
  }

  .content-catalog-page section .container > div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .content-catalog-page .sticky-sidebar {
    position: static !important;
  }

  .category-index-page .product-grid-layout,
  .category-index-page .product-grid-layout:has(> a:nth-child(4)) {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-grid > div:last-child {
    min-height: 460px !important;
  }
}

@media (max-width: 680px) {
  .product-detail-page > section:not(.lux-hero):not(.product-gallery),
  .content-catalog-page > section:not(.lux-hero),
  .editorial-page > .section:not(.content-cta),
  .category-index-page > .section,
  .listing-page > .section:not(.content-cta),
  .contact-page > .section,
  .legal-page > .section:not(.content-cta),
  .standard-page > .section:not(.page-header) {
    padding: 3.75rem 0.85rem !important;
  }

  .product-detail-page .bento-card.span-12,
  .product-detail-page .bento-card.span-4 {
    padding: 1.75rem !important;
  }

  .product-detail-page .bento-card.span-6 {
    min-height: 330px !important;
  }

  .product-detail-page .bento-card.span-6 > div {
    padding: 1.75rem !important;
  }

  .editorial-page .section div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .content-catalog-page .bento-grid {
    display: flex !important;
    flex-direction: column;
  }

  .content-catalog-page .bento-card {
    min-height: 400px;
  }

  .listing-page .portfolio-grid,
  .contact-page .container-wide > div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-card:last-child {
    grid-column: auto;
  }

  .contact-page .contact-card {
    min-height: 0;
  }

  .contact-page .form-wrapper,
  .legal-page .entry-content,
  .standard-page .entry-content,
  .article-page .entry-content,
  .utility-panel {
    padding: 1.6rem;
  }

  .legal-page .entry-content h3 {
    overflow-wrap: anywhere;
  }

  .utility-actions,
  .utility-page .search-form {
    flex-direction: column;
  }

  .utility-actions .content-button,
  .utility-page .search-submit {
    width: 100%;
  }
}

/* Native menu and consent controls retain the current layout. */
.contact-template-download{margin-bottom:2rem;padding:1.25rem;background:#fff;border:1px solid var(--color-border);border-radius:4px}
.contact-template-download>a{display:inline-block;color:var(--color-primary);font-weight:600;text-decoration:underline;text-underline-offset:4px}
.contact-template-download p{margin:0.75rem 0 0;font-size:0.95rem;line-height:1.6;overflow-wrap:anywhere}
.contact-template-download p a{color:var(--color-primary);text-decoration:underline}
.menu-item-has-children:focus-within > .sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.site-footer button.cn-revoke-inline{font:inherit;border:0;background:transparent;color:inherit;padding:0;cursor:pointer}
@media(max-width:600px){.product-grid-layout{grid-template-columns:minmax(0,1fr)!important}.bento-card{max-width:100%}}

/* Readability and persistent form labels, reviewed October 2026. */
.contact-page .contact-link,
.materials-guide__steps > li > span,
.funding-details__number { color: #806024; }
.about-page .about-products .about-products__list li { color: #e6e5e2 !important; }
.contact-field-label { display: block; margin-bottom: .45rem; color: #333; font-size: .95rem; font-weight: 600; }
.contact-required-note { color: #555; font-size: .9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.legal-page .entry-content > h2 { font-size: 1.5rem; }
