/*
Theme Name: IDEABORNEO Biomass
Theme URI: https://ideaborneo.com/
Author: IDEABORNEO
Description: Corporate export WordPress theme for carbonized wood charcoal, wood pellets, and biomass industrial machinery.
Version: 2.1.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ideaborneo-biomass
*/

:root {
  --color-ink: #17201b;
  --color-ink-soft: #39443f;
  --color-muted: #6a746f;
  --color-forest: #164334;
  --color-forest-2: #23614b;
  --color-copper: #b9833a;
  --color-copper-soft: #ead5b3;
  --color-paper: #f7f8f5;
  --color-white: #ffffff;
  --color-line: rgba(23, 32, 27, 0.12);
  --color-line-dark: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 16px 40px rgba(22, 67, 52, 0.10);
  --radius: 8px;
  --header-height: 82px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(185, 131, 58, 0.38);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.ib-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.ib-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.admin-bar .ib-site-header {
  top: 32px;
}

.ib-site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(23, 32, 27, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.ib-topbar {
  border-bottom: 1px solid var(--color-line);
  background: #eef2ed;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.ib-topbar-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.ib-topbar a {
  color: var(--color-forest);
  font-weight: 700;
}

.ib-nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 28px;
}

.ib-brand {
  display: grid;
  gap: 1px;
  min-width: 178px;
}

.ib-brand .custom-logo {
  max-height: 46px;
  width: auto;
}

.ib-wordmark {
  color: var(--color-forest);
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.ib-brand small {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0;
}

.ib-desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.ib-desktop-nav a,
.ib-mobile-menu a {
  border-radius: 6px;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 9px 11px;
}

.ib-desktop-nav a:hover,
.ib-mobile-menu a:hover {
  background: #ffffff;
  color: var(--color-forest);
}

.ib-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ib-lang-switch,
.ib-mobile-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #ffffff;
}

.ib-lang-switch a,
.ib-mobile-lang a {
  border-radius: 4px;
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 8px;
}

.ib-lang-switch a.is-active,
.ib-mobile-lang a.is-active {
  background: var(--color-forest);
  color: #ffffff;
}

.ib-header-cta,
.ib-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  padding: 11px 16px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ib-header-cta,
.ib-btn-primary {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: #ffffff;
}

.ib-header-cta:hover,
.ib-btn-primary:hover {
  background: var(--color-forest-2);
  border-color: var(--color-forest-2);
  transform: translateY(-1px);
}

.ib-btn-secondary {
  background: #ffffff;
  border-color: var(--color-line);
  color: var(--color-forest);
}

.ib-btn-secondary:hover {
  border-color: var(--color-copper);
  transform: translateY(-1px);
}

.ib-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #ffffff;
  padding: 9px;
}

.ib-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-forest);
}

.ib-mobile-menu {
  display: none;
  border-top: 1px solid var(--color-line);
  background: #ffffff;
  padding: 12px 20px 18px;
}

.ib-mobile-menu.is-open {
  display: grid;
  gap: 4px;
}

.ib-mobile-lang {
  justify-content: flex-start;
  width: fit-content;
  margin-top: 8px;
}

/* Shared */
.ib-eyebrow,
.ib-kicker,
.ib-card-label {
  display: inline-flex;
  color: var(--color-copper);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ib-kicker-light {
  color: var(--color-copper-soft);
}

.ib-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-forest);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.1;
  padding: 8px 12px;
  background: #ffffff;
}

.ib-link:hover {
  border-color: var(--color-forest);
  background: #f2f6f1;
}

.ib-section {
  padding-block: 64px;
}

.ib-section-muted {
  background: #eef2ed;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.ib-section-tight {
  padding-top: 28px;
}

.ib-section-head {
  display: grid;
  grid-template-columns: minmax(0, 760px) max-content;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 22px;
}

.ib-section-head .ib-link {
  justify-self: end;
  align-self: end;
}

.ib-section h2,
.ib-section-head h2,
.ib-band h2,
.ib-contact-band h2,
.ib-about-grid h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 2.32rem;
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
}

.ib-section p,
.ib-section-head p {
  color: var(--color-muted);
}

