/* ==========================================================================
   Imperial Acquisitions Network - booking confirmation page
   Non-critical styles. Critical above-the-fold CSS is inlined in index.html.

   Modelled on imperialacquisitionsnetwork.com.au. The design language there is:
   white page, near-black ink, light grey cards, pill buttons, uppercase
   letterspaced eyebrows, and headings that pair a bold sans line with an
   italic serif line underneath. Type is Inter Tight with Instrument Serif
   italic as the accent. Both are self-hosted here rather than pulled from
   Google Fonts, so nothing third-party blocks the render.
   ========================================================================== */

/* --- Booking details card (hero) ----------------------------------------- */
/* Only shown when the redirect carries a parseable start time. */
/* `display` here outranks the browser's own [hidden]{display:none}, so the
   attribute has to be honoured explicitly or the empty box shows on a bare URL */
.booking-card[hidden]{display:none}
.booking-card{
  display:inline-block;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  padding:16px 20px;
  margin-bottom:20px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.booking-label{
  font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.62);margin-bottom:6px;
}
.booking-time{font-size:19px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.booking-tz{font-size:16px;color:rgba(255,255,255,.72);margin-top:3px}

/* --- Section scaffolding -------------------------------------------------- */
.section{padding:56px 0}
.section--tint{background:var(--card)}

.section h2.dual{font-size:32px;margin-bottom:30px}
/* the live site centres its FAQ header, unlike every other section */
.faq-eyebrow{text-align:center}
.faq-title{
  font-size:32px;font-weight:600;letter-spacing:-.025em;line-height:1.1;
  text-wrap:balance;margin-bottom:30px;text-align:center;
}
.faq-title em{
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;
}

.lede{font-size:17px;line-height:1.7;color:var(--muted);margin-bottom:24px}
.note{
  margin-top:26px;padding:16px 18px;border-radius:12px;
  background:rgba(15,15,15,.045);
  font-size:16px;line-height:1.65;color:var(--ink-2);
}
.section--tint .note{background:rgba(15,15,15,.05)}

/* --- Numbered cards ------------------------------------------------------- */
.cards{list-style:none;display:grid;gap:14px}
.card{background:var(--card);border-radius:16px;padding:26px 24px}
.section--tint .card{background:#fff}
.card-num{
  display:block;
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-size:34px;line-height:1;color:#cfcfcf;margin-bottom:14px;
}
.card h3{
  font-size:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  margin-bottom:9px;
}
.card p{font-size:16px;line-height:1.65;color:var(--muted)}

/* --- Tick list ------------------------------------------------------------ */
.ticks{list-style:none}
.ticks li{position:relative;padding:0 0 16px 30px;font-size:17px;line-height:1.65}
.ticks li:last-child{padding-bottom:0}
.ticks li::before{
  content:"";position:absolute;left:1px;top:9px;
  width:11px;height:6px;
  border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);
  transform:rotate(-45deg);
}

/* --- Ian ------------------------------------------------------------------ */
.bio-photo{width:100%;border-radius:16px;object-fit:cover;aspect-ratio:3/2;margin-bottom:22px}
.bio-text p{font-size:17px;line-height:1.7;color:var(--muted);margin-bottom:15px}
.bio-text p:last-child{margin-bottom:0;color:var(--ink)}

.stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
  margin-top:36px;padding-top:30px;border-top:1px solid var(--line);
}
.stats dt{font-size:34px;font-weight:600;letter-spacing:-.03em;line-height:1}
.stats dd{font-size:16px;line-height:1.45;color:var(--muted);margin-top:7px}

/* --- Testimonials --------------------------------------------------------- */
.quotes{display:grid;gap:14px}
.quote{
  position:relative;background:#fff;border-radius:16px;padding:26px 24px 22px;
}
.section--tint .quote{background:#fff}
.quote blockquote{font-size:16.5px;line-height:1.65;color:var(--ink-2);margin-bottom:20px}
.quote figcaption{display:flex;flex-direction:column;gap:2px}
.q-name{font-size:16px;font-weight:600}
.q-role{font-size:16px;color:var(--muted)}
.quote::after{
  content:"\201D";
  position:absolute;right:20px;bottom:2px;
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-size:76px;line-height:1;color:var(--quote);pointer-events:none;
}

/* --- FAQ ------------------------------------------------------------------ */
/* Closed: light grey pill. Open: inverted to black, matching the live site. */
.faqs{display:grid;gap:10px}
.faq{background:var(--card);border-radius:14px;overflow:hidden;transition:background .18s ease}
.faq[open]{background:var(--ink)}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  min-height:48px;padding:16px 20px;
  font-size:17px;font-weight:500;line-height:1.4;
  cursor:pointer;list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq[open] summary{color:#fff}
.faq summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.faq[open] summary:focus-visible{outline-color:#fff}

/* plus that becomes a minus */
.faq-icon{position:relative;flex:0 0 auto;width:14px;height:14px}
.faq-icon::before,.faq-icon::after{
  content:"";position:absolute;left:0;top:6px;width:14px;height:2px;
  background:var(--ink);transition:transform .2s ease,background .18s ease;
}
.faq-icon::after{transform:rotate(90deg)}
.faq[open] .faq-icon::before,.faq[open] .faq-icon::after{background:#fff}
.faq[open] .faq-icon::after{transform:rotate(0deg)}

.faq-body{padding:0 20px 20px}
.faq-body p{font-size:16px;line-height:1.65;color:var(--muted)}
.faq[open] .faq-body p{color:rgba(255,255,255,.78)}

/* --- Footer --------------------------------------------------------------- */
.site-footer{background:var(--ink);color:#fff;padding:48px 0 40px}
.footer-logo{height:38px;width:auto;margin-bottom:20px}
.footer-line{
  font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  font-size:21px;line-height:1.35;color:rgba(255,255,255,.88);
  max-width:520px;margin-bottom:26px;
}
.footer-legal{
  display:flex;flex-direction:column;gap:8px;
  padding-top:22px;border-top:1px solid rgba(255,255,255,.14);
  font-size:16px;color:rgba(255,255,255,.55);
}
.footer-legal a{display:inline-flex;align-items:center;min-height:48px;color:rgba(255,255,255,.78);text-decoration:none}
.footer-legal a:hover{color:#fff;text-decoration:underline}

/* --- Scroll reveal -------------------------------------------------------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .faq,.faq-icon::before,.faq-icon::after{transition:none}
}

/* --- Desktop enhancement -------------------------------------------------- */
@media (min-width:760px){
  .section{padding:96px 0}
  .section h2.dual,.faq-title{font-size:52px;margin-bottom:44px}
  .booking-time{font-size:21px}

  .cards{grid-template-columns:repeat(3,1fr);gap:18px}
  .card{padding:30px 28px}
  .card-num{font-size:40px}

  .bio{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:start}
  .bio-photo{margin-bottom:0}
  .stats{gap:30px}
  .stats dt{font-size:46px}
  .stats dd{font-size:16px}

  .quotes{grid-template-columns:repeat(3,1fr);gap:18px}
  .quote{padding:30px 28px 26px}

  .faqs{grid-template-columns:1fr 1fr;gap:12px;align-items:start}
  .faq summary{padding:18px 22px;font-size:17.5px}
  .faq-body{padding:0 22px 22px}

  .footer-line{font-size:25px}
  .footer-legal{flex-direction:row;justify-content:space-between;align-items:center}
}
