/* Our Inspiration page — page-specific layouts. Loaded after style.css and scoped with the in- prefix
   (the ab-line / ab-hero__cue helpers are repeated here so this page stands alone). */

.ab-line { display: inline-block; vertical-align: top; overflow: hidden; padding: 0.04em 0.08em 0.1em; margin: -0.04em -0.08em -0.1em; }
.ab-line__in { display: block; }
.ab-line--em { margin-left: 0.22em; }
.motion .ab-line__in { transform: translateY(108%); transition: transform 1.2s var(--ease) 0.25s; }
.motion .ab-line--em .ab-line__in { transition-delay: 0.45s; }
.motion .in-hero.is-in .ab-line__in { transform: none; }
.ab-hero__cue { position: absolute; left: var(--pad); bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); transition: color 0.3s; }
.ab-hero__cue::before { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--flame), transparent); }
.ab-hero__cue:hover { color: var(--flame); }

/* 1. Hero: same composition as About Us, a full-bleed photograph under a maroon shade */
.in-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(560px, 88vh, 820px); background: var(--footer); color: var(--base); }
.js .in-hero { margin-top: calc(var(--header-h) * -1); }
.in-hero .hero__media { position: absolute; inset: 0; z-index: -2; }
.in-hero__img { position: absolute; top: 0; left: 0; width: 100%; height: 136%; max-width: none; object-fit: cover; object-position: 62% 0; transform-origin: 50% 0; }
.motion .in-hero__img { animation: kenburns 10s var(--ease) both; }
.in-hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, rgba(3, 16, 40, 0.82) 0%, rgba(3, 16, 40, 0.6) 22%, rgba(3, 16, 40, 0.22) 48%, transparent 66%),
  linear-gradient(90deg, rgba(3, 16, 40, 0.38) 0%, transparent 42%),
  linear-gradient(180deg, rgba(8, 47, 99, 0.3) 0%, transparent 18%); }
.in-hero__inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 1rem + 4vw, 6rem); align-items: end; padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.in-hero__title { font-family: var(--display); font-size: clamp(3rem, 1.2rem + 7vw, 7.25rem); font-weight: 280; line-height: 0.95; letter-spacing: -0.04em; color: var(--base); }
.in-hero__title em { font-style: italic; font-weight: 260; color: var(--flame); }
.in-hero__lead { margin: 0; padding-left: clamp(1rem, 0.6rem + 1.2vw, 1.75rem); border-left: 2px solid var(--flame); font-family: var(--display); font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.15rem); font-weight: 330; line-height: 1.45; color: var(--base); }
.motion .in-hero__lead, .motion .in-hero .label { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) 0.7s, transform 1.1s var(--ease) 0.7s; }
.motion .in-hero.is-in .in-hero__lead, .motion .in-hero.is-in .label { opacity: 1; transform: none; }

/* The page body: the quotation, then three passages, each set differently */
.in-body { padding-block: var(--section); background: linear-gradient(180deg, var(--base) 0%, var(--flame-tint) 100%); }

/* The quotation: centred between two gold rules, a small diamond on each */
.in-quote { position: relative; max-width: 58rem; margin: 0 auto clamp(4rem, 3rem + 5vw, 8rem); padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) 0; text-align: center; border-block: 1px solid rgba(168, 98, 0, 0.5); }
.in-quote::before, .in-quote::after { content: ""; position: absolute; left: 50%; width: 11px; height: 11px; background: var(--flame); box-shadow: 0 0 0 4px var(--flame-tint), 0 0 0 5px var(--red); transform: translateX(-50%) rotate(45deg); }
.in-quote::before { top: -6px; }
.in-quote::after { bottom: -6px; }
.in-quote p { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 1rem + 2.3vw, 3rem); font-weight: 300; font-style: italic; line-height: 1.2; letter-spacing: -0.02em; color: var(--maroon); text-wrap: balance; }

/* Passage 1: the portrait on a gold frame, the sentence and the line beside it */
.in-one { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: center; }
.in-one__photo { position: relative; justify-self: center; width: min(100%, 440px); margin: 0; aspect-ratio: 4 / 5; border-radius: calc(var(--r-lg) * 1.25); background: var(--raised); }
.in-one__photo::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 2px solid var(--flame); border-radius: inherit; opacity: 0.8; }
.in-one__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: inherit; box-shadow: 0 1.5rem 3.5rem -2rem rgba(12, 74, 143, 0.55); }
.in-one__big { margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); font-size: clamp(1.7rem, 1.1rem + 2.1vw, 3rem); color: var(--ink); }
.in-one__big em { font-style: italic; color: var(--maroon); }
.in-one__aside { max-width: 30rem; margin: 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--flame); border-radius: 0 var(--r-lg) var(--r-lg) 0; background: #fff; font-family: var(--display); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); font-weight: 330; line-height: 1.4; color: var(--maroon); box-shadow: 0 1rem 2.5rem -2rem rgba(12, 74, 143, 0.45); }

