/* Flip & Fire Trading Co. — site styles */
:root {
  --bg: #0e1012;
  --bg2: #14171a;
  --panel: #191d21;
  --panel2: #1f2428;
  --line: rgba(217, 178, 99, 0.22);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f3efe8;
  --muted: #b2aba1;
  --dim: #7f796f;
  --gold-hi: #f7e6ad;
  --gold: #d9b263;
  --gold-lo: #a4762e;
  --fire: #ff7a2f;
  --gold-grad: linear-gradient(135deg, #f7e6ad 0%, #d9b263 38%, #a4762e 66%, #f1d48c 100%);
  --opal-grad: linear-gradient(90deg, #6fe7d5 0%, #8fd46c 22%, #f3d46b 44%, #f6a1c4 66%, #a6a9f8 84%, #6fe7d5 100%);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
  --head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Lora', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--head);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {               /* slate grain over the whole site */
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(255, 140, 50, 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(111, 231, 213, 0.05), transparent 60%);
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--maxw), calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.opal-text {
  background: var(--opal-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: opal-shift 9s linear infinite;
}
@keyframes opal-shift { to { background-position: -220% 0; } }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 900; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; letter-spacing: 0.01em; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 34em; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 500; }
.tagline {
  display: inline-flex; gap: 0.9em; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold);
}
.tagline i { width: 1px; height: 1.1em; background: var(--gold-lo); display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  cursor: pointer; font-family: var(--head);
}
.btn-gold { background: var(--gold-grad); color: #1a1408; box-shadow: 0 10px 30px rgba(217, 178, 99, 0.28); }
.btn-gold:hover { color: #1a1408; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(217, 178, 99, 0.38); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 16, 18, 0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav .brand img { height: 50px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--gold-hi); }
.nav .menu { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 12px; width: 46px; height: 42px; }
.nav .menu span { display: block; width: 18px; height: 2px; background: var(--gold); margin: 4px auto; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 80px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 .opal-text { display: inline-block; }
.nowrap { white-space: nowrap; }
.hero .lede { margin-top: 22px; }
.frame {
  position: relative; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: var(--shadow), 0 0 0 1px var(--line), 0 0 80px rgba(255, 122, 47, 0.12);
}
.frame::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(247, 230, 173, 0.16), inset 0 -60px 80px rgba(0, 0, 0, 0.25);
}
.frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero-badges span::before { content: '✦'; color: var(--gold); margin-right: 8px; }

/* ---------- sections ---------- */
section { position: relative; z-index: 1; }
.section { padding: 92px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 12px 0 0; color: var(--muted); max-width: 36em; }
.rule { height: 3px; width: 84px; border-radius: 3px; background: var(--opal-grad); margin: 18px 0 0; }

/* ---------- product card (fresh drops) ---------- */
.drops { display: grid; grid-template-columns: 1.32fr 0.68fr; gap: 28px; }
.drop-list { display: grid; gap: 28px; align-content: start; }
.drops > .coming { align-self: start; position: sticky; top: 96px; }
.card {
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.drop-card { display: grid; grid-template-columns: 1fr 1fr; text-decoration: none; color: var(--text); transition: transform .25s ease, border-color .25s ease; }
.drop-card:hover { transform: translateY(-4px); border-color: var(--line); color: var(--text); }
.drop-card .pic { position: relative; min-height: 420px; overflow: hidden; }
.drop-card .pic img { position: absolute; inset: 0; }
.drop-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.drop-card:hover .pic img { transform: scale(1.04); }
.tag {
  position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px;
  background: rgba(14, 16, 18, 0.78); border: 1px solid var(--line); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi); backdrop-filter: blur(6px);
}
.tag.live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #64e3a0; margin-right: 8px; box-shadow: 0 0 10px #64e3a0; vertical-align: 1px; }
.drop-card .body { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.drop-card h3 { font-size: 30px; line-height: 1.1; }
.price { font-size: 40px; font-weight: 900; line-height: 1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; margin-left: 8px; }
.specs-mini { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; padding: 0; list-style: none; }
.specs-mini li { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); color: var(--text); }
.link-arrow { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; color: var(--gold-hi); }
.link-arrow::after { content: ' →'; }
.coming { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.coming video { border-radius: 14px; max-height: 380px; width: auto; margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line-soft); background: #000; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; opacity: 0.9; }
.cat:hover img { transform: scale(1.05); }
.cat .cap { position: absolute; inset: auto 0 0 0; padding: 70px 20px 20px; background: linear-gradient(180deg, transparent, rgba(8, 9, 10, 0.72) 45%, rgba(8, 9, 10, 0.95)); }
.cat .cap h3 { font-size: 19px; }
.cat .cap p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ---------- promise ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise .card { padding: 30px 28px; }
.promise .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(217, 178, 99, 0.1); border: 1px solid var(--line); margin-bottom: 18px; color: var(--gold-hi); font-size: 22px; }
.promise p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }

/* ---------- follow / contact ---------- */
.follow { text-align: center; }
.follow .card { padding: 54px 30px; background: radial-gradient(600px 260px at 50% 0%, rgba(255, 122, 47, 0.12), transparent 70%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.follow .btn-row { justify-content: center; }
.follow p { color: var(--muted); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035); color: var(--text); font: 500 16px/1.4 var(--head);
  transition: border-color .15s ease, background .15s ease;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.05); }
.form .note { font-size: 13.5px; color: var(--dim); margin: 0; }
.form .hp { display: none; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 48px 0 60px; color: var(--dim); font-size: 14px; position: relative; z-index: 1; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer img { height: 44px; width: auto; opacity: 0.92; }

/* ---------- product page ---------- */
.crumbs { font-size: 13px; color: var(--dim); letter-spacing: 0.08em; padding: 26px 0 0; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; padding: 26px 0 80px; align-items: start; }
.gallery .main { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 4 / 5; box-shadow: var(--shadow), 0 0 0 1px var(--line-soft); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.gallery .main .cap { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gallery .main .cap span { padding: 8px 13px; border-radius: 999px; background: rgba(10, 11, 12, 0.72); border: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); backdrop-filter: blur(6px); }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 4 / 5; opacity: 0.6; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.thumbs button:hover { opacity: 0.9; transform: translateY(-2px); }
.thumbs button[aria-current='true'] { opacity: 1; border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs.n7 { grid-template-columns: repeat(7, 1fr); gap: 8px; }
.info { position: sticky; top: 100px; }
.info h1 { font-size: clamp(34px, 4.2vw, 52px); }
.info .price { margin-top: 18px; font-size: 46px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #8ef0bd; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #64e3a0; box-shadow: 0 0 10px #64e3a0; }
.specs { margin: 26px 0 0; border-top: 1px solid var(--line-soft); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.specs dt { color: var(--dim); font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 2px; }
.specs dd { margin: 0; color: var(--text); }
.honest { margin-top: 24px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(217, 178, 99, 0.06); font-size: 15px; color: var(--muted); }
.honest strong { color: var(--gold-hi); }
.watch { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.watch video { border-radius: 22px; width: 100%; max-height: 82vh; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: var(--shadow), 0 0 0 1px var(--line); background: #000; }
.faq { display: grid; gap: 14px; margin-top: 22px; }
.faq details { border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 20px; background: rgba(255, 255, 255, 0.02); }
.faq summary { cursor: pointer; font-weight: 800; letter-spacing: 0.02em; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
.enquire { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

/* ---------- online checkout switch: <html class="pay-on"> once a Stripe link is live ---------- */
html:not(.pay-on) .if-pay { display: none !important; }
html.pay-on .if-nopay { display: none !important; }

/* ---------- postage & payment ---------- */
.post-line { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }
.post-line strong { color: var(--text); }
.pay-line { margin: 14px 0 0; font-size: 13.5px; color: var(--dim); }
.handle { margin: 18px 0 0; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-hi); }
.ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ship .card { padding: 30px 28px; }
.ship-price { font-family: var(--head); font-size: 46px; font-weight: 900; line-height: 1; margin: 0 0 16px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ship p:not(.ship-price) { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }
.ship-note { margin: 28px 0 0; color: var(--muted); text-align: center; }
.ship-note .link-arrow { margin-left: 8px; white-space: nowrap; }
#postage { padding-bottom: 34px; }
.page-head { padding: 34px 0 0; }
.page-head .crumbs { padding: 0 0 26px; }
.page-head h1 { font-size: clamp(36px, 5vw, 62px); margin-top: 6px; }
.page-head .lede { margin: 20px 0 0; }
.page-body { padding-top: 46px; }
.rates-card { padding: 10px 28px 6px; }
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.rates tr:last-child td { border-bottom: 0; }
.rates th { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.rates td { color: var(--muted); font-size: 15.5px; }
.rates td strong { color: var(--text); font-size: 17px; }
.rates td small { display: block; color: var(--dim); font-size: 13.5px; margin-top: 4px; }
.rates .amt { font-family: var(--head); font-weight: 900; font-size: 24px; color: var(--gold-hi); white-space: nowrap; text-align: right; }
.rates th:last-child { text-align: right; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }
.info-grid .card { padding: 30px 28px; }
.info-grid p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }
.info-grid strong { color: var(--text); }

/* ---------- footer links ---------- */
.foot-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.foot-links a:hover { color: var(--gold-hi); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(5, 6, 7, 0.94); padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: min(92vw, 760px); border-radius: 14px; box-shadow: var(--shadow); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--text); width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox .close { top: 20px; right: 20px; }
.lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .product, .watch, .enquire, .drops { grid-template-columns: 1fr; }
  .drops > .coming { position: static; }
  .hero .frame { order: -1; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: 1fr; }
  .ship, .info-grid { grid-template-columns: 1fr; }
  .info { position: static; }
  .watch video { max-height: 78vh; width: auto; margin: 0 auto; }
}
@media (max-width: 900px) {
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(14, 16, 18, 0.98); border-bottom: 1px solid var(--line-soft); padding: 8px 20px 18px; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .menu { display: block; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav .brand img { height: 40px; }
  .hero { padding: 26px 0 60px; }
  .section { padding: 68px 0; }
  .drop-card { grid-template-columns: 1fr; }
  .drop-card .pic { min-height: 0; aspect-ratio: 4 / 5; }
  .drop-card .pic img { position: static; }
  .drop-card .body { padding: 26px 22px 30px; }
  .cats { gap: 12px; }
  .cat .cap { padding: 50px 14px 14px; }
  .cat .cap p { display: none; }
  .tri .w { display: block; }
  .tri .bar { display: none; }
  .form { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 22px; }
  .rates-card { padding: 4px 18px; }
  .rates thead { display: none; }
  .rates tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
  .rates tr:last-child { border-bottom: 0; }
  .rates td { padding: 0; border: 0; }
  .rates td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .rates .amt { grid-column: 2; grid-row: 1; font-size: 22px; }
  .ship-price { font-size: 40px; }
  .thumbs { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .thumbs.n7 { grid-template-columns: repeat(7, 1fr); gap: 5px; }
  .specs div { grid-template-columns: 104px 1fr; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 24px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
