/* ==========================================================================
   pages/inner.css — shared chrome for the interior pages
   (Areas of Practice, Our Team, Blog, FAQ, Contact)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page title band — black strip between the nav and the first content block.
   Live: band 253..393, h2 318..376, Merienda 36px/54px 700 white, centred.
   -------------------------------------------------------------------------- */

.page-title {
  background-color: var(--c-black);
  padding-block: 17px;
}

.page-title h1,
.page-title h2 {
  font-family: var(--f-title);
  font-size: 36px;
  line-height: 54px;
  font-weight: 700;
  padding-block: 2px;
  color: var(--c-white);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Content bands
   -------------------------------------------------------------------------- */

.band {
  background-color: var(--c-panel-alt);   /* #191919 */
}

.band--alt {
  background-color: var(--c-panel-alt2);  /* #262626 */
}

/* Section heading inside a band — Merienda, centred, white */
.band__heading {
  font-family: var(--f-title);
  font-size: 36px;
  line-height: normal;
  font-weight: 700;
  color: var(--c-white);
  text-align: center;
}

.band__heading--light {
  font-weight: 400;
  line-height: 54px;
}

/* --------------------------------------------------------------------------
   FAQ — static centred question/answer pairs (the live page is not an
   accordion; questions are underlined 24px text).
   -------------------------------------------------------------------------- */

.faq {
  padding-block: 87px 80px;
  text-align: center;
}

.faq__q {
  font-family: var(--f-ui);
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  color: var(--c-body);
  text-decoration: underline;
  margin: 0;
}

.faq__a {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-body);
  margin: 0;
}

/* 24px between a question block and the answer block, and between groups */
.faq__q { margin-top: 24px; }
.faq__group + .faq__group { margin-top: 24px; }
.faq__group .faq__q:first-child { margin-top: 0; }
.faq__a-list { margin-top: 24px; }

.faq__group:first-child { margin-top: 0; }

/* the trailing civil-rights note sits one blank line below, on 32px leading */
.faq__a-list .faq__a--spaced {
  margin-top: 24px;
  line-height: 32px;
}

@media (max-width: 767px) {
  .faq {
    padding-block: 45px 50px;
  }

  .faq__q {
    font-size: 20px;
    line-height: 30px;
  }
}

/* --------------------------------------------------------------------------
   Areas of Practice
   -------------------------------------------------------------------------- */

.practice {
  padding-block: 62px 73px;
}

.practice__inner {
  max-width: 1120px;
  margin-inline: auto;
}

.practice__body {
  margin-top: 12px;
}

.practice__body p {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-body);
  text-align: left;
  margin: 0;
}

.practice__body p + p {
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Our Team
   Live anchors @1440: band1 301..1224, "Lawyers" 401..453, rule 474..477,
   photo 519..935, card 943..1122, name 961..999, bios 999..1107.
   band2 1224..2039, "Staff" 1324..1376, rule 1397..1400,
   photos 1440..1868, bars 1872..1936, names 1884..1922.
   -------------------------------------------------------------------------- */

.team {
  padding-block: 100px 102px;
  text-align: center;
}

.team--staff {
  padding-block: 100px 103px;
}

.team__heading {
  font-family: var(--f-title);
  font-size: 36px;
  line-height: 54px;
  font-weight: 700;
  color: var(--c-gold);
  text-align: center;
  margin: 0;
}

/* 3px gold rule under each section heading */
.rule-thick {
  width: 99px;
  height: 0;
  margin: 21px auto 0;
  border: 0;
  border-top: 3px solid var(--c-gold);
}

/* ---- Founder feature (Amy) ------------------------------------------- */

.founder {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: stretch;
  margin-top: 44px;
  text-align: left;
}

.founder__photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.founder__card {
  padding: 40px 44px 42px;
  background-color: rgba(0, 0, 0, 0.55);
}

.founder__name {
  font-family: var(--f-title);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}

.founder__role {
  font-family: var(--f-ui);
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 8px 0 0;
}

.founder__bio {
  margin-top: 22px;
}

.founder__bio p {
  font-family: var(--f-bio);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-body);
  margin: 0;
}

.founder__bio p + p {
  margin-top: 16px;
}

/* ---- Member cards (counsel + staff with bios) ------------------------- */

.team-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
  text-align: left;
}

/* extra breathing room between Amy's feature and the counsel grid */
.founder + .team-people {
  margin-top: 64px;
}

.team-member {
  display: flex;
  flex-direction: column;
}

.team-member__photo {
  width: 100%;
  aspect-ratio: 5 / 4.5;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

.team-member__photo--logo {
  object-fit: contain;
  background-color: var(--c-white);
}

.team-member__card {
  flex: 1 1 auto;
  padding: 22px 24px 24px;
  background-color: rgba(0, 0, 0, 0.55);
}

.team-member__name {
  font-family: var(--f-title);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}

.team-member__role {
  font-family: var(--f-ui);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 7px 0 0;
}

.team-member__bio {
  font-family: var(--f-bio);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-body);
  margin: 15px 0 0;
}

