/* ============================================================
   AineoIntel - AI Systems for Business
   Palette drawn from the brand mark: aubergine black, plum,
   violet and antique gold.
   ============================================================ */

:root{
  --ink:        #0B0710;
  --ink-2:      #120B1C;
  --plum:       #241238;
  --plum-lift:  #2F1A47;
  --violet:     #8257C4;
  --violet-dim: #5B3A8C;
  --gold:       #C9A44C;
  --gold-lt:    #EFDCA8;
  --bone:       #EDE6DA;
  --mute:       #A99BBC;
  --line:       rgba(201,164,76,.22);
  --line-soft:  rgba(237,230,218,.12);

  --serif: "Fraunces", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans:  "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --maxw: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--sans);
  font-size:clamp(1rem,.96rem + .2vw,1.075rem);
  line-height:1.65;
  font-weight:350;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

body.is-locked,
body.nav-open{ overflow:hidden; }

img,video{ max-width:100%; display:block; }

a{ color:inherit; }

::selection{ background:var(--gold); color:#0B0710; }

:focus-visible{
  outline:2px solid var(--gold-lt);
  outline-offset:3px;
  border-radius:2px;
}

/* ---------- type ---------- */

h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:400;
  font-variation-settings:"SOFT" 0,"WONK" 0;
  letter-spacing:-.015em;
  line-height:1.06;
  margin:0;
  text-wrap:balance;
}

h1{ font-size:clamp(2.4rem,5.4vw,4.35rem); }
h2{ font-size:clamp(2.1rem,4.6vw,3.6rem); }
h3{ font-size:clamp(1.4rem,2.2vw,1.9rem); line-height:1.18; }

p{ margin:0 0 1.1em; max-width:64ch; }

.lede{
  font-size:clamp(1.08rem,1.5vw,1.3rem);
  line-height:1.6;
  color:#D9D0E0;
  font-weight:300;
}

.dim{ color:var(--mute); }
.gold{ color:var(--gold-lt); }

.marker{
  font-family:var(--sans);
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.14em;
  color:var(--gold);
  text-transform:uppercase;
}

/* ---------- shell ---------- */

.shell{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--pad);
}

section{ position:relative; }

.band{ padding-block:clamp(4.5rem,10vw,9rem); }
.band--tight{ padding-block:clamp(3rem,6vw,5rem); }

.rule{
  border:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--line) 12%,var(--line) 88%,transparent);
  margin:0;
}

/* ---------- buttons ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--sans);
  font-size:.95rem;
  font-weight:600;
  letter-spacing:.01em;
  padding:.92rem 1.7rem;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:background .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease),transform .2s var(--ease);
}

.btn--gold{
  background:linear-gradient(135deg,var(--gold-lt),var(--gold) 55%,#A9853A);
  color:#180F05;
  box-shadow:0 10px 30px -14px rgba(201,164,76,.75);
}
.btn--gold:hover{ transform:translateY(-2px); }

.btn--ghost{
  border-color:var(--line);
  color:var(--bone);
  background:rgba(237,230,218,.03);
}
.btn--ghost:hover{ border-color:var(--gold); background:rgba(201,164,76,.09); }

.btn--plain{
  padding:0;
  border-radius:0;
  background:none;
  color:var(--gold-lt);
  border-bottom:1px solid var(--line);
  padding-bottom:.25rem;
  font-weight:500;
}
.btn--plain:hover{ border-bottom-color:var(--gold-lt); }

/* ============================================================
   Page-load moment
   ============================================================ */

.curtain{
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-items:center;
  background:var(--ink);
  transition:opacity .7s var(--ease),visibility .7s;
}
.curtain[hidden-anim]{ opacity:0; visibility:hidden; }

.curtain__mark{
  width:clamp(92px,15vw,140px);
  height:auto;
  opacity:0;
  transform:scale(.86);
  animation:markin 1.1s var(--ease) forwards;
}
/* the glow traces the mark's silhouette, so only apply it to a real image */
img.curtain__mark{ filter:drop-shadow(0 0 34px rgba(201,164,76,.26)); }
.curtain__word{
  margin-top:1.5rem;
  font-family:var(--serif);
  font-size:clamp(1.1rem,2.4vw,1.5rem);
  letter-spacing:.34em;
  text-indent:.34em;
  color:var(--gold-lt);
  opacity:0;
  animation:fadein .8s .6s var(--ease) forwards;
}

@keyframes markin{ to{ opacity:1; transform:none; } }
@keyframes fadein{ to{ opacity:1; } }

/* ============================================================
   Header
   ============================================================ */

