/* ═══════════════════════════════════════════════
   PAGES.CSS — The Midnight Alchemist
   Shared inner-page styles (about, team, contact)
   ═══════════════════════════════════════════════ */

/* ─── SHARED CONTAINER ─── */
.p-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── SHARED LABEL ─── */
.p-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFB300;
  display: block;
  margin-bottom: 0.6rem;
}

/* ─── PAGE HEADER ─── */
.p-header {
  background: #000;
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.p-header::before {
  content: '';
  position: absolute;
  right: -5%;
  top: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(255,179,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.p-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}
.p-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-top: 0.8rem;
}
.p-header h1 em {
  color: #FFB300;
  font-style: italic;
}
.p-header-desc {
  font-size: 1rem;
  color: #ababab;
  line-height: 1.75;
  max-width: 480px;
  margin-top: 1.2rem;
}
.p-header-badge {
  background: #191919;
  border-radius: 0.75rem;
  padding: 1.5rem 1.8rem;
  text-align: center;
  min-width: 140px;
  align-self: center;
}
.p-header-badge-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #FFB300;
  line-height: 1;
  display: block;
  letter-spacing: -0.03em;
}
.p-header-badge-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ababab;
  margin-top: 0.3rem;
  display: block;
}

/* ─── NAV CTA for inner pages ─── */
nav .nav-cta {
  background: linear-gradient(135deg, #ffc563, #FFB300);
  color: #523700;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
nav .nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ══════════════════════════════
   ABOUT PAGE
   ══════════════════════════════ */

/* Intro split */
.a-intro {
  background: #0e0e0e;
  padding: 7rem 2rem;
}
.a-intro-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.a-intro-text h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.a-intro-text p {
  font-size: 0.9rem;
  color: #ababab;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.a-intro-text p + p { margin-top: 0; }

/* 2x2 feature cards on the right */
.a-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.a-card {
  background: #191919;
  border-radius: 0.75rem;
  padding: 1.8rem 1.4rem;
  transition: background 0.25s;
}
.a-card:hover { background: #1f1f1f; }
.a-card .a-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
  color: #FFB300;
}
.a-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.a-card p {
  font-size: 0.78rem;
  color: #ababab;
  line-height: 1.6;
}

/* Pillars / 3-column bento */
.a-pillars {
  background: #000;
  padding: 7rem 2rem;
}
.a-pillars-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.a-pillars-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.5rem;
}
.a-pillars-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.a-pillar-card {
  background: #191919;
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.a-pillar-card:hover { background: #1f1f1f; }
.a-pillar-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: #FFB300;
  opacity: 0.08;
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  letter-spacing: -0.04em;
}
.a-pillar-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFB300;
  margin-bottom: 1rem;
  position: relative;
}
.a-pillar-card p {
  font-size: 0.85rem;
  color: #ababab;
  line-height: 1.75;
  position: relative;
}

/* Gold CTA (shared across pages) */
.p-cta-wrap {
  padding: 2rem 2rem 4rem;
  background: #000;
}
.p-cta {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffc563 0%, #FFB300 100%);
  border-radius: 1.5rem;
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.p-cta::before {
  content: '⬡';
  position: absolute;
  font-size: 40vw;
  color: rgba(82,55,0,0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}
.p-cta h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #1a0900;
  margin-bottom: 0.7rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
}
.p-cta p {
  color: #5e4000;
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  position: relative;
}
.p-cta-btns {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.p-btn-dark {
  background: #1a0900;
  color: #FFB300;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.85rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.2s;
}
.p-btn-dark:hover { background: #2e1200; }
.p-btn-outline-dark {
  background: transparent;
  color: #5e4000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.85rem 2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px rgba(94,64,0,0.5);
  transition: box-shadow 0.2s, color 0.2s;
}
.p-btn-outline-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(94,64,0,1); color: #3a2000; }

/* ══════════════════════════════
   TEAM PAGE
   ══════════════════════════════ */

.t-section {
  padding: 6rem 2rem;
}
.t-section:nth-child(even) { background: #0e0e0e; }
.t-section:nth-child(odd) { background: #000; }

.t-section-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.t-section-header h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.4rem;
}

/* People grid */
.t-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.t-card {
  background: #191919;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: background 0.25s, transform 0.25s;
}
.t-card:hover { background: #1f1f1f; transform: translateY(-3px); }

.t-hex {
  width: 110px;
  height: 110px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #262626;
  overflow: hidden;
  flex-shrink: 0;
}
.t-hex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.t-hex-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #feb300, #FFB300);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #523700;
}

.t-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.t-card .t-role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFB300;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  display: block;
}
.t-card p {
  font-size: 0.8rem;
  color: #ababab;
  line-height: 1.65;
}

/* Team description with read more */
.team-description {
  position: relative;
}
.team-description.truncated {
  display: block;
  max-height: 6.6em;
  overflow: hidden;
}
.read-more-btn {
  background: none;
  border: none;
  color: #FFB300;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: opacity 0.2s;
  margin-top: 0.4rem;
  display: inline-block;
}
.read-more-btn:hover {
  opacity: 0.8;
}
.read-more-btn.expanded::after {
  content: ' Read Less';
}
.read-more-btn:not(.expanded)::after {
  content: ' Read More';
}

/* ══════════════════════════════
   CONTACT PAGE
   ══════════════════════════════ */

.c-body {
  background: #0e0e0e;
  padding: 7rem 2rem;
}
.c-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.c-left h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.5rem 0 1.2rem;
}
.c-left > p {
  font-size: 0.9rem;
  color: #ababab;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.c-detail-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}
.c-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #191919;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-top: 0.1rem;
  color: #FFB300;
}
.c-detail-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFB300;
  margin-bottom: 0.3rem;
}
.c-detail-text p, .c-detail-text a {
  font-size: 0.88rem;
  color: #ababab;
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.2s;
}
.c-detail-text a:hover { color: #FFB300; }

/* Social row */
.c-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.c-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #191919;
  color: #ababab;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.c-social-btn:hover { background: #262626; color: #FFB300; }

/* Right side — map / info panel */
.c-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.c-info-card {
  background: #191919;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: background 0.25s;
}
.c-info-card:hover { background: #1f1f1f; }
.c-info-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.c-info-card p {
  font-size: 0.85rem;
  color: #ababab;
  line-height: 1.7;
}
.c-map-placeholder {
  background: #191919;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ababab;
  font-size: 0.85rem;
  flex-direction: column;
  gap: 0.5rem;
}
.c-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  background: linear-gradient(135deg, #ffc563, #FFB300);
  color: #523700;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1.2rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.c-map-link:hover { opacity: 0.88; }

/* ══════════════════════════════
   SHARED FOOTER (inner pages)
   ══════════════════════════════ */
.p-footer {
  background: #0e0e0e;
  padding: 4rem 2rem 2rem;
}
.p-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
  border-bottom: 1px solid rgba(255,179,0,0.07);
}
.p-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.p-footer-left p {
  font-size: 0.8rem;
  color: #ababab;
  max-width: 300px;
  line-height: 1.7;
  margin-top: 0.6rem;
}
.p-footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.p-footer-socials a {
  width: 36px;
  height: 36px;
  background: #191919;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ababab;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.p-footer-socials a:hover { background: #FFB300; color: #523700; }
.p-footer-right {
  display: flex;
  gap: 3rem;
}
.p-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.p-footer-col h5 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFB300;
  margin-bottom: 0.2rem;
}
.p-footer-col a {
  font-size: 0.8rem;
  color: #ababab;
  text-decoration: none;
  transition: color 0.2s;
}
.p-footer-col a:hover { color: #FFB300; }
.p-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.p-footer-bottom p {
  font-size: 0.72rem;
  color: rgba(171,171,171,0.35);
}

/* ══════════════════════════════
   VIDEOS PAGE
   ══════════════════════════════ */

.v-section {
  background: #0e0e0e;
  padding: 6rem 2rem 7rem;
}

.v-container {
  max-width: 1100px;
  margin: 0 auto;
}

.v-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}

.v-card {
  background: #191919;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.25s;
}
.v-card:hover { transform: translateY(-3px); }

.v-card video {
  width: 100%;
  display: block;
  /* Vertical (portrait) aspect ratio */
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
  /* Style the native controls to blend in */
  accent-color: #FFB300;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 900px) {
  .p-header-inner { grid-template-columns: 1fr; }
  .p-header-badge { display: none; }
  .p-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
  .a-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .a-pillars-grid { grid-template-columns: 1fr 1fr; }
  .c-grid { grid-template-columns: 1fr; }
  .p-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .p-footer-bottom { flex-direction: column; align-items: flex-start; }
  .v-grid { grid-template-columns: repeat(3, 1fr); }
  .t-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
}

@media (max-width: 768px) {
  .p-header { padding: 5rem 1.5rem 3rem; }
  .p-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
  .p-header-desc { font-size: 0.95rem; max-width: 100%; }
  .a-intro, .a-pillars, .c-body { padding: 3rem 1.5rem; }
  .a-intro-text h2, .a-pillars-header h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
  .a-cards { grid-template-columns: 1fr; gap: 1rem; }
  .a-pillars-grid { grid-template-columns: 1fr; }
  .t-section { padding: 3rem 1.5rem; }
  .t-section-header h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
  .t-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.8rem; }
  .t-card { padding: 1.5rem 1.2rem; }
  .t-hex { width: 90px; height: 90px; }
  .t-card h3 { font-size: 0.9rem; }
  .t-card .t-role { font-size: 0.58rem; }
  .t-card p { font-size: 0.75rem; line-height: 1.5; }
  .v-section { padding: 3rem 1.5rem; }
  .v-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .p-footer-inner { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .p-header { padding: 4rem 1rem 2.5rem; }
  .p-header h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
  .p-header-desc { font-size: 0.9rem; line-height: 1.5; }
  .p-label { font-size: 0.6rem; }
  .a-intro, .a-pillars, .c-body { padding: 2.5rem 1rem; }
  .a-intro-text h2, .a-pillars-header h2 { font-size: clamp(1.3rem, 5vw, 2rem); line-height: 1.2; }
  .a-intro-text p { font-size: 0.9rem; }
  .a-cards { grid-template-columns: 1fr; gap: 0.8rem; }
  .a-card { padding: 1.5rem 1.2rem; }
  .a-card h4 { font-size: 0.85rem; }
  .a-card p { font-size: 0.75rem; }
  .t-section { padding: 2.5rem 1rem; }
  .t-section-header h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .t-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }
  .t-card { padding: 1.2rem 1rem; gap: 0.8rem; }
  .t-hex { width: 80px; height: 80px; }
  .t-card h3 { font-size: 0.85rem; }
  .t-card .t-role { font-size: 0.55rem; margin-bottom: 0.4rem; }
  .t-card p { font-size: 0.7rem; line-height: 1.4; }
  .read-more-btn { font-size: 0.75rem; margin-top: 0.3rem; }
  .v-section { padding: 2.5rem 1rem; }
  .v-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .v-card { border-radius: 0.5rem; }
  .c-body h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .c-grid { gap: 1.5rem; }
  .c-form label { font-size: 0.9rem; }
  .c-form input, .c-form textarea { font-size: 0.9rem; padding: 0.75rem; }
  .p-footer-right { flex-direction: column; gap: 1rem; }
  .p-footer-col { margin-bottom: 0.5rem; }
  .p-footer-col h5 { font-size: 0.9rem; margin-bottom: 0.6rem; }
  .p-footer-col a { font-size: 0.85rem; }
  .p-footer-bottom { gap: 0.5rem; }
  .p-footer-bottom p { font-size: 0.8rem; }
}

@media (max-width: 400px) {
  .p-header { padding: 3rem 0.75rem 2rem; }
  .p-header h1 { font-size: clamp(1.5rem, 7vw, 2.5rem); }
  .p-label { font-size: 0.55rem; }
  .a-intro, .a-pillars, .c-body { padding: 2rem 0.75rem; }
  .t-section { padding: 2rem 0.75rem; }
  .t-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; }
  .t-card { padding: 1rem 0.8rem; }
  .t-hex { width: 70px; height: 70px; }
  .v-section { padding: 2rem 0.75rem; }
  .c-body { padding: 2rem 0.75rem; }
}
