/*
  Παράγραφος: page CSS over the kit's system (assets/system.css). A newspaper front page:
  paper, ink, one accent (the oxblood of a corrector's pen), rules between columns, large numerals, tables.
  Everything here is set from the tokens below; nothing animates but transform and opacity.
*/

/* ------------------------------------------------------------ tokens */
html { font-synthesis: none; }
/* the browser's own surfaces in the page's ink and pen */
::selection { background: var(--p-accent); color: var(--p-accent-ink); }
:is(input, select, textarea) { caret-color: var(--p-accent); }
/* a printed page has no round corners */
html[data-radius="sharp"][data-buttons="block"] { --r-sm: 0px; --r-md: 0px; --r-lg: 0px; --r-btn: 0px; }
:root {
  --pg-ease: cubic-bezier(.22, 1, .36, 1);     /* one ease-out for the page's own motion */
  --pg-count: 1100ms;                            /* a figure counting up */
  --pg-pen: 420ms;                               /* the pen underline */
  --t-kicker: 13px;
  --t-fig: clamp(72px, 13.4vw, 204px);           /* the large numerals */
}
/* rules read as print, not as UI hairlines: a step stronger than the kit's */
:root, .ground-base, .ground-surface, .ground-inverse {
  --line: color-mix(in oklab, var(--ink) 20%, transparent);
  --line-strong: color-mix(in oklab, var(--ink) 42%, transparent);
  --rule: color-mix(in oklab, var(--ink) 30%, transparent);
}

/* ------------------------------------------------------------ type */
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; }
h2, .t-h2 { line-height: 1.08; text-wrap: balance; }
/* the last two words of a headline stay together where the line is wide enough to hold them */
@media (min-width: 360px) { .keep { white-space: nowrap; } }
h3 { letter-spacing: -0.006em; font-weight: 700; }
/* digits: JetBrains Mono, tabular, a touch smaller so they sit with the sans */
.n, .num, .hours dd, .cd__num, .cd__clock b {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.03em;
}
.n { font-size: .94em; }
b.n, .num { font-weight: 600; }
.kicker { display: flex; align-items: center; gap: var(--s-3); font: 600 var(--t-kicker)/1.3 var(--font-text); letter-spacing: .09em; text-transform: uppercase; color: var(--ink); }
.note { font-size: var(--t-small); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.link--plain::after { content: none; }

/* the visible tag on every placeholder figure, row and name: a specimen stamp */
.deigma {
  display: inline-block; flex: none; padding: 3px 6px 2px; border: 1px solid currentColor; color: var(--accent);
  font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; vertical-align: 0.08em;
}

/* icons inside buttons */
.ico { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

/* the school's mark: a section sign on an oxblood tile */
.logo__mark { flex: none; width: 26px; height: 26px; }
.nav__logo .logo__mark { height: 26px; }
.logo__mark rect { fill: var(--p-accent); }
.logo__mark path { fill: none; stroke: var(--p-bg); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.nav__logo { gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.nav__tel { font-family: var(--font-mono); font-size: 14px; letter-spacing: -0.03em; }
@media (min-width: 1024px) and (max-width: 1279px) { .nav__tel { display: none; } }

/* ------------------------------------------------------------ sections: a page head rule under the fixed bar
   An Oxford rule (thick, thin) stands in each section's top padding, on the .wrap's lines. */
main > section.sheet::before {
  content: ""; position: absolute; z-index: 1; top: calc(var(--padt) - 28px);
  left: max(var(--gut), (100% - var(--container)) / 2); right: max(var(--gut), (100% - var(--container)) / 2);
  height: 6px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
}
/* a section is at least its screens and grows with what it holds at every width (a short laptop screen must
   never lay one section over the next); at 1440x900 every section still stands on exactly one or two screens */
@media (min-width: 1280px) {
  main > :is(section, .section):not(.hero, .section--hero), footer.closing {
    height: auto; min-height: calc(var(--h, 1) * 100vh); min-height: calc(var(--h, 1) * 100svh);
  }
  :where(main > :is(section, .section):not(.hero, .section--hero), footer.closing) { display: flex; flex-direction: column; }
  main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { flex: 1 0 auto; height: auto; min-height: 0; }
}
@media (min-width: 640px) and (max-height: 779px) {
  main > :is(.hero, .section--hero) { height: auto; min-height: 100vh; min-height: 100svh; }
}
.section-head { margin-bottom: var(--s-6); }
.section-head p { max-width: 54ch; }
.table__title { font: 600 var(--t-kicker)/1.3 var(--font-text); letter-spacing: .09em; text-transform: uppercase; margin-bottom: var(--s-3); }

/* a column rule: one hairline in the middle of the gutter, left of a column */
.figs__col + .figs__col::before, .track + .track::before, .front__foot > * + *::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) / -2); width: 1px; background: var(--rule);
}

/* photographs: black and white, printed on the paper (multiply), square */
.photo { position: relative; overflow: hidden; margin: 0; background: var(--bg); }
.photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo > img, .tile__media > img, .menu-card .panel > img { mix-blend-mode: multiply; }
.tile__media, .menu-card .panel { background: var(--bg); }

/* ------------------------------------------------------------ the front page (hero) */
.front .hero__in { justify-content: flex-start; }
.dateline {
  display: flex; justify-content: space-between; gap: var(--s-4); padding: 9px 0 8px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  font: 600 var(--t-kicker)/1.3 var(--font-text); letter-spacing: .09em; text-transform: uppercase;
}
.front h1 {
  font-size: min(var(--ly-h1-mega), 11.4vh); font-size: min(var(--ly-h1-mega), 11.4svh); font-weight: 600; line-height: 1;
  letter-spacing: var(--display-tracking-xl); text-wrap: balance; margin-block: auto; padding-block: clamp(16px, 3.2svh, 36px);
}
.front .front__foot { position: relative; margin-top: 0; padding-top: 22px; border-top: 3px solid var(--ink); align-items: stretch; row-gap: var(--s-5); }
.front__foot::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1px solid var(--ink); }
.front__foot > * { position: relative; min-width: 0; }
.front .hero__lead { max-width: 46ch; }
.front__actions { margin-top: var(--s-5); justify-content: flex-start; gap: var(--s-2) var(--s-4); }
html[data-buttons="block"] .front__actions .btn--secondary { padding-inline: 0; }
.front__result, .front__count { display: flex; flex-direction: column; gap: var(--s-3); }

