/* =========================================================
   Final restrained homepage style + improved bottom fog transition
   - Immersive floating glass navigation
   - Softer hero typography
   - Bottom mist layer crosses hero boundary
   - Intro card floats into the mist
   ========================================================= */

/* ---------- Global homepage canvas ---------- */
.page-content {
  max-width: none;
  width: 100%;
  padding: 88px 0 0;
  text-align: initial;
}

.acdc-home-scheme-a {
  width: 100%;
  margin: -88px 0 0;
  overflow: hidden;
  background: #eef4fa;
  color: #111827;
}

/* Remove previous experiment visuals if any markup survives. */
.acdc-home-scheme-a .acdc-console,
.acdc-home-scheme-a .acdc-topic-cloud,
.acdc-home-scheme-a .acdc-brand-visual,
.acdc-home-scheme-a .acdc-join-visual-image,
.acdc-home-scheme-a .acdc-portal,
.acdc-home-scheme-a .acdc-join-visual,
.acdc-home-scheme-a .acdc-join-orbit,
.acdc-home-scheme-a .acdc-join-card {
  display: none !important;
}

/* ---------- Immersive floating status-bar navigation ---------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  right: auto;
  width: min(1120px, calc(100% - 64px));
  transform: translateX(-50%);
  z-index: 1000;

  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255, 255, 255, .40);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(15, 35, 60, .11);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  height: 50px;
  padding: 0 20px;
  max-width: none;
}

.logo-img {
  height: 32px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.06));
}

.logo-affiliation {
  font-size: 14px;
  color: #27364a;
  border-left-color: rgba(39, 54, 74, .22);
}

.header-nav {
  gap: 22px;
}

.header-nav a {
  position: relative;
  color: #172033;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.15s ease;
}

.header-nav a:hover {
  color: #0b63d8;
}

/* ---------- Hero ---------- */
.acdc-home-scheme-a .acdc-hero-simple {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px 24px 138px;
  box-sizing: border-box;
  overflow: visible;
  isolation: isolate;
  text-align: center;
}

/*
  Background layer:
  The photo itself starts fading into the page color near the bottom,
  but not too early, so rocks/water remain visible.
*/
.acdc-home-scheme-a .acdc-hero-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.28) 0%,
      rgba(255,255,255,.10) 16%,
      rgba(255,255,255,0) 34%
    ),
    linear-gradient(
      to bottom,
      rgba(7, 19, 34, .10) 0%,
      rgba(7, 19, 34, .20) 46%,
      rgba(238,244,250,.10) 68%,
      rgba(238,244,250,.38) 84%,
      rgba(238,244,250,.70) 94%,
      #eef4fa 100%
    ),
    url('../img/hero-bg.jpg') center 44% / cover no-repeat;
}

/*
  Independent mist layer:
  This layer extends beyond the hero boundary, covering the seam between
  the image and the next section. This is the key to removing the hard cut.
*/
.acdc-home-scheme-a .acdc-hero-simple::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -104px;
  height: 300px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255,255,255,.26) 0%, rgba(255,255,255,0) 56%),
    linear-gradient(
      to bottom,
      rgba(238,244,250,0) 0%,
      rgba(238,244,250,.12) 20%,
      rgba(238,244,250,.44) 48%,
      rgba(238,244,250,.82) 74%,
      #eef4fa 92%,
      #eef4fa 100%
    );
}

.acdc-home-scheme-a .acdc-hero-simple-inner {
  width: min(100%, 860px);
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* Very soft local readability glow, not a visible card. */
.acdc-home-scheme-a .acdc-hero-simple-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 86vw);
  height: 300px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse,
    rgba(0, 0, 0, .16) 0%,
    rgba(0, 0, 0, .08) 42%,
    rgba(0, 0, 0, 0) 76%
  );
}

.acdc-home-scheme-a .acdc-hero-simple h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(56px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: .035em;
  font-weight: 760;
  text-shadow: 0 4px 24px rgba(0,0,0,.46);
}

