/* ---------- Fonts (self-hosted Vazirmatn) ---------- */
@font-face{font-family:"Vazirmatn";src:url("../fonts/Vazirmatn-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("../fonts/Vazirmatn-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("../fonts/Vazirmatn-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("../fonts/Vazirmatn-Black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}

/* ---------- Design tokens ---------- */
:root{
  /* the ash → fire → gold spectrum */
  --ash:#0f0a08;            /* warm near-black base */
  --ash-2:#160e0a;          /* raised surface */
  --ash-3:#1e130d;          /* card surface */
  --ember-deep:#7a1f12;     /* deep maroon ember */
  --fire:#e8451f;           /* core red-orange (primary) */
  --flame:#ff7a1a;          /* bright flame */
  --gold:#f4b52a;           /* gold — the shield / trust */
  --magenta:#a5114f;        /* Elecomp tie (secondary, sparing) */
  --paper:#f6ede2;          /* warm off-white text */
  --smoke:#c3b1a4;          /* muted warm grey */
  --smoke-2:#8a7a6f;        /* dimmer */
  --line:#3a2419;           /* warm hairline */
  --line-2:#2a1a12;

  --grad-fire:linear-gradient(120deg,var(--flame),var(--fire) 45%,var(--ember-deep));
  --grad-fire-soft:linear-gradient(120deg,#ffb066,#ff7a1a 40%,#e8451f);
  --grad-title:linear-gradient(180deg,#fff2e2 0%,#ffd39a 30%,#ff8a2b 68%,#e8451f 100%);

  --maxw:1120px;
  --radius:18px;
  --radius-sm:12px;
  --shadow-glow:0 0 0 1px rgba(255,122,26,.14), 0 30px 80px -40px rgba(232,69,31,.5);

  --step--1:clamp(.82rem,.78rem + .2vw,.92rem);
  --step-0:clamp(1rem,.95rem + .25vw,1.12rem);
  --step-1:clamp(1.2rem,1.1rem + .5vw,1.45rem);
  --step-2:clamp(1.5rem,1.3rem + 1vw,2rem);
  --step-3:clamp(2rem,1.6rem + 2vw,3rem);
  --step-hero:clamp(2.5rem,1.6rem + 4.6vw,5.4rem);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;font-family:"Vazirmatn",system-ui,sans-serif;
  background:var(--ash);color:var(--paper);
  font-size:var(--step-0);line-height:1.85;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
::selection{background:var(--fire);color:#fff}

/* ambient background: a warm ember glow anchored bottom, like heat rising */
body::before{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(1200px 600px at 78% -6%, rgba(255,122,26,.10), transparent 60%),
    radial-gradient(900px 700px at 12% 108%, rgba(165,17,79,.10), transparent 60%),
    radial-gradient(700px 500px at 50% 118%, rgba(232,69,31,.14), transparent 62%);
}

/* ---------- Layout helpers ---------- */
.wrap{width:min(var(--maxw),100% - 3rem);margin-inline:auto}
.section{padding-block:clamp(3.5rem,2.5rem + 4vw,7rem)}
.section-head{max-width:56ch;margin-bottom:2.6rem}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;color:var(--flame);
  font-weight:600;font-size:var(--step--1);letter-spacing:.01em;margin-bottom:1rem}
.eyebrow::before{content:"";width:.5rem;height:.5rem;border-radius:50%;
  background:var(--flame);box-shadow:0 0 12px 2px rgba(255,122,26,.8)}
h1,h2,h3{line-height:1.25;margin:0;font-weight:700;letter-spacing:-.01em}
.h2{font-size:var(--step-3);font-weight:900}
.lede{color:var(--smoke);font-size:var(--step-1);line-height:1.85;max-width:60ch}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:.95rem 1.7rem;border-radius:999px;font-weight:600;font-size:var(--step-0);
  border:1px solid transparent;cursor:pointer;transition:transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  will-change:transform}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--grad-fire);color:#1a0d07;
  box-shadow:0 12px 30px -12px rgba(232,69,31,.7), inset 0 1px 0 rgba(255,255,255,.25)}
.btn-primary:hover{box-shadow:0 18px 44px -14px rgba(255,122,26,.85), inset 0 1px 0 rgba(255,255,255,.35);transform:translateY(-2px)}
.btn-ghost{background:rgba(255,255,255,.03);color:var(--paper);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--flame);background:rgba(255,122,26,.08)}
.btn-gold{background:linear-gradient(120deg,#ffd778,#f4b52a 55%,#d98e12);color:#241505;
  box-shadow:0 14px 34px -14px rgba(244,181,42,.7), inset 0 1px 0 rgba(255,255,255,.4)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 20px 46px -16px rgba(244,181,42,.85)}
.btn[disabled]{opacity:.55;cursor:not-allowed;transform:none}
.btn-block{width:100%}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;
  backdrop-filter:blur(10px);background:linear-gradient(var(--ash),rgba(15,10,8,.72));
  border-bottom:1px solid var(--line-2)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;padding-block:.85rem}
.brand{display:flex;align-items:center;gap:.7rem;font-weight:700}
.brand img{width:38px;height:38px;filter:drop-shadow(0 4px 10px rgba(232,69,31,.4))}
.brand b{font-weight:800;font-size:1.05rem}
.brand span{color:var(--smoke-2);font-size:.8rem;font-weight:500;display:block;margin-top:-2px}
.site-header .btn{padding:.6rem 1.2rem}
@media(max-width:560px){.brand .brand-txt span{display:none}.site-header .nav-cta{display:none}}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;padding-block:clamp(3.5rem,2rem + 7vw,8rem)}
.hero-embers{position:absolute;inset:0;z-index:0;pointer-events:none}
.hero .wrap{position:relative;z-index:2}
.hero-tag{color:var(--flame);font-weight:600;margin-bottom:1.1rem;display:flex;align-items:center;gap:.6rem}
.hero-tag::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:var(--flame);box-shadow:0 0 14px 3px rgba(255,122,26,.85)}
.hero h1{font-size:var(--step-hero);font-weight:900;line-height:1.12;letter-spacing:-.02em;max-width:20ch}
.hero h1 .flame-text{background:var(--grad-title);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 6px 30px rgba(255,122,26,.25))}
.hero-sub{margin-top:1.3rem;font-size:var(--step-1);color:var(--gold);font-weight:600;max-width:34ch}
.hero-lede{margin-top:1.5rem;color:var(--smoke);max-width:56ch;font-size:var(--step-0)}
.hero-cta{margin-top:2.4rem;display:flex;gap:1rem;flex-wrap:wrap}
.hero-meta{margin-top:2.6rem;display:flex;gap:1.8rem;flex-wrap:wrap;color:var(--smoke-2);font-size:var(--step--1)}
.hero-meta b{color:var(--paper);font-weight:600}

