:root{
  --bg:#040607;
  --bg-elevated:#070b10;
  --bg-soft:#0b1018;

  --fg:#f5f5f7;
  --muted:#9ca3b5;

  --line-soft:#171c25;
  --line-strong:#242a36;

  --brand:#22c1b0;
  --brand-soft:#5eead4;
  --brand-alt:#eab308;

  --radius-lg:18px;
  --radius-xl:24px;

  --shadow-soft:0 22px 60px rgba(0,0,0,.55);
  --shadow-subtle:0 14px 40px rgba(7,11,25,.6);

  --blur:22px;

  --page-bg:
    radial-gradient(1200px 700px at 80% -10%, rgba(34,193,176,.20), transparent 65%),
    radial-gradient(900px 600px at -10% 10%, rgba(234,179,8,.18), transparent 60%),
    radial-gradient(1200px 900px at 50% 120%, rgba(15,23,42,.92), #02040b);
}

html[data-theme="light"]{
  color-scheme:light;

  --bg:#f4f5fb;
  --bg-elevated:#ffffff;
  --bg-soft:#f9fafb;

  --fg:#020617;
  --muted:#5b6472;

  --line-soft:#dfe3ea;
  --line-strong:#cfd6df;

  --brand:#0f766e;
  --brand-soft:#14b8a6;
  --brand-alt:#b45309;

  --shadow-soft:0 18px 40px rgba(15,23,42,.10);
  --shadow-subtle:0 10px 26px rgba(15,23,42,.12);

  --page-bg:#f7f8fb;
}

html[data-theme="dark"]{
  color-scheme:dark;
}

/* RESET */

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  color:var(--fg);
  background:var(--page-bg);

  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  text-decoration:none;
}

.shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.page-band{
  width:100%;
  padding-inline:7vw;
}

/* HEADER */

header{
  position:sticky;
  top:0;
  z-index:1000;

  backdrop-filter:blur(var(--blur));

  background:
    linear-gradient(
      to bottom,
      rgba(4,6,7,.96),
      rgba(4,6,7,.90)
    );

  border-bottom:1px solid rgba(148,163,184,.18);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:10px;

  padding:14px 7vw 12px;

  max-width:1400px;
  margin:0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:8px;
}

.brand-home{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-wrap{
  width:42px;
  height:42px;

  border-radius:14px;

  padding:4px;

  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(94,234,212,.9),
      rgba(34,193,176,.25) 42%,
      transparent 80%
    );

  box-shadow:var(--shadow-subtle);

  display:flex;
  align-items:center;
  justify-content:center;
}

.logo-wrap img{
  width:100%;
  height:100%;

  object-fit:contain;

  border-radius:11px;

  background:#020617;
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.wordmark{
  font-family:"Playfair Display",Georgia,serif;

  font-weight:700;

  letter-spacing:.32em;

  font-size:.95rem;

  color:var(--fg);
}

.tagline{
  font-size:.78rem;
  color:var(--muted);
}

.office-link{
  font-size:.74rem;
  font-weight:600;

  padding:3px 9px;

  border-radius:999px;

  border:1px solid rgba(148,163,184,.45);

  background:rgba(7,11,16,.92);

  color:var(--muted);

  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;

  margin-left:8px;
}

.office-link span.dot{
  width:6px;
  height:6px;

  border-radius:999px;

  background:
    radial-gradient(
      circle at 30% 20%,
      var(--brand-soft),
      var(--brand)
    );
}

.office-link:hover{
  border-color:rgba(34,193,176,.8);
  color:var(--fg);
}

nav{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
}

nav a{
  font-size:.82rem;

  padding:6px 9px;

  border-radius:999px;

  border:1px solid transparent;

  color:var(--muted);

  opacity:.95;

  transition:.2s ease;
}

nav a:hover{
  opacity:1;

  border-color:rgba(148,163,184,.45);

  background:rgba(7,11,16,.92);

  color:var(--fg);
}

nav a.board-link{
  background:
    radial-gradient(
      circle at 0% 0%,
      var(--brand-soft),
      var(--brand)
    );

  color:#02101a;

  font-weight:700;

  padding:6px 13px;

  box-shadow:var(--shadow-soft);

  border-color:transparent;

  opacity:1;
}

nav a.board-link:hover{
  filter:brightness(1.07);
}

nav a.auth-link{
  border-color:rgba(234,179,8,.55);
  color:var(--brand-alt);
  font-weight:600;
}

nav a.auth-link:hover{
  background:rgba(234,179,8,.12);
  border-color:var(--brand-alt);
  color:var(--brand-alt);
}

nav a.user-chip{
  display:flex;
  align-items:center;
  gap:6px;

  padding:4px 8px 4px 4px;

  color:var(--fg);
  opacity:1;
}

nav a.user-chip:hover{
  border-color:rgba(148,163,184,.45);
  background:rgba(7,11,16,.92);
}

.user-avatar{
  width:39px;
  height:39px;
  flex-shrink:0;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    radial-gradient(
      circle at 30% 20%,
      var(--brand-soft),
      var(--brand)
    );

  color:#02101a;
  font-size:1.09rem;
  font-weight:800;

  overflow:hidden;
}

.user-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.user-name{
  font-size:.82rem;
  font-weight:600;
  white-space:nowrap;
}

nav a.inbox-link{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  padding:0;
  font-size:.95rem;
  opacity:1;
}

.inbox-badge{
  position:absolute;
  top:-3px;
  right:-3px;
  min-width:16px;
  height:16px;
  padding:0 3px;
  border-radius:999px;
  background:var(--brand-alt);
  color:#1a1200;
  font-size:.62rem;
  font-weight:800;
  line-height:16px;
  text-align:center;
}

.theme-toggle{
  width:34px;
  height:34px;

  border:none;
  border-radius:999px;

  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:.9rem;

  background:rgba(255,255,255,.08);

  color:var(--fg);

  transition:.2s ease;
}

.theme-toggle:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.16);
}