/* Passage 2: one gold line from left to right, a diamond for each step; the work he did is the dark card between the two dates */
.in-time { margin-top: clamp(5rem, 3.5rem + 6vw, 9rem); }
.in-time__years { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 clamp(1.75rem, 1rem + 2.5vw, 3rem); font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 300; font-style: italic; color: var(--maroon); }
.in-time__years::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--flame), transparent); }
.in-time__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 2vw, 2.5rem); margin: 0; padding: clamp(2.25rem, 1.75rem + 2vw, 3rem) 0 0; list-style: none; }
.in-time__list::before { content: ""; position: absolute; top: 0.4rem; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--flame), var(--red)); }
.in-time__item { position: relative; align-self: stretch; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.in-time__item::before { content: ""; position: absolute; top: calc(clamp(2.25rem, 1.75rem + 2vw, 3rem) * -1 + 0.4rem - 5px); left: 1.5rem; width: 11px; height: 11px; background: var(--flame); box-shadow: 0 0 0 4px var(--flame-tint), 0 0 0 5px var(--red); transform: rotate(45deg); }
.in-time__item--work { border-color: transparent; color: var(--base); background: radial-gradient(60% 70% at 100% 0%, rgba(254, 182, 40, 0.22), transparent 70%), linear-gradient(140deg, var(--band) 0%, var(--footer) 100%); display: grid; align-content: center; }
.in-time__n { display: block; margin-bottom: 0.9rem; font-family: var(--display); font-size: clamp(3.2rem, 1.8rem + 5vw, 6.5rem); font-weight: 200; line-height: 0.9; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.4px var(--red); font-variant-numeric: lining-nums; }
.in-time__item p { margin: 0; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.65; color: var(--text); }
.in-time__item--work p { font-family: var(--display); font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem); font-weight: 320; line-height: 1.4; color: var(--base); }
.in-body strong { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--maroon); }

/* Passage 3: the two recognitions side by side, the second one in gold, then a dark closing panel */
.in-honor { margin-top: clamp(4rem, 3rem + 5vw, 8rem); }
.in-honor__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.in-honor__card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.5rem clamp(1.25rem, 1rem + 2vw, 2.5rem); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: calc(var(--r-lg) * 1.25); background: #fff; box-shadow: 0 1.25rem 3rem -2rem rgba(12, 74, 143, 0.4); }
.in-honor__card--saint { border-color: var(--flame); background: linear-gradient(140deg, #ffe7ae 0%, var(--flame) 100%); }
.in-honor__n { font-family: var(--display); font-size: clamp(2.75rem, 1.5rem + 4.5vw, 5.5rem); font-weight: 220; line-height: 0.9; letter-spacing: -0.05em; color: var(--red); font-variant-numeric: lining-nums; }
.in-honor__card--saint .in-honor__n { color: var(--maroon); }
.in-honor__card p { margin: 0; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); line-height: 1.65; color: var(--text); }
.in-honor__card--saint p { color: var(--band); }
.in-honor__legacy { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); padding: clamp(2.25rem, 1.5rem + 3.5vw, 5rem) clamp(1.5rem, 1rem + 4vw, 5.5rem); border-radius: calc(var(--r-lg) * 1.25); color: var(--base); background: radial-gradient(55% 70% at 100% 0%, rgba(254, 182, 40, 0.2), transparent 70%), linear-gradient(140deg, var(--band) 0%, var(--footer) 100%); }
.in-honor__crest { position: relative; display: grid; place-items: center; justify-self: center; width: min(100%, 240px); aspect-ratio: 1; }
.in-honor__crest::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(254, 182, 40, 0.5); }
.in-honor__crest::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(247, 244, 239, 0.25); }
.in-honor__crest img { position: relative; width: 52%; height: auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45)); }
.in-honor__text { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1.5vw, 2.25rem); font-weight: 320; line-height: 1.25; letter-spacing: -0.02em; color: var(--base); }

@media (max-width: 1000px) {
  .in-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .in-hero__lead { max-width: none; }
  .in-one { grid-template-columns: minmax(0, 1fr); }
  .in-one__photo { width: min(100%, 360px); margin-right: 1.1rem; }
  .in-time__list { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 2.25rem; }
  .in-time__list::before { top: 0; bottom: 0; left: 0.4rem; right: auto; width: 2px; height: auto; }
  .in-time__item::before { top: 1.75rem; left: calc(-2.25rem + 0.4rem - 5px + 1px); }
  .in-honor__legacy { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; row-gap: 1.5rem; }
  .in-honor__crest { width: 180px; }
}
@media (max-width: 700px) {
  .in-hero__title { font-size: clamp(2.5rem, 13vw, 4.25rem); }
  .in-honor__pair { grid-template-columns: minmax(0, 1fr); }
  .in-honor__card { grid-template-columns: minmax(0, 1fr); }
}
/* Phones: a lower hero banner, as on the other inner pages */
@media (max-width: 700px) {
  .in-hero { min-height: clamp(300px, 46vh, 380px); }
  .in-hero__inner { padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 1.75rem; gap: 1rem; }
  .in-hero__lead { font-size: 1rem; line-height: 1.4; }
}