/* ---------- Six acts: the rising ember timeline (signature element) ---------- */
.acts{position:relative}
.acts-grid{position:relative;display:grid;gap:0}
.acts-spine{position:absolute;inset-block:0;inset-inline-start:calc(1.15rem - 1px);width:2px;
  background:linear-gradient(180deg,
     #5a3a2a 0%, #ff7a1a 16%, #e8451f 34%, #3a1c12 50%,
     #f4b52a 66%, #ffd778 82%, #f6ede2 100%);
  box-shadow:0 0 22px rgba(255,122,26,.35)}
.act{position:relative;padding:1.25rem 0 1.25rem 0;padding-inline-start:3.4rem}
.act::before{content:"";position:absolute;inset-inline-start:0;top:1.55rem;
  width:2.3rem;height:2.3rem;border-radius:50%;background:var(--ash-2);
  border:2px solid var(--fire);display:grid;place-items:center;
  box-shadow:0 0 0 5px var(--ash), 0 0 20px rgba(232,69,31,.5)}
.act .act-emoji{position:absolute;inset-inline-start:0;top:1.55rem;width:2.3rem;height:2.3rem;
  display:grid;place-items:center;font-size:1.1rem;z-index:2}
.act h3{font-size:var(--step-2);font-weight:900;letter-spacing:-.01em}
.act p{margin:.45rem 0 0;color:var(--smoke);max-width:60ch}
.act .act-k{display:block;color:var(--flame);font-weight:600;font-size:var(--step--1);margin-bottom:.15rem}
.act + .act{border-top:1px dashed var(--line-2)}
/* each act tints its node toward its meaning */
.act[data-act="1"]::before{border-color:#ffb066}
.act[data-act="2"]::before{border-color:var(--flame);box-shadow:0 0 0 5px var(--ash),0 0 26px rgba(255,122,26,.75)}
.act[data-act="3"]::before{border-color:#5a3a2a;background:#120b08}
.act[data-act="4"]::before{border-color:var(--gold)}
.act[data-act="5"]::before{border-color:#ffd778}
.act[data-act="6"]::before{border-color:var(--paper);box-shadow:0 0 0 5px var(--ash),0 0 26px rgba(246,237,226,.4)}

/* ---------- Thesis lexicon ---------- */
.thesis{background:
   linear-gradient(180deg,transparent,rgba(165,17,79,.05)),var(--ash-2);
   border-block:1px solid var(--line-2)}
.thesis .shift{font-size:var(--step-3);font-weight:900;line-height:1.3;max-width:22ch;letter-spacing:-.01em}
.thesis .shift em{font-style:normal;color:var(--gold)}
.thesis .shift .thru{color:var(--smoke-2);text-decoration:line-through;text-decoration-color:var(--ember-deep);text-decoration-thickness:3px}
.lexicon{margin-top:2.4rem;display:grid;gap:0;max-width:70ch}
.lex{display:grid;grid-template-columns:auto 1fr;gap:1rem 1.4rem;align-items:baseline;
  padding:1.15rem 0;border-top:1px solid var(--line-2)}
.lex:first-child{border-top:0}
.lex dt{font-weight:800;font-size:var(--step-1);color:var(--flame);white-space:nowrap}
.lex dd{margin:0;color:var(--smoke);max-width:52ch}

/* ---------- 18 areas: the phoenix body ---------- */
.body-intro{max-width:60ch;color:var(--smoke)}
.clusters{margin-top:2.4rem;display:grid;gap:2rem}
.cluster h4{font-size:var(--step-0);font-weight:700;color:var(--gold);margin:0 0 .9rem;
  display:flex;align-items:center;gap:.6rem}
.cluster h4::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--line),transparent)}
.kas{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.7rem}
.ka{position:relative;display:flex;gap:.7rem;align-items:flex-start;
  padding:.85rem .95rem;border:1px solid var(--line-2);border-radius:var(--radius-sm);
  background:linear-gradient(180deg,rgba(255,255,255,.02),transparent);
  transition:border-color .2s ease, background .2s ease, transform .2s ease}
.ka:hover{border-color:var(--fire);background:rgba(232,69,31,.06);transform:translateY(-2px)}
.ka .num{font-weight:700;color:var(--smoke-2);font-size:.8rem;min-width:1.6rem;padding-top:.15rem;font-variant-numeric:tabular-nums}
.ka .ka-fa{font-weight:700;font-size:var(--step-0);display:block}
.ka .ka-en{color:var(--smoke-2);font-size:.78rem;display:block;margin-top:.1rem;direction:ltr;text-align:right}

/* ---------- Poster ---------- */
.poster-sec{background:var(--ash-2);border-block:1px solid var(--line-2)}
.poster-wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:2.5rem;align-items:center}
.poster-frame{position:relative;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow-glow);max-width:440px;justify-self:center}
.poster-frame::after{content:"";position:absolute;inset:0;pointer-events:none;
  box-shadow:inset 0 0 90px rgba(255,122,26,.15);border-radius:var(--radius)}
.poster-frame img{width:100%}
.poster-copy h2{font-size:var(--step-2);font-weight:900;margin-bottom:.8rem}
.poster-copy p{color:var(--smoke);max-width:46ch}
.poster-copy .who{margin-top:1.4rem;display:flex;align-items:center;gap:.8rem;color:var(--smoke)}
.poster-copy .who b{color:var(--paper)}
@media(max-width:820px){.poster-wrap{grid-template-columns:1fr;gap:1.8rem}}

