/* =========================================================================
   ICAnD 2027 — E-JUST 1st International Conference on Art & Design
   style.css · all site styles (extracted from ICAnD-2027-Website_V4.html)
   =========================================================================

   HOW TO INCLUDE
   One stylesheet, loaded in <head>:

       <link rel="stylesheet" href="css/style.css">

   FOLDER LAYOUT (paths in this file are relative to css/)
       index.html
       css/style.css
       js/main.js
       assets/fonts/   11 WOFF2 files (Montserrat, Poppins, Roboto Slab)
       assets/images/  hero-art.png (used here, via --hero-img) and the
                       logos, poster and partner images used in index.html

   IMPORTANT: ORDER MATTERS
   The file is the approved V4 design built in layers: the base ICAnD
   layout first, then revision layers, then the E-JUST identity layer, then
   final launch fixes. Later rules deliberately override earlier ones, so
   do not reorder or merge sections. To change something, edit the LAST
   rule that applies to it (search the selector from the bottom up), or add
   a new rule at the very end. Rendering is identical to the V4 HTML; only
   formatting, these comments and the asset paths were changed.

   FONTS (self-hosted, font-display: swap)
       Poppins 400/500/600/700 ........ body text and UI  (--ej-font)
       Roboto Slab 500/600/700/800 .... headings and buttons (--ej-head)
       Montserrat 700/800/900 ......... ICAnD display lettering: "2027",
                                        hero theme, large section titles
   "DM Sans" and "Open Sans" appear in early layers but are overridden by
   the identity layer and are not loaded; Arial/Georgia are the fallbacks.

   DESIGN TOKENS (CSS custom properties on :root)
   ICAnD identity                    E-JUST identity (Visual Identity Manual)
       --navy   #062d56                  --ej-red         #EB2028  primary
       --deep   #062143                  --ej-red-hover   #D81D25
       --teal   #008e91                  --ej-red-pressed #CF1C23
       --aqua   #22bac4                  --ej-red-text    #B3141B  small red text
       --gold   #f9b51c                  --ej-black       #000000
       --orange #ed7728                  --ej-gray        #666666
       --paper  #f6faf9                  --ej-line        #CCCCCC  borders
       --ink    #102e48                  --ej-app         #F7F7F8  section bg
       --muted  #5d7584                  --ej-blush       #FDECEB  support strip
       --icand-teal-text #006E72         --ej-blue        #003DD1  focus ring
       --hero-img  url(../assets/images/hero-art.png)

   BREAKPOINTS (max-width unless noted)
       1250px  large laptop: header and logo tighten
       1120px  (and min-width 781px) tablet landscape header
       1100px  grids drop columns
        900px  tablet
        780px  MOBILE switch: ☰ menu, stacked hero, single columns
               (min-width: 781px is used for desktop-only rules)
        480px  small phones
        355px  very small phones
       prefers-reduced-motion: animations and transitions switched off

   STATE CLASSES SET BY js/main.js
       .nav.open                 mobile menu open
       .side-nav.is-visible      side dot-navigation shown (after 200px)
       .side-nav a.is-active     current section
       .milestone.is-past        date has passed (greyed out)
       .date-status              "Open" / "Closed" / "Past" label

   CONTENTS (in file order)
       Source <style> block 1
         Fonts · Design tokens · Header · Hero · Ticker · Sections + About ·
         Tracks · Important dates · Call for Papers · Design Arena ·
         Publication · Venue & Contact · Footer · Responsive (base)
         Revision layer: hero artwork, header, logo, poster lettering
         Mobile layer (max-width 780px)
         E-JUST identity layer: palette, typography, accessibility, header,
           buttons, section labels, surfaces, cards, dates, Call for Papers,
           support strip, footer, responsive, motion, refinements
         E-JUST website fonts layer, side dot-navigation, final launch fixes
       Source <style> block 2
         Late overrides: Call for Papers dropdown, hero buttons, key dates
         strip, content blocks, track details, tables, past-date styling,
         partner groups
   ========================================================================= */

/* ==== Source <style> block 1 of 2 from ICAnD-2027-Website_V4.html ==== */

/* -----------------------------------------------------------------------
   FONTS — self-hosted WOFF2 files in assets/fonts/
   ----------------------------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/montserrat-700.woff2) format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/montserrat-800.woff2) format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/montserrat-900.woff2) format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/poppins-400.woff2) format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/poppins-500.woff2) format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/poppins-600.woff2) format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/poppins-700.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/roboto-slab-500.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/roboto-slab-600.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/roboto-slab-700.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/roboto-slab-800.woff2) format("woff2");
}
/* -----------------------------------------------------------------------
   DESIGN TOKENS — hero artwork + ICAnD colour palette
   ----------------------------------------------------------------------- */
:root {
  --hero-img: url("../assets/images/hero-art.png");
}
:root {
  --navy: #062d56;
  --deep: #062143;
  --teal: #008e91;
  --aqua: #22bac4;
  --gold: #f9b51c;
  --orange: #ed7728;
  --paper: #f6faf9;
  --ink: #102e48;
  --muted: #5d7584;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Montserrat, Arial, sans-serif;
}
h2 {
  font-size: clamp(2.15rem, 4vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}
h2 span {
  color: var(--teal);
}
/* -----------------------------------------------------------------------
   HEADER AND NAVIGATION
   ----------------------------------------------------------------------- */
.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(4%, calc((100vw - 1400px) / 2));
  gap: 24px;
  background: #fff;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 18px #1232 0;
}
.brand {
  width: 170px;
  height: 76px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.brand img {
  width: 185px;
  max-width: none;
  transform: scale(1.14);
}
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.nav a:hover {
  color: var(--teal);
}
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 5px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.nav-cta {
  background: var(--navy);
  color: white;
  padding: 16px 21px;
}
.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--navy);
}
/* -----------------------------------------------------------------------
   HERO
   ----------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 660px;
  background:
    linear-gradient(90deg, #f6fbfa 0%, #f6fbfa 34%, #f6fbfa00 62%), #e5f5f8;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 26%;
  background: var(--hero-img) center right/cover no-repeat;
  opacity: 0.97;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(660px, 65%);
  margin-left: max(6%, calc((100vw - 1340px) / 2));
  padding: 70px 30px 80px 0;
}
.eyebrow,
.kicker {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 5.8rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
  color: var(--navy);
  margin: 24px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--orange);
  font-weight: 600;
}
.hero-details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
  margin: 30px 0;
}
.actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.btn {
  padding: 17px 23px;
}
.primary {
  background: var(--navy);
  color: #fff;
}
.outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: #ffffffa8;
}
.hero-tag {
  position: absolute;
  right: 4%;
  bottom: 22px;
  color: white;
  text-shadow: 0 2px 10px #123a;
  font-size: 22px;
  font-weight: 900;
}
.hero-tag strong {
  color: #ffbb36;
}
/* -----------------------------------------------------------------------
   TICKER BAND (under the hero)
   ----------------------------------------------------------------------- */
