/*
Theme Name: HAYBA Academy of Speakers
Theme URI: https://hayba-academy.com/
Author: HAYBA Academy of Speakers
Description: HAYBA Academy website based on approved Design B, with About, Academy, and Bespoke pages.
Version: 3.12.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: hayba-academy
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800&display=swap');
:root{--navy:#0b2030;--navy2:#132f43;--ink:#142b39;--pale:#e9eff2;--white:#fff;--soft:#f6f7f5;--mist:#c6d8e1;--muted:#546d79;--line:#bdcbd2;--gold:#c9b793;--wrap:1180px;--font:Inter,'Helvetica Neue',Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}body{margin:0;background:var(--soft);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;line-height:1.6}
img{max-width:100%;display:block}a{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #98c4db;outline-offset:4px}
.wrap{max-width:var(--wrap);margin:auto;width:calc(100% - 96px)}
.skip{position:absolute;top:-100px;left:18px;z-index:1000;background:#fff;padding:12px}.skip:focus{top:15px}
.sitehead{height:106px;background:white;border-bottom:1px solid #e0e6e8;position:relative;z-index:10}
.headrow{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:inline-flex;flex-direction:column;text-decoration:none;white-space:nowrap;color:var(--navy);line-height:1}
.logo strong{font-size:31px;font-weight:800;letter-spacing:.18em;margin-right:-.18em}
.logo span{font-size:9.5px;font-weight:700;letter-spacing:.255em;margin-top:7px}
nav.primary{display:flex;align-items:center;gap:24px;font-size:11px;font-weight:650;letter-spacing:.025em}
nav.primary a{text-decoration:none}nav.primary a:hover{text-decoration:underline;text-underline-offset:5px}
nav.primary .nav-enquiry{padding:14px 20px;border:1px solid var(--navy);font-size:10px;text-transform:uppercase;letter-spacing:.15em}
nav.primary .nav-enquiry:hover{color:white;background:var(--navy);text-decoration:none}
.section-kicker,.eyebrow{font-size:10px;line-height:1.5;font-weight:750;letter-spacing:.2em;text-transform:uppercase;color:#688593}
.section-kicker{margin:0 0 21px}.eyebrow{color:#a9c7d6}
.eyebrow:before{content:'';display:inline-block;vertical-align:middle;height:1px;background:var(--gold);width:28px;margin-right:12px;transform:translateY(-2px)}
h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.045em}h1{font-weight:650;font-size:clamp(50px,5.9vw,80px)}h2{font-size:clamp(33px,4vw,54px);font-weight:650}h3{font-size:clamp(20px,2.2vw,28px);font-weight:650}
.section{padding:96px 0;scroll-margin-top:30px} .section--light{background:var(--soft)}.section--white{background:white}.section--pale{background:var(--pale)}.section--navy{background:var(--navy);color:white}
.lead{font-size:17px;line-height:1.82;color:var(--muted)}.lead-light{color:#cadae2}.copy{font-size:15px;line-height:1.8;color:#506b79}.small{font-size:13px;line-height:1.75;color:#5f7882}
.btn{display:inline-flex;align-items:center;gap:40px;justify-content:space-between;border:1px solid white;background:white;color:var(--navy);text-decoration:none;font-size:10px;letter-spacing:.12em;font-weight:800;text-transform:uppercase;padding:18px 21px;min-height:51px;white-space:nowrap}
.btn:after{content:'↗';font-size:18px;line-height:1;font-weight:400}.btn:hover{background:#dce9ee}
.btn-outline{background:transparent;color:white;border-color:rgba(255,255,255,.5)}.btn-outline:hover{background:#fff;color:var(--navy)}.btn-dark{background:var(--navy);color:white;border-color:var(--navy)}.btn-dark:hover{background:#193f55;color:white}
.hero{background:var(--navy);color:white}.hero-wrap{display:grid;grid-template-columns:56% 44%;min-height:635px}.hero-copy{padding:82px 52px 85px 0;display:flex;flex-direction:column;justify-content:center}.hero h1{max-width:650px;margin:35px 0 25px}.hero h1 em{font-style:normal;color:#b0cad8}.hero p.desc{font-size:16px;line-height:1.8;max-width:550px;color:#d4e0e6}.hero-photo{position:relative;min-height:570px;background:#184056;overflow:hidden}.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 50%}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,17,28,.36),transparent 50%)}.hero-tags{border-top:1px solid rgba(255,255,255,.16);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-weight:650;color:#b7cbd5}.hero-tags i{font-style:normal;color:var(--gold)}.hero-cta{display:flex;flex-wrap:wrap;gap:15px;margin-top:28px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:76px}.two-tight{gap:48px}.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.intro-title{max-width:580px}.intro-copy p+p{margin-top:20px}
.image-split{display:grid;grid-template-columns:51% 49%;background:var(--navy2);color:white;min-height:535px}.image-split .photo{height:100%;min-height:430px;position:relative}.image-split .photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.image-split .image-copy{padding:85px min(7vw,95px);display:flex;flex-direction:column;justify-content:center}.image-split p{color:#cad8e1;line-height:1.75;font-size:15px}.image-split h2{color:white}
.pillar{padding:26px 0;border-top:1px solid #aabfc9}.pillar .topline{color:#65818e;font-size:10px;letter-spacing:.15em;font-weight:800;text-transform:uppercase}.pillar h3{margin:17px 0 11px}.pillar p{font-size:14px;color:#536f7a;line-height:1.75;margin-bottom:0}
.statbar{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #b1c4ce;border-bottom:1px solid #b1c4ce;margin:41px 0}.stat{padding:26px}.stat:first-child{padding-left:0}.stat+.stat{border-left:1px solid #b1c4ce}.stat strong{display:block;font-size:36px;line-height:1.2;letter-spacing:-.03em}.stat span{font-size:13px;color:#516d7a}
.card{background:white;border:1px solid #d0dce1;padding:30px 28px}.card .number{font-size:11px;color:#688999;letter-spacing:.15em}.card h3{font-size:22px;margin:28px 0 13px}.card p{font-size:14px;color:#58707c;line-height:1.7;margin:0}
.actionband{display:flex;align-items:center;justify-content:space-between;gap:30px;border-top:1px solid #c2d0d7;padding-top:28px;margin-top:35px}.actionband p{margin:0;max-width:730px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:36px}.step{padding:24px 0;border-top:2px solid #a3b9c4}.step span{font-size:10px;letter-spacing:.16em;color:#7b98a5;font-weight:800}.step h3{font-size:21px;margin:18px 0 11px}.step p{font-size:14px;color:#536d78;line-height:1.7}
.photo-full{position:relative;min-height:370px;background:var(--navy);overflow:hidden}.photo-full img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.photo-full:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,21,33,.75),rgba(7,21,33,.1) 75%)}.photo-full-content{position:relative;z-index:2;padding:95px 0;color:white}.photo-full-content h2{font-size:clamp(43px,5.5vw,76px);max-width:620px}
.day{padding:85px 0;border-bottom:1px solid #d4dee3;background:white;scroll-margin-top:30px}.day:nth-child(even){background:var(--soft)}.day-head{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:64px;margin-bottom:42px}.day h2{font-size:clamp(42px,5vw,70px);margin:0 0 14px}.day-outcome{border-left:2px solid var(--gold);padding:0 0 0 30px;margin:10px 0 0}.day-outcome .mini{font-size:11px;letter-spacing:.15em;color:#617f90;font-weight:800;text-transform:uppercase}.day-outcome strong{display:block;font-size:20px;line-height:1.45;margin-top:10px;max-width:550px}
.modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 45px}.module{display:flex;gap:21px;align-items:flex-start;padding:25px 0;border-top:1px solid #d5e1e5}.module .n{font-weight:700;color:#b9c7cd;font-size:42px;line-height:1;min-width:56px}.module h3{font-size:19px;letter-spacing:-.025em;margin:0 0 9px}.module p{font-size:14px;color:#54707c;line-height:1.72;margin:0}
.outputs{display:grid;grid-template-columns:1fr 1.35fr;gap:72px}.outlist{list-style:none;margin:0;padding:0;display:grid;gap:17px}.outlist li{position:relative;padding-left:29px;color:#4e6875;line-height:1.68;font-size:15px}.outlist li:before{content:'◆';color:#7794a2;position:absolute;left:0;top:2px;font-size:13px}
.person{display:grid;grid-template-columns:42% 58%;background:white;border:1px solid #d0dce1;overflow:hidden;min-height:330px}.person .photo{height:100%;min-height:340px}.person .photo img{width:100%;height:100%;object-fit:cover;object-position:center 23%}.person .bio{padding:29px}.person h3{font-size:24px;margin:12px 0 17px}.person p{font-size:12.7px;line-height:1.7;color:#506d79;margin:0 0 11px}.person .role{color:#7c9aaa;text-transform:uppercase;letter-spacing:.17em;font-size:10px;font-weight:800}
.quote{padding:34px 10%;margin-top:34px;background:#e5ecef;text-align:center;font-size:23px;line-height:1.5;font-weight:650;letter-spacing:-.028em}
.bespoke-card{padding:30px 30px 35px;border:1px solid #cfdae0;background:white}.bespoke-card h3{margin:0 0 20px}.bespoke-card p{font-size:15px;line-height:1.8;color:#536e7a;margin:0}
.divider{border:0;border-top:1px solid #b8cbd4;margin:39px 0}
.faculty-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.faculty{border-top:2px solid #a2b7c2;padding-top:17px}.faculty img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center 28%;margin-bottom:17px;filter:saturate(.82)}.faculty h3{font-size:18px;line-height:1.35;letter-spacing:-.02em;margin:0 0 4px}.faculty strong{font-size:12px;line-height:1.4;display:block;margin-bottom:11px}.faculty p{font-size:12px;color:#586f7b;line-height:1.6}
.contact-section{padding:100px 0;background:var(--navy);color:white}.contact-grid{display:grid;grid-template-columns:1fr auto;gap:60px;align-items:end}.contact-section h2{font-size:clamp(40px,5vw,66px);color:white}.contact-section p{color:#cadce5}.contact-section .btn{min-width:230px}.foot{background:#071826;color:#a6beca;padding:24px 0}.foot-row{display:flex;justify-content:space-between;gap:35px;flex-wrap:wrap;font-size:12px}.foot a{text-decoration:none;color:#d1e3eb}.foot a:hover{text-decoration:underline}
.holding-block{min-height:calc(100vh - 160px);display:grid;grid-template-columns:minmax(0,57%) minmax(0,43%);background:var(--navy);color:white}.holding-content{padding:110px 8vw 70px max(48px,calc((100vw - var(--wrap))/2));display:flex;flex-direction:column;justify-content:center}.holding-content h1{max-width:730px;margin:35px 0 25px}.holding-content h1 em{font-style:normal;color:#bad1dc}.holding-content p{color:#d0e0e7;line-height:1.8;max-width:590px;font-size:17px}.holding-photo{min-height:610px;position:relative}.holding-photo img{height:100%;width:100%;object-fit:cover;object-position:62% 55%;position:absolute;inset:0}.holding-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,32,48,.2),transparent 35%)}.holding-meta{padding:20px 0;background:#102c40;color:#b4cad6;font-size:11px;letter-spacing:.13em;text-transform:uppercase}.holding-meta .wrap{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.holding-content .opening{margin-bottom:34px}.holding-note{font-size:13px!important;color:#a9c6d4!important;margin-top:36px}.holding-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
@media(max-width:1080px){.wrap{width:calc(100% - 64px)}nav.primary{gap:15px}.hero-wrap{grid-template-columns:58% 42%}.hero-copy{padding-right:30px}.two{gap:48px}.faculty-grid{grid-template-columns:repeat(3,1fr)}.image-split .image-copy{padding:65px 40px}.holding-content{padding-left:34px;padding-right:28px}}
@media(max-width:760px){.actionband{display:block}.actionband .btn{margin-top:20px;max-width:100%}.wrap{width:calc(100% - 40px)}.sitehead{height:88px}.logo strong{font-size:27px}.logo span{font-size:8.6px}.primary a:not(.nav-enquiry){display:none}.primary .nav-enquiry{padding:11px 13px}.hero-wrap{display:block}.hero-copy{padding:72px 0 63px}.hero-photo{min-height:350px}.hero h1{font-size:clamp(48px,10vw,69px);margin:30px 0 20px}.hero-tags{flex-wrap:wrap;justify-content:flex-start}.hero-tags i{display:none}.section{padding:64px 0}.two,.three,.four,.image-split,.steps,.day-head,.outputs,.modules,.contact-grid{grid-template-columns:1fr}.two{gap:24px}.two-tight{gap:20px}.image-split .photo{min-height:300px}.image-split .image-copy{padding:55px 24px}.statbar{gap:0}.stat{padding:19px 12px}.stat:first-child{padding-left:0}.stat strong{font-size:28px}.stat span{font-size:11px}.card{padding:24px}.steps{gap:9px}.day{padding:65px 0}.day-head{gap:20px}.day-outcome{padding-left:21px}.modules{gap:0}.module .n{min-width:45px;font-size:36px}.person{grid-template-columns:38% 62%;min-height:0}.person .photo{min-height:280px}.person .bio{padding:20px}.person p{font-size:12px}.faculty-grid{grid-template-columns:repeat(2,1fr)}.holding-block{display:flex;flex-direction:column}.holding-content{padding:75px 22px}.holding-content h1{font-size:clamp(50px,10vw,70px)}.holding-photo{min-height:340px}.holding-meta .wrap{display:block}.contact-grid .btn{width:max-content}.photo-full-content{padding:75px 0}}
@media(max-width:440px){.logo strong{font-size:24px}.logo span{font-size:7.3px}.sitehead{height:83px}.primary .nav-enquiry{font-size:9px}.statbar{grid-template-columns:1fr;margin:28px 0}.stat{border-left:0!important;border-top:1px solid #b1c4ce;padding:18px 0!important}.stat:first-child{border-top:0}.faculty-grid{grid-template-columns:1fr}.person{display:block}.person .photo{height:270px}.person .bio{padding:26px}.day h2{font-size:42px}.section h2{font-size:36px}.hero-tags{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* HAYBA header exploration: preserve all brochure-derived content. */
.btn::after{content:none!important}
.icon-arrow{width:20px;height:20px;display:block;flex:0 0 20px;stroke:currentColor;transition:transform .2s ease}
.btn{font-size:11px;gap:24px;justify-content:space-between;padding:16px 19px;line-height:1.3}
.btn .icon-arrow{width:22px;height:22px;flex-basis:22px}
.btn:hover .icon-arrow,.nav-enquiry:hover .icon-arrow{transform:translate(3px,-3px)}
.nav-enquiry{display:inline-flex!important;align-items:center;gap:10px;justify-content:space-between}
.nav-enquiry .icon-arrow{width:17px;height:17px;flex-basis:17px}
@media(max-width:760px){.hero-cta .btn{font-size:11px;padding:17px 20px;letter-spacing:.095em;min-height:56px;max-width:100%}.hero-cta .btn .icon-arrow{width:23px;height:23px;flex-basis:23px}}
@media(max-width:440px){.hero-cta{gap:12px}.hero-cta .btn{width:min(100%,335px);max-width:none;min-height:56px}}

