/* ==========================================================================
   PAOELL DESIGN SYSTEM
   Π.Α.Ο. Ελληνορώσων «Ο Ανδριανός»
   --------------------------------------------------------------------------
   One stylesheet for the whole site. Edit tokens in :root — never hard-code
   a colour, size or spacing value anywhere below or in the HTML.
   ========================================================================== */

/* --- 1. FONTS (self-hosted: no Google CDN call, no visitor IP sent abroad) - */

@font-face {
  font-family: 'Fira Sans Extra Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/FiraSansExtraCondensed-800-greek.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: 'Fira Sans Extra Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/FiraSansExtraCondensed-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-400-greek.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-weight: 400;
  font-display: swap;
  src: url('../fonts/Commissioner-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-600-greek.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-weight: 600;
  font-display: swap;
  src: url('../fonts/Commissioner-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212;
}

/* --- 2. TOKENS ----------------------------------------------------------- */

:root {
  /* Colour. Taken from the club crest: blue clover, green ring, yellow check.
     Every pairing used below is verified WCAG AA for normal text. */
  --c-ink:        #12233F;  /* primary text (deep navy, from the crest)       */
  --c-ink-soft:   #4B5A70;  /* secondary text, captions                      */
  --c-navy:       #0B3C7A;  /* crest blue: headings, page-hero field         */
  --c-navy-deep:  #06264F;  /* deepest: homepage hero, footer                */
  --c-green:      #0D6B31;  /* crest green: buttons, links, actions          */
  --c-green-lift: #0A5627;  /* hover (darker, keeps AA against white)        */
  --c-yellow:     #E8D93A;  /* crest yellow. STATE ONLY. Never decorative.   */
  --c-paper:      #FFFFFF;
  --c-surface:    #F2F5F9;  /* alternating section background                */
  --c-line:       #D9E1EB;
  --c-line-dark:  #14406F;  /* rules on navy                                 */
  --c-on-navy:    #BCD0E8;  /* muted text on navy                            */
  --c-warn-ink:   #5A3A05;
  --c-warn-bg:    #FFF6E5;
  --c-warn-line:  #C79A1E;

  /* Type */
  --f-display: 'Fira Sans Extra Condensed', 'Helvetica Neue Condensed',
               'Arial Narrow', system-ui, sans-serif;
  --f-body:    'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  /* Modular scale, 1.25 (major third), base 17px */
  --t--1:  0.80rem;
  --t-0:   1rem;
  --t-1:   1.25rem;
  --t-2:   1.563rem;
  --t-3:   1.953rem;
  --t-4:   2.441rem;
  --t-5:   3.052rem;

  /* Spacing, 4px base */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Structure */
  --w-page:  1120px;
  --w-prose: 62ch;
  --r-sm: 3px;
  --r-md: 6px;
  --focus: 3px solid var(--c-yellow);

  /* Motion. Used for state change only, never for decoration. */
  --ease: 160ms cubic-bezier(.2, .6, .3, 1);
}

/* --- 3. RESET & BASE ----------------------------------------------------- */

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

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* clears the sticky header on anchor jumps */
}
@media (min-width: 768px) { html { font-size: 18px; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-0);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  /* Reserve room for the mobile action bar so it never covers content. */
  padding-bottom: 64px;
}
@media (min-width: 1040px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 7vw, var(--t-5)); }
h2 { font-size: clamp(1.7rem, 5vw, var(--t-4)); }
h3 { font-size: var(--t-2); }
h4 { font-size: var(--t-1); }

p  { margin: 0 0 var(--s-4); max-width: var(--w-prose); }

a { color: var(--c-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-green-lift); }

/* Focus ring: dark on light surfaces, crest yellow on dark ones. Yellow on white
   is 1.46:1 and fails WCAG 1.4.11 (needs 3:1). The about panel is white even
   inside the navy section, so it goes back to dark (rule after the dark list). */
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 2px; border-radius: var(--r-sm); }
.hero :focus-visible, .page-hero :focus-visible, .section--navy :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .action-bar :focus-visible { outline-color: var(--c-yellow); }
.section--navy .about-pop :focus-visible { outline-color: var(--c-ink); }

.skip {
  position: absolute; left: var(--s-4); top: var(--s-4); z-index: 200;
  background: var(--c-yellow); color: var(--c-ink); font-weight: 600;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
  /* translate, not top: animating `top` forces a layout pass every frame */
  transform: translateY(-160%);
  transition: transform 200ms cubic-bezier(.2,.7,.3,1);
}
.skip:focus { transform: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 4. LAYOUT ----------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--w-page); margin-inline: auto; padding-inline: var(--s-5); }

.section        { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }
.section--surface { background: var(--c-surface); }
.section--navy    { background: var(--c-navy-deep); color: var(--c-paper); }
.section--navy h2, .section--navy h3 { color: var(--c-paper); }
.section--navy a  { color: var(--c-yellow); }

@media (min-width: 768px) { .section { padding-block: var(--s-9); } }