.ticker {
  background: var(--navy);
  color: white;
  display: flex;
  justify-content: space-around;
  gap: 18px;
  padding: 19px 25px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  flex-wrap: wrap;
}
.ticker b {
  color: var(--gold);
}
/* -----------------------------------------------------------------------
   SECTION SHELL + ABOUT
   ----------------------------------------------------------------------- */
.section {
  padding: 105px max(6%, calc((100vw - 1320px) / 2));
}
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10%;
  align-items: center;
}
.lead {
  font-size: 19px;
  line-height: 1.8;
  color: #2e5364;
}
.about p:not(.kicker),
.arena p:not(.kicker),
.publications > p:not(.kicker),
.contact p {
  line-height: 1.85;
}
.about-image {
  max-width: 390px;
  justify-self: center;
  position: relative;
}
.about-image img {
  border-radius: 9px;
  box-shadow: 0 20px 65px #0c44652b;
}
.about-image span {
  position: absolute;
  bottom: 20px;
  left: -25px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  padding: 14px;
}
.stats {
  display: flex;
  gap: 45px;
  margin-top: 35px;
  flex-wrap: wrap;
}
.stats div {
  display: flex;
  flex-direction: column;
}
.stats strong {
  font: 800 39px Montserrat;
  color: var(--teal);
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
/* -----------------------------------------------------------------------
   CONFERENCE TRACKS
   ----------------------------------------------------------------------- */
.tracks-section {
  background: var(--paper);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.section-head p:last-child {
  max-width: 370px;
  line-height: 1.8;
  color: var(--muted);
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.track {
  min-height: 230px;
  background: white;
  padding: 27px;
  position: relative;
  border: 1px solid #e0ecec;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.track:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.track > span {
  font-size: 13px;
  color: #9ab3bc;
  font-weight: 800;
}
.track-icon {
  font-size: 34px;
  color: var(--teal);
}
.track:nth-child(3n) .track-icon {
  color: var(--orange);
}
.track h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}
/* -----------------------------------------------------------------------
   IMPORTANT DATES (timeline)
   ----------------------------------------------------------------------- */
.dates-section {
  background: white;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 25px;
}
.milestone {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px;
  border-left: 4px solid #15a3a9;
  background: #f3f9f8;
}
.milestone time {
  min-width: 125px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}
.milestone span {
  font-size: 14px;
  font-weight: 700;
}
.milestone.highlight {
  background: var(--navy);
  border-color: var(--gold);
  color: #fff;
}
.milestone.highlight time {
  color: var(--gold);
}
/* -----------------------------------------------------------------------
   CALL FOR PAPERS BAND
   ----------------------------------------------------------------------- */
.papers-section {
  background: linear-gradient(110deg, #062548, #065579);
  color: white;
  padding: 95px max(6%, calc((100vw - 1320px) / 2));
  overflow: hidden;
}
.papers-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 35px;
}
.papers-section h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 1.1;
}
.papers-section h2 i {
  font-style: normal;
  color: #61d5c5;
}
.papers-section p {
  max-width: 590px;
  line-height: 1.8;
}
.light {
  color: #75e2dc;
}
.white {
  background: white;
  color: var(--navy);
}
.note,
.fineprint {
  font-size: 12px;
  opacity: 0.8;
}
.paper-decoration {
  text-align: center;
}
.paper-decoration img {
  width: min(450px, 100%);
  filter: drop-shadow(0 12px 18px #0019);
  background: #ffffffed;
  border-radius: 15px;
}
/* -----------------------------------------------------------------------
   E-JUST DESIGN ARENA
   ----------------------------------------------------------------------- */
.arena {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
  background: #f5fbfa;
}
.arena-visual img {
  width: 100%;
  max-width: 530px;
  display: block;
}
.arena-tagline {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}
.small-date {
  border-top: 1px solid #cce0df;
  padding-top: 20px;
  margin-top: 30px;
}
/* -----------------------------------------------------------------------
   PUBLICATION
   ----------------------------------------------------------------------- */
.publications > p:not(.kicker) {
  max-width: 800px;
}
.publication-panel {
  margin-top: 30px;
  background: #f4f9f9;
  padding: 35px;
  border-left: 5px solid var(--teal);
}
.publication-panel h3 {
  font-size: 17px;
}
.publication-panel li {
  margin: 14px 0;
}
/* -----------------------------------------------------------------------
   VENUE & CONTACT
   ----------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  background: #eaf5f4;
}
.contact-card {
  background: white;
  padding: 36px;
  border-radius: 8px;
  box-shadow: 0 12px 40px #1542 0;
}
.contact-card a {
  display: block;
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
  margin: 12px 0 25px;
}
/* -----------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------- */
footer {
  background: var(--deep);
  color: white;
  padding: 50px max(6%, calc((100vw - 1320px) / 2)) 25px;
}
.footer-brand img {
  width: 190px;
  background: white;
  border-radius: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: #a8c5d4;
}
.footer-bottom {
  border-top: 1px solid #ffffff33;
  padding-top: 24px;
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #bed2dc;
}
/* -----------------------------------------------------------------------
   RESPONSIVE — base layout (1100px / 780px / 480px)
   ----------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav {
    gap: 12px;
  }
  .nav a {
    font-size: 11px;
  }
  .track-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-art {
    left: 20%;
  }
  .hero-copy {
    width: 70%;
  }
}
@media (max-width: 780px) {
  .site-header {
    height: 78px;
    padding: 6px 5%;
  }
  .brand {
    width: 135px;
    height: 65px;
  }
  .brand img {
    width: 150px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-cta {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 6%;
    box-shadow: 0 14px 22px #0012;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    font-size: 14px;
    padding: 9px;
  }
  .hero {
    min-height: 720px;
    align-items: flex-start;
    background: #e8f7f8;
  }
  .hero-art {
    inset: 240px 0 0;
    background-position: center bottom;
    background-size: cover;
    opacity: 0.85;
  }
  .hero:before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(#f8fcfb 0%, #f8fcfbe8 37%, transparent 80%);
  }
  .hero-copy {
    width: 100%;
    padding: 45px 6% 0;
    margin: 0;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 4.5rem);
  }
  .hero-tag {
    z-index: 2;
  }
  .section {
    padding: 70px 6%;
  }
  .about,
  .arena,
  .contact,
  .papers-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    max-width: 300px;
  }
  .section-head {
    display: block;
  }
  .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .paper-decoration img {
    max-width: 270px;
  }
  .arena-visual {
    order: 2;
  }
  .arena-visual img {
    max-width: 350px;
    margin: auto;
  }
  .ticker {
    gap: 10px;
    font-size: 9px;
  }
  .stats {
    gap: 25px;
  }
}
@media (max-width: 480px) {
  .track-grid {
    grid-template-columns: 1fr;
  }
  .track {
    min-height: 170px;
  }
  .hero-details {
    gap: 12px;
    flex-direction: column;
  }
  .hero {
    min-height: 670px;
  }
  .hero-art {
    top: 290px;
  }
  .hero-copy {
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-tag {
    font-size: 17px;
  }
  .milestone {
    gap: 10px;
    padding: 15px;
  }
  .milestone time {
    min-width: 105px;
    font-size: 10px;
  }
  .milestone span {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .publication-panel {
    padding: 22px;
  }
}

/* -----------------------------------------------------------------------
   REVISION LAYER — hero artwork blend, header and logo sizing (overrides above)
   ----------------------------------------------------------------------- */
/* v2: continuous artwork blend, no hard left image edge */
.hero {
  background: #f6fbfa;
  isolation: isolate;
}
.hero-art {
  inset: 0;
  background-image: var(--hero-img);
  background-position: center right;
  background-size: cover;
  opacity: 1;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #f6fbfa 0%,
    rgba(246, 251, 250, 0.99) 12%,
    rgba(246, 251, 250, 0.93) 24%,
    rgba(246, 251, 250, 0.74) 35%,
    rgba(246, 251, 250, 0.38) 47%,
    rgba(246, 251, 250, 0.08) 60%,
    transparent 73%
  );
}
.hero-copy {
  z-index: 2;
}
.institution-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.institution-logos img {
  width: auto;
  height: 55px;
  max-width: 145px;
  object-fit: contain;
}
.institution-logos img:first-child {
  max-width: 135px;
}
.institution-divider {
  height: 42px;
  width: 1px;
  background: #bfd3dc;
}
.site-header {
  gap: 17px;
  padding-left: 3%;
  padding-right: 3%;
}
.brand {
  width: 145px;
  flex-shrink: 0;
}
.brand img {
  width: 155px;
  transform: scale(1.05);
}
.nav {
  gap: 15px;
}
.nav a {
  font-size: 12px;
}
.partners-section {
  background: #f7fbfb;
}
.partners-intro {
  color: var(--muted);
  max-width: 700px;
  line-height: 1.7;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}
.partner-logo {
  background: white;
  border: 1px solid #dce9ec;
  border-radius: 12px;
  min-height: 150px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px #0c44650b;
}
.partner-logo img {
  width: 100%;
  height: 110px;
  object-fit: contain;
}
.partners-section > .fineprint {
  color: #526d7a;
  opacity: 1;
}
@media (max-width: 1250px) {
  .institution-logos img {
    height: 42px;
    max-width: 105px;
  }
  .brand {
    width: 110px;
  }
  .brand img {
    width: 125px;
  }
  .nav {
    gap: 10px;
  }
  .nav a {
    font-size: 11px;
  }
  .nav-cta {
    padding: 12px;
  }
}
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    height: auto;
    min-height: 85px;
  }
  .institution-logos img {
    height: 39px;
  }
  .nav {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      #f6fbfa 0%,
      rgba(246, 251, 250, 0.97) 20%,
      rgba(246, 251, 250, 0.79) 39%,
      rgba(246, 251, 250, 0.22) 68%,
      transparent 95%
    );
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .site-header {
    flex-wrap: nowrap;
    min-height: 80px;
  }
  .institution-logos {
    gap: 8px;
  }
  .institution-logos img {
    height: 35px;
    max-width: 83px;
  }
  .institution-divider {
    height: 30px;
  }
  .brand {
    width: 100px;
    height: 60px;
  }
  .brand img {
    width: 112px;
  }
  .nav {
    order: unset;
    width: auto;
  }
  .hero-art {
    inset: 0;
    background-position: 57% center;
    opacity: 1;
  }
  .hero::before {
    z-index: -1;
    background: linear-gradient(
      180deg,
      #f6fbfa 0%,
      rgba(246, 251, 250, 0.98) 20%,
      rgba(246, 251, 250, 0.86) 41%,
      rgba(246, 251, 250, 0.28) 68%,
      transparent 91%
    );
  }
  .hero-copy {
    z-index: 2;
  }
  .partner-grid {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .institution-logos img {
    height: 29px;
    max-width: 65px;
  }
  .brand {
    width: 75px;
  }
  .brand img {
    width: 88px;
  }
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-logo {
    min-height: 110px;
    padding: 12px;
  }
  .partner-logo img {
    height: 85px;
  }
}