/* Hero */
.ib-hero {
  position: relative;
  min-height: 650px;
  isolation: isolate;
  color: #ffffff;
  background-color: #1d2a24;
  background-image:
    linear-gradient(90deg, rgba(14, 27, 22, 0.92) 0%, rgba(14, 27, 22, 0.78) 42%, rgba(14, 27, 22, 0.28) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.ib-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 27, 22, 0.08), rgba(14, 27, 22, 0.48));
}

.ib-hero-inner {
  display: grid;
  align-content: end;
  min-height: 650px;
  padding-block: 96px 44px;
}

.ib-hero-copy {
  max-width: 760px;
}

.ib-hero h1 {
  margin: 16px 0 0;
  max-width: 920px;
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.ib-hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.62;
}

.ib-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ib-hero .ib-btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.ib-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(780px, 100%);
  margin-top: 66px;
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.ib-hero-facts div {
  display: grid;
  gap: 8px;
  min-height: 102px;
  padding: 18px;
  background: rgba(12, 25, 20, 0.36);
}

.ib-hero-facts strong {
  color: var(--color-copper-soft);
  font-size: 0.84rem;
}

.ib-hero-facts span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

/* Banner slider */
.ib-banner-slider-section {
  padding-block: 0;
  background: #ffffff;
}

.ib-banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #17201b;
  min-height: 300px;
}

.ib-banner-slides {
  position: relative;
  min-height: 300px;
}

.ib-banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.ib-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ib-banner-slide figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.ib-banner-slide figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 27, 22, 0.88), rgba(14, 27, 22, 0.42), rgba(14, 27, 22, 0.18));
}

.ib-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-banner-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-inline: auto;
  padding: 42px 0;
  color: #ffffff;
}

.ib-banner-content span {
  color: var(--color-copper-soft);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ib-banner-content h2 {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: 1.96rem;
  font-weight: 800;
  line-height: 1.12;
}

.ib-banner-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 7px;
}

.ib-banner-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.ib-banner-dots button.is-active {
  background: var(--color-copper);
  border-color: var(--color-copper);
}

/* Intro */
.ib-section-intro {
  padding-block: 44px 58px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.ib-two-col,
.ib-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: end;
}

.ib-why-grid {
  align-items: center;
}

.ib-two-col h2,
.ib-why-copy h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 2.28rem;
  font-weight: 780;
  line-height: 1.08;
}

.ib-two-col p,
.ib-why-copy p {
  margin: 0;
  color: var(--color-muted);
}

.ib-why-copy p {
  max-width: 620px;
  margin-top: 14px;
}

.ib-why-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ib-why-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
}

.ib-why-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  min-height: 300px;
  overflow: hidden;
}

.ib-why-photos figure {
  min-height: 150px;
  margin: 0;
  overflow: hidden;
}

.ib-why-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Company snapshot */
.ib-company-section {
  background: #f7f8f5;
}

.ib-snapshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.ib-snapshot-copy h2,
.ib-grade-panel h2,
.ib-process-section h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 2.18rem;
  font-weight: 780;
  line-height: 1.08;
}

.ib-snapshot-copy p,
.ib-grade-panel p,
.ib-process-panel p {
  margin: 18px 0 0;
  color: var(--color-muted);
}

.ib-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ib-stat-card {
  min-height: 170px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.ib-stat-card strong {
  display: block;
  color: var(--color-forest);
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
}

.ib-stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--color-copper);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ib-stat-card p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Grade A feature */
.ib-charcoal-feature {
  background: #ffffff;
}

.ib-charcoal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ib-charcoal-image {
  position: sticky;
  top: 132px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #f4f5f1;
}

.ib-grade-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
}

.ib-grade-specs {
  margin-top: 18px;
}

.ib-grade-specs div {
  grid-template-columns: 190px 1fr;
  padding: 8px 0;
}

/* Process */
.ib-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ib-process-panel {
  position: relative;
  min-height: 232px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
}

.ib-process-number {
  display: inline-flex;
  color: var(--color-copper);
  font-size: 0.82rem;
  font-weight: 850;
}

.ib-process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border-radius: 50%;
  background: #eef2ed;
  color: var(--color-forest);
  font-size: 0.76rem;
  font-weight: 900;
}

.ib-process-panel h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 780;
  line-height: 1.1;
}

.ib-process-panel ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ib-process-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.ib-flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.ib-flow-strip div {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px 18px;
  border-right: 1px solid var(--color-line);
}

