@font-face {
  font-family: Manrope;
  src: url('manrope-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbfdff;
  --white: #fff;
  --navy: #07192d;
  --ink: #0c2640;
  --muted: #3e5268;
  --blue: #005892;
  --cyan: #42d4f1;
  --pale: #edf6fd;
  --line: #cbdceb;
  --gradient: linear-gradient(110deg, #0067a8, #007fa2);
  --sans: Manrope, 'Segoe UI', Arial, sans-serif;
  scroll-padding-top: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 720; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6vw, 6rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.33rem, 2.1vw, 1.8rem); letter-spacing: -.035em; }
p + p { margin-top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(81rem, calc(100% - 2 * clamp(1.25rem, 5.2vw, 5.25rem))); margin-inline: auto; }
.skip { position: fixed; z-index: 20; left: 1rem; top: .7rem; background: var(--white); color: var(--ink); padding: .6rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  isolation: isolate;
  background: linear-gradient(110deg, #f3faff, #e1f3fc 70%, #e8f7fd);
  border-bottom: 1px solid #a9cbdf;
  box-shadow: 0 3px 14px #06233c12;
}
.site-header::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(25rem, 21%);
  pointer-events: none;
  background: radial-gradient(ellipse at 23% 170%, transparent 52%, #82c1df70 52.3% 53%, transparent 53.3% 60%, #82c1df60 60.3% 61%, transparent 61.3%);
  mask-image: linear-gradient(90deg, #000 45%, transparent);
}
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: 4.65rem; padding-block: .35rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: clamp(7rem, 12vw, 9.5rem); height: auto; }
.site-header .brand img { width: clamp(6.2rem, 10.5vw, 8rem); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem clamp(.8rem, 2.3vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .91rem; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: .35em; }
.nav-contact { border: 1px solid #73a4c7; border-radius: .4rem; padding-inline: 1.15rem; }
.nav-contact:hover { background: var(--blue); color: var(--white); }
.language-switch { display: inline-flex; align-items: center; gap: .28rem; white-space: nowrap; font-size: .82rem; }
.language-switch > span[aria-current] { font-weight: 800; }
.language-switch a { padding-inline: .2rem; font-size: inherit; text-decoration: underline; text-underline-offset: .22em; }
.nav-tutoreca { gap: .35rem; white-space: nowrap; }
.nav-tutoreca img { width: 4.5rem; height: auto; }
.site-header-tutoreca { background: linear-gradient(110deg, #f9f3eb, #f1e1e4 74%, #f7e9e9); border-bottom-color: #d7b4bd; color: #421a26; }
.site-header-tutoreca::before { background: radial-gradient(ellipse at 23% 170%, transparent 52%, #a5506047 52.3% 53%, transparent 53.3% 60%, #a5506038 60.3% 61%, transparent 61.3%); }
.site-header-tutoreca nav a:hover, .site-header-tutoreca nav a[aria-current="page"] { color: #741d34; }
.site-header-tutoreca .nav-contact { border-color: #b78391; }
.site-header-tutoreca .nav-contact:hover { background: #741d34; color: var(--white); }

.home-hero { display: grid; isolation: isolate; position: relative; align-items: center; min-height: clamp(34rem, 51vw, 47rem); background: var(--navy); color: var(--white); }
.home-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #041325 0%, #061a2ce8 27%, #0723398c 56%, #07233915 88%); }
.hero-copy { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.hero-copy h1 { max-width: 51rem; text-wrap: wrap; }
.hero-copy h1 span { display: block; margin-top: .65rem; color: #8ceeff; font-size: clamp(1.75rem, 3.8vw, 3.7rem); letter-spacing: -.05em; }
.eyebrow { font-size: .88rem; font-weight: 700; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: var(--blue); }
.home-hero .eyebrow, .page-intro .eyebrow { color: #8ceeff; }
.hero-copy h1, .page-intro h1 { margin-top: 1.05rem; }
.lead { max-width: 38rem; margin-top: 1.5rem; font-size: clamp(1.06rem, 1.45vw, 1.25rem); color: #e5f1fb; }
.hero-copy .lead { max-width: 34rem; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: .72rem 1.2rem; min-height: 2.95rem; font-size: .92rem; font-weight: 700; line-height: 1.35; border: 1px solid #83e9fb; border-radius: .4rem; background: linear-gradient(110deg, #82cbff, var(--cyan)); color: var(--navy); text-decoration: none; }
.button:hover { background: #a4efff; border-color: #a4efff; }
.button-outline { border-color: currentColor; color: inherit; background: transparent; }
.button-outline:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.page-intro { padding-block: clamp(3.75rem, 8vw, 7rem); background: radial-gradient(ellipse at 82% 10%, #123f67, transparent 70%), var(--navy); color: var(--white); }
.page-intro h1 { max-width: 68rem; }
.intro-with-image { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.intro-with-image h1 { text-wrap: wrap; }
.team-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .75rem; }
.expertise-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(29rem, 40vw, 38rem); }
.expertise-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #041325f7, #071b31df 49%, #09294133 100%); }
.expertise-hero .hero-image { object-position: center 67%; }
.expertise-hero h1 { max-width: 48rem; }
.profile-intro { overflow: hidden; }
.profile-visual { position: relative; isolation: isolate; padding-inline-start: clamp(0rem, 3.5vw, 3rem); }
.profile-visual::before { content: ''; position: absolute; z-index: -1; top: 50%; right: 0; width: min(92%, 29rem); aspect-ratio: 467 / 510; transform: translateY(-50%); background: url('logo-cydel-symbole.png') center / contain no-repeat; opacity: .46; pointer-events: none; }
.profile-portrait { width: min(100%, 16rem); height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 12%; border: 1px solid #b9dcf3a6; border-radius: .75rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-heading, .editorial, .contact-grid, .callout-inner, .people-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(1.5rem, 6vw, 5rem); }
.section-heading h2 { margin-top: .7rem; }
.section-heading > p { align-self: end; }
.section p, .contact-topics li { color: var(--muted); }
.section .eyebrow { color: var(--blue); }
.section h2 { max-width: 47rem; }
.ruled-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.3rem, 3.2vw, 3rem); margin-top: clamp(1.75rem, 4.4vw, 3.5rem); }
.ruled-grid article { border-top: 2px solid; border-image: var(--gradient) 1; padding-top: 1.3rem; }
.ruled-grid h3 { margin-bottom: .7rem; }
.ruled-grid .detail { margin-top: .85rem; }
.mission-systems { max-width: 53rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.muted-section { background: var(--pale); }
.people-grid { align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.people-grid h2, .editorial .eyebrow + h2 { margin-top: .7rem; }
.people-grid h2 + p, .map-editorial h2 + p { margin-top: 1.15rem; }
.venture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.5rem); margin: 2rem 0 0; padding: 0; list-style: none; }
.brand-card { padding: clamp(1rem, 2vw, 1.45rem); background: var(--white); border: 1px solid var(--line); border-radius: .65rem; }
.brand-card .brand-logo { display: grid; place-items: center; min-height: 4.5rem; margin-bottom: .8rem; }
.brand-card img { width: min(100%, 10rem); height: 4rem; object-fit: contain; }
.brand-monogram { display: grid; place-items: center; width: 3.75rem; aspect-ratio: 1; background: #e8f4fb; color: #193b54; border: 1px solid #6c98b5; border-radius: .2rem .2rem .9rem .2rem; font: 700 1.65rem/1 Georgia, serif; letter-spacing: -.08em; }
.brand-card h3 { font-size: 1.2rem; }
.brand-card p { margin-top: .6rem; font-size: .94rem; }
.investment-link { display: block; color: var(--blue); text-decoration: none; }
.investment-link:hover h3, .investment-link:focus-visible h3 { text-decoration: underline; text-underline-offset: .2em; }
.reference-marquee { margin-top: 1.5rem; }
.reference-controls label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2rem; font-size: .85rem; cursor: pointer; }
.reference-pause { accent-color: var(--blue); }
.reference-window { overflow: hidden; }
.reference-track { display: flex; width: max-content; background: var(--pale); animation: reference-flow 52s linear infinite; }
.reference-window:hover .reference-track, .reference-marquee:has(.reference-pause:checked) .reference-track { animation-play-state: paused; }
@keyframes reference-flow { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.reference-strip { display: flex; flex: none; align-items: center; gap: clamp(1.15rem, 3.5vw, 3.75rem); list-style: none; margin: 0; padding: 1.8rem clamp(.58rem, 1.75vw, 1.88rem); }
.reference-strip li { mix-blend-mode: multiply; }
.reference-strip li:nth-child(3n + 1) { transform: translateY(-.45rem); }
.reference-strip li:nth-child(3n + 2) { transform: translateY(.6rem); }
.reference-link { display: flex; align-items: center; justify-content: center; width: clamp(7rem, 10.5vw, 10rem); height: 5rem; padding: .3rem; }
.reference-strip li:nth-child(3n + 1) .reference-link { width: clamp(6rem, 9vw, 8rem); }
.reference-link img { width: 100%; max-height: 100%; object-fit: contain; }
.reference-light-logo img { filter: brightness(0); }
.reference-link:hover img { opacity: .73; }
.reference-window:has(.reference-link:focus-visible) .reference-track { width: auto; animation: none; }
.reference-window:has(.reference-link:focus-visible) .reference-strip { flex: 1; flex-wrap: wrap; justify-content: center; }
.reference-window:has(.reference-link:focus-visible) .reference-strip-copy { display: none; }
@media (prefers-reduced-motion: reduce) {
  .reference-controls, .reference-strip-copy { display: none; }
  .reference-track { width: auto; animation: none; }
  .reference-strip { flex: 1; flex-wrap: wrap; justify-content: center; }
}

.text-link { font-weight: 700; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }

.editorial .text-link { display: inline-block; margin-top: 1rem; }
.map-editorial { align-items: center; }
.experience-map { margin: 0; }
.experience-map img { width: 100%; height: auto; border: 1px solid #b2d3e6; border-radius: .65rem; }
.experience-map figcaption { margin-top: .4rem; font-size: .8rem; color: var(--muted); }
.tutoreca-page { --tutoreca-ink: #421a26; --tutoreca-accent: #741d34; --tutoreca-cream: #f9f3eb; color: var(--tutoreca-ink); }
.tutoreca-hero, .tutoreca-tools { background: var(--tutoreca-cream); }
.tutoreca-intro { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.75rem, 5vw, 4.5rem); padding-block: clamp(2.75rem, 6vw, 6rem); }
.tutoreca-signature { display: inline-block; width: clamp(9rem, 17vw, 13rem); margin-bottom: clamp(1.4rem, 3vw, 2.5rem); }
.tutoreca-signature img { width: 100%; height: auto; }
.tutoreca-socials { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .9rem; color: var(--tutoreca-accent); }
.social-link { display: inline-grid; place-items: center; flex: none; width: 2.75rem; min-height: 2.75rem; border-radius: .4rem; color: inherit; }
.social-link:hover { background: #741d3412; }
.tutoreca-hero .eyebrow { color: #7a293b; }
.tutoreca-hero h1 { font-size: clamp(2.6rem, 5vw, 5.15rem); margin-top: .75rem; }
.tutoreca-hero h1 + p { max-width: 35rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.5vw, 1.2rem); color: #523d43; }
.tutoreca-page :is(.tutoreca-hero, .tutoreca-contact) .button { background: var(--tutoreca-accent); color: #fff; border-color: var(--tutoreca-accent); }
.tutoreca-page :is(.tutoreca-hero, .tutoreca-contact) .button:hover { background: #491122; border-color: #491122; }
.tutoreca-photo { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; border-radius: .65rem; }
.tutoreca-proof { background: var(--tutoreca-accent); color: #fff; }
.tutoreca-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.1rem 2rem; margin: 0; padding: 1.65rem 0; list-style: none; }
.tutoreca-stats strong { display: block; font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.1; }
.tutoreca-page .ruled-grid article { border-image: none; border-color: #a55060; }
.tutoreca-page .text-link { color: var(--tutoreca-accent); }
.tutoreca-tools h2 + p { margin-top: 1rem; max-width: 43rem; }
.tutoreca-page .tutoreca-contact { background: #f1e1e4; }
.tutoreca-contact p { max-width: 49rem; }

.callout { padding-block: clamp(2.6rem, 5.5vw, 4.8rem); background: linear-gradient(100deg, #e1eefc, #e3f8fc); }
.callout-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.callout h2 { font-size: clamp(1.95rem, 3.7vw, 3.15rem); }
.callout p { margin-top: .55rem; }
.callout .button { background: var(--navy); border-color: var(--navy); color: var(--white); }
.callout .button:hover { background: var(--blue); border-color: var(--blue); }
.contact-card { background: var(--navy); border-radius: .65rem; color: var(--white); padding: clamp(1.5rem, 4vw, 3.5rem); }
.contact-card p { color: #e5f1fb; margin-top: .75rem; }
.contact-card .eyebrow { color: #8ceeff; margin: 0 0 .85rem; }
.contact-topics ul { padding-inline-start: 1.3rem; }
.contact-topics li + li { margin-top: .75rem; }
.legal h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); margin-block: 2rem .65rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { max-width: 46rem; }

.site-footer { color: var(--ink); background: var(--white); border-top: 1px solid var(--line); padding-block: 1.5rem; }
.site-footer p, .site-footer div > a:not(.brand) { color: var(--muted); font-size: .9rem; }
.footer-inner > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.site-footer .social-link { color: #0a66c2; }
.site-footer .social-link:hover { background: #0a66c216; }
.footer-inner > div a { text-underline-offset: .25em; }

@media (max-width: 56rem) {
  :root { scroll-padding-top: 9.75rem; }
  .site-header::before { bottom: auto; height: 3rem; width: min(22rem, 58%); }
  .header-inner { display: grid; gap: .08rem; }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 43rem) {
  .header-inner { padding-block: .3rem .28rem; }
  .site-header .brand img { width: 5.5rem; }
  nav { gap: 0 .9rem; }
  nav a { min-height: 2.4rem; }
  .nav-contact { padding-inline: 0; border: 0; }
  .nav-contact:hover { color: inherit; background: transparent; }
  .site-header-tutoreca .nav-contact:hover { color: #741d34; background: transparent; }
  .section-heading, .editorial, .contact-grid, .callout-inner, .people-grid, .intro-with-image, .tutoreca-intro { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; }
  .home-hero::before { background: linear-gradient(180deg, #041325db, #061a2ce8 60%, #061a2c25); }
  .hero-copy { padding-bottom: clamp(9rem, 38vw, 14rem); }
  .hero-image { object-position: 70% center; }
  .expertise-hero::before { background: linear-gradient(155deg, #041325f5, #071b31dd 70%, #09294170); }
  .expertise-hero .hero-image { object-position: 60% center; }
  .investment-grid { grid-template-columns: 1fr; }
  .team-photo { order: 1; }
  .profile-visual { padding-inline-start: 0; }
  .profile-visual::before { width: min(78%, 24rem); }
  .profile-portrait { width: min(60%, 14rem); }

  .ruled-grid { grid-template-columns: 1fr; }
  .callout .button { justify-self: start; }
  .footer-inner { align-items: start; flex-direction: column; gap: .8rem; }
}
