/* Shared design for alea-i.com, renardmagali.com and jonasdeprez.com
   Colours and fonts taken from the original Umso site. */

@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/libre-baskerville-400.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/libre-baskerville-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/libre-baskerville-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }

:root {
  --bg: #fff9f7;
  --peach: #ffbba3;
  --peach-light: #ffcfbb;
  --accent: #ff8453;
  --accent-soft: #f2aa8b;
  --ink: #2c1d17;
  --ink-soft: #524945;
  --button: #3b322e;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --width: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(var(--width), 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { padding: 24px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 20px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-dark { background: var(--button); color: #fff; }
.btn-peach { background: var(--accent-soft); color: var(--ink); }
.btn .arrow { font-size: 15px; line-height: 1; }
.nav .btn { color: var(--ink); }
.nav .btn:hover { color: var(--ink); }

/* Typography */
h1, h2, h3, .serif { font-family: var(--serif); color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(40px, 6vw, 60px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.5px; }
h1 .accent, h2 .accent { color: var(--accent); }
h2 { font-size: clamp(32px, 4.5vw, 44px); line-height: 1.2; margin: 0 0 8px; }
h3 { font-size: 22px; font-weight: 400; line-height: 1.4; margin: 0 0 10px; }
.lead { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 28px; max-width: 30em; }
.subtitle { font-family: var(--serif); font-size: 20px; color: var(--ink-soft); margin: 0 0 40px; }
strong { color: var(--ink); font-weight: 600; }

/* Hero */
.hero { padding: 40px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero.hero-text-only .container { grid-template-columns: 1fr; }
.hero-photo { border-radius: 4px; width: 100%; height: auto; aspect-ratio: 1 / 0.97; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections and cards */
.section { padding: 80px 0; }
.section-peach { background: var(--peach-light); }
.center { text-align: center; }
.card {
  background: var(--peach);
  border-radius: 16px;
  padding: 56px clamp(24px, 4vw, 56px);
}
.card p { margin: 0 0 1.1em; }
.card ul { margin: 0 0 1.4em; padding-left: 1.3em; }
.card li { margin: 0 0 .3em; }
.card h3 { margin-top: 0; }
.label { font-weight: 600; color: var(--ink); margin-bottom: .4em !important; }
.card-title { font-family: var(--sans); font-size: 18px; font-weight: 600; margin: 0 0 24px; }
.card a { color: var(--ink); }

/* Signature line under a text card */
.signature { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.signature img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.signature .name { font-weight: 500; color: var(--ink); line-height: 1.3; }
.signature .role { color: var(--accent); line-height: 1.3; }

/* People grid (alea-i.com) */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; max-width: 660px; margin: 0 auto; text-align: left; }
.person img { width: 100%; height: auto; aspect-ratio: 400 / 360; object-fit: cover; border-radius: 8px; }
.person h3 { margin: 22px 0 0; font-size: 22px; }
.person .role { color: var(--accent); font-size: 15px; margin: 0 0 14px; }
.person p { font-size: 14px; line-height: 1.7; margin: 14px 0 0; color: var(--ink); }
.person a.photo-link { display: block; border-radius: 8px; overflow: hidden; }
.person a.photo-link img { transition: transform .3s ease; }
.person a.photo-link:hover img { transform: scale(1.02); }
.icon-link { display: inline-flex; color: var(--ink); }
.icon-link svg { width: 22px; height: 22px; }

/* Long-form text on the page background (Innovation-as-a-Service intro) */
.prose { font-family: var(--serif); font-size: 16px; line-height: 1.8; }
.prose h2 { margin-bottom: 14px; }
.prose ul { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose .label { font-family: var(--serif); font-weight: 700; }
.intro { padding: 0 0 20px; }

/* Profile card (jonasdeprez.com) */
.profile-head { text-align: center; margin-bottom: 40px; }
.profile-head h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 14px; }
.profile-head p { font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--ink); margin: 0; line-height: 1.9; }
.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.profile .num { font-family: var(--sans); font-weight: 800; font-size: 84px; line-height: 1; color: rgba(255, 123, 123, .18); margin: 0 0 -46px -40px; }
.profile h3 { position: relative; font-size: 20px; }
.profile p { font-size: 15px; }
.profile a.inline { color: var(--accent); font-weight: 600; text-decoration: none; }
.profile a.inline:hover { text-decoration: underline; }
.profile img { width: 100%; height: auto; border-radius: 2px; }

/* Steps (Innovation-as-a-Service) */
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.step .num { font-family: var(--sans); font-weight: 800; font-size: 84px; line-height: 1; color: rgba(255, 123, 123, .18); margin: 0 0 -46px -40px; }
.step h3 { position: relative; }
.step img { max-width: 380px; width: 100%; height: auto; margin: 0 auto; }
.step.reverse .step-text { order: 2; }
.step.reverse .step-image { order: 1; }
.step p, .step li { font-size: 15px; }

/* Contact block */
.contact { text-align: center; }
.contact .btn { font-size: 15px; padding: 12px 26px; }
.contact .email { display: block; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* Footer */
.site-footer { border-top: 1px solid rgba(242, 170, 139, .6); padding: 28px 0 40px; font-size: 14px; }

/* Responsive */
@media (max-width: 760px) {
  .hero .container, .step, .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile .num { margin-left: 0; }
  .step.reverse .step-text, .step.reverse .step-image { order: initial; }
  .step .num { margin-left: 0; }
  .people { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 18px; }
  .section { padding: 56px 0; }
}
