/* Archeion+ — main.css: βάση και components (οι τιμές έρχονται από το tokens.css)

   1. Το «+» του λογοτύπου είναι σύστημα: φτιαγμένο από φύλλα χαρτιού στα εξώφυλλα,
      σημάδι καταχώρισης στις γωνίες των πλαισίων, κουκκίδα σε λίστες και συνδέσμους.
   2. Κυρίαρχο χρώμα το μαύρο του λογοτύπου. Λευκό και ανοιχτό γκρι για ανάγνωση,
      ένα μόνο χρώμα έμφασης (πετρόλ) για γραμμές, αριθμούς και κουμπιά.
   3. Τυπογραφία: τίτλοι Source Serif 4, κείμενο και πίνακες Inter με ισοπαχή ψηφία. */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.4375rem; line-height: 1.2; }

p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }

a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999rem; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; }
.skip:focus { left: 0; }

/* ---------- Το «+» ---------- */

.plus, .label::before, .more::after, .btn::after, .plus-list li::before {
  content: ""; display: inline-block; flex: none; width: .72em; height: .72em;
  background:
    linear-gradient(currentColor, currentColor) center / 100% var(--plus-w) no-repeat,
    linear-gradient(currentColor, currentColor) center / var(--plus-w) 100% no-repeat;
}

/* Σημάδια καταχώρισης στις τέσσερις γωνίες ενός πλαισίου */
.reg {
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M4.5 0h4v4.5H13v4H8.5V13h-4V8.5H0v-4h4.5z' fill='%23008080'/%3E%3C/svg%3E");
  padding: 7px;
  background: var(--m) 0 0 no-repeat, var(--m) 100% 0 no-repeat, var(--m) 0 100% no-repeat, var(--m) 100% 100% no-repeat;
}

/* ---------- Πλαίσιο ---------- */

.wrap {
  max-width: 78rem; margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.band { padding-block: var(--band); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: var(--white); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--rule { border-top: 1px solid var(--stone); }

.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack--lg { gap: clamp(2.5rem, 5vw, 4rem); }
.stack--sm { gap: .75rem; }

/* Κεφάλαιο: στενή στήλη περιθωρίου με πλάγια κεφαλίδα, φαρδιά στήλη περιεχομένου */
.chapter, .sec-head, .split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 1.25rem clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.chapter > *, .split > * { min-width: 0; }
.chapter__side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6.5rem; }
.chapter__side p:not(.label) { font-size: .9375rem; color: var(--graphite); max-width: 20em; }
.band--ink .chapter__side p:not(.label) { color: var(--on-ink-muted); }
.chapter__main { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.25rem); }
.chapter__main > h2 { max-width: 18em; }

.sec-head > .label { grid-column: 1; grid-row: 1 / span 3; }
.sec-head > :not(.label) { grid-column: 2; min-width: 0; }
.sec-head > h2 { max-width: 18em; }
.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* Πλάγια κεφαλίδα (running head) */
.label {
  display: flex; align-items: center; gap: .65rem;
  font: italic 400 1.0625rem/1.3 var(--serif);
  color: var(--graphite);
}
.label::before { color: var(--accent); width: .62em; height: .62em; }
.band--ink .label, .cover .label, .page-head .label, .cta .label { color: var(--on-ink-muted); }
.band--ink .label::before, .cover .label::before, .page-head .label::before, .cta .label::before { color: var(--accent-light); }

.lede { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; max-width: 36em; }
.muted { color: var(--graphite); }
.band--ink .muted, .cover .muted, .page-head .muted { color: var(--on-ink-muted); }
.measure { max-width: 40em; }
.small { font-size: .875rem; }

/* ---------- Κουμπιά και σύνδεσμοι ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1rem 1.25rem 1rem 1.5rem;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none; border: 1.5px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn::after { width: .85em; height: .85em; transition: transform .25s; }
.btn:hover::after { transform: rotate(90deg); }
.btn--primary { background: var(--accent-dark); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--accent-light); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--sm { padding: .7rem .9rem .7rem 1.1rem; font-size: .9375rem; gap: .9rem; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

.more {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; text-decoration: none; color: var(--accent-dark);
  border-bottom: 1.5px solid currentColor; padding-bottom: .2rem;
}
.more::after { width: .6em; height: .6em; transition: transform .25s; }
.more:hover::after { transform: rotate(90deg); }
.band--ink .more, .cover .more { color: var(--accent-light); }
.band--ink .more:hover, .cover .more:hover { color: var(--white); }

.plus-list { display: flex; flex-direction: column; gap: .8rem; }
.plus-list li { position: relative; padding-left: 1.75rem; }
.plus-list li::before { position: absolute; left: 0; top: .42em; width: .66em; height: .66em; color: var(--accent); }
.band--ink .plus-list li::before { color: var(--accent-light); }
.plus-list strong { font-weight: 600; }

.stamp, .certified {
  display: inline-block; align-self: flex-start;
  padding: .3rem .55rem;
  font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--white);
  border: 1.5px solid var(--accent-dark); outline: 1px solid var(--accent-dark); outline-offset: 2px;
  transform: rotate(-3deg);
}

/* ---------- Κεφαλίδα ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--on-ink-line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }

.brand { display: inline-flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__word { font: 600 1.375rem/1 var(--sans); letter-spacing: .15em; }
.brand__sub { font: 400 .625rem/1.2 var(--sans); color: var(--graphite); }
.brand img { display: block; height: 1.7rem; width: auto; }

.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: .45rem; padding: .65rem .8rem; color: var(--white); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav__link:hover { color: var(--accent-light); }
.nav__link[aria-current="page"]::before {
  content: ""; width: .6em; height: .6em; color: var(--accent-light);
  background: linear-gradient(currentColor, currentColor) center / 100% var(--plus-w) no-repeat, linear-gradient(currentColor, currentColor) center / var(--plus-w) 100% no-repeat;
}
.nav__cta { margin-left: .75rem; }

.menu { position: absolute; top: 100%; left: -.5rem; min-width: 18rem; padding: .5rem; background: var(--white); border: 1px solid var(--stone); box-shadow: 0 14px 32px rgba(15, 27, 45, .12); display: none; }
.nav__item:hover > .menu, .nav__item:focus-within > .menu { display: block; }
.menu a { display: flex; align-items: baseline; gap: .75rem; padding: .55rem .75rem; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.menu a:hover { background: var(--paper); color: var(--accent-dark); }
.menu__n { width: 1rem; font: 600 .9375rem/1 var(--serif); color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.menu__sep { border-top: 1px solid var(--stone); margin-top: .35rem; padding-top: .35rem; }

.nav-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1.5px solid var(--white); border-radius: 0; padding: .55rem .8rem; font: 600 .875rem/1 var(--sans); color: var(--white); cursor: pointer; }
.nav-toggle__bars { width: .8rem; height: .8rem; color: var(--accent-light);
  background: linear-gradient(currentColor, currentColor) center / 100% var(--plus-w) no-repeat, linear-gradient(currentColor, currentColor) center / var(--plus-w) 100% no-repeat;
  transition: transform .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }

@media (max-width: 63.99rem) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--on-ink-line); padding: .75rem var(--gutter) 1.5rem; max-height: calc(100vh - 4.75rem); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .7rem 0; font: 600 1.5rem/1.2 var(--serif); border-top: 1px solid var(--on-ink-line); }
  .nav__item:first-child .nav__link { border-top: 0; }
  .menu, .nav__item:hover > .menu { position: static; display: block; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 .75rem; }
  .menu a { padding: .4rem 0; color: var(--on-ink-muted); }
  .menu a:hover { background: none; color: var(--white); }
  .menu__n { color: var(--accent-light); }
  .menu__sep { border-top-color: var(--on-ink-line); }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Εξώφυλλο (cover) ---------- */

.cover, .page-head, .cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--white);
}
.cover::after, .page-head::after, .cta::after {
  --size: clamp(10rem, 22vw, 20rem);
  content: ""; position: absolute; z-index: -1;
  width: var(--size); height: var(--size);
  right: max(1.25rem, calc((100vw - 78rem) / 2 + 1.25rem)); top: clamp(3.5rem, 8vw, 7rem);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='s' width='6.4' height='8.8' patternUnits='userSpaceOnUse'%3E%3Crect width='5.2' height='7.6' fill='%23fff'/%3E%3C/pattern%3E%3C/defs%3E%3Cpath d='M69.6 0h60.8v69.6H200v60.8h-69.6V200H69.6v-69.6H0V69.6h69.6z' fill='url(%23s)'/%3E%3Ccircle cx='181.6' cy='182.8' r='11.2' fill='%2335C9C1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cover { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.cover__in { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4.5rem); }
.cover__title { display: flex; flex-direction: column; gap: 1.5rem; }
.cover h1 { font-size: clamp(3rem, 8.6vw, 7.25rem); line-height: .98; letter-spacing: -.03em; }
.cover__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 4vw, 4rem); align-items: end; }
.cover__foot > * { min-width: 0; }
.cover__cta { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cover__cta .small { color: var(--on-ink-muted); }

.page-head { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.page-head::after { --size: clamp(7rem, 15vw, 14rem); top: clamp(3.5rem, 7vw, 6rem); }
.page-head__in { display: flex; flex-direction: column; gap: 1.5rem; padding-right: clamp(8rem, 19vw, 17rem); }
.page-head__in > * { max-width: 52rem; }
.page-head h1 { max-width: 14em; }

/* ---------- Καθολικό: αριθμοί σε δεξιά στοίχιση ---------- */

.ledger { border-top: 2px solid var(--ink); }
.ledger__row { display: flex; align-items: baseline; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--stone); }
.ledger__row dt { font-weight: 600; max-width: 24em; }
.ledger__row dt small { display: block; font-weight: 400; font-size: .9375rem; color: var(--graphite); }
.ledger__row::after { content: ""; order: 1; flex: 1; min-width: 1.5rem; border-bottom: 1.5px dotted var(--stone); transform: translateY(-.35em); }
.ledger__row dd {
  order: 2; text-align: right;
  font: 600 clamp(2.5rem, 6vw, 4.75rem)/.95 var(--serif); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums; color: var(--accent);
}

/* ---------- Φάκελοι έργων ---------- */

.drawer__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10.5rem, 1fr); gap: .3rem; align-items: end; overflow-x: auto; }
.drawer__tab {
  appearance: none; border: 0; border-radius: 0; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: .2rem;
  padding: .85rem 2rem .85rem 1.25rem;
  background: var(--ink-raised); color: var(--white);
  clip-path: polygon(0 100%, 0 .7rem, .7rem 0, calc(100% - 1.6rem) 0, 100% 100%);
  font: 600 1rem/1.2 var(--sans);
  transition: background-color .15s;
}
.drawer__tab small { font: italic 400 .875rem/1.2 var(--serif); color: var(--on-ink-muted); }
.drawer__tab:hover { background: #2B2828; }
.drawer__tab[aria-selected="true"] { background: var(--paper); color: var(--ink); padding-block: 1.05rem; }
.drawer__tab[aria-selected="true"] small { color: var(--graphite); }
.drawer__tab:focus-visible { outline-offset: -4px; }

.folder {
  background: var(--paper); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
}
.folder[hidden] { display: none; }
.folder + .folder { margin-top: .3rem; }
.folder > * { min-width: 0; }
.folder__side { display: flex; flex-direction: column; gap: .75rem; }
.folder__ref { font: italic 400 .9375rem/1.3 var(--serif); color: var(--graphite); }
.folder__big { font: 600 clamp(2.5rem, 4.4vw, 3.75rem)/.95 var(--serif); letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums lining-nums; }
.folder__unit { font-size: .9375rem; color: var(--graphite); max-width: 16em; }
.folder__body { display: flex; flex-direction: column; gap: 1.25rem; }
.folder__body p { max-width: 40em; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem 2rem; }
.facts div { border-top: 1px solid var(--stone); padding-top: .75rem; }
.facts dt { font: italic 400 .9375rem/1.3 var(--serif); color: var(--graphite); }
.facts dd { font-weight: 600; margin-top: .2rem; }

/* ---------- Από την ερώτηση στην απάντηση ---------- */

.qa { border-bottom: 1.5px solid var(--ink); }
.qa__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: .75rem clamp(1.5rem, 4vw, 4rem); padding-block: 2rem; border-top: 1.5px solid var(--ink); align-items: start; }
.qa__ask { display: flex; flex-direction: column; gap: .5rem; }
.qa__who { font-size: .875rem; font-weight: 600; }
.qa__q { font: italic 400 1.1875rem/1.4 var(--serif); color: var(--graphite); }
.qa__a { font: 600 clamp(1.5rem, 3vw, 2.375rem)/1.15 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.qa__a small { display: block; margin-top: .9rem; font: 400 .9375rem/1.5 var(--sans); letter-spacing: 0; color: var(--graphite); max-width: 36em; }

.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.voice { display: flex; flex-direction: column; gap: .9rem; padding-top: 1.5rem; border-top: 1.5px solid var(--ink); min-width: 0; }
.voice p { font-size: .9375rem; color: var(--graphite); }

/* ---------- Γράφημα σε κλίμακα: χρόνοι διατήρησης ---------- */

.scale { --max: 25; display: flex; flex-direction: column; }
.scale__axis, .scale__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 6rem; gap: 0 1.5rem; align-items: center; }
.scale__axis { padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.scale__ticks { grid-column: 2; display: flex; justify-content: space-between; font: 600 .75rem/1 var(--sans); color: var(--graphite); font-variant-numeric: tabular-nums; }
.scale__ticks span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.scale__unit { font: italic 400 .875rem/1 var(--serif); color: var(--graphite); }
.scale__row { padding-block: .95rem; border-bottom: 1px solid var(--stone); }
.scale__label { font-weight: 600; min-width: 0; }
.scale__label small { display: block; font-weight: 400; font-size: .875rem; color: var(--graphite); }
.scale__track {
  position: relative; height: 1.75rem;
  background: repeating-linear-gradient(90deg, var(--stone) 0 1px, transparent 1px 20%), linear-gradient(var(--stone), var(--stone)) 100% 0 / 1px 100% no-repeat;
}
.scale__bar, .scale__ext { position: absolute; top: 50%; height: .7rem; transform: translateY(-50%); }
.scale__bar { left: 0; width: calc(var(--v) / var(--max) * 100%); background: var(--ink); }
.scale__ext { left: calc(var(--v) / var(--max) * 100%); width: calc((var(--x) - var(--v)) / var(--max) * 100%); background: repeating-linear-gradient(-45deg, var(--ink) 0 1.5px, transparent 1.5px 5px); border: 1px solid var(--ink); border-left: 0; }
.scale__row--accent .scale__bar { background: var(--accent); }
.scale__val { text-align: right; font: 600 1.5rem/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.scale__val small { font: 400 .8125rem/1 var(--sans); color: var(--graphite); }
.scale__row--accent .scale__val { color: var(--accent-dark); }
.scale__note { margin-top: 1rem; font-size: .875rem; color: var(--graphite); max-width: 46em; }

/* ---------- Πίνακες ---------- */

.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 38rem; font-variant-numeric: tabular-nums; }
.table th, .table td { text-align: left; vertical-align: top; padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--stone); }
.table th { font: italic 400 .9375rem/1.3 var(--serif); color: var(--graphite); }
.table td:first-child { font: 600 1.125rem/1.3 var(--serif); }
.table strong { color: var(--accent-dark); font-weight: 600; }
.table--compact { min-width: 0; }

/* ---------- Υπηρεσίες: σταθμοί πάνω στο ίχνος ---------- */

.subnav { position: sticky; top: 4.75rem; z-index: 20; background: var(--white); border-bottom: 1px solid var(--stone); }
.subnav__list { display: flex; gap: 0 1.75rem; overflow-x: auto; }
.subnav a { display: flex; gap: .5rem; align-items: baseline; padding: .9rem 0; white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9375rem; }
.subnav a:hover { color: var(--accent-dark); }
.subnav span { font: 600 1rem/1 var(--serif); color: var(--accent-dark); }

.service {
  position: relative; scroll-margin-top: 2.75rem;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 4vw, 4rem);
  padding: 0 0 clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4.5rem);
}
#pos-douleuoume { scroll-margin-top: 2.75rem; }
.service > * { min-width: 0; }
.service::before { content: ""; position: absolute; left: .7rem; top: 0; bottom: 0; width: 1.5px; background: var(--accent); }
.service:last-child::before { bottom: auto; height: 3rem; background: linear-gradient(var(--accent), transparent); }
.service::after {
  content: ""; position: absolute; left: 0; top: .9rem; width: 1.45rem; height: 1.45rem;
  color: var(--accent);
  background:
    linear-gradient(currentColor, currentColor) center / 100% var(--plus-w) no-repeat,
    linear-gradient(currentColor, currentColor) center / var(--plus-w) 100% no-repeat,
    radial-gradient(var(--white) 0 100%);
}
.service__head { display: flex; flex-direction: column; gap: .9rem; }
.service__n { font: 600 1.375rem/1 var(--serif); color: var(--accent); order: -1; }
.service__head h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.service__body { display: flex; flex-direction: column; gap: 1.5rem; padding-top: .35rem; }
.service__body > p:first-child { font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.35 var(--serif); max-width: 28em; }
.note { border-left: 1.5px solid var(--accent); padding: .25rem 0 .25rem 1.25rem; color: var(--graphite); font-size: .9375rem; max-width: 42em; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.two-col > * { min-width: 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 1.75rem 0 2rem; border-top: 1.5px solid var(--accent-light); display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.step::before { content: counter(step); font: 600 2.5rem/1 var(--serif); color: var(--accent-light); }
.step h3 { font-size: 1.3125rem; }
.step p { font-size: .9375rem; color: var(--on-ink-muted); }
.step--qc::after {
  content: "Ελέγχθηκε"; position: absolute; right: 0; top: 1.9rem;
  padding: .3rem .55rem; font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--white); border: 1.5px solid var(--accent-dark); outline: 1px solid var(--white); outline-offset: 2px;
  transform: rotate(-3deg);
}

/* ---------- Έργα (σελίδα) ---------- */

.project { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 4vw, 4rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1.5px solid var(--ink); }
.project > * { min-width: 0; }
.project__meta { display: flex; flex-direction: column; gap: .75rem; }
.project__big { font: 600 clamp(2.75rem, 6vw, 4.75rem)/.95 var(--serif); color: var(--accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.project__body { display: flex; flex-direction: column; gap: 1.25rem; }
.project__body h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }

/* ---------- Ασφάλεια ---------- */

.iso { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.iso__item { background: var(--paper); padding: 7px; min-width: 0;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath d='M4.5 0h4v4.5H13v4H8.5V13h-4V8.5H0v-4h4.5z' fill='%23008080'/%3E%3C/svg%3E");
  background: var(--m) 0 0 no-repeat, var(--m) 100% 0 no-repeat, var(--m) 0 100% no-repeat, var(--m) 100% 100% no-repeat, var(--paper);
  display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem 1.5rem 1.5rem; }
.iso__std { font: italic 400 .9375rem/1 var(--serif); color: var(--graphite); }
.iso__n { font: 600 clamp(2.5rem, 4.6vw, 3.75rem)/.95 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.iso__t { font-weight: 600; }
.iso__d { font-size: .9375rem; color: var(--graphite); flex: 1; }
.iso__item .certified { margin-top: .75rem; }

.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.def { padding: 1.5rem 0 1.75rem; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.def p { color: var(--graphite); font-size: .9375rem; }
.band--ink .def { border-top-color: var(--accent-light); }
.band--ink .def p { color: var(--on-ink-muted); }

/* ---------- Κλείσιμο ---------- */

.cta { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--on-ink-line); }
.cta::after { --size: clamp(8rem, 16vw, 15rem); top: auto; bottom: clamp(4rem, 8vw, 7rem); }
.cta__in { display: flex; flex-direction: column; gap: 2rem; padding-right: clamp(9rem, 20vw, 18rem); }
.cta__in > * { max-width: 50rem; }
.cta h2 { font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: 1; }
.cta h2 em { font-style: italic; font-weight: 400; color: var(--on-ink-muted); }
.cta__side { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta__side p { color: var(--on-ink-muted); max-width: 34em; }

/* ---------- Επικοινωνία ---------- */

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: italic 400 1rem/1.3 var(--serif); color: var(--graphite); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .6rem 0 .7rem;
  font: 400 1.125rem/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1.5px 0 var(--accent); }
.field textarea { min-height: 7rem; resize: vertical; }
.field ::placeholder { color: var(--graphite); opacity: .7; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .95rem; border: 1.5px solid var(--ink); font: 600 .9375rem/1.3 var(--sans); color: var(--ink); }
.check span::before {
  content: ""; width: .7em; height: .7em; color: var(--accent); transition: transform .2s;
  background: linear-gradient(currentColor, currentColor) center / 100% var(--plus-w) no-repeat, linear-gradient(currentColor, currentColor) center / var(--plus-w) 100% no-repeat;
}
.check input:checked + span { background: var(--ink); color: var(--white); }
.check input:checked + span::before { color: var(--accent-light); transform: rotate(45deg); }
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__status { font-size: .9375rem; color: var(--graphite); }

.contact-card { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.contact-card dl { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-card dt { font: italic 400 .9375rem/1.3 var(--serif); color: var(--graphite); }
.contact-card dd { margin-top: .15rem; font: 600 1.25rem/1.3 var(--serif); }
.contact-card dd a { color: var(--ink); text-decoration: none; }
.contact-card dd a:hover { color: var(--accent-dark); }

/* ---------- Κολοφώνας ---------- */

.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 4rem 2rem; font-size: .9375rem; border-top: 1px solid var(--on-ink-line); }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); }
.footer__grid > * { min-width: 0; }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__brand img { display: block; width: min(100%, 18rem); height: auto; margin-bottom: .5rem; }
.footer__tag { font: 600 1.625rem/1.15 var(--serif); color: var(--white); }
.footer__h { font: italic 400 1rem/1.3 var(--serif); color: var(--accent-light); letter-spacing: 0; margin-bottom: 1rem; }
.footer__list { display: flex; flex-direction: column; gap: .55rem; }
.footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--on-ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .8125rem; font-variant-numeric: tabular-nums; }

/* ---------- Μικρές οθόνες ---------- */

@media (max-width: 63.99rem) {
  .chapter, .sec-head, .split, .cover__foot { grid-template-columns: minmax(0, 1fr); }
  .chapter__side { position: static; }
  .sec-head > .label, .sec-head > :not(.label) { grid-column: 1; grid-row: auto; }



  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iso { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 47.99rem) {
  .voices, .defs, .two-col, .project, .service, .form, .folder, .qa__row, .plates { grid-template-columns: minmax(0, 1fr); }
  .brand__sub { display: none; }
  .cover, .page-head { padding-top: 7.5rem; }
  .cover::after, .page-head::after { --size: 4.25rem; top: 1.9rem; }
  .page-head__in, .cta__in { padding-right: max(1.25rem, env(safe-area-inset-right, 0px)); }
  .cta { padding-bottom: 8.5rem; }
  .cta::after { --size: 4.25rem; bottom: 2.25rem; }

  .ledger__row { flex-wrap: wrap; }
  .ledger__row::after { display: none; }
  .ledger__row dt { flex: 1 1 100%; order: 2; }
  .ledger__row dd { order: 1; text-align: left; }

  .scale__axis { display: none; }
  .scale { border-top: 2px solid var(--ink); }
  .scale__row { grid-template-columns: minmax(0, 1fr) 4.75rem; gap: .5rem 1rem; }
  .scale__label { grid-column: 1 / -1; }
}

@media (max-width: 34rem) {
  .steps, .footer__grid, .iso { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .more { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
