/* ================================================================
   PANTHEION — Inner Pages Shared CSS (pantheion-inner.css)
   Used by: careers.html, contact.html, channel-partner.html
   ================================================================ */

.nav-active { color: white !important; }
.nav-active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--terra);
  margin-top: -2px;
}

/* ================================================================
   SHARED PAGE HERO BANNER
   ================================================================ */
.in-hero {
  position: relative;
  height: auto;
  min-height: 56vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: calc(var(--nav-h) + 40px);
}
.in-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(112,71,58,0.25) 0%, transparent 65%),
    linear-gradient(135deg, #1e1e30 0%, #30304a 55%, #1c1814 100%);
  background-size: cover;
  background-position: center;
}
.in-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.10) 40%,
    rgba(0,0,0,0.25) 100%
  );
}

.in-hero-content {
  position: relative; z-index: 2;
  padding: 0 6vw;
  max-width: 720px;
  opacity: 0;
  transform: translateY(16px);
  animation: inFadeUp 0.8s 0.3s ease forwards;
}
@keyframes inFadeUp { to { opacity: 1; transform: none; } }

.in-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
  display: block;
}
.in-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(46px, 4.2vw, 82px);
  font-weight: 300;
  color: white;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.in-hero-title em { font-style: italic; color: rgba(255,255,255,0.7); }
.in-hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 500px;
}

/* ================================================================
   SHARED FORM STYLES
   ================================================================ */
.in-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.in-form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.in-form-group input,
.in-form-group select,
.in-form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  padding: 13px 16px;
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  resize: vertical;
}
.in-form-group input::placeholder,
.in-form-group textarea::placeholder { color: #b0ad9e; }
.in-form-group input:focus,
.in-form-group select:focus,
.in-form-group textarea:focus { border-color: var(--primary); }
.in-form-group select option { background: white; color: var(--text); }

.in-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.in-form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.in-form-submit:hover { background: var(--primary-light); }
.in-form-submit--terra { background: var(--terra); }
.in-form-submit--terra:hover { background: var(--brown); }
.in-form-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ================================================================
   CAREERS PAGE
   ================================================================ */
.cr-ethos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg);
}
.cr-ethos-text {
  padding: 80px 6vw 80px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.cr-ethos-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 20px;
}
.cr-ethos-text p:last-child { margin-bottom: 0; }
.cr-ethos-values {
  padding: 80px 6vw;
  background: var(--bg-warm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.cr-ethos-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cr-ethos-value-bar {
  flex-shrink: 0;
  width: 3px;
  height: 36px;
  background: var(--terra);
  margin-top: 3px;
}
.cr-ethos-value strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.cr-ethos-value p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cr-disciplines {
  background: var(--primary);
  padding: 80px 5vw;
}
.cr-disciplines .section-label,
.cr-disciplines .section-title {
  text-align: center;
}

.cr-disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  max-width: 1100px;
  margin: 48px auto 0;
}
.cr-discipline {
  background: var(--primary);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s;
}
.cr-discipline:hover { background: var(--primary-light); }
.cr-discipline-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.cr-discipline-icon img { width: 40px; height: 40px; object-fit: contain; }
.cr-discipline-icon-fallback { width: 40px; height: 40px; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 18px; }
.cr-discipline h4 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  color: white;
}
.cr-discipline p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.cr-apply {
  background: var(--bg);
  padding: 100px 5vw;
  border-top: 3px solid var(--terra);
}
.cr-apply-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.cr-apply-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 16px;
}
.cr-apply-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s;
  margin-top: 8px;
}
.cr-apply-email:hover { background: var(--primary-light); }
.cr-or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cr-or::before, .cr-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.cr-form-wrap {
  background: white;
  border: 1px solid var(--border);
  padding: 44px 40px 40px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.ct-main {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  min-height: 600px;
  background: var(--bg);
  border-top: 3px solid var(--terra);
}
.ct-details {
  background: var(--primary);
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
}
.ct-details-heading {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  color: white;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}
.ct-detail-block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ct-detail-block:first-of-type { border-top: 1px solid rgba(255,255,255,0.08); }
.ct-detail-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
}
.ct-detail-value {
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.ct-detail-value a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.ct-detail-value a:hover { color: white; }
.ct-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.ct-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}
.ct-social a:hover { border-color: var(--terra); color: white; background: rgba(112,71,58,0.2); }
.ct-form-panel {
  padding: 72px 6vw 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ct-form-intro {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.ct-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 36px;
}
.ct-topic-btn {
  padding: 14px 16px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  line-height: 1.4;
}
.ct-topic-btn:hover, .ct-topic-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.ct-map {
  height: 320px;
  overflow: hidden;
}
.ct-map iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

/* ================================================================
   CHANNEL PARTNER PAGE
   ================================================================ */
.cp-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  align-items: stretch;
}
.cp-why-text {
  padding: 80px 6vw 80px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cp-why-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 20px;
}
.cp-why-text p:last-child { margin-bottom: 0; }
.cp-why-text em { font-style: italic; color: var(--primary); }
.cp-why-img {
  padding: 40px 5vw 40px 40px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cp-why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cp-benefits {
  background: var(--primary);
  padding: 80px 5vw;
}
.cp-benefits .section-label,
.cp-benefits .section-title {
  text-align: center;
}
 
.cp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  max-width: 1200px;
  margin: 48px auto 0;
}
.cp-benefit {
  background: var(--primary);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s;
}
.cp-benefit:hover { background: var(--primary-light); }
.cp-benefit-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.cp-benefit-icon img { width: 40px; height: 40px; object-fit: contain; }
.cp-benefit-icon-fallback { width: 40px; height: 40px; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 18px; }
.cp-benefit h4 { font-family: var(--ff-display); font-size: 19px; font-weight: 500; color: white; }
.cp-benefit p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; }

