/* ============================================================ */
/* INSTABOOKS — About page styles                                */
/* Builds on main.css; adds the dictionary hero, values grid,    */
/* team grid, and join-us callout that only this page uses.      */
/* ============================================================ */

/* ============================================================ */
/* ABOUT HERO                                                    */
/* Short, page-title hero — no animated waves or video frame.    */
/* ============================================================ */

.about-hero {
  position: relative;
  padding: 88px 0 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: var(--display-tracking, -0.03em);
  margin: 0 0 24px 0;
  color: var(--ink);
}

.page-title em {
  font-style: var(--em-style, normal);
  color: var(--em-color, var(--brand));
  font-weight: inherit;
}

.page-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

/* ============================================================ */
/* DICTIONARY HERO                                               */
/* The visual signature: a card containing the "lightweight"     */
/* dictionary entry. Subtle grid background + two blurred radial */
/* tints behind the card carry the brand greens.                 */
/* ============================================================ */

.dict-hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0;
  background: var(--section);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.dict-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.dict-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 70%);
  opacity: 0.7;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.dict-hero .container { position: relative; z-index: 1; }

.dict-glow-right {
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 70%);
  opacity: 0.55;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.dict-card {
  position: relative;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 4px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 36px 32px;
  box-shadow: var(--shadow-card);
}

.dict-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.dict-word {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: var(--display-tracking, -0.03em);
  color: var(--ink);
  margin: 0;
}

.dict-word .dict-sep {
  color: var(--muted);
  font-weight: 400;
  margin: 0 0.18em;
}

.dict-pos {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.dict-pron {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.dict-senses {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.dict-senses li {
  display: flex;
  gap: 10px;
}

.dict-num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 1.4em;
}

/* ============================================================ */
/* VALUES                                                        */
/* Three columns of prose. No icons — just name + paragraphs.    */
/* ============================================================ */

.values {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: var(--space-section) 0;
}

.values-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.value-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.value-item p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
}

.value-item p + p {
  margin-top: 14px;
}

.value-item a {
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 150ms ease;
}

.value-item a:hover { color: var(--brand-deep); }

/* ============================================================ */
/* TEAM                                                          */
/* Intro on the left, photo grid on the right.                   */
/* ============================================================ */

.team {
  background: var(--section);
  border-bottom: 1px solid var(--line);
  padding: var(--space-section) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.team-intro .section-title {
  margin-bottom: 18px;
}

.team-intro .section-lede {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 36ch;
}

.team-members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 36px;
}

.team-member img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--section-2);
}

.member-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.member-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.member-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 150ms ease;
}

.member-linkedin:hover { color: var(--brand); }

.member-role {
  margin: 4px 0 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ============================================================ */
/* JOIN US                                                       */
/* Horizontal callout card: photo on the left, copy on the right.*/
/* ============================================================ */

.join-us {
  background: var(--paper);
  padding: var(--space-section) 0;
}

.join-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.6fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  background: var(--section);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.join-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.join-body .section-title {
  margin-bottom: 18px;
}

.join-body > p {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 16px 0;
  max-width: 56ch;
}

.join-prompt {
  margin-top: 24px !important;
  margin-bottom: 14px !important;
  font-weight: 600;
  color: var(--ink) !important;
  font-size: 1.05rem !important;
}

.traits {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.traits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.traits svg {
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 2px;
}

/* ============================================================ */
/* RESPONSIVE                                                    */
/* ============================================================ */

@media (max-width: 1000px) {
  .values-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .join-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .join-photo { max-width: 360px; }
}

@media (max-width: 720px) {
  .about-hero { padding: 56px 0 36px; }
  .page-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .dict-hero { padding: 48px 0; }
  .dict-card { padding: 22px 22px 26px; }
  .dict-word { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .team-members { grid-template-columns: 1fr; gap: 36px; }
  .traits { grid-template-columns: 1fr; }
  .join-card { padding: 24px; }
}