.ib-flow-strip div:last-child {
  border-right: 0;
}

.ib-flow-strip div::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  background: #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.ib-flow-strip div:last-child::after {
  display: none;
}

.ib-flow-strip strong {
  color: var(--color-copper);
  font-size: 0.72rem;
}

.ib-flow-strip span {
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.ib-process-panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-copper);
}

/* Product */
.ib-product-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 75, 54, 0.98), rgba(37, 102, 75, 0.94)),
    #164334;
}

.ib-product-section .ib-kicker {
  color: var(--color-copper-soft);
}

.ib-product-section h2 {
  color: #ffffff;
}

.ib-product-section .ib-link {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ib-product-section .ib-link:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
}

.ib-product-section .ib-product-card {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(10, 32, 24, 0.18);
}

.ib-product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.ib-product-card,
.ib-catalog-card,
.ib-machine-card,
.ib-contact-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(23, 32, 27, 0.03);
  overflow: hidden;
}

.ib-product-card {
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ib-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.ib-card-media,
.ib-catalog-media,
.ib-machine-media {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #e7ece7;
}

.ib-card-media {
  aspect-ratio: 5 / 4;
}

.ib-catalog-media {
  aspect-ratio: 16 / 11;
}

.ib-machine-media {
  aspect-ratio: 4 / 3;
}

.ib-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-card-media-fallback {
  background:
    linear-gradient(145deg, #ded5c2, #8b6f4d);
}

.ib-card-media-pellet::before {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #b8874c 0 5px, #7b5833 5px 10px);
  box-shadow: 0 18px 30px rgba(23, 32, 27, 0.18);
}

.ib-card-body,
.ib-catalog-body,
.ib-machine-body {
  padding: 22px;
}

.ib-product-grid .ib-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 194px;
  padding: 14px;
}

.ib-card-body span {
  color: var(--color-copper);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ib-product-grid .ib-card-body span {
  font-size: 0.68rem;
}

.ib-card-body h3,
.ib-catalog-body h2,
.ib-machine-body h2 {
  margin: 8px 0 8px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 760;
  line-height: 1.12;
}

.ib-product-grid .ib-card-body h3 {
  font-size: 1.04rem;
  line-height: 1.18;
  min-height: 2.45rem;
}

.ib-card-body p,
.ib-catalog-body p,
.ib-machine-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.ib-product-grid .ib-card-body p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ib-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-forest);
  font-size: 0.76rem;
  font-weight: 850;
  padding: 7px 8px;
}

.ib-card-link:hover {
  border-color: var(--color-forest);
  background: #f2f6f1;
}

/* Export band */
.ib-band {
  padding-block: 64px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(22, 67, 52, 0.98), rgba(24, 34, 29, 0.98)),
    #164334;
}

.ib-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 36px;
}

.ib-band h2 {
  max-width: 560px;
}

.ib-standard-list {
  display: grid;
  gap: 0;
}

.ib-standard-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line-dark);
}

.ib-standard-list strong {
  color: var(--color-copper-soft);
}

.ib-standard-list span {
  color: rgba(255, 255, 255, 0.76);
}

/* Machine strip */
.ib-machine-strip {
  display: grid;
  gap: 12px;
}

.ib-machine-strip article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
}

.ib-strip-image {
  width: 220px;
  height: 150px;
  border-radius: 6px;
  object-fit: cover;
}

.ib-machine-strip h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.ib-machine-strip p {
  margin: 0;
  color: var(--color-muted);
}

/* Contact CTA */
.ib-contact-band {
  padding-block: 54px;
  background: #ffffff;
  border-top: 1px solid var(--color-line);
}

.ib-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.ib-contact-band p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--color-muted);
}

.ib-contact-actions {
  display: grid;
  gap: 10px;
  min-width: 280px;
}

/* Pages */
.ib-page-main {
  min-height: 58vh;
}

.ib-page-hero {
  padding-block: 84px 36px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.ib-page-hero h1 {
  max-width: 900px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 3.45rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.ib-page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.ib-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.ib-filter {
  min-height: 38px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 12px;
}

.ib-filter.is-active {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: #ffffff;
}

.ib-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ib-catalog-card[hidden] {
  display: none;
}

.ib-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 20px;
}

.ib-specs span,
.ib-check-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  padding: 6px 9px;
}