/* Section heading: a rule that encodes "new topic", not decoration. */
.section-head { border-top: 2px solid var(--c-ink); padding-top: var(--s-4); margin-bottom: var(--s-6); }
.section--navy .section-head { border-top-color: var(--c-yellow); }
.section-head p { color: var(--c-ink-soft); margin-bottom: 0; }
.section--navy .section-head p { color: var(--c-on-navy); }

/* --- 5. BUTTONS ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px;                    /* touch target floor */
  padding: var(--s-3) var(--s-5);
  font-family: var(--f-body); font-size: var(--t-0); font-weight: 600;
  line-height: 1.2; text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--r-md);
  cursor: pointer; transition: background-color var(--ease), border-color var(--ease);
}
.btn--primary   { background: var(--c-green); color: var(--c-paper); }
.btn--primary:hover { background: var(--c-green-lift); color: var(--c-paper); }
.btn--ghost     { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-paper); }
.btn--on-navy   { background: var(--c-paper); color: var(--c-navy-deep); }
.btn--on-navy:hover { background: var(--c-yellow); color: var(--c-ink); }
/* .section--navy a (yellow) outranks .btn--on-navy: without this the button's
   label was yellow on white («Περισσότερα για τον σύλλογο»). */
.section--navy .btn--on-navy { color: var(--c-navy-deep); }
.section--navy .btn--on-navy:hover { color: var(--c-ink); }
.btn--outline-navy { background: transparent; color: var(--c-paper); border-color: #4E7BB4; }
.btn--outline-navy:hover { background: rgba(255,255,255,.1); color: var(--c-paper); }
.btn--block { width: 100%; }

/* --- 6. HEADER & NAVIGATION ---------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-paper); border-bottom: 1px solid var(--c-line);
}
.site-header__bar {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--c-ink); margin-right: auto; min-width: 0; }
.brand__mark { width: 48px; height: 48px; flex: none; }
.brand__name {
  font-family: var(--f-display); font-size: clamp(1.05rem, 1rem + 1.2vw, var(--t-1));
  line-height: 1.02; letter-spacing: .005em;
}
/* The name may break only between its two halves, never inside one. */
.brand__line { white-space: nowrap; }

.nav { display: none; }
.nav ul { display: flex; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: var(--t--1); letter-spacing: .02em; padding-block: var(--s-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--c-green); color: var(--c-green); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: var(--s-2) var(--s-3);
  background: transparent; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: var(--t--1); font-weight: 600; color: var(--c-ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 1040px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer { display: none; border-top: 1px solid var(--c-line); background: var(--c-paper); }
/* The header is sticky, so a drawer taller than the screen could never scroll into
   view (it can, with the «Ο Σύλλογος» panel open). It scrolls on its own instead,
   between the header bar (~82px on a phone) and the action bar (~61px). */
.drawer[data-open="true"] {
  display: block; overflow-y: auto; overscroll-behavior: contain;
  max-height: calc(100vh - 148px); max-height: calc(100dvh - 148px);
}
.drawer ul { list-style: none; margin: 0; padding: 0 0 var(--s-5); }
.drawer li + li { border-top: 1px solid var(--c-line); }
.drawer a { display: block; padding: var(--s-4) 0; font-weight: 600; color: var(--c-ink); text-decoration: none; }
/* The open drawer scrolls, so it clips at its edge: draw the ring inside the item. */
.drawer li > a:focus-visible { outline-offset: -3px; }
@media (min-width: 1040px) { .drawer { display: none !important; } }

/* «Ο Σύλλογος» panel (paoell.js moves it under the pressed trigger). A white
   card in all three places: menu (drops down), drawer and navy section (in flow).
   Placed after .nav a / .drawer a / .section--navy a so its link rules win
   (otherwise the link is yellow on white inside the navy section). */
.about-pop {
  max-width: 40rem; margin-top: var(--s-4); padding: var(--s-5);
  background: var(--c-paper); color: var(--c-ink);
  border: 1px solid var(--c-line); border-top: 3px solid var(--c-green); border-radius: var(--r-md);
  box-shadow: 0 6px 20px -8px rgba(6, 38, 79, .28);
}
.about-pop[hidden] { display: none; }
.about-pop p { font-size: var(--t--1); line-height: 1.6; margin: 0 0 var(--s-3); }
.about-pop p:last-child { margin-bottom: 0; }
.about-pop a, .about-pop a:hover {
  display: inline; padding: 0; border: 0; white-space: normal;
  font-size: inherit; font-weight: 600; letter-spacing: normal;
  color: var(--c-green); text-decoration: underline; text-underline-offset: 3px;
}
.drawer .about-pop { margin: 0 0 var(--s-4); padding: var(--s-4); box-shadow: none; }
.nav li { position: relative; }
.nav .about-pop {
  position: absolute; top: calc(100% + var(--s-3)); left: 50%; transform: translateX(-50%);
  width: min(30rem, calc(100vw - 2 * var(--s-4))); margin: 0; text-align: left;
}

/* --- 7. HERO ------------------------------------------------------------- */
/* The hero is the chooser, not a photograph. A parent's first question is
   "which class for my child?" — answering it is the job of the first screen. */

.hero { background: var(--c-navy-deep); color: var(--c-paper); padding-block: var(--s-7) var(--s-8); }
.hero__lead { max-width: 30ch; }
.hero h1 { color: var(--c-paper); margin-bottom: var(--s-4); }
/* Founding year: the title's own typeface and weight, one step down. */
.hero__founded {
  font-family: var(--f-display); font-weight: 800; line-height: 1;
  font-size: clamp(1.35rem, 3.4vw, 2rem); letter-spacing: -.005em;
  color: var(--c-paper); margin: calc(var(--s-2) * -1) 0 var(--s-5);
}
.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; line-height: 1.35;
  color: var(--c-paper); max-width: 34ch; margin-bottom: var(--s-4);
}
.hero__creds {
  list-style: none; margin: 0 0 var(--s-6); padding: 0;
  display: grid; gap: var(--s-2); max-width: 46ch;
  font-size: .9rem; line-height: 1.45; color: var(--c-on-navy);
}
.hero__creds li { display: flex; align-items: flex-start; gap: var(--s-2); }
.hero__creds li::before {
  content: ''; flex: none; width: 6px; height: 11px; margin: .25em 5px 0 3px;
  border: solid var(--c-yellow); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* --- 8. CHOOSER ---------------------------------------------------------- */
/* Greek parents think in school stages, not age bands. Labels follow that. */

.chooser {
  background: var(--c-paper); color: var(--c-ink);
  border-radius: var(--r-md); padding: var(--s-5);
  border-top: 5px solid var(--c-yellow);
}
.chooser__q { font-family: var(--f-display); font-size: var(--t-2); margin: 0 0 var(--s-4); }
.chooser__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); margin-bottom: var(--s-4); }
@media (min-width: 560px) { .chooser__opts { grid-template-columns: repeat(4, 1fr); } }

.chip {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 72px; padding: var(--s-3);
  background: var(--c-surface); border: 2px solid var(--c-line); border-radius: var(--r-sm);
  font-family: var(--f-body); font-weight: 600; font-size: var(--t-0); color: var(--c-ink);
  text-align: left; cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease);
}
.chip small { font-weight: 400; font-size: var(--t--1); color: var(--c-ink-soft); }
.chip:hover { border-color: var(--c-green); }
.chip[aria-pressed="true"] { background: var(--c-navy-deep); border-color: var(--c-navy-deep); color: var(--c-paper); }
.chip[aria-pressed="true"] small { color: var(--c-on-navy); }

