:root {
  --ink: #10233b;
  --ink-soft: #243e5f;
  --blue: #285e94;
  --blue-dark: #214d7c;
  --sky: #a9cef6;
  --mist: #d8e9fb;
  --ice: #f4f8fe;
  --paper: #ffffff;
  --line: rgba(16, 35, 59, .14);
  --typeface: Geneva, Verdana, sans-serif;
  --shadow: 0 28px 70px rgba(34, 75, 122, .12);
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--ice); font: 400 1rem/1.7 var(--typeface); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: 16px; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 88px; display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header.is-scrolled { height: 72px; background: rgba(244,248,254,.92); box-shadow: 0 10px 35px rgba(16,35,59,.06); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-image { width: 214px; height: 54px; object-fit: contain; object-position: left center; }
.custom-logo { width: auto; max-height: 58px; }
.nav-list { display: flex; align-items: center; gap: 32px; padding: 0; margin: 0; list-style: none; font-size: .91rem; font-weight: 650; }
.nav-list a { position: relative; padding: 12px 0; }
.nav-list a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: var(--blue); transition: right .25s; }
.nav-list a:hover::after, .nav-list a:focus-visible::after { right: 0; }
.nav-list .nav-cta { padding: 11px 19px; color: white; background: var(--ink); border-radius: 999px; transition: transform .2s, background .2s; }
.nav-list .nav-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }
.nav-list .nav-cta-item > a { padding: 11px 19px; color: white; background: var(--ink); border-radius: 999px; }
.nav-list .nav-cta-item > a:hover { background: var(--blue-dark); }
.nav-list .nav-cta-item > a::after { content: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .25s, opacity .25s; }