/* Editorial: elevated white wordmark, restrained enquiry */
.variant-b{height:132px;background:#fff;border-bottom:1px solid #d5dfe4}
.variant-b .headrow{align-items:center}
.variant-b .brandlock{display:flex;align-items:center;gap:24px}
.variant-b .logo strong{font-size:55px;letter-spacing:.12em;font-weight:800;margin-right:-.12em}
.variant-b .logo span{font-size:11px;letter-spacing:.25em;margin-top:8px}
.variant-b .brand-rule{width:1px;height:58px;background:#c5d0d4;display:block}
.variant-b nav.primary{gap:17px;font-size:11px}
.variant-b .nav-enquiry{background:var(--navy);color:white;border:1px solid var(--navy);font-size:10px;padding:14px 15px;gap:13px}
.variant-b .nav-enquiry:hover{background:#244052;color:#fff}
@media(max-width:1080px){.variant-b nav.primary a:not(.nav-enquiry){display:none}.variant-b .brand-rule{display:none}}
@media(max-width:760px){.variant-b{height:auto}.variant-b .headrow{min-height:115px;gap:10px}.variant-b .logo strong{font-size:49px}.variant-b .logo span{font-size:10px;margin-top:7px}.variant-b .nav-enquiry{padding:11px!important;border:1px solid var(--navy)}.variant-b .nav-enquiry span{display:none}.variant-b .nav-enquiry .icon-arrow{width:24px;height:24px;flex-basis:24px}}
@media(max-width:440px){.variant-b .headrow{min-height:113px}.variant-b .logo strong{font-size:48px;letter-spacing:.13em;margin-right:-.13em}.variant-b .logo span{font-size:9.5px;letter-spacing:.2em}}

/* Approved voice update: give the longer, qualified headline proper space. */
.hero h1{font-size:clamp(43px,4.15vw,61px);font-weight:650;line-height:1.14;letter-spacing:-.047em;max-width:650px;margin:26px 0 24px;text-wrap:balance}
.hero h1 em{font-style:normal;color:#b0cad8}
.hero p.desc{font-size:15.5px;line-height:1.75;max-width:565px}
.hero-copy{padding-top:65px;padding-bottom:65px}
.hero-cta .btn{gap:18px}
@media(max-width:760px){.hero h1{font-size:clamp(38px,8.5vw,52px);line-height:1.15;margin:25px 0 20px;text-wrap:pretty}.hero-copy{padding:55px 0 56px}.hero p.desc{font-size:15px;line-height:1.7}}
@media(max-width:440px){.hero h1{font-size:clamp(35px,9.15vw,41px)}.hero-copy{padding:52px 0 48px}.hero-cta .btn{width:100%;max-width:none}}

/* HAYBA — two-page organisation, without altering the approved visual identity. */
.academy-more{margin-top:32px}
.text-cta{display:inline-flex;align-items:center;gap:16px;color:var(--navy);font-weight:760;letter-spacing:.09em;text-decoration:none;text-transform:uppercase;font-size:11px;border-bottom:1px solid currentColor;padding-bottom:11px}
.text-cta:hover{color:#42687a}.text-cta .icon-arrow{width:19px;height:19px;transition:transform .15s ease}
.text-cta:hover .icon-arrow{transform:translate(3px,-3px)}
.faculty-jump{margin-top:34px;text-align:right}
.academy-page-lead{background:var(--navy);color:white;padding:83px 0 76px}
.academy-page-lead .section-kicker{color:#b7d1dd}
.academy-page-lead h1{color:white;font-size:clamp(42px,5.3vw,72px);line-height:1.08;letter-spacing:-.055em;max-width:900px;margin:24px 0}
.academy-page-lead p.lead{color:#cfdee5;max-width:775px;line-height:1.76}
body.academy-page nav.primary .academy-nav{text-decoration:underline;text-underline-offset:6px}
@media(max-width:760px){.academy-page-lead{padding:65px 0}.academy-page-lead h1{font-size:clamp(36px,8.8vw,54px)}.faculty-jump{text-align:left}.text-cta{font-size:10px}}


/* WordPress integration */
.admin-bar .sitehead { scroll-margin-top: 32px; }

/* 2.2: align narrative copy with the main heading, not the small eyebrow label.
   Scope these adjustments to heading-and-copy pairs only. Columns, cards,
   programme steps, faculty, hero and biography layouts remain unchanged. */
@media (min-width:761px) {
  #overview > .wrap.two > :nth-child(2),
  #programme-overview .wrap > .two:first-child > :nth-child(2),
  #bespoke .wrap > .two:first-child > :nth-child(2),
  #programme .wrap > .two:first-child > :nth-child(2),
  #academy-leads > .wrap > .two:first-child > :nth-child(2),
  #faculty > .two:first-child > :nth-child(2) {padding-top:36px}
}


/* 2.3: Academy opening hero keeps Design B's colours and typography; the photo is editable. */
.academy-page-lead{padding:0}
.academy-lead-grid{display:grid;grid-template-columns:minmax(0,52%) minmax(0,48%);min-height:430px}
.academy-lead-copy{padding:78px 54px 77px 0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.academy-lead-copy .lead{margin-bottom:0}
.academy-lead-photo{position:relative;min-height:430px;background:#203b50;overflow:hidden}
.academy-lead-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:66% 48%}
.academy-lead-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,32,48,.12),transparent 28%);pointer-events:none}
/* Programme order follows a natural column reading pattern: 01–03 left, 04–05 right.
   Grid rows share heights, so horizontal dividers align across both columns. */
@media (min-width:761px){
  .day .modules{grid-template-rows:repeat(3,auto);grid-auto-flow:column;align-items:stretch}
  .day .modules .module{min-width:0}
}
/* No unwanted whitespace after removing the redundant contact button. */
.contact-section .contact-grid{display:block}
.contact-section .contact-grid>div{max-width:780px}
@media (max-width:760px){
  .academy-lead-grid{display:flex;flex-direction:column;min-height:0}
  .academy-lead-copy{padding:62px 0 43px}
  .academy-lead-photo{height:360px;min-height:360px}
  .academy-lead-photo img{object-position:64% 42%}
  .day .modules{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row;grid-auto-rows:auto}
}
@media (max-width:440px){
  .academy-lead-copy{padding:52px 0 38px}
  .academy-lead-photo{height:300px;min-height:300px}
  .academy-lead-photo img{object-position:63% 44%}
}


/* v2.5 — original full-resolution faculty portraits and a more consistent
   editorial treatment. Original image files are not altered. */
#faculty .faculty-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:26px;
  row-gap:45px;
}
#faculty .faculty{
  min-width:0;
  border-top:1px solid #b7c7ce;
  padding-top:16px;
}
#faculty .faculty img{
  width:100%;
  aspect-ratio:4 / 3;
  height:auto;
  object-fit:cover;
  object-position:center 20%;
  margin-bottom:19px;
  background:#dce4e7;
  filter:saturate(.9);
}
#faculty .faculty:nth-child(1) img{object-position:50% 20%} /* Richard */
#faculty .faculty:nth-child(2) img{object-position:50% 18%} /* Chris */
#faculty .faculty:nth-child(3) img{object-position:50% 18%} /* Paul */
#faculty .faculty:nth-child(4) img{object-position:50% 16%} /* Giles */
#faculty .faculty:nth-child(5) img{object-position:50% 18%} /* Dan March */
#faculty .faculty h3{font-size:21px;line-height:1.25;margin-bottom:5px}
#faculty .faculty strong{font-size:12px;line-height:1.55;color:#203b4c;margin-bottom:11px}
#faculty .faculty p{font-size:13px;line-height:1.75;color:#4c6673;margin:0;max-width:38ch}
/* Visually align the two Academy leads without retouching their faces. */
#academy-leads .person .photo{background:#dfe5e6}
#academy-leads .person .photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.9);
}
#academy-leads .person:first-child .photo img{object-position:center 22%}
#academy-leads .person:nth-child(2) .photo img{object-position:center 26%}
@media(max-width:1080px){
  #faculty .faculty-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:25px;row-gap:37px}
}
@media(max-width:600px){
  #faculty .faculty-grid{grid-template-columns:minmax(0,1fr);gap:35px}
  #faculty .faculty img{aspect-ratio:4 / 3}
}

/* v2.7: use authentic source photography, matching square crops and restrained colour grading. */

/* v2.8: originals lightly composited on shared neutral backdrop, no synthetic bodies. */
#faculty .faculty img { aspect-ratio:4 / 3; object-position:center; filter:none; background:#939094; }
@media(max-width:600px){ #faculty .faculty img{aspect-ratio:4 / 3} }


/* v2.9 — approved direction for head-and-shoulders faculty photographs.
   Matching portrait frames, no extra generated lower-body detail shown.
   This deliberately overrides the former 4:3 card crops. */
#faculty .faculty img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: none;
  background: #aba6aa;
}
@media (max-width: 600px) {
  #faculty .faculty img { aspect-ratio: 4 / 5; }
}

/* v3.0 — the Academy link lives in the same content grid as the programme cards.
   Align to the right-hand edge rather than the browser viewport edge. */
#programme-overview .academy-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}
#programme-overview .academy-more .text-cta {
  max-width: 100%;
  white-space: normal;
}
@media (max-width: 760px) {
  #programme-overview .academy-more {
    justify-content: flex-start;
    margin-top: 26px;
  }
}