@media (max-width: 900px) {
  .founder {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .team,
  .team--staff {
    padding-block: 50px 55px;
  }

  .founder {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
    text-align: center;
  }

  .founder__photo {
    aspect-ratio: 3 / 4;
    max-height: 460px;
  }

  .founder__card {
    padding: 26px 22px 28px;
  }

  .founder__name {
    font-size: 23px;
  }

  .founder__bio {
    text-align: left;
  }

  .team-people {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   Blog — a single article: 600px photo on the left, copy on the right.
   Live anchors @1440: band 393..1125, photo 453..1065 (600x612, l112),
   paragraphs 483..555 / 579..771 / 795..963 / 963..1035 in a 560px column.
   -------------------------------------------------------------------------- */

.post {
  display: grid;
  /* 640/560 of 1200 at full width; minmax(0,…) lets both columns shrink
     instead of blowing out at tablet widths */
  grid-template-columns: minmax(0, 640fr) minmax(0, 560fr);
  padding-block: 60px 60px;
}

.post__media {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 612;
  background-image: url('../../img/hospitalized-client.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.post__body {
  padding-top: 30px;
}

.post__body p {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-body);
  margin: 0;
}

.post__body p + p {
  margin-top: 24px;
}

.post__body .post__p--tight {
  margin-top: 0;
}

@media (max-width: 767px) {
  .post {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .post__media {
    width: 100%;
    height: 70vw;
    max-height: 612px;
  }

  .post__body {
    padding-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Contact
   Live anchors @1440: info band 301..745 (black), titles at 473..505;
   consultation band 745..1350 (#262626), heading 798..841, form 876..1300;
   SMS band 1350..2255, heading 1403..1446, form 1481..2205.
   Form width 981 (l222); fields inset 15px, halves 461 wide with a 29px gap.
   -------------------------------------------------------------------------- */

.contact-info {
  padding-block: 172px 138px;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.contact-info__title {
  font-family: var(--f-title);
  font-size: 22px;
  line-height: normal;
  font-weight: 600;
  color: var(--c-gold);
  margin: 0 0 20px;
}

.contact-info__note {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-body);
  margin: 0;
}

.contact-info__value {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: normal;
  color: var(--c-white);
  margin: 15px 0 0;
}

.contact-info__value a { color: var(--c-white); }
.contact-info__value a:hover { color: var(--c-gold); }

.contact-info__addr {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 32px;
  color: var(--c-white);
  margin: 0;
}

.contact-info__col:last-child .contact-info__title {
  margin-bottom: 24px;
}

/* ---- Form blocks ------------------------------------------------------ */

.contact-block {
  padding-block: 53px 50px;
}

.contact-block--sms {
  padding-block: 53px 50px;
}

.contact-block__heading {
  font-family: var(--f-title);
  font-size: 30px;
  line-height: 45px;
  font-weight: 700;
  color: var(--c-white);
  text-align: center;
  margin: 0 0 35px;
}

.cform {
  max-width: 981px;
  margin-inline: auto;
  padding: 25px 15px 44px;
}

.cform__row {
  margin-bottom: 13px;
}

.cform__row--split {
  display: grid;
  grid-template-columns: 461fr 461fr;
  gap: 29px;
}

.cform__label {
  display: block;
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-white);
  margin-bottom: 3px;
}

.cform__control {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  background-color: var(--c-white);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  color: #222;
}

.cform__control:focus {
  outline: 2px solid var(--c-gold);
  outline-offset: 1px;
}

.cform__control--area {
  height: 80px;
  resize: vertical;
}

.cform__intro,
.cform__consent {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-white);
  margin: 0 0 10px;
}

.cform__disclosures-title {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-white);
  margin: 18px 0 14px;
}

.cform__disclosures {
  margin: 0 0 0 40px;
  padding: 0;
  list-style: disc;
}

.cform__disclosures li {
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 24px;
  color: var(--c-white);
}

.cform__consent {
  margin-top: 51px;
}

.cform__actions {
  text-align: center;
  margin-top: 42px;
}

.cform__submit {
  width: 270px;
  height: 39px;
  border: 1px solid var(--c-white);
  border-radius: 2px;
  background-color: transparent;
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  color: var(--c-white);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.cform__submit:hover,
.cform__submit:focus-visible {
  background-color: var(--c-white);
  color: var(--c-black);
}

@media (max-width: 767px) {
  .contact-info {
    padding-block: 55px 50px;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cform__row--split {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .cform__submit {
    width: 100%;
    max-width: 270px;
  }
}


/* ==========================================================================
   Mobile layer — measured on the live mobile documents at 390px
   ========================================================================== */

@media (max-width: 767px) {

  /* Page titles switch to Crimson Text on phones */
  .page-title {
    padding-block: 22px 17px;
  }

  .page-title h1,
  .page-title h2 {
    font-family: var(--f-display);
    font-size: 28px;
    line-height: 42px;
  }

  .page-practice .page-title h1 {
    font-size: 24px;
    line-height: 36px;
  }

  /* ---- Areas of Practice ---- */
  .practice {
    padding-block: 54px 40px;
  }

  .practice__inner {
    max-width: none;
  }

  .band__heading {
    font-size: 24px;
  }

  /* ---- FAQ ---- */
  .faq {
    padding-block: 20px 44px;
  }

  .faq__q {
    font-size: 19px;
    line-height: 28.5px;
  }

  .faq__q,
  .faq__group + .faq__group,
  .faq__a-list,
  .faq__a-list .faq__a--spaced {
    margin-top: 30px;
  }

  .faq__group .faq__q:first-child {
    margin-top: 0;
  }

  /* ---- Blog ---- */
  .post {
    padding-block: 22px 44px;
  }

  /* ---- Our Team ---- */
  .team,
  .team--staff {
    padding-block: 60px 55px;
  }

  .team__heading {
    font-size: 30px;
    line-height: 45px;
  }

  .founder {
    margin-top: 30px;
  }

  .founder__name {
    font-size: 21px;
  }

  .team-member__name {
    font-size: 21px;
  }

  /* ---- Contact ---- */
  .contact-info {
    padding-block: 128px 60px;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .contact-info__title {
    font-size: 22px;
  }

  .contact-block,
  .contact-block--sms {
    padding-block: 40px 44px;
  }

  .contact-block__heading {
    font-size: 24px;
    line-height: 36px;
  }

  .cform {
    padding-inline: 0;
  }
}
