/* Public dark theme. Shared brand.css also supplies the administration identity. */
html { background: #050e1b; color-scheme: dark; }
body.public-site {
  --surface-base: #050e1b;
  --surface-raised: #0c1c2e;
  --surface-card: #102338;
  --surface-input: #081625;
  --ink: #edf5ff;
  --muted: #afc2d6;
  --line: #294259;
  --paper: #091727;
  --link: #79e0f5;
  background: var(--surface-base);
  color: var(--ink);
  color-scheme: dark;
}
::selection { background: #79e0f5; color: #062c50; }
.skip-link { color: #062c50; border-radius: 8px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
#contenu { min-height: 65vh; }
.header { background: #071321; border-bottom: 1px solid #21415a; }
.nav-wrap { min-height: 96px; height: auto; padding-block: 18px; flex-wrap: wrap; }
.brand { gap: 12px; }
.brand-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 6rem; height: 4rem; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 8px; }
.brand-name { font-size: 1rem; line-height: 1.2; letter-spacing: .09em; }
.brand-dot { display: none; }
.nav { flex-wrap: wrap; }
.nav > a:not(.button) { color: #cfdfed; }
.nav > a:not(.button):hover { color: var(--link); }
.menu-toggle { border-color: #63839e; }
.button { border-radius: 10px; }
.button-lime, .button-dark { background: var(--brand-cyan); color: #062c50; box-shadow: 0 5px 24px #13c7ed14; }
.button-lime:hover, .button-dark:hover { background: #7ce6fa; color: #062c50; }
.hero {
  position: relative;
  background: radial-gradient(ellipse at 90% 20%, #0b567a70 0%, transparent 55%),
    radial-gradient(ellipse at 5% 100%, #075cac24, transparent 60%),
    linear-gradient(135deg, #071321, #0a1e33);
  padding-top: 64px;
}
.hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
.hero h1 { color: #f1f7ff; font-weight: 700; letter-spacing: -.055em; }
.hero h1 em { font-family: var(--heading); font-style: normal; font-weight: 700; letter-spacing: inherit; color: #79e0f5; }
.hero .eyebrow, .about .eyebrow { color: #8ddff1; font-size: .75rem; }
.hero-description { color: #bfd0e2; }
.hero-visual { align-self: center; padding: 0; gap: 20px; }
.hero-visual img {
  width: 100%; height: auto; aspect-ratio: 800 / 533; object-fit: contain;
  padding: 8px; border-radius: 22px; border: 1px solid #47768c;
  background: #0a2034; mix-blend-mode: normal;
  box-shadow: 0 28px 65px #0007, 0 0 60px #13c7ed0d;
}
.visual-topline { margin: 0; color: #a8cbdf; font-size: .75rem; letter-spacing: .08em; }
.visual-bottomline { padding-top: 18px; color: #c2d7e6; font-size: .875rem; border-top-color: #294259; }
.hero-footer { color: #adc5d9; font-size: .8125rem; border-top-color: #294259; }
.hero-footer a { color: #d6e8f5; }
.round-arrow { border-color: #50758c; }
.expertise-strip { background: #0b1b2d; border-block: 1px solid var(--line); }
.strip-inner > span { color: #b4c7db; font-size: .75rem; }
.strip-inner > p { color: #d8eaf7; font-size: 1rem; }
.dark-eyebrow { color: var(--link); }
.muted { color: var(--muted); }
.services { background: radial-gradient(ellipse at 0% 50%, #075cac12, transparent 60%), var(--surface-base); }
.service-card {
  background: linear-gradient(145deg, #13283d, #0b1c2f);
  border-color: var(--line); box-shadow: inset 0 1px #ffffff06;
}
.service-card:hover { border-color: #51849b; box-shadow: 0 16px 36px #0003, inset 0 1px #79e0f51a; }
.service-card h3 { color: #edf5ff; }
.service-card > p { color: var(--muted); }
.card-top svg, .service-glyph { color: var(--link); }
.card-top > span { color: #91adc5; font-size: .875rem; }
.tags span { color: #b4eaf5; background: #143549; border: 1px solid #295166; font-size: .75rem; }
.card-link { color: var(--link); border-top-color: var(--line); }
.portfolio { background: #091727; border-top-color: var(--line); }
.approach { background: linear-gradient(135deg, #0d2134, #091727); border-top-color: var(--line); }
.step-number { color: #8be6f7; border-color: #39677e; background: #12374a; box-shadow: 0 0 0 6px #13c7ed05; }
.about { background: radial-gradient(ellipse at 90% 60%, #0b426080, transparent 65%), #081726; border-block: 1px solid var(--line); }
.about-statement h2 em { color: #79e0f5; }
.about-statement > p:not(.eyebrow), .experience > p { color: #bfd0e2; }
.experience { border-color: #294259; }
.experience > strong, .fact > span { color: #79e0f5; }
.fact p { color: var(--muted); }
.contact { background: radial-gradient(ellipse at 50% 100%, #075cac18, transparent 70%), var(--surface-base); }
.contact-panel {
  background: radial-gradient(ellipse at 100% 0%, #096e8545, transparent 60%), linear-gradient(125deg, #102f47, #0b2035);
  border: 1px solid #35627b; box-shadow: 0 24px 65px #0003, inset 0 1px #79e0f512;
  color: #edf5ff; gap: 64px;
}
.contact-panel .eyebrow, .contact-caption { color: #89e3f4; font-size: .75rem; }
.contact-panel > div > p:not(.eyebrow):not(.contact-person):not(.contact-role):not(.location),
.contact-role, .location { color: #bfd3e4; }
.contact-details, .contact-details > a { border-color: #416078; }
.contact .button { background: var(--brand-cyan); color: #062c50; }
.contact .button:hover { background: #7ce6fa; color: #062c50; }
.contact-details > a { color: #e4f2fc; font-size: 1rem; }
.location { font-size: .875rem; }
.footer { background: #050c16; border-top: 1px solid var(--line); }
.footer-top > p, .footer-bottom { color: #a8bed2; }
.footer-bottom { font-size: .75rem; border-top-color: #294259; }
.footer-top > .brand { transform: none; }
.footer a:hover { color: var(--link); }

/* Contact, sign-in, account, password and project detail pages. */
#contenu > .section > .narrow {
  padding: clamp(24px, 4.5vw, 50px);
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg, #102339, #0a1a2c);
  box-shadow: 0 22px 65px #0003, inset 0 1px #ffffff05;
}
.page-title { color: #edf5ff; }
.lead, .form-note, .portfolio-empty { color: var(--muted); }
.narrow > a:not(.button), .form-note a, .portfolio-empty a, .prose a { color: var(--link); }
.prose { color: #d5e4f2; }
.app-form label { color: #e3eef9; }
.app-form input, .app-form textarea, .app-form select {
  color: var(--ink); background: var(--surface-input); border: 1px solid #63819b;
  border-radius: 10px; accent-color: var(--brand-cyan); caret-color: var(--brand-cyan);
}
.app-form input::placeholder, .app-form textarea::placeholder { color: #9eb3c8; opacity: 1; }
.app-form input:focus, .app-form textarea:focus, .app-form select:focus { outline: 2px solid var(--link); outline-offset: 3px; border-color: var(--link); }
.app-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--surface-input) inset;
}
.app-form button { background: var(--brand-cyan); color: #062c50; border-radius: 10px; }
.app-form button:hover { background: #7ce6fa; color: #062c50; }
.notice { border-radius: 10px; }
.notice:not(.error) { background: #103438; color: #c4f5e9; border-left: 4px solid #64d8bd; }
.notice.error { background: #3b1d2b; color: #ffc5d0; border-left: 4px solid #f791a8; }
.app-form ul { color: #ffc5d0; }
.app-form [aria-invalid="true"] { border-color: #f791a8; }
.project-cover, .project-image { border: 1px solid #36536b; }
.language-switch { display: inline-flex; align-items: center; gap: .5rem; }
.language-switch a { color: #d4e4f2; padding: .35rem .45rem; border-radius: .3rem; }
.language-switch a[aria-current="true"] { color: #062c50; background: var(--brand-cyan); font-weight: 700; }
.language-switch a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

@media (max-width: 1150px) {
  .hero-grid { gap: 32px; }
  .contact-panel { gap: 36px; }
}
@media (max-width: 900px) {
  .brand-name { font-size: .875rem; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 4.75rem); }
}
@media (max-width: 820px) {
  .nav-wrap { min-height: 80px; padding-block: 16px; }
  .nav { top: 100%; background: #102438; border-bottom-color: #416078; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 4.8rem); letter-spacing: -.045em; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .07em; }
  .hero-visual { max-width: 560px; }
  .hero-visual img { aspect-ratio: 800 / 533; }
  .visual-topline { font-size: .75rem; }
  .visual-bottomline { font-size: .875rem; }
  .strip-inner { gap: 16px 24px; }
  .strip-inner > span { font-size: .75rem; }
  .strip-inner > p { font-size: .875rem; }
  .section-heading .eyebrow, .about-statement .eyebrow, .contact .eyebrow { font-size: .75rem; }
  .contact-panel { gap: 32px; }
  .contact-role, .location { font-size: .875rem; }
  .footer-top > p { font-size: .875rem; }
}
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand-name { font-size: .8125rem; }
  .visual-topline { letter-spacing: .035em; }
  .hero-actions { gap: 18px; }
  .hero-actions .button, .hero-actions .text-link { font-size: .875rem; }
  .contact-panel { padding-inline: 22px; }
  .contact-details > a { font-size: .875rem; }
  #contenu > .section > .narrow { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .button:hover, .text-link:hover span { transform: none; }
}
