/* Kumulativ – stylesheet
   Colours: ink #282828 · green #96FF8F · coral #FF715E · paper #FAF9F8 */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #282828;
  --ink-70: rgba(40, 40, 40, 0.7);
  --ink-50: rgba(40, 40, 40, 0.5);
  --line: rgba(40, 40, 40, 0.12);
  --green: #96FF8F;
  --coral: #FF715E;
  --paper: #FAF9F8;
  --paper-90: rgba(250, 249, 248, 0.9);
  --footer-bg: #333333;   /* dark grey: the black K stays just visible. Adjust to taste. */

  --font-display: "Albert Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--ink); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: 1rem; top: -100%;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; z-index: 100; border-radius: 4px;
}
.skip:focus { top: 1rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper-90);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand img { height: 1.375rem; width: auto; }

.nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); }
.nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 160ms ease;
}
.nav a:hover { border-bottom-color: var(--coral); }
.nav a:active { border-bottom-color: var(--ink); }

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding-block: clamp(4rem, 12vh, 9rem);
  overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(40, 40, 40, 0.10) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

.hero .wrap {
  position: relative; z-index: 1;
  padding-left: calc(var(--gutter) * 2);
  margin-top: -3rem;   /* lifts the headline ~1.5em above true centre */
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7.2vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 13ch;
  text-wrap: balance;
}

.caret {
  display: inline-block;
  width: 0.07em; height: 0.9em;
  margin-left: 0.035em;
  vertical-align: -0.1em;
  background: var(--coral);
  animation: blink 1.1s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Three diagonal bands at the logo's angle (3:4 right triangle → 36.87° off vertical).
   Anchored bottom-right, running up and off the right edge. */
.hero-stripes {
  --stripe-w: clamp(4.5rem, 7vw, 7.5rem);
  --stripe-right: 22vw;
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.stripe {
  position: absolute; bottom: 0;
  height: 100%;
  width: var(--stripe-w);
  transform: skewX(-36.87deg);
  transform-origin: bottom left;
}
.stripe-ink   { right: 0; width: calc(var(--stripe-right) + var(--stripe-w)); background: var(--ink); }
.stripe-coral { right: calc(var(--stripe-right) + var(--stripe-w)); background: var(--coral); }
.stripe-green { right: calc(var(--stripe-right) + var(--stripe-w) * 2); background: var(--green); }

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

.section { padding-block: clamp(4rem, 10vw, 8rem); border-top: 1px solid var(--line); }

.kicker { display: flex; gap: 0; margin: 0 auto 1.5rem; width: 4.5rem; height: 0.3rem; }
.kicker span { display: block; flex: 1; }
.s-green { background: var(--green); }
.s-coral { background: var(--coral); }
.s-ink   { background: var(--ink); }

.section-team, .section-contact { text-align: center; }
.section-team { background: #fff; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}

/* Team */

.team {
  list-style: none; margin: 0 auto; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2rem;
}

.person {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
  width: min(100%, 18rem);
  padding: 2.5rem 1.5rem 2.25rem;
  border-radius: 20px;
  background: #F3F1EE;
}

.avatar {
  flex: none;
  position: relative; overflow: hidden;
  width: 8.5rem; height: 8.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em;
  color: var(--ink);
}
.avatar-green { background: var(--green); }
.avatar-coral { background: var(--coral); }
.avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.person-name { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.person-role { margin: 0.15rem 0 0; color: var(--ink-70); }

/* Contact */

.section-contact { background: var(--paper); }

.button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  background: var(--green);
  padding: 1.15rem 2.5rem;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--ink); color: var(--green); transform: translateY(-2px); }
.button:active { transform: translateY(0); }

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

.site-footer {
  background: var(--ink);
  color: rgba(250, 249, 248, 0.72);
  padding-block: 3.5rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
}

.footer-info { font-style: normal; line-height: 1.7; }
.site-footer a {
  color: var(--paper);
  text-decoration-skip-ink: none;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(250, 249, 248, 0.4);
}
.site-footer a:hover { text-decoration-color: var(--green); }
.footer-info strong { color: var(--paper); font-weight: 600; }

.footer-meta { text-align: right; }

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

@media (max-width: 40rem) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding-block: 4.5rem 0; }
  .hero .wrap { padding-left: var(--gutter); margin-top: 0; }
  .hero-title { font-size: clamp(2.35rem, 11.5vw, 3.4rem); max-width: none; }
  .hero-stripes { --stripe-w: 14vw; --stripe-right: 12vw; position: relative; inset: auto; height: 34vh; width: 100%; margin-top: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .button, .nav a { transition: none; }
}

@media print {
  .site-header, .hero-stripes, .caret { display: none; }
}
