/* =============================================================
   Vortex Arts — Colors & Type
   «Η στιγμή να δημιουργήσεις είναι τώρα» · Κυψέλη, Αθήνα
   -------------------------------------------------------------
   Design language: catalogue raisonné. A gallery publication, not
   a landing page. Hairline rules do the structural work, nothing
   is rounded, images are plates with captions, and the accent is
   a detail you notice second — never a filled bar.

   Sand, ink and the copper are the studio's own measured colours.
   The olive is deliberately demoted: it reads as gold at large
   sizes, so it never fills a surface — only hairlines and marks.

   Display face is EB Garamond and UI face is Commissioner. Both
   carry real Greek subsets, which the studio's previous font
   (Fraunces) does not — every Greek heading there was silently
   falling back to a system serif.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Commissioner:wght@200;300;400;500;600&display=swap&subset=greek,greek-ext,latin,latin-ext');

:root {

  /* ---------- Surfaces ---------- */
  --vtx-page:       #D3CEC3;   /* measured — the studio's own page ground */
  --vtx-sand:       #DBD6CB;
  --vtx-bone:       #E7E3DA;
  --vtx-cream:      #F1EEE8;
  --vtx-white:      #FAF9F6;

  /* ---------- Darks ---------- */
  --vtx-obsidian:   #14120E;   /* deepest — hero scrim, footer */
  --vtx-graphite:   #1E1B15;   /* dark sections */
  --vtx-char:       #25221B;   /* measured */

  /* ---------- Ink ---------- */
  --vtx-ink:        #25221B;   /* measured — body text */
  --vtx-ink-soft:   #554E3E;
  --vtx-ink-mute:   #877F6D;
  --vtx-ink-faint:  #A79E8B;

  /* ---------- Metals — details only, never a filled surface ---------- */
  --vtx-copper:     #A2592B;
  --vtx-copper-lt:  #C07A45;
  --vtx-olive:      #514729;   /* measured — hairlines and marks only */
  --vtx-brass:      #8A7742;

  /* ---------- Rules — the main structural device ---------- */
  --rule:           rgba(37, 34, 27, 0.16);
  --rule-strong:    rgba(37, 34, 27, 0.30);
  --rule-light:     rgba(240, 237, 231, 0.16);
  --rule-light-str: rgba(240, 237, 231, 0.32);

  /* ---------- Semantic ---------- */
  --bg:             var(--vtx-page);
  --bg-raised:      var(--vtx-bone);
  --bg-dark:        var(--vtx-graphite);
  --bg-deepest:     var(--vtx-obsidian);
  --fg:             var(--vtx-ink);
  --fg-muted:       var(--vtx-ink-soft);
  --fg-subtle:      var(--vtx-ink-mute);
  --fg-on-dark:     #EFECE5;
  --fg-on-dark-mut: rgba(239, 236, 229, 0.62);
  --fg-on-dark-fnt: rgba(239, 236, 229, 0.38);
  --accent:         var(--vtx-copper);

  /* ---------- Type ---------- */
  --font-display: 'EB Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'Commissioner', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Editorial scale — larger and tighter than a marketing page */
  --fs-mega:    clamp(38px, 6.5vw, 100px);
  --fs-display: clamp(38px, 6.4vw, 104px);
  --fs-h1:      clamp(34px, 5vw, 76px);
  --fs-h2:      clamp(27px, 3.4vw, 50px);
  --fs-h3:      clamp(21px, 2vw, 30px);
  --fs-h4:      19px;
  --fs-lead:    clamp(17px, 1.5vw, 21px);
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-micro:   12.5px;
  --fs-label:   10.5px;   /* wide-tracked uppercase micro-labels */

  --lh-mega:  0.92;
  --lh-tight: 1.02;
  --lh-snug:  1.14;
  --lh-body:  1.68;
  --lh-loose: 1.85;

  --ls-mega:   -0.022em;
  --ls-tight:  -0.012em;
  --ls-normal: 0;
  --ls-label:  0.24em;
  --ls-wide:   0.08em;

  /* ---------- Measure & rhythm ---------- */
  --container:      1320px;
  --container-text: 660px;
  --gutter:         clamp(20px, 4.4vw, 64px);

  --s1: 4px;   --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 24px;  --s6: 32px;  --s7: 48px;  --s8: 64px;
  --s9: 96px;  --s10: 128px; --s11: 168px; --s12: 220px;

  --section-y: clamp(72px, 10vw, 150px);

  /* Sharp. Nothing on this site is rounded. */
  --radius: 0px;

  /* ---------- Motion ---------- */
  --ease-out:  cubic-bezier(0.16, 0.84, 0.28, 1);
  --ease-mask: cubic-bezier(0.22, 1, 0.30, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:  200ms;
  --dur-base:  420ms;
  --dur-slow:  900ms;
  --dur-plate: 1200ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  text-wrap: pretty;
  margin: 0;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: var(--ls-normal);
}

p { margin: 0 0 1.15em; color: var(--fg-muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* The one italic voice on the site: ledes and pull quotes. */
.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.52;
  color: var(--fg-muted);
}

/* Wide-tracked micro-label. Used everywhere a section needs naming. */
.label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--fg-subtle);
  display: block;
}

/* Serif index numeral — 01, 02, 03. A signature of the catalogue look. */
.num {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--vtx-copper); color: var(--vtx-white); }

/* Keyboard focus must stay visible — the design is otherwise very quiet. */
:focus-visible {
  outline: 2px solid var(--vtx-copper);
  outline-offset: 3px;
}
