@font-face {
  font-family: "Nata Sans";
  src: url("assets/brand/fonts/NataSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vend Sans";
  src: url("assets/brand/fonts/VendSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-navy: #081551;
  --brand-orange: #f34d01;
  --brand-cyan: #00aff2;
  --brand-magenta: #c428c9;
  --brand-yellow: #efd600;
  --brand-green: #00aa55;
  --bg: #eef4ff;
  --bg-strong: #dbe7ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-ink: #0f1845;
  --muted: #31407d;
  --line: rgba(8, 21, 81, 0.15);
  --line-strong: rgba(8, 21, 81, 0.26);
  --accent: var(--brand-orange);
  --accent-2: var(--brand-cyan);
  --accent-3: var(--brand-magenta);
  --shadow: 0 18px 48px rgba(8, 21, 81, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-display: "Nata Sans", "Trebuchet MS", sans-serif;
  --font-body: "Vend Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--surface-ink);
  background:
    linear-gradient(120deg, rgba(0, 175, 242, 0.14), transparent 36%),
    linear-gradient(220deg, rgba(196, 40, 201, 0.12), transparent 34%),
    radial-gradient(circle at 14% 14%, rgba(243, 77, 1, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 48%, #ebf2ff 100%);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-topbar {
  position: fixed;
  top: 14px;
  right: 14px;
  display: none;
  gap: 8px;
  align-items: center;
  z-index: 9999;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(8, 21, 81, 0.14);
}

.topbar-btn,
.btn-primary,
.btn-secondary,
.btn-ghost {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar-btn,
.btn-secondary,
.btn-ghost {
  padding: 0.8rem 1.1rem;
}

.topbar-btn,
.btn-ghost {
  background: transparent;
  color: var(--surface-ink);
  border: 1px solid var(--line);
}

.topbar-btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.btn-primary {
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-magenta) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(243, 77, 1, 0.28);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-green) 100%);
  color: #04103d;
  border: 1px solid rgba(8, 21, 81, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(8px);
}

.hero-wrap {
  padding: 18px 0 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  padding: 22px;
  border: 1px solid rgba(8, 21, 81, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(8, 21, 81, 0.98), rgba(8, 21, 81, 0.95)),
    radial-gradient(circle at 8% 15%, rgba(0, 175, 242, 0.12), transparent 36%);
  box-shadow: 0 24px 50px rgba(8, 21, 81, 0.3);
}

.hero-nav {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.brand-lockup {
  height: clamp(56px, 7vw, 82px);
  width: auto;
  margin-right: 12px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(8, 21, 81, 0.16);
  box-shadow: 0 10px 20px rgba(8, 21, 81, 0.22);
}

.hero-nav .brand-chip .brand-lockup {
  margin-right: 0;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 12px;
}

.brand-lockup-auth {
  height: clamp(72px, 12vw, 116px);
  margin-right: 0;
}

.hero-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.56rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-size: 0.9rem;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 21, 81, 0.35);
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: none;
}

.hero-headline,
.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(8, 21, 81, 0.94), rgba(8, 21, 81, 0.85)),
    radial-gradient(circle at 18% 14%, rgba(0, 175, 242, 0.14), transparent 44%);
  color: #fff;
}

.hero-subline {
  margin: 16px 0 0;
  max-width: 36ch;
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.88);
}

.hero-rule {
  display: inline-flex;
  margin-top: 18px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-rule span {
  width: 60px;
  height: 8px;
  display: block;
}

.hero-rule .c-green { background: var(--brand-green); }
.hero-rule .c-cyan { background: var(--brand-cyan); }
.hero-rule .c-yellow { background: var(--brand-yellow); }
.hero-rule .c-orange { background: var(--brand-orange); }
.hero-rule .c-magenta { background: var(--brand-magenta); }

.hero-media {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  min-height: 100%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 21, 81, 0.16), rgba(8, 21, 81, 0.05));
  pointer-events: none;
}

.hero-media-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 22% center;
  display: block;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 18px 0 30px;
}

.cards-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 14px 14px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.94));
  box-shadow: 0 10px 20px rgba(8, 21, 81, 0.1);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -16px -42px auto;
  width: 82px;
  height: 82px;
  border-radius: 18px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(0, 175, 242, 0.12), rgba(196, 40, 201, 0.12));
}

#career {
  min-height: 0;
  background:
    linear-gradient(170deg, rgba(8, 21, 81, 0.93), rgba(8, 21, 81, 0.84)),
    radial-gradient(circle at 18% 18%, rgba(0, 175, 242, 0.16), transparent 42%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

#career::after {
  background: linear-gradient(135deg, rgba(0, 175, 242, 0.22), rgba(239, 214, 0, 0.24));
  width: 102px;
  height: 102px;
  inset: auto -20px -50px auto;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  text-transform: none;
  color: var(--brand-navy);
  box-shadow: 0 5px 12px rgba(8, 21, 81, 0.12);
}