.chooser__result { font-size: var(--t--1); color: var(--c-ink-soft); margin: 0; }

@media (min-width: 900px) {
  .hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
}

/* --- 9. DEPARTMENTS ------------------------------------------------------ */

.family + .family { margin-top: var(--s-7); }
.family__name {
  font-family: var(--f-display); font-size: var(--t-1); margin: 0 0 var(--s-4);
  padding-bottom: var(--s-2); border-bottom: 1px solid var(--c-line);
  display: flex; align-items: baseline; gap: var(--s-3);
}
.family__count { font-family: var(--f-body); font-size: var(--t--1); font-weight: 400; color: var(--c-ink-soft); }

.dept-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .dept-grid { grid-template-columns: repeat(3, 1fr); } }

.dept {
  display: flex; flex-direction: column;
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: var(--s-5); height: 100%;
}
.dept[hidden] { display: none; }
.dept h3 { margin-bottom: var(--s-2); font-size: var(--t-2); }
.dept h3 a { color: inherit; text-decoration: none; }
.dept h3 a:hover { color: var(--c-green); text-decoration: underline; }
.dept p { font-size: var(--t--1); color: var(--c-ink-soft); margin-bottom: var(--s-4); }
.dept__facts { list-style: none; margin: auto 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--c-line); font-size: var(--t--1); }
.dept__facts li { display: flex; gap: var(--s-3); padding-block: 2px; }
.dept__facts dt, .dept__facts .k { color: var(--c-ink-soft); flex: 0 0 76px; }
.dept__facts .v { font-weight: 600; }

/* Honest missing-data state. Never invent a schedule; invite the question.
   Named .v-ask with ONE hyphen on purpose: a class containing "--" cannot sit
   inside an HTML comment, and these cards get commented out regularly. */
.v-ask { font-weight: 400; color: var(--c-ink-soft); font-style: italic; }

/* --- 10. TRUST ----------------------------------------------------------- */

.trust-grid { display: grid; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust h3 { font-size: var(--t-1); margin-bottom: var(--s-2); }
.trust p { font-size: var(--t--1); margin: 0; color: var(--c-on-navy); }
.trust { border-left: 2px solid var(--c-yellow); padding-left: var(--s-4); }

/* --- 11. STEPS (registration) -------------------------------------------- */
/* Numbered because this genuinely is a sequence. */

.steps { counter-reset: step; list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) { .steps--two { grid-template-columns: repeat(2, 1fr); } }   /* longer steps, half width each */
.steps li { counter-increment: step; padding-top: var(--s-4); border-top: 2px solid var(--c-line); }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--f-display); font-size: var(--t-2); line-height: 1; color: var(--c-green); margin-bottom: var(--s-2);
}
.steps strong { display: block; margin-bottom: 2px; }
.steps span { font-size: var(--t--1); color: var(--c-ink-soft); }