.hero { position: relative; min-height: 810px; padding: 170px 0 100px; overflow: hidden; background: radial-gradient(circle at 76% 38%, rgba(149,190,246,.22), transparent 26%), linear-gradient(135deg, #fafcff 0%, #eaf2fc 100%); }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 66px; }
.eyebrow, .section-label { margin: 0 0 24px; color: var(--blue-dark); font-size: .78rem; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: var(--blue); }
.hero h1 { max-width: 700px; margin: 0; font: 500 clamp(3.35rem, 6.3vw, 5.8rem)/.98 var(--typeface); letter-spacing: -.055em; }
.hero h1::after { content: ''; display: inline-block; width: .14em; height: .14em; margin-left: .04em; border-radius: 50%; background: var(--sky); }
.hero-lead { max-width: 630px; margin: 28px 0 0; color: #344b64; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 0; border-radius: 999px; font-size: .94rem; font-weight: 740; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue-dark); }
.button-primary:hover { background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 730; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateY(4px); }
.trust-row { display: flex; align-items: center; gap: 13px; margin-top: 48px; color: #4e6076; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trust-row i { width: 3px; height: 3px; background: var(--blue); border-radius: 50%; }

.hero-visual { position: relative; min-height: 515px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero-glow-one { width: 300px; height: 300px; right: 5%; top: 22%; background: rgba(145,186,243,.35); }
.hero-glow-two { width: 210px; height: 210px; right: 31%; bottom: 5%; background: rgba(204,222,250,.6); }
.orbit { position: absolute; border: 1px solid rgba(40,94,148,.18); border-radius: 50%; }
.orbit-large { width: 470px; height: 470px; right: 0; top: 20px; }
.orbit-small { width: 350px; height: 350px; right: 60px; top: 80px; border-style: dashed; animation: rotate 28s linear infinite; }
.visual-monogram { position: absolute; right: 78px; top: 95px; width: 320px; height: 320px; display: grid; place-items: center; border-radius: 50%; color: rgba(33,77,124,.1); background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(214,232,255,.62)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--shadow); font: 800 8.5rem/1 var(--typeface); letter-spacing: -.1em; }
.visual-card { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.76); background: rgba(255,255,255,.85); box-shadow: 0 22px 65px rgba(28,64,112,.13); backdrop-filter: blur(13px); }
.card-main { left: 2px; top: 72px; width: 215px; padding: 25px; border-radius: 20px; }
.card-kicker { color: #50637a; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-main strong { display: block; margin: 8px 0 19px; font: 500 2.3rem/1 var(--typeface); }
.progress-track { height: 7px; overflow: hidden; border-radius: 9px; background: #e2ebf7; }
.progress-track span { display: block; width: 83%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.card-floating { display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 16px 19px; border-radius: 16px; color: #50637a; font-size: .8rem; line-height: 1.35; }
.card-floating strong { color: var(--ink); font-size: .95rem; }
.card-top { right: -18px; top: 50px; }
.card-bottom { left: 28px; bottom: 50px; }
.check, .spark { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 800; }
.spark { color: var(--blue-dark); background: var(--mist); }
@keyframes rotate { to { transform: rotate(360deg); } }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .37fr .63fr; gap: 60px; }
.intro-copy h2, .section-heading h2, .company-copy h2, .contact-copy h2, .approach h2 { margin: 0; font: 500 clamp(2.6rem, 5vw, 4.75rem)/1.08 var(--typeface); letter-spacing: -.045em; }
.intro-copy h2 em, .approach h2 em { color: var(--blue); font-weight: 400; }
.intro-copy > p { max-width: 720px; margin: 30px 0 0; color: #465b72; font-size: 1.12rem; }

.services { background: #e9f2fe; }
.section-heading { display: grid; grid-template-columns: 1.6fr .7fr; align-items: end; gap: 70px; margin-bottom: 56px; }
.section-heading > p { margin: 0 0 8px; color: #4d6178; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 35px 31px; overflow: hidden; border: 1px solid rgba(16,35,59,.08); border-radius: var(--radius); background: rgba(255,255,255,.78); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card::after { content: ''; position: absolute; width: 170px; height: 170px; right: -85px; bottom: -85px; border-radius: 50%; background: rgba(149,190,246,.12); }
.service-featured { color: white; background: var(--ink-soft); }
.service-featured::after { background: rgba(149,190,246,.13); }
.service-number { position: absolute; right: 30px; top: 29px; margin: 0; color: rgba(16,35,59,.32); font: 500 1rem var(--typeface); }
.service-featured .service-number { color: rgba(255,255,255,.42); }
.service-icon { position: relative; width: 54px; height: 54px; margin-bottom: 57px; display: grid; place-items: center; border-radius: 15px; color: var(--blue-dark); background: var(--mist); font-size: 1.35rem; }
.service-icon:not(.compass):not(.hands) span { position: absolute; left: 13px; width: 28px; height: 2px; background: var(--blue-dark); }
.service-icon:not(.compass):not(.hands) span:nth-child(1) { top: 17px; }
.service-icon:not(.compass):not(.hands) span:nth-child(2) { top: 26px; width: 20px; }
.service-icon:not(.compass):not(.hands) span:nth-child(3) { top: 35px; width: 24px; }
.service-icon.compass::before { content: ''; width: 24px; height: 24px; border: 2px solid var(--blue); border-radius: 50%; }
.service-icon.compass::after { content: ''; position: absolute; width: 7px; height: 7px; border: 2px solid var(--blue); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.service-card h3 { margin: 0 0 18px; font: 500 1.8rem/1.15 var(--typeface); }
.service-card > p:not(.service-number) { color: #465b72; }
.service-featured > p:not(.service-number) { color: #d0ddec; }
.service-card ul { z-index: 1; padding: 20px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); list-style: none; color: #465b72; font-size: .85rem; }
.service-featured ul { border-color: rgba(255,255,255,.18); color: #dbe7f5; }
.service-card li { display: flex; align-items: center; gap: 9px; margin: 6px 0; }
.service-card li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }

.approach { color: white; background: var(--ink); }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-label.light { color: #b0d3fa; }
.approach h2 em { color: #b0d3fa; }
.approach-sticky > p:last-child { max-width: 450px; margin-top: 28px; color: #c4d3e5; font-size: 1.05rem; }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.steps li > span { color: #a1c9f4; font: 500 1rem var(--typeface); }
.steps h3 { margin: 0 0 8px; font: 500 1.7rem var(--typeface); }
.steps p { margin: 0; color: #c4d3e5; }

.company { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.company-visual { position: relative; min-height: 520px; display: grid; place-items: center; border-radius: 48% 48% 12% 48%; background: radial-gradient(circle at 45% 44%, rgba(149,190,246,.72), rgba(214,232,255,.48) 39%, #eef5ff 70%); overflow: hidden; }
.company-ring { position: absolute; width: 390px; height: 390px; border: 1px solid rgba(33,77,124,.25); border-radius: 50%; }
.company-mark { position: relative; z-index: 1; width: 300px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; color: var(--ink-soft); }
.company-mark span:first-child { text-align: right; font: 500 1.6rem var(--typeface); }
.company-mark strong { color: var(--blue); font-size: 2.6rem; }
.company-mark span:last-child { font-size: .85rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .07em; }
.company-copy h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); }
.company-copy > p:not(.section-label) { color: #465b72; font-size: 1.06rem; }
.company-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.company-facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.company-facts span { display: block; margin-bottom: 5px; color: #4e6076; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.company-facts strong { font-size: .92rem; }

.contact { color: white; background: var(--blue-dark); }
.contact-shell { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; }
.contact-copy h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.contact-copy > p:not(.section-label) { max-width: 520px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.booking-callout { margin-top: 22px; }
.booking-button { color: #10233b; background: #fff; text-align: center; }
.booking-button:hover { color: #10233b; background: #d8e9fb; }
.booking-callout p { margin: 8px 0 0; color: #dce9f9; font-size: .875rem; }
.booking-gate-card { max-width: 540px; }
.booking-gate-card form { margin-top: 18px; }
.booking-gate-card .booking-contact { margin-top: 18px; }
.contact-details { display: grid; gap: 14px; margin-top: 40px; }
.contact-details > * { display: flex; align-items: center; gap: 14px; }
.contact-details > * > span:first-child { display: grid; flex: 0 0 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.contact-details small { display: block; color: #dce9f9; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-form-wrap { padding: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: white; color: var(--ink); box-shadow: 0 32px 70px rgba(0,0,0,.16); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label > span { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 740; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #bacbe0; border-radius: 10px; background: #f8fbff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,94,148,.12); }
.contact-form textarea { resize: vertical; }
.contact-captcha { margin-bottom: 14px; }
.button-dark { width: 100%; color: white; background: var(--ink); }
.button-dark:hover { background: var(--blue-dark); }
.privacy-note { margin: 12px 0 0; color: #4e6076; font-size: .72rem; text-align: center; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-notice { margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; font-size: .86rem; }
.form-notice.success { color: #214d7c; background: #e5f0ff; }
.form-notice.error { color: #842f2f; background: #fae8e8; }

.site-footer { padding: 74px 0 24px; background: #0a192c; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .9fr; gap: 80px; }
.footer-brand .brand-image { width: 220px; height: auto; filter: var(--excellencia-white-wordmark); }
.footer-grid > div:first-child > p { max-width: 350px; color: #b7c9de; }
.footer-grid h2 { margin: 0 0 18px; color: #b0d3fa; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) p { display: block; margin: 8px 0; color: #d3e1f1; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #aebfd3; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-hosting { margin-block: 12px 0; color: #aebfd3; font-size: .78rem; }
.default-content { min-height: 60vh; padding-top: 160px; }

@keyframes reveal-in { from { translate: 0 10px; } to { translate: 0 0; } }
.reveal-in { animation: reveal-in .42s ease-out; }

@media (max-width: 980px) {
  .section-pad { padding: 88px 0; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .intro-grid { grid-template-columns: .3fr .7fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 450px; }
  .approach-grid, .company-grid, .contact-shell { gap: 55px; }
  .company-visual { min-height: 440px; }
  .footer-grid { gap: 38px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 650px); }
  .site-header { height: 72px; }
  .site-header.is-scrolled { backdrop-filter: none; }
  .admin-bar .primary-nav { top: var(--wp-admin--admin-bar--height, 46px); }
  .brand-image { width: 175px; height: 48px; }
  .has-enhanced-menu .menu-toggle { display: block; position: relative; z-index: 3; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .has-enhanced-menu .primary-nav { position: fixed; inset: 0; display: grid; place-items: center; overflow-y: auto; background: rgba(244,248,254,.98); visibility: hidden; transform: translateY(-102%); transition: transform .35s ease; }
  .has-enhanced-menu .primary-nav.is-open { visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 18px; font: 500 1.8rem var(--typeface); }
  .nav-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-list .nav-cta { margin-top: 10px; font: 700 .95rem var(--typeface); }
  body:not(.has-enhanced-menu) .site-header { position: static; height: auto; padding: 10px 0; }
  body:not(.has-enhanced-menu) .header-inner { flex-wrap: wrap; gap: 6px; }
  body:not(.has-enhanced-menu) .nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; }
  body:not(.has-enhanced-menu) .hero { padding-top: 42px; }
  .hero { padding: 130px 0 70px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .trust-row { gap: 8px; font-size: .66rem; }
  .hero-visual { min-height: 420px; transform: scale(.9); transform-origin: top center; margin-bottom: -45px; }
  .orbit-large { width: 390px; height: 390px; right: 50%; transform: translateX(50%); }
  .orbit-small { width: 290px; height: 290px; right: 50%; transform: translateX(50%); animation: none; }
  .visual-monogram { width: 265px; height: 265px; right: 50%; top: 80px; transform: translateX(50%); font-size: 7rem; }
  .card-main { left: 0; top: 54px; }
  .card-top { right: -16px; top: 30px; }
  .card-bottom { left: 5px; bottom: 15px; }
  .intro-grid, .section-heading, .approach-grid, .company-grid, .contact-shell { grid-template-columns: 1fr; }
  .intro-grid, .section-heading { gap: 16px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading > p { max-width: 580px; }
  .service-card { min-height: 0; }
  .service-card ul { margin-top: 22px; }
  .service-icon { margin-bottom: 30px; }
  .approach-grid { gap: 30px; }
  .company-grid { gap: 50px; }
  .company-visual { min-height: 360px; order: 2; }
  .company-copy { order: 1; }
  .company-ring { width: 290px; height: 290px; }
  .company-mark { width: 250px; }
  .company-facts { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 12px; flex-direction: column; }
}

@media (max-width: 600px) {
  .admin-bar #wpadminbar { position: fixed; }
}

@media (max-width: 440px) {
  .hero-visual { transform: scale(.76); width: 122%; margin-left: -11%; margin-bottom: -95px; }
  .contact-details a, .contact-details > div { align-items: flex-start; }
  .contact-details a { overflow-wrap: anywhere; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .section-pad { padding-block: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.footer-brand { max-width: 240px; }
.digital-grid, .founder-grid, .reference-grid, .project-grid { display: grid; gap: 20px; }
.digital-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder-grid, .reference-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.founder-heading { display: grid; grid-template-columns: minmax(0, 1fr) clamp(155px, 21vw, 250px); align-items: center; gap: clamp(24px, 5vw, 72px); }
.founder-intro > p:last-child { max-width: 66ch; margin: 20px 0 0; font-size: 1.15rem; }
.founder-portrait { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.digital-grid article, .reference-card, .project-card { padding: clamp(22px, 4vw, 38px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.digital-grid h3, .showcase h2, .related-title { margin: 0 0 .5em; font: 500 clamp(1.45rem, 3vw, 2rem)/1.15 var(--typeface); }
.digital-grid p, .reference-card p, .project-card p { margin: 0; }
.portfolio-action, .showcase-action { margin-top: 32px; }
.related-title { margin-top: 64px; }
.showcase { min-height: 65vh; padding: 150px 0 96px; background: radial-gradient(ellipse at 78% 4%, #d8e9ff, transparent 48%), var(--ice); }
.showcase-heading { margin-bottom: 42px; }
.showcase-heading h1 { margin: 0; font: 500 clamp(2.9rem, 8vw, 5.75rem)/1.04 var(--typeface); letter-spacing: -.045em; }
.showcase-heading > p:last-child { max-width: 66ch; margin: 20px 0 0; font-size: 1.15rem; }
.project-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.project-card > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; background: #e9f2fe; }
.project-card > div { padding: clamp(22px, 4vw, 36px); }
.project-card p.section-label { margin-bottom: 12px; }
.project-card a { display: inline-block; margin-top: 16px; }
.project-card small { margin-left: .35em; }
.project-card a, .reference-card a { color: var(--blue-dark); font-weight: 725; text-decoration: underline; text-underline-offset: .18em; }
.media-section { margin-top: 70px; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; align-items: start; }
.media-grid h3 { margin: 0 0 16px; font-size: 1.2rem; line-height: 1.35; }
.media-list { list-style: none; padding: 0; margin: 0; }
.media-list li { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.media-list span, .media-list p { color: #465b72; font-size: .9rem; }
.media-dossier { padding-top: 20px; margin-top: 18px; border-top: 1px solid var(--line); }
.media-dossier h4 { margin: 0 0 8px; font-size: 1rem; }
.media-dossier > p { margin: 0 0 12px; }
.media-photo { margin: 18px 0 12px; }
.media-photo img { width: 100%; border-radius: 12px; }
.media-photo figcaption { margin-top: 6px; color: #465b72; font-size: .875rem; }
@media (max-width: 760px) {
  .digital-grid, .founder-grid, .reference-grid, .project-grid, .media-grid { grid-template-columns: 1fr; }
  .founder-heading { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 185px; }
  .showcase { padding: 115px 0 72px; }
}

.text-link, .footer-grid a:not(.brand), .contact-details a { text-decoration: underline; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.featured-project {
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.featured-screen {
  overflow: hidden;
  padding: 7px;
  border-radius: 20px;
  background: var(--ink);
}
.featured-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 14px; }
.featured-project figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px 0;
}
.featured-project figcaption span,
.featured-project figcaption strong { display: block; }
.featured-project figcaption span { color: var(--blue-dark); font-size: .85rem; }
.featured-project figcaption strong { font-size: 1.2rem; }
.featured-project .button { min-height: 44px; }
.project-card[id], #charters-2020 { scroll-margin-top: 100px; }

.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: #e9f2fe;
}
.gallery-trigger img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.gallery-trigger span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
}
.gallery-trigger:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: -4px; }
.project-gallery {
  width: min(900px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  box-sizing: border-box;
  padding: clamp(12px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}
.project-gallery::backdrop { background: rgb(9 25 44 / 82%); }
.project-gallery-header, .project-gallery-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.project-gallery-header h2 { margin: 0; font-size: clamp(1.05rem, 3vw, 1.4rem); }
.project-gallery figure { margin: 12px 0; }
.project-gallery button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #e9f2fe;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.gallery-image {
  display: block;
  width: 100%;
  max-height: 60dvh;
  object-fit: contain;
  background: #e9f2fe;
  border-radius: 12px;
  touch-action: pan-y pinch-zoom;
}
.gallery-caption { margin-top: 8px; text-align: center; }

.career-timeline { margin-block: clamp(38px, 7vw, 80px); }
.career-timeline ol { margin: 20px 0 0; padding: 0; list-style: none; }
.career-timeline li { padding: 0 0 10px 18px; border-left: 2px solid var(--line); }
.career-timeline details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.career-timeline details[open] { border-color: var(--blue-dark); }
.career-timeline summary {
  position: relative;
  min-height: 44px;
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.career-timeline summary time, .timeline-date {
  display: inline-block;
  min-width: 7.5rem;
  margin-right: 6px;
  color: var(--blue-dark);
  font-weight: 700;
}
.career-timeline details > div { padding: 0 16px 16px; }
.career-timeline details p { margin: 0 0 6px; }
.career-timeline details a { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 440px) {
  .featured-project .button { width: 100%; }
  .career-timeline summary time, .timeline-date { min-width: 0; margin-right: 0; }
  .career-timeline summary > span:last-child { display: block; }
}

:root { color-scheme: dark; }
:root[data-appearance="system"] { color-scheme: light dark; }
:root[data-appearance="light"] { color-scheme: light; }
:root[data-appearance="dark"] { color-scheme: dark; }
.site-tools { position: relative; z-index: 3; display: flex; align-items: center; gap: 6px; }
.header-inner { gap: clamp(8px, 1.5vw, 24px); }
.site-header .nav-list { gap: clamp(13px, 1.7vw, 28px); }
.language-link, .appearance-control select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: .825rem;
  font-weight: 700;
  cursor: pointer;
}
.appearance-control[hidden] { display: none; }
.featured-screen { background: #10233b; }

@media (max-width: 980px) {
  .site-header.is-scrolled { backdrop-filter: none; }
  .has-enhanced-menu .menu-toggle { display: block; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .has-enhanced-menu .primary-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    overflow-y: auto;
    background: var(--ice);
    visibility: hidden;
    transform: translateY(-102%);
    transition: transform .35s ease;
  }
  .has-enhanced-menu .primary-nav.is-open { visibility: visible; transform: translateY(0); }
  .admin-bar.has-enhanced-menu .primary-nav { top: var(--wp-admin--admin-bar--height, 46px); }
  .site-header .nav-list { flex-direction: column; gap: 18px; font-size: 1.6rem; }
  .site-header .nav-list a { display: inline-flex; align-items: center; min-height: 44px; }
  body:not(.has-enhanced-menu) .site-header { position: static; height: auto; padding: 10px 0; }
  body:not(.has-enhanced-menu) .header-inner { flex-wrap: wrap; }
  body:not(.has-enhanced-menu) .nav-list { flex-direction: row; flex-wrap: wrap; font-size: .9rem; }
}
@media (max-width: 520px) {
  .site-header .brand { min-width: 0; }
  .site-header .brand-image { width: clamp(92px, 31vw, 152px); height: 42px; }
  .appearance-control select { max-width: 104px; }
}
@media (max-width: 360px) {
  .site-tools { gap: 4px; }
  .appearance-control select { max-width: 93px; padding-inline: 4px; }
}
@supports (color: light-dark(white, black)) {
  :root {
    --ink: light-dark(#10233b, #ecf4ff);
    --ink-soft: light-dark(#243e5f, #c6d5e8);
    --blue: light-dark(#285e94, #99c6f4);
    --blue-dark: light-dark(#214d7c, #accff6);
    --mist: light-dark(#d8e9fb, #263e5a);
    --ice: light-dark(#f4f8fe, #111c2b);
    --paper: light-dark(#fff, #18273a);
    --line: light-dark(rgba(16, 35, 59, .14), rgba(220, 236, 255, .2));
    --shadow: 0 28px 70px light-dark(rgba(34, 75, 122, .12), rgba(0, 0, 0, .28));
    --muted: light-dark(#465b72, #c2d2e5);
    --accent-surface: light-dark(#e9f2fe, #101e30);
    --strong-surface: light-dark(#10233b, #0b1626);
  }
  .hero { background: radial-gradient(ellipse at 75% 20%, light-dark(#e6f0fe, #1b3651), transparent 60%), var(--ice); }
  .showcase { background: radial-gradient(ellipse at 78% 4%, light-dark(#d8e9ff, #1b3651), transparent 48%), var(--ice); }
  .services, .gallery-trigger, .gallery-image, .project-gallery button, .project-card > img { background: var(--accent-surface); }
  .company-visual { background: radial-gradient(circle at 45% 44%, light-dark(#c5ddfa, #2b4768), var(--accent-surface) 70%); }
  .site-header.is-scrolled, .has-enhanced-menu .primary-nav.is-open { background: var(--ice); }
  .hero-lead, .trust-row, .intro-copy > p, .section-heading > p, .company-copy > p:not(.section-label),
  .company-facts span, .service-card > p:not(.service-number), .service-card ul, .privacy-note,
  .media-list span, .media-list p, .media-photo figcaption { color: var(--muted); }
  .service-card { background: var(--paper); border-color: var(--line); }
  .service-number { color: var(--muted); }
  .service-featured { background: var(--strong-surface); color: white; }
  .service-featured > p:not(.service-number), .service-featured ul { color: #dbe7f5; }
  .approach, .skip-link, .gallery-trigger span { background: var(--strong-surface); }
  .contact { background: light-dark(#214d7c, #19334f); }
  .contact-form-wrap { background: var(--paper); }
  .contact-form input, .contact-form textarea { background: var(--ice); border-color: var(--line); }
  .button-primary, .button-dark, .nav-list .nav-cta, .site-header .nav-list .nav-cta-item > a {
    color: light-dark(#fff, #10233b);
    background: light-dark(#214d7c, #accff6);
  }
  .button-primary:hover, .button-dark:hover, .nav-list .nav-cta:hover, .site-header .nav-list .nav-cta-item > a:hover {
    color: light-dark(#fff, #10233b);
    background: light-dark(#10233b, #d3e7ff);
  }
}

/* Inverse la signature originale. Le halo turquoise devient le halo noir de la variante B. */
.brand-image { filter: var(--excellencia-wordmark-filter, none); }
:root { --excellencia-white-wordmark: grayscale(1) invert(1) contrast(8); }

:root:not([data-appearance]),
:root[data-appearance="dark"] {
  --excellencia-wordmark-filter: var(--excellencia-white-wordmark);
}

@media (prefers-color-scheme: dark) {
  :root[data-appearance="system"] {
    --excellencia-wordmark-filter: var(--excellencia-white-wordmark);
  }
}

/* Halo des commandes. Le mode Système suit la préférence de l’appareil. */
:root { --excellencia-button-halo: rgba(255, 255, 255, .28); }
:root[data-appearance="light"] { --excellencia-button-halo: rgba(40, 94, 148, .37); }

@media (prefers-color-scheme: light) {
  :root[data-appearance="system"] { --excellencia-button-halo: rgba(40, 94, 148, .37); }
}

:is(.site-header, main, .site-footer) :is(button:not(.gallery-trigger), .button, .nav-cta, .nav-cta-item > a, .language-link, .appearance-control select),
main .gallery-trigger > span {
  box-shadow: 0 0 15px 2px var(--excellencia-button-halo);
}

:is(.site-header, main, .site-footer) :is(button:not(.gallery-trigger), .button, .nav-cta, .nav-cta-item > a, .language-link, .appearance-control select):hover,
main .gallery-trigger:is(:hover, :focus-visible) > span {
  box-shadow: 0 0 19px 3px var(--excellencia-button-halo);
}

.site-header .menu-toggle { border-radius: 12px; }
.project-card :is(a[href^="https://apps.apple.com/"], a[href^="https://play.google.com/store/apps/"]) img {
  filter: drop-shadow(0 0 9px var(--excellencia-button-halo));
}

:is(.site-header, main) :is(.button, .nav-cta, .nav-cta-item > a, .language-link, .appearance-control select, .project-gallery button, .menu-toggle):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.contact-copy .booking-button:focus-visible { outline-color: white; }
