/** Reiki Neked: page-only layout. The approved index and its CSS remain unchanged.
 * Uses the semantic colour and font tokens compiled by Tailwind in styles.css.
 */
.reiki-page {
  overflow-wrap: break-word;
}
.reiki-page #main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.rn-hero {
  padding: 78px 0 72px;
  border-bottom: 1px solid var(--color-line);
  text-align: center;
}
.rn-eyebrow {
  color: var(--color-olive);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
/* Approved title pairing: H1 and definition H2 share one type treatment.
 * The shared heading size below follows the approved Mi a Reiki? scale; the lead is independent.
 */
.reiki-page .rn-hero h1,
.reiki-page .rn-definition-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.reiki-page .rn-hero h1 em,
.reiki-page .rn-definition-copy h2 em {
  font-family: inherit;
  font-weight: inherit;
  font-style: italic;
  color: var(--color-sage);
}
.rn-hero h1 {
  font-size: clamp(5rem, 9vw, 8rem);
  margin: 22px 0 25px;
}
.rn-lead {
  max-width: 740px;
  margin: auto;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.3;
  color: var(--color-sage);
}
.rn-hero .actions {
  justify-content: center;
  margin-top: 33px;
}
.rn-meta {
  font-size: 10px;
  color: var(--color-muted);
  margin-top: 19px;
  letter-spacing: 0.04em;
}
.rn-definition {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 85px;
  align-items: start;
}
.rn-definition-copy h2 {
  margin-bottom: 28px;
}
.rn-definition p,
.rn-energy p,
.rn-energy li {
  font-size: var(--text-reading);
  line-height: 1.9;
}
.rn-working p { font-size: var(--text-reading); line-height: 1.9; }
.rn-definition-copy p {
  color: var(--color-muted);
}
.rn-etymology {
  background: var(--color-wash);
  padding: 38px;
  border-radius: 4px 110px 4px 4px;
  margin-top: 10px;
}
.rn-etymology p {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.55;
}
.rn-symbols {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 3px 0 28px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--color-line);
}
.rn-symbols > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rn-symbols img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}
.rn-symbols span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
}
.rn-working {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
  padding: 58px;
  margin-top: 76px;
  background: var(--color-wash);
  border-radius: 4px;
}
.rn-working h2 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
}
.rn-working p + p {
  margin-top: 23px;
}
.rn-working strong {
  font-weight: 600;
}
.rn-working p:last-child {
  color: var(--color-muted);
}
.rn-energy {
  margin-top: 76px;
}
.rn-energy-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
  margin-bottom: 30px;
}
.rn-energy-heading h2 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
}
.rn-energy-heading p {
  color: var(--color-muted);
}
.rn-energy-heading p + p {
  margin-top: 18px;
  color: var(--color-olive);
  font-weight: 600;
}
.reiki-energy-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.reiki-energy-list li {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 6px 0;
  border-top: 1px solid var(--color-line);
}
.reiki-energy-list svg {
  width: 54px;
  height: 54px;
  flex: none;
  color: var(--color-olive);
  margin-top: 0;
}
.reiki-page .situation-list p {
  font-size: var(--text-reading);
}
.rn-faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
}
.rn-faq h2 {
  font-size: clamp(2.8rem, 4vw, 4rem);
}
.rn-faq summary {
  font-size: var(--text-reading);
  font-weight: 600;
  min-height: 72px;
}
.rn-faq .faq-content details p {
  font-size: var(--text-reading);
  line-height: 1.85;
  padding-bottom: 18px;
}
.rn-faq details p:last-child {
  padding-bottom: 27px;
}
.rn-note {
  padding: 25px;
  margin-top: 30px;
  background: var(--color-wash);
  font-size: 13px;
  line-height: 1.85;
}
.rn-note strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.rn-cta {
  padding: 0 0 100px;
}
.rn-cta-inner {
  background: var(--color-forest);
  color: var(--color-paper);
  padding: 64px 70px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 65px;
  align-items: center;
}
.rn-cta h2 {
  font-size: clamp(2.8rem, 4vw, 4rem);
}
.rn-cta p {
  font-size: var(--text-reading);
  line-height: 1.9;
}
.rn-cta .actions {
  grid-column: 2;
  margin-top: 5px;
}
.rn-cta .button-primary {
  background: var(--color-paper);
  border-color: var(--color-paper);
  color: var(--color-forest);
}
.rn-cta .button-primary:hover {
  background: var(--color-wash);
}
.rn-cta .button-outline {
  border-color: var(--color-paper);
  color: var(--color-paper);
}
.rn-cta .button-outline:hover {
  background: var(--color-sage);
}
.rn-cta a:focus-visible {
  outline-color: var(--color-paper);
}
@media (max-width: 1100px) {
  .rn-definition,
  .rn-working,
  .rn-energy-heading,
  .rn-faq-grid {
    gap: 45px;
  }
  .rn-working {
    padding: 38px;
  }
  .rn-cta-inner {
    padding: 45px;
    gap: 30px;
  }
}
@media (max-width: 850px) {
  .rn-definition {
    grid-template-columns: 1fr;
  }
  .rn-etymology {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
    margin-top: 0;
    padding: 30px;
    border-top-right-radius: 70px;
  }
  .rn-symbols {
    margin: 0;
    padding: 0;
    border: 0;
    gap: 25px;
  }
  .rn-symbols img {
    width: 65px;
    height: 65px;
  }
  .rn-etymology p {
    font-size: 23px;
  }
  .rn-working {
    grid-template-columns: 1fr;
  }
  .rn-energy-heading,
  .rn-faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .rn-cta-inner {
    grid-template-columns: 1fr;
  }
  .rn-cta .actions {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .rn-hero {
    padding: 48px 0 52px;
  }
  .rn-hero h1 {
    font-size: 5.1rem;
    margin-block: 18px 23px;
  }
  .rn-lead {
    font-size: 1.85rem;
  }
  .rn-hero .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .rn-definition {
    gap: 30px;
  }
  .rn-etymology {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 28px;
  }
  .rn-symbols {
    gap: 48px;
  }
  .rn-symbols img {
    width: 72px;
    height: 72px;
  }
  .rn-working {
    margin-top: 45px;
    padding: 28px 23px;
    gap: 26px;
  }
  .rn-energy {
    margin-top: 45px;
  }
  .reiki-energy-list {
    grid-template-columns: 1fr;
  }
  .reiki-energy-list li {
    gap: 18px;
    padding: 6px 0;
  }
  .rn-faq-grid {
    gap: 30px;
  }
  .rn-faq summary {
    font-size: var(--text-reading);
  }
  .rn-note {
    padding: 23px;
  }
  .rn-cta {
    padding-bottom: 64px;
  }
  .rn-cta-inner {
    padding: 32px 24px;
    gap: 25px;
  }
  .rn-cta .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Highlight the approved closing paragraph only on the Reiki Neked page. */
.reiki-page #reiki-segit .closing-quote {
  max-width: none;
  margin-top: 48px;
  padding: 42px 64px;
  background: var(--color-forest);
  color: var(--color-paper);
  border-radius: 4px;
}
@media (max-width: 640px) {
  .reiki-page #reiki-segit .closing-quote {
    margin-top: 32px;
    padding: 28px 23px;
    font-size: 23px;
  }
}

