/* SyncAutoFlow Inventory — coming soon poster
   Zero external dependencies, zero JavaScript. */

:root{
  --ink:#0b1116;
  --ink-2:#0f1a21;
  --ink-3:#132229;
  --cream:#f8f0de;
  --cream-dim:#cfc7b6;
  --amber:#ffb020;
  --amber-deep:#e0871b;
  --copper:#c9662a;
  --lime:#c8e63c;
  --lime-deep:#a9c62a;
  --rule:rgba(248,240,222,.14);
  --maxw:1320px;
  --pad:clamp(1.15rem,4vw,3.5rem);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--ink);
  color:var(--cream);
  font-family:var(--font);
  font-size:clamp(1rem,.55vw + .88rem,1.075rem);
  line-height:1.5;
  overflow-x:hidden;
  position:relative;
}

/* soft poster glow, lunar-amber light from the right */
body::before{
  content:"";
  position:fixed;
  inset:-10% -20% auto auto;
  width:min(90vw,1100px);
  height:min(90vw,1100px);
  background:radial-gradient(circle at 50% 50%,rgba(255,176,32,.16),rgba(255,176,32,.05) 42%,transparent 66%);
  pointer-events:none;
  z-index:0;
}
body::after{
  content:"";
  position:fixed;
  inset:auto auto -20% -15%;
  width:min(80vw,900px);
  height:min(80vw,900px);
  background:radial-gradient(circle at 50% 50%,rgba(200,230,60,.10),transparent 62%);
  pointer-events:none;
  z-index:0;
}

.visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;
}

.skip{
  position:absolute;left:1rem;top:-4rem;z-index:20;
  padding:.7rem 1.1rem;border-radius:.6rem;
  background:var(--lime);color:#10160a;
  font-weight:800;text-decoration:none;
  transition:top .18s ease;
}
.skip:focus{top:1rem}

:where(a,button):focus-visible{
  outline:3px solid var(--lime);
  outline-offset:3px;
  border-radius:.35rem;
}

/* ---------- top bar ---------- */
.top{
  position:relative;z-index:3;
  width:100%;
  display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;
  align-items:center;justify-content:space-between;
  max-width:var(--maxw);
  margin:0 auto;
  padding:clamp(1.1rem,2.4vw,1.9rem) var(--pad) 0;
}

.brand{
  margin:0;
  display:inline-flex;align-items:center;gap:.6rem;
  font-size:.82rem;font-weight:800;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--cream);
}
.brand-sub{color:var(--cream-dim);font-weight:700}
.slash{color:var(--amber);margin:0 .1rem;font-weight:900}

.mark{
  width:.72rem;height:.72rem;border-radius:50%;
  background:var(--lime);
  box-shadow:0 0 0 .28rem rgba(200,230,60,.16);
  animation:breathe 3.6s ease-in-out infinite;
}

.host{
  margin:0;
  font-family:var(--font-mono);
  font-size:.72rem;letter-spacing:.06em;
  color:rgba(207,199,182,.72);
  border:1px solid var(--rule);
  border-radius:999px;
  padding:.32rem .8rem;
  white-space:nowrap;
}

/* ---------- poster ---------- */
.poster{
  position:relative;z-index:2;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:clamp(1.6rem,4vw,3.2rem) var(--pad) clamp(1rem,3vw,2rem);
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(1.5rem,4vw,3rem);
  align-items:center;
  flex:1 1 auto;
}

.copy{max-width:44ch}

.badge{
  display:inline-flex;align-items:center;gap:.5rem;
  margin:0 0 clamp(1rem,2vw,1.4rem);
  padding:.42rem .95rem .42rem .72rem;
  border-radius:999px;
  background:linear-gradient(180deg,var(--lime),var(--lime-deep));
  color:#151c05;
  font-size:.78rem;font-weight:800;
  letter-spacing:.13em;text-transform:uppercase;
  box-shadow:0 10px 26px -14px rgba(200,230,60,.85);
}
.badge .hop{width:1.05em;height:1.05em;fill:currentColor;flex:none}

.headline{
  margin:0;
  font-size:clamp(2.05rem,9.4vw,3.6rem);
  line-height:.94;
  letter-spacing:-.035em;
  font-weight:900;
  text-wrap:balance;
}
.headline span{display:block}
.headline .l1{color:var(--cream)}
.headline .l2{color:var(--amber);position:relative}
.headline em{
  font-style:normal;
  background:linear-gradient(180deg,var(--amber) 0%,var(--amber-deep) 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--amber);
}
.headline .l3{
  color:var(--lime);
  letter-spacing:.005em;
  transform:rotate(-1.4deg);
  transform-origin:left center;
  margin-top:.06em;
}

.lede{
  margin:clamp(1.1rem,2.4vw,1.6rem) 0 0;
  color:#e8dfcc;
  font-size:clamp(1.02rem,1.5vw + .7rem,1.2rem);
  line-height:1.55;
  max-width:38ch;
}