.acdc-home-scheme-a .acdc-hero-subtitle-en {
  margin: 0;
  color: rgba(255,255,255,.91);
  font-size: clamp(18px, 1.75vw, 24px);
  font-weight: 440;
  letter-spacing: .025em;
  font-family: "Georgia", "Times New Roman", serif;
  text-shadow: 0 2px 14px rgba(0,0,0,.44);
}

.acdc-home-scheme-a .acdc-hero-simple .acdc-hero-lead {
  margin: 20px 0 0;
  color: rgba(255,255,255,.96);
  font-size: clamp(23px, 2.35vw, 34px);
  line-height: 1.22;
  font-weight: 680;
  letter-spacing: .01em;
  text-shadow: 0 3px 18px rgba(0,0,0,.46);
}

.acdc-home-scheme-a .acdc-hero-simple .acdc-hero-desc {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.85;
  text-shadow: 0 2px 12px rgba(0,0,0,.42);
}

.acdc-home-scheme-a .acdc-hero-simple .acdc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.acdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.acdc-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.acdc-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0b63d8 0%, #1d79ee 100%);
  box-shadow: 0 14px 30px rgba(6, 70, 156, .25);
}

.acdc-btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

/* ---------- Shared section rhythm ---------- */
.acdc-section {
  width: min(100% - 96px, 1180px);
  margin: 0 auto;
}

.acdc-section-head {
  text-align: center;
  margin: 0 0 30px;
}

.acdc-section-head h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 760;
}

.acdc-section-head .acdc-eyebrow {
  margin: 8px 0 0;
  color: #7b899b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.acdc-section-head h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: #1c73d8;
}

.acdc-section-head-inline {
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-align: left;
  margin-bottom: 22px;
}

.acdc-section-head-inline h2::after {
  margin-left: 0;
}

/* ---------- Intro card: floats into the mist ---------- */
.acdc-intro-section {
  position: relative;
  z-index: 3;
  margin-top: -62px;
  padding-bottom: 70px;
}

.acdc-intro-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  padding: 38px;
  border: 1px solid rgba(220, 230, 242, .76);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 58px rgba(22,48,86,.105);
  backdrop-filter: blur(14px);
}

.acdc-faculty-photo {
  align-self: start;
  overflow: hidden;
  border-radius: 22px;
  background: #e9f0f7;
  border: 1px solid #d9e4ef;
  box-shadow: 0 14px 36px rgba(18,44,73,.10);
}

.acdc-faculty-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.acdc-intro-content {
  color: #3a4656;
  font-size: 15.5px;
  line-height: 1.9;
}

.acdc-intro-content p {
  margin: 0 0 14px;
}

.acdc-intro-content strong,
.acdc-intro-content a {
  color: #1f6eaa;
  font-weight: 760;
}

.acdc-info-strip {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  margin: 22px 0 18px;
  padding: 20px;
  border: 1px solid #dceaf7;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239,247,255,.96), rgba(255,255,255,.86));
}

.acdc-info-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e4f0ff;
  font-size: 23px;
}

.acdc-info-strip h3 {
  margin: 0 0 4px;
  color: #155f9d;
  font-size: 19px;
}

.acdc-info-strip p,
.acdc-resource-note {
  margin: 0;
}

/* ---------- Research cards ---------- */
.acdc-research-section {
  padding: 8px 0 0;
}

.acdc-research-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.acdc-research-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(210,222,238,.92);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 72%, rgba(61,132,220,.12), transparent 42%),
    rgba(255,255,255,.92);
  box-shadow: 0 18px 46px rgba(21,44,73,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.acdc-research-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(21,44,73,.12);
}

.acdc-card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e5f0ff;
  color: #226db3;
  font-size: 14px;
  font-weight: 800;
}

.acdc-card-copy h3 {
  margin: 24px 0 12px;
  color: #111827;
  font-size: 26px;
  letter-spacing: -.03em;
}

.acdc-card-copy p {
  min-height: 84px;
  margin: 0;
  color: #5a6878;
  line-height: 1.78;
  font-size: 15px;
}

.acdc-card-copy a {
  display: inline-block;
  margin-top: 18px;
  color: #1f6eaa;
  font-weight: 750;
  text-decoration: none;
}

.acdc-research-card img {
  width: 100%;
  height: 158px;
  margin-top: auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(32,79,130,.14);
}

/* ---------- Join us ---------- */
.acdc-join-band-simple {
  width: min(100% - 96px, 1180px);
  margin: 74px auto 72px;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 50px 60px;
  border-radius: 28px;
  color: #fff;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.18), transparent 20%),
    radial-gradient(circle at 20% 86%, rgba(78,159,236,.26), transparent 30%),
    linear-gradient(135deg, #12324f 0%, #0c2f4b 52%, #1d5d8f 100%);
  box-shadow: 0 24px 64px rgba(12,47,75,.22);
}

.acdc-join-band-simple::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -92px;
  width: 620px;
  height: 240px;
  opacity: .30;
  pointer-events: none;
  background: radial-gradient(circle at 10px 10px, rgba(255,255,255,.68) 1px, transparent 2px);
  background-size: 20px 20px;
  transform: rotate(-9deg);
  mask-image: linear-gradient(90deg, transparent, #000);
}

.acdc-join-copy {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.acdc-join-band-simple .acdc-eyebrow {
  margin: 0 0 10px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.acdc-join-band-simple h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -.045em;
}

.acdc-join-band-simple p:not(.acdc-eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
}

.acdc-join-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.acdc-btn-light {
  background: #fff;
  color: #173956;
}

.acdc-mail-link {
  color: #e6f3ff;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  background: rgba(255,255,255,.86);
  border-top: 1px solid rgba(210,219,230,.72);
}

/* ---------- News post detail ---------- */
.post-content {
  max-width: min(100% - 96px, 820px);
  margin: 0 auto;
  padding: 48px 0 80px;
  text-align: left;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-title {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 760;
}

.post-date {
  display: inline-block;
  margin-top: 14px;
  color: #8b97a6;
  font-size: 15px;
}

.post-body {
  color: #2f3b4f;
  font-size: 16.5px;
  line-height: 1.9;
}

.post-body p {
  margin: 0 0 18px;
}

.post-body ul,
.post-body ol {
  margin: 0 0 18px;
  padding-left: 1.4em;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 3px solid #1c73d8;
  background: rgba(239,247,255,.6);
  border-radius: 0 10px 10px 0;
  color: #3b4656;
}

.post-body a {
  color: #1c73d8;
  font-weight: 650;
}

@media (max-width: 680px) {
  .post-content {
    width: calc(100% - 32px);
    padding: 32px 0 64px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-header {
    width: min(960px, calc(100% - 36px));
  }

  .logo-affiliation {
    display: none;
  }

  .acdc-intro-card {
    grid-template-columns: 1fr;
  }

  .acdc-faculty-photo {
    width: 230px;
  }

  .acdc-research-cards {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    border-radius: 24px;
  }

  .header-inner {
    height: auto;
    min-height: 50px;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-nav {
    width: 100%;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
  }

  .header-nav a {
    font-size: 12px;
  }

  .acdc-home-scheme-a .acdc-hero-simple {
    min-height: 82vh;
    padding: 132px 18px 106px;
  }

  .acdc-home-scheme-a .acdc-hero-simple::after {
    bottom: -84px;
    height: 250px;
  }

  .acdc-home-scheme-a .acdc-hero-simple h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .acdc-home-scheme-a .acdc-hero-subtitle-en {
    font-size: 15px;
  }

  .acdc-home-scheme-a .acdc-hero-simple .acdc-hero-lead {
    font-size: 21px;
  }

  .acdc-home-scheme-a .acdc-hero-simple .acdc-hero-desc {
    font-size: 15px;
  }

  .acdc-section,
  .acdc-join-band-simple {
    width: calc(100% - 32px);
  }

  .acdc-intro-section {
    margin-top: -48px;
  }

  .acdc-intro-card,
  .acdc-join-band-simple {
    padding: 24px;
    border-radius: 22px;
  }

  .acdc-faculty-photo {
    width: min(100%, 220px);
  }

  .acdc-section-head-inline {
    display: block;
  }

  .acdc-info-strip {
    grid-template-columns: 1fr;
  }

  .acdc-research-card {
    min-height: auto;
  }

  .acdc-btn {
    width: 100%;
  }
}
