/* ---------- Vision & Mission page (hero and breadcrumb styles come from history.css) ---------- */

/* The hero's curved bottom edge takes the colour of the section below it (no white gap) */

.page-principal .h-hero::after { background: var(--c-soft, #f6f2eb); }

/* Tighter space around the curve: less padding under the hero text and above the next section */
.page-vision .h-hero__content,
.page-principal .h-hero__content,
.page-management .h-hero__content { padding-bottom: calc(var(--h-curve) + 1.5rem); }

.page-vision .h-hero + .section,
.page-principal .h-hero + .section,
.page-management .h-hero + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Headline on one line (wraps naturally on small screens) */
.page-vision .h-hero__line { display: inline; white-space: normal; }
@media (min-width: 640px) { .page-vision .h-hero__line { white-space: nowrap; } }

/* Our Vision: a wide photograph, the statement on a white panel laid over its lower edge, the six pillars ruled beneath. */
.v-vision { background: var(--c-soft); }
.vv-photo { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 6px; }
.vv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.vv-panel { position: relative; width: min(100%, 52rem); margin: clamp(-5.5rem, -7vw, -2.5rem) 0 0 clamp(0rem, 5vw, 4.5rem); padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.25rem); background: var(--c-white); border-top: 4px solid var(--c-gold-500); border-radius: 0 0 6px 6px; box-shadow: 0 30px 50px -36px rgb(var(--rgb-maroon-950) / 0.6); }
.vv-label { margin: 0 0 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold-700); }
.vv-text { margin: 0; }
.vv-text p { margin: 0; font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); font-weight: 500; line-height: 1.45; color: var(--c-maroon-900); }

.vv-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; border-top: 2px solid var(--c-maroon-900); }
.vv-pillars li { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgb(var(--rgb-gold-700) / 0.3); }
.vv-pillars__no { flex: none; font-family: var(--f-serif); font-size-adjust: 0.4; font-size: 1.1rem; font-weight: 600; color: var(--c-gold-700); }
.vv-pillars__name { font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 600; line-height: 1.25; color: var(--c-maroon-900); }

.v-motto {
    color: rgb(255 255 255 / 0.88);
    background: var(--c-gold-700);
}

.v-motto__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.v-motto__title { font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(2.8rem, 1.4rem + 5vw, 5.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.015em; color: var(--c-white); }
.v-motto__title span { display: block; }
.v-motto__title span:last-child { font-style: italic; font-weight: 500; color: var(--c-gold-300); }
.v-motto__text { font-size: 1.0625rem; line-height: 1.75; }

.v-quote { margin: 2rem 0 0; padding-left: 1.5rem; border-left: 3px solid var(--c-gold-500); }
.v-quote blockquote { margin: 0; font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-style: italic; line-height: 1.3; color: var(--c-white); }
.v-quote figcaption { margin-top: 0.9rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold-300); }

/* Our Mission: a dark band. The aims as a numbered list in two columns on the left, one photograph on the right. */
.v-mission { color: rgb(255 255 255 / 0.86); background: linear-gradient(160deg, var(--c-maroon-800) 0%, var(--c-maroon-950) 100%); }
.vm-grid { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vm-head { display: grid; justify-items: start; gap: 1rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.vm-head .eyebrow::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.vm-head .h2 { color: var(--c-white); }

.vm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.75rem); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.3); }
.vm-list__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1rem; align-content: start; padding: 1.1rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.16); }
.vm-list__item p { margin: 0; line-height: 1.55; color: var(--c-white); }
.vm-list__no { font-family: var(--f-serif); font-size-adjust: 0.4; font-size: 1.15rem; font-weight: 600; color: var(--c-gold-300); font-variant-numeric: tabular-nums; }
.vm-list__item--wide { grid-column: 1 / -1; }
.vm-outcomes { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.vm-outcomes li { padding: 0.45rem 1rem; font-size: 0.82rem; font-weight: 700; color: var(--c-maroon-950); background: var(--c-gold-500); border-radius: 999px; }

.vm-photo { position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; }
.vm-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px !important; box-shadow: 0 30px 50px -30px rgb(0 0 0 / 0.7); }

