/* =========================================================================
   Imperial Peak Resort & Casino — design system
   Rocky Mountain gold-mining-town palette: espresso-brown base, hammered
   copper accent, cool stone-gray secondary. Slab-serif headings paired
   with a wide, industrial accent face for small labels, and a plain
   system sans for body copy (no web fonts, no CDN). Visual signature:
   beveled "cut-stone" card corners (clip-path) and a small copper rivet
   mark used in place of a divider glyph. Hand-written, no framework.
   ========================================================================= */

:root {
  --ipk-bg-950: #120d09;
  --ipk-bg-900: #1b140d;
  --ipk-bg-800: #241b12;
  --ipk-bg-700: #302419;
  --ipk-bg-600: #3d2e1f;
  --ipk-line: rgba(197, 125, 62, 0.16);
  --ipk-line-strong: rgba(197, 125, 62, 0.34);
  --ipk-copper: #bc6a34;
  --ipk-copper-light: #dd9159;
  --ipk-copper-dark: #7e451f;
  --ipk-stone: #8d8577;
  --ipk-stone-light: #aba295;
  --ipk-white: #ffffff;
  --ipk-cream: #f2e9da;
  --ipk-ash-100: #e6dfd1;
  --ipk-ash-300: #c3bbaa;
  --ipk-ash-500: #948b79;
  --ipk-ash-600: #6f6858;

  --ipk-font-display: Rockwell, 'Roboto Slab', Cambria, Georgia, 'Times New Roman', serif;
  --ipk-font-accent: 'Copperplate', 'Copperplate Gothic Bold', 'Arial Narrow', Tahoma, sans-serif;
  --ipk-font-body: Tahoma, Verdana, 'Segoe UI', Arial, sans-serif;

  --ipk-wrap-w: 1180px;
  --ipk-cut: 16px;
  --ipk-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.45);
  --ipk-shadow-md: 0 16px 34px rgba(0, 0, 0, 0.5);
  --ipk-shadow-glow: 0 14px 32px rgba(188, 106, 52, 0.22);
  --ipk-ease: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ipk-body {
  margin: 0;
  font-family: var(--ipk-font-body);
  color: var(--ipk-ash-300);
  background: var(--ipk-bg-900);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--ipk-font-display);
  color: var(--ipk-cream);
  line-height: 1.18;
  margin: 0 0 0.55em;
  font-weight: 700;
}
p { margin: 0 0 1em; color: var(--ipk-ash-300); }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.ipk-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ipk-copper);
  color: var(--ipk-bg-950);
  padding: 0.7em 1.2em;
  z-index: 1000;
  font-weight: 700;
}
.ipk-skip:focus { left: 12px; top: 12px; }

.ipk-wrap { max-width: var(--ipk-wrap-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.ipk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--ipk-font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ipk-ease), border-color var(--ipk-ease), color var(--ipk-ease), transform var(--ipk-ease);
}
.ipk-btn--primary { background: var(--ipk-copper); color: var(--ipk-bg-950); }
.ipk-btn--primary:hover { background: var(--ipk-copper-light); transform: translateY(-1px); }
.ipk-btn--ghost { border-color: var(--ipk-line-strong); color: var(--ipk-cream); }
.ipk-btn--ghost:hover { border-color: var(--ipk-copper-light); color: var(--ipk-copper-light); }
.ipk-btn--panel { background: var(--ipk-bg-700); color: var(--ipk-cream); border-color: var(--ipk-line-strong); }
.ipk-btn--panel:hover { border-color: var(--ipk-copper); color: var(--ipk-copper-light); }
.ipk-btn--block { width: 100%; }

/* ---------- Header ---------- */
.ipk-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(18, 13, 9, 0.94);
  border-bottom: 1px solid var(--ipk-line);
  backdrop-filter: saturate(140%) blur(6px);
}
.ipk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
}
.ipk-brand { display: flex; align-items: center; gap: 12px; }
.ipk-brand__mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ipk-copper);
  color: var(--ipk-bg-950);
  font-family: var(--ipk-font-accent);
  font-weight: 700;
  font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.ipk-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.ipk-brand__name { font-family: var(--ipk-font-display); font-weight: 700; font-size: 1.14rem; color: var(--ipk-cream); }
