/* ===========================================
   YP Ascent Partners — Premium Design System
   Dark luxury theme with gold accents
   =========================================== */

/* ----- CSS Custom Properties ----- */
:root {
  --bg-primary: rgba(10, 10, 15, 0.8);
  --bg-secondary: rgba(13, 13, 20, 0.8);
  --bg-card: rgba(17, 17, 24, 0.8);
  --bg-card-hover: rgba(24, 24, 36, 0.8);
  --gold: #d4af37;
  --gold-light: #e0bb47;
  --gold-dark: #b8962e;
  --gold-muted: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: #8a8a9a;
  --text-dim: #6b7280;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(212, 175, 55, 0.3);
  --font-primary: 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Microsoft JhengHei', 'Courier New', monospace;
  --nav-height: 72px;
  --container-width: 1200px;
  --section-padding: 100px 0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Gold Accent ----- */
em {
  font-style: normal;
}

.gold {
  color: var(--gold);
  font-weight: 600;
}

/* ----- Section Divider ----- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* ----- Section Label ----- */
.section-label {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

/* ===========================================
   NAVIGATION
   =========================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.nav-logo span {
  font-weight: 300;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--text-primary);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--gold);
}

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--gold);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.nav-cta.active {
  background: var(--gold-light);
}

/* ----- Language Switcher ----- */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--border-color);
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition);
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-secondary);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
}

.lang-separator {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: var(--nav-height) 40px 0;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.03), transparent),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(212, 175, 55, 0.02), transparent);
  pointer-events: none;
}

.hero-left {
  flex: 1;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title em {
  font-weight: 700;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-bottom-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-tag {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  font-family: var(--font-primary);
}

.location-tag span {
  color: var(--border-color);
}

/* Hero Right — Stats Grid */
.hero-right {
  flex: 0 0 380px;
  position: relative;
  z-index: 1;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.hero-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.stat-num {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 700;
  color: #c0c0c0;
  margin-bottom: 8px;
}

.stat-num span {
  color: #d3d3d3;
  font-weight: 600;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--gold-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-muted);
  transform: translateY(-2px);
}

/* ===========================================
   ABOUT / SECTIONS
   =========================================== */
section {
  padding: var(--section-padding);
}

/* Home About */
.home-about {
  padding: 100px 40px;
  display: flex;
  gap: 60px;
  max-width: var(--container-width);
  margin: 0 auto;
  align-items: flex-start;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(13, 13, 20, 0.8) 50%,
    rgba(212, 175, 55, 0.04) 100%
  );
  border-radius: var(--radius-md);
}

.home-about > div:first-child {
  flex: 0 0 400px;
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.home-about .hero-title {
  font-size: 2.8rem;
  margin-bottom: 0;
}

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-content {
  flex: 1;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.pillar:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.pillar-icon {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================================
   ROLES / CAREERS SECTION
   =========================================== */
.home-roles {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 100px 40px;
}

.roles-header {
  max-width: 600px;
  margin-bottom: 48px;
}

.roles-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.roles-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.role-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition);
  cursor: pointer;
}

.role-item:last-child {
  border-bottom: none;
}

.role-item:hover {
  background: var(--bg-card-hover);
  padding-left: 32px;
}

.role-dept {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.role-name {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.role-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.role-tags {
  display: flex;
  gap: 8px;
}

.role-tags span {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

.role-loc {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.role-arrow {
  font-size: 1.3rem;
  color: var(--gold);
  transition: var(--transition);
  opacity: 0.6;
}

.role-item:hover .role-arrow {
  transform: translateX(6px);
  opacity: 1;
}

.roles-cta {
  text-align: center;
}

/* ===========================================
   PAGE HEADER (inner pages)
   =========================================== */
.page-header {
  padding: calc(var(--nav-height) + 80px) 40px 60px;
  text-align: center;
  background: var(--bg-primary);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212, 175, 55, 0.03), transparent);
  pointer-events: none;
}

.page-header-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================================
   ABOUT DETAILS
   =========================================== */
.about-details {
  padding: 60px 40px 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.section-heading {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.img-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Strategy List */
.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strategy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.strategy-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 4px;
}

.strategy-item h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.strategy-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 60px;
}

.team-section .section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.team-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-card), rgba(212, 175, 55, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================================
   CAREERS PAGE
   =========================================== */
.careers-intro {
  padding: 60px 40px 80px;
}

.intro-text {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.intro-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.perks-list {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.perk-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.perk-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.perk-num {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}

.perk-content h4 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.perk-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Open Roles Section */
.open-roles {
  padding: 60px 40px 100px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.open-roles .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.careers-cta {
  text-align: center;
  margin-top: 32px;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ===========================================
   CULTURE PAGE
   =========================================== */
.culture-core {
  padding: 60px 40px 100px;
}

.culture-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.culture-intro p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.culture-quote {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  text-align: left;
  line-height: 1.6;
}

.quote-author {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: normal;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container-width);
  margin: 0 auto 80px;
}

.culture-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.culture-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.culture-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1;
}

.culture-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.culture-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Gallery */
.culture-gallery {
  max-width: var(--container-width);
  margin: 0 auto;
}

.culture-gallery .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-card);
}

.gallery-caption {
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
}

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-main {
  padding: 60px 40px 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-item {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-hover);
}

.contact-detail-label {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-detail-val {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.map-container {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 36px;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8a9a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.form-input option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-submit {
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--gold-glow);
}

/* ===========================================
   ROLE DETAILS PAGE
   =========================================== */
.role-header {
  padding: calc(var(--nav-height) + 60px) 40px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.role-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.role-breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.role-breadcrumb a:hover {
  color: var(--gold);
}

.role-header-inner {
  max-width: 800px;
}

.role-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.role-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.role-details {
  padding: 40px 40px 100px;
}

.role-content {
  max-width: 800px;
  margin: 0 auto;
}

.role-section {
  margin-bottom: 48px;
}

.role-section-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.role-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.role-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.5;
}

.role-cta {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-card);
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
  padding: 60px 40px 40px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.footer-logo {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-logo span {
  font-weight: 300;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.footer-links a:hover {
  color: var(--gold);
}