/* HERO */

.hero{
  width:100%;

  padding:40px 7vw 10px;

  display:grid;

  grid-template-columns:1fr;

  row-gap:36px;

  max-width:1400px;

  margin:0 auto;
}

@media (min-width:1024px){

  .hero{
    grid-template-columns:minmax(0,3fr) minmax(0,1fr);
    column-gap:40px;
    align-items:start;
  }
}

.hero-copy{
  width:100%;
}

h1{
  font-family:"Playfair Display",Georgia,serif;

  font-weight:700;

  line-height:1.05;

  font-size:clamp(2.1rem, 3.2vw + 1rem, 3.1rem);

  margin:18px 0 12px;
}

.lead{
  font-size:1rem;
  color:var(--muted);
}

.hero-actions{
  margin-top:20px;

  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:8px;

  padding:9px 20px;

  border-radius:999px;

  border:1px solid rgba(148,163,184,.5);

  background:rgba(7,11,16,.94);

  font-size:.9rem;
  font-weight:500;

  cursor:pointer;

  color:var(--fg);
}

.btn.primary{
  background:
    radial-gradient(
      circle at 0% 0%,
      var(--brand-soft),
      var(--brand)
    );

  color:#02101a;

  border-color:transparent;

  box-shadow:var(--shadow-soft);
}

.btn.primary:hover{
  filter:brightness(1.05);
}

.btn.ghost:hover{
  border-color:rgba(34,193,176,.7);
}

/* SECTIONS */

.section{
  padding:32px 7vw 28px;

  max-width:1400px;

  margin:0 auto;
}

.section-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;

  gap:10px;

  margin-bottom:14px;
}

.section-title{
  font-family:"Playfair Display",Georgia,serif;

  font-weight:600;

  font-size:1.35rem;
}

.grid{
  display:grid;
  gap:14px;
}

.grid.cols-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.grid.cols-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

@media (max-width:900px){

  .grid.cols-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:720px){

  .grid.cols-2,
  .grid.cols-3{
    grid-template-columns:minmax(0,1fr);
  }
}

/* CARDS */

.card,
.journal-card,
.hero-brief,
.person-card{
  background:
    linear-gradient(
      135deg,
      rgba(7,11,16,.98),
      rgba(7,11,16,.92)
    );

  border-radius:18px;

  border:1px solid var(--line-soft);

  box-shadow:var(--shadow-subtle);

  color:var(--fg);
}

.card{
  padding:16px 16px 14px;
}

.card:hover{
  border-color:rgba(34,193,176,.55);
}

.card h3{
  margin:0 0 6px;
  font-size:1.02rem;
}

.card .desc{
  margin:0 0 8px;

  font-size:.9rem;

  color:var(--muted);
}

.journal-card{
  display:grid;
  grid-template-rows:auto 1fr auto;

  height:100%;
}