/* Active-page underline replaces, rather than duplicates, the hover indicator.
 * Apply this rule on every subsequent subpage with aria-current="page". */
#main-nav > a[aria-current="page"]::after { display: none; }

/* Opening photo: keep Barbara's face and hand positions visible. */
.rn-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; text-align: left; }
.rn-hero h1 { font-size: clamp(4.3rem, 5.8vw, 6rem); }
.rn-hero .rn-lead { font-size: clamp(1.8rem, 2.5vw, 2.3rem); }
.rn-hero .actions { justify-content: flex-start; }
.rn-hero-photo { height: 560px; overflow: hidden; border-radius: 260px 260px 4px 4px; background: var(--color-wash); }
.rn-hero-photo picture,.rn-hero-photo img { display: block; width: 100%; height: 100%; }
.rn-hero-photo img { object-fit: cover; object-position: 48% 54%; }
@media (max-width:1100px) and (min-width:851px) {
  .rn-hero-grid { gap: 38px; }
  .rn-hero-photo { height: 500px; }
}
@media (max-width:850px) {
  .rn-hero-grid { grid-template-columns: 1fr; gap: 38px; text-align: center; }
  .rn-hero .actions { justify-content: center; }
  .rn-hero-photo { width: 100%; max-width: 560px; height: auto; aspect-ratio: 9 / 10; margin-inline: auto; }
}
@media (max-width:640px) {
  .rn-hero h1 { font-size: 4.5rem; }
  .rn-hero .rn-lead { font-size: 1.85rem; }
  .rn-hero-photo { border-radius: 200px 200px 4px 4px; }
}

/* Gentle display-only colour balance; the original photograph is preserved. */
.rn-working { align-items: center; }
.rn-working-photo { height: 570px; overflow: hidden; border-radius: 4px 100px 4px 4px; background: var(--color-paper); }
.rn-working-photo picture,.rn-working-photo img { display: block; width: 100%; height: 100%; }
.rn-working-photo img { object-fit: cover; object-position: 50% 62%; filter: saturate(.84) sepia(.10); }
.rn-working-copy h2 { margin-bottom: 25px; }
@media (max-width:850px) {
  .rn-working-photo { height: auto; aspect-ratio: 3 / 4; }
}
@media (max-width:640px) {
  .rn-working-photo { border-top-right-radius: 70px; }
}

/* Approved equal title scale: preserve the existing Mi a Reiki? size at each breakpoint. */
.reiki-page { --rn-title-size: clamp(2.8rem, 4.5vw, 4.5rem); }
.reiki-page .rn-hero h1,
.reiki-page .rn-definition-copy h2 { font-size: var(--rn-title-size); }
@media(max-width:640px) {
 .reiki-page { --rn-title-size: 3rem; }
}

/* Standalone reordered sections already receive section-pad spacing. */
.rn-intro > .shell > .rn-working:first-child,
.rn-intro > .shell > .rn-energy:first-child { margin-top: 0; }

/* Approved contrasting backgrounds for the definition and Rei–Ki panel. */
.rn-definition-section { background: var(--color-wash); }
.rn-definition-section .rn-etymology { background: var(--color-paper); }

/* Mobile hero reading order: title, lead, arched photo, actions, meta. */
@media (max-width:640px) {
  .rn-hero-grid { row-gap:28px; }
  .rn-hero-copy { display:contents; }
  .rn-hero-copy > h1 { order:1; margin-bottom:0; }
  .rn-hero-copy > .rn-lead { order:2; }
  .rn-hero-grid > .rn-hero-photo { order:3; }
  .rn-hero-copy > .actions { order:4; margin-top:0; }
  .rn-hero-copy > .rn-meta { order:5; margin-top:0; }
}