/* --- 12. CONTACT --------------------------------------------------------- */

.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.contact-list li { padding-block: var(--s-3); border-bottom: 1px solid var(--c-line); }
.contact-list .k { display: block; font-size: var(--t--1); color: var(--c-ink-soft); }
.contact-list .v { font-weight: 600; font-size: var(--t-1); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.hours { width: 100%; border-collapse: collapse; font-size: var(--t--1); }
.hours th, .hours td { text-align: left; padding: var(--s-2) 0; border-bottom: 1px solid var(--c-line); }
.hours th { font-weight: 400; color: var(--c-ink-soft); }
.hours td { font-weight: 600; text-align: right; }

/* --- 13. FAQ ------------------------------------------------------------- */

.faq { max-width: var(--w-prose); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-4) var(--s-5) var(--s-4) 0;
  font-weight: 600; position: relative; min-height: 48px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: var(--s-2); top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--c-green); border-bottom: 2px solid var(--c-green);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding-bottom: var(--s-4); font-size: var(--t--1); color: var(--c-ink-soft); }

/* --- 14. NOTICE (editor-facing, honest content gaps) --------------------- */

.notice {
  border: 1px solid var(--c-line); border-left: 4px solid var(--c-yellow);
  background: var(--c-surface); border-radius: var(--r-sm);
  padding: var(--s-4) var(--s-5); font-size: var(--t--1);
}
.notice p:last-child { margin-bottom: 0; }

/* --- 15. FOOTER ---------------------------------------------------------- */

.site-footer { background: var(--c-navy-deep); color: var(--c-on-navy); padding-block: var(--s-8) var(--s-6); }
.site-footer a { color: var(--c-paper); text-decoration: none; }
.site-footer a:hover { color: var(--c-yellow); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6); margin-bottom: var(--s-7); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--t-1); color: var(--c-paper); margin-bottom: var(--s-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: var(--t--1); }
.site-footer li { padding-block: var(--s-1); }
.footer-legal {
  border-top: 1px solid var(--c-line-dark); padding-top: var(--s-5);
  font-size: var(--t--1); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
}

