/* MIND PROJECT — mindproject.gr
   Self-hosted Commissioner (SIL OFL) — no third-party requests from this site. */
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-greek-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f6f5;
  --ink: #0f2537;
  --text: #33434f;
  --muted: #5e6e7a;
  --rule: #cfd8dc;
  --saffron: #d99a1e;
  --panel: #ffffff;
  --link: #1d5f8a;
  --measure: 40rem;
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1b27;
    --ink: #eef3f6;
    --text: #c9d4db;
    --muted: #95a6b2;
    --rule: #26394a;
    --panel: #12263a;
    --link: #8cc4ea;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, 64rem); margin-inline: auto; }

/* Header */
.site-head { padding-block: 1.5rem; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em;
}
.mark::before {
  content: ""; width: 0.8rem; height: 0.8rem; background: var(--saffron); border-radius: 1px;
}
.lang { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.lang a { color: var(--ink); }

/* Hero: the name itself is the visual */
.hero { padding-block: clamp(3rem, 10vw, 7rem) clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.hero .name {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  font-size: clamp(3.2rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.hero .name span { display: block; font-weight: 250; letter-spacing: -0.02em; }
.hero .lede {
  max-width: var(--measure);
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 450;
}

/* Sections */
main section { padding-block: clamp(2.5rem, 6vw, 4rem); }
main section + section { border-top: 1px solid var(--rule); }
.grid { display: grid; gap: 1.25rem 3rem; }
@media (min-width: 52rem) {
  .grid { grid-template-columns: 14rem 1fr; }
}
h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}
.body > :first-child { margin-top: 0; }
.body p { max-width: var(--measure); }
.body h3 { margin: 0 0 0.35rem; color: var(--ink); font-size: 1.15rem; font-weight: 700; }

/* Registry panel — the company's identity data */
.registry {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--saffron);
  padding: 0.5rem 1.5rem;
  max-width: 44rem;
}
.registry div {
  display: grid; gap: 0.1rem 1.5rem;
  padding-block: 0.8rem;
}
.registry div + div { border-top: 1px solid var(--rule); }
@media (min-width: 36rem) { .registry div { grid-template-columns: 12rem 1fr; } }
.registry dt { color: var(--muted); font-size: 0.95rem; }
.registry dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Legal text pages */
.doc { padding-block: clamp(2.5rem, 7vw, 5rem); }
.doc h1 { margin: 0 0 0.5rem; color: var(--ink); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.doc .updated { margin: 0 0 2.5rem; color: var(--muted); }
.doc h2 { margin: 2.25rem 0 0.6rem; }
.doc p, .doc ul { max-width: var(--measure); }
.doc li + li { margin-top: 0.35rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 2rem 2.5rem; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.site-foot p { margin: 0; }
.site-foot nav { display: flex; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
