.me-body { background: #fff; }
.me-page { color: #152334; background: #fff; }
.me-wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.me-hero {
  position: relative; padding: 72px 0 64px; color: #fff;
  background: linear-gradient(90deg, #071b28ed, #071b2870), url("assets/norway-route-card-v2.webp") center 48% / cover;
}
.me-hero h1 { font-size: 52px; line-height: 1.12; margin: 16px 0 20px; letter-spacing: 0; color: #fff; }
.me-eyebrow { font-size: 13px; font-weight: 700; color: #167761; margin: 0 0 12px; }
.me-hero .me-eyebrow { color: #bce8dc; }
.me-motto { font-size: 23px; line-height: 1.5; max-width: 650px; }
.me-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.me-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 6px;
  font-weight: 700; text-decoration: none; text-align: center; line-height: 1.5;
  transition: background 160ms, border-color 160ms;
}
.me-primary { background: #2563eb; color: white; }
.me-primary:hover { background: #194dc0; color: white; }
.me-outline { border-color: #ffffff80; color: #fff; background: #ffffff0d; }
.me-outline:hover { background: #ffffff20; color: white; }
.me-page a:focus-visible { outline: 3px solid #d99a23; outline-offset: 4px; }
.me-intro { padding: 32px 0; border-bottom: 1px solid #dce4eb; }
.me-intro p { font-size: 19px; max-width: 900px; margin: 0; line-height: 1.8; }
.me-section { padding: 40px 0; border-bottom: 1px solid #dce4eb; scroll-margin-top: 100px; }
.me-page h2 { margin: 0 0 22px; font-size: 27px; line-height: 1.35; color: #152334; letter-spacing: 0; }
.me-page h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; color: #152334; }
.me-page p { line-height: 1.75; }
.me-work-grid, .me-skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.me-work { border-top: 3px solid #2563eb; padding: 22px 20px; background: #f3f6fc; border-radius: 0 0 6px 6px; }
.me-work p { margin: 0; font-size: 16px; color: #46576a; }
.me-tone-1 { border-color: #198369; background: #f0f7f4; }
.me-tone-2 { border-color: #b78527; background: #faf7f0; }
.me-lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.me-lab p { color: #46576a; }
.me-lab .me-eyebrow { color: #167761; }
.me-lab-list { padding: 0; margin: 0; list-style: none; counter-reset: lab; }
.me-lab-list li { position: relative; padding: 0 0 22px 48px; counter-increment: lab; }
.me-lab-list li::before { content: "0" counter(lab); position: absolute; left: 0; top: 3px; color: #198369; font-size: 14px; font-weight: 700; }
.me-lab-list h3 { margin-bottom: 5px; }
.me-lab-list p { margin: 0; }
.me-muted { color: #46576a; max-width: 800px; }
.me-skill-grid { margin-top: 26px; }
.me-skill-grid h3 { font-size: 16px; }
.me-skill-grid ul { list-style: none; padding: 0; margin: 0; }
.me-skill-grid li { padding: 9px 0; border-bottom: 1px solid #e6ebf0; color: #46576a; }
.me-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.me-project { position: relative; border: 1px solid #cfdae5; border-radius: 8px; padding: 28px; transition: border-color 160ms, box-shadow 160ms; }
.me-project:hover { border-color: #93afd1; box-shadow: 0 8px 24px #1939580a; }
.me-project h3 { font-size: 25px; }
.me-project p { color: #46576a; }
.me-project .me-eyebrow { color: #167761; padding-right: 50px; }
.me-project-logo { position: absolute; top: 22px; right: 22px; }
.me-project-wip { background: #f7f9fc; border-style: dashed; }
.me-project-wip .me-eyebrow { color: #956716; }
.me-project-links { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-top: 24px; }
.me-project-links a { color: #2153c6; font-weight: 600; text-underline-offset: 4px; }
.me-learning p { max-width: 850px; color: #46576a; }
.me-learning ul { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 24px 0 0; }
.me-learning li { padding-left: 12px; border-left: 3px solid #198369; font-weight: 600; }
.me-closing { padding: 48px 0 60px; max-width: 860px; }
.me-closing p { color: #46576a; margin-bottom: 24px; }
.me-hero .me-wrap { animation: me-arrive 500ms ease-out both; }
@keyframes me-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .me-hero .me-wrap { animation: none; } .me-page * { transition: none; } }
@media (max-width: 760px) {
  .me-body .ai-support { position: relative; right: auto; bottom: auto; width: max-content; margin: 16px 16px 24px auto; }
  .me-wrap { width: calc(100% - 32px); }
  .me-hero { padding: 36px 0; }
  .me-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
  .me-motto { font-size: 19px; }
  .me-page h2 { font-size: 24px; }
  .me-intro p { font-size: 17px; }
  .me-work-grid, .me-skill-grid, .me-project-grid, .me-lab { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .me-section { padding: 30px 0; }
  .me-project { padding: 22px; }
  .me-page p, .me-page h3, .me-page li { overflow-wrap: anywhere; }
}