/* Important Sayings of St Chavara: a maroon band with the sayings in numbered cards, three columns */
.ins-say { padding-block: var(--section); background: radial-gradient(55% 60% at 100% 0%, rgba(254, 182, 40, 0.18), transparent 70%), linear-gradient(160deg, var(--band) 0%, var(--footer) 100%); color: var(--base); }
.ins-say__title { margin: 0 0 clamp(1.75rem, 1.25rem + 2vw, 3rem); font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); font-weight: 350; line-height: 1.1; letter-spacing: -0.02em; color: var(--flame); }
.ins-say__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.85rem, 0.5rem + 1.2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.ins-say__card { position: relative; padding: clamp(1.25rem, 1rem + 1vw, 2rem); padding-top: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); border: 1px solid rgba(254, 182, 40, 0.28); border-radius: 1.1rem; background: rgba(255, 255, 255, 0.05); transition: background-color 0.3s, transform 0.4s var(--ease); }
.ins-say__card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-0.2rem); }
.ins-say__no { position: absolute; top: 1rem; left: clamp(1.25rem, 1rem + 1vw, 2rem); font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--flame); }
.ins-say__card p { margin: 0; font-family: var(--display); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); font-weight: 320; line-height: 1.45; text-wrap: pretty; }
@media (max-width: 1000px) { .ins-say__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ins-say__grid { grid-template-columns: minmax(0, 1fr); } }

/* the closing statement is its own section now, below the sayings */
.in-body--legacy .in-honor { margin-top: 0; }
.in-body--legacy .in-honor__legacy { margin-top: 0; }
/* same look as the About Us banner: the photograph a little brighter, words with a soft shadow, the italic word orange-yellow */
.in-hero__img { filter: brightness(1.14) saturate(1.06); }
.in-hero__title, .in-hero__lead, .in-hero .label { text-shadow: 0 1px 3px rgba(5, 28, 66, 0.55), 0 4px 26px rgba(5, 28, 66, 0.5); }
.in-hero__title em { background: linear-gradient(100deg, #FFC21A 0%, #FFA41B 55%, #FF8A1F 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none; filter: drop-shadow(0 1px 2px rgba(5, 28, 66, 0.45)); }

/* ---- Small title header for every inner page (no photograph): the same look as the Principal's Desk header.
   The banner photograph and its shade are hidden; the title, the small label and the short line stay. ---- */
.ab-hero.ab-hero, .in-hero.in-hero { position: relative; isolation: isolate; overflow: hidden; display: block; min-height: 0; margin-top: 0 !important; padding-block: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  background: radial-gradient(70% 140% at 100% 0%, rgba(27, 154, 239, .16) 0%, rgba(27, 154, 239, 0) 60%), radial-gradient(rgba(15, 108, 189, .16) 1.2px, transparent 1.6px) 0 0 / 18px 18px, linear-gradient(180deg, #F2F7FD 0%, var(--base) 100%);
  border-bottom: 1px solid var(--line); color: var(--ink); }
.ab-hero.ab-hero::after, .in-hero.in-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--flame), var(--red) 55%, transparent); }
.ab-hero.ab-hero::before, .in-hero.in-hero::before { content: ""; position: absolute; right: -6%; top: -60%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(254, 182, 40, .22) 0 1px, transparent 1px 14px); pointer-events: none; z-index: 0; }
.ab-hero .hero__media, .ab-hero__shade, .ab-hero__cue, .in-hero .hero__media, .in-hero__shade, .in-hero__cue { display: none !important; }
.ab-hero .ab-hero__inner, .in-hero .in-hero__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; min-height: 0; padding-top: 0 !important; padding-bottom: 0 !important; }
.ab-hero .label, .in-hero .label { margin-bottom: .7rem; color: var(--muted); text-shadow: none; }
.ab-hero .label::before, .in-hero .label::before { background: var(--flame); }
.ab-hero .ab-hero__title, .in-hero .in-hero__title { margin: 0; font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); text-shadow: none; }
.ab-hero .ab-hero__title em, .in-hero .in-hero__title em { font-style: italic; background: none; -webkit-text-fill-color: currentColor; color: var(--maroon); }
.ab-hero .ab-line, .in-hero .ab-line { display: inline; }
.ab-hero .ab-line + .ab-line::before, .in-hero .ab-line + .ab-line::before { content: " "; }
.ab-hero .ab-line__in, .in-hero .ab-line__in { display: inline; }
.ab-hero .ab-hero__lead, .in-hero .in-hero__lead { max-width: 30rem; margin: 0; padding-left: 1rem; border-left: 2px solid var(--flame); font-family: var(--display); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.4; color: var(--text); text-shadow: none; }
.ab-hero .ab-hero__lead span, .in-hero .in-hero__lead span { color: var(--ink); }
@media (max-width: 640px) { .ab-hero .ab-hero__inner, .in-hero .in-hero__inner { align-items: flex-start; } .ab-hero .ab-hero__title, .in-hero .in-hero__title { font-size: clamp(1.8rem, 1.2rem + 4vw, 2.4rem); } }
