/* ==========================================================================
   Anosmia Hunting Blinds — MIRROR VERSION
   A direct recreation of the original Wix layout and palette.
   ========================================================================== */

:root {
  --olive-header: #4a5324;
  --olive-deep: #2f3a15;
  --panel: #8a9a5b;
  --panel-soft: #93a565;
  --footer: #9db06a;
  --rust: #b25f22;
  --ink: #1c2410;
  --paper: #efe9dc;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Fallback texture lives on <html>, BEHIND the body's photo — not on a
   body::before layer, which would paint over the background image. */
html {
  background-color: #6d6152;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(160, 140, 110, 0.55), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(90, 80, 60, 0.55), transparent 60%),
    linear-gradient(160deg, #7d6f5c, #5b5142);
  background-attachment: fixed;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: transparent;
  background-image: var(--site-bg, none);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.45;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

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

/* ---------- Header ---------------------------------------------------- */

.site-header {
  background: var(--olive-header);
  border-bottom: 3px solid var(--olive-deep);
  padding: 14px 0 10px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-title {
  margin: 0 0 8px;
  font-family: Oswald, "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.25rem, 3.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #141a08;
}

.site-title a { text-decoration: none; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #f0ecdf;
  transition: background-color 0.15s ease;
}

.site-nav a:hover { background: rgba(0, 0, 0, 0.2); }

.site-nav a[aria-current="page"] {
  background: var(--rust);
  color: #fff;
}

/* ---------- Shared blocks --------------------------------------------- */

.section { padding: 26px 0; }

.pill-title,
.price-pill {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 7px 40px;
  background: var(--panel);
  border: 2px solid var(--olive-deep);
  border-radius: 26px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-pill {
  padding: 10px 34px;
  font-size: 1.1rem;
  line-height: 1.3;
  max-width: 440px;
}

.panel {
  background: var(--panel);
  border: 2px solid var(--olive-deep);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.panel ul { margin: 0; padding-left: 18px; }
.panel li { margin-bottom: 6px; }
.panel li:last-child { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

/* ---------- Media ------------------------------------------------------ */

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0b0b;
  border-radius: 6px;
  overflow: hidden;
}

.media-frame iframe,
.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.image-frame {
  background: var(--panel-soft);
  border: 2px solid var(--olive-deep);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}

.image-frame img { border-radius: 6px; }

/* Placeholder shown when a media link is missing or broken */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  background: repeating-linear-gradient(
    135deg, #101010, #101010 12px, #171717 12px, #171717 24px
  );
}

.ph .label {
  font-family: "Courier New", monospace;
  font-size: clamp(0.78rem, 1.7vw, 1.05rem);
  letter-spacing: 0.04em;
  color: #d9d4c6;
  line-height: 1.3;
}

.ph .key {
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: #8f8a7c;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ph .play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #d9d4c6;
  display: grid;
  place-items: center;
}

.ph .play::after {
  content: "";
  border-left: 14px solid #d9d4c6;
  border-block: 9px solid transparent;
  margin-left: 4px;
}

.image-frame .ph,
.slideshow .ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

/* ---------- Slideshow -------------------------------------------------- */

.slideshow {
  position: relative;
  background: var(--panel-soft);
  border: 2px solid var(--olive-deep);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}

.slideshow .stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.slideshow .stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.slide-nav:hover { background: rgba(0, 0, 0, 0.75); }
.slide-nav.prev { left: 16px; }
.slide-nav.next { right: 16px; }

.slide-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 4px 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.slide-bar .counter { font-weight: 400; opacity: 0.8; }

/* ---------- Model tabs ------------------------------------------------- */

.tabs {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto 18px;
  background: var(--olive-header);
  border: 2px solid var(--olive-deep);
  border-radius: 6px;
  overflow: hidden;
}

.tabs button {
  flex: 1;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #efe9dc;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--panel);
  color: var(--ink);
}

.extras h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  text-decoration: underline;
}

.extras p { margin: 0 0 8px; }
.extras p:last-child { margin-bottom: 0; }
.extras strong { text-decoration: underline; }

/* ---------- Trail-cam banner ------------------------------------------- */

.banner { position: relative; margin-top: 10px; }

.banner-media {
  position: relative;
  aspect-ratio: 16 / 7;
  background: #14181f;
  overflow: hidden;
}

.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-btn {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 22px;
  background: var(--olive-header);
  border: 2px solid var(--olive-deep);
  border-radius: 6px;
  color: #f2eee2;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow);
  z-index: 3;
}

.why-btn:hover { background: var(--olive-deep); }

/* ---------- Field / YouTube section ------------------------------------ */

.field {
  background: var(--panel-soft);
  border-top: 3px solid var(--olive-deep);
  border-bottom: 3px solid var(--olive-deep);
  padding: 26px 0 32px;
  text-align: center;
}

.field h2 {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.25;
}

.field h2 span { display: block; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}

.v-title {
  display: block;
  padding-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

/* ---------- Why Anosmia page ------------------------------------------- */

.why-panel { max-width: 780px; margin: 0 auto; }

.why-panel h1 {
  margin: 0 0 4px;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
}

.why-panel .pronounce {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.85rem;
}

.why-panel .lede {
  margin: 0 0 18px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.why-panel ol { margin: 0; padding-left: 22px; font-size: 0.95rem; }
.why-panel li { margin-bottom: 16px; }
.why-panel li:last-child { margin-bottom: 0; }

/* ---------- Footer ------------------------------------------------------ */

.site-footer {
  background: var(--footer);
  border-top: 3px solid var(--olive-deep);
  padding: 22px 20px 26px;
  text-align: center;
}

.site-footer h2 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 700; }
.site-footer p { margin: 0 0 8px; font-weight: 600; }
.site-footer a { color: var(--ink); }

.site-footer .copyright {
  margin-top: 14px;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.85;
}

/* ---------- Accessibility & responsive ---------------------------------- */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffd27a;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .grid-2,
  .video-grid { grid-template-columns: 1fr; }
  body { background-attachment: scroll; }
  .pill-title, .price-pill { padding-left: 22px; padding-right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