/* ---------- Register + download ---------- */
.join{position:relative}
.join-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:2.2rem;align-items:stretch}
@media(max-width:880px){.join-grid{grid-template-columns:1fr;gap:1.6rem}}
.panel{background:var(--ash-3);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.4rem,1rem + 2vw,2.4rem)}
.panel.join-form{box-shadow:var(--shadow-glow)}
.panel h2{font-size:var(--step-2);font-weight:900;margin-bottom:.6rem}
.panel .muted{color:var(--smoke);margin-bottom:1.6rem}
.field{margin-bottom:1.15rem}
.field label{display:block;font-weight:600;margin-bottom:.5rem;font-size:var(--step--1)}
.field input{width:100%;padding:.9rem 1rem;border-radius:var(--radius-sm);
  background:var(--ash);border:1px solid var(--line);color:var(--paper);
  font-family:inherit;font-size:var(--step-0);transition:border-color .2s ease, box-shadow .2s ease}
.field input::placeholder{color:var(--smoke-2)}
.field input:focus{outline:none;border-color:var(--flame);box-shadow:0 0 0 3px rgba(255,122,26,.18)}
.field input[dir=ltr]{direction:ltr;text-align:right}
.consent{display:flex;gap:.6rem;align-items:flex-start;color:var(--smoke);font-size:var(--step--1);margin:.4rem 0 1.4rem}
.consent input{margin-top:.35rem;accent-color:var(--fire);width:1.05rem;height:1.05rem;flex:none}
.form-note{color:var(--smoke-2);font-size:.8rem;margin-top:1rem;text-align:center}
.form-msg{margin-top:1rem;padding:.85rem 1rem;border-radius:var(--radius-sm);font-size:var(--step--1);display:none}
.form-msg.err{display:block;background:rgba(232,69,31,.1);border:1px solid rgba(232,69,31,.4);color:#ffb9a3}
.form-msg.ok{display:block;background:rgba(244,181,42,.1);border:1px solid rgba(244,181,42,.4);color:#ffdf9e}

/* download panel states */
.dl{display:flex;flex-direction:column}
.dl .lock-badge{width:3.4rem;height:3.4rem;border-radius:50%;display:grid;place-items:center;
  background:var(--ash);border:1px solid var(--line);font-size:1.3rem;margin-bottom:1.2rem;transition:.35s ease}
.dl h2{font-size:var(--step-2);font-weight:900}
.dl .dl-body{color:var(--smoke);margin:.6rem 0 1.6rem;max-width:44ch}
.dl .dl-actions{display:flex;flex-direction:column;gap:.8rem;margin-top:auto}
.dl .official{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  color:var(--gold);font-weight:600;font-size:var(--step--1);padding:.6rem;border-radius:var(--radius-sm)}
.dl .official:hover{background:rgba(244,181,42,.08)}
.dl.locked .unlocked-only{display:none}
.dl.unlocked .locked-only{display:none}
.dl.unlocked{background:linear-gradient(180deg,rgba(244,181,42,.08),var(--ash-3));
  border-color:rgba(244,181,42,.45);box-shadow:0 0 0 1px rgba(244,181,42,.25),0 30px 80px -40px rgba(244,181,42,.5)}
.dl.unlocked .lock-badge{background:linear-gradient(120deg,#ffd778,#f4b52a);border-color:transparent;color:#241505;
  box-shadow:0 0 30px rgba(244,181,42,.6)}
@keyframes ignite{0%{transform:scale(.8);opacity:0}60%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.dl.just-unlocked{animation:ignite .6s cubic-bezier(.2,.9,.25,1)}

/* ---------- Contact ---------- */
.contact{text-align:center}
.contact h2{font-size:var(--step-2);font-weight:900;margin-bottom:.6rem}
.contact p{color:var(--smoke);max-width:44ch;margin-inline:auto;margin-bottom:2rem}
.channels{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}
.channel{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.4rem;border-radius:999px;
  border:1px solid var(--line);background:rgba(255,255,255,.02);font-weight:600;
  transition:border-color .2s ease,background .2s ease,transform .2s ease}
.channel:hover{border-color:var(--flame);background:rgba(255,122,26,.08);transform:translateY(-2px)}
.channel svg{width:1.2rem;height:1.2rem;fill:currentColor}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--line-2);padding-block:2.6rem;margin-top:1rem}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.presented{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.presented .label{color:var(--smoke-2);font-size:var(--step--1)}
.logo-chip{background:var(--paper);border-radius:12px;padding:.6rem .9rem;display:grid;place-items:center;
  box-shadow:0 8px 20px -12px rgba(0,0,0,.6)}
.logo-chip.talks img{height:40px;width:auto}
.logo-chip.elc img{height:30px;width:auto}
.foot-brand{display:flex;align-items:center;gap:.6rem;color:var(--smoke)}
.foot-brand img{width:30px;height:30px}
.foot-legal{margin-top:1.8rem;color:var(--smoke-2);font-size:.78rem;line-height:1.9;border-top:1px solid var(--line-2);padding-top:1.4rem}
.foot-legal a{color:var(--gold)}

/* ---------- Embers canvas ---------- */
canvas.embers{position:absolute;inset:0;width:100%;height:100%;display:block}
@media (prefers-reduced-motion:reduce){canvas.embers{display:none}}

/* ---------- Admin ---------- */
.admin-body{background:var(--ash);min-height:100vh;padding:2rem 0}
.admin-card{max-width:420px;margin:8vh auto 0;background:var(--ash-3);border:1px solid var(--line);
  border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow-glow)}
.admin-card h1{font-size:var(--step-2);font-weight:900;margin-bottom:.4rem;text-align:center}
.admin-card p{color:var(--smoke);text-align:center;margin-bottom:1.6rem;font-size:var(--step--1)}
.admin-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.6rem;flex-wrap:wrap;gap:1rem}
.admin-top h1{font-size:var(--step-2);font-weight:900}
.admin-top .meta{color:var(--smoke)}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
table.reg{width:100%;border-collapse:collapse;min-width:640px;font-size:var(--step--1)}
table.reg th,table.reg td{padding:.85rem 1rem;text-align:right;border-bottom:1px solid var(--line-2)}
table.reg thead th{background:var(--ash-2);color:var(--gold);font-weight:700;position:sticky;top:0}
table.reg tbody tr:hover{background:rgba(255,122,26,.05)}
table.reg td[dir=ltr]{direction:ltr;text-align:right;font-variant-numeric:tabular-nums;color:var(--smoke)}
.empty{padding:3rem;text-align:center;color:var(--smoke)}
.admin-actions{display:flex;gap:.8rem;flex-wrap:wrap}


/* ============================================================
   Frontend polish v2 — balanced layout + visible phoenix
   Backend / form behavior intentionally unchanged.
   ============================================================ */

:root{
  --glass:rgba(24,14,10,.72);
  --glass-strong:rgba(30,17,12,.9);
  --line-hot:rgba(255,122,26,.32);
  --cyan:#49d7ff;
}

body{
  background:
    radial-gradient(950px 620px at 8% 4%,rgba(232,69,31,.08),transparent 62%),
    radial-gradient(900px 640px at 92% 42%,rgba(244,181,42,.045),transparent 62%),
    var(--ash);
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.14;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
  background-size:52px 52px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 75%);
  mask-image:linear-gradient(180deg,#000,transparent 75%);
}

/* ---------- Header / navigation ---------- */
.site-header{
  background:linear-gradient(180deg,rgba(15,10,8,.94),rgba(15,10,8,.68));
  border-bottom:0;
  padding:.55rem 0;
}
.site-header .header-shell{
  min-height:64px;
  padding:.45rem .55rem .45rem .7rem;
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  background:rgba(23,14,10,.72);
  box-shadow:0 18px 55px -36px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.035);
}
.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.2rem;
  margin-inline:auto;
  padding:.25rem;
  border:1px solid rgba(255,255,255,.045);
  border-radius:999px;
  background:rgba(255,255,255,.018);
}
.main-nav a{
  color:var(--smoke);
  font-size:.82rem;
  font-weight:600;
  padding:.5rem .75rem;
  border-radius:999px;
  transition:color .2s ease,background .2s ease;
}
.main-nav a:hover{
  color:var(--paper);
  background:rgba(255,122,26,.09);
}
.site-header .nav-cta{
  font-size:.88rem;
  padding:.66rem 1.15rem;
}

/* ---------- Hero: copy on the right, phoenix artwork on the left ---------- */
.hero{
  min-height:calc(100svh - 76px);
  display:flex;
  align-items:center;
  isolation:isolate;
  padding-block:clamp(3rem,4vw,5.5rem);
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(620px 520px at 18% 46%,rgba(255,122,26,.13),transparent 68%),
    radial-gradient(500px 420px at 25% 58%,rgba(165,17,79,.1),transparent 70%),
    linear-gradient(90deg,rgba(15,10,8,.18),transparent 42%,rgba(15,10,8,.22));
}
.hero::after{
  content:"PHOENIX";
  position:absolute;
  left:-1.5rem;
  bottom:-3.2rem;
  z-index:0;
  color:rgba(255,255,255,.018);
  font-family:system-ui,sans-serif;
  font-size:clamp(6rem,16vw,14rem);
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  pointer-events:none;
}
.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr);
  grid-template-areas:"art copy";
  align-items:center;
  gap:clamp(2rem,5vw,5rem);
  direction:ltr;
}
.hero-copy{
  grid-area:copy;
  direction:rtl;
  position:relative;
  z-index:3;
}
.hero-art{
  grid-area:art;
  position:relative;
  min-height:clamp(540px,68vh,680px);
  direction:rtl;
  isolation:isolate;
}
.hero-tag{
  width:max-content;
  max-width:100%;
  margin-bottom:1.25rem;
  padding:.42rem .7rem;
  border:1px solid rgba(255,122,26,.18);
  border-radius:999px;
  background:rgba(255,122,26,.045);
  font-size:.82rem;
}
.hero h1{
  max-width:13.5ch;
  font-size:clamp(2.65rem,4.65vw,5.1rem);
  line-height:1.12;
}
.hero-sub{
  max-width:38ch;
  margin-top:1.4rem;
  font-size:clamp(1.05rem,1.2vw,1.35rem);
}
.hero-lede{
  max-width:63ch;
  line-height:2;
}
.hero-cta{
  margin-top:2rem;
}
.hero-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.65rem;
  margin-top:2.2rem;
}
.hero-meta span{
  min-width:0;
  padding:.8rem .9rem;
  border:1px solid rgba(255,255,255,.055);
  border-radius:12px;
  background:rgba(255,255,255,.018);
  color:var(--smoke);
  line-height:1.55;
}
.hero-meta b{
  display:block;
  margin-bottom:.1rem;
  color:var(--flame);
  font-size:.72rem;
  font-weight:600;
}

