/* ==========================================================================
   Indiana Bar Service - Shared Design System (ibs.css)
   "Transparent Premium": warm black + barrel gold + cream, oversized display,
   monospace "receipt" signature. Self-hosted, zero third-party dependencies.

   Everything is namespaced under .ibs so it never collides with Divi / WordPress.
   Deploy path on server: /wp-content/uploads/ibs/css/ibs.css
   (fonts resolve via ../fonts/, images via ../img/)
   ========================================================================== */

/* ---- Self-hosted fonts ---- */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrumentsans-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrainsmono-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --ibs-ink: #14110E;
  --ibs-ink-2: #201a14;
  --ibs-ink-3: #2b241b;
  --ibs-gold: #C89153;
  --ibs-gold-bright: #E4B06A;
  --ibs-cream: #F5EFE3;
  --ibs-cream-dim: #d8cfbd;
  --ibs-wine: #6E2A2E;
  --ibs-line: rgba(245, 239, 227, .12);
  --ibs-line-strong: rgba(245, 239, 227, .22);
  --ibs-ink-line: rgba(20, 17, 14, .12);

  --ibs-font-display: "Anton", "Arial Narrow", sans-serif;
  --ibs-font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ibs-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ibs-max: 1200px;
  --ibs-max-wide: 1340px;
  --ibs-radius: 14px;
  --ibs-radius-lg: 22px;
  --ibs-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --ibs-shadow-soft: 0 18px 44px -28px rgba(0, 0, 0, .55);
  --ibs-ease: cubic-bezier(.2, .7, .2, 1);
  --ibs-header-h: 76px;
}

/* ==========================================================================
   Base (scoped to .ibs so Divi's own styles are untouched)
   ========================================================================== */