.masthead{
  position:fixed;
  top:0; left:0; right:0;
  z-index:90;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1.05rem var(--pad);
  transition:background .4s var(--ease),backdrop-filter .4s var(--ease),border-color .4s var(--ease),padding .4s var(--ease);
  border-bottom:1px solid transparent;
}
.masthead.is-stuck{
  background:rgba(11,7,16,.82);
  backdrop-filter:blur(16px) saturate(140%);
  border-bottom-color:var(--line-soft);
  padding-block:.7rem;
}

.brand{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:.72rem;
  text-decoration:none;
  color:var(--bone);
}
.brand svg,.brand img{ width:34px; height:34px; flex:none; }
.brand b{
  font-family:var(--serif);
  font-weight:400;
  font-size:1.16rem;
  letter-spacing:.09em;
}
.brand span{
  display:block;
  font-size:.58rem;
  letter-spacing:.2em;
  color:var(--gold);
  text-transform:uppercase;
  margin-top:1px;
}

.nav{ display:flex; align-items:center; gap:clamp(1rem,2.4vw,2.2rem); }
.nav a{
  text-decoration:none;
  font-size:.92rem;
  font-weight:450;
  color:#CFC5DA;
  padding-block:.3rem;
  border-bottom:1px solid transparent;
  transition:color .25s,border-color .25s;
}
.nav a:hover,.nav a[aria-current="page"]{ color:var(--gold-lt); border-bottom-color:var(--gold); }

.nav-toggle{
  display:none;
  position:relative;
  z-index:2;
  width:46px; height:46px;
  padding:0;
  background:rgba(237,230,218,.04);
  border:1px solid var(--line);
  border-radius:50%;
  cursor:pointer;
}
.nav-toggle span{
  position:absolute;
  left:50%;
  width:18px; height:1.5px;
  margin-left:-9px;
  background:var(--gold-lt);
  border-radius:2px;
  transition:transform .32s var(--ease), opacity .2s var(--ease), top .32s var(--ease);
}
.nav-toggle span:nth-child(1){ top:16px; }
.nav-toggle span:nth-child(2){ top:22px; }
.nav-toggle span:nth-child(3){ top:28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ top:22px; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ top:22px; transform:rotate(-45deg); }

@media (max-width:1024px){
  .nav-toggle{ display:block; }
  .nav{
    position:fixed;
    inset:0 0 auto 0;
    top:0;
    flex-direction:column;
    align-items:flex-start;
    gap:.2rem;
    padding:5.5rem var(--pad) 2.4rem;
    max-height:100svh;
    overflow-y:auto;
    background:rgba(11,7,16,.98);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--line);
    transform:translateY(-102%);
    transition:transform .45s var(--ease);
  }
  .nav.is-open{ transform:translateY(0); }
  .nav a{ font-size:1.35rem; font-family:var(--serif); padding-block:.55rem; }
  .nav .btn{ margin-top:1rem; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  isolation:isolate;
}

.hero__media{ position:absolute; inset:0; z-index:-2; }
.hero__media video,.hero__media img{
  width:100%; height:100%;
  object-fit:cover;
  filter:saturate(.82) contrast(1.04);
}
.hero__wash{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(120% 90% at 78% 20%, rgba(130,87,196,.24), transparent 60%),
    linear-gradient(180deg, rgba(11,7,16,.86) 0%, rgba(11,7,16,.42) 38%, rgba(11,7,16,.93) 88%),
    linear-gradient(90deg, rgba(11,7,16,.92) 0%, rgba(11,7,16,.25) 62%, transparent 100%);
}

.hero__inner{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding:0 var(--pad) clamp(4rem,10vh,7rem);
  position:relative;
}
.hero__inner::before{
  content:"";
  position:absolute;
  left:calc(var(--pad) - 1.6rem);
  top:-32vh;
  bottom:2.2rem;
  width:1px;
  background:linear-gradient(180deg,transparent,var(--gold) 55%,transparent);
  opacity:.55;
}

.hero h1{ max-width:19ch; }
.hero h1 em{
  font-style:normal;
  display:block;
  color:var(--gold-lt);
  font-variation-settings:"SOFT" 8,"WONK" 1;
}
.hero .lede{ max-width:46ch; margin-top:1.6rem; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.85rem; margin-top:2.2rem; }

.hero__cue{
  position:absolute;
  right:var(--pad);
  bottom:clamp(4rem,10vh,7rem);
  display:flex;
  align-items:center;
  gap:.7rem;
  font-size:.74rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--mute);
}
.hero__cue i{
  display:block; width:1px; height:56px;
  background:linear-gradient(180deg,var(--gold),transparent);
}
@media (max-width:760px){ .hero__cue{ display:none; } }

/* ---------- capability strip ---------- */

.strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-block:1px solid var(--line-soft);
}
.strip div{
  padding:clamp(1.6rem,3vw,2.4rem) clamp(.8rem,2vw,1.8rem);
  border-left:1px solid var(--line-soft);
}
.strip div:first-child{ border-left:0; }
.strip b{
  display:block;
  font-family:var(--serif);
  font-size:clamp(1.3rem,2.1vw,1.78rem);
  font-weight:400;
  color:var(--gold-lt);
  line-height:1.12;
}
.strip p{ margin:.7rem 0 0; font-size:.88rem; color:var(--mute); max-width:27ch; }
@media (max-width:900px){
  .strip{ grid-template-columns:1fr 1fr; }
  .strip div:nth-child(3){ border-left:0; }
  .strip div:nth-child(n+3){ border-top:1px solid var(--line-soft); }
}

/* ============================================================
   Scrollytelling
   ============================================================ */

.story{ position:relative; }

.story__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(1.5rem,4vw,4rem);
  align-items:end;
  padding-block:clamp(3.5rem,8vw,6.5rem) clamp(2rem,4vw,3rem);
}
@media (max-width:1024px){ .story__head{ grid-template-columns:1fr; } }

/* section header used outside the scrollytelling block */
.sechead{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(1.5rem,4vw,4rem);
  align-items:end;
  margin-bottom:clamp(2.2rem,4vw,3.2rem);
}
@media (max-width:1024px){ .sechead{ grid-template-columns:1fr; } }

.story__grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(1.5rem,5vw,5rem);
  align-items:start;
}

.stage{
  position:sticky;
  top:max(90px,14svh);
  display:grid;
  gap:1rem;
}

.stage__frame{
  position:relative;
  aspect-ratio:16/10;
  border:1px solid var(--line);
  border-radius:3px;
  overflow:hidden;
  background:var(--ink-2);
  box-shadow:0 40px 90px -50px rgba(0,0,0,.95), 0 0 0 6px rgba(201,164,76,.045);
}
.stage__frame video{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transform:scale(1.045);
  transition:opacity .85s var(--ease),transform 1.4s var(--ease);
}
.stage__frame video.is-live{ opacity:1; transform:scale(1); }
.stage__frame::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(11,7,16,.18),transparent 32%,rgba(11,7,16,.55));
}

.stage__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.stage__label{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.8rem;
  letter-spacing:.1em;
  color:var(--mute);
  text-transform:uppercase;
}
.stage__label b{ color:var(--gold-lt); font-weight:600; }

.stage__rail{ display:flex; gap:6px; align-items:center; }
.stage__rail span{
  width:26px; height:2px;
  background:var(--line-soft);
  transition:background .4s var(--ease);
}
.stage__rail span.on{ background:var(--gold); }

.sound{
  white-space:nowrap;
  background:none;
  border:1px solid var(--line);
  color:var(--bone);
  border-radius:999px;
  font:inherit;
  font-size:.78rem;
  padding:.36rem .85rem;
  cursor:pointer;
  transition:border-color .25s,background .25s;
}
.sound:hover{ border-color:var(--gold); background:rgba(201,164,76,.1); }

.chapters{ display:grid; }

.chapter{
  min-height:88svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-block:clamp(2rem,6vh,4rem);
  opacity:.34;
  transition:opacity .6s var(--ease);
}
.chapter.is-active{ opacity:1; }

.chapter__name{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin-bottom:1.1rem;
}
.chapter__name i{
  width:2.1rem; height:1px; background:var(--gold); flex:none;
}

.chapter h3{ margin-bottom:.9rem; }
.chapter p{ max-width:52ch; }
.chapter h3 span{ color:var(--gold-lt); }

.chapter ul{
  list-style:none;
  margin:1.6rem 0 0;
  padding:0;
  border-top:1px solid var(--line-soft);
}
.chapter li{
  display:grid;
  grid-template-columns:1.1rem 1fr;
  gap:.85rem;
  padding:.78rem 0;
  border-bottom:1px solid var(--line-soft);
  font-size:.95rem;
  color:#CFC5DA;
}
.chapter li svg{ width:1.1rem; height:1.1rem; margin-top:.28rem; color:var(--gold); }

.chapter__cta{ margin-top:1.7rem; display:flex; gap:1.4rem; align-items:center; flex-wrap:wrap; }

@media (max-width:1024px){
  .story__grid{ grid-template-columns:1fr; gap:0; }
  .stage{
    top:64px;
    padding-block:.75rem .6rem;
    background:var(--ink);
    box-shadow:0 14px 16px -12px var(--ink);
    z-index:5;
  }
  .stage__frame{ aspect-ratio:16/9; }
  .stage__bar{ gap:.6rem; }
  .stage__label{ font-size:.71rem; }
  .stage__rail span{ width:18px; }
  .sound{ font-size:.72rem; padding:.3rem .72rem; }
  .chapter{ min-height:auto; opacity:1; padding-block:2.4rem; border-bottom:1px solid var(--line-soft); }
  .chapter:last-child{ border-bottom:0; }
}

/* ============================================================
   Film panel
   ============================================================ */

.film{
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(91,58,140,.34), transparent 62%),
    var(--ink-2);
  border-block:1px solid var(--line-soft);
}
.film__grid{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(2rem,5vw,4.5rem);
  align-items:center;
}
@media (max-width:1024px){ .film__grid{ grid-template-columns:1fr; } }

.player{
  position:relative;
  border:1px solid var(--line);
  border-radius:3px;
  overflow:hidden;
  background:#000;
  box-shadow:0 50px 100px -60px #000;
}
.player video{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.player__play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  border:0;
  background:rgba(11,7,16,.32);
  cursor:pointer;
  transition:background .3s var(--ease),opacity .3s var(--ease);
}
.player__play:hover{ background:rgba(11,7,16,.12); }
.player__play[hidden]{ display:none; }
.player__play i{
  width:78px; height:78px;
  border-radius:50%;
  border:1px solid var(--gold);
  background:rgba(11,7,16,.55);
  backdrop-filter:blur(6px);
  display:grid;
  place-items:center;
}
.player__play svg{ width:22px; height:22px; color:var(--gold-lt); margin-left:4px; }

/* ============================================================
   Steps
   ============================================================ */

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(1.5rem,4vw,3.5rem);
  margin-top:clamp(2.5rem,5vw,4rem);
}
@media (max-width:1024px){ .steps{ grid-template-columns:1fr; } }

.step{ border-top:1px solid var(--line); padding-top:1.4rem; }
.step em{
  font-family:var(--serif);
  font-style:normal;
  font-size:clamp(2.2rem,4vw,3rem);
  color:var(--violet);
  display:block;
  line-height:1;
  margin-bottom:.9rem;
  font-variation-settings:"WONK" 1;
}
.step h3{ font-size:1.32rem; margin-bottom:.6rem; }
.step p{ font-size:.95rem; color:var(--mute); margin:0; }

/* ============================================================
   Packages
   ============================================================ */

.packs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(1rem,2vw,1.6rem);
  margin-top:clamp(2.5rem,5vw,3.5rem);
}
@media (max-width:1024px){ .packs{ grid-template-columns:1fr; } }

.pack{
  border:1px solid var(--line-soft);
  border-radius:4px;
  padding:clamp(1.6rem,2.6vw,2.2rem);
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,rgba(237,230,218,.035),transparent);
}
.pack--lead{
  border-color:var(--gold);
  background:linear-gradient(180deg,rgba(201,164,76,.1),rgba(91,58,140,.08));
}
.pack h3{ font-size:1.5rem; margin-bottom:.4rem; }
.pack > p{ font-size:.92rem; color:var(--mute); margin-bottom:1.3rem; }
.pack ul{ list-style:none; margin:0 0 1.8rem; padding:0; display:grid; gap:.62rem; }
.pack li{ font-size:.92rem; padding-left:1.35rem; position:relative; color:#D4CBDE; }
.pack li::before{
  content:"";
  position:absolute; left:0; top:.62em;
  width:.42rem; height:.42rem;
  border:1px solid var(--gold);
  transform:rotate(45deg);
}
.pack .btn{ margin-top:auto; justify-content:center; }
.pack__tag{
  align-self:flex-start;
  font-size:.7rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  border:1px solid var(--line);
  border-radius:999px;
  padding:.2rem .7rem;
  margin-bottom:1rem;
}

/* ============================================================
   Q&A teaser / FAQ
   ============================================================ */

.qa{ border-top:1px solid var(--line-soft); margin-top:clamp(2rem,4vw,3rem); }

.qa details{
  border-bottom:1px solid var(--line-soft);
}
.qa summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1.5rem;
  padding:1.35rem 0;
  font-family:var(--serif);
  font-size:clamp(1.1rem,1.9vw,1.38rem);
  line-height:1.3;
  transition:color .25s;
}
.qa summary::-webkit-details-marker{ display:none; }
.qa summary:hover{ color:var(--gold-lt); }
.qa summary i{
  flex:none;
  width:1.5rem; height:1.5rem;
  border:1px solid var(--line);
  border-radius:50%;
  position:relative;
  margin-top:.25rem;
  transition:background .3s var(--ease),transform .35s var(--ease);
}
.qa summary i::before,.qa summary i::after{
  content:"";
  position:absolute;
  inset:50% 28% auto 28%;
  height:1px;
  background:var(--gold);
}
.qa summary i::after{ transform:rotate(90deg); transition:opacity .25s; }
.qa details[open] summary i{ background:rgba(201,164,76,.14); transform:rotate(90deg); }
.qa details[open] summary i::after{ opacity:0; }
.qa details[open] summary{ color:var(--gold-lt); }
.qa .answer{ padding:0 0 1.5rem; max-width:70ch; }
.qa .answer p{ color:var(--mute); font-size:.97rem; }
.qa .answer p:last-child{ margin-bottom:0; }