/* Revision: larger conference logo and poster-inspired heading / year. */
.site-header .brand {
  width: 205px;
  height: 84px;
  overflow: visible;
  justify-content: center;
}
.site-header .brand img {
  width: 220px;
  max-width: none;
  transform: none;
  display: block;
}
.hero .conference-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 18px 0 20px;
  line-height: 1;
  letter-spacing: -0.065em;
}
.hero .conference-name {
  display: block;
  color: #081b50;
  font-size: clamp(3.2rem, 5.6vw, 6rem);
  font-weight: 900;
  white-space: nowrap;
}
.hero .conference-year {
  display: block;
  font-size: clamp(6.5rem, 12vw, 12.5rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.97;
  background: linear-gradient(
    105deg,
    #063c71 0%,
    #078e91 37%,
    #f6b319 65%,
    #e73829 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.1em;
}
.hero-theme {
  border-left: 4px solid #082e56;
  padding-left: 15px;
  margin: 20px 0 10px;
}
.hero-theme strong {
  font-family: Montserrat, Arial, sans-serif;
  color: #071a4b;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.hero-theme strong span {
  color: #006e72;
}
.hero-theme .hero-subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.12rem);
  margin: 9px 0 0;
}
@media (max-width: 1250px) {
  .site-header .brand {
    width: 150px;
  }
  .site-header .brand img {
    width: 170px;
  }
}
@media (max-width: 900px) {
  .site-header .brand {
    width: 145px;
  }
  .site-header .brand img {
    width: 160px;
  }
}
@media (max-width: 780px) {
  .site-header .brand {
    width: 112px;
    height: 65px;
  }
  .site-header .brand img {
    width: 125px;
  }
  .hero .conference-name {
    font-size: clamp(2.7rem, 8vw, 4.6rem);
  }
  .hero .conference-year {
    font-size: clamp(5.8rem, 19vw, 9rem);
  }
  .hero-theme strong {
    font-size: clamp(1.15rem, 4vw, 1.6rem);
  }
}
@media (max-width: 480px) {
  .site-header .brand {
    width: 88px;
  }
  .site-header .brand img {
    width: 100px;
  }
  .hero .conference-name {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }
  .hero .conference-year {
    font-size: clamp(5.3rem, 22vw, 7.5rem);
  }
  .hero-theme {
    margin-top: 10px;
  }
  .hero-theme strong {
    font-size: 1.12rem;
  }
}

/* Poster-faithful conference title: original approved ICAnD lettering and subtitle. */
.hero .conference-heading {
  gap: 2px;
  margin: 12px 0 18px;
}
.hero .hero-conference-logo {
  display: block;
  width: min(440px, 100%);
  height: auto;
  object-fit: contain;
}
.hero .conference-year {
  font-size: clamp(6.5rem, 11vw, 11rem);
  line-height: 0.95;
  margin-top: 2px;
}
@media (max-width: 780px) {
  .hero .hero-conference-logo {
    width: min(350px, 90%);
  }
  .hero .conference-year {
    font-size: clamp(5.5rem, 18vw, 8rem);
  }
}
@media (max-width: 480px) {
  .hero .hero-conference-logo {
    width: min(290px, 92%);
  }
  .hero .conference-year {
    font-size: clamp(5rem, 21vw, 6.8rem);
  }
}