/* a figure: one large numeral, the rest of its ratio, the pen under it, one sentence */
.fig { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .14em; align-self: flex-start;
       font-family: var(--font-display); font-size: var(--t-fig); line-height: .84; padding-bottom: 14px; }
.fig__big { font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: lining-nums tabular-nums; }
.fig__rest { font-size: .25em; font-weight: 600; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.fig__text { font-size: var(--t-lead); line-height: 1.45; max-width: 30ch; }
.fig--front { font-size: clamp(64px, 6.6vw, 104px); }
.fig--front .fig__rest { font-size: .32em; }
.front .fig__text { font-size: var(--t-body); line-height: 1.5; }
/* the corrector's pen: one stroke under the figure, drawn left to right once the count lands */
.pen { position: absolute; left: 0; bottom: 0; width: 100%; height: 10px; overflow: visible; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; transform-origin: 0 50%; }
.pen path { vector-effect: non-scaling-stroke; }
.pg-live :is([data-pg="wait"], [data-pg="run"]) .pen { transform: scaleX(0); }
.pg-live [data-pg="go"] .pen { transition: transform var(--pg-pen) var(--pg-ease); }

/* the countdown */
.cd__main { display: flex; align-items: baseline; gap: .5ch; font-family: var(--font-display); line-height: .9; }
.cd__num { font-size: clamp(56px, 5.4vw, 84px); font-weight: 700; letter-spacing: -0.06em; }
.cd__unit { font-size: clamp(22px, 2vw, 30px); font-weight: 600; }
.cd__clock { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--t-small); color: var(--ink); }
.cd__clock > span { display: inline-flex; align-items: baseline; gap: 6px; }
.cd__clock b { position: relative; display: inline-block; overflow: hidden; min-width: 2ch; font-size: 20px; font-weight: 600; line-height: 1.2; }
.cd__clock b > i { display: block; font-style: normal; }
/* a digit pair that changed drops in from above, the way a counter runs down (transform and opacity only) */
.cd__clock b > i.is-in { animation: cd-in 220ms var(--pg-ease) both; }
@keyframes cd-in { from { transform: translateY(-45%); opacity: 0; } }
/* while motion is allowed the clock's line is held from the first paint, so nothing moves when it fills in */
.pg-motion .cd__clock[hidden] { display: flex; visibility: hidden; }
.cd__note { font-size: var(--t-small); line-height: 1.45; max-width: 34ch; }