.ibs, .ibs *, .ibs *::before, .ibs *::after { box-sizing: border-box; }
.ibs {
  font-family: var(--ibs-font-body);
  color: var(--ibs-cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ibs img { max-width: 100%; display: block; height: auto; }
.ibs a { color: inherit; text-decoration: none; }
.ibs p { margin: 0 0 1em; }
.ibs p:last-child { margin-bottom: 0; }
.ibs ul { margin: 0; padding: 0; list-style: none; }
.ibs blockquote { margin: 0; padding: 0; border: 0; quotes: none; }
.ibs blockquote::before, .ibs blockquote::after { content: none; }
.ibs strong { font-weight: 600; color: #fff; }
.ibs :focus-visible {
  outline: 3px solid var(--ibs-gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout primitives ---- */
.ibs-container { width: 100%; max-width: var(--ibs-max); margin: 0 auto; padding: 0 24px; }
.ibs-container--wide { max-width: var(--ibs-max-wide); }
.ibs-section { position: relative; padding: clamp(64px, 9vw, 128px) 0; background: var(--ibs-ink); overflow: clip; }
.ibs-section--ink2 { background: var(--ibs-ink-2); }
.ibs-section--cream { background: var(--ibs-cream); color: var(--ibs-ink); }
.ibs-section--cream strong { color: var(--ibs-ink); }
.ibs-section--tight { padding: clamp(48px, 6vw, 88px) 0; }

/* ---- Defend against host theme (Divi) element-level color overrides ----
   Divi sets rules like `h1 { color:#333 }` which beat inherited color. These
   restore our palette. Heading CLASSES get explicit color; classless elements
   are defended with :not([class]) so accent classes are never clobbered. */
.ibs-display, .ibs-h1, .ibs-h2, .ibs-h3, .ibs-pkg__name { color: var(--ibs-cream); }
.ibs-display span, .ibs-h1 span, .ibs-h2 span, .ibs-h3 span { color: inherit; }
.ibs-section--cream :is(.ibs-display, .ibs-h1, .ibs-h2, .ibs-h3) { color: var(--ibs-ink); }
.ibs p:not([class]), .ibs li:not([class]) { color: var(--ibs-cream-dim); font-family: inherit; }
.ibs :is(h1, h2, h3, h4):not([class]) { color: var(--ibs-cream); }
.ibs a:not([class]) { color: var(--ibs-gold); }
.ibs-section--cream p:not([class]), .ibs-section--cream li:not([class]) { color: #5b5344; }
.ibs-section--cream :is(h1, h2, h3, h4):not([class]) { color: var(--ibs-ink); }
/* Dark cards inside cream sections keep light text (the cream defense above must not
   darken them). White-background cards set their own colors inline, so they are unaffected. */
.ibs-section--cream .ibs-card :is(h1, h2, h3, h4) { color: #fff; }
.ibs-section--cream .ibs-card p, .ibs-section--cream .ibs-card li { color: var(--ibs-cream-dim); }

/* ---- Typography ---- */
.ibs-display {
  font-family: var(--ibs-font-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(3rem, 9vw, 8rem);
}
.ibs-h1 { font-family: var(--ibs-font-display); text-transform: uppercase; line-height: .95; letter-spacing: .5px; font-weight: 400; margin: 0; font-size: clamp(2.6rem, 6vw, 5rem); }
.ibs-h2 { font-family: var(--ibs-font-display); text-transform: uppercase; line-height: .98; letter-spacing: .4px; font-weight: 400; margin: 0 0 .35em; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.ibs-h3 { font-family: var(--ibs-font-body); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -.01em; }
.ibs-eyebrow {
  font-family: var(--ibs-font-mono);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ibs-gold);
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: 0 0 1.1em;
  font-weight: 500;
}
.ibs-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ibs-gold);
  display: inline-block;
}
.ibs-section--cream .ibs-eyebrow { color: var(--ibs-wine); }
.ibs-section--cream .ibs-eyebrow::before { background: var(--ibs-wine); }
.ibs-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ibs-cream-dim); max-width: 62ch; }
.ibs-section--cream .ibs-lead { color: #5b5344; }
.ibs-gold { color: var(--ibs-gold); }
.ibs-mono { font-family: var(--ibs-font-mono); }
.ibs-muted { color: var(--ibs-cream-dim); }
.ibs-section--cream .ibs-muted { color: #6b6252; }

/* ---- Buttons ---- */
.ibs-btn {
  --btn-bg: var(--ibs-gold);
  --btn-fg: #17120b;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--ibs-font-body);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ibs-ease), background .25s var(--ibs-ease), box-shadow .25s var(--ibs-ease);
  will-change: transform;
  line-height: 1;
  text-align: center;
}
.ibs-btn:hover { background: var(--ibs-gold-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(200, 145, 83, .6); }
.ibs-btn:active { transform: translateY(0); }
.ibs-btn .ibs-btn__arrow { transition: transform .3s var(--ibs-ease); }
.ibs-btn:hover .ibs-btn__arrow { transform: translateX(4px); }
.ibs-btn--ghost { background: transparent; color: var(--ibs-cream); border-color: var(--ibs-line-strong); }
.ibs-btn--ghost:hover { background: rgba(245, 239, 227, .06); border-color: var(--ibs-gold); color: #fff; box-shadow: none; }
.ibs-section--cream .ibs-btn--ghost { color: var(--ibs-ink); border-color: var(--ibs-ink-line); }
.ibs-section--cream .ibs-btn--ghost:hover { background: rgba(20, 17, 14, .04); border-color: var(--ibs-wine); }
.ibs-btn--sm { padding: 11px 18px; font-size: .88rem; }
.ibs-btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.ibs-btn--block { display: flex; width: 100%; }

/* ---- Barrel-keyhole motif rule ---- */
.ibs-rule { display: flex; align-items: center; gap: 14px; color: var(--ibs-gold); }
.ibs-rule::before, .ibs-rule::after { content: ""; height: 1px; background: var(--ibs-line-strong); flex: 1; }
.ibs-keyhole {
  width: 16px; height: 22px; flex: none;
  background: currentColor;
  -webkit-mask: radial-gradient(circle at 50% 34%, #000 5.5px, transparent 6px), linear-gradient(#000 0 0) 50% 100%/6px 60% no-repeat;
  mask: radial-gradient(circle at 50% 34%, #000 5.5px, transparent 6px), linear-gradient(#000 0 0) 50% 100%/6px 60% no-repeat;
}

/* ---- Reveal on scroll (progressive enhancement: hidden only when JS is active) ---- */
.ibs-reveal { transition: opacity .7s var(--ibs-ease), transform .7s var(--ibs-ease); }
.ibs-js .ibs-reveal { opacity: 0; transform: translateY(26px); }
.ibs-reveal.is-in { opacity: 1; transform: none; }
.ibs-reveal[data-delay="1"] { transition-delay: .08s; }
.ibs-reveal[data-delay="2"] { transition-delay: .16s; }
.ibs-reveal[data-delay="3"] { transition-delay: .24s; }
.ibs-reveal[data-delay="4"] { transition-delay: .32s; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
/* Divi Theme Builder integration: the header/footer code modules render inside a
   Divi column with position:relative; z-index:2, which traps our flyouts (dropdown,
   mobile drawer, popup) behind page content and breaks sticky. Lift the whole
   header/footer subtree above content, and pin the header with fixed (scoped to Divi
   so the local preview keeps using sticky). These .et-l--* classes do not exist in
   the standalone preview, so they are no-ops there. */
.et-l--header { position: relative !important; z-index: 9990 !important; min-height: var(--ibs-header-h); }
.et-l--footer { position: relative !important; z-index: 9990 !important; }
.et-l--header .ibs-header { position: fixed; top: 0; left: 0; right: 0; }
/* Divi wraps each page's code module in a section that defaults to a white background
   with top/bottom padding; the fixed-header spacer exposed that padding as a white band.
   Theme the wrapper section to the page and drop its padding. Inner .ibs-section--cream
   sections live inside .ibs-page and are unaffected. */
.et-l--body .et_pb_section { background-color: var(--ibs-ink) !important; }
.et-l--body .et_pb_section:has(.ibs-page) { padding-top: 0 !important; padding-bottom: 0 !important; }
/* The mobile drawer sits off-screen right when closed (transform: translateX(100%)),
   which adds a horizontal scrollbar in browsers with classic scrollbars. Clip horizontal
   overflow at the root (clip does not create a scroll container, so the fixed header and
   vertical scrolling are unaffected), and drop the mobile-only drawer on desktop. */
html, body { overflow-x: clip; }
@media (min-width: 861px) { .ibs-mobile { display: none; } }
/* When logged in, the WP admin bar sits at top:0; push the fixed header below it. */
body.admin-bar .et-l--header .ibs-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .et-l--header .ibs-header { top: 46px; } }

.ibs-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(20, 17, 14, .92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--ibs-line);
  transition: background .3s var(--ibs-ease), border-color .3s var(--ibs-ease);
}
.ibs-header.is-scrolled { background: rgba(14, 11, 8, .97); }
.ibs-nav { display: flex; align-items: center; justify-content: space-between; height: var(--ibs-header-h); gap: 24px; }
.ibs-logo { display: flex; align-items: center; gap: 11px; flex: none; }
.ibs-logo img { height: 42px; width: auto; }
.ibs-logo__mark { height: 38px !important; width: auto; }
.ibs-logo__txt { font-family: var(--ibs-font-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; line-height: 1; color: #fff; }
.ibs-logo__txt small { display: block; font-size: .5rem; letter-spacing: .42em; color: var(--ibs-gold); margin-top: 3px; }
.ibs-navlinks { display: flex; align-items: center; gap: 4px; }
.ibs-navlinks > li { position: relative; }
.ibs-navlink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: .93rem; font-weight: 500; color: var(--ibs-cream-dim);
  border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap;
  background: transparent; border: 0; font-family: inherit; cursor: pointer; line-height: 1;
}
.ibs-navlink:hover, .ibs-navlink[aria-expanded="true"] { color: #fff; background: rgba(245, 239, 227, .05); }
.ibs-navlink .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.ibs-navlink[aria-expanded="true"] .caret { transform: rotate(225deg) translateY(-2px); }
.ibs-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: var(--ibs-ink-2); border: 1px solid var(--ibs-line); border-radius: 14px;
  padding: 8px; box-shadow: var(--ibs-shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ibs-ease), transform .22s var(--ibs-ease), visibility .22s;
}
/* Invisible bridge over the 8px gap so moving from the button to the menu keeps hover. */
.ibs-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.ibs-navlinks > li:hover .ibs-dropdown, .ibs-dropdown.is-open { opacity: 1; visibility: visible; transform: none; }
.ibs-dropdown a { display: block; padding: 11px 14px; border-radius: 9px; font-size: .92rem; color: var(--ibs-cream-dim); transition: background .18s, color .18s; }
.ibs-dropdown a:hover { background: rgba(200, 145, 83, .14); color: #fff; }
.ibs-nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.ibs-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ibs-line-strong); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; position: relative; }
.ibs-burger span, .ibs-burger span::before, .ibs-burger span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ibs-cream); transform: translate(-50%, -50%); transition: transform .3s var(--ibs-ease), opacity .2s; }
.ibs-burger span::before { transform: translate(-50%, -8px); }
.ibs-burger span::after { transform: translate(-50%, 6px); }
.ibs-burger.is-open span { background: transparent; }
.ibs-burger.is-open span::before { transform: translate(-50%, 0) rotate(45deg); background: var(--ibs-gold); }
.ibs-burger.is-open span::after { transform: translate(-50%, -1px) rotate(-45deg); background: var(--ibs-gold); }

/* Mobile drawer */
.ibs-mobile {
  position: fixed; inset: var(--ibs-header-h) 0 0 0; z-index: 899;
  background: var(--ibs-ink); border-top: 1px solid var(--ibs-line);
  padding: 22px; overflow-y: auto;
  transform: translateX(100%); transition: transform .38s var(--ibs-ease); visibility: hidden;
}
.ibs-mobile.is-open { transform: none; visibility: visible; }
.ibs-mobile a { display: block; padding: 15px 6px; font-size: 1.1rem; border-bottom: 1px solid var(--ibs-line); color: var(--ibs-cream); }
.ibs-mobile a.sub { padding-left: 22px; font-size: 1rem; color: var(--ibs-cream-dim); }
.ibs-mobile .ibs-mobile__label { font-family: var(--ibs-font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ibs-gold); padding: 18px 6px 6px; }
.ibs-mobile .ibs-btn { margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ibs-hero { position: relative; background: var(--ibs-ink); overflow: clip; padding: clamp(60px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.ibs-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ibs-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.ibs-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 80% 0%, transparent 30%, rgba(20,17,14,.65) 75%, var(--ibs-ink) 100%), linear-gradient(180deg, rgba(20,17,14,.35), rgba(20,17,14,.85)); }
.ibs-hero__inner { position: relative; z-index: 2; }
.ibs-hero__kicker { font-family: var(--ibs-font-mono); font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ibs-gold); margin-bottom: 22px; }
.ibs-hero__title { font-size: clamp(3.2rem, 12vw, 10rem); }
.ibs-hero__title .ln { display: block; overflow: hidden; }
.ibs-hero__title .ln > span { display: block; transition: transform .9s var(--ibs-ease); }
.ibs-js .ibs-hero__title .ln > span { transform: translateY(105%); }
.ibs-hero.is-in .ibs-hero__title .ln > span { transform: none; }
.ibs-hero__title .ln:nth-child(2) > span { transition-delay: .1s; }
.ibs-hero__title .ln:nth-child(3) > span { transition-delay: .2s; }
.ibs-hero__title em { font-style: normal; color: var(--ibs-gold); }
.ibs-hero__sub { margin-top: 26px; max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ibs-cream-dim); }
.ibs-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ibs-hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--ibs-line); }
.ibs-hero__meta div { line-height: 1.1; }
.ibs-hero__meta b { font-family: var(--ibs-font-display); font-size: 1.9rem; color: #fff; display: block; }
.ibs-hero__meta span { font-family: var(--ibs-font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ibs-gold); }

/* ==========================================================================
   Section header helper
   ========================================================================== */
.ibs-shead { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.ibs-shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.ibs-shead--center .ibs-eyebrow { justify-content: center; }

/* ---- Stats band ---- */
.ibs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ibs-line); border: 1px solid var(--ibs-line); border-radius: var(--ibs-radius-lg); overflow: hidden; }
.ibs-stat { background: var(--ibs-ink); padding: 34px 24px; text-align: center; }
.ibs-stat b { font-family: var(--ibs-font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--ibs-gold); display: block; line-height: 1; }
.ibs-stat span { font-family: var(--ibs-font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ibs-cream-dim); margin-top: 12px; display: block; }

/* ---- Trusted-by logos ---- */
.ibs-trusted { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.ibs-trusted__item { font-family: var(--ibs-font-display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, 1.8vw, 1.5rem); color: var(--ibs-cream-dim); opacity: .8; transition: opacity .3s, color .3s; }
.ibs-trusted__item:hover { opacity: 1; color: var(--ibs-gold); }

/* ---- Generic cards / feature grid ---- */
.ibs-grid { display: grid; gap: 22px; }
.ibs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ibs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ibs-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ibs-card { background: var(--ibs-ink-2); border: 1px solid var(--ibs-line); border-radius: var(--ibs-radius-lg); padding: 30px; transition: transform .35s var(--ibs-ease), border-color .35s var(--ibs-ease); }
.ibs-card:hover { transform: translateY(-5px); border-color: rgba(200, 145, 83, .4); }
.ibs-card__num { font-family: var(--ibs-font-mono); color: var(--ibs-gold); font-size: .82rem; letter-spacing: .12em; }
.ibs-card h3 { margin-top: 14px; color: #fff; }
.ibs-card p { color: var(--ibs-cream-dim); margin-bottom: 0; font-size: .98rem; }
.ibs-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--ibs-gold); }
.ibs-card__link .ibs-btn__arrow { transition: transform .3s var(--ibs-ease); }
.ibs-card:hover .ibs-card__link .ibs-btn__arrow { transform: translateX(5px); }

/* ---- Package cards ---- */
.ibs-pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
/* Give the packages section top room so the featured "MOST POPULAR" flag (top:-13px)
   is not clipped by the section's overflow:clip, and cards clear the fixed header. */
.ibs-section:has(.ibs-pkgs) { padding-top: 44px !important; }
.ibs-pkg { position: relative; background: var(--ibs-ink-2); border: 1px solid var(--ibs-line); border-radius: var(--ibs-radius-lg); padding: 34px 30px; display: flex; flex-direction: column; transition: transform .35s var(--ibs-ease), border-color .35s var(--ibs-ease); }
.ibs-pkg:hover { transform: translateY(-6px); border-color: rgba(200, 145, 83, .45); }
.ibs-pkg--featured { border-color: var(--ibs-gold); background: linear-gradient(180deg, rgba(200,145,83,.1), var(--ibs-ink-2) 40%); box-shadow: var(--ibs-shadow-soft); }
.ibs-pkg__flag { position: absolute; top: -13px; left: 30px; background: var(--ibs-gold); color: #17120b; font-family: var(--ibs-font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.ibs-pkg__name { font-family: var(--ibs-font-display); text-transform: uppercase; font-size: 1.55rem; line-height: 1; }
.ibs-pkg__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.ibs-pkg__price b { font-family: var(--ibs-font-display); font-size: 3.4rem; color: var(--ibs-gold); line-height: 1; }
.ibs-pkg__price span { font-family: var(--ibs-font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--ibs-cream-dim); text-transform: uppercase; }
.ibs-pkg__desc { color: var(--ibs-cream-dim); font-size: .96rem; margin-bottom: 22px; }
.ibs-pkg__list { display: grid; gap: 11px; margin-bottom: 26px; }
.ibs-pkg__list li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ibs-cream); }
.ibs-pkg__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(200,145,83,.16); }
.ibs-pkg__list li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 8px; border-right: 2px solid var(--ibs-gold); border-bottom: 2px solid var(--ibs-gold); transform: rotate(40deg); }
.ibs-pkg .ibs-btn { margin-top: auto; }

/* ==========================================================================
   The Tab - live receipt-style estimator (signature element)
   ========================================================================== */
.ibs-tab-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.ibs-tab-controls { display: grid; gap: 26px; }
.ibs-field__label { font-family: var(--ibs-font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ibs-gold); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.ibs-seg { display: grid; gap: 10px; }
.ibs-seg--row { grid-auto-flow: column; grid-auto-columns: 1fr; }
.ibs-opt { position: relative; display: block; cursor: pointer; }
.ibs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ibs-opt__box { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--ibs-line-strong); border-radius: 12px; background: var(--ibs-ink-2); transition: border-color .2s, background .2s, transform .2s; }
.ibs-opt:hover .ibs-opt__box { border-color: rgba(200,145,83,.5); }
.ibs-opt input:checked + .ibs-opt__box { border-color: var(--ibs-gold); background: rgba(200,145,83,.12); }
.ibs-opt input:focus-visible + .ibs-opt__box { outline: 3px solid var(--ibs-gold-bright); outline-offset: 2px; }
.ibs-opt__box b { font-weight: 600; font-size: .98rem; }
.ibs-opt__box small { display: block; color: var(--ibs-cream-dim); font-size: .8rem; font-weight: 400; margin-top: 2px; }
.ibs-opt__price { font-family: var(--ibs-font-mono); font-size: .9rem; color: var(--ibs-gold); white-space: nowrap; }

.ibs-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--ibs-line-strong); border-radius: 12px; overflow: hidden; background: var(--ibs-ink-2); }
.ibs-stepper button { width: 52px; border: 0; background: transparent; color: var(--ibs-gold); font-size: 1.5rem; cursor: pointer; transition: background .2s; font-family: var(--ibs-font-mono); }
.ibs-stepper button:hover { background: rgba(200,145,83,.14); }
.ibs-stepper input { width: 96px; text-align: center; border: 0; border-left: 1px solid var(--ibs-line); border-right: 1px solid var(--ibs-line); background: transparent; color: #fff; font-family: var(--ibs-font-mono); font-size: 1.15rem; -moz-appearance: textfield; }
.ibs-stepper input::-webkit-outer-spin-button, .ibs-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ibs-spirits { display: grid; gap: 12px; }
.ibs-spirit { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.ibs-spirit__n { font-family: var(--ibs-font-mono); font-size: .78rem; color: var(--ibs-cream-dim); width: 62px; }
.ibs-spirit select { width: 100%; padding: 13px 14px; border: 1px solid var(--ibs-line-strong); border-radius: 10px; background: var(--ibs-ink-2); color: #fff; font-family: var(--ibs-font-body); font-size: .95rem; cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ibs-gold) 50%), linear-gradient(135deg, var(--ibs-gold) 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.ibs-spirits[hidden] { display: none; }
.ibs-toggle { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--ibs-line-strong); border-radius: 12px; background: var(--ibs-ink-2); cursor: pointer; }
.ibs-toggle input { width: 20px; height: 20px; accent-color: var(--ibs-gold); }

/* Receipt */
.ibs-tab { position: sticky; top: calc(var(--ibs-header-h) + 20px); background: var(--ibs-cream); color: var(--ibs-ink); border-radius: 16px; padding: 8px; box-shadow: var(--ibs-shadow); }
.ibs-tab__paper { background: var(--ibs-cream); border-radius: 12px; padding: 26px 24px 30px; position: relative; }
.ibs-tab__paper::before, .ibs-tab__paper::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background-image: radial-gradient(circle at 6px 10px, transparent 6px, var(--ibs-cream) 6px); background-size: 16px 10px; background-position: 0 0; }
.ibs-tab__paper::before { top: -8px; background-image: radial-gradient(circle at 6px 0, transparent 6px, var(--ibs-cream) 6px); }
.ibs-tab__paper::after { bottom: -8px; }
.ibs-tab__head { text-align: center; border-bottom: 2px dashed rgba(20,17,14,.25); padding-bottom: 16px; margin-bottom: 16px; }
.ibs-tab__head b { font-family: var(--ibs-font-display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .02em; }
.ibs-tab__head span { display: block; font-family: var(--ibs-font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #7a715f; margin-top: 4px; }
.ibs-tab__lines { font-family: var(--ibs-font-mono); font-size: .86rem; }
.ibs-tab__line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: #3f382c; }
.ibs-tab__line span:first-child { color: #6b6252; }
.ibs-tab__line.is-muted { color: #9a9080; }
.ibs-tab__line b { font-weight: 700; color: var(--ibs-ink); }
.ibs-tab__sep { border: 0; border-top: 2px dashed rgba(20,17,14,.25); margin: 12px 0; }
.ibs-tab__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.ibs-tab__total span { font-family: var(--ibs-font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #6b6252; }
.ibs-tab__total b { font-family: var(--ibs-font-display); font-size: 2.6rem; color: var(--ibs-ink); line-height: 1; }
.ibs-tab__per { text-align: right; font-family: var(--ibs-font-mono); font-size: .78rem; color: #7a715f; margin-top: 4px; }
.ibs-tab__note { font-family: var(--ibs-font-body); font-size: .78rem; color: #7a715f; text-align: center; margin-top: 18px; line-height: 1.5; }
.ibs-tab .ibs-btn { margin-top: 18px; }
.ibs-flash { animation: ibs-flash .5s var(--ibs-ease); }
@keyframes ibs-flash { 0% { color: var(--ibs-wine); } 100% {} }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.ibs-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ibs-quote { background: var(--ibs-ink-2); border: 1px solid var(--ibs-line); border-radius: var(--ibs-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ibs-quote__stars { color: var(--ibs-gold); letter-spacing: 3px; font-size: 1rem; }
.ibs-quote p { color: var(--ibs-cream); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.ibs-quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ibs-quote__av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--ibs-gold), var(--ibs-wine)); display: flex; align-items: center; justify-content: center; font-family: var(--ibs-font-display); color: #17120b; font-size: 1.05rem; flex: none; }
.ibs-quote__by b { font-size: .95rem; color: #fff; display: block; }
.ibs-quote__by span { font-family: var(--ibs-font-mono); font-size: .72rem; color: var(--ibs-cream-dim); letter-spacing: .06em; }

/* ==========================================================================
   Split feature (image + text)
   ========================================================================== */
.ibs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ibs-split--flip .ibs-split__media { order: 2; }
.ibs-split__media { border-radius: var(--ibs-radius-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--ibs-ink-2); }
.ibs-split__media img { width: 100%; height: 100%; object-fit: cover; }
.ibs-checklist { display: grid; gap: 14px; margin-top: 20px; }
.ibs-checklist li { position: relative; padding-left: 34px; color: var(--ibs-cream-dim); }
.ibs-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(200,145,83,.16); }
.ibs-checklist li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 10px; border-right: 2px solid var(--ibs-gold); border-bottom: 2px solid var(--ibs-gold); transform: rotate(40deg); }
.ibs-section--cream .ibs-checklist li { color: #5b5344; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.ibs-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.ibs-gallery__item { position: relative; overflow: hidden; border-radius: var(--ibs-radius); background: var(--ibs-ink-2); }
.ibs-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ibs-ease); }
.ibs-gallery__item:hover img { transform: scale(1.06); }
.ibs-gallery__item.tall { grid-row: span 2; }
.ibs-gallery__item.wide { grid-column: span 2; }

/* ==========================================================================
   FAQ accordion (details/summary, no JS required)
   ========================================================================== */
.ibs-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.ibs-faq details { border: 1px solid var(--ibs-line); border-radius: var(--ibs-radius); background: var(--ibs-ink-2); overflow: hidden; }
.ibs-faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 1.08rem; color: #fff; }
.ibs-faq summary::-webkit-details-marker { display: none; }
.ibs-faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.ibs-faq summary .plus::before, .ibs-faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ibs-gold); transition: transform .3s var(--ibs-ease); }
.ibs-faq summary .plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.ibs-faq summary .plus::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.ibs-faq details[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.ibs-faq__body { padding: 0 24px 22px; color: var(--ibs-cream-dim); }

/* ==========================================================================
   Drink inventory menu
   ========================================================================== */
.ibs-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 44px; }
.ibs-menu__col { break-inside: avoid; }
.ibs-menu__cat { font-family: var(--ibs-font-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ibs-gold); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--ibs-line); }
.ibs-menu__item { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .96rem; color: var(--ibs-cream); }
.ibs-menu__item span { color: var(--ibs-cream-dim); font-family: var(--ibs-font-mono); font-size: .82rem; text-align: right; }

/* ==========================================================================
   Gravity Forms - "receipt" restyle (wrap the shortcode in .ibs-gf).
   Re-themes the GF 2.9 orbital framework via its CSS variables, plus explicit
   overrides for full contrast on the dark site.
   ========================================================================== */
.ibs-gf .gform_wrapper { font-family: var(--ibs-font-body); color: var(--ibs-cream); }
.ibs-gf .gform-theme--orbital, .ibs-gf .gform_wrapper.gform-theme {
  --gf-color-primary: var(--ibs-gold);
  --gf-color-primary-rgb: 200, 145, 83;
  --gf-color-primary-contrast: #17120b;
  --gf-color-primary-darker: var(--ibs-gold-bright);
  --gf-color-primary-lighter: var(--ibs-gold-bright);
  --gf-color-secondary: var(--ibs-ink-2);
  --gf-color-secondary-contrast: var(--ibs-cream);
  --gf-color-out-ctrl-light: var(--ibs-ink-2);
  --gf-color-out-ctrl-dark: var(--ibs-cream);
  --gf-ctrl-bg-color: var(--ibs-ink-2);
  --gf-ctrl-border-color: var(--ibs-line-strong);
  --gf-ctrl-border-color-hover: var(--ibs-gold);
  --gf-ctrl-border-color-focus: var(--ibs-gold);
  --gf-ctrl-color: #fff;
  --gf-ctrl-label-color-primary: var(--ibs-cream);
  --gf-ctrl-label-color-secondary: var(--ibs-cream-dim);
  --gf-local-color-primary: var(--ibs-gold);
}
.ibs-gf .gform_title { font-family: var(--ibs-font-display); text-transform: uppercase; color: #fff; font-size: 2rem; }

/* Labels, sub-labels, descriptions, required indicator */
.ibs-gf .gfield_label, .ibs-gf .gform-field-label {
  color: var(--ibs-cream) !important; font-weight: 600 !important; font-size: .84rem !important;
  letter-spacing: .01em; text-transform: none;
}
.ibs-gf .gform-field-label--type-sub, .ibs-gf .gform-field-label--type-sub-large {
  color: var(--ibs-cream-dim) !important; font-weight: 400 !important; text-transform: none; letter-spacing: 0; font-size: .78rem !important;
}
.ibs-gf .gfield_required, .ibs-gf .gfield_required_text { color: var(--ibs-gold) !important; }
.ibs-gf .gfield_description, .ibs-gf .gform_fileupload_rules { color: var(--ibs-cream-dim) !important; font-size: .85rem; }

/* Inputs / selects / textareas */
.ibs-gf input[type=text], .ibs-gf input[type=email], .ibs-gf input[type=tel], .ibs-gf input[type=number], .ibs-gf input[type=url], .ibs-gf select, .ibs-gf textarea {
  width: 100% !important; background: var(--ibs-ink-2) !important; border: 1px solid var(--ibs-line-strong) !important;
  border-radius: 10px !important; color: #fff !important; padding: 13px 15px !important; font-size: 1rem !important; font-family: var(--ibs-font-body) !important;
  transition: border-color .2s, box-shadow .2s; box-shadow: none !important;
}
.ibs-gf input:focus, .ibs-gf select:focus, .ibs-gf textarea:focus { border-color: var(--ibs-gold) !important; box-shadow: 0 0 0 3px rgba(200,145,83,.2) !important; outline: none !important; }
.ibs-gf ::placeholder { color: #8a8172; opacity: 1; }
.ibs-gf select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ibs-gold) 50%), linear-gradient(135deg, var(--ibs-gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
/* Selects: the orbital theme sets height:38px/line-height:38px; combined with our
   padding that clips the chosen value. Let the select size to its text, and keep the
   value clear of the custom arrow on the right. */
.ibs-gf select { height: auto !important; min-height: 50px; line-height: 1.4 !important; padding: 12px 42px 12px 15px !important; }
/* International phone: pad the input clear of the intl-tel-input flag container. */
.ibs-gf .iti { width: 100%; display: block; }
.ibs-gf input[type=tel] { padding-left: 52px !important; }
/* Product field: hide GF's "Price:" prefix so only the receipt total reads. */
.ibs-gf .ginput_product_price_label, .ibs-gf .gfield--type-product .ginput_price { display: none !important; }

/* Radios / checkboxes */
.ibs-gf .gchoice { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.ibs-gf .gchoice label, .ibs-gf .gfield_radio label, .ibs-gf .gfield_checkbox label { color: var(--ibs-cream) !important; font-weight: 500; }
.ibs-gf input[type=radio], .ibs-gf input[type=checkbox] { accent-color: var(--ibs-gold); width: 18px; height: 18px; flex: none; }

/* Buttons */
.ibs-gf .gform_button, .ibs-gf .gform_next_button, .ibs-gf .gform_previous_button, .ibs-gf .gform-button {
  background: var(--ibs-gold) !important; color: #17120b !important; border: 0 !important; border-radius: 999px !important;
  padding: 15px 30px !important; font-weight: 600 !important; font-family: var(--ibs-font-body) !important; cursor: pointer; transition: background .2s, transform .2s;
}
.ibs-gf .gform_button:hover, .ibs-gf .gform_next_button:hover { background: var(--ibs-gold-bright) !important; transform: translateY(-2px); }
.ibs-gf .gform_previous_button { background: transparent !important; color: var(--ibs-cream) !important; border: 1px solid var(--ibs-line-strong) !important; }

/* Multi-page progress bar (gold, not teal) */
.ibs-gf .gf_progressbar_wrapper { color: var(--ibs-cream-dim); }
.ibs-gf .gf_progressbar_title { color: var(--ibs-cream-dim) !important; font-family: var(--ibs-font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.ibs-gf .gf_progressbar { background: var(--ibs-ink-3) !important; border-radius: 999px; overflow: hidden; }
.ibs-gf .gf_progressbar_percentage { background: var(--ibs-gold) !important; background-image: none !important; border-radius: 999px; }
.ibs-gf .gf_progressbar_percentage span { color: #17120b !important; }

/* Validation */
.ibs-gf .gfield_error input, .ibs-gf .gfield_error select, .ibs-gf .gfield_error textarea { border-color: #c96 !important; }
.ibs-gf .validation_message, .ibs-gf .gfield_validation_message { color: #e3a06b !important; background: transparent !important; border: 0 !important; }
.ibs-gf .gform_validation_errors { background: rgba(110,42,46,.18) !important; border: 1px solid var(--ibs-wine) !important; border-radius: 12px; }
.ibs-gf .gform_validation_errors * { color: var(--ibs-cream) !important; }

/* Estimated Total (calculated product field) -> receipt panel with a big total */
.ibs-gf .gfield--type-product {
  background: var(--ibs-cream) !important; border-radius: 16px; padding: 24px 26px; margin-top: 10px;
  box-shadow: var(--ibs-shadow-soft);
}
.ibs-gf .gfield--type-product .gfield_label, .ibs-gf .gfield--type-product .gform-field-label {
  color: #6b6252 !important; font-family: var(--ibs-font-mono) !important; font-size: .72rem !important;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px;
}
.ibs-gf .gfield--type-product .gfield_price,
.ibs-gf .gfield--type-product .ginput_product_price,
.ibs-gf .gfield--type-product .ginput_container_product_calculation {
  font-family: var(--ibs-font-display) !important; font-size: clamp(2.2rem, 5vw, 3rem) !important;
  color: var(--ibs-ink) !important; line-height: 1;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.ibs-cta { text-align: center; position: relative; background: linear-gradient(180deg, var(--ibs-ink-2), var(--ibs-ink)); }
.ibs-cta__title { font-size: clamp(2.4rem, 6vw, 5rem); }
.ibs-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ibs-footer { background: #100d09; border-top: 1px solid var(--ibs-line); padding: clamp(56px, 7vw, 88px) 0 30px; color: var(--ibs-cream-dim); }
.ibs-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--ibs-line); }
.ibs-footer__brand .ibs-logo { margin-bottom: 18px; }
.ibs-footer__logo { display: inline-block; margin-bottom: 20px; }
.ibs-footer__logo img { height: 104px; width: auto; }
.ibs-footer p { font-size: .94rem; }
.ibs-footer h4 { font-family: var(--ibs-font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ibs-gold); margin: 0 0 18px; }
.ibs-footer__links { display: grid; gap: 11px; }
.ibs-footer__links a { font-size: .94rem; transition: color .2s; }
.ibs-footer__links a:hover { color: #fff; }
.ibs-footer__contact a { display: block; margin-bottom: 10px; font-size: .94rem; }
.ibs-footer__contact a:hover { color: var(--ibs-gold); }
.ibs-social { display: flex; gap: 12px; margin-top: 18px; }
.ibs-social a { width: 42px; height: 42px; border: 1px solid var(--ibs-line-strong); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--ibs-cream); transition: border-color .2s, background .2s, color .2s; }
.ibs-social a:hover { border-color: var(--ibs-gold); background: rgba(200,145,83,.12); color: var(--ibs-gold); }
.ibs-social svg { width: 19px; height: 19px; fill: currentColor; }
.ibs-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--ibs-line-strong); border-radius: 12px; margin-top: 20px; }
.ibs-badge b { color: #fff; font-size: .9rem; }
.ibs-badge span { font-family: var(--ibs-font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--ibs-cream-dim); }
.ibs-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .82rem; }
.ibs-footer__bottom a:hover { color: #fff; }
.ibs-footer__legal { max-width: 720px; font-size: .76rem; color: #6b6252; margin-top: 18px; line-height: 1.6; }

/* ==========================================================================
   Exit-intent popup
   ========================================================================== */
.ibs-popup { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ibs-ease), visibility .35s; }
.ibs-popup.is-open { opacity: 1; visibility: visible; }
.ibs-popup__overlay { position: absolute; inset: 0; background: rgba(8, 6, 4, .72); backdrop-filter: blur(4px); }
.ibs-popup__panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px; background: var(--ibs-ink-2);
  border: 1px solid var(--ibs-gold); border-radius: 24px; padding: 46px 40px; text-align: center;
  box-shadow: var(--ibs-shadow); transform: translateY(18px) scale(.98); transition: transform .4s var(--ibs-ease);
  overflow: hidden;
}
.ibs-popup.is-open .ibs-popup__panel { transform: none; }
.ibs-popup__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(200,145,83,.18), transparent 70%); pointer-events: none; }
.ibs-popup__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ibs-line-strong); background: transparent; color: var(--ibs-cream); cursor: pointer; font-size: 1.2rem; transition: background .2s, color .2s; }
.ibs-popup__close:hover { background: rgba(245,239,227,.08); color: #fff; }
.ibs-popup__eyebrow { font-family: var(--ibs-font-mono); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ibs-gold); }
.ibs-popup__title { font-family: var(--ibs-font-display); text-transform: uppercase; font-size: clamp(2rem, 5vw, 2.9rem); line-height: .98; color: #fff; margin: 14px 0 12px; }
.ibs-popup__title em { font-style: normal; color: var(--ibs-gold); }
.ibs-popup__text { color: var(--ibs-cream-dim); max-width: 40ch; margin: 0 auto 26px; }
.ibs-popup__actions { display: flex; flex-direction: column; gap: 12px; }
.ibs-popup__mini { font-family: var(--ibs-font-mono); font-size: .74rem; color: var(--ibs-cream-dim); }
.ibs-popup__mini a { color: var(--ibs-gold); }

/* ==========================================================================
   Contact widget (Text / Call) - injected by ibs.js, replaces the legacy .ctw-v1
   ========================================================================== */
.ibs-cw, .ibs-cw__mini { position: fixed; bottom: 20px; right: 20px; z-index: 850; }
.ibs-cw {
  display: flex; align-items: center; gap: 8px; padding: 8px;
  background: rgba(20, 17, 14, .72); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid var(--ibs-line-strong); border-radius: 16px; box-shadow: var(--ibs-shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.96);
  transition: opacity .35s var(--ibs-ease), transform .35s var(--ibs-ease), visibility .35s;
}
.ibs-cw.is-in { opacity: 1; visibility: visible; transform: none; }
.ibs-cw.is-attn { animation: ibs-cw-attn 1.4s ease-in-out .2s 2; }
@keyframes ibs-cw-attn { 0%, 100% { box-shadow: var(--ibs-shadow-soft); } 50% { box-shadow: 0 0 0 4px rgba(200, 145, 83, .35), var(--ibs-shadow-soft); } }
.ibs-cw__btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ibs-font-body); font-weight: 600;
  font-size: .95rem; letter-spacing: .01em; padding: 11px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  text-decoration: none; transition: transform .2s var(--ibs-ease), background .2s, color .2s, border-color .2s;
}
.ibs-cw__btn:hover { transform: translateY(-2px); }
.ibs-cw__btn--gold { background: var(--ibs-gold); color: #17120b; }
.ibs-cw__btn--gold:hover { background: var(--ibs-gold-bright); color: #17120b; }
.ibs-cw__btn--ghost { background: transparent; color: var(--ibs-cream); border: 1px solid var(--ibs-line-strong); }
.ibs-cw__btn--ghost:hover { border-color: var(--ibs-gold); color: #fff; background: rgba(245, 239, 227, .05); }
.ibs-cw__ico { display: inline-flex; }
.ibs-cw__ico svg { width: 17px; height: 17px; }
.ibs-cw__min {
  position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ibs-ink-3); color: var(--ibs-cream); border: 1px solid var(--ibs-line-strong); cursor: pointer;
  font-size: 1.1rem; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0;
  transition: background .2s, color .2s;
}
.ibs-cw__min:hover { background: var(--ibs-gold); color: #17120b; }
.ibs-cw__mini {
  width: 58px; height: 58px; border-radius: 50%; background: var(--ibs-gold); color: #17120b; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--ibs-shadow-soft);
  opacity: 0; visibility: hidden; transform: scale(.5);
  transition: transform .25s var(--ibs-ease), background .2s, box-shadow .2s, opacity .25s, visibility .25s;
}
.ibs-cw__mini.is-in { opacity: 1; visibility: visible; transform: none; }
.ibs-cw__mini:hover { transform: scale(1.08); background: var(--ibs-gold-bright); }
.ibs-cw__mini svg { width: 26px; height: 26px; }
/* Hide the floating widget while the mobile menu is open (fixes the overlap). */
body.ibs-menu-open .ibs-cw, body.ibs-menu-open .ibs-cw__mini { display: none !important; }
/* Retire the legacy contact widget (replaced by .ibs-cw). */
.ctw-v1-container, .ctw-v1-mini, #ctw-v1-widget, #ctw-v1-mini { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .ibs-tab-wrap { grid-template-columns: 1fr; }
  .ibs-tab { position: static; }
  .ibs-pkgs { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ibs-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ibs-quotes { grid-template-columns: 1fr 1fr; }
  .ibs-menu { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ibs-navlinks, .ibs-nav__cta .ibs-btn { display: none; }
  .ibs-burger { display: block; }
  .ibs-split { grid-template-columns: 1fr; }
  .ibs-split--flip .ibs-split__media { order: 0; }
  .ibs-stats { grid-template-columns: 1fr 1fr; }
  .ibs-footer__top { grid-template-columns: 1fr 1fr; }
  .ibs-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ibs-gallery__item.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .ibs { font-size: 16px; }
  .ibs-grid--2, .ibs-grid--3, .ibs-grid--4 { grid-template-columns: 1fr; }
  .ibs-quotes { grid-template-columns: 1fr; }
  .ibs-menu { grid-template-columns: 1fr; }
  .ibs-footer__top { grid-template-columns: 1fr; }
  .ibs-hero__meta b { font-size: 1.5rem; }
  .ibs-seg--row { grid-auto-flow: row; }
  .ibs-popup__panel { padding: 40px 24px; }
  .ibs-cw { left: 14px; right: 14px; bottom: 14px; justify-content: center; }
  .ibs-cw__mini { right: 14px; bottom: 14px; }
  .ibs-cw__btn { font-size: .9rem; padding: 10px 15px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .ibs *, .ibs *::before, .ibs *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .ibs-js .ibs-reveal { opacity: 1 !important; transform: none !important; }
  .ibs-js .ibs-hero__title .ln > span { transform: none !important; }
}

/* ==========================================================================
   Page wrapper: full-bleed + hard reset (placed last so it wins over any
   component class whose name collides with a page slug, e.g. a page wrapped in
   .ibs-faq or .ibs-quote must not inherit the accordion/testimonial styling).
   body has overflow:hidden, so the 100vw math cannot cause horizontal scroll.
   ========================================================================== */
.ibs-page {
  display: block; max-width: none;
  background: transparent; border: 0; border-radius: 0; padding: 0;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
