/* Shared tokens and base elements */
:root {
  --paper: #f9f9ff;
  --white: #fff;
  --ink: #353353;
  --muted: #66647d;
  --line: #e8e7f0;
  --soft: #f1f0fb;
  --purple: #6150d3;
  --yellow: #ffd15c;
  --coral: #d93652;
  --shadow: 0 5px 24px #3533530b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.75 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin-top: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
section[id], details[id], main[id] { scroll-margin-top: 30px; }
.container { width: min(980px, calc(100% - 90px)); margin-inline: auto; }
.section { padding: 80px 0; }
h2 { margin-bottom: 0; font-size: 36px; font-weight: 800; line-height: 1.22; letter-spacing: -1.2px; }
h3 { font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -.4px; }
.eyebrow, .small-label { font-size: 12px; font-weight: 800; line-height: 1.7; letter-spacing: 1.4px; }
.eyebrow { color: #6b59b4; margin-bottom: 14px; }
.light { color: var(--yellow); }
.muted { color: #706b86; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 38px; }
.section-heading h2 { position: relative; isolation: isolate; }
.section-heading h2::before { content: ''; position: absolute; width: 42px; height: 35px; left: -12px; top: -14px; background: radial-gradient(#cbc8e3 1.5px, transparent 2px) 0 0/7px 7px; opacity: .6; z-index: -1; }
.section-heading > p { max-width: 280px; margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 24px; min-height: 46px; font-size: 13px; font-weight: 700; border: 1px solid transparent; border-radius: 28px; transition: background .2s, transform .2s; }
.button .bi { font-size: 17px; }
.button-mint, .button-ink { background: var(--coral); color: #fff; }
.button-mint:hover, .button-ink:hover { background: #be2945; }
.button-ghost { border-color: #ffffff60; color: #fff; }
.button-ghost:hover { background: #ffffff12; border-color: #fff; }
.button-small { padding: 10px 20px; font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; padding: 7px 0; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--coral); }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; padding: 12px 20px; background: var(--yellow); font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
summary::-webkit-details-marker { display: none; }

/* Desktop sidebar; the same navigation becomes a scrollable menu below 1101px. */
.site-header { z-index: 30; background: var(--ink); color: #fff; }
.site-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--yellow); transform: scaleX(var(--reading-progress, 0)); transform-origin: left; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { display: inline-flex; align-items: center; color: #fff; font-size: 38px; font-weight: 800; line-height: 1.2; letter-spacing: -3px; }
.brand-mark > span { color: #ff657b; }
.brand-name { font-size: 15px; font-weight: 800; line-height: 1.5; }
.brand-name > span { display: block; margin-top: 5px; color: #ccc9df; font-size: 12px; font-weight: 400; }
#site-navigation > a:not(.button) { display: block; padding: 10px 0; font-size: 14px; font-weight: 700; }
#site-navigation > a .bi { color: var(--yellow); margin-right: 14px; }
#site-navigation > a:hover, #site-navigation > a[aria-current] { color: var(--yellow); }
#site-navigation > .button { white-space: nowrap; align-self: start; margin-top: 22px; }
#site-navigation > .button .bi { margin: 0; }
.menu-toggle { width: 44px; height: 44px; border: 1px solid #ffffff40; border-radius: 6px; padding: 11px; background: transparent; flex-shrink: 0; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: #fff; transition: transform .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-grid { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 100svh; padding: 65px 0 30px; }
.hero .portrait { position: relative; margin: 0 0 30px; padding: 6px; border: 1px solid #ffffff24; border-radius: 34px; background: linear-gradient(145deg, #ffffff24, #ffffff04); box-shadow: 0 20px 48px #17152640; }
.portrait > img { width: 224px; height: 252px; border-radius: 27px; object-fit: cover; object-position: 50% 38%; }
.hero .portrait::after { content: ""; position: absolute; width: 52px; height: 4px; bottom: -2px; left: calc(50% - 26px); border-radius: 4px; background: var(--yellow); }
.hero-copy { width: 100%; }
.hero .eyebrow { color: #d4d0e5; font-size: 12px; margin-bottom: 13px; }
.location-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); margin: 0 8px 1px 0; }
.hero h1 { font-size: 42px; line-height: 1.18; letter-spacing: -1.5px; font-weight: 800; margin-bottom: 15px; }
.hero h1 > span { display: block; font-size: inherit; font-weight: inherit; margin-top: 4px; }
.hero-role { display: flex; align-items: center; justify-content: center; min-height: 3.2em; font-size: 16px; margin: 0 auto 13px; }
.typed-role { max-width: 100%; overflow-wrap: anywhere; }
.is-typing .typed-role::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--yellow); vertical-align: -.12em; margin-left: 4px; animation: typing-caret 1s steps(1) infinite; }
.hero-description { color: #d0cde0; font-size: 15px; line-height: 1.8; margin: 0 auto 18px; }
.hero-socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.hero-socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 21px; }
.hero-socials a:hover { color: var(--yellow); }
.hero-actions, .hero-credentials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hero-actions { margin-bottom: 18px; }
.hero-credentials { gap: 12px 24px; }
.hero-credentials a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #d5d2e5; font-size: 12px; }
.hero-credentials .bi { color: var(--yellow); }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 12px; }
.hero-scroll .bi-mouse { font-size: 24px; }
.hero-decoration { position: absolute; inset: 0; pointer-events: none; }
.hero-decoration span { position: absolute; font-size: 47px; line-height: 1; color: var(--yellow); animation: hero-drift 7s ease-in-out infinite; }
.hero-decoration span:nth-child(1) { left: 10%; top: 13%; transform: rotate(-25deg); }
.hero-decoration span:nth-child(2) { left: 47%; top: 10%; color: #8b78f5; animation-duration: 8s; animation-delay: -3s; }
.hero-decoration span:nth-child(3) { right: 12%; top: 27%; color: #ff657b; font-size: 32px; animation-duration: 6s; animation-delay: -2s; }
.hero-decoration span:nth-child(4) { right: 10%; bottom: 26%; color: #77d8c5; transform: rotate(25deg); animation-duration: 9s; animation-delay: -4s; }
.hero-decoration span:nth-child(5) { left: 12%; bottom: 23%; color: #77d8c5; transform: rotate(40deg); animation-duration: 8s; animation-delay: -5s; }
.hero-decoration span:nth-child(6) { left: 62%; bottom: 9%; color: #8b78f5; font-size: 32px; animation-duration: 6s; animation-delay: -1s; }
@keyframes hero-drift { 0%, 100% { translate: 0 0; rotate: -5deg; } 50% { translate: 10px -18px; rotate: 8deg; } }
@keyframes typing-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Organizations */
.organizations { background: #fff; }
.organization-inner { display: grid; grid-template-columns: 145px minmax(0, 1fr); align-items: center; gap: 25px; padding-block: 32px; }
.organization-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.organization-inner strong { color: var(--ink); }
.organization-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 14px; }
.organization { min-width: 0; min-height: 178px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; background: #fff; }
.organization img { width: 112px; height: 108px; object-fit: contain; }
.organization figcaption { width: 100%; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }

/* About and expertise */
.about-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 35px; }
.about-visual { margin: 0; }
.about-visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 62% center; border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow); }
.about-visual figcaption { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
.about-copy { padding: 34px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.about-copy h2 { font-size: 30px; margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.about-copy strong { color: var(--ink); }
.about-summary { border-block: 1px solid var(--line); margin: 18px 0; }
.about-summary > summary, .capabilities > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; list-style: none; font-size: 14px; font-weight: 700; }
.about-summary p { color: var(--muted); font-size: 14px; margin: 5px 0 22px; }
.about-summary[open] summary .bi, .capabilities[open] summary .bi { transform: rotate(45deg); }
.expertise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.expertise-row { display: flex; flex-direction: column; gap: 14px; background: var(--purple); color: #fff; padding: 28px 23px; text-align: center; border-radius: 20px; box-shadow: var(--shadow); }
.expertise-row:nth-child(2) { background: #f9d56e; color: var(--ink); }
.expertise-row:nth-child(3) { background: #f4778a; color: var(--ink); }
.expertise-row > .bi { order: -1; align-self: center; font-size: 42px; }
.row-number { font-size: 12px; align-self: start; }
.expertise-row h3 { font-size: 20px; margin-bottom: 12px; }
.expertise-row p { font-size: 14px; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; padding: 0; margin: 0; }
.tags li { background: #ffffff20; padding: 4px 10px; border-radius: 20px; font-size: 12px; }
.expertise-row:first-child .tags li { background: #ffffff0d; }
.capabilities { margin-top: 28px; }
.capability-content { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding: 30px; border-radius: 18px; background: var(--soft); }
.capability-content h3 { font-size: 20px; }
.skill-list { padding-left: 18px; font-size: 14px; margin: 0; }
.skill-list li { margin-bottom: 12px; }
.competency-list { list-style: none; padding: 0; margin: 0; }
.competency-list li { margin-bottom: 18px; }
.competency-list strong, .competency-list span { display: block; font-size: 14px; }
.competency-list span { color: var(--muted); margin-top: 5px; }

/* Credentials and professional history */
.credential-grid, .qualification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.credential-card { display: flex; flex-direction: column; align-items: start; padding: 30px; border-radius: 20px; border-top: 4px solid var(--yellow); background: #fff; box-shadow: var(--shadow); }
.odoo-card { border-top-color: #8b78f5; }
.credential-top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 15px; margin-bottom: 30px; }
.credential-monogram { color: var(--purple); font-size: 33px; font-weight: 800; letter-spacing: -2px; line-height: 1; white-space: nowrap; }
.credential-monogram > span { font-size: 13px; letter-spacing: 0; vertical-align: top; margin-left: 3px; }
.odoo-wordmark > span { vertical-align: baseline; margin-left: 7px; }
.credential-top .small-label { font-size: 12px; letter-spacing: 1px; color: var(--muted); text-align: right; }
.credential-card h3 { font-size: 24px; margin-bottom: 12px; }
.credential-card > p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.credential-card .text-link { margin-top: auto; padding-top: 25px; }
.career-timeline { padding: 8px 30px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.career-role { border-bottom: 1px solid var(--line); }
.career-role:last-child { border: 0; }
.career-role > summary { display: grid; grid-template-columns: 125px minmax(0, 1fr) 28px; gap: 22px; padding: 28px 0; list-style: none; }
.role-date { font-size: 13px; color: #6b59b4; padding-top: 3px; }
.role-heading strong { display: block; font-size: 18px; line-height: 1.5; margin-bottom: 7px; }
.role-heading > span { display: block; color: var(--muted); font-size: 14px; }
.role-toggle { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
.career-role[open] .role-toggle { transform: rotate(45deg); background: var(--purple); color: #fff; }
.career-role > summary:hover .role-heading strong { color: var(--purple); }
.role-body { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 22px; padding: 0 20px 28px 0; }
.role-logo img { width: 95px; height: 70px; object-fit: contain; }
.role-logo > .bi { font-size: 30px; color: var(--muted); }
.role-body ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.role-body li { margin-bottom: 10px; }
.role-body li::marker { color: var(--coral); }
.section-footnote { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-top: 28px; }
.section-footnote > span { font-size: 13px; color: var(--muted); }
.qualification-grid { gap: 30px; }
.qualification-grid > div { padding: 30px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.qualification-grid h2 { font-size: 26px; margin-bottom: 30px; }
.education-item { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.education-item .small-label { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.education-item h3 { font-size: 18px; line-height: 1.6; margin: 12px 0; }
.education-item p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.training-group + .training-group { margin-top: 24px; }
.training-group h3 { font-size: 16px; margin-bottom: 12px; color: var(--purple); }
.training-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.training-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

/* Testimonials, contact and footer */
/* Centered testimonial carousel, with readable stacked quotes as the no-script fallback. */
.testimonials-section { background: var(--paper); }
.testimonials-section .section-heading { margin-bottom: 48px; }
.testimonials-section .section-heading .muted { color: var(--purple); }
.testimonial-carousel { max-width: 720px; margin-inline: auto; }
.quote-grid { display: grid; gap: 35px; }
.quote { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.quote figcaption { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 184px; gap: 14px; padding-bottom: 25px; }
.quote figcaption img { width: 90px; height: 90px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 5px 20px #3533530d; }
.quote figcaption strong { display: block; font-size: 18px; font-weight: 800; }
.quote figcaption > span > span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.quote-bubble { position: relative; display: flex; flex-direction: column; justify-content: center; flex: 1; padding: 30px 38px; background: #fff; border-radius: 22px; box-shadow: 0 7px 28px #3533530a; }
.quote-bubble::before { content: ''; position: absolute; width: 20px; height: 20px; background: #fff; top: -9px; left: calc(50% - 10px); transform: rotate(45deg); }
.quote blockquote { font: 18px/2 system-ui, sans-serif; color: var(--ink); text-align: center; margin: 0; }
.quote-context { color: var(--muted); font-size: 12px; line-height: 1.8; text-align: center; margin: 18px 0 0; }
.carousel-ready .quote-grid { gap: 0; }
.carousel-ready .quote { grid-area: 1 / 1; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.carousel-ready .quote.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.carousel-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.carousel-dots { display: flex; align-items: center; gap: 0; }
.carousel-dot { display: flex; align-items: center; justify-content: center; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; }
.carousel-dot::before { content: ''; display: block; width: 8px; height: 6px; border-radius: 5px; background: #d8d2f5; transition: width .2s, background .2s; }
.carousel-dot[aria-current="true"]::before { width: 22px; background: var(--coral); }
.carousel-arrow, .carousel-pause { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; }
.carousel-arrow:hover, .carousel-pause:hover { color: var(--purple); border-color: #b5a9e1; }
.carousel-pause { font-size: 16px; }
@media (max-width: 699px) {
  .testimonials-section .section-heading { margin-bottom: 35px; }
  .quote figcaption { min-height: 180px; padding-bottom: 25px; }
  .quote figcaption img { width: 80px; height: 80px; }
  .quote figcaption > span > span { font-size: 13px; }
  .quote-bubble { padding: 25px 22px; border-radius: 20px; }
  .quote blockquote { font-size: 17px; }
  .carousel-controls { gap: 8px; }
}
/* Contact form: light, spacious fields inspired by the portfolio reference. */
.contact-section { background: var(--paper); color: var(--ink); padding: 85px 0; }
.contact-section .section-heading { margin-bottom: 50px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); align-items: start; gap: 45px; }
.contact-intro h3 { font-size: 22px; line-height: 1.5; margin-bottom: 12px; }
.contact-intro > p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 25px; }
.contact-inline-email { color: var(--coral); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.contact-direct-links { display: flex; flex-direction: column; gap: 18px; color: var(--muted); font-size: 13px; }
.contact-direct-links > a, .contact-direct-links > span { display: flex; gap: 12px; align-items: center; }
.contact-direct-links .bi { color: var(--purple); font-size: 17px; }
.contact-direct-links a:hover { color: var(--purple); }
.contact-form { display: grid; min-width: 0; gap: 24px; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-field { min-width: 0; }
.contact-field input, .contact-field textarea { display: block; width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 30px; padding: 18px 24px; box-shadow: 0 6px 24px #35335309; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-field textarea { resize: vertical; min-height: 170px; border-radius: 24px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #78728e; opacity: 1; }
.contact-field input:focus, .contact-field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px #6150d31a; }
.contact-submit { justify-self: start; min-width: 170px; }
.contact-form-note { font-size: 12px; color: var(--muted); margin: -6px 0 0; line-height: 1.8; }
.contact-form-note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-honeypot { display: none; }
.message-confirmation { padding: 24px; min-height: 100svh; display: grid; place-items: center; }
.message-confirmation main { width: min(540px, 100%); padding: 40px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.message-confirmation h1 { font-size: 30px; line-height: 1.3; }
.message-confirmation p { color: var(--muted); }
.message-confirmation .button { margin-top: 16px; }
.site-footer { background: var(--ink); color: #d3cee8; padding: 25px 0 32px; border-top: 1px solid #ffffff15; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 13px; }
.footer-brand .brand-mark { font-size: 28px; }
.footer-inner > span, .footer-inner > a:last-child { font-size: 12px; }
.footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 12px; }
.whatsapp-float, .back-to-top { position: fixed; z-index: 25; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 5px 22px #35335326; }
.whatsapp-float { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; background: #128c4e; color: #fff; font-size: 27px; }
.whatsapp-float:hover { background: #0d7540; }
.whatsapp-label { position: absolute; right: calc(100% + 14px); padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; white-space: nowrap; font-size: 13px; opacity: 0; visibility: hidden; pointer-events: none; }
.whatsapp-float:hover .whatsapp-label, .whatsapp-float:focus-visible .whatsapp-label { opacity: 1; visibility: visible; }
.back-to-top { right: 28px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 21px; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--yellow); }

/* Responsive layout: one sidebar breakpoint and one compact-content breakpoint. */
@media (min-width: 1101px) {
  body { padding-left: 255px; }
  .site-header { position: fixed; inset: 0 auto 0 0; width: 255px; border-right: 1px solid #ffffff15; }
  .header-inner { width: 100%; height: 100%; padding: 46px 30px; display: flex; flex-direction: column; align-items: start; gap: 45px; overflow-y: auto; }
  .header-inner > .brand { flex-direction: column; align-items: start; gap: 10px; }
  .brand-mark { font-size: 50px; }
  #site-navigation { display: flex; flex-direction: column; gap: 8px; width: 100%; }
  .menu-toggle { display: none; }
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .container { width: calc(100% - 64px); }
  .expertise-list { gap: 15px; }
  .expertise-row { padding: 24px 16px; }

}
@media (max-width: 1100px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .brand-mark { font-size: 32px; }
  .brand-name { font-size: 14px; }
  .brand-name > span { font-size: 12px; }
  #site-navigation { display: none; position: absolute; top: 76px; left: 0; right: 0; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; background: var(--ink); padding: 15px 36px 25px; border-bottom: 1px solid #ffffff30; }
  .site-header.menu-open #site-navigation { display: flex; flex-direction: column; align-items: stretch; }
  #site-navigation > a:not(.button) { padding: 12px 0; }
  #site-navigation > .button { margin-top: 14px; flex-shrink: 0; }
  section[id], details[id], main[id] { scroll-margin-top: 100px; }
  .hero-grid { min-height: calc(100svh - 76px); }
  .hero h1 { font-size: 40px; }
  .about-grid { grid-template-columns: 160px minmax(0, 1fr); gap: 25px; }
  .expertise-row h3 { font-size: 18px; }
  .credential-card { padding: 26px; }
  .contact-grid { gap: 28px; }
}
@media (min-width: 700px) and (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 699px) {
  .container { width: calc(100% - 40px); }
  .section { padding: 58px 0; }
  h2 { font-size: 29px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { max-width: 100%; margin-top: 20px; }
  .hero-grid { padding: 45px 0 28px; }
  .portrait > img { width: 176px; height: 200px; border-radius: 23px; }
  .hero .portrait { border-radius: 30px; margin-bottom: 26px; }
  .hero h1 { font-size: 33px; }

  .hero-role { font-size: 15px; }
  .hero-description { font-size: 14px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { font-size: 12px; padding: 11px 16px; }
  .hero-credentials { gap: 10px 16px; }
  .hero-decoration span { font-size: 32px; }
  .hero-decoration span:nth-child(3) { right: 7%; top: 22%; }
  .organization-inner { grid-template-columns: 1fr; gap: 20px; }
  .organization-inner > p br { display: none; }
  .organization-inner strong { margin-left: 4px; }
  .organization-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .organization { min-height: 180px; }
  .organization img { width: 118px; height: 114px; }
  .about-grid, .expertise-list, .credential-grid, .quote-grid, .qualification-grid, .contact-grid, .capability-content { grid-template-columns: 1fr; }
  .about-visual { width: 150px; justify-self: center; }
  .about-visual figcaption { display: none; }
  .about-copy { padding: 26px; }
  .about-copy h2 { font-size: 29px; }
  .expertise-list { gap: 18px; }
  .expertise-row { padding: 28px; }
  .expertise-row h3 { font-size: 22px; }
  .expertise-row p { max-width: 420px; margin-inline: auto; }
  .career-timeline { padding: 4px 20px; }
  .career-role > summary { grid-template-columns: minmax(0, 1fr) 28px; gap: 8px 16px; }
  .role-date, .role-heading { grid-column: 1; }
  .role-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .role-heading strong { font-size: 17px; }
  .role-body { grid-template-columns: 1fr; padding-right: 0; gap: 12px; }
  .section-footnote { align-items: start; flex-direction: column; }
  .qualification-grid { gap: 20px; }
  .qualification-grid > div, .capability-content { padding: 24px; }
  .contact-section { padding: 60px 0; }
  .contact-grid { gap: 35px; }
  .contact-section .section-heading { margin-bottom: 30px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { gap: 20px; }
  .contact-field input, .contact-field textarea { padding: 16px 22px; }
  .contact-submit { width: 100%; }
  .footer-inner { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
  .back-to-top { right: 20px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
  .whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