.ib-catalog-body .ib-btn,
.ib-machine-body .ib-btn {
  width: 100%;
}

.ib-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.ib-machine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ib-machine-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
}

.ib-machine-body ul {
  margin: 16px 0 20px;
  padding-left: 18px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.ib-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
}

.ib-about-copy p {
  margin-top: 0;
  color: var(--color-muted);
}

.ib-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ib-contact-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ib-contact-panel {
  padding: 26px;
}

.ib-contact-panel h2 {
  margin: 8px 0 22px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 760;
  line-height: 1.16;
}

.ib-contact-panel-wide {
  grid-column: 1 / -1;
}

.ib-entry-content {
  max-width: 760px;
  color: var(--color-ink-soft);
}

.ib-entry-content h2,
.ib-entry-content h3 {
  color: var(--color-ink);
}

/* Detail pages */
.ib-detail-hero {
  padding-block: 72px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8f5 100%);
  border-bottom: 1px solid var(--color-line);
}

.ib-detail-hero-compact {
  padding-block: 52px;
}

.ib-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.ib-detail-gallery {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 132px;
}

.ib-detail-slides {
  position: relative;
}

.ib-detail-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #edf1ec;
  box-shadow: 0 10px 26px rgba(23, 32, 27, 0.06);
}

.ib-detail-slides .ib-detail-media {
  display: none;
}

.ib-detail-slides .ib-detail-media.is-active {
  display: block;
}

.ib-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ib-detail-thumbs button {
  aspect-ratio: 1;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ib-detail-thumbs button:hover {
  border-color: var(--color-copper);
  transform: translateY(-1px);
}

.ib-detail-thumbs button.is-active {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 2px rgba(22, 67, 52, 0.14);
}

.ib-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-detail-copy h1 {
  margin: 10px 0 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 2.72rem;
  font-weight: 800;
  line-height: 1.06;
}

.ib-detail-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.ib-back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--color-forest);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ib-detail-copy .ib-kicker {
  display: flex;
  width: fit-content;
}

.ib-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ib-detail-actions .ib-btn {
  min-width: 170px;
}

.ib-detail-spec-panel {
  margin-top: 24px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(23, 32, 27, 0.05);
}

.ib-detail-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.ib-detail-info-grid-single {
  grid-template-columns: 1fr;
}

.ib-detail-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 26px;
  box-shadow: 0 1px 0 rgba(23, 32, 27, 0.03);
}

.ib-spec-table {
  margin: 16px 0 0;
}

.ib-spec-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
}

.ib-spec-table div:last-child {
  border-bottom: 0;
}

.ib-spec-table dt {
  color: var(--color-ink);
  font-weight: 850;
  line-height: 1.35;
}

.ib-spec-table dd {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.ib-use-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ib-use-list li {
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-ink-soft);
  padding: 11px 12px;
}

/* Footer */
.ib-footer {
  padding-block: 44px 24px;
  color: rgba(255, 255, 255, 0.74);
  background: #111a16;
}

.ib-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr) minmax(0, 0.9fr);
  gap: 34px;
}

.ib-footer-brand {
  display: inline-flex;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 850;
}

.ib-footer p {
  margin: 10px 0 0;
}

.ib-footer span {
  display: block;
  color: var(--color-copper-soft);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ib-footer a {
  display: block;
  margin-top: 8px;
}

.ib-footer a:hover {
  color: #ffffff;
}

.ib-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line-dark);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .ib-desktop-nav,
  .ib-header-cta {
    display: none;
  }

  .ib-nav-row {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .ib-menu-toggle {
    display: block;
  }

  .ib-hero,
  .ib-hero-inner {
    min-height: 610px;
  }

  .ib-hero h1 {
    font-size: 3.15rem;
  }

  .ib-section-head,
  .ib-two-col,
  .ib-why-grid,
  .ib-snapshot-grid,
  .ib-charcoal-grid,
  .ib-band-grid,
  .ib-contact-grid,
  .ib-about-grid {
    grid-template-columns: 1fr;
  }

  .ib-section-head .ib-link {
    justify-self: end;
  }

  .ib-why-photos {
    min-height: 360px;
  }

  .ib-charcoal-image {
    position: static;
  }

  .ib-product-grid,
  .ib-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-process-grid {
    grid-template-columns: 1fr;
  }

  .ib-flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ib-flow-strip div:nth-child(2) {
    border-right: 0;
  }

  .ib-flow-strip div:nth-child(2)::after {
    display: none;
  }

  .ib-machine-grid {
    grid-template-columns: 1fr;
  }

  .ib-detail-grid,
  .ib-detail-info-grid {
    grid-template-columns: 1fr;
  }

  .ib-detail-gallery {
    position: static;
  }
}