/* Final revision: reveal the original hero artwork through its left-side pyramids.
   Keep all page elements, layout, typography, and partner sections unchanged. */
@media (min-width: 781px) {
  .hero-art {
    background-position: center bottom;
    background-size: 100% 100%;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(246, 251, 250, 0.94) 0%,
      rgba(246, 251, 250, 0.91) 15%,
      rgba(246, 251, 250, 0.76) 26%,
      rgba(246, 251, 250, 0.54) 37%,
      rgba(246, 251, 250, 0.22) 49%,
      rgba(246, 251, 250, 0.04) 63%,
      transparent 75%
    );
  }
}

/* MOBILE-ONLY REFINEMENT — desktop layout is unchanged */
/* -----------------------------------------------------------------------
   MOBILE LAYER — phones and small tablets, max-width 780px (overrides above)
   ----------------------------------------------------------------------- */
@media (max-width: 780px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }
  .site-header {
    height: 76px;
    min-height: 76px;
    padding: 8px 4%;
    gap: 9px;
    flex-wrap: nowrap;
  }
  .institution-logos {
    gap: 7px;
    min-width: 0;
    flex-shrink: 1;
  }
  .institution-logos img {
    height: 39px;
    max-width: 86px;
    width: auto;
    object-fit: contain;
  }
  .institution-divider {
    height: 33px;
  }
  .site-header .brand {
    width: 104px;
    height: 56px;
    min-width: 0;
    flex-shrink: 0;
  }
  .site-header .brand img {
    width: 112px;
    max-width: 100%;
    height: auto;
  }
  .menu-toggle {
    display: block;
    flex-shrink: 0;
    margin-left: auto;
    cursor: pointer;
    padding: 8px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 30;
    width: 100%;
    background: white;
    box-shadow: 0 12px 22px #0012;
    padding: 16px 5%;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto;
    background: #f6fbfa;
    overflow: hidden;
  }
  .hero::before {
    display: none;
  }
  .hero-copy {
    order: 0;
    width: 100%;
    margin: 0;
    padding: 26px 6% 22px;
    z-index: 2;
    background: linear-gradient(
      180deg,
      #f6fbfa 0%,
      #f6fbfa 86%,
      rgba(246, 251, 250, 0.9) 100%
    );
  }
  .hero .conference-heading {
    margin: 0 0 15px;
    gap: 0;
    align-items: flex-start;
  }
  .hero .hero-conference-logo {
    width: min(330px, 90%);
    max-width: 100%;
    height: auto;
  }
  .hero .conference-year {
    font-size: clamp(5.3rem, 19vw, 8rem);
    margin: 0;
    line-height: 0.92;
  }
  .hero-theme {
    margin: 13px 0 8px;
    padding-left: 12px;
    border-left-width: 4px;
  }
  .hero-theme strong {
    font-size: clamp(1.2rem, 4.2vw, 1.6rem);
    line-height: 1.13;
  }
  .hero-theme .hero-subtitle {
    font-size: clamp(0.9rem, 3.1vw, 1.06rem);
    line-height: 1.45;
    margin-top: 8px;
  }
  .hero-details {
    margin: 18px 0;
    display: flex;
    gap: 8px 18px;
    flex-direction: row;
    font-size: 13px;
  }
  .hero .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .hero .btn {
    padding: 14px 10px;
    min-height: 49px;
    font-size: 12px;
    gap: 7px;
    text-align: center;
  }
  .hero-art {
    position: relative;
    order: 1;
    inset: auto;
    display: block;
    width: 100%;
    height: clamp(250px, 64vw, 440px);
    background-image: var(--hero-img);
    background-size: cover;
    background-position: 54% center;
    opacity: 1;
    z-index: 0;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      #f6fbfa 0%,
      rgba(246, 251, 250, 0.05) 19%,
      transparent 35%
    );
    pointer-events: none;
  }
  .hero-tag {
    position: absolute;
    right: 5%;
    bottom: 12px;
    font-size: 15px;
    z-index: 2;
  }
  .ticker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 17px 5%;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.06em;
  }
  .ticker b {
    display: none;
  }
  .section {
    padding: 62px 6%;
  }
  .section-head {
    margin-bottom: 25px;
  }
  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .track {
    min-height: 185px;
    padding: 19px;
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-logo {
    min-height: 125px;
    padding: 12px;
  }
  .partner-logo img {
    height: 90px;
  }
  .papers-section {
    padding: 65px 6%;
  }
  .contact-card {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .site-header {
    padding-left: 3%;
    padding-right: 3%;
    gap: 6px;
  }
  .institution-logos {
    gap: 5px;
  }
  .institution-logos img {
    height: 35px;
    max-width: 69px;
  }
  .institution-divider {
    height: 28px;
  }
  .site-header .brand {
    width: 90px;
    height: 54px;
  }
  .site-header .brand img {
    width: 94px;
  }
  .hero-copy {
    padding: 22px 6% 18px;
  }
  .hero .hero-conference-logo {
    width: min(310px, 94%);
  }
  .hero .conference-year {
    font-size: clamp(5.15rem, 22vw, 6.7rem);
  }
  .hero-details {
    flex-direction: column;
    gap: 8px;
  }
  .hero .actions {
    grid-template-columns: 1fr 1fr;
  }
  .hero .btn {
    font-size: 11px;
    padding: 13px 7px;
  }
  .hero-art {
    height: clamp(245px, 72vw, 350px);
    background-position: 53% center;
  }
  .track-grid {
    grid-template-columns: 1fr;
  }
  .track {
    min-height: 155px;
  }
  .ticker {
    font-size: 9px;
  }
}
@media (max-width: 355px) {
  .institution-logos img {
    height: 29px;
    max-width: 55px;
  }
  .site-header .brand {
    width: 74px;
  }
  .site-header .brand img {
    width: 78px;
  }
  .hero .conference-year {
    font-size: 4.9rem;
  }
  .hero .actions {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   ICAnD 2027 — E-JUST IDENTITY LAYER
   Loaded after styles.css. Applies the E-JUST Visual Identity & Digital
   UI System Manual (v1.0, Oct 2026) to the interface layer only:
   buttons, UI typography, cards, section accents, focus, header, footer.

   Kept as ICAnD identity (NOT changed here): ICAnD logo & lettering,
   hero artwork, 2027 gradient, theme lockup, navy / teal / gold / orange
   accents, ticker, Montserrat display headings.
   ===================================================================== */

:root {
  /* E-JUST palette (manual §3.1) */
  --ej-red: #eb2028; /* primary actions, active states, accents */
  --ej-red-hover: #d81d25; /* hover: fill darkened 8% (§7.1) */
  --ej-red-pressed: #cf1c23; /* pressed: 12% darker */
  --ej-red-text: #b3141b; /* red text under 18.67px bold (§3.3) */
  --ej-black: #000000;
  --ej-gray: #666666; /* secondary text, borders of controls */
  --ej-line: #cccccc; /* card borders, dividers */
  --ej-app: #f7f7f8; /* neutral section surface */
  --ej-blush: #fdeceb; /* support / trust strip only */
  --ej-blue: #003dd1; /* focus ring */
  --ej-font: "Open Sans", Arial, sans-serif;
  /* Darker ICAnD teal for small text (passes WCAG AA on light) */
  --icand-teal-text: #006e72;
}

/* ---------- Base typography: Open Sans for web UI (§4.1) ---------- */
body {
  font-family: var(--ej-font);
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
}
h3 {
  font-family: var(--ej-font);
  font-weight: 700;
  letter-spacing: 0;
}
/* h2 + hero theme keep Montserrat as the ICAnD display face */
.lead {
  font-size: 18px;
  line-height: 1.75;
  color: #333;
}
.about p:not(.kicker),
.arena p:not(.kicker),
.publications > p:not(.kicker),
.contact p {
  line-height: 1.7;
}
.section-head p:last-child,
.partners-intro,
.stats span {
  color: var(--ej-gray);
}
.stats span {
  font-size: 14px;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ej-blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible {
  border-radius: 999px;
}
.btn.outline:focus-visible,
.btn.outline-red:focus-visible {
  border-radius: 8px;
}

/* ---------- Header (logo top-left, clean bar) ---------- */
.site-header {
  box-shadow: none;
  border-bottom: 1px solid #e6e6e6;
}
.institution-divider {
  background: var(--ej-line);
}
.nav a {
  position: relative;
  font-family: var(--ej-font);
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 6px 0;
  transition: color 0.15s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ej-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s;
}
.nav a:hover {
  color: var(--ej-red-text);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.menu-toggle {
  color: #000;
  min-width: 44px;
  min-height: 44px;
}

/* ---------- Buttons (§7.1) ---------- */
.btn,
.nav-cta {
  font-family: var(--ej-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 48px;
  min-width: 160px;
  padding: 0 28px;
  gap: 8px;
  line-height: 1.2;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn:hover,
.nav-cta:hover {
  transform: none;
}
/* Primary: red pill, white 19px/700 label */
.btn.primary,
.nav-cta {
  background: var(--ej-red);
  color: #fff;
  border: 0;
  border-radius: 999px;
}
.btn.primary:hover,
.nav-cta:hover {
  background: var(--ej-red-hover);
}
.btn.primary:active,
.nav-cta:active {
  background: var(--ej-red-pressed);
}
.hero .btn {
  min-height: 56px;
} /* hero size */
/* Secondary: white, 1px gray border, 8px radius, black label */
.btn.outline {
  background: #fff;
  color: #000;
  border: 1px solid var(--ej-gray);
  border-radius: 8px;
}
.btn.outline:hover {
  background: var(--ej-app);
  border-color: #000;
}
/* Secondary, red outline: support / contact actions in banners */
.btn.outline-red {
  background: #fff;
  color: var(--ej-red-text);
  border: 1px solid var(--ej-red);
  border-radius: 8px;
}
.btn.outline-red:hover {
  background: var(--ej-blush);
}
/* Header CTA keeps 19px bold for contrast, compact padding */
.nav-cta {
  min-width: 0;
  padding: 0 24px;
  white-space: nowrap;
}

/* ---------- Section labels & heading accent (§4.2, §4.3) ---------- */
.kicker {
  color: var(--ej-red-text);
  font-family: var(--ej-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.kicker.light {
  color: #75e2dc;
}
.section h2,
.papers-section h2 {
  margin-bottom: 28px;
}
.section h2::after,
.papers-section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ej-red);
  margin-top: 14px;
}

/* ---------- Neutral E-JUST surfaces ---------- */
.tracks-section,
.arena,
.partners-section {
  background: var(--ej-app);
}
.dates-section,
.publications,
.contact {
  background: #fff;
}

/* ---------- Cards (§7.3): white, 1px #CCC, 16px radius, 24px padding ---------- */
.track-grid {
  gap: 24px;
}
.track {
  border: 1px solid var(--ej-line);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.15s;
}
.track:hover {
  transform: none;
  border-color: var(--ej-red);
}
.track > span {
  color: var(--ej-gray);
  font-weight: 700;
  font-size: 14px;
}
.track h3 {
  font-size: 18px;
  line-height: 1.4;
}
.track h3::after,
.contact-card h3::after,
.publication-panel h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ej-red);
  margin-top: 8px;
}

.partner-logo {
  border: 1px solid var(--ej-line);
  border-radius: 16px;
  box-shadow: none;
}
.partners-section > .fineprint {
  color: var(--ej-gray);
}

.contact-card {
  border: 1px solid var(--ej-line);
  border-radius: 16px;
  box-shadow: none;
  padding: 32px;
}
.contact-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.contact-card a {
  color: var(--icand-teal-text);
  font-weight: 700;
}
.contact-card a:hover {
  color: var(--ej-red-text);
  text-decoration: underline;
}

.publication-panel {
  background: #fff;
  border: 1px solid var(--ej-line);
  border-radius: 16px;
  padding: 32px;
}
.publication-panel h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.about-image img {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.small-date {
  border-top-color: var(--ej-line);
}

/* ---------- Important dates: red is reserved for deadlines (§7.10) ---------- */
.timeline {
  gap: 16px 24px;
}
.milestone {
  background: var(--ej-app);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
}
.milestone time {
  color: var(--icand-teal-text);
  font-size: 14px;
  font-weight: 700;
  min-width: 135px;
}
.milestone span {
  font-size: 16px;
  font-weight: 600;
}
.milestone.deadline {
  border-left-color: var(--ej-red);
}
.milestone.deadline time {
  color: var(--ej-red-text);
}
.milestone.highlight {
  background: var(--navy);
  border-left-color: var(--gold);
}
.milestone.highlight time {
  color: var(--gold);
}

/* ---------- Call for papers: keep ICAnD navy, add E-JUST dot pattern (§6.2) ---------- */
.papers-section {
  position: relative;
}
.papers-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.1) 3px, transparent 3.6px),
    radial-gradient(rgba(255, 255, 255, 0.1) 3px, transparent 3.6px);
  background-size: 22px 22px;
  background-position:
    0 0,
    11px 11px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.papers-inner {
  position: relative;
  z-index: 1;
}
.paper-decoration img {
  border-radius: 16px;
  filter: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

/* ---------- Support strip: blush, reassurance only (§7.6) ---------- */
.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 max(6%, calc((100vw - 1320px) / 2)) 64px;
  padding: 24px 32px;
  background: var(--ej-blush);
  border-radius: 16px;
}
.support-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}
.support-copy p {
  margin: 0;
  line-height: 1.5;
}
.support-copy strong {
  display: block;
  font-size: 16px;
  color: #000;
}
.support-copy span {
  font-size: 14px;
  color: var(--ej-gray);
}
.support-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ej-red-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer: ICAnD band + E-JUST black copyright bar (§7.9) ---------- */
footer {
  padding: 0;
  background: var(--deep);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 48px max(6%, calc((100vw - 1320px) / 2)) 40px;
}
.footer-brand img {
  border-radius: 8px;
}
.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
}
.footer-meta {
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
  color: #bed2dc;
}
.footer-meta p {
  margin: 0 0 12px;
}
.footer-meta a {
  color: #fff;
  font-weight: 600;
}
.footer-meta a:hover {
  text-decoration: underline;
}
.footer-bar {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  padding: 16px 6%;
}

/* ---------- Responsive ---------- */
@media (max-width: 1250px) {
  .nav a {
    font-size: 12px;
  }
  .nav-cta {
    padding: 0 18px;
  }
}
@media (max-width: 1100px) {
  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .nav a {
    font-size: 16px;
    padding: 12px 4px;
  }
  .nav a::after {
    display: none;
  }
  .hero .actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero .btn {
    font-size: 19px;
    min-height: 52px;
    padding: 0 20px;
    min-width: 0;
    gap: 8px;
  }
  .papers-section .btn {
    width: 100%;
    min-width: 0;
  }
  .papers-section::before {
    width: 100%;
    opacity: 0.6;
  }
  .track {
    padding: 24px;
  }
  .milestone {
    padding: 16px 20px;
  }
  .support-strip {
    margin: 0 6% 48px;
    padding: 20px;
  }
  .support-strip .btn {
    width: 100%;
    min-width: 0;
    font-size: 17px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 6% 32px;
  }
  .footer-meta {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .hero .btn {
    font-size: 19px;
    padding: 0 16px;
  }
  .milestone time {
    font-size: 13px;
    min-width: 110px;
  }
  .milestone span {
    font-size: 14px;
  }
  .track-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Motion (§9.6) ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Refinements ---------- */
h2 {
  color: var(--ink);
} /* ICAnD navy display headings */
.papers-section h2 {
  color: #fff;
}
.footer-brand img {
  width: 200px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
}
@media (max-width: 780px) {
  .support-strip .btn {
    min-height: 48px;
    height: auto;
    padding: 12px 16px;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
  }
  .support-copy {
    align-items: flex-start;
  }
}

/* ---------- Hero artwork: keep true proportions + readable title side ---------- */
@media (min-width: 781px) {
  .hero-art {
    background-size: cover;
    background-position: 60% center;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(246, 251, 250, 0.97) 0%,
      rgba(246, 251, 250, 0.95) 22%,
      rgba(246, 251, 250, 0.84) 32%,
      rgba(246, 251, 250, 0.55) 42%,
      rgba(246, 251, 250, 0.18) 54%,
      transparent 66%
    );
  }
}

/* =====================================================================
   E-JUST WEBSITE FONTS (as used on www.ejust.edu.eg)
   Headings + buttons: Roboto Slab · Body + UI: Poppins
   ICAnD poster lettering kept: "2027" and the hero theme stay Montserrat.
   ===================================================================== */
:root {
  --ej-font: "Poppins", Arial, sans-serif;
  --ej-head: "Roboto Slab", Georgia, serif;
}
body {
  font-family: var(--ej-font);
}
h2,
h3 {
  font-family: var(--ej-head);
}
h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h3 {
  font-weight: 700;
}
.stats strong {
  font-family: var(--ej-head);
  font-weight: 700;
}
.nav a,
.kicker,
.ticker {
  font-family: var(--ej-font);
}
.nav a {
  font-weight: 500;
}
.btn,
.nav-cta {
  font-family: var(--ej-head);
  font-weight: 700;
  letter-spacing: 0;
}
.lead {
  font-size: 17px;
}

/* Footer: original content, E-JUST black copyright bar */
footer {
  padding: 48px max(6%, calc((100vw - 1320px) / 2)) 0;
  background: var(--deep);
}
.footer-bottom {
  margin: 40px calc(-1 * max(6%, calc((100vw - 1320px) / 2))) 0;
  padding: 16px max(6%, calc((100vw - 1320px) / 2));
  background: #000;
  border-top: 0;
  color: #fff;
  font-size: 12px;
  align-items: center;
}
.footer-bottom a {
  color: #fff;
  font-weight: 600;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
@media (max-width: 780px) {
  footer {
    padding: 40px 6% 0;
  }
  .footer-bottom {
    margin: 32px -6% 0;
    padding: 16px 6%;
  }
}

/* Section navigation (side bar) — jumps to each section */
.side-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.side-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.side-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 32px;
  padding: 0 4px;
}
.sn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ej-gray);
  flex: 0 0 auto;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.sn-label {
  font-family: var(--ej-font);
  font-size: 13px;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: 1px solid var(--ej-line);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.15s,
    transform 0.15s;
  pointer-events: none;
}
.side-nav a:hover .sn-label,
.side-nav a:focus-visible .sn-label {
  opacity: 1;
  transform: none;
}
.side-nav a:hover .sn-dot {
  border-color: var(--ej-red);
}
.side-nav a.is-active .sn-dot {
  background: var(--ej-red);
  border-color: var(--ej-red);
  transform: scale(1.25);
}
.side-nav a.is-active .sn-label {
  color: var(--ej-red-text);
}
.side-nav a:focus-visible {
  outline: none;
}
.side-nav a:focus-visible .sn-dot {
  outline: 3px solid var(--ej-blue);
  outline-offset: 2px;
}
.side-nav:hover .sn-label {
  opacity: 1;
  transform: none;
}
@media (max-width: 1100px) {
  .side-nav {
    display: none;
  }
}
footer {
  padding-left: max(6vw, calc((100vw - 1320px) / 2));
  padding-right: max(6vw, calc((100vw - 1320px) / 2));
}
.footer-bottom {
  margin-left: calc(-1 * max(6vw, calc((100vw - 1320px) / 2)));
  margin-right: calc(-1 * max(6vw, calc((100vw - 1320px) / 2)));
  padding-left: max(6vw, calc((100vw - 1320px) / 2));
  padding-right: max(6vw, calc((100vw - 1320px) / 2));
}

/* Final fixes (launch) */
/* All buttons share the same rounded pill shape */
.btn,
.btn.primary,
.btn.outline,
.btn.outline-red,
.nav-cta {
  border-radius: 999px;
}
.btn:focus-visible,
.btn.outline:focus-visible,
.nav-cta:focus-visible {
  border-radius: 999px;
}
/* Keep symbol icons as text symbols on iPhone / Android (no emoji rendering) */
.track-icon,
.ticker b {
  font-variant-emoji: text;
  font-family:
    "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "DejaVu Sans",
    sans-serif;
}
/* Asterisk symbol drawn as a graphic so phones cannot turn it into an emoji */
.sym-asterisk {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.08em;
}
.ticker b .sym-asterisk {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
}

/* -----------------------------------------------------------------------
   LATE OVERRIDES — Call for Papers dropdown, hero buttons, key dates strip,
   content blocks, track details, tables, past dates, partner groups
   ----------------------------------------------------------------------- */
/* ==== Source <style> block 2 of 2 from ICAnD-2027-Website_V4.html ==== */

.site-header .nav {
  gap: clamp(10px, 1.3vw, 22px);
}
.papers-menu {
  position: relative;
  font-size: 12px;
  color: var(--navy);
}
.papers-menu summary {
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
.papers-menu div {
  position: absolute;
  z-index: 10;
  min-width: 195px;
  background: #fff;
  padding: 12px 16px;
  border: 1px solid var(--ej-line);
  border-radius: 8px;
  box-shadow: 0 8px 20px #0002;
}
.papers-menu a,
.footer-links a {
  display: block;
  padding: 8px 0;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero .actions .btn {
  font-size: 15px;
  min-height: 44px;
  min-width: 0;
  padding: 0 16px;
}
.btn:disabled {
  background: #e7ecef;
  color: #405463;
  border: 1px solid #8ea0ad;
  cursor: default;
  transform: none;
}
.availability,
.patronage {
  font-size: 0.9rem;
  margin: 12px 0;
}
.key-dates {
  padding: 24px max(6%, calc((100vw - 1320px) / 2));
  background: #edf6f4;
}
.key-dates ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.key-dates ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.key-dates strong {
  display: block;
  color: var(--navy);
}
#countdown {
  font-weight: 700;
  color: var(--navy);
}
.content-block {
  margin: 30px 0;
  max-width: 1050px;
}
.editorial,
.arena-info {
  line-height: 1.65;
}
.content-block li,
.arena-info li,
.track li {
  margin-bottom: 6px;
}
.text-link,
.papers-inner .actions a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.papers-inner .actions {
  align-items: center;
}
.track {
  justify-content: flex-start;
  gap: 10px;
}
.track details {
  margin-top: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}
.track summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.track details p {
  margin-top: 10px;
}
.track ul,
.arena-info ul,
.arena-info ol,
.content-block ul,
.content-block ol {
  padding-inline-start: 23px;
}
.arena {
  background: #edf7f2;
}
.arena h2 span,
.arena .arena-tagline,
.arena .kicker {
  color: #176747;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ej-line);
  border-radius: 10px;
  margin: 16px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th,
td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  min-width: 95px;
}
thead th {
  background: var(--navy);
  color: #fff;
}
tbody th,
td {
  border-bottom: 1px solid var(--ej-line);
}
tbody tr:nth-child(even) {
  background: #f3f7f8;
}
.milestone.is-past {
  background: #f1f3f4;
  color: #425160;
  border-left-color: #88959b;
}
.milestone.is-past time {
  color: inherit;
}
.date-status:not([hidden]) {
  display: inline-block;
  font-size: 0.76em;
  color: #244758;
  background: #e2eff0;
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 4px;
}
section[id],
#arena-fees {
  scroll-margin-top: 20px;
}
@media (max-width: 1120px) and (min-width: 781px) {
  .site-header {
    height: auto;
    min-height: 90px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-header .nav {
    order: 4;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-width: 780px) {
  .papers-menu summary {
    font-size: 16px;
    padding: 8px 4px;
  }
  .papers-menu div {
    position: static;
    box-shadow: none;
  }
  .hero .actions {
    gap: 8px;
  }
  .hero .actions .btn {
    font-size: 13px;
    min-height: 42px;
    padding: 0 12px;
  }
  .site-header .nav {
    max-height: calc(100dvh - 76px);
    overflow: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  th,
  td {
    padding: 8px 10px;
  }
}
.partner-group + .partner-group {
  margin-top: 36px;
}
.partner-group .partner-grid {
  margin: 16px 0 0;
}
.academic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.industrial-grid {
  grid-template-columns: minmax(0, 340px);
}
@media (max-width: 780px) {
  .academic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .partner-group .partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ICAnD 2027 — Bootstrap 5.3 responsive redesign layer */
:root{--bs-primary:#062d56;--bs-primary-rgb:6,45,86;--bs-info:#008e91;--bs-info-rgb:0,142,145;--bs-danger:#eb2028;--bs-body-font-family:"Poppins",Arial,sans-serif;--bs-body-color:#102e48}
html{scroll-padding-top:90px}
body{overflow-x:hidden;font-family:"Poppins",Arial,sans-serif}
.site-header{height:auto;min-height:82px;padding:12px clamp(16px,3vw,48px);gap:clamp(12px,2vw,30px);position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 8px 30px rgba(6,45,86,.08)}
.institution-logos{display:flex;align-items:center;gap:12px;flex-shrink:0}
.institution-logos img{max-width:88px;max-height:52px;object-fit:contain}
.institution-divider{height:42px;width:1px;background:#d6e0e5}
.brand{width:clamp(105px,12vw,160px);height:auto;flex-shrink:0}
.brand img{width:100%;max-width:100%;transform:none}
.nav{flex:1;justify-content:flex-end;gap:clamp(8px,1.2vw,20px);flex-wrap:wrap}
.nav a,.papers-menu summary{font-size:clamp(11px,.85vw,13px);white-space:nowrap}
.nav-cta,.btn{border-radius:50rem;letter-spacing:.01em}
.nav-cta{padding:12px 18px}
.menu-toggle{border-radius:10px;padding:5px 12px}
.hero{min-height:min(720px,calc(100vh - 80px));isolation:isolate;background:linear-gradient(90deg,rgba(246,251,250,.99) 0%,rgba(246,251,250,.96) 34%,rgba(246,251,250,.65) 57%,rgba(6,33,67,.08) 100%),#e5f5f8}
.hero-art{inset:0 0 0 28%;opacity:1;background-position:center right;background-size:cover;animation:heroFloat 18s ease-in-out infinite alternate}
.hero-copy{width:min(740px,68%);margin-left:max(4%,calc((100vw - 1320px)/2));padding:clamp(36px,6vw,82px) 24px clamp(45px,7vw,90px) 0}
.hero h1,.hero-theme,.hero-details,.patronage,.hero .availability{position:relative}
.hero h1{filter:drop-shadow(0 2px 12px rgba(255,255,255,.95))}
.hero-theme strong{color:#062143;text-shadow:0 2px 0 #fff,0 0 14px rgba(255,255,255,.95),1px 3px 18px rgba(255,255,255,.9)}
.hero-theme strong span{color:#006e72;text-shadow:0 2px 0 #fff,0 0 14px rgba(255,255,255,.95)}
.hero-subtitle{color:#8b3b12;text-shadow:0 1px 7px #fff}
.hero-details,.patronage{color:#062143;text-shadow:0 1px 8px rgba(255,255,255,.95)}
.hero-details span{background:rgba(255,255,255,.65);border-radius:8px;padding:7px 10px}
.actions{gap:12px}
.btn{padding:14px 22px;box-shadow:0 8px 22px rgba(6,45,86,.12)}
.primary{background:#062d56;color:#fff;border:1px solid #062d56}
.primary:hover,.nav-cta:hover{background:#008e91;color:#fff}
.key-dates ul{max-width:1320px;margin:0 auto;display:flex;justify-content:center;align-items:stretch;gap:12px;padding:18px 24px;list-style:none}
.key-dates li{flex:1;min-width:0}
.key-dates li a{display:block;height:100%;padding:16px 20px;border:1px solid #e2e9ed;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(6,45,86,.05)}
.ticker{overflow:hidden;gap:clamp(12px,3vw,40px);font-size:clamp(10px,1vw,13px)}
.section{width:100%;max-width:100%;padding:clamp(58px,7vw,104px) max(5%,calc((100vw - 1320px)/2))}
.section h2{max-width:100%;font-size:clamp(2rem,4vw,4rem)}
.section-head{max-width:1320px;margin-inline:auto}
.section-head h2{max-width:900px}
.track-grid{width:100%;max-width:1320px;margin:30px auto 0;display:flex;align-items:stretch}
.track-grid>*{min-width:0;max-width:100%}
.track-grid .track-card,.track-grid article{width:100%;height:100%;min-width:0;overflow-wrap:anywhere}
.track-card img,.track-card .track-image{max-width:100%;object-fit:cover}
.timeline{width:100%;max-width:1320px;margin:30px auto}
.papers-section{width:100%;padding-inline:clamp(16px,5vw,80px)}
.papers-inner{max-width:1320px;margin-inline:auto}
.arena,.publications,.partners-section,.contact{width:100%}
.arena-visual{max-width:100%;overflow:hidden}
.arena img{max-width:100%;height:auto}
.table-wrap{max-width:100%;overflow-x:auto}
.partners-section .partner-group{max-width:1320px;margin:28px auto 0}
.partner-group>*{min-width:0}
.contact{max-width:1320px;margin-inline:auto}
.contact-card{min-width:0;overflow-wrap:anywhere}
.content-block{max-width:100%;overflow-wrap:anywhere}
footer{padding-inline:clamp(16px,5vw,80px)}
img,svg,video{max-width:100%;height:auto}
section[id]{scroll-margin-top:95px}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.is-visible{opacity:1;transform:none}
@keyframes heroFloat{from{transform:scale(1) translateY(0)}to{transform:scale(1.035) translateY(-8px)}}
@media(max-width:1199.98px){.site-header{flex-wrap:wrap}.nav{order:3;flex-basis:100%;justify-content:center}.nav a,.papers-menu summary{font-size:12px}.hero-copy{width:min(720px,75%)}}
@media(max-width:780px){.site-header{position:sticky;flex-wrap:nowrap;min-height:72px;padding:8px 14px}.institution-logos img{max-width:58px;max-height:40px}.institution-divider{height:30px}.brand{width:110px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;top:100%;left:0;right:0;order:initial;flex-basis:auto;align-items:stretch;flex-direction:column;gap:0;padding:10px 18px 18px;background:#fff;box-shadow:0 16px 24px rgba(6,45,86,.12);max-height:calc(100vh - 72px);overflow:auto}.nav.open{display:flex}.nav>a,.nav .papers-menu summary{padding:12px 8px;border-bottom:1px solid #edf1f3}.papers-menu div{position:static;box-shadow:none;padding:8px 14px}.hero{min-height:700px;align-items:flex-start;background:linear-gradient(180deg,rgba(246,251,250,.96) 0%,rgba(246,251,250,.91) 48%,rgba(6,33,67,.12) 100%),#e5f5f8}.hero-art{inset:25% 0 0;background-position:center bottom;background-size:cover;opacity:.8}.hero-copy{width:100%;margin:0;padding:38px 20px 145px}.hero h1{font-size:clamp(2.2rem,10vw,4rem)}.hero-theme strong{font-size:clamp(1.9rem,8vw,3.5rem)}.hero-details{gap:10px;font-size:13px}.hero-tag{font-size:17px;right:16px}.actions .btn{flex:1 1 45%;font-size:12px;padding:12px 14px}.key-dates ul{flex-direction:column;padding:14px}.section{padding:58px 18px}.section h2{font-size:clamp(2rem,9vw,3.3rem)}.about{display:block}.about-image{margin:35px auto 0}.about-image span{left:0}.track-grid{margin-top:20px}.ticker{justify-content:center;text-align:center;padding:16px}.contact{display:block}.contact>*{width:100%;margin-bottom:20px}}
@media(max-width:480px){.institution-logos img{max-width:45px}.brand{width:92px}.hero{min-height:740px}.hero-copy{padding-inline:16px}.hero-details span{display:block;width:100%}.actions .btn{flex-basis:100%}.section{padding-inline:15px}}
@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}}

.about.row{display:flex;grid-template-columns:none;gap:0;margin-inline:0}
.contact.row{display:flex;grid-template-columns:none;gap:0;margin-inline:auto}
.about.row>.col-12,.contact.row>.col-12{min-width:0}
@media(min-width:992px){.about.row>.col-lg-7{padding-right:clamp(28px,5vw,76px)}}


/* HERO PARTICLE OVERLAY — bright, clearly visible motion over the artwork */
.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: screen;
}
.hero-copy { z-index: 3; }
.hero-tag { z-index: 3; }
/* The canvas is drawn by JavaScript; don't hide it via reduced-motion CSS. */


/* CONFERENCE TRACKS — 4 equal-height cards per row on desktop */
#tracks .track-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch !important;
  gap: 0;
}
#tracks .track-grid > .track {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  height: auto;
  min-height: 320px;
  align-self: stretch;
}
#tracks .track-grid > .track h3 {
  min-height: 3em;
}
#tracks .track-grid > .track details {
  margin-top: auto;
}
@media (min-width: 1200px) {
  #tracks .track-grid > .track {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
  }
}
@media (min-width: 781px) and (max-width: 1199.98px) {
  #tracks .track-grid > .track {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
}
@media (max-width: 780px) {
  #tracks .track-grid > .track {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-height: 260px;
  }
}


/* Slight, consistent breathing room between Conference Track cards */
#tracks .track-grid {
  column-gap: 14px;
  row-gap: 14px;
}
@media (min-width: 1200px) {
  #tracks .track-grid > .track {
    flex-basis: calc(25% - 10.5px);
    width: calc(25% - 10.5px);
    max-width: calc(25% - 10.5px);
  }
}
@media (min-width: 781px) and (max-width: 1199.98px) {
  #tracks .track-grid > .track {
    flex-basis: calc(50% - 7px);
    width: calc(50% - 7px);
    max-width: calc(50% - 7px);
  }
}


/* Moving registration announcement at the top of the hero */
#home.hero {
  position: relative;
}
#home .hero-registration-marquee {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: 11px 0;
  color: #fff;
  background: rgba(7, 18, 24, .78);
  border-top: 1px solid rgba(95, 255, 235, .55);
  border-bottom: 1px solid rgba(95, 255, 235, .55);
  box-shadow: 0 0 22px rgba(30, 255, 220, .15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
#home .hero-registration-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 34px;
  white-space: nowrap;
  animation: icand-registration-marquee 22s linear infinite;
  will-change: transform;
}
#home .hero-registration-marquee__track span {
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: .13em;
  font-weight: 700;
}
#home .hero-registration-marquee__track strong {
  color: #63ffea;
  text-shadow: 0 0 12px rgba(99, 255, 234, .42);
}
#home .hero-registration-marquee__track .marquee-star {
  color: #ffc857;
  font-size: 20px;
}
@keyframes icand-registration-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 780px) {
  #home .hero-registration-marquee {
    top: 12px;
    padding: 9px 0;
  }
  #home .hero-registration-marquee__track {
    gap: 22px;
    animation-duration: 18s;
  }
}
@media (prefers-reduced-motion: reduce) {
  #home .hero-registration-marquee__track {
    animation: none;
    transform: none;
  }
}