.ipk-brand__tag { font-family: var(--ipk-font-accent); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ipk-stone-light); }

.ipk-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.ipk-nav-toggle span { display: block; height: 2px; background: var(--ipk-cream); transition: transform var(--ipk-ease), opacity var(--ipk-ease); }
.ipk-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ipk-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.ipk-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ipk-nav { display: flex; align-items: center; gap: 22px; }
.ipk-nav__list { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ipk-nav__item a {
  font-family: var(--ipk-font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ipk-ash-300);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--ipk-ease), border-color var(--ipk-ease);
}
.ipk-nav__item a:hover, .ipk-nav__item.is-active a { color: var(--ipk-copper-light); border-color: var(--ipk-copper); }

/* Info rail beneath header: elevation / est. year / phone */
.ipk-infobar { background: var(--ipk-bg-950); border-bottom: 1px solid var(--ipk-line); }
.ipk-infobar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 8px 24px;
  font-family: var(--ipk-font-accent);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ipk-stone-light);
}
.ipk-infobar__inner a { color: var(--ipk-copper-light); }
.ipk-infobar__rivet { width: 4px; height: 4px; background: var(--ipk-copper); display: inline-block; }

/* ---------- Main ---------- */
.ipk-main { display: block; }

/* ---------- Hero ---------- */
.ipk-hero { padding: 74px 0 0; background: linear-gradient(180deg, var(--ipk-bg-900) 0%, var(--ipk-bg-800) 100%); }
.ipk-hero__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.ipk-hero__eyebrow {
  display: inline-block;
  font-family: var(--ipk-font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ipk-copper-light);
  margin-bottom: 14px;
}
.ipk-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 620px; }
.ipk-hero__lede { max-width: 560px; font-size: 1.05rem; color: var(--ipk-ash-300); }
.ipk-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.ipk-hero__badge {
  background: var(--ipk-bg-700);
  border: 1px solid var(--ipk-line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--ipk-shadow-md);
}
.ipk-hero__badge-num { display: block; font-family: var(--ipk-font-display); font-size: 2.4rem; color: var(--ipk-copper-light); line-height: 1; }
.ipk-hero__badge-unit { display: block; font-family: var(--ipk-font-accent); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ipk-stone-light); margin-top: 6px; }
.ipk-hero__badge-div { height: 1px; background: var(--ipk-line-strong); margin: 18px 0; }
.ipk-hero__badge-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 4px 0; }
.ipk-hero__badge-row span:first-child { color: var(--ipk-stone-light); }
.ipk-hero__badge-row span:last-child { color: var(--ipk-cream); font-weight: 700; }

/* Quick-check strip beneath hero */
.ipk-quickcheck { background: var(--ipk-bg-800); border-top: 1px solid var(--ipk-line); border-bottom: 1px solid var(--ipk-line); margin-top: 46px; }
.ipk-quickcheck__inner { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding: 20px 24px; }
.ipk-quickcheck__field { display: flex; flex-direction: column; gap: 5px; min-width: 140px; }
.ipk-quickcheck__field label { font-family: var(--ipk-font-accent); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ipk-stone-light); }
.ipk-quickcheck input, .ipk-quickcheck select {
  background: var(--ipk-bg-900);
  border: 1px solid var(--ipk-line-strong);
  color: var(--ipk-cream);
  padding: 10px 12px;
  font-family: var(--ipk-font-body);
  font-size: 0.9rem;
}
.ipk-quickcheck__submit { margin-left: auto; }