/* --- 16. MOBILE ACTION BAR ----------------------------------------------- */
/* One-hand reach. These are the three things a parent on a phone actually
   does: call, find the classes, get directions. */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--c-navy-deep); border-top: 1px solid var(--c-line-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; padding: var(--s-2);
  color: var(--c-paper); text-decoration: none; font-size: var(--t--1); font-weight: 600;
}
.action-bar a + a { border-left: 1px solid var(--c-line-dark); }
.action-bar svg { width: 20px; height: 20px; }
.action-bar a:active { background: #0A3566; }
@media (min-width: 1040px) { .action-bar { display: none; } }

/* --- 17. PREFERENCES ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .action-bar, .drawer, .chooser__opts { display: none !important; }
  body { padding-bottom: 0; }
  .section--navy, .hero, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ==========================================================================
   18. SELF-FLAGGING CONTENT
   Content that is a placeholder or a draft marks itself on the page. Remove
   the data attribute in the HTML and the marking disappears. This exists so
   unfinished content cannot go live unnoticed — which is exactly how the
   previous site ended up publishing template text for months.
   ========================================================================== */

[data-draft="true"], [data-placeholder="true"] { position: relative; }

.flag {
  display: flex; align-items: flex-start; gap: var(--s-3);
  background: var(--c-warn-bg); border: 1px solid var(--c-warn-line); border-left-width: 5px;
  border-radius: var(--r-sm); padding: var(--s-3) var(--s-4);
  font-size: var(--t--1); color: var(--c-warn-ink); margin-bottom: var(--s-5);
}
.flag strong { font-weight: 600; }
.flag::before { content: '⚠'; font-size: var(--t-1); line-height: 1.1; }

.is-placeholder {
  background: var(--c-warn-bg);
  box-shadow: 0 0 0 2px var(--c-warn-bg);
  border-bottom: 1px dashed var(--c-warn-line);
}

/* ==========================================================================
   19. ΠΡΟΓΡΑΜΜΑ
   Filtered by discipline rather than laid out as a week grid: a parent wants
   "when is taekwondo", not a 12-column timetable on a 390px screen.
   ========================================================================== */

.sched__filter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.sched__filter .chip {
  min-height: 44px; flex-direction: row; align-items: center;
  padding: var(--s-2) var(--s-4); background: var(--c-paper);
}
/* The rule above comes later than .chip[aria-pressed="true"] with the same
   specificity, so it used to keep the pressed chip white while the text turned
   white too: the label vanished. Restate the pressed fill here. */
.sched__filter .chip[aria-pressed="true"] { background: var(--c-navy-deep); }

/* Windows contrast themes replace every colour, so a pressed chip would look
   like the rest. Use the system highlight colours for it instead. */
@media (forced-colors: active) {
  .chip[aria-pressed="true"] {
    forced-color-adjust: none;
    background: Highlight; border-color: Highlight; color: HighlightText;
  }
  /* the schedule's own pressed rule is more specific, so repeat it here */
  .sched__filter .chip[aria-pressed="true"] { background: Highlight; border-color: Highlight; color: HighlightText; }
  .chip[aria-pressed="true"] small { color: HighlightText; }
}

.sched__days { display: grid; gap: var(--s-5); }
@media (min-width: 760px)  { .sched__days { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .sched__days { grid-template-columns: repeat(3, 1fr); } }

.day {
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5) var(--s-5);
}
.day[hidden] { display: none; }
.day[data-today="true"] { border-color: var(--c-green); border-width: 2px; }

.day__name {
  font-family: var(--f-display); font-size: var(--t-1); margin: 0 0 var(--s-3);
  padding-bottom: var(--s-2); border-bottom: 1px solid var(--c-line);
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
}
.day__today {
  font-family: var(--f-body); font-size: var(--t--1); font-weight: 600;
  color: var(--c-ink); background: var(--c-yellow);
  padding: 1px var(--s-2); border-radius: var(--r-sm);
}

.day__list { list-style: none; margin: 0; padding: 0; }

/* max-content, not a fixed width: «09:00–10:00» is ~88px at this size and used to
   run into the name. Every time has the same width (tabular-nums), so rows line up. */
.ses {
  display: grid; grid-template-columns: max-content 1fr; gap: var(--s-1) var(--s-3);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line);
}
.ses:last-child { border-bottom: 0; padding-bottom: 0; }
.ses[hidden] { display: none; }
.ses__time { font-weight: 600; font-size: var(--t--1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ses__what { font-weight: 600; font-size: var(--t--1); }
.ses__meta { grid-column: 2; font-size: var(--t--1); color: var(--c-ink-soft); }

.sched__empty { padding: var(--s-6) 0; color: var(--c-ink-soft); }

/* ==========================================================================
   20. ΠΡΟΠΟΝΗΤΕΣ
   ========================================================================== */

.coach-grid { display: grid; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
@media (min-width: 620px) { .coach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .coach-grid { grid-template-columns: repeat(4, 1fr); } }

.coach { display: flex; flex-direction: column; gap: var(--s-2); }
.coach__photo {
  aspect-ratio: 3 / 4; width: 100%;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink-soft); font-size: var(--t--1); text-align: center; padding: var(--s-4);
}
.coach__name { font-family: var(--f-display); font-size: var(--t-1); margin: 0; }
.coach__role { font-size: var(--t--1); color: var(--c-ink-soft); margin: 0; }

/* ==========================================================================
   21. ΣΕΛΙΔΑ ΤΜΗΜΑΤΟΣ
   ========================================================================== */

.crumbs { font-size: var(--t--1); padding-block: var(--s-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '›'; margin-right: var(--s-2); color: var(--c-ink-soft); }
.crumbs a { color: var(--c-ink-soft); }
.crumbs [aria-current="page"] { color: var(--c-ink); font-weight: 600; }

.page-hero { background: var(--c-navy-deep); color: var(--c-paper); padding-block: var(--s-7); }
.page-hero h1 { color: var(--c-paper); margin-bottom: var(--s-3); }
.page-hero__lead { color: var(--c-on-navy); font-size: var(--t-1); max-width: 52ch; }
.page-hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  list-style: none; margin: 0 0 var(--s-5); padding: 0;
  font-size: var(--t--1); color: var(--c-on-navy);
}

.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .gains { grid-template-columns: repeat(3, 1fr); } }
.gains li { border-top: 2px solid var(--c-green); padding-top: var(--s-4); }
.gains h3 { font-size: var(--t-1); margin-bottom: var(--s-2); }
.gains p { font-size: var(--t--1); color: var(--c-ink-soft); margin: 0; }

.cross { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 600px) { .cross { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cross { grid-template-columns: repeat(3, 1fr); } }
.cross a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 56px; padding: var(--s-3) var(--s-4);
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-md);
  color: var(--c-ink); text-decoration: none; font-weight: 600;
}
.cross a:hover { border-color: var(--c-green); color: var(--c-green); }
.cross span { font-weight: 400; font-size: var(--t--1); color: var(--c-ink-soft); }

.cta-band { background: var(--c-green); color: var(--c-paper); }
.cta-band h2 { color: var(--c-paper); }
.cta-band p { color: var(--c-on-navy); }
.cta-band .btn--on-navy { color: var(--c-green); }

/* ==========================================================================
   22. MOTIF
   The club's own silhouette artwork, used as a quiet watermark. No faces, no
   stock athletes, no third-party imagery — so nothing here can misrepresent
   who trains at the club.
   ========================================================================== */