.hero-brief{
  padding:20px 22px 18px;

  max-width:260px;

  text-align:center;
}







/* PEOPLE */
.people-grid{
  display:grid;

  grid-template-columns:repeat(5,minmax(0,180px));

  gap:12px;

  justify-content:start;
}

@media (max-width:1100px){

  .people-grid{
    grid-template-columns:repeat(4,minmax(0,180px));
  }
}

@media (max-width:900px){

  .people-grid{
    grid-template-columns:repeat(3,minmax(0,180px));
  }
}

@media (max-width:720px){

  .people-grid{
    grid-template-columns:repeat(2,minmax(0,180px));
  }
}

@media (max-width:520px){

  .people-grid{
    grid-template-columns:1fr;
  }
}

.person-card{
  margin:0;

  overflow:hidden;

  display:flex;
  flex-direction:column;
}

.person-photo{
  width:80%;

  aspect-ratio:1 / 1;

  object-fit:cover;

  display:block;

  margin:12px auto 0;

  border-radius:12px;

  background:#020617;
}

.person-body{
  padding:8px 10px 10px;
}

.person-name{
  font-weight:600;

  margin:0 0 2px;

  font-size:.86rem;
}

.person-title{
  color:var(--muted);

  font-size:.74rem;

  line-height:1.35;

  margin:0 0 5px;
}

.person-email{
  font-size:.74rem;

  line-height:1.35;

  margin:0;

  color:var(--muted);
}







/* FOOTER */

.site-footer{
  margin-top:40px;

  padding:32px 7vw 40px;

  background:
    radial-gradient(
      circle at 50% -40%,
      rgba(34,193,176,.18),
      transparent 70%
    ),
    #02040b;

  border-top:1px solid rgba(148,163,184,.25);
}

.site-footer-inner{
  max-width:700px;

  margin:0 auto;

  text-align:center;
}

/* LIGHT MODE FIXES */

html[data-theme="light"] header{
  background:rgba(255,255,255,.94);

  border-bottom:1px solid rgba(0,0,0,.08);
}

html[data-theme="light"] nav a{
  color:#334155;
}

html[data-theme="light"] nav a:hover{
  background:rgba(15,23,42,.06);
}

html[data-theme="light"] nav a.auth-link{
  color:var(--brand-alt);
}

html[data-theme="light"] nav a.user-chip{
  color:var(--fg);
}

html[data-theme="light"] .theme-toggle{
  background:rgba(15,23,42,.06);
  color:#0f172a;
}

html[data-theme="light"] .theme-toggle:hover{
  background:rgba(15,23,42,.12);
}

html[data-theme="light"] .office-link{
  background:#ffffff;
}

html[data-theme="light"] .card,
html[data-theme="light"] .journal-card,
html[data-theme="light"] .hero-brief,
html[data-theme="light"] .person-card{
  background:#ffffff;
}

html[data-theme="light"] .tagline,
html[data-theme="light"] .lead,
html[data-theme="light"] .desc,
html[data-theme="light"] .person-title,
html[data-theme="light"] .person-email{
  color:#475569;
}

/* RTL */

html[dir="rtl"] body{
  font-family:"Noto Naskh Arabic","Amiri",system-ui,sans-serif;
}

html[dir="rtl"] .header-inner{
  flex-direction:row-reverse;
}

html[dir="rtl"] nav{
  flex-direction:row-reverse;
}

html[dir="rtl"] .hero{
  direction:rtl;
}

html[dir="rtl"] .section{
  text-align:right;
}







.hero-brief-redesigned{
  max-width:520px !important;

  padding:18px 24px !important;

  border:1px solid rgba(34,193,176,.32) !important;

  background:
    radial-gradient(
      circle at top left,
      rgba(34,193,176,.16),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(34,193,176,.08),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(7,11,16,.98),
      rgba(7,11,16,.94)
    ) !important;

  box-shadow:
    0 0 34px rgba(34,193,176,.12),
    0 0 80px rgba(34,193,176,.05),
    var(--shadow-subtle) !important;
}

.hero-brief-redesigned .brief-title{
  color:var(--brand-soft);

  font-size:1.1rem;

  margin:0 0 10px;

  text-align:center;
}

.brief-list-redesigned{
  margin:0;
  padding-left:16px;

  display:flex;
  flex-direction:column;

  gap:4px;
}

.brief-list-redesigned li{
  font-size:.84rem;

  line-height:1.35;

  color:rgba(255,255,255,.88);
}