/* ---------- Stats rail ---------- */
.ipk-stats { border-bottom: 1px solid var(--ipk-line); }
.ipk-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ipk-stat { text-align: center; padding: 30px 12px; border-left: 1px solid var(--ipk-line); }
.ipk-stat:first-child { border-left: none; }
.ipk-stat__num { display: block; font-family: var(--ipk-font-display); font-size: 1.7rem; color: var(--ipk-copper-light); }
.ipk-stat__label { display: block; font-family: var(--ipk-font-accent); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ipk-stone-light); margin-top: 6px; }

/* ---------- Sections ---------- */
.ipk-section { padding: 68px 0; }
.ipk-section--alt { background: var(--ipk-bg-800); }
.ipk-section__head { max-width: 680px; margin-bottom: 40px; }
.ipk-section__head.ipk-text-center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.ipk-eyebrow { display: inline-block; font-family: var(--ipk-font-accent); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ipk-copper-light); }
.ipk-rule { display: block; width: 46px; height: 3px; background: var(--ipk-copper); margin: 12px 0 16px; position: relative; }
.ipk-rule::after { content: ''; position: absolute; left: 54px; top: -1.5px; width: 5px; height: 5px; background: var(--ipk-copper-dark); }
.ipk-section__head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.ipk-text-center { text-align: center; }

/* ---------- Grid / Cards ---------- */
.ipk-grid { display: grid; gap: 26px; }
.ipk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ipk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ipk-grid--4 { grid-template-columns: repeat(4, 1fr); }

.ipk-card {
  background: var(--ipk-bg-700);
  border: 1px solid var(--ipk-line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  padding: 30px 26px;
  transition: border-color var(--ipk-ease), transform var(--ipk-ease), box-shadow var(--ipk-ease);
}
.ipk-card:hover { border-color: var(--ipk-line-strong); transform: translateY(-3px); box-shadow: var(--ipk-shadow-sm); }
.ipk-card__mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ipk-bg-900);
  border: 1px solid var(--ipk-line-strong);
  color: var(--ipk-copper-light);
  font-family: var(--ipk-font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.ipk-card h3 { font-size: 1.14rem; }
.ipk-card p { font-size: 0.94rem; }
.ipk-card__link { display: inline-block; margin-top: 4px; font-family: var(--ipk-font-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ipk-copper-light); }
.ipk-card__link:hover { color: var(--ipk-cream); }

/* ---------- Heritage / two-col fact panel ---------- */
.ipk-two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.ipk-heritage__panel {
  background: var(--ipk-bg-900);
  border: 1px solid var(--ipk-line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  padding: 26px;
}
.ipk-heritage__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ipk-line); font-size: 0.9rem; }
.ipk-heritage__row:last-child { border-bottom: none; }
.ipk-heritage__row span:first-child { color: var(--ipk-stone-light); }
.ipk-heritage__row span:last-child { color: var(--ipk-cream); font-weight: 700; text-align: right; }

/* ---------- Feature rows (alternating amenities) ---------- */
.ipk-feature-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--ipk-line); }
.ipk-feature-row:last-child { border-bottom: none; }
.ipk-feature-row--reverse { grid-template-columns: 1.1fr 0.9fr; }
.ipk-feature-row--reverse .ipk-feature-row__media { order: 2; }
.ipk-feature-row__media {
  min-height: 220px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border: 1px solid var(--ipk-line-strong);
  position: relative;
}
.ipk-feature-row__media span { font-family: var(--ipk-font-accent); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ipk-cream); background: rgba(18, 13, 9, 0.55); padding: 6px 10px; }
.ipk-feature-row__num { font-family: var(--ipk-font-accent); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--ipk-copper-light); display: block; margin-bottom: 10px; }

