/* Caducia · Johan Rocher — sober professional profile */

:root {
  --bg: #fbfaf8;
  --bg-alt: #f2f0ec;
  --ink: #1c2833;
  --ink-soft: #4d5b66;
  --ink-faint: #7c8791;
  --line: #dcd8d0;
  --accent: #0e5f57;
  --accent-deep: #0a4740;
  --white: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

::selection { background: var(--accent); color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 60px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-nav a:hover { color: var(--accent-deep); }

.lang-switch {
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}

.lang-switch:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover { background: var(--accent-deep); }

.header-cta { padding: 7px 16px; }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 64px; }

.hero .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.eyebrow {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.hero-role {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--ink-soft);
  max-width: 36em;
  margin-bottom: 12px;
}

.hero-availability {
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-email {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.hero-email:hover { color: var(--accent-deep); border-color: var(--accent); }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  align-self: flex-start;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* Scope card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
}

.hero-card-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.hero-card ul { list-style: none; }

.hero-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--bg-alt);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card li:first-child { border-top: none; }

.hero-card li small {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-align: right;
  white-space: nowrap;
}

/* ---------- Stats strip ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}

.stat:first-child { border-left: none; }

.stat b {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 2px;
}

.stat span {
  font-size: 0.86rem;
  color: var(--ink-soft);
  display: block;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

/* ---------- Offers ---------- */

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.offer h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.offer .duration {
  display: block;
  font-size: 0.8rem;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.offer p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.offers-note {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* ---------- Expertise ---------- */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 8px;
  padding: 20px 22px;
}

.expertise-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.expertise-col ul { list-style: none; }

.expertise-col li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.expertise-col li:last-child { border-bottom: none; }

.expertise-col li small {
  color: var(--ink-faint);
  font-size: 0.8rem;
  text-align: right;
}

/* LinkedIn icon */
.icon-linkedin {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: -3px;
  margin-right: 6px;
}

.linkedin-link { text-decoration: none; }

/* ---------- Timeline ---------- */

.timeline { list-style: none; }

.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline .logo {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  justify-self: end;
}

.timeline .when {
  font-size: 0.84rem;
  color: var(--ink-faint);
  padding-top: 2px;
}

.timeline .what b {
  font-size: 0.98rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.timeline .what p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about-text p {
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 14px;
}

.about-text p:first-of-type { color: var(--ink); }

.about-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--ink-faint);
}

/* ---------- Contact ---------- */

.contact {
  background: var(--ink);
  color: #e8e5e0;
  padding: 72px 0;
}

.contact h2 {
  color: var(--white);
  border-color: #3a4a56;
}

.contact p {
  max-width: 40em;
  color: #b4bec6;
  margin-bottom: 28px;
}

.contact .btn-primary {
  background: var(--white);
  color: var(--ink);
}

.contact .btn-primary:hover { background: var(--bg); }

.contact-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 0.92rem;
  color: #9fb0ba;
}

.contact-meta a {
  color: #e8e5e0;
  text-decoration: none;
  border-bottom: 1px solid #3a4a56;
  padding-bottom: 1px;
}

.contact-meta a:hover { border-color: #8fcdc4; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid #2a3947;
  padding: 20px 0;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #7c8b96;
}

.site-footer a { color: #9fb0ba; text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 460px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 16px; }
  .site-nav { display: none; }
}

@media (max-width: 620px) {
  section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .stats .container { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
  .offers { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; }
  .timeline .when { grid-column: 1 / -1; }
  .timeline .logo { height: 28px; align-self: start; }
  .header-cta { display: none; }
}