html[data-theme="light"] .hero-brief-redesigned{
  background:
    radial-gradient(
      circle at top left,
      rgba(20,184,166,.12),
      transparent 42%
    ),
    #ffffff !important;
}

html[data-theme="light"] .brief-list-redesigned li{
  color:#334155;
}

.hero-panel-lowered{
  margin-top:78px;
}
.hero-panel{
  transform:translateX(-42px);
}

.section-title{
  font-size:1.7rem !important;

  margin-bottom:6px;
}

.section-header{
  margin-bottom:4px !important;
}

html[data-theme="light"] .btn{
  background:#ffffff;

  color:#0f172a;

  border:1px solid #cfd6df;
}

html[data-theme="light"] .btn.primary{
  background:
    radial-gradient(
      circle at 0% 0%,
      var(--brand-soft),
      var(--brand)
    );

  color:#02101a;

  border-color:transparent;
}

html[data-theme="light"] .btn.ghost{
  background:#ffffff;

  color:#0f172a;

  border:1px solid #cfd6df;
}

html[data-theme="light"] .btn.ghost:hover{
  border-color:var(--brand);

  color:var(--brand);
}

.office-contact-pill{
  margin-top:16px;

  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:8px 12px;

  border-radius:999px;

  border:1px solid rgba(148,163,184,.6);

  background:rgba(7,11,16,.96);

  box-shadow:var(--shadow-subtle);

  font-size:.85rem;

  color:var(--fg);
}

.office-contact-dot{
  width:7px;
  height:7px;

  border-radius:999px;

  background:
    radial-gradient(
      circle at 30% 20%,
      var(--brand-soft),
      var(--brand)
    );
}

.office-contact-pill a{
  font-weight:600;
}

html[data-theme="light"] .office-contact-pill{
  background:#ffffff;

  color:#0f172a;

  border:1px solid #cfd6df;
}

html[data-theme="light"] footer,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .footer{
  background:
    radial-gradient(
      circle at center,
      rgba(20,184,166,.08),
      transparent 60%
    ),
    #f3f4f6;

  border-top:1px solid #d7dce3;
}

html[data-theme="light"] footer * ,
html[data-theme="light"] .site-footer * ,
html[data-theme="light"] .footer *{
  color:#334155;
}

html[data-theme="light"] footer .wordmark,
html[data-theme="light"] .site-footer .wordmark,
html[data-theme="light"] .footer .wordmark{
  color:#0f172a;
}



/* ================= MOBILE FIXES ================= */