.phoenix-halo{
  position:absolute;
  width:78%;
  aspect-ratio:1;
  left:5%;
  top:12%;
  z-index:-2;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,124,27,.33) 0%,rgba(232,69,31,.12) 36%,transparent 70%);
  filter:blur(12px);
}
.phoenix-stage{
  position:absolute;
  inset:1.5rem 1rem 1rem 1rem;
  overflow:hidden;
  border:1px solid rgba(255,145,50,.28);
  border-radius:46% 54% 43% 57% / 58% 45% 55% 42%;
  background:#1b0f09;
  box-shadow:
    0 0 0 1px rgba(255,122,26,.07),
    0 42px 100px -50px rgba(232,69,31,.9),
    inset 0 0 90px rgba(0,0,0,.35);
  transform:rotate(-1.5deg);
}
.phoenix-stage::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(11,6,4,.12),rgba(11,6,4,.08) 45%,rgba(11,6,4,.82) 100%),
    linear-gradient(90deg,rgba(11,6,4,.12),transparent 40%,rgba(11,6,4,.2));
  box-shadow:inset 0 0 80px 16px rgba(6,3,2,.42);
}
.phoenix-stage::after{
  content:"";
  position:absolute;
  inset:10px;
  z-index:4;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.08);
  border-radius:inherit;
}
.phoenix-image{
  position:absolute;
  z-index:1;
  left:0;
  top:0;
  width:100%;
  max-width:none;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  filter:saturate(1.32) contrast(1.08) brightness(.78);
  transform:none;
}
.phoenix-grid-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  opacity:.18;
  background-image:
    linear-gradient(rgba(255,190,100,.15) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,190,100,.12) 1px,transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:radial-gradient(circle at 65% 38%,#000,transparent 70%);
  mask-image:radial-gradient(circle at 65% 38%,#000,transparent 70%);
}
.phoenix-scan{
  position:absolute;
  left:8%;
  right:8%;
  top:28%;
  z-index:4;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,204,133,.8),transparent);
  box-shadow:0 0 16px rgba(255,122,26,.8);
  opacity:.65;
  animation:scanline 6s ease-in-out infinite;
}
@keyframes scanline{
  0%,100%{transform:translateY(-70px);opacity:.08}
  48%,52%{opacity:.7}
  50%{transform:translateY(180px)}
}
.hero-chip{
  position:absolute;
  z-index:7;
  display:flex;
  align-items:center;
  gap:.5rem;
  min-width:118px;
  padding:.65rem .8rem;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  background:rgba(22,13,9,.78);
  backdrop-filter:blur(12px);
  box-shadow:0 16px 38px -24px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.055);
  color:var(--paper);
}
.hero-chip small{
  color:var(--smoke);
  font-size:.67rem;
  font-weight:500;
  line-height:1.25;
}
.hero-chip strong{
  color:var(--flame);
  font-size:1rem;
  line-height:1;
}
.chip-swebok{left:-1.1rem;top:14%}
.chip-areas{right:-.4rem;top:40%}
.chip-human{left:2%;bottom:20%}
.pulse-dot{
  width:.55rem;
  height:.55rem;
  flex:none;
  border-radius:50%;
  background:#ff9a36;
  box-shadow:0 0 0 5px rgba(255,122,26,.1),0 0 15px rgba(255,122,26,.8);
}
.phoenix-caption{
  position:absolute;
  z-index:7;
  left:8%;
  right:8%;
  bottom:5%;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  padding-top:.8rem;
  border-top:1px solid rgba(255,255,255,.1);
  direction:ltr;
}
.phoenix-caption span{
  color:rgba(255,255,255,.45);
  font-family:system-ui,sans-serif;
  font-size:.68rem;
  letter-spacing:.12em;
}
.phoenix-caption strong{
  max-width:16ch;
  color:#fff2e2;
  direction:rtl;
  text-align:right;
  font-size:.82rem;
  line-height:1.65;
}
.hero-orbit{
  position:absolute;
  z-index:1;
  left:8%;
  border:1px solid rgba(255,122,26,.08);
  border-radius:50%;
  pointer-events:none;
}
.hero-orbit-one{width:520px;height:520px;top:18%;transform:rotate(18deg)}
.hero-orbit-two{width:690px;height:300px;top:32%;left:-3%;transform:rotate(-28deg)}

/* ---------- Make the story use the full canvas ---------- */
.acts .section-head{
  max-width:none;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:2rem;
}
.acts .section-head::after{
  content:"شش ایستگاه، یک مسیر مهندسی";
  color:var(--smoke-2);
  font-size:.8rem;
  font-weight:500;
  letter-spacing:.02em;
}
.acts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  margin-top:.3rem;
}
.acts-spine{display:none}
.act{
  min-height:190px;
  padding:4.6rem 1.45rem 1.4rem;
  border:1px solid var(--line-2);
  border-radius:18px;
  background:
    radial-gradient(320px 160px at 100% 0%,rgba(255,122,26,.08),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008));
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.act:hover{
  transform:translateY(-3px);
  border-color:rgba(255,122,26,.34);
  background:
    radial-gradient(360px 180px at 100% 0%,rgba(255,122,26,.12),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01));
}
.act + .act{border-top:1px solid var(--line-2)}
.act::before{
  inset-inline-start:auto;
  inset-inline-end:1.25rem;
  top:1.25rem;
  width:2.5rem;
  height:2.5rem;
  background:#170e0a;
  box-shadow:0 0 0 5px rgba(255,122,26,.035),0 0 20px rgba(232,69,31,.28);
}
.act .act-emoji{
  inset-inline-start:auto;
  inset-inline-end:1.25rem;
  top:1.25rem;
  width:2.5rem;
  height:2.5rem;
  font-size:.9rem;
  font-weight:800;
}
.act .act-k{
  position:absolute;
  top:1.55rem;
  inset-inline-start:1.35rem;
  margin:0;
  font-size:.75rem;
  opacity:.78;
}
.act h3{font-size:clamp(1.3rem,1rem + .7vw,1.7rem)}
.act p{max-width:none;line-height:1.95}
.act[data-act="3"]{
  background:
    radial-gradient(360px 180px at 100% 0%,rgba(93,58,40,.13),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,.005));
}
.act[data-act="4"],.act[data-act="5"]{
  background:
    radial-gradient(360px 180px at 100% 0%,rgba(244,181,42,.09),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008));
}

/* ---------- Thesis: head on the right, concepts on the left ---------- */
.thesis{
  position:relative;
  overflow:hidden;
}
.thesis::after{
  content:"JUDGMENT";
  position:absolute;
  left:2%;
  bottom:-1.2rem;
  color:rgba(255,255,255,.018);
  font-family:system-ui,sans-serif;
  font-size:clamp(5rem,12vw,10rem);
  font-weight:900;
  letter-spacing:.08em;
}
.thesis .wrap{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(270px,.72fr);
  grid-template-areas:"lex head";
  gap:clamp(2rem,5vw,5rem);
  direction:ltr;
  align-items:start;
}
.thesis .section-head{
  grid-area:head;
  direction:rtl;
  max-width:none;
  margin:0;
  padding:1.2rem 0;
}
.thesis .shift{max-width:12ch}
.lexicon{
  grid-area:lex;
  direction:rtl;
  max-width:none;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}
.lex{
  display:block;
  min-height:170px;
  padding:1.15rem 1.2rem;
  border:1px solid var(--line-2);
  border-radius:16px;
  background:rgba(255,255,255,.018);
}
.lex:first-child{border-top:1px solid var(--line-2)}
.lex dt{
  margin-bottom:.5rem;
  white-space:normal;
}
.lex dd{max-width:none;line-height:1.9}

/* ---------- Knowledge area cards ---------- */
.body-map{
  background:
    radial-gradient(700px 400px at 0% 50%,rgba(232,69,31,.055),transparent 65%),
    var(--ash);
}
.body-map .section-head{max-width:68ch}
.kas{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.8rem}
.ka{
  min-height:82px;
  padding:1rem;
  background:linear-gradient(150deg,rgba(255,255,255,.028),rgba(255,255,255,.006));
}

