/* ===========================
   GAUDI CAREER v2
   Contained hero, refined typography
   Ref: Airbnb + Notion + Figma + LINEヤフー
   =========================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #18264E;
  --purple: #655F93;
  --purple-light: #8B85B1;
  --purple-pale: rgba(101,95,147,0.06);
  --navy-light: #2A3D6E;
  --bg: #FFFFFF;
  --bg-soft: #F7F7FB;
  --bg-warm: #FAFAF8;
  --text: #1A1A1A;
  --text-sub: #555;
  --text-muted: #999;
  --border: #EBEBEB;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.09);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Noto Sans JP', 'Inter', -apple-system, sans-serif;
  --font-en: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.75; font-size: 15px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* --- Typography --- */
.section-title {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 40px;
}

.section-lead {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: -28px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  transition: color 0.25s var(--ease);
}
.link-arrow:hover { color: var(--navy); }

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 32px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 22px; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { font-size: 13px; font-weight: 500; color: var(--text-sub); transition: color 0.25s var(--ease); }
.header-nav a:hover { color: var(--navy); }
.btn-nav {
  background: var(--navy); color: #fff !important;
  padding: 7px 18px; border-radius: 8px;
  font-size: 12px !important; font-weight: 600 !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-nav:hover { background: var(--navy-light); transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; }
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: var(--text); position: absolute; left: 0; transition: 0.3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 8px; }
.menu-toggle span:nth-child(3) { top: 16px; }

/* ===========================
   HERO — Contained, split layout
   =========================== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-brand {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.hero-message {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ===========================
   NUMBERS
   =========================== */
