/* ==========================================================================
   Manvarth Charitable Trust — page rules for team.html, about.html, contact.html
   Loaded after assets/styles.css. Page-specific only; nothing here belongs to
   the shared system.
   ========================================================================== */


/* ==========================================================================
   team.html
   ========================================================================== */

/* The portrait is 3:4; a 4:5 crop trims only the plain wall above and the
   sofa below, so her face is never cut. */
.founder-spread .spread__media img { aspect-ratio: 4 / 5; }
.founder-spread__role { margin-top: 14px; }


/* ==========================================================================
   about.html
   ========================================================================== */

/* --- vision / mission: two hairline text blocks, no icons ---------------- */
.vm { display: grid; gap: 40px; }
.vm__block { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.vm__block h3 { margin-bottom: 16px; }
.vm__block p { max-width: 46ch; color: var(--ink-soft); }

@media (min-width: 720px) {
  .vm { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* --- the emblem: logo panel beside the ledger of five elements ----------- */
.emblem { display: grid; gap: 40px; align-items: start; }
.emblem__panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 44px 28px;
  background: var(--cream-deep);
  border: 1px solid var(--line);
}
.emblem__panel img { width: 220px; max-width: 100%; }

@media (min-width: 900px) {
  .emblem { grid-template-columns: 340px 1fr; gap: 56px; }
  .emblem__panel { padding: 56px 40px; position: sticky; top: 124px; }
}

/* Neither ledger on this page carries a .ledger__thumb, so the 72px thumbnail
   gutter the shared row reserves under 900px would be dead space. Collapse it. */
@media (max-width: 899px) {
  .emblem .ledger__row,
  .about-values .ledger__row {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "title" "text";
  }
}


/* --- values band -------------------------------------------------------- */
/* The shared band overlay fades towards the right so that a left-hand text
   column reads over a photograph. This band carries a full-width ledger, so
   it needs an even overlay instead. */
.about-values::after { background: rgba(24, 50, 36, .88); }
.about-values .section-head { margin-bottom: 40px; }


/* --- a registered charitable trust -------------------------------------- */
.trust__title { max-width: 20ch; margin-bottom: 34px; }
.trust__prose { max-width: 78ch; }
.trust__prose::after { content: ""; display: block; clear: both; }
.trust__prose .figure--inset { margin-top: 0; }
.trust__prose .actions { margin-top: 34px; }


/* ==========================================================================
   contact.html
   ========================================================================== */

.contact-cols { display: grid; gap: 56px; align-items: start; }

@media (min-width: 900px) {
  .contact-cols { grid-template-columns: 5fr 7fr; gap: 72px; }
}

.contact-info h2 { margin-bottom: 34px; }
.contact-info .figure { margin-top: 44px; }
.contact-info .figure img { aspect-ratio: 16 / 9; }

@media (min-width: 720px) {
  .contact-info .deflist__item { grid-template-columns: 128px 1fr; }
}

/* --- the form in a paper panel ------------------------------------------ */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 24px;
}
.form-panel > p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .form-panel { padding: 48px 44px; }
}

.form { margin-top: 36px; }
.form__row + .form__row { margin-top: 24px; }
.form__row label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form__row input,
.form__row textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color var(--t), background var(--t);
}
.form__row textarea { min-height: 156px; resize: vertical; }
.form__row input::placeholder,
.form__row textarea::placeholder { color: var(--ink-soft); opacity: .6; }
.form__row input:focus,
.form__row textarea:focus { border-color: var(--saffron); background: var(--paper); }
.form__submit { width: 100%; margin-top: 32px; }

/* --- the closing note band ---------------------------------------------- */
.band--note { padding: 76px 0; }
.band--note .lead { color: rgba(243, 238, 227, .88); }

@media (min-width: 900px) {
  .band--note { padding: 92px 0; }
}