/* ---------- Poster ---------- */
.poster-wrap{gap:clamp(2rem,5vw,5rem)}
.poster-frame{
  max-width:420px;
  border-color:rgba(255,122,26,.26);
  box-shadow:0 35px 90px -50px rgba(255,122,26,.8),0 0 0 1px rgba(255,255,255,.025);
  transform:rotate(-1.2deg);
}
.poster-copy{
  padding:clamp(1rem,3vw,2.5rem);
  border-right:1px solid rgba(255,122,26,.16);
}
.poster-copy h2{font-size:var(--step-3)}

/* ---------- Join / form polish ---------- */
.join::before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  left:-220px;
  top:10%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(232,69,31,.1),transparent 68%);
  pointer-events:none;
}
.join-grid{gap:1.2rem}
.panel{
  position:relative;
  overflow:hidden;
  border-color:rgba(255,255,255,.075);
  background:
    radial-gradient(460px 240px at 100% 0%,rgba(255,122,26,.05),transparent 65%),
    rgba(28,17,12,.88);
}
.panel::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,122,26,.46),transparent);
  opacity:.7;
}
.panel.join-form{box-shadow:0 28px 80px -52px rgba(255,122,26,.8)}
.field input{
  padding:1rem 1.05rem;
  border-color:rgba(255,255,255,.08);
  background:rgba(11,7,5,.68);
}
.field input::placeholder{color:#776a61;opacity:1}
.field input[dir=ltr]{text-align:left}
.dl .lock-badge{
  border-color:rgba(255,122,26,.2);
  background:rgba(255,122,26,.06);
}

/* ---------- Contact redesigned as an actual communication hub ---------- */
.contact{
  position:relative;
  overflow:hidden;
  text-align:initial;
  background:
    radial-gradient(620px 420px at 8% 50%,rgba(35,158,217,.06),transparent 65%),
    radial-gradient(700px 520px at 96% 70%,rgba(255,122,26,.08),transparent 68%),
    var(--ash-2);
  border-block:1px solid var(--line-2);
}
.contact::before{
  content:"";
  position:absolute;
  left:6%;
  top:12%;
  width:260px;
  height:260px;
  border:1px solid rgba(255,255,255,.035);
  border-radius:50%;
  box-shadow:0 0 0 38px rgba(255,255,255,.012),0 0 0 76px rgba(255,255,255,.007);
}
.contact-shell{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);
  grid-template-areas:"cards copy";
  gap:clamp(2rem,6vw,6rem);
  align-items:center;
  direction:ltr;
}
.contact-copy{
  grid-area:copy;
  direction:rtl;
}
.contact-copy h2{
  margin:0;
  max-width:14ch;
  font-size:clamp(1.9rem,2.7vw,3rem);
  font-weight:900;
  line-height:1.35;
}
.contact-copy > p:not(.eyebrow){
  max-width:48ch;
  margin:1rem 0 1.6rem;
  color:var(--smoke);
}
.contact-status{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .75rem;
  border:1px solid rgba(244,181,42,.16);
  border-radius:999px;
  background:rgba(244,181,42,.045);
  color:#e7c77f;
  font-size:.78rem;
}
.contact-status i{
  width:.5rem;
  height:.5rem;
  border-radius:50%;
  background:#f4b52a;
  box-shadow:0 0 12px rgba(244,181,42,.75);
}
.contact-cards{
  grid-area:cards;
  display:grid;
  gap:.75rem;
  direction:rtl;
}
.contact-card{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:1rem;
  min-height:108px;
  padding:1rem 1.05rem;
  border:1px solid rgba(255,255,255,.075);
  border-radius:18px;
  background:rgba(255,255,255,.018);
  overflow:hidden;
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.contact-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  opacity:.75;
  background:var(--flame);
}
.contact-card:hover{
  transform:translateX(-4px);
  border-color:rgba(255,122,26,.28);
  background:rgba(255,255,255,.03);
}
.channel-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(255,122,26,.08);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.channel-icon svg{width:26px;height:26px;fill:currentColor}
.channel-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:.06rem;
}
.channel-copy small{
  color:var(--smoke-2);
  font-size:.7rem;
  font-family:system-ui,sans-serif;
  letter-spacing:.05em;
}
.channel-copy strong{
  overflow:hidden;
  color:var(--paper);
  font-size:.96rem;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.channel-copy em{
  color:var(--smoke);
  font-size:.73rem;
  font-style:normal;
}
.channel-arrow{
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.035);
  color:var(--smoke);
}
.contact-card.telegram .channel-icon{color:#37b7ef;background:rgba(55,183,239,.09)}
.contact-card.telegram::before{background:#229ed9}
.contact-card.linkedin .channel-icon{color:#62a9ec;background:rgba(10,102,194,.12)}
.contact-card.linkedin::before{background:#0a66c2}
.contact-card.phone .channel-icon{color:#ffc15b;background:rgba(244,181,42,.09)}
.contact-card.phone::before{background:#f4b52a}

/* ---------- Footer ---------- */
.site-footer{
  position:relative;
  margin-top:0;
  padding-block:clamp(3rem,5vw,5rem) 2rem;
  border-top:0;
  background:
    linear-gradient(180deg,rgba(22,14,10,.9),rgba(10,7,5,.98)),
    var(--ash);
}
.site-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,122,26,.55),rgba(244,181,42,.3),transparent);
}
.footer-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
  padding:1rem;
  border:1px solid rgba(255,255,255,.065);
  border-radius:24px;
  background:
    radial-gradient(480px 220px at 100% 0%,rgba(255,122,26,.07),transparent 68%),
    rgba(255,255,255,.018);
  box-shadow:0 30px 90px -65px rgba(255,122,26,.7);
}
.footer-identity,
.footer-event{
  min-height:210px;
  padding:1.5rem;
  border-radius:18px;
}
.footer-identity{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:rgba(255,255,255,.018);
}
.footer-brandline{
  display:flex;
  align-items:center;
  gap:.8rem;
}
.footer-brandline img{
  width:48px;
  height:48px;
  filter:drop-shadow(0 8px 18px rgba(232,69,31,.28));
}
.footer-brandline span{display:flex;flex-direction:column;line-height:1.5}
.footer-brandline strong{font-size:1rem}
.footer-brandline small{color:var(--smoke-2);font-size:.72rem}
.footer-identity p{
  max-width:38ch;
  margin:1rem 0 1.4rem;
  color:var(--smoke);
  font-size:.88rem;
  line-height:1.9;
}
.footer-cta{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  margin-top:auto;
  color:var(--gold);
  font-size:.82rem;
  font-weight:600;
}
.footer-cta span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(244,181,42,.08);
}
.footer-event{
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid rgba(255,122,26,.08);
  background:linear-gradient(135deg,rgba(255,122,26,.055),rgba(255,255,255,.01));
}
.footer-kicker{
  color:var(--flame);
  font-size:.75rem;
  font-weight:700;
}
.footer-logos{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin:1rem 0;
}
.logo-chip{
  min-width:96px;
  min-height:62px;
  padding:.55rem .75rem;
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  background:#f6ede2;
  box-shadow:none;
}
.logo-chip.talks img{height:46px}
.logo-chip.elc img{height:34px}
.footer-event > small{
  color:var(--smoke-2);
  font-size:.72rem;
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-top:1rem;
  padding-top:1.2rem;
  border-top:1px solid rgba(255,255,255,.05);
  color:var(--smoke-2);
  font-size:.75rem;
}
.footer-bottom a{color:#d5aa59}
.footer-legal-note{
  margin:.65rem 0 0;
  color:#675a52;
  font-size:.7rem;
  line-height:1.8;
}

/* ---------- Responsive ---------- */
@media(max-width:1040px){
  .main-nav{display:none}
  .hero-grid{
    grid-template-columns:minmax(310px,.82fr) minmax(0,1.18fr);
    gap:2.2rem;
  }
  .hero-art{min-height:560px}
  .hero-meta{grid-template-columns:1fr}
  .hero-meta span{padding:.65rem .8rem}
  .chip-swebok{left:0}
  .chip-areas{right:0}
}

@media(max-width:820px){
  .hero{
    min-height:auto;
    padding-top:2.4rem;
  }
  .hero-grid{
    grid-template-columns:1fr;
    grid-template-areas:"copy" "art";
    gap:2.4rem;
  }
  .hero-copy{max-width:680px;margin-inline:auto}
  .hero h1{max-width:15ch}
  .hero-art{
    width:min(100%,560px);
    min-height:560px;
    margin-inline:auto;
  }
  .hero-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
  .acts .section-head{display:block}
  .acts .section-head::after{display:none}
  .thesis .wrap{
    grid-template-columns:1fr;
    grid-template-areas:"head" "lex";
    gap:1.5rem;
  }
  .thesis .shift{max-width:18ch}
  .contact-shell{
    grid-template-columns:1fr;
    grid-template-areas:"copy" "cards";
    gap:2rem;
  }
  .contact-copy h2{max-width:18ch}
  .footer-card{grid-template-columns:1fr}
  .footer-identity,.footer-event{min-height:auto}
}

@media(max-width:640px){
  .wrap{width:min(var(--maxw),100% - 2rem)}
  .site-header{padding:.38rem 0}
  .site-header .header-shell{
    min-height:58px;
    border-radius:18px;
  }
  .brand img{width:34px;height:34px}
  .brand b{font-size:.9rem}
  .site-header .nav-cta{
    display:inline-flex;
    padding:.58rem .82rem;
    font-size:.78rem;
  }

  .hero{padding-block:2.2rem 3.4rem}
  .hero-tag{font-size:.74rem}
  .hero h1{font-size:clamp(2.3rem,11vw,3.6rem)}
  .hero-lede{font-size:.94rem;line-height:1.95}
  .hero-cta{display:grid;grid-template-columns:1fr;gap:.7rem}
  .hero-cta .btn{width:100%}
  .hero-meta{grid-template-columns:1fr}
  .hero-art{min-height:480px}
  .phoenix-stage{inset:1.2rem .25rem .5rem}
  .phoenix-image{
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-position:50% 48%;
  }
  .hero-chip{padding:.55rem .65rem;min-width:auto}
  .chip-swebok{left:0;top:12%}
  .chip-areas{right:-.1rem;top:42%}
  .chip-human{left:1%;bottom:18%}
  .phoenix-caption{left:7%;right:7%}
  .hero-orbit{display:none}

  .section{padding-block:4rem}
  .acts-grid{grid-template-columns:1fr}
  .act{min-height:auto}
  .lexicon{grid-template-columns:1fr}
  .lex{min-height:auto}
  .poster-copy{
    padding:1rem 0 0;
    border-right:0;
    border-top:1px solid rgba(255,122,26,.14);
  }
  .join-grid{gap:1rem}
  .panel{padding:1.25rem}
  .contact-card{
    grid-template-columns:auto minmax(0,1fr) auto;
    min-height:96px;
    gap:.8rem;
  }
  .channel-icon{width:48px;height:48px;border-radius:14px}
  .channel-icon svg{width:23px;height:23px}
  .channel-copy strong{font-size:.86rem}
  .footer-card{padding:.7rem}
  .footer-identity,.footer-event{padding:1.1rem}
  .footer-bottom{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:410px){
  .brand .brand-txt span{display:none}
  .site-header .nav-cta{font-size:.72rem;padding:.54rem .7rem}
  .hero-art{min-height:430px}
  .hero-chip small{font-size:.6rem}
  .hero-chip strong{font-size:.9rem}
  .phoenix-caption strong{font-size:.74rem}
}

.contact-copy .eyebrow{max-width:none;margin-inline:0;margin-bottom:1rem}

@media(max-width:640px){.hero::after,.thesis::after{display:none}}
html,body{overflow-x:clip}

/* ============================================================
   Frontend polish v3 — phoenix on the right, copy on the left
   Uses the transparent phoenix artwork supplied for the page.
   ============================================================ */

@media(min-width:821px){
  .site-header .nav-cta{
    white-space:nowrap;
    padding-inline:1.25rem;
  }

  .hero{
    min-height:calc(100svh - 82px);
    padding-block:clamp(2.7rem,4vw,5rem);
  }

  .hero::before{
    background:
      radial-gradient(720px 620px at 79% 48%,rgba(255,107,18,.17),transparent 67%),
      radial-gradient(520px 480px at 88% 45%,rgba(190,28,15,.10),transparent 72%),
      linear-gradient(90deg,rgba(15,10,8,.12),transparent 52%,rgba(15,10,8,.05));
  }

  .hero::after{
    left:auto;
    right:-1.6rem;
    bottom:-3.35rem;
    opacity:.7;
  }

  .hero-grid{
    grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr);
    grid-template-areas:"copy art";
    gap:clamp(2.1rem,4.5vw,4.6rem);
    direction:ltr;
  }

  .hero-copy{
    grid-area:copy;
    direction:rtl;
    max-width:650px;
    justify-self:start;
  }

  .hero-art{
    grid-area:art;
  }

  .hero h1{
    max-width:11.8ch;
    font-size:clamp(3rem,4.55vw,5.15rem);
  }

  .hero-sub{max-width:41ch}
  .hero-lede{max-width:61ch}

  .hero-meta{
    max-width:610px;
  }
}

.hero-art-bird{
  position:relative;
  min-height:clamp(590px,70vh,760px);
  display:grid;
  place-items:center;
  isolation:isolate;
  overflow:visible;
}

.phoenix-aura{
  position:absolute;
  z-index:-4;
  width:94%;
  aspect-ratio:1;
  left:50%;
  top:47%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:
    radial-gradient(circle at 48% 48%,rgba(255,174,64,.19) 0 12%,rgba(255,92,16,.15) 28%,rgba(232,69,31,.08) 48%,transparent 70%);
  filter:blur(5px);
}

.phoenix-ring{
  position:absolute;
  z-index:-3;
  left:50%;
  top:49%;
  border:1px solid rgba(255,135,37,.2);
  border-radius:50%;
  pointer-events:none;
  transform:translate(-50%,-50%) rotate(-12deg);
  box-shadow:inset 0 0 60px rgba(255,122,26,.025),0 0 60px rgba(255,122,26,.025);
}
.phoenix-ring-one{width:88%;aspect-ratio:1}
.phoenix-ring-two{
  width:104%;
  aspect-ratio:1.08;
  border-color:rgba(255,122,26,.09);
  transform:translate(-50%,-50%) rotate(17deg);
}

.phoenix-bird{
  position:relative;
  z-index:2;
  width:min(92%,620px);
  max-height:720px;
  object-fit:contain;
  object-position:center;
  filter:
    saturate(1.15)
    contrast(1.05)
    drop-shadow(0 28px 44px rgba(105,20,5,.38))
    drop-shadow(0 0 32px rgba(255,99,12,.20));
  transform:translateY(-1%) scale(1.05);
  transform-origin:center;
  user-select:none;
  -webkit-user-drag:none;
}

.phoenix-spark{
  position:absolute;
  z-index:1;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ff9b36;
  box-shadow:
    0 0 10px rgba(255,122,26,.95),
    0 0 26px rgba(255,122,26,.58);
  opacity:.72;
  animation:phoenixSpark 5.8s ease-in-out infinite;
}
.spark-one{left:12%;top:29%;animation-delay:-1.3s}
.spark-two{right:10%;top:20%;width:3px;height:3px;animation-delay:-3.8s}
.spark-three{right:16%;bottom:26%;width:4px;height:4px;animation-delay:-2.4s}

@keyframes phoenixSpark{
  0%,100%{transform:translateY(6px) scale(.75);opacity:.28}
  50%{transform:translateY(-13px) scale(1.15);opacity:.9}
}

.phoenix-caption-bird{
  left:7%;
  right:5%;
  bottom:1%;
  padding-top:.75rem;
  border-top:1px solid rgba(255,255,255,.085);
}

/* The old framed-poster hero is intentionally not used in v3. */
.hero-art-bird .phoenix-stage,
.hero-art-bird .phoenix-halo,
.hero-art-bird .hero-chip,
.hero-art-bird .phoenix-scan,
.hero-art-bird .phoenix-grid-overlay{display:none}

.hero-orbit{
  left:auto;
  right:5%;
  border-color:rgba(255,122,26,.065);
}
.hero-orbit-one{top:16%}
.hero-orbit-two{left:auto;right:-11%;top:34%}

@media(max-width:1040px) and (min-width:821px){
  .hero-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);
    gap:1.7rem;
  }
  .hero-art-bird{min-height:590px}
  .phoenix-bird{width:100%;transform:translateY(-1%) scale(1.02)}
}