.ipk-media--1 { background: linear-gradient(135deg, #7e451f, #241b12 70%); }
.ipk-media--2 { background: linear-gradient(135deg, #4a3524, #120d09 70%); }
.ipk-media--3 { background: linear-gradient(135deg, #5c4230, #1b140d 70%); }
.ipk-media--4 { background: linear-gradient(135deg, #6b4a26, #241b12 70%); }
.ipk-media--5 { background: linear-gradient(135deg, #3d2e1f, #120d09 70%); }
.ipk-media--6 { background: linear-gradient(135deg, #7e451f, #302419 70%); }

/* ---------- Bars ---------- */
.ipk-bars { display: flex; flex-direction: column; gap: 16px; }
.ipk-bar-row__label { display: flex; justify-content: space-between; font-size: 0.86rem; color: var(--ipk-ash-100); margin-bottom: 6px; }
.ipk-bar-track { height: 6px; background: var(--ipk-bg-900); overflow: hidden; }
.ipk-bar-fill { height: 100%; background: var(--ipk-copper); }
.ipk-bar-fill--stone { background: var(--ipk-stone); }

/* ---------- Steps (booking process, ticket-stub style) ---------- */
.ipk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ipk-step {
  background: var(--ipk-bg-700);
  border: 1px dashed var(--ipk-line-strong);
  padding: 24px 20px;
  position: relative;
}
.ipk-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--ipk-copper);
  color: var(--ipk-bg-950);
  font-family: var(--ipk-font-display);
  font-weight: 700;
  margin-bottom: 14px;
}
.ipk-step h3 { font-size: 1rem; }
.ipk-step p { font-size: 0.88rem; margin: 0; }

/* ---------- Testimonials ---------- */
.ipk-testimonial { background: var(--ipk-bg-700); border: 1px solid var(--ipk-line); padding: 26px; }
.ipk-stars { color: var(--ipk-copper-light); letter-spacing: 2px; display: block; margin-bottom: 12px; }
.ipk-testimonial p { font-size: 0.94rem; color: var(--ipk-ash-100); }
.ipk-testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ipk-avatar { width: 38px; height: 38px; background: var(--ipk-bg-900); border: 1px solid var(--ipk-line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--ipk-font-accent); font-size: 0.72rem; color: var(--ipk-copper-light); }
.ipk-testimonial__author div strong { display: block; color: var(--ipk-cream); font-size: 0.9rem; }
.ipk-testimonial__author div span { font-size: 0.78rem; color: var(--ipk-stone-light); }

/* ---------- Numbered list (dining teaser) ---------- */
.ipk-list-numbered { display: flex; flex-direction: column; }
.ipk-list-numbered__item { display: grid; grid-template-columns: 60px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ipk-line); }
.ipk-list-numbered__item:last-child { border-bottom: none; }
.ipk-list-numbered__num { font-family: var(--ipk-font-display); font-size: 1.6rem; color: var(--ipk-copper-dark); }
.ipk-list-numbered__item strong { display: block; color: var(--ipk-cream); font-size: 1.02rem; }
.ipk-list-numbered__item span.ipk-list-numbered__sub { color: var(--ipk-stone-light); font-size: 0.86rem; }

/* ---------- CTA ---------- */
.ipk-cta { padding: 64px 0; background: linear-gradient(135deg, var(--ipk-bg-700), var(--ipk-bg-900)); border-top: 1px solid var(--ipk-line-strong); border-bottom: 1px solid var(--ipk-line-strong); }
.ipk-cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.ipk-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Footer ---------- */
.ipk-footer { background: var(--ipk-bg-950); border-top: 1px solid var(--ipk-line); padding-top: 54px; }
.ipk-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.ipk-footer__brand p { font-size: 0.9rem; }
.ipk-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ipk-tag { font-family: var(--ipk-font-accent); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--ipk-line-strong); color: var(--ipk-stone-light); padding: 5px 10px; }
.ipk-footer__col h3 { font-size: 0.82rem; font-family: var(--ipk-font-accent); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ipk-copper-light); margin-bottom: 14px; }
.ipk-footer__col address, .ipk-footer__col p { font-size: 0.88rem; }
.ipk-footer__col a:hover { color: var(--ipk-copper-light); }
.ipk-hours { display: flex; flex-direction: column; gap: 2px; font-size: 0.84rem; }
.ipk-hours li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--ipk-line); }
.ipk-footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 0.88rem; }
.ipk-footer__bottom { border-top: 1px solid var(--ipk-line); padding: 18px 0; margin-top: 10px; }
.ipk-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--ipk-ash-500); }

/* ---------- Forms ---------- */
.ipk-form-card { background: var(--ipk-bg-700); border: 1px solid var(--ipk-line-strong); padding: 30px; }
.ipk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ipk-form-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.ipk-form-field label { font-family: var(--ipk-font-accent); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ipk-stone-light); }
.ipk-form-field input, .ipk-form-field select, .ipk-form-field textarea {
  background: var(--ipk-bg-900);
  border: 1px solid var(--ipk-line-strong);
  color: var(--ipk-cream);
  padding: 11px 13px;
  font-family: var(--ipk-font-body);
  font-size: 0.92rem;
  width: 100%;
}
.ipk-form-field input:focus, .ipk-form-field select:focus, .ipk-form-field textarea:focus { outline: 2px solid var(--ipk-copper); outline-offset: 1px; }
.ipk-form-note { font-size: 0.82rem; color: var(--ipk-stone-light); }

/* ---------- Page header (interior pages) ---------- */
.ipk-page-header { padding: 56px 0 40px; background: var(--ipk-bg-800); border-bottom: 1px solid var(--ipk-line); }
.ipk-breadcrumb { font-family: var(--ipk-font-accent); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ipk-copper-light); }
.ipk-page-header h1 { margin-top: 10px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.ipk-lede { max-width: 640px; font-size: 1.02rem; }

/* ---------- FAQ ---------- */
.ipk-faq-item { border-bottom: 1px solid var(--ipk-line); padding: 18px 0; }
.ipk-faq-item summary { font-family: var(--ipk-font-display); font-size: 1.02rem; color: var(--ipk-cream); cursor: pointer; list-style: none; }
.ipk-faq-item summary::-webkit-details-marker { display: none; }
.ipk-faq-item summary::before { content: '+ '; color: var(--ipk-copper); font-weight: 700; }
.ipk-faq-item[open] summary::before { content: '\2212 '; }
.ipk-faq-item p { margin-top: 12px; font-size: 0.94rem; }

/* ---------- Pricing ---------- */
.ipk-pricing-card h3 { font-size: 1.1rem; }
.ipk-price { font-family: var(--ipk-font-display); font-size: 2rem; color: var(--ipk-copper-light); margin: 10px 0; }
.ipk-price span { font-family: var(--ipk-font-body); font-size: 0.8rem; color: var(--ipk-stone-light); }
.ipk-pricing-card--featured { border-color: var(--ipk-copper); box-shadow: var(--ipk-shadow-glow); }
.ipk-pricing-card ul { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.ipk-pricing-card ul li { font-size: 0.88rem; padding-left: 16px; position: relative; }
.ipk-pricing-card ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--ipk-copper); }