.faq-filter{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin:1.8rem 0 .4rem;
}
.chip{
  font:inherit;
  font-size:.86rem;
  padding:.45rem 1.05rem;
  border-radius:999px;
  border:1px solid var(--line-soft);
  background:none;
  color:var(--mute);
  cursor:pointer;
  transition:border-color .25s,color .25s,background .25s;
}
.chip:hover{ color:var(--bone); border-color:var(--line); }
.chip[aria-pressed="true"]{ border-color:var(--gold); color:var(--gold-lt); background:rgba(201,164,76,.1); }

.search{
  display:flex;
  align-items:center;
  gap:.8rem;
  border:1px solid var(--line-soft);
  border-radius:999px;
  padding:.75rem 1.3rem;
  margin-top:1.6rem;
  max-width:460px;
}
.search input{
  flex:1;
  background:none;
  border:0;
  color:var(--bone);
  font:inherit;
  font-size:.95rem;
  outline:none;
}
.search input::placeholder{ color:var(--mute); }
.search svg{ width:1.05rem; height:1.05rem; color:var(--gold); flex:none; }

.empty{ padding:2.5rem 0; color:var(--mute); }

/* ============================================================
   Service detail (services.html)
   ============================================================ */

.svc{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.8rem,5vw,4.5rem);
  align-items:center;
  padding-block:clamp(3rem,7vw,5.5rem);
  border-bottom:1px solid var(--line-soft);
}
.svc:last-of-type{ border-bottom:0; }
.svc:nth-child(even) .svc__media{ order:2; }
@media (max-width:1024px){
  .svc{ grid-template-columns:1fr; }
  .svc:nth-child(even) .svc__media{ order:0; }
}
.svc__media{
  border:1px solid var(--line);
  border-radius:3px;
  overflow:hidden;
  background:#000;
  box-shadow:0 40px 80px -55px #000;
}
.svc__media video{ width:100%; aspect-ratio:16/9; object-fit:cover; }

.tags{ display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1.5rem; }
.tags span{
  font-size:.78rem;
  color:var(--mute);
  border:1px solid var(--line-soft);
  border-radius:999px;
  padding:.28rem .8rem;
}

/* ============================================================
   Booking console
   ============================================================ */

.console{
  border:1px solid var(--line);
  border-radius:6px;
  background:linear-gradient(180deg,rgba(47,26,71,.55),rgba(18,11,28,.92));
  box-shadow:0 50px 110px -60px #000;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-height:540px;
  max-height:min(720px,82svh);
}

.console__top{
  display:flex;
  align-items:center;
  gap:.8rem;
  padding:.95rem 1.15rem;
  border-bottom:1px solid var(--line-soft);
  background:rgba(11,7,16,.5);
}
.console__top .mark{ width:28px; height:28px; flex:none; }
.console__top b{ font-weight:600; font-size:.96rem; display:block; }
.console__top small{ display:block; font-size:.75rem; color:var(--mute); }
.console__live{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:.45rem;
  font-size:.74rem;
  color:var(--mute);
}
.console__live i{
  width:7px;height:7px;border-radius:50%;
  background:#5FD08A;
  box-shadow:0 0 0 3px rgba(95,208,138,.16);
}

.console__log{
  flex:1;
  overflow-y:auto;
  padding:1.4rem 1.15rem .6rem;
  display:flex;
  flex-direction:column;
  gap:.85rem;
  scrollbar-width:thin;
  scrollbar-color:var(--violet-dim) transparent;
}
.console__log::-webkit-scrollbar{ width:6px; }
.console__log::-webkit-scrollbar-thumb{ background:var(--violet-dim); border-radius:3px; }