@media (max-width: 782px) {
  .admin-bar .ib-site-header {
    top: 46px;
  }
}

@media (max-width: 700px) {
  .ib-container {
    width: min(100% - 28px, 1180px);
  }

  .ib-topbar {
    display: none;
  }

  .ib-nav-row {
    min-height: 68px;
    gap: 14px;
  }

  .ib-hero,
  .ib-hero-inner {
    min-height: 580px;
  }

  .ib-hero {
    background-image:
      linear-gradient(90deg, rgba(14, 27, 22, 0.92) 0%, rgba(14, 27, 22, 0.72) 100%),
      var(--hero-image);
  }

  .ib-hero-inner {
    padding-block: 76px 28px;
  }

  .ib-hero h1 {
    font-size: 2.38rem;
    line-height: 1.06;
  }

  .ib-hero p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .ib-hero-facts {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .ib-banner-slider,
  .ib-banner-slides {
    min-height: 300px;
  }

  .ib-banner-slide figure::after {
    background: linear-gradient(180deg, rgba(14, 27, 22, 0.34), rgba(14, 27, 22, 0.88));
  }

  .ib-banner-content {
    width: calc(100% - 40px);
    padding: 24px 0 72px;
  }

  .ib-banner-content h2 {
    font-size: 1.45rem;
    line-height: 1.16;
  }

  .ib-banner-dots {
    right: auto;
    left: 20px;
    bottom: 22px;
  }

  .ib-section,
  .ib-band,
  .ib-contact-band {
    padding-block: 46px;
  }

  .ib-why-photos {
    min-height: 300px;
  }

  .ib-why-photos figure {
    min-height: 150px;
  }

  .ib-section-tight {
    padding-top: 22px;
  }

  .ib-section-head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .ib-flow-strip {
    grid-template-columns: 1fr;
  }

  .ib-flow-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    padding: 12px 14px;
  }

  .ib-flow-strip div:last-child {
    border-bottom: 0;
  }

  .ib-flow-strip div::after {
    display: none;
  }

  .ib-section h2,
  .ib-section-head h2,
  .ib-band h2,
  .ib-contact-band h2,
  .ib-about-grid h2,
  .ib-snapshot-copy h2,
  .ib-grade-panel h2,
  .ib-process-section h2 {
    font-size: 1.74rem;
    line-height: 1.12;
  }

  .ib-page-hero {
    padding-block: 58px 30px;
  }

  .ib-page-hero h1 {
    font-size: 2.18rem;
  }

  .ib-detail-hero {
    padding-block: 48px;
  }

  .ib-detail-copy h1 {
    font-size: 2.18rem;
    line-height: 1.08;
  }

  .ib-spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ib-stat-grid {
    grid-template-columns: 1fr;
  }

  .ib-stat-card,
  .ib-process-panel {
    min-height: 0;
  }

  .ib-grade-panel {
    padding: 20px;
  }

  .ib-product-grid,
  .ib-catalog-grid,
  .ib-contact-page-grid {
    grid-template-columns: 1fr;
  }

  .ib-product-grid .ib-card-body {
    min-height: 0;
    padding: 16px;
  }

  .ib-product-grid .ib-card-body span {
    font-size: 0.72rem;
  }

  .ib-product-grid .ib-card-body h3 {
    min-height: 0;
    font-size: 1.18rem;
    line-height: 1.18;
  }

  .ib-product-grid .ib-card-body p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .ib-card-link {
    font-size: 0.84rem;
  }

  .ib-machine-card,
  .ib-machine-strip article {
    grid-template-columns: 1fr;
  }

  .ib-strip-image {
    width: 100%;
    height: 190px;
  }

  .ib-standard-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ib-contact-actions {
    min-width: 0;
  }

  .ib-footer-grid,
  .ib-footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}
