/* Our Motto page. The hero banner comes from about.css (same as the other inner pages).
   Every class here starts with mt- so no other page is touched. */

/* 1. The motto: very large, left aligned, with "Inner Eye" lit by a gold highlight and a soft glow of light behind it */
.mt-motto { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); background: var(--base); }
.mt-motto::before { content: ""; position: absolute; z-index: -1; left: -10%; top: 50%; width: min(64vw, 780px); transform: translateY(-50%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(254, 182, 40, 0.34) 0%, rgba(254, 182, 40, 0.12) 38%, transparent 66%); }
.mt-motto::after { content: ""; position: absolute; z-index: -1; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--line); }
.mt-motto__text { margin: 0; font-family: var(--display); font-size: clamp(2.4rem, 0.9rem + 5.2vw, 6.4rem); font-weight: 280; line-height: 1; letter-spacing: -0.04em; color: var(--maroon); }
.mt-motto__a, .mt-motto__b { display: block; }
.mt-motto__b { font-style: italic; font-weight: 260; color: var(--red); }
.mt-motto__mark { display: inline-block; padding-inline: 0.06em; background: linear-gradient(transparent 64%, rgba(254, 182, 40, 0.6) 64% 92%, transparent 92%) no-repeat left / 100% 100%; }

/* 2. The motto at the left, its meaning at the right, in one section */
.mt-motto__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.mt-motto__meaning { position: relative; margin: 0; padding-top: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-family: var(--display); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); font-weight: 330; line-height: 1.6; letter-spacing: -0.005em; color: var(--ink); text-wrap: pretty; }
.mt-motto__meaning::before { content: ""; position: absolute; left: 0; top: 0; width: 4.5rem; height: 3px; background: linear-gradient(90deg, var(--flame), var(--red)); }


/* 4. Motion: only when the visitor has not asked for reduced motion (main.js adds .motion).
   The highlight's resting state is fully drawn, so nothing jumps when main.js removes .is-in. */
.motion .mt-motto__text.is-in .mt-motto__mark { animation: mt-sweep 1.4s var(--ease) 0.5s both; }
@keyframes mt-sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* 5. Responsive */
@media (max-width: 1000px) {
  .mt-motto__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; }
}

/* Our Motto, fifth design: a dark maroon band with a soft gold glow. The headline (the motto) is at the left, the meaning is a cream box at the right with a large gold quotation mark on its top edge. */
.mt-motto { background: radial-gradient(60% 70% at 15% 0%, rgba(254, 182, 40, 0.32), transparent 72%), linear-gradient(170deg, var(--band) 0%, var(--footer) 100%); color: var(--on-dark); text-align: left; padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); }
.mt-motto::before, .mt-motto::after { content: none; }
.mt-motto__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; justify-items: stretch; }
.mt-motto__frame { position: relative; width: auto; max-width: none; padding: 0; border: 0; }
.mt-motto__frame::before, .mt-motto__frame::after { content: none; }
.mt-motto .label { display: inline-flex; justify-content: flex-start; margin-bottom: clamp(1rem, 0.75rem + 1.2vw, 2rem); padding: 0.4rem 1.1rem; border: 1px solid rgba(254, 182, 40, 0.6); border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.26em; color: var(--flame); }
.mt-motto .label::before { content: none; }
.mt-motto__text { font-size: clamp(2.2rem, 0.9rem + 3.4vw, 4.4rem); color: var(--base); }
.mt-motto__b { color: var(--flame); }
.mt-motto__mark { background: none; text-shadow: 0 0 0.45em rgba(254, 182, 40, 0.65), 0 0 1.2em rgba(254, 182, 40, 0.35); }
.mt-motto__meaning { position: relative; width: auto; margin: 0; padding: clamp(2.5rem, 2rem + 2.5vw, 4.25rem) clamp(1.5rem, 1rem + 2.5vw, 3.25rem) clamp(1.75rem, 1.25rem + 2vw, 3rem); border: 0; border-radius: calc(var(--r-lg) * 1.5); background: var(--base); text-align: left; font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem); line-height: 1.75; color: var(--text); column-count: 1; box-shadow: 0 2.5rem 5rem -2.5rem rgba(0, 0, 0, 0.7); }
.mt-motto__meaning::before { content: "\201C"; position: absolute; left: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); top: clamp(-1.75rem, -0.5rem - 1vw, -0.75rem); display: block; width: auto; height: auto; margin: 0; font-family: var(--display); font-size: clamp(5rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--flame); background: none; }
@media (max-width: 1000px) { .mt-motto__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }
