/* Commissioner: σχεδίαση Κώστα Μπαρτσόκα, SIL Open Font License, φιλοξενείται τοπικά (χωρίς κλήσεις σε τρίτους) */
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/commissioner-greek-full-normal.woff2) format("woff2-variations"),
       url(fonts/commissioner-greek-full-normal.woff2) format("woff2");
  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(fonts/commissioner-latin-full-normal.woff2) format("woff2-variations"),
       url(fonts/commissioner-latin-full-normal.woff2) format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #1c5c4a;
  --ink: #24282c;
  --muted: #5b6269;
  --paper: #ffffff;
  --rule: #e2e5e0;
  --line: color-mix(in srgb, var(--accent) 45%, #ffffff);
  --tint: color-mix(in srgb, var(--accent) 6%, #ffffff);

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2.5rem, 7vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: lining-nums tabular-nums;
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

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

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: 0.5rem 1rem; }

/* Κεφαλίδα */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; }

/* Αρχική ενότητα */
.hero { padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
h1 {
  margin: 0 0 1.25rem;
  max-width: 15ch;
  font-size: var(--step-3);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--accent);
  font-variation-settings: "FLAR" 100;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.lede { margin: 0 0 2rem; max-width: 40ch; font-size: var(--step-1); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.btn {
  display: inline-block; padding: 0.75rem 1.25rem; border-radius: 3px;
  background: var(--accent); color: #ffffff; font-weight: 600; text-decoration: none;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 82%, #000000); }
.btn-quiet { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-quiet:hover { background: var(--tint); }

/* Ενότητες */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--rule); }
h2 { margin: 0 0 0.375rem; font-size: var(--step-2); font-weight: 700; line-height: 1.2; }
.note { margin: 0 0 1.75rem; color: var(--muted); }

/* Δραστηριότητα */
.activity { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 64rem) { .activity { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.activity-text { margin: 0.75rem 0 0; max-width: 34ch; font-size: var(--step-1); line-height: 1.5; }
.kad-head { margin: 0 0 0.5rem; font-size: var(--step--1); color: var(--muted); }
.kad { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--accent); }
.kad li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--rule); }
.kad .code { font-weight: 650; color: var(--accent); }
@media (max-width: 30rem) { .kad li { grid-template-columns: 1fr; gap: 0.125rem; } }

/* Εταιρικά στοιχεία, στημένα σαν πινακίδα σχεδίου */
.titleblock {
  display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0;
  background: var(--line); border: 2px solid var(--accent);
}
.cell { min-width: 0; padding: 0.875rem 1rem 1rem; background: var(--paper); }
.cell dt { margin-bottom: 0.25rem; font-size: var(--step--1); font-weight: 500; color: var(--muted); }
.cell dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cell dd .sub { display: block; font-weight: 400; color: var(--muted); }
.cell.key dd { font-size: var(--step-1); }

@media (min-width: 40rem) and (max-width: 63.99rem) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-4, .c-6, .sm-full { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .titleblock { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .c-2 { grid-column: span 2; }
  .c-4 { grid-column: span 4; }
  .c-6 { grid-column: 1 / -1; }
}

.partners table { width: 100%; margin-top: 0.25rem; border-collapse: collapse; }
.partners th {
  padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid var(--line);
  font-size: var(--step--1); font-weight: 500; color: var(--muted); text-align: left;
}
.partners td { padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-weight: 400; }
.partners tr:last-child td { border-bottom: 0; }
.partners .who { font-weight: 650; }
.partners .who .sub { display: block; font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.partners .num { text-align: right; white-space: nowrap; }
.partners th:last-child, .partners td:last-child { padding-right: 0; }

@media (max-width: 47.99rem) {
  .partners table, .partners tbody, .partners tr, .partners td { display: block; }
  .partners thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .partners tr { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
  .partners tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .partners td { display: grid; grid-template-columns: 5.75rem 1fr; gap: 0.75rem; padding: 0.125rem 0; border: 0; text-align: left; }
  .partners .num { text-align: left; white-space: normal; }
  .partners td::before { content: attr(data-label); font-size: var(--step--1); font-weight: 400; color: var(--muted); padding-top: 0.125rem; }
}

/* Επικοινωνία */
.contact { display: grid; gap: 1.5rem 3rem; margin: 0; }
@media (min-width: 48rem) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact dt { margin-bottom: 0.25rem; font-size: var(--step--1); color: var(--muted); }
.contact dd { margin: 0; font-size: var(--step-1); font-weight: 600; overflow-wrap: anywhere; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { text-decoration: underline; }
.contact .maplink { display: inline-block; margin-top: 0.5rem; font-size: var(--step-0); font-weight: 500; text-decoration: underline; }

/* Σελίδες κειμένου */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 0.5rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: 22ch; margin-bottom: 0.5rem; }
.updated { margin: 0; color: var(--muted); }
.prose { max-width: 42rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.prose h2 { margin: 2.25rem 0 0.5rem; font-size: var(--step-1); }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }

/* Υποσέλιδο */
.site-footer { padding: 2.5rem 0 3rem; background: var(--tint); border-top: 2px solid var(--accent); font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: grid; gap: 1.25rem 3rem; }
@media (min-width: 48rem) { .site-footer .wrap { grid-template-columns: 2fr 1fr; } }
.site-footer p { margin: 0; }
.f-name { margin-bottom: 0.375rem !important; color: var(--ink); font-weight: 700; }
.site-footer nav { display: grid; gap: 0.5rem; align-content: start; }
.copy { grid-column: 1 / -1; }

@media print {
  .site-header nav, .actions, .skip, .maplink { display: none; }
  .site-footer { background: none; }
  a { color: inherit; text-decoration: none; }
}