.ipk-table-wrap { overflow-x: auto; border: 1px solid var(--ipk-line-strong); }
.ipk-table th, .ipk-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--ipk-line); font-size: 0.9rem; }
.ipk-table th { font-family: var(--ipk-font-accent); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ipk-stone-light); background: var(--ipk-bg-800); }
.ipk-table tr:last-child td { border-bottom: none; }

/* ---------- Gallery ---------- */
.ipk-gallery-tile { min-height: 220px; display: flex; align-items: flex-end; padding: 18px; border: 1px solid var(--ipk-line); position: relative; }
.ipk-gallery-tile span { font-family: var(--ipk-font-accent); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ipk-cream); background: rgba(18, 13, 9, 0.6); padding: 6px 10px; }
.ipk-gallery-tile--1 { background: linear-gradient(160deg, #7e451f, #1b140d 75%); }
.ipk-gallery-tile--2 { background: linear-gradient(160deg, #4a3524, #120d09 75%); }
.ipk-gallery-tile--3 { background: linear-gradient(160deg, #5c4230, #1b140d 75%); }
.ipk-gallery-tile--4 { background: linear-gradient(160deg, #6b4a26, #241b12 75%); }
.ipk-gallery-tile--5 { background: linear-gradient(160deg, #3d2e1f, #120d09 75%); }
.ipk-gallery-tile--6 { background: linear-gradient(160deg, #7e451f, #302419 75%); }
.ipk-gallery-tile--7 { background: linear-gradient(160deg, #4a3524, #1b140d 75%); }
.ipk-gallery-tile--8 { background: linear-gradient(160deg, #5c4230, #120d09 75%); }
.ipk-gallery-tile--9 { background: linear-gradient(160deg, #6b4a26, #1b140d 75%); }

/* ---------- Locate panel (map placeholder) ---------- */
.ipk-locate { position: relative; min-height: 220px; background: var(--ipk-bg-700); border: 1px solid var(--ipk-line-strong); overflow: hidden; }
.ipk-locate--lg { min-height: 300px; }
.ipk-locate__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--ipk-line) 1px, transparent 1px), linear-gradient(90deg, var(--ipk-line) 1px, transparent 1px); background-size: 26px 26px; }
.ipk-locate__pin { position: absolute; top: 46%; left: 50%; width: 14px; height: 14px; background: var(--ipk-copper); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 6px rgba(188, 106, 52, 0.18); }
.ipk-locate__label { position: absolute; bottom: 18px; left: 18px; font-family: var(--ipk-font-accent); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ipk-cream); }
.ipk-locate__coords { position: absolute; bottom: 18px; right: 18px; font-family: var(--ipk-font-accent); font-size: 0.66rem; color: var(--ipk-stone-light); }

/* ---------- Error page ---------- */
.ipk-error { padding: 100px 0; text-align: center; }
.ipk-error-code { display: block; font-family: var(--ipk-font-display); font-size: 5rem; color: var(--ipk-copper-dark); line-height: 1; margin-bottom: 10px; }

/* ---------- Scroll reveal (progressive enhancement only) ----------
   Gated behind html.js-on (set by an inline script in inc/header.php) so
   content is fully visible with JS disabled or before the script runs. */
.ipk-reveal { opacity: 1; transform: none; }
html.js-on .ipk-reveal { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms ease; }
html.js-on .ipk-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ipk-nav-toggle { display: flex; }
  .ipk-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--ipk-bg-950);
    border-left: 1px solid var(--ipk-line-strong);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 26px 26px;
    transform: translateX(100%);
    transition: transform var(--ipk-ease);
    gap: 24px;
  }
  .ipk-nav.is-open { transform: translateX(0); }
  .ipk-nav__list { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ipk-hero__inner { grid-template-columns: 1fr; }
  .ipk-stats__row { grid-template-columns: repeat(2, 1fr); }
  .ipk-stat:nth-child(3) { border-left: none; }
  .ipk-grid--3, .ipk-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ipk-two-col { grid-template-columns: 1fr; }
  .ipk-feature-row, .ipk-feature-row--reverse { grid-template-columns: 1fr; }
  .ipk-feature-row--reverse .ipk-feature-row__media { order: 0; }
  .ipk-steps { grid-template-columns: repeat(2, 1fr); }
  .ipk-footer__top { grid-template-columns: 1fr 1fr; }
  .ipk-infobar__inner { gap: 14px; font-size: 0.6rem; }
}

@media (max-width: 640px) {
  .ipk-grid--2, .ipk-grid--3, .ipk-grid--4 { grid-template-columns: 1fr; }
  .ipk-steps { grid-template-columns: 1fr; }
  .ipk-stats__row { grid-template-columns: 1fr 1fr; }
  .ipk-footer__top { grid-template-columns: 1fr; }
  .ipk-form-row { grid-template-columns: 1fr; }
  .ipk-quickcheck__submit { margin-left: 0; width: 100%; }
  .ipk-hero__badge { text-align: left; }
}
