/* indiancreekcountry.club — cinematic private-acquisition surface. */
:root {
  --ink: #f5f0e6;
  --ink-soft: rgba(245, 240, 230, 0.74);
  --glass-strong: rgba(7, 20, 15, 0.82);
  --line-bright: rgba(245, 240, 230, 0.34);
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --panel-rest-top: clamp(250px, 37svh, 350px);
  --panel-open-top: clamp(24px, 6svh, 54px);
  --panel-detail-top: clamp(12px, 3svh, 28px);
  --panel-motion: 880ms cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; background: #08130f; scroll-behavior: smooth; }
body {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #08130f;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: #0b1712;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.film {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #10271d;
}
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02) brightness(0.94);
  transform: none;
  animation: none;
}
.film__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 12, 8, 0.43) 0%, rgba(3, 14, 10, 0.09) 52%, rgba(2, 10, 7, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 11, 8, 0.16) 0%, transparent 34%, rgba(2, 11, 8, 0.38) 100%);
}
.page-shell {
  position: relative;
  z-index: 2;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  padding: 0 clamp(18px, 4vw, 64px);
}
.offer-panel {
  position: absolute;
  top: var(--panel-rest-top);
  left: 50%;
  width: min(640px, calc(100% - clamp(36px, 8vw, 128px)));
  max-height: calc(100svh - 48px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 252, 0.64), rgba(245, 247, 242, 0.48));
  box-shadow: 0 28px 90px rgba(4, 13, 9, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: #102019;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transform: translate3d(-50%, 0, 0);
  will-change: top;
  animation: panel-in 800ms ease-out both;
  transition: top var(--panel-motion), box-shadow 420ms ease;
}
.offer-panel::-webkit-scrollbar { display: none; }
.offer-panel__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: start;
  padding: 18px;
}
.offer-copy { min-width: 0; }
.sale-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
}
.sale-line h1 {
  padding-top: 5px;
  font-size: 14.5px;
  line-height: 1.3;
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0;
  animation: brand-mark-fade 2.8s ease-out 0.25s forwards;
  filter: drop-shadow(0 4px 7px rgba(19, 42, 30, 0.16));
}
.offer-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.6), transparent 38%);
}
.eyebrow {
  margin: 0 0 13px;
  color: #53695d;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: none;
  color: #102019;
  font: 700 clamp(14px, 1.05vw, 15px) / 1.3 var(--sans);
  letter-spacing: -0.025em;
  text-wrap: pretty;
  white-space: nowrap;
}
.offer-panel h1 { color: #102019; }
.offer-panel h1 strong { font-weight: 700; }
.summary {
  max-width: none;
  margin: 10px 0 0 42px;
  color: rgba(13, 29, 22, 0.76);
  font-size: 16px;
  line-height: 1.48;
}
.offer-actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
  gap: 9px;
  padding: 0;
}
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(16, 32, 25, 0.46);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.button--primary {
  border-color: rgba(16, 32, 25, 0.46);
  background: #14291f;
  color: #f8f6ef;
}
.button--secondary {
  border-color: rgba(16, 32, 25, 0.46);
  background: rgba(255, 255, 255, 0.26);
  color: #14291f;
}
.button--wsj {
  position: relative;
  isolation: isolate;
  min-height: 40px;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 15px;
  border-color: rgba(16, 32, 25, 0.46);
  border-radius: 999px;
  background: url('/assets/wsj-article-preview.v1.webp') 50% 100% / cover no-repeat;
  color: #fff;
}
.button--wsj::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 17, 11, 0.9), rgba(5, 17, 11, 0.46));
}
.button--wsj strong {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.12;
}
.button:is(:hover, :focus-visible, :active) {
  border-color: #f1f45a;
  background: #f1f45a;
  color: #102019;
  transform: none;
}
.button--wsj:is(:hover, :focus-visible, :active)::before {
  background: #f1f45a;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.detail-list { border-top: 1px solid rgba(16, 32, 25, 0.14); }
.more-info,
.info-section { border-bottom: 1px solid rgba(16, 32, 25, 0.14); }
.more-info__trigger,
.info-section__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 18px 0 60px;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  color: rgba(13, 29, 22, 0.86);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  transition: background 180ms ease, color 180ms ease;
}
.more-info__trigger:hover,
.info-section__trigger:hover { background: rgba(255, 255, 255, 0.34); color: #0d1d16; }
.more-info__trigger i,
.info-section__trigger i {
  position: relative;
  width: 14px;
  height: 14px;
  opacity: 0.72;
}
.more-info__trigger i::before,
.more-info__trigger i::after,
.info-section__trigger i::before,
.info-section__trigger i::after {
  content: "";
  position: absolute;
  top: 6px;
  height: 1px;
  background: currentColor;
  transition: transform 360ms cubic-bezier(.16,1,.3,1);
}
.more-info__trigger i::before,
.more-info__trigger i::after { left: 1px; width: 12px; }
.more-info__trigger i::before { transform: none; }
.more-info__trigger i::after { transform: rotate(90deg); }
.more-info.is-open > .more-info__trigger i::after { transform: rotate(0); }
.info-section__trigger i::before { left: 1px; width: 7px; transform: rotate(45deg); }
.info-section__trigger i::after { left: 6px; width: 7px; transform: rotate(-45deg); }
.info-section.is-open > .info-section__trigger i::before { transform: rotate(-45deg); }
.info-section.is-open > .info-section__trigger i::after { transform: rotate(45deg); }

.page-shell.is-more-open .offer-panel { top: var(--panel-open-top); }
.page-shell.is-section-open .offer-panel { top: var(--panel-detail-top); }

.more-info__sections {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  border-top: 0 solid rgba(16, 32, 25, 0.14);
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition:
    grid-template-rows 820ms cubic-bezier(.22,1,.36,1),
    opacity 360ms ease,
    border-top-width 360ms ease;
}
.more-info.is-open > .more-info__sections {
  grid-template-rows: 1fr;
  border-top-width: 1px;
  opacity: 1;
}
.more-info__sections-inner { min-height: 0; overflow: hidden; }
.info-section:last-child { border-bottom: 0; }
.info-section__trigger {
  min-height: 38px;
  padding-left: 60px;
  font-size: 11.5px;
}
.info-section__trigger strong { font-weight: 700; }
.info-section__body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transition:
    grid-template-rows 680ms cubic-bezier(.22,1,.36,1),
    opacity 300ms ease;
}
.info-section.is-open > .info-section__body { grid-template-rows: 1fr; opacity: 1; }
.info-copy {
  min-height: 0;
  overflow: hidden;
  padding: 3px 24px 0 60px;
  transition: padding-bottom 680ms cubic-bezier(.22,1,.36,1);
}
.info-section.is-open .info-copy { padding-bottom: 13px; }
.info-copy p {
  color: rgba(13, 29, 22, 0.76);
  font-size: 11.5px;
  line-height: 1.46;
}
.info-copy p { margin: 0; }
.info-copy p + p { margin-top: 8px; }
.info-copy strong { color: #102019; font-weight: 700; }
.no-js .more-info__sections,
.no-js .info-section__body { grid-template-rows: 1fr; opacity: 1; }
.no-js .more-info__sections { border-top-width: 1px; }
.no-js .info-copy { padding-bottom: 13px; }

.offer-footer {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: 6px;
  width: calc(100vw - 12px);
  padding: 0;
  transform: translateX(-50%);
  text-align: center;
}
.offer-footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(5px, 0.52vw, 7px);
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.offer-footer a {
  margin-left: 5px;
  color: #fff;
  font-weight: 700;
  text-underline-offset: 2px;
}
.offer-footer a:hover { color: #fff; }

.button:focus-visible,
.offer-footer a:focus-visible {
  outline: 2px solid #163528;
  outline-offset: 4px;
}
.more-info__trigger:focus-visible,
.info-section__trigger:focus-visible {
  outline: 2px solid #163528;
  outline-offset: -3px;
}

/* Compact supporting pages. */
.simple-page {
  display: grid;
  min-height: 100svh;
  overflow: auto;
  place-items: center;
  padding: clamp(26px, 6vw, 82px);
  background:
    radial-gradient(circle at 14% 6%, rgba(68, 105, 75, 0.5), transparent 34%),
    linear-gradient(145deg, #09150f, #132a1d 62%, #07110c);
}
.simple-shell {
  width: min(820px, 100%);
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line-bright);
  background: rgba(7, 20, 15, 0.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.simple-shell .eyebrow { margin-bottom: 20px; }
.simple-shell h1 {
  font-size: clamp(54px, 9vw, 100px);
  line-height: 0.88;
}
.simple-lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font: 400 clamp(19px, 3vw, 26px) / 1.42 var(--serif);
}
.simple-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.simple-actions .button { min-width: 220px; }

@keyframes panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes brand-mark-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 820px) {
  :root {
    --panel-rest-top: clamp(120px, 20svh, 170px);
    --panel-open-top: max(12px, env(safe-area-inset-top));
    --panel-detail-top: max(6px, env(safe-area-inset-top));
  }
  .page-shell { padding: 0 10px; }
  .offer-panel {
    width: calc(100% - 20px);
    max-height: calc(100svh - 34px - env(safe-area-inset-bottom));
  }
  .offer-panel__hero { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .eyebrow { margin-bottom: 12px; }
  .brand-mark { width: 30px; height: 30px; }
  .sale-line { margin-top: 7px; }
  .sale-line h1 { padding-top: 5px; font-size: 12.8px; line-height: 1.28; }
  h1 { font-size: 11.5px; line-height: 1.35; }
  .summary { margin: 8px 0 0 40px; font-size: 15px; line-height: 1.46; }
  .offer-actions { width: 100%; grid-template-columns: 1fr; }
  .button { min-height: 40px; }
  .more-info__trigger { min-height: 44px; padding: 0 16px 0 56px; }
  .info-section__trigger { min-height: 37px; padding-left: 56px; font-size: 11px; }
  .info-copy { padding: 0 18px 12px 56px; }
  .info-copy p, .info-copy li { font-size: 11px; line-height: 1.42; }
  .offer-footer { bottom: 5px; }
}

@media (max-width: 480px) {
  .eyebrow { max-width: 31ch; line-height: 1.5; }
  h1 { font-size: 11px; }
  .sale-line h1 { font-size: 12px; }
  .button { padding-inline: 14px; font-size: 12px; }
  .more-info__trigger { font-size: 13px; }
}

@media (max-height: 760px) and (min-width: 821px) {
  :root { --panel-rest-top: clamp(220px, 34svh, 250px); }
  .offer-panel__hero { padding-top: 14px; padding-bottom: 12px; }
  h1 { font-size: 14.5px; }
  .summary { font-size: 14px; }
  .more-info__trigger { min-height: 42px; }
  .offer-footer { padding-top: 4px; }
}

@media (max-width: 820px) and (max-height: 740px) {
  :root { --panel-rest-top: clamp(104px, 17svh, 126px); }
  .offer-panel { max-height: calc(100svh - 12px - env(safe-area-inset-bottom)); }
  .offer-panel__hero { gap: 9px; padding: 12px; }
  .sale-line { margin-top: 0; }
  .summary { margin-top: 6px; font-size: 14px; line-height: 1.38; }
  .offer-actions { gap: 6px; }
  .button { min-height: 38px; }
  .more-info__trigger { min-height: 40px; }
  .info-section__trigger { min-height: 32px; }
  .info-copy p, .info-copy li { font-size: 10.5px; line-height: 1.36; }
  .info-section.is-open .info-copy { padding-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-mark { animation: none !important; opacity: 1; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .offer-panel { background: rgba(250, 250, 246, 0.94); }
  .simple-shell { background: var(--glass-strong); }
}