/* v3.1 — previously approved navigation, wordmark alignment and proper mobile navigation. */
.variant-b .brandlock{gap:0;}
.variant-b .brand-rule{display:none!important;}
.variant-b .logo{align-items:center;}
.variant-b .logo span{width:100%;text-align:center;margin-right:-.22em;}
.variant-b nav.primary a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px;}
.mobile-menu{display:none;position:relative;flex:0 0 auto;}
.mobile-menu summary{display:flex;gap:9px;align-items:center;cursor:pointer;padding:11px 12px;border:1px solid #a4b7c1;list-style:none;font-size:11px;letter-spacing:.11em;font-weight:750;text-transform:uppercase;color:var(--navy);}
.mobile-menu summary::-webkit-details-marker{display:none;}
.mobile-menu summary svg{width:21px;height:21px;}
.mobile-menu[open] summary{background:var(--navy);color:white;border-color:var(--navy);}
.mobile-menu nav{position:absolute;right:0;top:calc(100% + 10px);background:white;border:1px solid #ced9df;box-shadow:0 12px 30px rgba(4,20,35,.16);z-index:80;width:min(310px,calc(100vw - 40px));padding:8px;display:grid;gap:0;}
.mobile-menu nav a{font-size:13px;line-height:1.35;padding:15px;border-bottom:1px solid #e3eaed;text-decoration:none;color:var(--navy);font-weight:650;}
.mobile-menu nav a:last-child{border-bottom:none;}
.mobile-menu nav a:hover{background:#e9eff2;}
@media(max-width:1160px){.variant-b nav.primary{display:none!important}.mobile-menu{display:block}}
@media(max-width:760px){.variant-b .headrow{min-height:107px}.variant-b .logo strong{font-size:clamp(32px,6.7vw,46px)}.variant-b .logo span{font-size:clamp(7.5px,1.4vw,9px)}.mobile-menu summary{font-size:10px}}
@media(max-width:440px){.variant-b .headrow{min-height:94px}.variant-b .logo strong{font-size:clamp(28px,8vw,38px)}.variant-b .logo span{font-size:7.8px;letter-spacing:.17em}.mobile-menu summary{padding:9px 10px}}

/* Wider, more comfortable view of the existing homepage speaker photograph.
   A darkened background from the same source fills the panel; the foreground
   photograph is smaller to retain its actual stage context without AI extension. */
.hero-photo{isolation:isolate;background:#0d2739;}
.hero-photo:before{content:'';position:absolute;inset:-18px;background-image:var(--hero-backdrop);background-position:center;background-size:cover;filter:blur(26px) brightness(.43) saturate(.75);z-index:0;}
.hero-photo img{object-fit:contain;object-position:center!important;transform:scale(1.48);z-index:1;-webkit-mask-image:linear-gradient(to bottom, transparent 6%, #000 31%, #000 67%, transparent 95%);mask-image:linear-gradient(to bottom, transparent 6%, #000 31%, #000 67%, transparent 95%);}
.hero-photo:after{z-index:2;pointer-events:none;background:linear-gradient(0deg,rgba(4,17,28,.42) 0%,transparent 30%,transparent 72%,rgba(4,17,28,.2) 100%);}
@media(max-width:760px){.hero-photo img{transform:scale(1.13)}.hero-photo{min-height:350px;}}

/* Brief, focused new content pages — same palette and type system as the approved design. */
.subpage-lead{background:var(--navy);color:white;padding:88px 0 90px;}
.subpage-lead-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.65fr);gap:70px;align-items:end;}
.subpage-lead .section-kicker{color:#b4cbd7;}
.subpage-lead h1{font-size:clamp(46px,5.5vw,72px);margin:25px 0;max-width:830px;color:#fff;}
.subpage-lead .lead{color:#d3e0e6;max-width:720px;margin-bottom:0;}
.subpage-side{border-left:1px solid #618091;padding-left:26px;color:#b9ccd7;font-size:16px;line-height:1.7;}
.subpage-side p{margin:0;}
#overview .intro-copy .text-cta, #bespoke .text-cta, .bespoke-card .text-cta {margin-top:21px;}
@media(min-width:761px){#overview .intro-copy,#bespoke>.wrap>.two:first-child>:nth-child(2){padding-top:36px;}}
@media(max-width:760px){.subpage-lead{padding:63px 0 70px}.subpage-lead-grid{grid-template-columns:1fr;gap:34px}.subpage-side{font-size:14px}.hero-photo img{max-height:none}}

/* v3.1 final image fit: a feathered reframing made solely from the existing speaker photo. */
.hero-photo:before{display:none;}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 50%;transform:none;-webkit-mask-image:none;mask-image:none;}
@media(max-width:760px){.hero-photo img{object-position:center 44%;transform:none;}}
.photo-full:after{background:linear-gradient(90deg,rgba(7,21,33,.92) 0%,rgba(7,21,33,.74) 31%,rgba(7,21,33,.16) 78%,rgba(7,21,33,.12) 100%);}

/* v3.3: remove lower gradient; the source photo now extends naturally to the bottom. */
.hero-photo:after{background:none;}

/* v3.4: remove every CSS-generated fade from the hero image. The image itself
   is clear; the speaker remains fully visible through to the bottom edge. */
.hero-photo:before,.hero-photo:after{content:none!important;display:none!important;}
.hero-photo img{filter:none!important;opacity:1!important;mask:none!important;-webkit-mask:none!important;}

/* About HAYBA: sole founder portraits and full biographies, not duplicates of
   the full Academy biographies. Uses the original selected photographs. */
.about-founders{padding-top:28px;}
.about-founders-head{margin-bottom:34px;}
.about-founders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
.about-founder-card{grid-template-columns:minmax(0,41%) minmax(0,59%);min-height:370px;}
.about-founder-card .photo{min-height:370px;}
.about-founder-card .photo img{object-position:center 25%;filter:none;}
.about-founder-card .bio{padding:27px 25px;}
.about-founder-card .bio h3{font-size:22px;margin-bottom:13px;}
.about-founder-card .bio p{font-size:13.5px;line-height:1.8;}
@media(max-width:1060px){
 .about-founders-grid{grid-template-columns:minmax(0,1fr);max-width:760px;}
 .about-founder-card{min-height:320px;}
 .about-founder-card .photo{min-height:320px;}
}
@media(max-width:760px){
 .about-founders{padding-top:12px;}
 .about-founders-head{margin-bottom:30px;}
}
@media(max-width:440px){
 .about-founder-card{display:block;}
 .about-founder-card .photo{height:320px;min-height:320px;}
 .about-founder-card .bio{padding:24px;}
}

/* v3.5 — Bespoke Programmes only: substantive editorial treatment. */
.bespoke-lead{padding-top:95px;padding-bottom:100px}
.bespoke-lead h1{max-width:800px}
.bespoke-lead .lead{max-width:740px}
.bespoke-feature{padding-top:84px;padding-bottom:86px}
.bespoke-feature-grid{display:grid;grid-template-columns:minmax(0, .84fr) minmax(0,1.16fr);gap:68px;align-items:center}
.bespoke-feature-copy h2{margin-bottom:24px;max-width:530px}
.bespoke-feature-copy .lead{font-size:17px;margin-bottom:22px}
.bespoke-feature-media{min-width:0;margin:0}
.bespoke-feature-media img{width:100%;height:445px;object-fit:cover;object-position:center 47%}
.bespoke-feature-media figcaption{font-size:10px;letter-spacing:.055em;color:#728894;margin-top:12px}
.bespoke-support{padding-top:86px;padding-bottom:91px}
.bespoke-support-head{margin-bottom:50px;align-items:end}
.bespoke-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:33px}
.bespoke-support-item{border-top:2px solid #8fa6b3;padding-top:19px;min-width:0;display:flex;flex-direction:column}
.bespoke-index{font-size:10px;font-weight:750;letter-spacing:.16em;color:#597b8d}
.bespoke-support-item h3{font-size:24px;margin:28px 0 15px}
.bespoke-support-item p{font-size:14px;line-height:1.82;color:#506c7a;margin-bottom:18px}
.bespoke-support-item .bespoke-examples{font-size:12px;line-height:1.85;margin-top:auto;border-top:1px solid #c5d3db;padding-top:15px;color:#335364}
.bespoke-method-grid{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);gap:120px}
.bespoke-method-intro h2{max-width:500px;margin-bottom:26px}
.bespoke-method-intro .copy{max-width:430px}
.bespoke-method-details>div{border-top:1px solid #b8cbd4;padding:21px 0 23px}
.bespoke-method-details h3{font-size:19px;margin:0 0 10px}
.bespoke-method-details p{color:#587280;font-size:14px;line-height:1.8;margin:0}
.bespoke-method-details .bespoke-academy-link{margin-top:11px;padding-top:28px}
.bespoke-academy-link .text-cta{margin-top:14px}
.bespoke-contact .contact-grid>div{max-width:850px}
.bespoke-contact h2{max-width:850px}
.bespoke-contact .bespoke-email{margin-top:25px;font-size:17px}
.bespoke-contact .bespoke-email a{text-decoration:underline;text-underline-offset:6px}
.bespoke-contact .bespoke-email a:hover{color:#fff}
@media(max-width:1100px){
 .bespoke-feature-grid{gap:34px}
 .bespoke-feature-media img{height:375px}
 .bespoke-method-grid{gap:70px}
}
@media(max-width:760px){
 .bespoke-lead{padding:66px 0 72px}
 .bespoke-feature{padding:65px 0 70px}
 .bespoke-feature-grid{grid-template-columns:1fr;gap:27px}
 .bespoke-feature-media img{height:350px}
 .bespoke-support{padding:65px 0 70px}
 .bespoke-support-head{margin-bottom:31px}
 .bespoke-support-grid{grid-template-columns:1fr;gap:29px}
 .bespoke-support-item h3{margin-top:16px}
 .bespoke-support-item .bespoke-examples{margin-top:0}
 .bespoke-method-grid{grid-template-columns:1fr;gap:17px}
 .bespoke-contact .bespoke-email{font-size:15px}
}
@media(max-width:440px){
 .bespoke-feature-media img{height:255px}
 .bespoke-lead h1{font-size:clamp(40px,10vw,50px)}
}

/* v3.8 — the agreed programme leadership and faculty navigation; no changes to other pages. */
#programme .programme-lead-note{border-top:1px solid #b9cbd3;margin-top:33px;padding-top:26px;display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}
#programme .programme-lead-note p{margin:0;max-width:650px;color:#25465a;font-size:15px;line-height:1.75}
#programme .programme-lead-note .text-cta{white-space:nowrap}
#programme-overview .academy-more{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:24px 35px}
#faculty .faculty-intro{margin-bottom:40px}
#faculty .faculty-subsection + .faculty-subsection{margin-top:55px}
#faculty .faculty-subsection>.section-kicker{margin-bottom:21px}
#faculty .faculty-leads-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:730px;column-gap:26px;row-gap:30px}
#faculty .faculty-lead img{object-position:center 23%}
#faculty .faculty-lead h3 a{color:inherit;text-decoration:none}
#faculty .faculty-lead h3 a:hover{text-decoration:underline;text-underline-offset:4px}
#faculty .faculty-lead strong{font-weight:600}
#faculty .faculty-specialists-intro{margin:0 0 27px;line-height:1.7;color:#4e6875;font-size:14px}
@media(max-width:760px){#programme .programme-lead-note{align-items:flex-start;flex-direction:column;gap:16px}#programme-overview .academy-more{justify-content:flex-start}#faculty .faculty-leads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#faculty .faculty-leads-grid{grid-template-columns:minmax(0,1fr);max-width:390px}#faculty .faculty-subsection + .faculty-subsection{margin-top:45px}}


/* v3.10 — align narrative text with its neighbouring main heading, not kicker.
   Scope to four approved two-column sections; no layout/copy changes elsewhere.
   Original kicker-to-heading distance is 36px at desktop/tablet widths. */
@media (min-width: 761px) {
  #what-we-do > .wrap.two > .intro-copy,
  #people-behind-hayba .about-founders-head > :nth-child(2),
  .about-founders + .section--pale > .wrap > .two:first-child > :nth-child(2) {
    padding-top: 36px;
  }
  .bespoke-support-head {
    align-items: start; /* remove the former bottom-align that displaced right-hand copy */
  }
  .bespoke-support-head > :nth-child(2) {
    padding-top: 36px;
  }
}

/* v3.11 — Faculty anchor targets its heading instead of section padding. */
#faculty{scroll-margin-top:32px}
.about-faculty-link{margin-top:32px;padding-top:23px;border-top:1px solid #b9cbd3;display:flex;justify-content:flex-end}
#faculty .faculty-lead p{margin-top:12px;max-width:48ch}
@media(max-width:760px){#faculty{scroll-margin-top:20px}.about-faculty-link{justify-content:flex-start;margin-top:26px}}

/* v3.12 — links to each programme lead's fuller About HAYBA profile. */
#faculty .faculty-lead .faculty-more-link{
  display:inline-flex;align-items:center;gap:10px;margin-top:17px;
  padding-bottom:7px;border-bottom:1px solid currentColor;
  color:var(--navy);font-size:11px;font-weight:700;
  text-transform:uppercase;letter-spacing:.075em;text-decoration:none;
}
#faculty .faculty-lead .faculty-more-link:hover{color:#42687a}
#oliver-chittenden,#dan-leatherdale{scroll-margin-top:24px}