.page-hero { position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__motif {
  position: absolute; right: -40px; bottom: -40px; top: -20px;
  width: auto; height: calc(100% + 60px);
  opacity: .12; pointer-events: none; user-select: none;
}
@media (max-width: 640px) { .page-hero__motif { opacity: .07; right: -90px; } }

/* ==========================================================================
   23. ΔΙΚΑΙΟΛΟΓΗΤΙΚΑ
   A checklist a parent can work through, not a paragraph they have to parse.
   The slow item is flagged so they start it first.
   ========================================================================== */

.docs { list-style: none; margin: 0 0 var(--s-6); padding: 0; counter-reset: doc; }
.docs > li {
  counter-increment: doc;
  display: grid; grid-template-columns: 34px 1fr; gap: var(--s-2) var(--s-4);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--c-line);
}
.docs > li:first-child { border-top: 1px solid var(--c-line); }
.docs > li::before {
  content: counter(doc);
  grid-row: span 3;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-navy); color: var(--c-paper);
  font-family: var(--f-display); font-size: var(--t-0); line-height: 1;
}
.docs h3 { grid-column: 2; margin: 0; font-size: var(--t-1); align-self: center; }
.docs p  { grid-column: 2; margin: 0; font-size: var(--t--1); color: var(--c-ink-soft); max-width: 60ch; }
.docs .doc__do { grid-column: 2; margin-top: var(--s-1); }
.docs .doc__do a { font-size: var(--t--1); font-weight: 600; }

.doc-note {
  display: inline-block; margin-top: var(--s-2);
  background: var(--c-yellow); color: var(--c-ink);
  font-size: var(--t--1); font-weight: 600;
  padding: 2px var(--s-3); border-radius: var(--r-sm);
}

/* Τι επηρεάζει τη συνδρομή — structure without inventing numbers. */
.fees { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .fees { grid-template-columns: repeat(3, 1fr); } }
.fees li {
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-green); border-radius: var(--r-md);
  padding: var(--s-5);
}
.fees h3 { font-size: var(--t-1); margin-bottom: var(--s-2); }
.fees p { font-size: var(--t--1); color: var(--c-ink-soft); margin: 0; }

/* ==========================================================================
   24. MOTION SYSTEM
   Rules, so motion stays craft and never becomes decoration:
     · transform and opacity only — never width, height, top or box-shadow
       spread, which force the browser to re-layout on every frame
     · 120–220ms; anything slower is felt as lag on a mid-range Android
     · motion confirms a state change the user caused. Nothing animates
       on scroll, and nothing loops
     · every effect is opt-in behind prefers-reduced-motion: no-preference,
       so the default state is always the finished state
   ========================================================================== */

:root {
  --dur-fast: 120ms;
  --dur:      200ms;
  --dur-slow: 420ms;
  --ease-out: cubic-bezier(.2, .7, .3, 1);
  --lift:     0 6px 20px -8px rgba(6, 38, 79, .28);
}

/* --- 25. HERO ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 18%, #0B3C7A 0%, transparent 62%),
    var(--c-navy-deep);
  padding-block: var(--s-8) 0;
}
.hero > .wrap { position: relative; z-index: 2; }

/* The club's own clover, at scale. No stock athletes, no third-party art. */
.hero__mark {
  position: absolute; z-index: 1;
  right: -8%; top: 50%; transform: translateY(-52%);
  width: min(620px, 62vw); height: auto;
  opacity: .085; pointer-events: none;
}
@media (max-width: 760px) {
  .hero__mark { right: -28%; top: 38%; width: 92vw; opacity: .06; }
}

.hero h1 {
  font-size: clamp(2.35rem, 9vw, 4.2rem);
  letter-spacing: -.015em; line-height: .96;
  margin-bottom: var(--s-5);
  max-width: 8.4em;             /* two lines on desktop: name, then «Ο Ανδριανός» */
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-8); }

/* Quick-access strip: the five directions, reachable from the first screen.
   Generated from _tools/build_departments.py, like the cards further down. */
.hero__strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--c-line-dark);
  background: rgba(3, 22, 48, .62);
}
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.strip > li {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-5) var(--s-4); min-height: 96px;
  border: 0 solid var(--c-line-dark);
}
@media (max-width: 759px) {
  .strip > li:nth-child(n+3) { border-top-width: 1px; }
  .strip > li:nth-child(even) { border-left-width: 1px; }
  .strip > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 760px) and (max-width: 1099px) {       /* 3 + 2 */
  .strip { grid-template-columns: repeat(6, 1fr); }
  .strip > li { grid-column: span 2; }
  .strip > li:nth-child(n+4) { grid-column: span 3; border-top-width: 1px; }
  .strip > li:not(:nth-child(1)):not(:nth-child(4)) { border-left-width: 1px; }
}
@media (min-width: 1100px) {
  .strip { grid-template-columns: repeat(5, 1fr); }
  .strip > li + li { border-left-width: 1px; }
}
/* Every line is its own link (Κώστας, 30/9): a sport opens the schedule filtered
   to it; the family name opens its cards. min-height keeps each line a 24px target. */