.msg{
  max-width:84%;
  padding:.78rem 1.05rem;
  border-radius:14px;
  font-size:.94rem;
  line-height:1.55;
  animation:pop .35s var(--ease) both;
}
.msg--bot{
  align-self:flex-start;
  background:rgba(237,230,218,.07);
  border:1px solid var(--line-soft);
  border-bottom-left-radius:4px;
}
.msg--me{
  align-self:flex-end;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold));
  color:#1A1105;
  font-weight:500;
  border-bottom-right-radius:4px;
}
.msg strong{ color:var(--gold-lt); font-weight:600; }
.msg--me strong{ color:#1A1105; }

@keyframes pop{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

.typing{ display:flex; gap:4px; align-self:flex-start; padding:.9rem 1.05rem; }
.typing i{
  width:6px;height:6px;border-radius:50%;background:var(--mute);
  animation:bounce 1.2s infinite var(--ease);
}
.typing i:nth-child(2){ animation-delay:.15s; }
.typing i:nth-child(3){ animation-delay:.3s; }
@keyframes bounce{ 0%,60%,100%{ opacity:.3; transform:translateY(0);} 30%{ opacity:1; transform:translateY(-4px);} }

.card{
  align-self:flex-start;
  width:min(100%,380px);
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(11,7,16,.6);
  padding:1.1rem 1.2rem;
  animation:pop .35s var(--ease) both;
}
.card h4{ font-size:1.15rem; margin-bottom:.9rem; color:var(--gold-lt); }
.card dl{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:.5rem 1rem; font-size:.9rem; }
.card dt{ color:var(--mute); }
.card dd{ margin:0; text-align:right; font-weight:500; }
.card .ref{
  margin-top:1rem;
  padding-top:.8rem;
  border-top:1px solid var(--line-soft);
  font-size:.8rem;
  color:var(--mute);
  display:flex;
  justify-content:space-between;
}

.console__foot{
  border-top:1px solid var(--line-soft);
  padding:.9rem 1.15rem 1.1rem;
  background:rgba(11,7,16,.5);
}

.opts{ display:flex; flex-wrap:wrap; gap:.5rem; }
.opts button{
  font:inherit;
  font-size:.88rem;
  padding:.55rem 1.05rem;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(201,164,76,.06);
  color:var(--bone);
  cursor:pointer;
  transition:background .22s,border-color .22s,transform .18s;
}
.opts button:hover{ background:rgba(201,164,76,.18); transform:translateY(-1px); }
.opts button.is-slim{ font-size:.84rem; padding:.48rem .85rem; }
.opts button.is-off{ opacity:.35; cursor:not-allowed; text-decoration:line-through; }

.compose{ display:flex; gap:.6rem; }
.compose input{
  flex:1;
  background:rgba(237,230,218,.05);
  border:1px solid var(--line-soft);
  border-radius:999px;
  padding:.72rem 1.15rem;
  color:var(--bone);
  font:inherit;
  font-size:.94rem;
  outline:none;
  transition:border-color .25s;
}
.compose input:focus{ border-color:var(--gold); }
.compose input::placeholder{ color:var(--mute); }
.compose button{
  flex:none;
  width:44px; height:44px;
  border-radius:50%;
  border:0;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold));
  color:#1A1105;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.compose button svg{ width:18px; height:18px; }

.console__hint{
  margin:.7rem 0 0;
  font-size:.76rem;
  color:var(--mute);
  display:flex;
  justify-content:space-between;
  gap:1rem;
}
.console__hint button{
  background:none;border:0;color:var(--mute);font:inherit;font-size:.76rem;
  cursor:pointer;text-decoration:underline;text-underline-offset:3px;
}
.console__hint button:hover{ color:var(--gold-lt); }

/* floating launcher + drawer */

.launcher{
  position:fixed;
  right:clamp(1rem,3vw,2rem);
  bottom:clamp(1rem,3vw,2rem);
  z-index:80;
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.7rem 1.25rem .7rem .8rem;
  border-radius:999px;
  border:1px solid var(--gold);
  background:rgba(18,11,28,.92);
  backdrop-filter:blur(12px);
  color:var(--bone);
  font:inherit;
  font-size:.9rem;
  font-weight:500;
  cursor:pointer;
  box-shadow:0 20px 50px -22px rgba(0,0,0,.9);
  transition:transform .25s var(--ease),background .25s;
}
.launcher:hover{ transform:translateY(-2px); background:rgba(47,26,71,.95); }
.launcher svg,.launcher img{ width:26px; height:26px; }
@media (max-width:520px){ .launcher span{ display:none; } .launcher{ padding:.8rem; } }

.drawer{
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:end center;
  background:rgba(6,3,10,.72);
  backdrop-filter:blur(5px);
  opacity:0;
  visibility:hidden;
  transition:opacity .35s var(--ease),visibility .35s;
}
.drawer.is-open{ opacity:1; visibility:visible; }
.drawer__panel{
  position:relative;
  width:min(440px,100%);
  margin:0 clamp(0rem,3vw,2rem) clamp(0rem,3vw,2rem) 0;
  justify-self:end;
  transform:translateY(24px);
  transition:transform .4s var(--ease);
}
.drawer.is-open .drawer__panel{ transform:none; }
.drawer .console{ min-height:min(620px,86svh); max-height:86svh; }
@media (max-width:560px){
  .drawer__close{ top:.6rem; right:.7rem; }
  .drawer .console__live{ display:none; }
  .drawer{ place-items:stretch; }
  .drawer__panel{ width:100%; margin:0; }
  .drawer .console{ min-height:100svh; max-height:100svh; border-radius:0; border:0; }
}
.drawer__close{
  position:absolute;
  top:-46px; right:2px;
  z-index:2;
  width:32px;height:32px;
  border-radius:50%;
  border:1px solid var(--line-soft);
  background:rgba(11,7,16,.6);
  color:var(--bone);
  cursor:pointer;
  display:grid;place-items:center;
  font-size:1rem;
  line-height:1;
}
.drawer__close:hover{ border-color:var(--gold); color:var(--gold-lt); }

/* ============================================================
   Contact + footer
   ============================================================ */

.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(2rem,5vw,4.5rem);
  align-items:start;
}
@media (max-width:1024px){ .contact-grid{ grid-template-columns:1fr; } }

.detail{ border-top:1px solid var(--line-soft); padding:1.1rem 0; display:grid; gap:.25rem; }
.detail b{ font-weight:500; font-size:.8rem; color:var(--mute); letter-spacing:.08em; text-transform:uppercase; }
.detail a,.detail span{ font-family:var(--serif); font-size:1.25rem; text-decoration:none; color:var(--bone); }
.detail a:hover{ color:var(--gold-lt); }

.footer{
  border-top:1px solid var(--line-soft);
  padding-block:clamp(2.5rem,5vw,3.5rem) clamp(5rem,8vw,6rem);
  background:var(--ink-2);
}
.footer__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:clamp(1.5rem,4vw,3rem);
}
@media (max-width:820px){ .footer__grid{ grid-template-columns:1fr 1fr; } .footer__grid > :first-child{ grid-column:1/-1; } }
.footer h4{ font-family:var(--sans); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:.9rem; font-weight:600; }
.footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.footer a{ text-decoration:none; color:var(--mute); font-size:.92rem; }
.footer .brand{ color:var(--bone); }
.footer a:hover{ color:var(--gold-lt); }
.footer__base{
  margin-top:clamp(2rem,4vw,3rem);
  padding-top:1.3rem;
  border-top:1px solid var(--line-soft);
  display:flex;
  flex-wrap:wrap;
  gap:.8rem 1.5rem;
  justify-content:space-between;
  font-size:.82rem;
  color:var(--mute);
}

/* ============================================================
   Page headers for inner pages
   ============================================================ */

.pagehead{
  padding-top:clamp(8rem,16vh,11rem);
  padding-bottom:clamp(2.5rem,6vw,4rem);
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(91,58,140,.34), transparent 60%),
    var(--ink);
  border-bottom:1px solid var(--line-soft);
}
.pagehead h1{ font-size:clamp(2.4rem,6vw,4.4rem); max-width:18ch; }
.pagehead .lede{ margin-top:1.3rem; }

.crumb{ font-size:.82rem; color:var(--mute); margin-bottom:1.5rem; }
.crumb a{ text-decoration:none; color:var(--gold); }
.crumb a:hover{ text-decoration:underline; }

/* ---------- reveal ---------- */

.reveal{ opacity:0; transform:translateY(18px); }
.reveal.shown{ opacity:1; transform:none; transition:opacity .8s var(--ease),transform .8s var(--ease); }

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

