/* conciglio.org – huisstijl Conciglio Brand Identity v4.0
   Eerst de telefoon; bredere schermen volgen onderaan. */

/* Lettertypen staan in /fonts (zelf gehost, geen verzoeken naar derden). */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #2E1C6A;
  --vivid: #6B4CDB;
  --soft: #B8A7F2;
  --mist: #E9E6F3;
  --orange: #E2A14A;
  --sage: #5E8A6E;
  --ink: #1F1742;
  --muted: #645B76;      /* Slate Grey, iets donkerder voor contrast 4,5:1 */
  --line: #D8D2EA;
  --page: #FAF9FD;
  --card: #FFFFFF;
  --dark: #211452;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --label: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: 1.5rem;
  --wide: 68rem;
  --radius: 1.25rem;
  --shadow: 0 1px 2px rgba(46, 28, 106, .06), 0 12px 32px -12px rgba(46, 28, 106, .18);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;   /* 17 px; minimaal 16 px op de telefoon */
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--vivid); text-underline-offset: .18em; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--vivid); outline-offset: 3px; border-radius: .5rem; }

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

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 10;
  padding: .75rem 1rem;
  background: var(--deep);
  color: #fff;
  border-radius: .75rem;
}
.skip:focus { top: .5rem; color: #fff; }

/* ---------- Kop: logo en taalwissel ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  color: var(--deep);
  text-decoration: none;
}
.brand svg { width: 2.75rem; height: 2.75rem; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: .2rem; }
.brand-name {
  font-family: var(--label);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--deep);
}
.brand-line {
  font-family: var(--label);
  font-weight: 500;
  font-size: .625rem;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 .9rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--label);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--deep);
  text-decoration: none;
}
.lang:hover { border-color: var(--vivid); color: var(--vivid); }

/* Smalle telefoons: logo en taalwissel passen naast elkaar. */
@media (max-width: 24.5rem) {
  .top { gap: .5rem; }
  .brand { gap: .55rem; }
  .brand svg { width: 2.375rem; height: 2.375rem; }
  .brand-name { font-size: 1rem; }
  .brand-line { font-size: .5625rem; letter-spacing: .12em; }
  .lang { padding: 0 .75rem; font-size: .75rem; }
}

/* ---------- Opening ---------- */

/* De sierringen worden binnen .hero afgesneden, zodat de pagina nooit breder wordt dan het scherm. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-in { padding-block: 1.25rem 2.5rem; }

.hero-arc {
  position: absolute;
  right: 0;
  top: 0;
  width: 10rem;      /* het beeld zelf is rechts afgesneden; niets steekt buiten het scherm */
  height: 17rem;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}

/* Ringenbeeld: ik, wij, wereld. Alleen op brede schermen zichtbaar. */
.hub-figure { display: none; width: 100%; height: auto; }
.hub-figure text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  fill: var(--deep);
  text-anchor: middle;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 9.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--deep);
  text-wrap: balance;
  max-width: 17ch;
}
h1 span { display: block; margin-top: .15em; color: var(--vivid); }

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 6.4vw, 2.5rem);
  line-height: 1.12;
  color: var(--deep);
  text-wrap: balance;
}

.hub { margin-top: 1.75rem; }

.rings { margin-top: 1rem; display: grid; gap: 1.25rem; }
.ring {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  align-content: start;
}
.ring svg { width: 3rem; height: 3rem; }
.ring h3, .card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--deep);
}
.ring p { margin-top: .2rem; max-width: 34rem; }

/* ---------- Rustvlak: wat Conciglio is ---------- */

.band { background: var(--mist); padding-block: 3rem; }
.band p {
  margin-top: 1rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 38rem;
}

/* ---------- De drie vragen ---------- */

.do { padding-block: 3rem; }
.do .lead { margin-top: 1rem; max-width: 38rem; }
.do .lead + .lead { margin-top: .75rem; }
.do .lead strong { font-weight: 400; color: var(--deep); }

.cards { margin-top: 1.75rem; display: grid; gap: 1rem; }
.card {
  position: relative;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: .3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--vivid);
}
.card.keep::before { background: var(--orange); }
.card.act::before { background: var(--sage); }
.card p { margin-top: .4rem; }

/* ---------- Een vraag ---------- */

.ask { padding-block: 1rem 3.5rem; }
.mail {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  margin-top: 1.1rem;
  padding: .7rem 1.5rem;
  max-width: 100%;
  border-radius: 999px;
  background: var(--vivid);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.mail:hover { background: var(--deep); color: #fff; }

/* ---------- Voet ---------- */

.foot {
  background: var(--dark);
  color: #F7F4FF;
  padding-block: 2.25rem;
  font-size: .9375rem;
  line-height: 1.55;
}
.sources { display: grid; gap: .6rem; max-width: 46rem; color: #D5C9FA; }
.sender {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--label);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .06em;
}

/* ---------- Beweging: kaarten verschijnen rustig ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .card {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Tablet en computer ---------- */

@media (min-width: 44rem) {
  :root { --pad: 2.5rem; }
  body { font-size: 1.125rem; }
  .top { padding-block: 1.25rem; }
  .brand svg { width: 3.25rem; height: 3.25rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-line { font-size: .6875rem; }
  .hero-in { padding-block: 3rem 4rem; }
  .hero-arc { width: 15.3rem; height: 26rem; }
  .hub { margin-top: 3rem; }
  .rings { gap: 1.75rem; margin-top: 1.5rem; }
  .ring { grid-template-columns: 3.5rem 1fr; gap: 1.5rem; }
  .ring svg { width: 3.5rem; height: 3.5rem; }
  .band, .do { padding-block: 4.5rem; }
  .band p { font-size: 1.375rem; }
  .cards { max-width: 38rem; }
  .ask { padding-block: 1rem 5rem; }
}

/* Liggende tablet en computer: drie naast elkaar, met het ringenbeeld rechts. */
@media (min-width: 56rem) {
  .hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(16rem, 30vw, 26rem);
    column-gap: 3rem;
    align-items: center;
  }
  .hero-arc { display: none; }
  .hub-figure { display: block; }
  .hub { grid-column: 1 / -1; }
  .rings { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .ring { grid-template-columns: 1fr; gap: .75rem; }
  .cards { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 1.25rem; margin-top: 2.25rem; }
}

@media (min-width: 64rem) {
  .cards { gap: 1.75rem; }
  .card { padding: 2rem; }
}