.numbers {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.number-card { text-align: center; padding: 24px 12px; }
.number-value {
  display: block;
  font-family: var(--font-en);
  font-size: 32px; font-weight: 700;
  color: var(--navy); line-height: 1.1; margin-bottom: 10px;
}
.number-value small { font-size: 18px; font-weight: 500; }
.number-label { font-size: 12px; color: var(--text-sub); line-height: 1.6; }
.number-label small { color: var(--text-muted); font-size: 11px; }

/* ===========================
   MISSION
   =========================== */
.mission { padding: 80px 0; }
.mission-inner { max-width: 680px; }
.mission-statement {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.mission-body {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 40px;
}
.mission-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mission-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.mission-link-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.mission-link-tag {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 4px 10px;
  border-radius: 6px;
}
.mission-link-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
}
.mission-link-arrow {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.mission-link-card:hover .mission-link-arrow {
  color: var(--purple);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .mission-statement { font-size: 22px; }
  .mission-link-card { padding: 14px 16px; gap: 12px; }
  .mission-link-title { font-size: 13px; }
}

@media (max-width: 480px) {
  .mission-statement { font-size: 20px; }
}

/* ===========================
   POSITIONS
   =========================== */
.positions { padding: 80px 0; }
.positions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.position-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.position-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--purple-light);
}
.position-img { aspect-ratio: 3/2; overflow: hidden; }
.position-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.position-card:hover .position-img img { transform: scale(1.04); }
.position-body { padding: 20px 24px 24px; }
.position-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--purple); background: var(--purple-pale);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 10px;
}
.position-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.position-body p { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; line-height: 1.6; }
.position-meta { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.position-link { font-size: 13px; font-weight: 600; color: var(--purple); }
.position-card:hover .position-link { color: var(--navy); }

/* ===========================
   HOW WE WORK
   =========================== */
.how-we-work { padding: 80px 0; background: var(--bg-soft); }
.mechanism-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mechanism-card {
  text-align: center; padding: 28px 14px;
  border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  display: block;
}
.mechanism-card:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.mechanism-num {
  font-family: var(--font-en); font-size: 24px; font-weight: 700;
  color: var(--purple); display: block; margin-bottom: 14px;
}
.mechanism-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.mechanism-card p { font-size: 12px; color: var(--text-sub); line-height: 1.6; }
.mechanism-note { font-size: 13px; color: var(--text-muted); margin-top: 28px; }
.mechanism-note a { color: var(--purple); font-weight: 500; }
.mechanism-note a:hover { text-decoration: underline; }

/* ===========================
   MEMBERS
   =========================== */
.members { padding: 80px 0; background: var(--bg-soft); }
.members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member-card {
  text-align: center; display: block;
  transition: transform 0.3s var(--ease);
}
.member-card:hover { transform: translateY(-3px); }
.member-img {
  width: 140px; height: 140px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.member-card:hover .member-img { border-color: var(--purple-light); }
.member-img img { width: 100%; height: 100%; object-fit: cover; }
.member-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.member-role { display: block; font-size: 12px; color: var(--text-sub); margin-bottom: 2px; }
.member-path { display: block; font-size: 12px; color: var(--purple); font-weight: 500; }

/* ===========================
   CULTURE
   =========================== */
.culture { padding: 80px 0; border-top: 1px solid var(--border); }
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.culture-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: block;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.culture-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.culture-card--lg { grid-column: span 2; }
.culture-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.culture-card--lg .culture-card-img { aspect-ratio: 2/1; }
.culture-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.culture-card:hover .culture-card-img img { transform: scale(1.03); }
.culture-card-body { padding: 14px 18px 16px; }
.culture-tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 4px;
}
.culture-caption { display: block; font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.5; }

/* Accent borders per card */
.culture-card:nth-child(1) { border-bottom: 3px solid var(--navy); }
.culture-card:nth-child(2) { border-bottom: 3px solid var(--purple); }
.culture-card:nth-child(3) { border-bottom: 3px solid var(--purple-light); }
.culture-card:nth-child(4) { border-bottom: 3px solid var(--navy); }
.culture-card:nth-child(5) { border-bottom: 3px solid #B8B3D4; }
.culture-card:nth-child(6) { border-bottom: 3px solid var(--purple); }

/* ===========================
   VOICE
   =========================== */
.voice { padding: 80px 0; }
.voice-header { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.voice-stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; }
.voice-score { font-family: var(--font-en); font-size: 26px; font-weight: 700; color: var(--navy); }
.voice-count { font-size: 13px; color: var(--text-sub); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.voice-card {
  background: var(--bg-warm); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
}
.voice-text { font-size: 14px; line-height: 1.85; color: var(--text); margin-bottom: 14px; }
.voice-author { font-size: 12px; color: var(--text-muted); }

/* ===========================
   COMPANY
   =========================== */
.company { padding: 80px 0; background: var(--bg-soft); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.company-table th { width: 120px; font-weight: 600; color: var(--text-sub); }
.company-table td { color: var(--text); }
.company-photo { border-radius: var(--radius-lg); overflow: hidden; }
.company-photo img { width: 100%; height: auto; }

/* ===========================
   CTA
   =========================== */
.cta { padding: 80px 0; }
.cta-inner {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 64px; text-align: center;
}
.cta h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 28px; line-height: 1.5; }
.btn-lg { padding: 16px 40px; font-size: 15px; background: #fff; color: var(--navy); }
.btn-lg:hover { background: #F0F0F5; }

/* ===========================
   FOOTER
   =========================== */
.site-footer { padding: 40px 0; background: var(--navy); }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 32px; text-align: center; }
.footer-logo { height: 20px; margin: 0 auto 20px; opacity: 0.6; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.55); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .mechanism-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Mobile menu open state --- */
.header-nav.is-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  gap: 0;
  z-index: 99;
  overflow-y: auto;
  animation: menuSlide 0.25s var(--ease);
}
.header-nav.is-open a {
  font-size: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.header-nav.is-open .btn-nav {
  margin-top: 20px;
  text-align: center;
  padding: 14px;
  border-bottom: none;
  color: #fff !important;
}
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header-nav { display: none; }
  .menu-toggle { display: block; }

  .hero { padding-top: 100px; padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-message { font-size: 32px; }
  .hero-sub { font-size: 14px; }
  .hero-image { max-height: 320px; border-radius: var(--radius); }

  .numbers { padding: 48px 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-value { font-size: 26px; }

  .positions-grid { grid-template-columns: 1fr; max-width: 400px; }
  .mechanism-grid { grid-template-columns: 1fr 1fr; }
  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .culture-grid { grid-template-columns: 1fr; }
  .culture-card--lg { grid-column: span 1; }
  .culture-card--lg .culture-card-img { aspect-ratio: 16/10; }
  .voice-grid { grid-template-columns: 1fr; }
  .voice-card { padding: 20px; }
  .voice-header { flex-wrap: wrap; }
  .company-grid { grid-template-columns: 1fr; }

  .positions, .how-we-work, .members, .culture, .mission, .voice, .company { padding: 52px 0; }
  .cta-inner { padding: 40px 24px; }
  .cta h2 { font-size: 20px; }
  .btn-lg { padding: 14px 32px; font-size: 14px; }

  .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer-links a { padding: 10px 0; }
  .link-arrow { display: inline-block; padding: 10px 0; }

  /* Section titles on mobile */
  .section-title { margin-bottom: 28px; }
  .section-lead { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .hero-message { font-size: 28px; }
  .hero-brand { font-size: 11px; }
  .btn-primary { padding: 12px 24px; font-size: 13px; }

  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .number-card { padding: 16px 8px; }
  .number-value { font-size: 22px; }
  .number-label { font-size: 11px; }

  .positions-grid { max-width: 100%; }
  .members-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mechanism-grid { grid-template-columns: 1fr; }
  .member-img { width: 100px; height: 100px; }
  .member-info h3 { font-size: 14px; }

  .mechanism-card { padding: 20px 12px; }
  .mechanism-num { font-size: 20px; }

  .voice-text { font-size: 13px; }
  .company-table th { width: 90px; font-size: 12px; }
  .company-table td { font-size: 13px; }

  .cta-inner { padding: 32px 20px; border-radius: var(--radius); }
  .cta h2 { font-size: 18px; }
}

/* ===========================
   POSITION DETAIL PAGES
   =========================== */

/* Back link */
.pos-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.25s var(--ease);
}
.pos-back:hover { color: var(--purple); }

/* Hero */
.pos-hero {
  padding-top: 120px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.pos-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pos-hero-text .position-tag { margin-bottom: 16px; }
.pos-hero-text h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.pos-hero-lead {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
}
.pos-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.pos-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Content area */
.pos-section { padding: 72px 0 96px; }
.pos-content { max-width: 760px; }

/* Block (each section) */
.pos-block {
  margin-bottom: 56px;
}
.pos-block h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pos-block p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 12px;
}
.pos-block p:last-child { margin-bottom: 0; }

/* Lists */
.pos-list {
  list-style: none;
  padding: 0;
}
.pos-list li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pos-list li:last-child { border-bottom: none; }
.pos-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
}

/* Features (numbered cards) */
.pos-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pos-feature {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pos-feature-num {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  display: block;
  margin-bottom: 10px;
}
.pos-feature h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.pos-feature p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Work categories (marketing page) */
.pos-work-categories { display: flex; flex-direction: column; gap: 24px; }
.pos-work-cat h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 8px;
}

/* Voice cards */
.pos-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pos-voice-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pos-voice-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 12px;
}
.pos-voice-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Member inline */
.pos-member-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pos-member {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pos-member:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
}
.pos-member img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.pos-member strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.pos-member span {
  font-size: 12px;
  color: var(--text-sub);
}

/* Stories (marketing page) */
.pos-stories {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pos-stories h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.pos-story-list {
  list-style: none;
  padding: 0;
}
.pos-story-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pos-story-list li:last-child { border-bottom: none; }
.pos-story-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--purple);
  transition: color 0.25s var(--ease);
}
.pos-story-list a:hover { color: var(--navy); }

/* Table */
.pos-table {
  width: 100%;
  border-collapse: collapse;
}
.pos-table th, .pos-table td {
  padding: 16px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.pos-table th {
  width: 120px;
  font-weight: 600;
  color: var(--text-sub);
  text-align: left;
}
.pos-table td {
  color: var(--text);
  line-height: 1.7;
}
.pos-table small {
  font-size: 12px;
  color: var(--text-muted);
}

/* CTA */
.pos-cta {
  margin-top: 64px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.pos-cta h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}
.pos-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.pos-cta-buttons { display: flex; justify-content: center; gap: 12px; }
.pos-cta .btn-primary {
  background: #fff;
  color: var(--navy);
}
.pos-cta .btn-primary:hover {
  background: #F0F0F5;
}

/* ===========================
   POSITION DETAIL — RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .pos-hero { padding-top: 90px; padding-bottom: 40px; }
  .pos-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .pos-hero-text h1 { font-size: 28px; }
  .pos-hero-image { max-height: 280px; }

  .pos-section { padding: 48px 0 64px; }
  .pos-content { max-width: 100%; }
  .pos-features { grid-template-columns: 1fr; }
  .pos-voice-grid { grid-template-columns: 1fr; }

  .pos-cta { padding: 32px 20px; }
  .pos-cta h2 { font-size: 18px; }

  .pos-table th { width: 90px; font-size: 13px; }
  .pos-table td { font-size: 13px; }
}

@media (max-width: 480px) {
  .pos-hero-text h1 { font-size: 24px; }
  .pos-block h2 { font-size: 16px; }
}

/* ===========================
   APPLY FORM
   =========================== */
.apply-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.apply-lead {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.85;
}

.apply-form { max-width: 600px; }

.form-group {
  margin-bottom: 28px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.required {
  color: #E05252;
  font-size: 12px;
}
.form-help {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.6;
}
.form-help strong { color: var(--purple); }

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

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="number"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(101,95,147,0.08);
}
.apply-form textarea { resize: vertical; min-height: 100px; }
.apply-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* File upload */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.file-upload-area.drag-over {
  border-color: var(--purple);
  background: var(--purple-pale);
}
.file-upload-area input[type="file"] {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  opacity: 0;
  cursor: pointer;
}
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-sub);
}
.file-upload-icon { font-size: 24px; }
.file-list { margin-top: 12px; text-align: left; }
.file-item {
  font-size: 13px;
  color: var(--purple);
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* Submit */
.form-actions { margin-top: 40px; }
.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

/* ===========================
   THANKS PAGE
   =========================== */
.thanks-section {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 60vh;
}
.thanks-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
}
.thanks-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.thanks-content p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 12px;
}
.thanks-sub {
  margin-bottom: 36px !important;
}
.thanks-sub strong { color: var(--purple); }

@media (max-width: 768px) {
  .apply-title { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* --- Scroll Animations --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
