/* Light professional palette, shared by desktop and mobile. */
:root {
  color-scheme: light;
  --navy: #173b55;
  --navy-soft: #edf5f7;
  --ink: #18394e;
  --teal: #167b77;
  --teal-dark: #126c68;
  --muted: #5c707c;
  --paper: #f5f8fa;
  --line: #dce6ea;
}

body { background: #fff; }
::selection { background: #d6eee9; color: #18394e; }
.site-header {
  background: #ffffffed;
  color: #4b6373;
  border-bottom-color: #e4ebef;
}
.site-header.scrolled { box-shadow: 0 5px 24px #173b5509; }
.brand-name { color: #204d6e; }
.brand-name > span { color: #4a687c; }
.button-primary {
  color: #fff;
  background: #167b77;
  box-shadow: 0 5px 18px #167b7714;
}
.button-primary:hover {
  background: #116762;
  box-shadow: 0 8px 24px #167b7720;
}
.button-outline { color: #24536b; border-color: #c7d8df; background: #fff; }
.button-outline:hover { border-color: #8db9b5; background: #f1f8f7; }
.text-link { color: #385e70; }
.text-link:hover { color: #126c68; }
.skip-link { background: #167b77; color: #fff; }
.menu-toggle { color: #204d6e; }
.mobile-nav { background: #fff; border-bottom-color: #dce6ea; box-shadow: 0 15px 30px #173b5510; }
.mobile-nav a { border-bottom-color: #edf1f3; }
.desktop-nav a[aria-current="true"] { color: #126c68; }

.hero { background: #f7fafc; color: var(--ink); }
.hero-grid {
  background-image: linear-gradient(#204d6e06 1px, transparent 1px), linear-gradient(90deg, #204d6e06 1px, transparent 1px);
}
.hero-eyebrow { color: #4f737e; }
.hero-description { color: #5c707e; }
.hero-location { color: #617b86; }
.hero-location .icon { color: #51817f; }
.visual-orbit { border-color: #dfebee; }
.chart-card {
  background: #fff;
  border-color: #dce7eb;
  box-shadow: 0 25px 65px #204d6e0d, 0 4px 12px #204d6e04;
}
.chart-card-head { border-bottom-color: #e5edef; }
.chart-card-head .chart-heading { color: #20465c; }
.chart-kicker, .study-label { color: #5c7a87; }
.chart-symbol { color: #167b77; background: #eef7f5; border-color: #d3e8e3; }
.chart-meta p { color: #69828d; }
.chart-meta strong { color: #2f5668; }
.chart-switch { background: #f5f8fa; border-color: #e0e9ec; }
.chart-switch button { color: #6a8693; }
.chart-switch button.active { background: #deeeea; color: #136f69; }
.chart-grid-lines path { stroke: #dfe9ed; }
.chart-area { opacity: .55; }
.trend-line { stroke: #4b9d91; }
.market-chart.line-mode .trend-line { stroke: #16857a; }
.candle-up { fill: #258f80; stroke: #258f80; }
.candle-down { fill: #c17b82; stroke: #c17b82; }
.chart-guide path { stroke: #84b8af; }
.chart-guide rect { fill: #e4f2ee; }
.chart-guide text { fill: #216f61; }
.chart-axis { fill: #5b7a88; }
.chart-foot { color: #6b828e; border-top-color: #e6edef; }
.chart-foot > span:first-child { color: #537b7d; }
.insight-note { background: #fff; border-color: #dce9e6; box-shadow: 0 10px 32px #204d6e0d; }
.insight-icon { background: #edf7f3; color: #197e6c; }
.insight-note strong { color: #244e5d; }
.insight-note span { color: #68828a; }
.visual-caption { color: #5e7c88; }
.hero-bottom { border-top-color: #dfe9ed; color: #607b89; }
.hero-bottom > a { color: #4c6e7d; }
.scroll-mark { border-color: #9ab2bd; }

.principles-strip { background: #fff; border-color: #e4ecef; color: #446471; }
.principles-inner .icon { color: #39857e; }
.muted-heading { color: #6b8594; }
.about-brand span:not(.brand-logo) { color: #627a88; }
.services-section { background: #f5f8fa; }
.service-card { background: #fff; border-color: #dce6ea; }
.service-card:hover { border-color: #aacbc5; box-shadow: 0 15px 35px #204d6e0b; }
.service-icon { background: #edf6f3; color: #18786e; }
.service-topics { color: #5b7580; }
.service-featured { color: var(--ink); background: #f0f8f5; border-color: #bedbd2; }
.service-featured .service-icon { background: #dfefe8; color: #197663; }
.service-featured > p { color: #57736f; }
.service-featured .service-topics { color: #56776f; }
.service-featured .service-link { border-color: #d5e7df; }

.approach-section { background: #eef5f8; color: var(--ink); }
.focus-ring { border-color: #bed8db; }
.ring-outer { border-color: #ccdee4; }
.ring-middle { box-shadow: 0 0 0 35px #ffffff55; }
.ring-inner { border-color: #b4d4d2; background: #eaf4f3; }
.focus-center { background: #fff; border-color: #b7d6d0; box-shadow: 0 12px 35px #204d6e08; }
.focus-cross { background: #c6dce366; }
.orbit-label { color: #527986; background: #fff; border-color: #d4e4e8; }
.approach-copy .eyebrow { color: #297f78; }
.approach-copy > p { color: #5a7583; }
.approach-values { color: #3b6172; }

.learning-tabs { background: #fafcfd; }
.learning-tabs button { color: #587281; }
.learning-tabs button[aria-selected="true"] { border-color: #cfe2dd; }
.learning-tabs small { color: #667f8a; }
.learning-panel { background: #f2f8f6; }
.learning-panel p { color: #5b766f; }
.panel-kicker { color: #367f70; }
.panel-topics span { color: #4e7568; border-color: #d0e2d9; background: #ffffffb3; }
.faq-section { background: #f7fafb; border-color: #e6edf0; }
.faq-plus::before, .faq-plus::after { background: #5c8389; }

.contact-section { background: #f0f6f8; color: var(--ink); }
.contact-section .eyebrow { color: #297f78; }
.contact-section .section-heading > p { color: #5b7786; }
.contact-icon { color: #397d7d; background: #fff; border-color: #d6e4e8; }
.contact-details small { color: #5b7b8d; }
.contact-address address { color: #506f80; }
.contact-address .underlined-link { color: #197b72; }
.contact-note { color: #637f8b; }
.enquiry-form { background: #fff; border-color: #d7e4e9; box-shadow: 0 10px 35px #204d6e05; }
.enquiry-form > p { color: #607c8a; }
.form-field label { color: #365a70; }
.form-field label > span { color: #6c8491; }
.form-field input, .form-field select, .form-field textarea { background-color: #fafcfd; color: #244b62; border-color: #cfdfe6; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #728b98; }
.form-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23527384' stroke-width='1.4'/%3E%3C/svg%3E"); }
.enquiry-form .form-caption { color: #6a818d; }
.enquiry-form .form-status { color: #2d7867; }
.site-footer { background: #fff; color: #506f80; border-top-color: #e1ebee; }
.footer-top > p { color: #627d8a; }
.footer-bottom { border-top-color: #e5ecef; color: #667f8d; }
.footer-bottom > a { color: #4e7183; }

.whatsapp-toggle { background: #199e68; box-shadow: 0 5px 22px #19644822, 0 0 0 4px #199e680a; }
.whatsapp-toggle:hover { background: #158553; }
.whatsapp-panel { box-shadow: 0 16px 55px #204d6e20; }
.chat-head { color: #214e40; background: #e8f3ec; border-bottom: 1px solid #d4e7db; }
.chat-head span:not(.brand-logo) { color: #597f6c; }
.chat-close { color: #557e6b; }
.chat-choices button { color: #587a69; }
.chat-caption { color: #5c7c6a; }

/* Contact details are reached through familiar, labelled icons. */
.contact-actions { display: flex; align-items: center; gap: 12px; }
.contact-method { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #cbdde3; border-radius: 10px; color: #24536b; background: #fff; transition: transform .25s, background .25s; }
.contact-method:hover { background: #e9f3f6; transform: translateY(-2px); }
.contact-method-whatsapp { color: #16865c; border-color: #c5ded2; }
.contact-method-whatsapp:hover { background: #eaf6ef; }
.contact-method .icon { width: 23px; height: 23px; }
.about-copy { padding-top: 0; }
.faq-layout .dark-link { margin-top: 24px; }

/* Native course disclosures keep the curriculum compact and keyboard accessible. */
.course-title { max-width: 980px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.23; letter-spacing: -.04em; }
.course-overview { max-width: 850px; margin-top: 22px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.course-subheading { margin-top: 38px; margin-bottom: 18px; font-size: 1.35rem; letter-spacing: -.025em; }
.course-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.course-module-column { display: grid; gap: 14px; align-content: start; min-width: 0; }
.course-module { border: 1px solid #dce7ea; border-radius: 8px; background: #fff; overflow: hidden; }
.course-module[open] { border-color: #b9d9d1; background: #f7fbfa; }
.course-module summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; padding: 20px 22px; list-style: none; cursor: pointer; color: var(--ink); font-size: 1rem; font-weight: 600; line-height: 1.5; }
.course-module summary::-webkit-details-marker { display: none; }
.course-module summary::marker { content: ""; }
.course-module summary > span { min-width: 0; }
.course-module .module-chevron { width: 18px; height: 18px; color: #477c7a; transition: transform .25s ease; }
.course-module[open] .module-chevron { transform: rotate(180deg); }
.course-module-content { padding: 0 22px 22px; }
.course-module-content ul { margin: 0; padding-left: 20px; color: #586f78; font-size: 1rem; line-height: 1.85; }
.course-module-content li + li { margin-top: 5px; }
.course-module-content li::marker { color: #388474; }
.course-included { margin-top: 28px; padding: 28px; border: 1px solid #d8e7e0; border-radius: 8px; background: #f1f8f5; }
.course-included > h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.course-inclusions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; list-style: none; padding: 0; margin: 24px 0; }
.course-inclusions li { display: flex; align-items: flex-start; gap: 11px; color: #3d6659; font-size: 1rem; line-height: 1.65; }
.course-inclusions .icon { width: 18px; height: 18px; margin-top: 4px; color: #29856c; }
.course-enquiry { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid #d5e5dc; }
.course-enquiry p { max-width: 360px; color: #5a786a; font-size: .875rem; line-height: 1.8; }
.course-enquiry .button { flex-shrink: 0; }
.course-enquiry .icon { width: 18px; height: 18px; }
@media (max-width: 850px) {
  .course-enquiry { align-items: flex-start; flex-direction: column; gap: 16px; }
  .course-module summary { padding: 18px; gap: 12px; }
  .course-module-content { padding: 0 18px 20px; }
}
@media (max-width: 680px) {
  .course-title { font-size: clamp(1.8rem, 7.5vw, 2.15rem); }
  .course-overview { margin-top: 18px; }
  .course-subheading { margin-top: 29px; font-size: 1.25rem; }
  .course-modules { grid-template-columns: 1fr; gap: 14px; }
  .course-module summary { min-height: 70px; }
  .course-included { padding: 22px 20px; }
  .course-inclusions { grid-template-columns: 1fr; gap: 14px; margin-block: 21px; }
  .course-enquiry .button { width: 100%; padding-inline: 16px; }
}

/* Keep contextual links distinct within the compact course FAQ. */
.faq-list p a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: .2em; }

/* One quiet, static market backdrop shared across every section. */
html { background: #f9fbfc; }
body { position: relative; isolation: isolate; background: #f9fbfc; }
.site-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/market-world-background.webp") center / cover no-repeat;
  opacity: .16;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
.hero { background: #f7fafc4d; }
.hero-grid { display: none; }
.about-section, .learning-section { background: #ffffff52; }
.services-section { background: #f2f7fa66; }
.faq-section { background: #f7fafb59; }
.contact-section { background: #eef5f766; }
.site-footer { background: #ffffff70; }
.service-card, .enquiry-form, .course-module { background-color: #fffffff2; }
.service-featured { background-color: #f0f8f5f5; }

/* A shared 24 px SVG grid keeps the icon set clear at every screen density. */
.icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  shape-rendering: geometricPrecision;
}
.contact-actions { gap: 12px; flex-wrap: wrap; }
.contact-method {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 2px 10px #173b5505;
  transition: background-color 260ms ease, border-color 260ms ease, transform 260ms ease;
}
.contact-method .icon { width: 24px; height: 24px; }
.contact-method-whatsapp { color: #147c54; }
.contact-method-email { color: #22536b; }
.contact-method-instagram { color: #963a65; border-color: #e3d0d9; }
.contact-method-instagram:hover { color: #7c2d53; background: #f9edf3; border-color: #d6b6c6; }
.nav-cta .icon { width: 20px; height: 20px; }
.whatsapp-toggle {
  width: 56px;
  height: 56px;
  background: #168b59;
  border: 1px solid #11794d;
  box-shadow: 0 5px 18px #173b5524;
}
.whatsapp-toggle:hover { background: #11794d; transform: translateY(-2px); }
.whatsapp-toggle > .icon { width: 30px; height: 30px; transform: none; transition: opacity 220ms ease; }
.whatsapp-toggle > .toggle-close { width: 24px; height: 24px; transform: none; }
.whatsapp-toggle[aria-expanded="true"] > .icon:not(.toggle-close),
.whatsapp-toggle[aria-expanded="true"] > .toggle-close { transform: none; }
.footer-top nav { align-items: center; flex-wrap: wrap; row-gap: 14px; }
.footer-instagram { display: inline-flex; align-items: center; gap: 7px; }
.footer-instagram .icon { width: 18px; height: 18px; }

/* Give the header and mobile menu a calmer, deliberate pace. */
.site-header { transition: background-color 460ms ease, border-color 460ms ease, box-shadow 460ms ease; }
.desktop-nav a { transition: color 350ms ease; }
.mobile-nav a { transition: color 300ms ease, background-color 300ms ease; }
.menu-toggle { gap: 6px; }
.menu-toggle span { width: 24px; height: 2px; transition: transform 440ms cubic-bezier(.4,0,.2,1); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .site-header, .desktop-nav a, .mobile-nav a, .menu-toggle span, .contact-method { transition: none; }
}

/* Transparent firm artwork with a restrained, visible edge around the compact mark. */
.site-header .brand-logo {
  width: 58px;
  height: 58px;
  padding: 4px;
  border: 1px solid #cbdce4;
  border-radius: 12px;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}
.footer-brand { display: inline-flex; }
.brand-full-logo {
  display: block;
  width: 176px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.chat-head .brand-logo {
  width: 42px;
  height: 42px;
  padding: 3px;
  background: transparent;
  border: 1px solid #c5dcd1;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: none;
}
@media (max-width: 850px) {
  .site-header .brand-logo { width: 50px; height: 50px; padding: 3px; }
}
@media (max-width: 680px) {
  .site-header .brand-logo { width: 48px; height: 48px; }
  .brand-full-logo { width: 156px; }
}

/* Course copy follows the supplied course brief. */
.hero .course-hero-title {
  max-width: 680px;
  font-size: clamp(2.25rem, 3.2vw, 3.05rem);
  line-height: 1.17;
  letter-spacing: -.045em;
}
.hero-description { max-width: 36rem; line-height: 1.8; }
.course-section .course-heading { margin-bottom: 32px; }
.course-section .course-title { max-width: none; }
@media (max-width: 680px) {
  .hero .course-hero-title { font-size: clamp(1.95rem, 7.5vw, 2.35rem); line-height: 1.2; }
  .course-section .course-heading { margin-bottom: 25px; }
}

/* Firm-supplied About Us copy and training formats. */
.firm-about-intro {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 48px;
}
.firm-about-copy { max-width: 70ch; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.firm-about-copy p + p { margin-top: 18px; }
.firm-about-copy strong { color: var(--ink); font-weight: 650; }
.firm-services-title { margin: 44px 0 24px; font-size: 1.25rem; letter-spacing: -.025em; }
.firm-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.firm-training-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid #dce6ea;
  border-radius: 12px;
  background: #fffffff2;
}
.firm-training-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid #d7e8e1;
  border-radius: 12px;
  color: var(--teal-dark);
  background: #edf6f3;
}
.firm-training-card h4 { margin: 0 0 12px; font-family: var(--heading); font-size: 1.2rem; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
.firm-training-card p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.firm-mission { margin-top: 28px; padding: 24px 28px; border-left: 3px solid #9dc9bf; border-radius: 0 12px 12px 0; background: #f0f8f5eb; }
.firm-mission h3 { margin-bottom: 10px; font-size: 1.2rem; letter-spacing: -.025em; }
.firm-mission p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
@media (max-width: 900px) {
  .firm-about-intro { grid-template-columns: 1fr; gap: 24px; }
  .firm-services-grid { grid-template-columns: 1fr; gap: 16px; }
  .firm-training-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 24px; }
  .firm-training-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .firm-training-card h4, .firm-training-card p { grid-column: 2; }
  .firm-services-title { margin-top: 32px; }
  .firm-mission { padding: 22px 24px; }
}
@media (max-width: 370px) {
  .firm-training-card { padding: 20px; column-gap: 14px; }
}