.cp-projects {
  background: var(--bg);
  padding: 80px 5vw;
  border-top: 1px solid var(--border);
}
.cp-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
}
.cp-project-card {
  border: 1px solid var(--border);
  background: white;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cp-project-card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terra);
}
.cp-project-card h4 { font-family: var(--ff-display); font-size: 28px; font-weight: 400; color: var(--primary); }
.cp-project-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.cp-project-stats { display: flex; gap: 20px; margin-top: 4px; flex-wrap: wrap; }
.cp-project-stat-item { display: flex; flex-direction: column; gap: 2px; }
.cp-project-stat-val { font-family: var(--ff-display); font-size: 20px; font-weight: 400; color: var(--primary); line-height: 1; }
.cp-project-stat-lbl { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--stone); }

/* Background-image project card variant */
.cp-project-card--bg {
  background-size: cover;
  background-position: center;
  border: none;
  position: relative;
}
.cp-project-card--bg h4,
.cp-project-card--bg .cp-project-stat-val { color: #fff; }
.cp-project-card--bg p { color: rgba(255,255,255,0.75); }
.cp-project-card--bg .cp-project-card-tag { color: rgba(255,255,255,0.85); }
.cp-project-card--bg .cp-project-stat-lbl { color: rgba(255,255,255,0.6); }
.cp-project-btn { margin-top: 20px; align-self: flex-start; }

.cp-register {
  background: var(--bg-warm);
  padding: 100px 5vw;
  border-top: 3px solid var(--terra);
}
.cp-register-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.cp-register-text p { font-size: 15px; color: var(--text); line-height: 1.85; margin-bottom: 16px; }
.cp-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
}
.cp-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}
.cp-trust-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--terra);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}
.cp-form-wrap {
  background: white;
  border: 1px solid var(--border);
  padding: 44px 40px 40px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .cr-ethos { grid-template-columns: 1fr; }
  .cr-ethos-text { border-right: none; border-bottom: 1px solid var(--border); }
  .cr-disciplines-grid { grid-template-columns: 1fr 1fr; }
  .cr-apply-inner { grid-template-columns: 1fr; gap: 48px; }
  .cr-form-wrap { padding: 36px 28px; }

  .ct-main { grid-template-columns: 1fr; }
  .ct-details { padding: 56px 6vw; }
  .ct-form-panel { padding: 56px 6vw; }
  .ct-topics { grid-template-columns: 1fr 1fr; }

  .cp-why { grid-template-columns: 1fr; }
  .cp-why-img { padding: 24px 6vw; height: auto; }
  .cp-why-img img { height: auto; object-fit: contain; }
  .cp-benefits-grid { grid-template-columns: 1fr 1fr; }
  .cp-projects-grid { grid-template-columns: 1fr; }
  .cp-register-inner { grid-template-columns: 1fr; gap: 48px; }
  .cp-form-wrap { padding: 36px 28px; }
}

@media (max-width: 640px) {
  .in-hero { height: auto; min-height: 0; align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: calc(var(--nav-h) + 24px); }
  .cr-disciplines-grid { grid-template-columns: 1fr; }
  .cr-apply { padding: 72px 5vw; }
  .in-form-row { grid-template-columns: 1fr; }
  .ct-topics { grid-template-columns: 1fr; }
  .cp-benefits-grid { grid-template-columns: 1fr; }
  .cp-why-stats { grid-template-columns: 1fr; }
  .cp-register { padding: 72px 5vw; }
}