#career .card-kicker {
  background: var(--brand-green);
  color: #042047;
}

#fact .card-kicker {
  background: var(--brand-cyan);
  color: #042047;
}

#advice .card-kicker {
  background: var(--brand-yellow);
  color: #081551;
}

#news .card-kicker {
  background: var(--brand-orange);
  color: #fff;
}

#hack .card-kicker {
  background: var(--brand-magenta);
  color: #fff;
}

.card-title {
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--brand-navy);
}

#career .card-title {
  margin-top: 12px;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  color: #fff;
}

.card-body {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.38;
  color: var(--muted);
}

#career .card-body {
  font-size: 0.99rem;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.9);
}

.card-image-wrap {
  margin-top: 8px;
}

.card-image {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(8, 21, 81, 0.1);
}

#career .card-image {
  height: 150px;
  object-fit: contain;
  object-position: center center;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.card-meta {
  margin-top: 8px;
  font-size: 0.74rem;
  color: rgba(8, 21, 81, 0.68);
}

#career .card-meta {
  color: rgba(255, 255, 255, 0.74);
}

.card-link {
  margin-top: 6px;
  font-size: 0.83rem;
}

.card-link a {
  color: var(--brand-orange);
  font-weight: 700;
  text-decoration: none;
}

#career .card-link a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-shell,
.page-frame {
  position: relative;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 40px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.auth-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.auth-shell label {
  display: block;
  color: var(--surface-ink);
  font-size: 0.96rem;
  font-weight: 500;
}

.auth-shell input,
.auth-shell select,
.auth-shell textarea {
  width: 100%;
  padding: 0.88rem 0.95rem;
  margin: 0.45rem 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.auth-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 175, 242, 0.3);
  border-radius: 14px;
  background: rgba(0, 175, 242, 0.09);
  white-space: pre-wrap;
}

.page-wrap {
  padding: 28px 0 52px;
}

.page-back {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.page-frame {
  width: min(980px, calc(100% - 32px));
  padding: 28px;
}

.page-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-title {
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.quote-frame {
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 2px solid var(--brand-orange);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239, 214, 0, 0.3), rgba(243, 77, 1, 0.22));
  color: var(--surface-ink);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.6;
  box-shadow: 0 12px 22px rgba(243, 77, 1, 0.2), 0 5px 0 rgba(8, 21, 81, 0.12);
}

.quote-attribution {
  display: block;
  margin-top: 5px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}

.page-lead {
  margin: 0 0 22px;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 20px;
}

.detail-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
}

.panel-photo {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 0 0 10px;
}

.partner-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.partner-logo-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
}

.partner-logo {
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.detail-text {
  white-space: pre-wrap;
  line-height: 1.72;
  color: var(--surface-ink);
}

.info-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 175, 242, 0.12), rgba(196, 40, 201, 0.08));
}

.info-panel h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.info-panel p,
.info-panel li {
  color: var(--muted);
  line-height: 1.6;
}

.info-panel ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

@media (max-width: 900px) {
  .hero-stage,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .partner-logo-row {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cards-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #career .card-image {
    height: 136px;
  }

  .hero,
  .auth-shell,
  .page-frame {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-content {
    padding: 26px 22px 24px;
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-media-image {
    min-height: 340px;
    object-position: center center;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .auth-shell,
  .page-frame {
    width: min(100%, calc(100% - 20px));
  }

  .hero-wrap {
    padding-top: 18px;
  }

  .hero-headline,
  .page-title {
    line-height: 1;
  }

  .hero-nav {
    gap: 6px;
  }

  .hero-nav a {
    font-size: 0.84rem;
    padding: 0.5rem 0.72rem;
  }

  .hero-content {
    padding: 24px 20px 22px;
    border-radius: 18px;
  }

  .hero-subline {
    font-size: 1rem;
  }

  .hero-rule span {
    width: 42px;
    height: 7px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cards-side {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card {
    min-height: 118px;
    padding: 12px 12px 11px;
    border-radius: 14px;
  }

  .card-kicker {
    font-size: 0.96rem;
  }

  .card-title {
    font-size: 0.84rem;
  }

  #career .card-title {
    font-size: 0.98rem;
  }

  .card-body {
    font-size: 0.85rem;
  }

  .card-image {
    height: 74px;
  }

  #career .card-image {
    height: 120px;
  }
}