@media (max-width: 768px){

  header{
    position:relative;
  }

  .header-inner{
    display:flex;
    flex-direction:column;
    align-items:center;

   gap:12px;

   padding:20px 7vw 16px;
  }

.brand{
  display:flex;
  flex-direction:column;
  align-items:center;

  gap:10px;
}

.brand-home{
  display:flex;
  flex-direction:column;
  align-items:center;

  gap:10px;

  text-align:center;
}

  .logo-wrap{
    width:38px;
    height:38px;
  }

  .wordmark{
    font-size:.9rem;
    letter-spacing:.28em;
  }

  .tagline{
    font-size:.82rem;
    line-height:1.45;
    max-width:230px;
  }

.office-link{
  margin-left:0;
}

nav{
  display:flex;
  flex-direction:column;
  align-items:center;

  gap:5px;

  width:100%;
}

nav a[href="/#journals"],
nav a[href="/#conferences"]{
  display:none;
}

nav a,
nav a.board-link{
  width:auto;

  min-width:210px;

  text-align:center;

  padding:9px 16px;

  font-size:.9rem;
}

.theme-toggle{
  width:42px;
  height:42px;

  margin-top:-2px;
}

  .hero{
    padding:34px 7vw 18px;
    row-gap:24px;
  }

  .hero-copy h1,
  h1{
    font-size:3rem;
  }

  .lead{
    font-size:1rem;
    line-height:1.55;
  }

  .hero-actions{
    flex-direction:column;
    gap:10px;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-panel{
    transform:none;
  }

  .hero-panel-lowered{
    margin-top:0;
  }

  .hero-brief-redesigned{
    max-width:100% !important;
    width:100%;
    padding:18px 22px !important;
  }

  .brief-list-redesigned{
    padding-left:20px;
    gap:5px;
  }

  .brief-list-redesigned li{
    font-size:.9rem;
    line-height:1.35;
  }

  .section{
    padding:28px 7vw 24px;
  }

  .section-header{
    display:block;
    margin-bottom:10px !important;
  }

  .section-title{
    font-size:2rem !important;
    margin:0 0 10px;
  }

  .subtle-link{
    display:inline-flex;
    font-size:.95rem;
    margin-top:2px;
  }

  .grid.cols-2,
  .grid.cols-3{
    grid-template-columns:1fr;
  }

  .card{
    padding:18px;
  }

  .card h3{
    font-size:1.15rem;
    line-height:1.35;
  }

  .card .desc{
    font-size:1rem;
    line-height:1.55;
  }

  .people-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

 .person-body{
  padding:10px 16px 16px;
  text-align:center;
  }

  .person-card{
    max-width:100%;
  }

  .person-photo{
    width:50%;
    max-height:180px;
    object-fit:contain;
  }

  .person-body{
    padding:10px 16px 16px;
  }

  .person-name{
    font-size:1rem;
  }

  .person-title,
  .person-email{
    font-size:.9rem;
    text-align:center;
  }

  .office-contact-pill{
    width:100%;
    border-radius:22px;
    align-items:flex-start;
    line-height:1.45;
  }

  .site-footer{
    padding:34px 7vw 42px;
  }

  .site-footer-inner{
    max-width:100%;
  }
}

html{
  scroll-padding-top:50px;
}

    main header,
.anthria-conference-container header{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  backdrop-filter:none !important;
  background:transparent !important;
  border-bottom:none !important;
}

.anthria-conference-container{
  max-width:900px;
  margin:0 auto;
  border-radius:16px;
  border:1px solid var(--line-soft);
  padding:24px 18px 28px;
  box-shadow:var(--shadow-subtle);
  background:var(--bg-elevated);
  color:var(--fg);
  overflow:hidden;
}

.anthria-conference-container,
.anthria-conference-container *{
  color:var(--fg) !important;
}

.anthria-conference-container{
  background:var(--bg-elevated) !important;
}

.anthria-conference-container a{
  color:var(--brand-soft) !important;
}

html[data-theme="light"] .anthria-conference-container a{
  color:var(--brand) !important;
}

html[data-theme="light"] .anthria-conference-container{
  background:#ffffff !important;
  color:#0f172a !important;
}


html[data-theme="light"] .anthria-conference-container a{
  color:#0f766e !important;
}

html[data-theme="light"] .anthria-conference-container [style*="background:#020617"],
html[data-theme="light"] .anthria-conference-container [style*="background:rgba(7,11,16"]{
  background:#f8fafc !important;
}

@media (max-width: 640px){

  .anthria-conference-container .certificate-text{
    font-size:0 !important;
  }

  .anthria-conference-container .certificate-text::after{
    content:"Get Certificate";
    font-size:.82rem;
  }

  .anthria-conference-container .pdf-text{
    font-size:0 !important;
  }

  .anthria-conference-container .pdf-text::after{
    content:"Get PDF";
    font-size:.82rem;
  }

}


@media screen and (max-width: 640px) and (orientation: portrait){

  .certificate-page{
    overflow:auto;
  }

  .certificate-page .sheet{
    width:100vh;
    height:calc(100vw - 24px);

    transform:rotate(90deg);
    transform-origin:top left;

    margin-left:100vw;
  }

}

/* AUTH MODAL (login-gate dialog used on submission forms) */

.anthria-modal-overlay{
  position:fixed;
  inset:0;
  z-index:2000;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:20px;

  background:rgba(2,4,11,.72);
  backdrop-filter:blur(4px);
}

.anthria-modal-overlay[hidden]{ display:none; }

.anthria-modal{
  width:100%;
  max-width:420px;

  background:var(--bg-elevated);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);

  padding:26px;
  color:var(--fg);
}

.anthria-modal h3{
  margin:0 0 10px;
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.25rem;
}

.anthria-modal p{
  margin:0 0 20px;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.55;
}

.anthria-modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

.anthria-modal-cancel{
  padding:9px 16px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:transparent;
  color:var(--muted);
  font-weight:600;
  cursor:pointer;
}

.anthria-modal-cancel:hover{
  color:var(--fg);
  border-color:rgba(148,163,184,.6);
}

.anthria-modal-login{
  padding:9px 18px;
  border-radius:999px;
  border:none;
  background:var(--brand);
  color:#04110f;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}

.anthria-modal-login:hover{
  filter:brightness(1.08);
}