.strip a { color: var(--c-paper); text-decoration: none; }
.strip a:hover, .strip a:focus-visible { color: var(--c-paper); text-decoration: underline; text-underline-offset: 3px; }
.strip__fam { align-self: flex-start; }
.strip strong { font-family: var(--f-display); font-size: var(--t-1); line-height: 1.1; }
.strip__items, .strip__items ul { list-style: none; margin: 0; padding: 0; }
.strip__items { font-size: var(--t--1); line-height: 1.45; color: var(--c-on-navy); }
.strip__items a { color: var(--c-on-navy); display: inline-block; min-height: 24px; padding-block: 1px; }
.strip__items > li { position: relative; padding-left: 13px; }
.strip__items > li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: #6F95C7;
}
.strip__items ul { font-size: .94em; }
/* The dash sits outside the flow: the links are inline-blocks, and on phones
   under ~380px an inline dash was left alone on its own line. */
.strip__items ul li { position: relative; padding-left: .9em; }
.strip__items ul li::before { content: '–'; position: absolute; left: 0; color: #6F95C7; }

/* --- 26. CARD CRAFT ------------------------------------------------------ */

.dept {
  position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow   var(--dur) var(--ease-out);
}
.dept__clover {
  position: absolute; right: -22px; top: -22px;
  width: 116px; height: 116px; opacity: .05; pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.dept:hover { border-color: var(--c-green); box-shadow: var(--lift); }
.dept:hover .dept__clover { opacity: .1; transform: scale(1.06) rotate(-4deg); }
.dept h3 a::after { content: ''; position: absolute; inset: 0; }   /* whole card is the link */
/* …except «Ημέρες», which sits above that layer and opens the filtered schedule. */
.dept__facts a.v {
  position: relative; z-index: 1; color: var(--c-green); text-underline-offset: 3px;
  padding-block: 2px; margin-block: -2px;          /* a 24px target without moving the row */
}
.dept__facts a.v:hover { text-decoration-thickness: 2px; }

.family__name::before {
  content: ''; width: 10px; height: 10px; border-radius: 2px;
  background: var(--c-green); flex: none; align-self: center;
}

.cross a, .chip, .btn { transition: transform var(--dur-fast) var(--ease-out),
                                    background-color var(--dur) var(--ease-out),
                                    border-color var(--dur) var(--ease-out),
                                    color var(--dur) var(--ease-out); }
.btn:active, .chip:active { transform: scale(.985); }
.cross a:hover { transform: translateX(3px); box-shadow: var(--lift); }
.coach__photo, .day { transition: border-color var(--dur) var(--ease-out); }
.day:hover { border-color: var(--c-navy); }

/* --- 27. ENTRANCE --------------------------------------------------------
   One animation on the site, on the hero only, once. Opt-in behind the
   reduced-motion query so the un-animated state is the default.
   ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero h1       { animation: rise var(--dur-slow) var(--ease-out) 60ms both; }
  .hero__founded { animation: rise var(--dur-slow) var(--ease-out) 100ms both; }
  .hero__tagline { animation: rise var(--dur-slow) var(--ease-out) 140ms both; }
  .hero__creds   { animation: rise var(--dur-slow) var(--ease-out) 180ms both; }
  .hero__cta     { animation: rise var(--dur-slow) var(--ease-out) 220ms both; }
  .drawer[data-open="true"] { animation: rise var(--dur) var(--ease-out) both; }
}

.page-hero__mark {
  position: absolute; z-index: 0;
  right: -6%; top: 50%; transform: translateY(-50%);
  width: min(360px, 44vw); height: auto; opacity: .09; pointer-events: none;
}

/* --- 28. LIVE STATUS ------------------------------------------------------
   Derived from the schedule in the page, so it stays true with no upkeep.
   ------------------------------------------------------------------------ */

.now {
  display: inline-flex; align-items: center; gap: var(--s-3);
  background: var(--c-navy-deep); color: var(--c-paper);
  font-size: var(--t--1); font-weight: 600;
  padding: var(--s-3) var(--s-5); border-radius: 100px;
  margin-bottom: var(--s-5);
}
.now::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-yellow); flex: none;
}
.now[hidden] { display: none; }   /* display:inline-flex above would otherwise show an empty pill without JS */

/* --- 29. GETTING HERE ---------------------------------------------------- */

.travel { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .travel { grid-template-columns: repeat(3, 1fr); } }
.travel li {
  background: var(--c-paper); border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.travel svg { width: 26px; height: 26px; color: var(--c-green); }
.travel h3 { font-size: var(--t-1); margin: 0; }
.travel p { font-size: var(--t--1); color: var(--c-ink-soft); margin: 0; }

/* ==========================================================================
   30. ΦΟΡΜΑ
   Works with JavaScript disabled: the browser posts to a PHP handler and the
   handler renders the result. JS only adds inline validation on top.
   ========================================================================== */

.form { max-width: 34rem; }
.field { margin-bottom: var(--s-5); }

.field > label {
  display: block; font-weight: 600; font-size: var(--t--1);
  margin-bottom: var(--s-2);
}
.field .req { color: var(--c-green); }
.field .hint { display: block; font-weight: 400; color: var(--c-ink-soft); margin-top: 2px; }

/* Not the consent checkbox: «appearance: none» would hide its tick (30 Sept). */
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px;                /* comfortable touch target */
  padding: var(--s-3) var(--s-4);
  font-family: var(--f-body); font-size: var(--t-0); color: var(--c-ink);
  background: var(--c-paper);
  border: 2px solid var(--c-line); border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230D6B31' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-4) center;
  background-size: 12px; padding-right: var(--s-8);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-green); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }

.field__error { display: block; margin-top: var(--s-2); font-size: var(--t--1); font-weight: 600; color: #B3261E; }
.field__error:empty { display: none; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; }
.consent input { width: 22px; min-height: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--c-green); }
.consent label { font-weight: 400; font-size: var(--t--1); color: var(--c-ink-soft); margin: 0; }

.form__errors {
  border: 2px solid #B3261E; background: #FDECEA; border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5); margin-bottom: var(--s-6);
}
.form__errors h2 { font-size: var(--t-1); color: #B3261E; margin-bottom: var(--s-2); }
.form__errors ul { margin: 0; padding-left: var(--s-5); font-size: var(--t--1); }

/* Honeypot: off-screen, never focusable, invisible to assistive tech. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   31. HERO IMAGERY
   The figure sits on the right; a navy gradient covers the left so the
   headline never has to compete with it. Contrast is guaranteed by the
   gradient, not by hoping the photograph is dark enough there.
   ========================================================================== */

.hero__photo, .page-hero__photo {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  height: 100%; width: auto; max-width: 58%;
  object-fit: cover; object-position: center bottom;
  pointer-events: none; user-select: none;
}

.hero::after, .page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg,
    var(--c-navy-deep) 0%,
    var(--c-navy-deep) 34%,
    rgba(6, 38, 79, .86) 50%,
    rgba(6, 38, 79, .48) 66%,
    rgba(6, 38, 79, .18) 82%,
    rgba(6, 38, 79, .06) 100%);
}
.hero > .wrap, .hero__strip, .page-hero > .wrap { position: relative; z-index: 2; }

/* On a narrow screen there is no room for a side-by-side: the figure drops
   back to a faint texture so the text keeps full contrast. */
@media (max-width: 820px) {
  .hero__photo, .page-hero__photo { max-width: 78%; opacity: .34; }
  .hero::after, .page-hero::after {
    background: linear-gradient(180deg,
      rgba(6, 38, 79, .92) 0%, rgba(6, 38, 79, .80) 55%, rgba(6, 38, 79, .95) 100%);
  }
}

/* Second figure, on the left (.hero--duo). A headline over it would be
   unreadable (its left half is white brush), so it only appears where there
   is room for figure · text · figure: the text moves to a centre column and
   the navy wash is mirrored. Below 1360px the page keeps one figure, and the
   lazy-loaded image is never downloaded because it is never displayed. */
.hero__photo--left { display: none; }
@media (min-width: 1360px) {
  .hero--duo .hero__photo { max-width: 27%; }
  .hero--duo .hero__photo--left {
    display: block; right: auto; left: 0; object-position: right bottom;
    /* this artwork has a busy inner edge; fade it out before the text starts */
    -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 96%);
            mask-image: linear-gradient(90deg, #000 45%, transparent 96%);
  }
  .hero--duo > .wrap { max-width: 42rem; }
  .hero--duo::after {
    background: linear-gradient(90deg,
      rgba(6, 38, 79, .06) 0%,
      rgba(6, 38, 79, .18) 15%,
      rgba(6, 38, 79, .48) 30%,
      var(--c-navy-deep) 36%,
      var(--c-navy-deep) 64%,
      rgba(6, 38, 79, .48) 70%,
      rgba(6, 38, 79, .18) 85%,
      rgba(6, 38, 79, .06) 100%);
  }
}

/* The drawn clover steps aside where a figure is present. */
.hero:has(.hero__photo) .hero__mark,
.page-hero:has(.page-hero__photo) .page-hero__mark { opacity: .05; }

/* ==========================================================================
   32. ΦΩΤΟΓΡΑΦΙΕΣ ΠΡΟΠΟΝΗΤΩΝ & ΒΟΗΘΗΤΙΚΑ
   ========================================================================== */

/* A real portrait replaces the placeholder box: no inner padding, and the
   navy of the portrait backdrop continues into the frame while it loads. */
.coach picture { display: block; }
.coach__photo--img { padding: 0; object-fit: cover; height: auto; background: var(--c-navy-deep); border-color: var(--c-navy); }
.coach__ref, .coach__cred { color: var(--c-ink-soft); }

.nowrap { white-space: nowrap; }
.footer-logo { margin-bottom: var(--s-4); }   /* replaces an inline style the CSP would block */

/* Below 380px the word «Μενού» would push the club name off the bar. The icon
   stays; the word stays for screen readers. */
@media (max-width: 379px) {
  .nav-toggle { padding-inline: var(--s-2); }
  .nav-toggle__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.table-note { margin-top: var(--s-4); font-size: var(--t--1); color: var(--c-ink-soft); }
.mt-6 { margin-top: var(--s-6); }
.input--narrow { max-width: 9rem; }