@media (max-width: 960px) {
    .vm-grid { grid-template-columns: 1fr; }
    .vm-photo { position: static; order: -1; }
    .vm-photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
    .vv-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vv-panel { margin-left: 0; }
    .vm-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .vv-pillars { grid-template-columns: 1fr; } .vv-photo { aspect-ratio: 4 / 3; } }

.v-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--c-line); list-style: none; }

.v-links--dark { justify-content: flex-start; margin-top: 2.5rem; border-top-color: rgb(255 255 255 / 0.2); }
.v-links--dark .link-arrow { color: var(--c-gold-300); }

@media (max-width: 860px) {
    .v-motto__grid { grid-template-columns: 1fr; }
    .v-steps { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
    .v-steps__item:nth-child(6) { border-top: 0; }
    .v-steps__item--wide { grid-row: auto; }
}
@media (max-width: 640px) {
    .v-steps__item { grid-template-columns: 2.6rem minmax(0, 1fr); }
    .v-outcomes { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Our Vision: the statement centred in large type, the six pillars on a line of numbered dots, then one wide photograph.
   ========================================================================== */
.v-vision { background: var(--c-soft); }
.vz { display: grid; }
.vz__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vz__copy { display: grid; justify-items: start; text-align: left; }
.vz__label { display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1.5rem; padding: 0.4rem 1.1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold-700); background: var(--c-white); border: 1px solid rgb(var(--rgb-gold-700) / 0.35); border-radius: 999px; }
.vz__text { margin: 0; }
.vz__text p { margin: 0; font-family: var(--f-sans); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); font-weight: 400; line-height: 1.85; letter-spacing: 0; color: var(--c-ink); }

.vz__pillars { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; width: 100%; margin: clamp(2.5rem, 5vw, 4rem) 0; padding: 0; list-style: none; }
/* the line the dots sit on */
.vz__pillars::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 1.3rem; height: 2px; background: linear-gradient(90deg, var(--c-gold-500), var(--c-maroon-800)); opacity: 0.35; }
.vz__pillars li { position: relative; display: grid; justify-items: center; gap: 0.9rem; text-align: center; }
.vz__dot { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; font-size: 0.95rem; font-weight: 700; color: var(--c-white); background: var(--c-maroon-800); border: 4px solid var(--c-soft); border-radius: 50%; box-shadow: 0 0 0 2px var(--c-gold-500); transition: transform 0.25s var(--ease), background-color 0.25s ease; }
.vz__pillars li:hover .vz__dot { transform: scale(1.12); background: var(--c-gold-700); }
.vz__name { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--c-maroon-900); }

.vz__photo { width: 100%; margin: 0; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 28px; box-shadow: var(--soft-shadow, 0 14px 36px -16px rgb(25 47 37 / 0.16)); }
.vz__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }

@media (max-width: 900px) {
    .vz__top { grid-template-columns: 1fr; }
    .vz__pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.75rem; }
    .vz__pillars::before { display: none; }
}
@media (max-width: 520px) { .vz__pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vz__photo { aspect-ratio: 4 / 3; } }

/* Our Vision, with more presence: the statement on a white card that overlaps the photograph, a teal quotation badge on the
   card's edge, and a pale teal block offset behind the photograph. */
