/* ==========================================================
   TECHASTRA '26 - Coming Soon
   Pure HTML + CSS · dark copper / steel-blue theme
   ========================================================== */

:root {
  --bg: #07070a;
  --bg-2: #08080b;
  --bg-3: #0a0a0e;
  --text: #e9e6e2;
  --heading: #f2ece5;
  --muted: #a29b93;
  --muted-2: #8e877d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --copper: #d98c46;
  --copper-light: #e8a25c;
  --steel: #7ba3cf;

  --sans: "Space Grotesk", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --btn-grad: linear-gradient(104deg, #9c6a35 0%, #d8903f 34%, #c3803c 58%, #3d5f85 100%);
  --nav-grad: linear-gradient(100deg, #c8762f 0%, #a4622c 42%, #2f4d6d 100%);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: var(--copper-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #f6c392;
}

::selection {
  background: rgba(232, 162, 92, 0.3);
}

.page {
  position: relative;
  overflow-x: hidden;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.wrap.narrow {
  max-width: 960px;
}

.section {
  position: relative;
  padding: 100px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--copper);
}

.h2 {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.body {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.body.center {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mono-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

/* ==========================================================
   Orbs (glossy ambient spheres)
   ========================================================== */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite;
}

.orb-copper {
  background: radial-gradient(38% 34% at 62% 78%, #f7c489 0%, #c97c33 34%, #6b3c13 66%, #1b110a 100%);
  box-shadow: 0 0 90px 24px rgba(214, 124, 48, 0.3);
}

.orb-mixed {
  background: radial-gradient(40% 36% at 42% 26%, #4d6d8e 0%, #2b4257 40%, #a2682f 96%, #241505 100%);
  box-shadow: 0 0 60px 14px rgba(70, 104, 140, 0.24);
}

.orb-dusk {
  background: radial-gradient(38% 34% at 30% 74%, #f0bd86 0%, #9d6733 42%, #1d2c3a 100%);
  box-shadow: 0 0 60px 16px rgba(190, 116, 52, 0.22);
}

.orb-steel {
  background: radial-gradient(40% 36% at 44% 30%, #45617e 0%, #253749 60%, #0f151c 100%);
}

.o1 { left: 5%;   top: 12%;   width: 150px; height: 150px; }
.o2 { left: 34%;  top: 18%;   width: 56px;  height: 56px;  animation-delay: -3s; box-shadow: 0 0 34px 8px rgba(214, 124, 48, 0.2); }
.o3 { right: 16%; top: 11%;   width: 108px; height: 108px; animation-delay: -6s; }
.o4 { left: 3%;   top: 52%;   width: 90px;  height: 90px;  animation-delay: -2s; box-shadow: 0 0 56px 14px rgba(214, 124, 48, 0.26); }
.o5 { right: -32px; top: 42%; width: 120px; height: 120px; animation-delay: -8s; }
.o6 { left: 12%;  bottom: 9%; width: 46px;  height: 46px;  animation-delay: -4s; }
.o7 { right: 20%; bottom: 10%; width: 52px; height: 52px;  animation-delay: -9s; }

.c1 { left: 8%;  top: 18%; width: 72px; height: 72px; box-shadow: 0 0 44px 12px rgba(214, 124, 48, 0.22); }
.c2 { right: 9%; top: 26%; width: 52px; height: 52px; animation-delay: -5s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(0, -14px); }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 90% at 8% 14%, rgba(196, 110, 40, 0.42) 0%, rgba(90, 48, 18, 0.14) 38%, rgba(7, 7, 10, 0) 66%),
    radial-gradient(90% 80% at 96% 30%, rgba(150, 90, 40, 0.26) 0%, rgba(7, 7, 10, 0) 60%),
    radial-gradient(110% 90% at 22% 104%, rgba(46, 86, 130, 0.38) 0%, rgba(7, 7, 10, 0) 62%),
    var(--bg);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 40px;
  background: rgba(9, 9, 12, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand picture {
  display: block;
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  transition: transform 0.2s, filter 0.2s;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(214, 124, 48, 0.45));
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
}

.nav-links a {
  color: #b9b2aa;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.btn-nav {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 9px 18px;
  font-size: 13px;
  color: #fff;
  background: var(--nav-grad);
  box-shadow: 0 6px 20px rgba(200, 118, 47, 0.24);
  white-space: nowrap;
  cursor: default;
}

.nav-toggle,
.nav-burger {
  display: none;
}

/* ---------- Hero content ---------- */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 74px 24px 90px;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.kicker-pill {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 13px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #cfc8c0;
}

.hero-content picture {
  display: block;
  width: 100%;
  max-width: 760px;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 30px 0 6px;
  filter: drop-shadow(0 14px 40px rgba(214, 124, 48, 0.28));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.university {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.uni-line {
  flex: 0 0 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 140, 70, 0), var(--copper));
}

.uni-line:last-child {
  background: linear-gradient(90deg, var(--copper), rgba(217, 140, 70, 0));
}

.uni-name {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f7d9a6 0%, #e0a55e 55%, #b9772f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.uni-meta {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.date-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
  padding: 11px 22px;
  border: 1px solid rgba(217, 140, 70, 0.45);
  border-radius: 50px;
  background: rgba(217, 140, 70, 0.1);
  font-size: 19px;
  font-weight: 500;
  color: #f6dcb8;
  box-shadow: 0 8px 30px rgba(214, 124, 48, 0.18);
}

.date-dot {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--copper);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217, 140, 70, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(217, 140, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 140, 70, 0); }
}

.date-days {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-title {
  margin-top: 30px;
  max-width: 960px;
  font-size: 74px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fdfbf8 0%, #cfc7bf 58%, #8e8880 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 26px;
  font-size: 16px;
  letter-spacing: 0.34em;
  color: var(--steel);
}

.hero-text {
  margin: 24px auto 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #a9a29a;
  text-wrap: pretty;
}

.hero-text strong {
  color: var(--copper-light);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.btn-pill {
  display: inline-block;
  padding: 20px 54px;
  border-radius: 50% / 46%;
  font-size: 16px;
  color: #fff;
  background: var(--btn-grad);
  box-shadow: 0 18px 50px rgba(196, 120, 50, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pill:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(196, 120, 50, 0.4);
}

/* second pill leans steel-blue so the two departments read as a pair */
.btn-pill-steel {
  background: linear-gradient(104deg, #3d5f85 0%, #4f77a3 38%, #a4622c 78%, #c8762f 100%);
  box-shadow: 0 18px 50px rgba(61, 95, 133, 0.32);
}

.btn-pill-steel:hover {
  box-shadow: 0 22px 60px rgba(61, 95, 133, 0.45);
}

.btn-ghost {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 15px 28px;
  font-size: 14.5px;
  color: #ddd6ce;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(217, 140, 70, 0.6);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  justify-content: center;
  margin-top: 62px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 96px;
}

.stat-v {
  font-size: 27px;
  color: #f0e9e1;
}

.stat-v sup {
  font-size: 13px;
}

.stat-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8379;
}

/* ==========================================================
   Ticker (CSS marquee)
   ========================================================== */
.ticker {
  overflow: hidden;
  background: var(--bg-3);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.ticker-track span {
  padding: 16px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  white-space: nowrap;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ==========================================================
   About
   ========================================================== */
.about {
  border-top: 0;
  background: radial-gradient(70% 60% at 90% 0%, rgba(46, 86, 130, 0.18) 0%, rgba(7, 7, 10, 0) 70%), var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: start;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tags span {
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: #c2bbb3;
}

.dept-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 26px 28px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%);
}

.dept-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.dot-copper {
  background: var(--copper);
  box-shadow: 0 0 16px 3px rgba(217, 140, 70, 0.5);
}

.dot-steel {
  background: #6d92bd;
  box-shadow: 0 0 16px 3px rgba(109, 146, 189, 0.45);
}

.glass-card h3 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #efe9e2;
}

.glass-card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #9c958d;
}

/* ==========================================================
   Theme cards
   ========================================================== */
.theme {
  background: var(--bg-2);
}

.card-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 26px 24px 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.014) 100%);
  transition: border-color 0.2s, transform 0.2s;
}

.event-card:hover {
  border-color: rgba(217, 140, 70, 0.5);
  transform: translateY(-3px);
}

.card-orb {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.event-card:hover .card-orb {
  opacity: 0.75;
  transform: scale(1.08);
}

.orb-c { background: radial-gradient(40% 36% at 60% 74%, #f0bb84 0%, #a96c31 44%, rgba(30, 18, 10, 0) 100%); }
.orb-s { background: radial-gradient(40% 36% at 44% 30%, #4d6d8e 0%, #2b4257 50%, rgba(15, 21, 28, 0) 100%); }
.orb-f { background: radial-gradient(40% 36% at 50% 50%, #c9a06a 0%, #6b5a45 50%, rgba(20, 18, 14, 0) 100%); }

.card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfc8c0;
}

.event-card h3 {
  position: relative;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 500;
  color: var(--heading);
}

.event-card p {
  position: relative;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #9c958d;
}

/* ==========================================================
   Contact
   ========================================================== */
.contact {
  overflow: hidden;
  background: radial-gradient(90% 120% at 50% 130%, rgba(196, 110, 40, 0.34) 0%, rgba(7, 7, 10, 0) 62%), var(--bg-2);
}

.contact-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.h2.big {
  margin-top: 0;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #f5efe8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 64px;
  text-align: left;
}

.map-frame {
  position: relative;
  margin-top: 18px;
  height: 380px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: var(--bg-3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* dark map to match the theme */
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7) brightness(0.95);
  transition: filter 0.3s;
}

.map-frame:hover iframe {
  filter: none;
}

.map-link {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(9, 9, 12, 0.8);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  color: #efe8e0;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-card .mono-label {
  font-size: 10px;
}

.c-name {
  margin-top: 10px;
  font-size: 15.5px;
  color: #eee8e1;
}

.c-name.c-sub {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.dept-social {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s;
}

.dept-social:hover {
  border-color: rgba(217, 140, 70, 0.55);
}

.c-line {
  margin-top: 4px;
  font-size: 13.5px;
  color: #9c958d;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 40px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: #7d766d;
}

.footer .mono {
  font-family: var(--mono);
  letter-spacing: 0.1em;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .btn-nav {
    display: none;
  }

  .nav-left {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
  }

  /* CSS-only hamburger */
  .nav-burger {
    display: block;
    position: relative;
    width: 26px;
    height: 20px;
    cursor: pointer;
  }

  .nav-burger span,
  .nav-burger::before,
  .nav-burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #efe8e0;
    transition: transform 0.25s, opacity 0.25s, top 0.25s;
  }

  .nav-burger::before { top: 0; }
  .nav-burger span    { top: 9px; }
  .nav-burger::after  { top: 18px; }

  .nav-toggle:checked + .nav-burger::before { top: 9px; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span    { opacity: 0; }
  .nav-toggle:checked + .nav-burger::after  { top: 9px; transform: rotate(-45deg); }

  .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links a {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle:checked ~ .nav-links {
    max-height: 320px;
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 10px 16px;
  }

  .brand-logo {
    height: 50px;
  }

  .section {
    padding: 72px 16px;
  }

  .hero-content {
    padding: 56px 16px 70px;
  }

  .hero-title {
    font-size: 44px;
  }

  .uni-name {
    font-size: 21px;
  }

  .uni-meta {
    font-size: 11px;
  }

  .date-badge {
    font-size: 16px;
    padding: 10px 18px;
  }

  .map-frame {
    height: 300px;
  }

  .uni-line {
    display: none;
  }

  .hero-sub {
    letter-spacing: 0.2em;
    font-size: 13px;
  }

  .stats {
    gap: 28px 20px;
  }

  .stat {
    min-width: calc(50% - 10px);
  }

  .h2 {
    font-size: 32px;
  }

  .h2.big {
    font-size: 34px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .btn-pill {
    padding: 18px 44px;
  }

  .footer {
    padding: 22px 16px;
  }

  .o1 { width: 100px; height: 100px; }
  .o3 { width: 70px;  height: 70px; }
  .o2, .o5 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