.fine{
  margin:.9rem 0 0;
  padding-left:.9rem;
  border-left:3px solid var(--copper);
  color:var(--cream-dim);
  font-size:.92rem;
  font-weight:600;
  letter-spacing:.01em;
}

/* ---------- artwork ---------- */
.art{
  margin:0;
  position:relative;
  border-radius:clamp(.9rem,2vw,1.4rem);
  overflow:hidden;
  background:var(--ink-2);
  box-shadow:0 40px 90px -50px rgba(0,0,0,.95), 0 0 0 1px var(--rule);
}
.art picture{display:block}
.art img{
  display:block;width:100%;height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  filter:saturate(1.04) contrast(1.02);
}
.art::after{
  content:"";
  position:absolute;inset:0;
  pointer-events:none;
  background:linear-gradient(105deg,rgba(11,17,22,.55) 0%,rgba(11,17,22,.08) 34%,rgba(11,17,22,0) 58%),
             linear-gradient(180deg,rgba(11,17,22,0) 62%,rgba(11,17,22,.42) 100%);
}

/* ---------- footer / motifs ---------- */
.foot{
  position:relative;z-index:2;
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:clamp(.6rem,2vw,1rem) var(--pad) clamp(1.6rem,3vw,2.4rem);
  margin-top:auto;
  border-top:1px solid var(--rule);
  display:flex;flex-wrap:wrap;gap:.9rem 1.6rem;
  align-items:center;justify-content:space-between;
}

.motifs{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:.5rem clamp(.85rem,2.4vw,1.7rem);
  align-items:center;
}
.motifs li{
  display:inline-flex;align-items:center;gap:.42rem;
  color:rgba(207,199,182,.86);
  font-size:.76rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
}
.motifs svg{
  width:1.15rem;height:1.15rem;
  fill:none;stroke:currentColor;
  color:var(--amber);
}
.motifs svg.solid{fill:currentColor;stroke:none}
.motifs svg path,.motifs svg circle{vector-effect:non-scaling-stroke}
.motifs li:nth-child(2n) svg{color:var(--lime)}
.motifs li:nth-child(3n) svg{color:var(--cream)}

.note{
  margin:0;
  color:rgba(207,199,182,.62);
  font-size:.82rem;
  font-style:italic;
}

/* ---------- 404 ---------- */
.notfound{grid-template-columns:1fr!important;min-height:60vh}
.notfound .headline{font-size:clamp(2rem,6vw,3.4rem)}
.home{
  display:inline-block;margin-top:1.4rem;padding:.7rem 1.15rem;border-radius:.7rem;
  background:var(--lime);color:#151c05;font-weight:800;text-decoration:none;
}
.home:hover{background:var(--lime-deep)}

/* ---------- motion ---------- */
@keyframes breathe{
  0%,100%{box-shadow:0 0 0 .28rem rgba(200,230,60,.16)}
  50%{box-shadow:0 0 0 .5rem rgba(200,230,60,.06)}
}
@keyframes rise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes drift{
  from{transform:translateY(0)}
  to{transform:translateY(-4px)}
}

.copy > *{animation:rise .7s cubic-bezier(.2,.7,.25,1) both}
.copy > .badge{animation-delay:.04s}
.copy > .headline{animation-delay:.1s}
.copy > .lede{animation-delay:.18s}
.copy > .fine{animation-delay:.26s}
.art{animation:rise .9s cubic-bezier(.2,.7,.25,1) .12s both}
.motifs li svg{animation:drift 4.2s ease-in-out infinite alternate}
.motifs li:nth-child(2) svg{animation-delay:.4s}
.motifs li:nth-child(3) svg{animation-delay:.8s}
.motifs li:nth-child(4) svg{animation-delay:1.2s}
.motifs li:nth-child(5) svg{animation-delay:1.6s}
.motifs li:nth-child(6) svg{animation-delay:2s}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .headline .l3{transform:none}
}

/* ---------- two-column poster on wide screens ---------- */
@media (min-width:900px){
  body{display:flex;flex-direction:column;min-height:100vh}
  .poster{
    grid-template-columns:1.12fr .88fr;
    gap:clamp(2rem,4vw,4rem);
    flex:1 1 auto;
    align-items:center;
  }
  .copy{max-width:min(100%,40rem)}
  .headline{font-size:clamp(2.9rem,5.1vw,4.9rem)}
  .art{
    align-self:stretch;
    min-height:clamp(24rem,58vh,34rem);
  }
  .art picture,.art img{height:100%}
  .art img{aspect-ratio:auto;object-position:58% 50%}
  .foot{margin-top:auto}
}

/* small phones */
@media (max-width:560px){
  .host{display:none}
}
@media (max-width:420px){
  .headline{letter-spacing:-.028em}
  .host{font-size:.64rem}
  .note{display:none}
}

/* portrait tablets: give the art more room */
@media (min-width:600px) and (max-width:899px){
  .art img{aspect-ratio:16/10}
}

@media (prefers-contrast:more){
  .lede{color:#fff}
  .fine{color:#fff}
  .motifs li{color:#fff}
  .note{color:#e8dfcc}
}