.vz__top { position: relative; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; }
.vz__photo { position: relative; z-index: 0; box-shadow: 1.5rem 1.5rem 0 0 rgb(var(--rgb-gold-500) / 0.22), var(--soft-shadow, 0 14px 36px -16px rgb(25 47 37 / 0.16)) !important; }
.vz__copy { position: relative; z-index: 1; margin-left: clamp(-6rem, -7vw, -2rem); padding: clamp(2.25rem, 4vw, 3.5rem) clamp(1.5rem, 3.5vw, 3rem) clamp(1.75rem, 3.5vw, 2.75rem); background: var(--c-white); border-radius: 28px; box-shadow: 0 24px 60px -24px rgb(25 47 37 / 0.22); }
.vz__copy::before { content: "“"; position: absolute; left: clamp(1.5rem, 3.5vw, 3rem); top: -1.6rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; padding-top: 0.55rem; font-family: var(--f-serif); font-size: 3rem; line-height: 1; color: var(--c-white); background: var(--c-gold-500); border-radius: 50%; box-shadow: 0 10px 24px -10px rgb(var(--rgb-gold-500) / 0.7); }
.vz__label { margin-top: 0.5rem; }
.vz__text p { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.85; }

@media (max-width: 900px) {
    .vz__top { grid-template-columns: 1fr; }
    .vz__photo { box-shadow: 1rem 1rem 0 0 rgb(var(--rgb-gold-500) / 0.22) !important; margin-right: 1rem; }
    .vz__copy { margin: -2.5rem 0.5rem 0; }
}

/* a shorter photograph beside the statement */
.vz__photo { aspect-ratio: 4 / 3; }
.vz__photo img { object-position: 50% 35%; }

/* ==========================================================================
   Our Motto, redesigned: a light section. The motto sits large on a rounded teal panel on the left; on the right the
   description, the founder's quotation on a soft card, and the page links as pill buttons.
   ========================================================================== */
.v-motto { color: var(--c-text); background: var(--c-white); }
.v-motto__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.v-motto__grid > div:first-child { position: relative; display: grid; align-content: center; gap: 1.25rem; padding: clamp(2rem, 4vw, 3.5rem); overflow: hidden; color: var(--c-white); background: var(--c-gold-700); border-radius: 32px; }
.v-motto__grid > div:first-child::after { content: ""; position: absolute; right: -5rem; top: -5rem; width: 18rem; aspect-ratio: 1; border: 2px solid rgb(255 255 255 / 0.14); border-radius: 50%; pointer-events: none; }
.v-motto__grid > div:first-child::before { content: ""; position: absolute; right: -2rem; top: -2rem; width: 11rem; aspect-ratio: 1; border: 2px solid rgb(255 255 255 / 0.1); border-radius: 50%; pointer-events: none; }
.v-motto .eyebrow--light { color: var(--c-white); }
.v-motto__title { position: relative; margin: 0; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
.v-motto__title span:last-child { font-style: normal; font-weight: 700; color: var(--c-gold-200); }

.v-motto__grid > div:last-child { display: grid; align-content: center; gap: 1.5rem; }
.v-motto__text { margin: 0; font-size: 1.125rem; line-height: 1.8; color: var(--c-ink); }
.v-quote { margin: 0; padding: 1.5rem 1.75rem; background: var(--c-soft); border-left: 4px solid var(--c-gold-500); border-radius: 0 20px 20px 0; }
.v-quote blockquote { font-family: var(--f-sans); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-style: normal; font-weight: 600; line-height: 1.45; color: var(--c-maroon-900); }
.v-quote figcaption { color: var(--c-gold-700); }
.v-links--dark { gap: 0.6rem; margin: 0; padding: 0; border-top: 0; }
.v-links--dark .link-arrow { padding: 0.6rem 1.15rem; font-size: 0.875rem; color: var(--c-maroon-800); border: 1px solid rgb(var(--rgb-gold-700) / 0.4); border-radius: 999px; }
.v-links--dark .link-arrow:hover { color: var(--c-white); background: var(--c-maroon-800); border-color: var(--c-maroon-800); }

@media (max-width: 900px) { .v-motto__grid { grid-template-columns: 1fr; } }

/* the quotation, a little larger */
.v-quote blockquote { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.v-quote { padding: 1.75rem 2rem; }
