/* Honey Trap Studio — art deco theme
   Colours are set once here; change them to restyle the whole site. */
@import url("https://fonts.googleapis.com/css2?family=Poiret+One&family=Josefin+Sans:wght@300;400;600&display=swap");

:root {
  --bg: #000000;
  --panel: #16140f;
  --panel-2: #1d1a13;
  --line: #3a3221;
  --gold: #c9a44c;
  --gold-hi: #ecd28b;
  --gold-lo: #8a6d2b;
  --text: #ece3cf;
  --muted: #a2977f;
  --head: "Poiret One", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Josefin Sans", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.6;
}
a { color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .08em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; color: var(--gold-hi); line-height: 1.1; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; color: var(--gold-hi); }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; color: var(--gold); margin: 0 0 .6em; font-weight: 600; }
.lead { font-size: 1.15rem; max-width: 40em; }
.meta { color: var(--muted); font-size: .9rem; }
.prose { max-width: 46em; }

/* ---------- Deco rules ---------- */
.deco-rule { height: 7px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); margin: 1.2rem auto; max-width: var(--max); position: relative; }
.deco-rule.short { width: 180px; }
.deco-rule.left { margin-left: 0; }
.deco-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; background: var(--bg); border: 1px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); }

/* ---------- Top bar ---------- */
.topbar { background: #000; border-bottom: 1px solid var(--gold-lo); text-align: center; padding: .9rem 1rem; }
.wordmark { font-family: var(--head); color: var(--gold-hi); text-decoration: none; letter-spacing: .35em; font-size: 1.3rem; display: inline-flex; align-items: center; gap: .6em; }
.wm-hex { width: 14px; height: 12px; background: var(--gold); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); display: inline-block; }

/* ---------- Hexagon menus (menus only) ---------- */
.hex-menu { display: flex; gap: .4rem; justify-content: center; padding: 1rem; overflow-x: auto; background: var(--panel); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.hex-menu.sub { position: sticky; top: 0; z-index: 5; background: rgba(12,11,9,.94); backdrop-filter: blur(6px); border-top: 1px solid var(--line); }
.hex-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--muted); min-width: 84px; flex: 0 0 auto; }
.hex { width: 52px; height: 46px; background: var(--gold-lo); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); display: grid; place-items: center; transition: background .2s; }
.hex-inner { width: 48px; height: 42px; background: var(--panel-2); clip-path: inherit; display: grid; place-items: center; font-family: var(--head); font-size: 1.05rem; color: var(--gold-hi); letter-spacing: .05em; transition: background .2s, color .2s; }
.hex-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin-top: .4rem; text-align: center; max-width: 92px; line-height: 1.25; }
.hex-item:hover .hex, .hex-item:focus-visible .hex { background: var(--gold-hi); }
.hex-item:hover .hex-label { color: var(--text); }
.hex-item.active .hex { background: var(--gold-hi); }
.hex-item.active .hex-inner { background: linear-gradient(160deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1a1408; }
.hex-item.active .hex-label { color: var(--gold-hi); }
.hex-item.small .hex { width: 30px; height: 26px; }
.hex-item.small .hex-inner { width: 26px; height: 22px; }
.hex-item.small { min-width: 76px; }

/* ---------- Buttons: capsule with slight 3D ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7em 1.6em; border-radius: 999px; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: #1c1508;
  background: linear-gradient(180deg, #f5e3a8 0%, var(--gold) 48%, #a7832f 52%, var(--gold-lo) 100%);
  border: 1px solid #5e4a1c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 3px rgba(0,0,0,.25), 0 3px 0 #4a3a15, 0 6px 12px rgba(0,0,0,.5);
  transition: transform .1s, box-shadow .1s, filter .2s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 2px rgba(0,0,0,.25), 0 1px 0 #4a3a15, 0 2px 5px rgba(0,0,0,.5); }
.btn-dark {
  color: var(--gold-hi);
  background: linear-gradient(180deg, #34302a 0%, #1d1a15 50%, #141210 51%, #0c0b09 100%);
  border-color: var(--gold-lo);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 0 #000, 0 6px 12px rgba(0,0,0,.5);
}
.btn-disabled { color: #777; background: linear-gradient(180deg, #3a3833, #24221f); border-color: #3a3833; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 #000; cursor: not-allowed; filter: none; }

/* ---------- Layout ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem 3rem; }
.section { padding: 2.6rem 0 .5rem; scroll-margin-top: 90px; }
.section-title { display: flex; align-items: center; gap: 1rem; text-transform: uppercase; color: var(--text); }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.hero { position: relative; padding: 3.5rem 0 2.5rem; }
.home-hero { text-align: center; overflow: hidden; }
.home-hero .lead { margin: 0 auto; }
.home-hero .btn-row { justify-content: center; }

.app-hero { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 2.5rem; align-items: center; }

/* ---------- Artwork boxes (stepped deco corners) ---------- */
.art { position: relative; background: var(--panel-2); border: 1px solid var(--gold-lo); outline: 1px solid var(--line); outline-offset: 5px; overflow: hidden; display: grid; place-items: center; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.art-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--head); font-size: 1.5rem; color: var(--gold); letter-spacing: .1em;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(201,164,76,.06) 14px 15px); }
.art-placeholder small { font-family: var(--body); font-size: .7rem; color: var(--muted); letter-spacing: .05em; margin-top: .5rem; }
.hero-art { aspect-ratio: 4 / 5; }
.card-art { aspect-ratio: 16 / 10; outline: none; border: 0; border-bottom: 1px solid var(--gold-lo); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201,164,76,.15); pointer-events: none; z-index: 2; }
.card-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { margin: 0 0 .6rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card h3 { margin-bottom: .3rem; }

/* ---------- Panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--gold-lo); padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.steps { padding-left: 1.3rem; margin: 0; }
.steps li { margin-bottom: .45rem; }
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .6rem 2rem; }
.feature-list li { padding-left: 1.4rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
details summary { cursor: pointer; font-family: var(--head); font-size: 1.25rem; color: var(--gold-hi); letter-spacing: .06em; }
details p { margin: .8rem 0 0; }
.download-panel .btn-row { margin-top: .4rem; }

.version { border-left: 2px solid var(--line); padding: .3rem 0 .8rem 1.2rem; margin-bottom: 1rem; }
.version.latest { border-left-color: var(--gold); }
.version-head { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.version-head span { color: var(--muted); font-size: .9rem; }
.version ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.tag { border: 1px solid var(--gold); border-radius: 999px; padding: 0 .7em; font-size: .7rem !important; color: var(--gold-hi) !important; text-transform: uppercase; letter-spacing: .15em; }

/* ---------- Footer ---------- */
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem 1rem 2.5rem; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .hex-menu:not(.sub) { justify-content: flex-start; }
  .app-hero { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-art { aspect-ratio: 16 / 11; }
  .wordmark { font-size: 1rem; letter-spacing: .25em; }
  .hex-menu.sub { justify-content: flex-start; }
}