/* spec list used on the services page */
.speclist{ list-style:none; margin:1.6rem 0 0; padding:0; border-top:1px solid var(--line-soft); }
.speclist li{ padding:.82rem 0; border-bottom:1px solid var(--line-soft); font-size:.95rem; color:#CFC5DA; }

@media (max-width:480px){
  .stage__rail{ display:none; }
}

/* the browser's own clear button in the FAQ search */
.search input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none;
  width:.85rem; height:.85rem;
  cursor:pointer;
  background:currentColor;
  color:var(--mute);
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6 18 18M18 6 6 18'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   Plain-English explainer line under a section label
   ============================================================ */

.plain{
  display:block;
  font-family:var(--serif);
  font-size:1.02rem;
  line-height:1.5;
  color:var(--gold-lt);
  border-left:1px solid var(--line);
  padding:.15rem 0 .15rem 1rem;
  margin:0 0 1.15rem;
  max-width:50ch;
}
.plain b{ font-weight:400; font-style:italic; color:var(--gold); }

/* ============================================================
   What we can solve: grouped lists
   ============================================================ */

.solve{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
  margin-top:clamp(2.2rem,4vw,3rem);
}
@media (max-width:1280px){ .solve{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px){ .solve{ grid-template-columns:1fr; } }

.solve__group{
  background:var(--ink);
  padding:clamp(1.4rem,2.2vw,1.9rem);
}
.solve__group h3{
  font-size:1.2rem;
  color:var(--gold-lt);
  margin-bottom:1.1rem;
  padding-bottom:.85rem;
  border-bottom:1px solid var(--line);
}
.solve__group ul{ list-style:none; margin:0; padding:0; display:grid; gap:.82rem; }
.solve__group li{
  position:relative;
  padding-left:1.3rem;
  font-size:.92rem;
  line-height:1.45;
  color:#CFC5DA;
}
.solve__group li::before{
  content:"";
  position:absolute;
  left:0; top:.58em;
  width:.4rem; height:.4rem;
  border:1px solid var(--gold);
  transform:rotate(45deg);
}
.solve__group li b{ font-weight:600; color:var(--bone); }

.askus{
  margin-top:clamp(1.8rem,3vw,2.4rem);
  border:1px solid var(--gold);
  border-radius:4px;
  background:linear-gradient(120deg,rgba(201,164,76,.12),rgba(91,58,140,.14));
  padding:clamp(1.6rem,3vw,2.3rem);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
}
.askus h3{ font-size:clamp(1.3rem,2.2vw,1.7rem); margin-bottom:.5rem; }
.askus p{ margin:0; color:var(--mute); font-size:.95rem; max-width:58ch; }

/* ============================================================
   Roadmap
   ============================================================ */

.road{ position:relative; margin-top:clamp(3rem,6vw,4.5rem); }

.road__grid{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(.9rem,1.8vw,1.8rem);
}

/* the road itself: each stop draws the stretch to the next one,
   so the line starts and stops exactly at a dot */
.stop{ position:relative; }
.stop::after{
  content:"";
  position:absolute;
  left:56px;
  right:calc(-1 * clamp(.9rem,1.8vw,1.8rem));
  top:28px;
  height:1px;
  background:var(--gold);
  opacity:.38;
}
.stop--last::after{ display:none; }

.stop__dot{
  width:56px; height:56px;
  border-radius:50%;
  border:1px solid var(--gold);
  background:var(--ink);
  display:grid; place-items:center;
  font-family:var(--serif);
  font-size:1.1rem;
  color:var(--gold-lt);
  margin-bottom:1.3rem;
  position:relative;
  z-index:1;
}
.stop--last .stop__dot{
  background:linear-gradient(135deg,var(--gold-lt),var(--gold));
  color:#1A1105;
}
.stop h3{ font-size:1.2rem; margin-bottom:.5rem; }
.stop p{ font-size:.9rem; color:var(--mute); margin:0; max-width:30ch; }
.stop__when{
  display:block;
  font-size:.74rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:.5rem;
}

@media (max-width:1024px){
  .road__grid{ grid-template-columns:1fr; gap:0; }
  .stop::after{
    left:28px; right:auto;
    top:56px; bottom:0;
    width:1px; height:auto;
  }
  .stop{
    display:grid;
    grid-template-columns:56px 1fr;
    gap:0 1.2rem;
    padding-bottom:2.2rem;
  }
  .stop__dot{ margin-bottom:0; }
  .stop > *:not(.stop__dot){ grid-column:2; }
  .stop__when{ margin-top:.5rem; }
}

/* ============================================================
   Larger type on small screens
   ============================================================ */

@media (max-width:620px){
  body{ font-size:1.06rem; line-height:1.68; }
  .lede{ font-size:1.12rem; line-height:1.62; }
  .chapter li,
  .solve__group li,
  .speclist li{ font-size:.99rem; line-height:1.5; }
  .chapter p,
  .step p,
  .stop p,
  .pack li,
  .qa .answer p,
  .askus p{ font-size:1rem; }
  .plain{ font-size:1.06rem; }
  .stage__label{ font-size:.76rem; }
  .sound{ font-size:.8rem; padding:.42rem .9rem; }
  .footer a{ font-size:.98rem; }
  .footer ul{ gap:.75rem; }
  .btn{ font-size:1rem; padding:.95rem 1.7rem; }
  .marker{ font-size:.78rem; }
}

/* ============================================================
   "Desktop site" notice
   A phone forced into desktop mode renders everything at about
   980px and then shrinks it to fit, which makes the text tiny.
   Nothing in CSS can undo that, so say so, once, politely.
   ============================================================ */

.uanotice{
  position:fixed;
  left:0; right:0; top:0;
  z-index:150;
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.85rem 1.1rem;
  background:linear-gradient(135deg,var(--gold-lt),var(--gold));
  color:#1A1105;
  font-size:.95rem;
  font-weight:500;
  line-height:1.4;
  box-shadow:0 12px 30px -16px rgba(0,0,0,.9);
}
.uanotice p{ margin:0; max-width:none; }
.uanotice button{
  flex:none;
  margin-left:auto;
  width:30px; height:30px;
  border-radius:50%;
  border:1px solid rgba(26,17,5,.35);
  background:none;
  color:#1A1105;
  font:inherit;
  font-size:1rem;
  line-height:1;
  cursor:pointer;
}
.uanotice button:hover{ background:rgba(26,17,5,.12); }