@media(max-width:820px){
  .hero-grid{
    grid-template-areas:"copy" "art";
    direction:ltr;
  }
  .hero-copy{
    grid-area:copy;
    direction:rtl;
  }
  .hero-art-bird{
    grid-area:art;
    width:min(100%,620px);
    min-height:560px;
  }
  .phoenix-bird{
    width:min(92%,520px);
    transform:none;
  }
  .phoenix-caption-bird{bottom:0}
}

@media(max-width:640px){
  .site-header .nav-cta{
    max-width:148px;
    white-space:normal;
    text-align:center;
    line-height:1.4;
    padding:.52rem .72rem;
  }
  .hero-art-bird{min-height:500px}
  .phoenix-bird{width:min(98%,470px)}
  .phoenix-ring-one{width:92%}
  .phoenix-ring-two{width:106%}
  .phoenix-caption-bird{left:5%;right:5%}
}

@media(max-width:410px){
  .site-header .nav-cta{
    max-width:126px;
    font-size:.68rem;
  }
  .hero-art-bird{min-height:440px}
  .phoenix-bird{width:100%}
}

@media(prefers-reduced-motion:reduce){
  .phoenix-spark{animation:none}
}

/* ===== Center Footer ===== */

.site-footer {
  text-align: center;
}

.footer-card {
  text-align: center;
}


.footer-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.footer-brandline {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-brandline > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-cta {
  margin-inline: auto;
}

.footer-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  width: 100%;
  text-align: center;
}
.footer-bottom span {
  display: block;
  width: 100%;
  text-align: center;
}

.body-map .knowledge-head{
  width:100% !important;
  max-width:none !important;
  margin-inline:0 !important;
}

.body-map .knowledge-head .h2{
  width:100% !important;
  max-width:none !important;
}

.body-map .knowledge-head .body-intro{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin-inline:0 !important;
}

.footer-bottom{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  text-align:center !important;
}

.footer-bottom > span{
  display:block !important;
  flex:0 0 100% !important;
  width:100% !important;
  margin-inline:auto !important;
  text-align:center !important;
}

