/* ─────────────────────────────────────────────────────────────
   Joanna Summers — Professional Standards
   Page-specific layout only. The shared chrome (BACP banner, brand
   header, primary nav, footer) and the base reset live in style.css.
   ───────────────────────────────────────────────────────────── */

/* Lighter label variant — used on the dark statement-block closer. */

/* CREDENTIALS GRID */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.credential-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-top: 2px solid var(--sand);
  position: relative;
}

.credential-number {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.credential-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--slate);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.credential-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mid);
}

/* ETHICAL FRAMEWORK BLOCK */
.framework-section {
  background: var(--slate);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.framework-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem 6rem;
  align-items: start;
}

@media (width <= 700px) {
  .framework-inner {
    grid-template-columns: 1fr;
  }
}

.framework-aside {
  position: sticky;
  top: 5rem;
}

.framework-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* stylelint-disable-next-line no-descending-specificity */
.framework-title em {
  font-style: italic;
  color: var(--sand);
}

.framework-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.framework-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgb(215 190 157 / 30%);
  max-width: 60px;
}

.framework-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgb(249 247 244 / 70%);
  margin-bottom: 1.4rem;
}

.framework-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid rgb(215 190 157 / 40%);
  padding-bottom: 0.2rem;
  transition: border-color 0.3s;
}

.framework-link:hover {
  border-color: var(--sand);
}

/* CONFIDENTIALITY SECTION */
.confidentiality-section {
  background: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.confidentiality-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}

.confidentiality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (width <= 700px) {
  .confidentiality-grid {
    grid-template-columns: 1fr;
  }
}

.conf-item {
  padding: 2rem;
  border-left: 2px solid var(--sand);
  background: rgb(215 190 157 / 6%);
}

.conf-item h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 0.8rem;
}

.conf-item p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mid);
}

/* STATEMENT BLOCK */

@media (width <= 700px) {
  .statement-inner {
    grid-template-columns: 1fr;
  }
}

/* stylelint-disable-next-line no-descending-specificity */

/* Entrance reveal — CSS-only. The site CSP blocks inline JS, so content
   must never depend on a script to become visible. */


/* .framework-section is a dark block, so focus rings inside it need the pale
   variant (the shared rule assumes a light surface). */
.framework-section a:focus-visible {
  outline-color: var(--cream);
}

/* Standalone link — pad to clear the 24px minimum tap target. */
.framework-link {
  padding-block: 0.35rem;
}