@media (min-width: 640px) and (max-width: 1023px) {
  .front .front__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front__foot > .front__lead { grid-column: 1 / -1; }
  .front__foot > .front__result, .front__foot > .front__count { grid-column: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); }
  .front__foot > .front__lead::before, .front__foot > .front__result::before { content: none; }
}
@media (max-width: 639px) {
  .dateline__wide { display: none; }
  .front h1 { font-size: clamp(30px, 8.7vw, 36px); line-height: 1.05; margin-block: 0; padding-block: 16px 18px; }
  .front .front__foot { padding-top: 18px; row-gap: 0; }
  .front__foot > * + * { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
  .front__foot > * + *::before { content: none; }
  .front .hero__lead { font-size: var(--t-body); line-height: 1.5; }
  /* the meeting button across, then call and Viber side by side: three taps on the first screen */
  .front__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
  .front__actions > .btn--primary { grid-column: 1 / -1; }
  html[data-buttons="block"] :is(.front__actions, .where__actions) > .btn--secondary { padding-inline: var(--s-2); border-color: var(--line-strong); text-decoration: none; }
  /* the figure and the countdown on the page's own 12 columns: the words beside them start on column 7 */
  .front__result, .front__count { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: var(--s-1) var(--gutter); }
  .front__result .kicker, .front__count .kicker { grid-column: 1 / -1; }
  .front__result .kicker { justify-content: space-between; }
  .fig--front { grid-column: 1 / span 6; justify-self: start; font-size: 56px; padding-bottom: 10px; }
  .front__result .fig__text { grid-column: 7 / -1; font-size: var(--t-small); }
  .cd__main { grid-column: 1 / span 6; }
  .cd__num { font-size: 44px; }
  .cd__unit { font-size: 20px; }
  /* a phone reads the clock as 08:40:26 */
  .cd__clock { grid-column: 7 / -1; grid-row: 2; gap: 0; font-size: 0; }
  .cd__clock > span { gap: 0; }
  .cd__clock > span + span::before { content: ":"; font: 600 20px/1.2 var(--font-mono); padding-inline: 1px; }
  .cd__clock b { font-size: 20px; }
  .cd__note { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 359px) {
  .fig--front, .cd__main { grid-column: 1 / span 7; }
  .cd__clock { grid-column: 8 / -1; }
  .front__result .fig__text { grid-column: 1 / -1; }
}
/* the long and the short label of one button: one of them is shown; .only-wide is left out on a phone */
.lbl-short { display: none; }
@media (max-width: 639px) { .lbl-long, .only-wide { display: none; } .lbl-short { display: inline; } }

/* ------------------------------------------------------------ results */
.figs { align-items: stretch; row-gap: 0; }
#apotelesmata .group > .figs { flex: none; align-self: stretch; }
.fig__def { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); line-height: 1.5; color: var(--muted); max-width: none; align-self: stretch; }
/* the three definitions hang from one rule across the row, as a caption line does in print */
@media (min-width: 1024px) { .figs__col { min-height: 500px; } .fig__def { box-sizing: content-box; min-height: 4.5em; } }
.figs__col { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding-block: var(--s-6) var(--s-2); border-top: 1px solid var(--ink); }
@media (min-width: 640px) and (max-width: 1023px) { .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .figs > .figs__col { grid-column: auto; } .fig__text { font-size: var(--t-body); } }
@media (max-width: 639px) {
  .figs__col { padding-block: var(--s-4) var(--s-5); gap: var(--s-2); }
  .figs__col + .figs__col::before { content: none; }
  .figs__col > .deigma { position: absolute; top: var(--s-4); right: 0; margin: 0; }
  .fig { font-size: 76px; padding-bottom: 12px; }
  .fig__rest { font-size: .3em; }
  .fig__text { font-size: var(--t-body); max-width: none; }
  .fig__def { display: none; }
  /* a phone lists five of the eight rows, so the results stay two screens */
  .tbl--students .tbl__row:nth-child(n + 6) { display: none; }
}

/* the tables. Phone first: a row is two lines (who and the points, then the school); from 760px four columns. */
.tables { row-gap: var(--s-7); }
.tbl { border-top: 1px solid var(--ink); }
.tbl__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tbl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); row-gap: 2px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line); }
.c-who { grid-column: 1; grid-row: 1; font-weight: 600; white-space: nowrap; }
.c-who > .deigma, .tbl-years tbody th > .deigma { display: inline; margin-left: var(--s-2); }
.c-pts { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; }
.c-school { grid-column: 1; grid-row: 2; }
.c-op { display: none; }
@media (min-width: 760px) {
  .tbl__head { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  .tbl__head .tbl__row { padding-block: var(--s-2); border-bottom-color: var(--ink); font: 500 var(--t-label)/1.4 var(--font-text); color: var(--muted); }
  .tbl__row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) minmax(0, 2fr) 7ch; padding-block: 13px; }
  .tbl__row > * { grid-column: auto; grid-row: auto; }
  .c-op { display: block; color: var(--muted); }
  .c-pts { font-size: var(--t-body); }
  .tbl__row > .num { text-align: right; }
}
.tbl-years { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.tbl-years th, .tbl-years td { padding: 13px 0 13px var(--s-3); border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; font-weight: 400; }
.tbl-years th:first-child { padding-left: 0; text-align: left; }
.tbl-years thead th { padding-block: var(--s-2); border-bottom-color: var(--ink); font: 500 var(--t-label)/1.3 var(--font-text); color: var(--muted); vertical-align: bottom; }
.tbl-years tbody th { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }

.tbl-years + .note { margin-top: var(--s-5); }

/* ------------------------------------------------------------ classes */
.classes > li { padding-block: 14px; row-gap: 2px; }
.classes .rows__name { font: 700 var(--t-h3)/1.15 var(--font-display); }
.classes .rows__value { align-self: baseline; font-size: var(--t-body); white-space: nowrap; max-width: none; }
.classes .rows__value b { font-size: 22px; }
.classes > li > p { max-width: none; }
.classes .when { font-size: 15px; color: var(--muted); }
#tmimata .split-col { gap: 0; }
#tmimata .split-col__end { padding-top: var(--s-5); }
#tmimata > .wrap > .photo { align-self: stretch; min-height: 280px; }
#tmimata > .wrap > .photo > img { object-position: 50% 30%; }
@media (max-width: 1023px) { #tmimata > .wrap > .photo { aspect-ratio: 4 / 3; min-height: 0; margin-top: var(--s-5); } }
@media (max-width: 639px) { .classes > li > p { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ the programme: four tracks, column rules */
.tracks__pick { display: none; }
.tracks__grid { row-gap: var(--s-7); padding-top: var(--s-2); }
.track { position: relative; min-width: 0; }
.track > h3 { font: 700 var(--t-h3)/1.15 var(--font-display); letter-spacing: -0.006em; min-height: 2.3em; text-wrap: balance; }
.hrs { width: 100%; border-collapse: collapse; margin-top: var(--s-3); }
.hrs th, .hrs td { padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.hrs tbody th { height: 86px; font-weight: 600; line-height: 1.3; padding-right: var(--s-3); }
.hrs td { width: 3ch; text-align: right; }
.hrs td b { font-size: 20px; }
.hrs .when { display: block; margin-top: 3px; font-size: var(--t-small); font-weight: 400; line-height: 1.45; color: var(--muted); }
.hrs tfoot th, .hrs tfoot td { border-top: 2px solid var(--ink); padding-block: 10px 0; font-weight: 600; vertical-align: baseline; }
.note--row { margin-top: var(--s-5); max-width: none; }
@media (min-width: 640px) and (max-width: 1023px) {
  .tracks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracks__grid > .track { grid-column: auto; }
  .track:nth-child(odd)::before { content: none; }
  .track > h3 { min-height: 0; }
}
@media (max-width: 639px) {
  .track + .track::before { content: none; }
  .track > h3 { min-height: 0; }
  .hrs tbody th { height: auto; }
  /* with script: one track at a time, picked from four buttons; without, all four one under the other */
  .tracks.is-live .tracks__pick { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
  .tracks__btn { height: 44px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--ink);
                 font: 500 15px/1 var(--font-text); cursor: pointer; }
  .tracks__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .tracks__btn { transition: transform 120ms var(--pg-ease); touch-action: manipulation; }
  .tracks__btn:active { transform: scale(.97); }
  .tracks.is-live .track:not(.is-on) { display: none; }
  .tracks.is-live .track.is-swap { animation: track-in 200ms var(--pg-ease) both; }
}
@keyframes track-in { from { opacity: 0; transform: translateY(6px); } }

/* ------------------------------------------------------------ tests: the calendar */
.cal { border-top: 1px solid var(--ink); }
.cal > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-5); padding-block: 9px; border-bottom: 1px solid var(--line); }
.cal > li > :first-child { font-weight: 600; white-space: nowrap; }
.cal__exam > :first-child { color: var(--accent); }
.cal > li.cal__exam:nth-child(1 of .cal__exam) { border-top: 2px solid var(--ink); margin-top: -1px; }
.cal + .note { margin-top: var(--s-4); }
@media (min-width: 480px) { .cal > li { grid-template-columns: 12.2em minmax(0, 1fr); } }
#diagonismata .split-col { gap: 0; }
.photo--fill { flex: 1 1 0; min-height: 220px; }
@media (max-width: 1023px) { .photo--fill { flex: none; aspect-ratio: 16 / 9; min-height: 0; margin-bottom: var(--s-6); } }
@media (max-width: 639px) { .photo--fill { aspect-ratio: 1 / 1; } }

/* ------------------------------------------------------------ teachers */
.people { row-gap: var(--s-6); }
.tile__head { align-items: center; }
.tile__head > h3 { font: 700 var(--t-h3)/1.15 var(--font-display); letter-spacing: -0.006em; }
.people .tile { gap: var(--s-3); }
.people .tile > p { max-width: 30ch; }
@media (max-width: 639px) { .people .tile > p { font-size: 15px; } }

/* ------------------------------------------------------------ parents: the statement */
.statement > .wrap { justify-content: flex-start; gap: var(--s-6); }
/* the statement stands in the middle of its screen, its label on the rule above, as a pull quote does */
.statement .mo-wh__text { margin-block: auto; }
.statement .mo-wh__text { font-size: clamp(30px, 3.9vw, 60px); line-height: 1.13; font-weight: 500; max-width: 21em; letter-spacing: var(--display-tracking); }
/* the statement lights up by opacity, never by a colour change (only transform and opacity animate on this page) */
.mo-wh .mo-w { color: inherit; opacity: .5; transition: opacity 180ms var(--pg-ease); }
.mo-wh .mo-w.is-on { color: inherit; opacity: 1; }
.mo-wh strong .mo-w, .mo-wh strong .mo-w.is-on, .statement strong { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .mo-wh .mo-w { opacity: 1; transition: none; } }

/* ------------------------------------------------------------ the meeting: facts and the form */
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px var(--s-5); padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
@media (min-width: 480px) { .facts > div { grid-template-columns: 11em minmax(0, 1fr); } }
#rantevou .split-col { gap: var(--s-5); }
#rantevou .section-head { margin-bottom: 0; }
.formbox { background: var(--p-surface); padding: var(--s-7); --bg: var(--p-bg); }
.field label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); }
.field__hint { font-weight: 400; color: var(--muted); }
.field :is(input, select) { border-radius: 0; border-color: var(--line-strong); }
.field select { appearance: none; -webkit-appearance: none; padding-right: var(--s-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.500 4.500 6 8l3.500-3.500' fill='none' stroke='%231b1915' stroke-width='1.500' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.field :is(input, select):focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; min-height: 44px; padding-block: 10px; font-size: var(--t-body); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--p-accent); }
/* a phone holds the mock exams in exactly two screens */
@media (max-width: 639px) { #diagonismata { --hm: 2; } .cal > li { padding-block: 6px; } }
@media (max-width: 639px) { .formbox { padding: var(--s-5); margin-top: var(--s-4); } #rantevou .split-col__end { display: none; } }

/* ------------------------------------------------------------ where: the address, the hours, the map */
#pou .split-col { gap: var(--s-5); }
#pou .section-head { margin-bottom: 0; }
.where__address { font: 600 clamp(24px, 2.5vw, 36px)/1.15 var(--font-display); font-style: normal; letter-spacing: var(--display-tracking); }
.where__way { max-width: 44ch; }
.where__hours { display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--ink); }
.where__hours .hours { gap: var(--s-2) var(--s-6); }
.where__actions { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
.where__map { margin: 0; }
html[data-buttons="block"] .where__actions .btn--secondary { padding-inline: 0; }
.map { position: relative; align-self: stretch; min-height: 320px; overflow: hidden; background: var(--p-surface); border: 1px solid var(--ink); }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__land { fill: #e7e0cf; }
.map__sea, .map__water { fill: #d4cdbb; }
.map__seahatch { fill: url(#map-sea); }
.map__hatch { fill: none; stroke: #1b1915; stroke-opacity: .2; stroke-width: 1; }
.map__green { fill: #ded7c4; }
.map__greendots { fill: url(#map-park); }
.map__dot { fill: #1b1915; fill-opacity: .28; }
.map__plaza { fill: #f0ead9; }
.map__path, .map__minor, .map__street, .map__major, .map__tram { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map__path { stroke: #f4efe4; stroke-width: 2.500; }
.map__minor { stroke: #f4efe4; stroke-width: 5.500; }
.map__street { stroke: #f4efe4; stroke-width: 8.500; }
.map__major { stroke: #faf6ec; stroke-width: 14; }
.map__tram { stroke: #1b1915; stroke-opacity: .5; stroke-width: 1.600; stroke-dasharray: 7 6; }
.map__names text { font: 500 17px var(--font-text); fill: #1b1915; fill-opacity: .82; paint-order: stroke; stroke: #f4efe4; stroke-width: 5px; stroke-linejoin: round; }
.map__names .map__sea-name { font: italic 500 34px var(--font-display); letter-spacing: .12em; fill-opacity: .6; stroke: none; }
.map__station rect { fill: #1b1915; }
.map__station text { font: 600 17px var(--font-text); fill: #1b1915; paint-order: stroke; stroke: #e7e0cf; stroke-width: 5px; stroke-linejoin: round; }
.map__pin-ring { fill: var(--p-accent); fill-opacity: .14; stroke: var(--p-accent); stroke-width: 2.500; }
.map__pin-dot { fill: var(--p-accent); stroke: #f4efe4; stroke-width: 4; }
.map__pin-name { font: 600 19px var(--font-text); fill: #1b1915; paint-order: stroke; stroke: #e7e0cf; stroke-width: 6px; stroke-linejoin: round; }
@media (max-width: 1023px) { .map { aspect-ratio: 4 / 3; min-height: 0; margin-top: var(--s-6); } }
@media (max-width: 639px) {
  .where__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
}
@media (max-width: 639px) {
  .map { aspect-ratio: 1; }
  /* a phone shows a tighter window, so the street names stay readable */
  .map__svg { inset: auto; left: -68%; top: -24%; width: 190%; height: 190%; max-width: none; }
}

/* ------------------------------------------------------------ the close and the footer (the one dark band) */
.footer--dark .logo__mark { width: .8em; height: .8em; margin-right: .22em; }
.footer__mark { font-weight: 600; }
.closing__cta h2 { max-width: 16em; }
.close__media > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 78% 50%; }
.close__media { background: #1f1d19; }
/* a phone: the close and the links in one run, the photograph a strip (the kit gives it a screen of its own) */
@media (max-width: 639px) {
  footer#contact { --hm: 1; }
  footer#contact > .wrap { grid-template-rows: auto auto; row-gap: var(--s-8); }
  footer#contact .close__media { flex: none; min-height: 0; aspect-ratio: 5 / 3; }
}
.footer__col li { color: var(--ink); }
.demo-note { color: var(--ink); }
.credits > summary::after { content: "Πηγές"; }
.credits[open] > summary::after { content: "Απόκρυψη"; }

/* ------------------------------------------------------------ the phone bar: call, Viber, the meeting */
@media (max-width: 639px) {
  .actionbar--three { grid-auto-flow: row; grid-template-columns: auto auto minmax(0, 1fr); gap: var(--s-2); }
  .actionbar--three .btn { padding-inline: var(--s-3); gap: 6px; font-size: 15px; }
  html[data-buttons="block"] .actionbar--three .btn--secondary { background: var(--bg); border-color: var(--line-strong); text-decoration: none; padding-inline: var(--s-3); }
}
@media (max-width: 359px) { .actionbar--three .ico { display: none; } .actionbar--three { padding-inline: var(--s-4); } }

/* reduced motion: nothing of the page's own moves */
@media (prefers-reduced-motion: reduce) {
  .pen { transform: none !important; transition: none !important; }
  .cd__clock b > i.is-in, .tracks.is-live .track.is-swap { animation: none; }
  .tracks__btn, .tracks__btn:active { transition: none; transform: none; }
}
