/*
 * Design tokens: η μοναδική πηγή για χρώματα, γραμματοσειρές, αποστάσεις,
 * γωνίες, σκιές, «γυαλί» και κίνηση. Κανένα άλλο αρχείο δεν γράφει
 * χρώματα ή μεγέθη απευθείας· χρησιμοποιεί αυτές τις μεταβλητές.
 * Κατεύθυνση: «Βουνό και νερό» (docs/decisions/0001-kickoff.md).
 */

/* Γραμματοσειρές: φορτώνουν από το site (όχι από Google), με ελληνικά. Άδεια: SIL OFL (βλ. fonts/LICENSE-*) */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-greek-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif Display";
  src: url("../fonts/noto-serif-display-greek-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Noto Serif Display";
  src: url("../fonts/noto-serif-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Χρώματα: ομίχλη, έλατο, νερό */
  --color-bg: #f4f7f5;
  --color-bg-deep: #e4ece8;
  --color-surface: #ffffff;
  --color-text: #14281e;
  --color-text-muted: #4a5e54;
  --color-accent: #2e6b4f;
  --color-accent-strong: #1f4d38;
  --color-accent-light: #3f8364;
  --color-on-accent: #ffffff;
  --color-water: #7fb8d6;
  --color-water-deep: #2f7299;
  --color-accent-tint: rgb(46 107 79 / 0.1);
  --color-line: rgb(20 40 30 / 0.12);
  --wash-water: rgb(127 184 214 / 0.32);
  --wash-fir: rgb(46 107 79 / 0.16);
  --color-focus: #2f7299;

  /* Γυαλί και σταγόνα */
  --glass-fill: linear-gradient(140deg, rgb(255 255 255 / 0.74), rgb(255 255 255 / 0.46));
  --glass-fill-strong: linear-gradient(140deg, rgb(255 255 255 / 0.86), rgb(255 255 255 / 0.62));
  --glass-edge: rgb(255 255 255 / 0.72);
  --glass-blur: 18px;
  --glass-shine: rgb(255 255 255 / 0.55);
  --glass-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    inset 0 -1px 0 rgb(20 40 30 / 0.06),
    0 28px 56px -24px rgb(16 38 28 / 0.5),
    0 6px 16px -6px rgb(16 38 28 / 0.2);

  /* Κουμπιά-σταγόνες: διάφανη σταγόνα και πράσινη σταγόνα (βλ. .button στο site.css) */
  --drop-clear-fill: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.7) 0%,
    rgb(255 255 255 / 0.28) 46%,
    rgb(255 255 255 / 0.16) 62%,
    rgb(255 255 255 / 0.5) 100%
  );
  --drop-clear-depth:
    inset 0 1.5px 0.5px rgb(255 255 255 / 0.95),
    inset 0 8px 12px -8px rgb(16 38 28 / 0.32),
    inset 0 -7px 10px -5px rgb(255 255 255 / 0.85),
    inset 0 0 0 1px rgb(255 255 255 / 0.35),
    0 1px 2px rgb(16 38 28 / 0.16),
    0 10px 18px -8px rgb(16 38 28 / 0.42);
  --drop-accent-fill: linear-gradient(
    180deg,
    rgb(84 156 121 / 0.95) 0%,
    rgb(46 107 79 / 0.97) 48%,
    rgb(31 82 59 / 0.98) 80%,
    rgb(52 120 89 / 0.98) 100%
  );
  --drop-accent-depth:
    inset 0 1.5px 0.5px rgb(255 255 255 / 0.6),
    inset 0 9px 12px -8px rgb(6 24 16 / 0.55),
    inset 0 -7px 10px -5px rgb(170 230 196 / 0.5),
    0 1px 2px rgb(16 38 28 / 0.2),
    0 12px 22px -10px rgb(20 60 42 / 0.65);
  --drop-shine: linear-gradient(180deg, rgb(255 255 255 / 0.92), rgb(255 255 255 / 0));
  --drop-caustic: radial-gradient(closest-side, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0));

  /* Τυπογραφία */
  --font-display: "Noto Serif Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-display: clamp(2.75rem, 1.6rem + 5vw, 5.25rem);
  --leading-tight: 1.04;
  --leading-snug: 1.3;
  --leading-body: 1.65;

  /* Αποστάσεις */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Σχήμα */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --topbar-height: 64px;

  /* Κίνηση */
  --dur-fast: 150ms;
  --dur: 240ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* μικρή υπερβολή και επαναφορά, σαν νερό */
  --tilt-max: 5;

  --z-topbar: 50;
}
