/* Counter Intelligence uses the Emporium shell and its own architectural palette. */
.counter-intelligence {
  --hob-sage: #3a4540;
  --hob-green: #26342d;
  --hob-deep: #1b2420;
  --hob-stone: #656458;
  background: var(--hob-deep);
  color: var(--em-ivory);
}
.hob-frame { width: min(92%, 1450px); margin-inline: auto; }
.hob-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: max(655px, 96svh);
  overflow: hidden;
  background: #1b211b;
}
.hob-hero-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 51%; }
.hob-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #111611e8, #171d17c4 25%, #171d1729 57%, transparent 75%),
              linear-gradient(180deg, #111611b0, transparent 26%, transparent 80%, #1a231d71);
}
.hob-hero-copy { padding-block: clamp(105px, 13svh, 150px) clamp(3rem, 8svh, 6rem); }
.hob-hero-copy .em-kicker a { color: inherit; }
.hob-hero-copy .em-kicker a:is(:hover, :focus-visible) { color: var(--em-link-accent); }
.counter-intelligence .hob-hero h1 {
  width: fit-content;
  font-size: clamp(4.7rem, 9vw, 10rem);
  letter-spacing: -.045em;
  line-height: .89;
  text-transform: uppercase;
}
.hob-hand {
  width: fit-content;
  margin: .52em 0 .45em;
  color: #ff82ae;
  font: 700 clamp(2.2rem, 4.1vw, 4.6rem)/.97 var(--font-handwritten);
  transform: rotate(-3deg);
}
.hob-hero-lede { max-width: 29ch; margin: 1.25em 0; font: clamp(1.12rem, 1.6vw, 1.5rem)/1.34 var(--em-serif); }
.counter-intelligence .hob-button {
  display: inline-flex;
  gap: .7em;
  width: fit-content;
  min-height: 49px;
  border-radius: 2px;
  padding-inline: 1.12em;
}
.hob-collections {
  padding-block: clamp(55px, 7vw, 108px);
  background: radial-gradient(ellipse at 12% 0%, #555b4b, transparent 64%),
              linear-gradient(160deg, var(--hob-sage), var(--hob-green));
}
.counter-intelligence .hob-collections h2 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(2.45rem, 4.55vw, 4.85rem);
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}
.hob-collections .em-rule::after { width: min(18%, 135px); margin: .26em auto 0; }
.hob-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 1.55vw, 25px);
  margin-top: clamp(1.8rem, 4vw, 3.7rem);
}
.hob-collection {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: start;
  min-height: clamp(415px, 46vw, 685px);
  padding: clamp(17px, 2.55vw, 42px);
  padding-bottom: clamp(20px, 2.65vw, 38px);
  border-top: 1px solid #e3b49b6b;
  background: radial-gradient(ellipse at 15% 10%, var(--collection-light), transparent 75%), var(--collection-dark);
}
.hob-collection--entry { --collection-light: #67343e; --collection-dark: #361b22; }
.hob-collection--mid { --collection-light: #524941; --collection-dark: #2f2926; }
.hob-collection--premium { --collection-light: #3e5454; --collection-dark: #222e32; }
.hob-collection-copy .em-kicker { margin: 0 0 .65em; color: #f6e1c7; }
.counter-intelligence .hob-collection h3 {
  max-width: 10ch;
  font-size: clamp(2.1rem, 4.05vw, 4.25rem);
  line-height: .94;
  letter-spacing: -.026em;
  text-wrap: balance;
  text-transform: uppercase;
}
.hob-collection-copy > p:last-child { max-width: 26ch; font: clamp(.98rem, 1.3vw, 1.24rem)/1.36 var(--em-serif); }
.hob-collection-brand { margin: .48em 0 0; font: italic clamp(1.18rem, 2.1vw, 1.8rem)/1.08 var(--em-serif); }
.hob-collection-art {
  display: block;
  align-self: end;
  width: min(115%, 485px);
  max-width: none;
  height: auto;
  margin: -.15rem -7.5% .35rem;
}
.hob-collection--mid .hob-collection-art { transform: rotate(-3deg); }
.hob-collection--premium .hob-collection-art { transform: translateY(2%); }
.hob-link {
  display: inline-flex;
  align-items: center;
  gap: .62em;
  min-height: 44px;
  color: inherit;
  font-weight: 800;
}
.hob-link .em-icon, .hob-card-action .em-icon { color: var(--em-link-accent); }
.hob-collection-link { align-self: end; border-bottom: 2px solid var(--em-pink); line-height: 1.22; }
.hob-finder { background-color: #d8d7c3; padding-block: clamp(50px, 6.6vw, 115px); }
.hob-finder-layout { display: grid; grid-template-columns: minmax(175px, .8fr) minmax(0, 3.2fr); gap: clamp(20px, 3.1vw, 52px); }
.counter-intelligence .hob-finder-intro h2 {
  max-width: 8ch;
  font-size: clamp(2.5rem, 4.1vw, 4.2rem);
  line-height: .93;
  text-transform: uppercase;
}
.hob-finder-intro .em-rule::after { margin-left: 0; width: 48%; }
.hob-finder-intro > p { max-width: 23ch; font: clamp(1.03rem, 1.45vw, 1.3rem)/1.4 var(--em-serif); }
.hob-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .75rem .85rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #524e40a1;
}
.hob-filters label { display: grid; gap: .3em; font-size: .84rem; font-weight: 800; }
.hob-filters select { min-height: 44px; }
.hob-filters button {
  min-height: 44px;
  border: 0;
  padding-inline: .55em;
  background: transparent;
  color: #71123c;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.hob-results { margin: .7rem 0 1.1rem; font-size: .9rem; font-weight: 800; }
.hob-result-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(15px, 2.25vw, 35px); padding: 0; margin: 0; list-style: none; }
.hob-empty { padding: .8em 0 2em; }
.hob-product-card { display: block; color: var(--em-ink); }
.hob-product-stone {
  position: relative;
  aspect-ratio: 1.43;
  overflow: hidden;
  border: 1px solid #a9a494;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='stone'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23675648' opacity='.24' filter='url(%23stone)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"),
              radial-gradient(ellipse at 24% 11%, #9a917f, transparent 75%), var(--hob-stone);
}
.hob-packshot { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(3px 7px 5px #191610ad); }
.hob-result-copy { padding-block: .6rem .9rem; border-bottom: 1px solid #675e4eb0; }
.hob-result-copy .em-kicker { margin: .2em 0 .4em; color: #694233; }
.counter-intelligence .hob-result-copy h3 { font-size: clamp(1.5rem, 2vw, 2.25rem); }
.hob-reference { font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.hob-result-copy p { margin: .35em 0 .42em; }
.hob-result-facts { font-size: .89rem; font-weight: 800; }
.hob-card-action { display: flex; justify-content: space-between; gap: 1em; margin-top: .8em; font-weight: 800; }
.hob-detail-hero { padding-block: clamp(2.3rem, 6vw, 6rem); background: linear-gradient(125deg, var(--hob-deep), var(--hob-sage)); }
.hob-detail-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(25px, 4vw, 80px); align-items: center; }
.hob-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .55em; margin-bottom: clamp(1.1em, 3vw, 3em); font-size: .88rem; }
.hob-breadcrumb a { color: inherit; }
.hob-breadcrumb .em-icon { color: var(--em-link-accent); }
.hob-detail-copy .em-kicker { color: #ffb5ce; }
.counter-intelligence .hob-detail-copy h1 { font-size: clamp(3rem, 5.8vw, 6.4rem); letter-spacing: -.035em; text-wrap: balance; }
.hob-detail-copy > p:not([class]) { max-width: 37ch; font: clamp(1.08rem, 1.62vw, 1.48rem)/1.4 var(--em-serif); }
.hob-cutout {
  display: grid;
  gap: .28em;
  max-width: 36rem;
  margin-top: clamp(1.5rem, 3vw, 2.85rem);
  padding: .55rem 0 .05rem 1rem;
  border-left: 4px solid var(--em-pink);
}
.hob-cutout p { margin: 0; font-weight: 800; }
.hob-cutout strong { font: 650 clamp(1.75rem, 3.9vw, 3.85rem)/1.04 var(--font-display); }
.hob-cutout span { color: #fadfcb; font-size: .86rem; }
.hob-cutout a { width: fit-content; }
.hob-detail-figure { margin: 0; }
.hob-detail-figure figcaption { padding-top: .75rem; font-size: .95rem; }
.hob-detail-section { padding-block: clamp(2.7rem, 6vw, 6rem); }
.hob-detail-columns { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: .8rem clamp(25px, 4vw, 72px); }
.counter-intelligence .hob-detail-section h2, .counter-intelligence .hob-make h2 { font-size: clamp(2.3rem, 4.65vw, 5rem); }
.hob-detail-columns > div > p { max-width: 52ch; margin-top: 0; margin-bottom: 1rem; font: clamp(1.08rem, 1.55vw, 1.35rem)/1.52 var(--em-serif); }
.hob-technical { background: var(--hob-green); }
.hob-spec-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 1.6rem clamp(24px, 4vw, 70px); margin-top: 1.6rem; }
.hob-specs { display: grid; gap: .65em; margin: 0; }
.hob-specs > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: .72rem; border-bottom: 1px solid #f2e5d04f; padding-block: .45em; }
.hob-specs dt { font-weight: 800; }
.hob-specs dd { margin: 0; }
.hob-burners { width: 100%; border-spacing: 0; text-align: left; }
.hob-burners caption { padding: 0 0 .8em; text-align: left; font-weight: 800; }
.hob-burners th, .hob-burners td { padding: .56em .3em; border-bottom: 1px solid #f2e5d04f; }
.hob-burners td:last-child { white-space: nowrap; }
.hob-source-note { font-size: .9rem; }
.hob-document-list { padding: 0; margin: .5rem 0 0; list-style: none; }
.hob-document-list li + li { border-top: 1px solid #675a4f44; }
.hob-make { padding-block: clamp(2.7rem, 6vw, 6rem); }
.hob-make-layout { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 1.5rem; }
.hob-back { padding-bottom: 2.5rem; }

@media (max-width: 1150px) {
  .hob-result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .hob-detail-layout, .hob-detail-columns, .hob-spec-layout { grid-template-columns: minmax(0, 1fr); }
  .hob-finder-layout { grid-template-columns: minmax(0,1fr); }
  .counter-intelligence .hob-finder-intro h2 { max-width: none; }
  .hob-finder-intro .em-rule::after { width: min(18%,110px); }
  .hob-finder-intro > p { max-width: 39ch; }
}
@media (max-width: 680px) {
  .hob-hero { min-height: 0; align-items: start; }
  .hob-hero-copy { padding: 105px 0 clamp(280px, 82vw, 480px); }
  .hob-hero-art { inset: auto 0 0; height: clamp(300px, 88vw, 515px); object-position: 70% center; }
  .hob-hero::after { background: linear-gradient(180deg, #1b211b 0%, #1b211b 53%, #1b211b66 71%, transparent 86%); }
  .counter-intelligence .hob-hero h1 { font-size: clamp(3.65rem, 12.1vw, 5.7rem); }
  .hob-collection-grid, .hob-result-grid { grid-template-columns: minmax(0,1fr); }
  .hob-collection { min-height: 0; }
  .counter-intelligence .hob-collection h3 { font-size: clamp(2.55rem, 8vw, 3.8rem); }
  .hob-collection-art { width: min(108%, 490px); margin-inline: -4%; max-height: 320px; object-fit: contain; }
  .hob-filters label { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .counter-intelligence *, .counter-intelligence *::before, .counter-intelligence *::after { transition: none; }
}
