/* Page refinements build on the existing design tokens and media rules. */
.topbar .topbar-inner { display: grid; grid-template-columns: 1fr auto auto; column-gap: 28px; }
.topbar-socials { display: flex; align-items: center; gap: 8px; }
.topbar-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding-inline: 6px; }
.topbar-socials .icon { width: 17px; height: 17px; }
.linked-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-link { display: flex; flex-direction: column; min-width: 0; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.video-link:hover { border-color: var(--gold); box-shadow: 0 8px 24px #173b3a12; }
.video-platform { display: flex; align-items: center; gap: 8px; padding: 13px 18px; font-size: 10px; letter-spacing: 1px; color: var(--green); }
.video-platform .icon { width: 18px; height: 18px; }
.video-platform .icon:last-child { margin-left: auto; width: 16px; color: var(--gold); }
.video-frame { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: #173b3a; overflow: hidden; }
.video-frame > img { height: 100%; width: 100%; object-fit: contain; }
/* Composed landscape assets reserve the center for this lightweight play overlay. */
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d8c398; border-radius: 50%; background: #173b3ac9; color: #f8f2df; }
.video-play .icon { width: 19px; height: 19px; }
.video-link:hover .video-play { background: #173b3a; }
.video-link .video-caption { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.video-link .video-caption h3 { margin: 0 0 9px; font: 22px/1.3 var(--serif); }
.video-link .video-caption > span { display: block; margin-top: auto; padding-top: 17px; }
@media (max-width: 1100px) {
  .topbar .topbar-inner { column-gap: 18px; }
  .topbar-message { max-width: 290px; }
  .topbar-socials a { padding-inline: 3px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .topbar .topbar-inner { grid-template-columns: 1fr auto; row-gap: 0; }
  .topbar .topbar-message { grid-column: 1 / -1; max-width: none; text-align: center; }
  .linked-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linked-videos > :last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 24px) / 2); justify-self: center; }
}
@media (max-width: 700px) {
  .topbar .topbar-inner { grid-template-columns: 1fr; gap: 0; }
  .topbar .topbar-message { display: none; }
  .topbar-socials { justify-content: center; gap: 20px; }
  .topbar-socials a { padding-inline: 10px; font-size: 11px; }
  .topbar .topbar-contacts { gap: 18px; }
  .linked-videos { grid-template-columns: 1fr; gap: 24px; }
}
.developer-credit { text-decoration: underline; text-underline-offset: 3px; color: var(--green); }
.policy-support { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #eeefe6; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 35px; }
.policy-support .eyebrow { margin-bottom: 12px; }
.policy-support h3 { font: 25px/1.3 var(--serif); }
.policy-support p:not(.eyebrow) { margin-top: 12px; font-size: 12px; }
.policy-support-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.policy-support-list a { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; border-bottom: 1px solid #d9ddcf; }
.policy-support-list a:hover { color: #80663e; }
.policy-support-list .icon { width: 16px; height: 16px; }
.policy-support-list .icon:last-child { margin-left: auto; }
.why-section .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 0; }
.why-section .stats > div { grid-column: auto; padding: 0 28px 20px; border: 0; border-right: 1px solid #ffffff24; }
.why-section .stats > div:nth-child(3n) { border-right: 0; }
.why-section .stats > div:nth-child(3n + 1) { padding-left: 0; }
.why-section .stats > div:nth-child(n + 4) { border-top: 1px solid #ffffff24; padding-top: 26px; }
.enquiry-actions { display: grid; gap: 12px; }
.enquiry-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status[data-state="success"] { color: var(--green); padding: 12px; background: #edf2e8; border-left: 3px solid #648261; }
.form-status[data-state="error"] { color: #793f2b; padding: 12px; background: #f9ede5; border-left: 3px solid #a56949; }
.topbar { padding-block: 5px; }
.topbar .topbar-inner { align-items: center; gap: 12px; }
.topbar-contacts { display: flex; align-items: center; gap: 23px; }
.topbar-contacts a { display: inline-flex; align-items: center; min-height: 30px; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 30px; }
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 { font-size: clamp(48px, 5vw, 70px); }
.hero-visual { padding-right: 8px; }
.hero .portrait-frame { height: 550px; }
.hero .experience-badge { right: -4px; }
.lightbox button { display: grid; place-items: center; padding: 0; line-height: 1; width: 44px; height: 44px; }
.lightbox button .icon { display: block; width: 24px; height: 24px; }
.about-page-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 65px; align-items: center; }
.about-portrait { position: relative; max-width: 410px; }
.about-portrait > img { width: 100%; height: auto; border-radius: 150px 150px 6px 6px; }
.about-portrait-note { position: absolute; bottom: 24px; right: -15px; display: flex; gap: 14px; align-items: center; padding: 18px 24px; background: #fffdf4; border: 1px solid var(--line); border-radius: 4px; color: var(--green); font-size: 12px; }
.about-portrait-note .icon { color: var(--gold); width: 30px; height: 30px; }
.about-page h1 { font-size: clamp(38px, 4vw, 55px); }
.advisor-role { margin: 15px 0 25px; color: #897247; font-size: 13px; }
.about-page .lead { font-size: 20px; color: var(--ink); line-height: 1.65; }
.about-page-copy > p:not(.eyebrow):not(.advisor-role) { margin-bottom: 18px; }
.about-page-copy > p:not(.lead):not(.eyebrow):not(.advisor-role) { font-size: 14px; }
.about-credentials { display: flex; flex-wrap: wrap; gap: 14px 25px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12px; }
.about-credentials span { display: flex; align-items: center; gap: 9px; }
.about-credentials .icon { color: var(--gold); }
.office-support { background: #eeefe6; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.support-card { padding: 28px; background: #fffdf8; border: 1px solid var(--line); border-radius: 6px; }
.support-card h3 { margin: 20px 0 12px; }
.support-card p { font-size: 13px; }
.contact-intro { margin-bottom: 45px; }
.contact-intro h1 { font-size: clamp(42px, 4.6vw, 64px); }
.contact-intro > p:last-child { margin-top: 23px; font-size: 14px; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: 70px; }
.contact-details { padding-top: 12px; }
.contact-details h2 { max-width: 440px; font-size: 33px; line-height: 1.25; letter-spacing: -.8px; }
.contact-list { margin: 28px 0; }
.contact-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.contact-list dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.contact-list a { overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-whatsapp-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; min-height: 36px; }
.office-address { margin-bottom: 28px; }
.office-address h3 { display: flex; gap: 10px; align-items: center; font-size: 15px; margin-bottom: 15px; }
.office-address h3 .icon { color: var(--gold); }
.office-address address { font-style: normal; font-size: 14px; line-height: 1.85; color: var(--muted); }
.office-address address span { display: block; }
.enquiry-panel { background: #fffdf8; padding: 35px; border: 1px solid var(--line); border-radius: 6px; }
.enquiry-panel .eyebrow { margin-bottom: 14px; }
.enquiry-panel h2 { font-size: 36px; }
.enquiry-panel > p:not(.eyebrow) { margin-top: 15px; font-size: 13px; }
#whatsapp-enquiry { margin-top: 26px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.form-field label span { font-weight: 400; font-size: 10px; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; max-width: 100%; min-height: 46px; border: 1px solid #b9c0b3; border-radius: 3px; padding: 10px 12px; background: #fcfcf7; font: 16px/1.5 Arial, sans-serif; color: var(--ink); }
.form-field select { text-overflow: ellipsis; padding-right: 25px; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field small { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; }
.form-note { font-size: 11px; line-height: 1.7; margin-bottom: 18px; }
.form-note a { text-decoration: underline; }
.enquiry-submit { width: 100%; cursor: pointer; min-height: 48px; }
.enquiry-submit:disabled { opacity: .55; cursor: not-allowed; }
.form-status { font-size: 12px; margin-top: 14px; }
.form-status:empty { display: none; }
@media (min-width: 1500px) { .hero-grid { gap: 36px; } .hero .portrait-frame { height: 575px; } }
@media (max-width: 1100px) {
  .hero-grid { gap: 25px; }
  .hero .portrait-frame { height: 500px; }
  .hero h1 { font-size: 54px; }
  .about-page-grid { gap: 40px; }
  .contact-page-grid { gap: 35px; }
  .enquiry-panel { padding: 27px; }
}
@media (max-width: 1000px) {
  .topbar-message { font-size: 9px; }
  .topbar-contacts { gap: 16px; font-size: 10px; }
  .hero h1 { font-size: 49px; }
  .hero .portrait-frame { height: 460px; }
  .about-page h1 { font-size: 38px; }
  .about-page-grid { gap: 32px; }
  .support-card { padding: 22px; }
  .contact-page-grid { gap: 25px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .contact-details h2 { font-size: 29px; }
  .contact-details .advisor-role { font-size: 12px; }
  .enquiry-panel { padding: 23px; }
}
@media (max-width: 700px) {
  .policy-support { grid-template-columns: 1fr; padding: 23px 18px; gap: 20px; }
  .policy-support-list { grid-template-columns: 1fr; }
  .why-section .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .why-section .stats > div { padding: 0 0 20px 18px; border: 0; }
  .why-section .stats > div:nth-child(odd) { padding-left: 0; padding-right: 18px; border-right: 1px solid #ffffff24; }
  .why-section .stats > div:nth-child(even) { padding-left: 18px; border-right: 0; }
  .why-section .stats > div:nth-child(n + 3) { border-top: 1px solid #ffffff24; padding-top: 22px; }
  .why-section .stats strong { font-size: 36px; }
  .why-section .stats strong span { font-size: 18px; }
  .topbar { padding: 4px 0; }
  .topbar .topbar-inner { flex-direction: column; gap: 0; }
  .topbar-message { font-size: 9px; letter-spacing: .1px; text-align: center; }
  .topbar-contacts { justify-content: center; gap: 18px; font-size: 11px; letter-spacing: 0; }
  .topbar-contacts a { min-height: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(43px, 10vw, 67px); }
  .hero .portrait-frame { height: 455px; }
  .hero-visual { padding-right: 12px; }
  .hero .experience-badge { right: -12px; }
  .header-inner nav > a { min-height: 44px; }
  .about-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-page-copy { order: -1; }
  .about-page h1 { font-size: clamp(34px, 8.5vw, 48px); }
  .about-page .lead { font-size: 18px; }
  .about-portrait { width: min(340px, calc(100% - 16px)); margin-inline: auto; }
  .about-portrait-note { right: -8px; padding: 14px 18px; }
  .support-grid { grid-template-columns: 1fr; gap: 15px; }
  .contact-intro { margin-bottom: 30px; }
  .contact-intro h1 { font-size: clamp(38px, 9vw, 52px); }
  .contact-page-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-list dd > a { min-height: 40px; display: inline-flex; align-items: center; }
  .enquiry-panel { padding: 25px 20px; }
  .contact-details h2 { font-size: 30px; }
  .enquiry-panel h2 { font-size: 33px; }
}
@media (max-width: 370px) {
  .topbar .topbar-message { display: none; }
  .topbar-contacts { gap: 12px; font-size: 11px; }
  .hero .portrait-frame { height: 400px; }
  .enquiry-panel { padding: 24px 16px; }
  .enquiry-submit { font-size: 10px; padding-inline: 9px; gap: 7px; }
}

/* Keep the expanded contact/social bar compact at every breakpoint. */
.topbar .topbar-inner { row-gap: 0; }
