/* ============================================================
   Restaurant GÖRG — element styles
   The rest of colors_and_type.css once its values moved to
   tokens.json (compiled to tokens.css, loaded before this file).
   ============================================================ */

:root {
  /* Values tokens.json has no place for */
  --goerg-green-rgb:    45, 107, 79;
  --shadow-frame: inset 0 0 0 1px var(--goerg-ink);  /* hairline frame */

  /* ────────── MOTION ──────────
     Slow, considered fades. Nothing bouncy. */
  --ease-in-out: cubic-bezier(.4,.0,.2,1);
  --ease-out:    cubic-bezier(.16,.84,.44,1);
  --dur-quick:   160ms;
  --dur-base:    280ms;
  --dur-slow:    520ms;
}

/* ============================================================
   SEMANTIC ELEMENT STYLES
   These are the recommended defaults; UI kits can override.
   ============================================================ */

html { color: var(--color-fg); background: var(--color-bg); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  font-weight: 400;
  color: var(--color-fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* H1 — large display, Poppins thin */
.goerg-h1, h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-fg);
  margin: 0;
}

/* H2 (black) — section headline, 34px Jost medium */
.goerg-h2, h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-normal);
  color: var(--color-fg);
  margin: 0;
}

/* H2 (green) — eyebrow above the black h2; tracked-out small caps */
.goerg-eyebrow, .h2-green {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-h2-mini);
  line-height: 1;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-fg-accent);
  margin: 0 0 var(--space-3) 0;
}

/* H3 / H4 */
.goerg-h3, h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  margin: 0;
}
.goerg-h4, h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  margin: 0;
}

/* Display wordmark style — for hero "GÖRG" treatments */
.goerg-wordmark {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: var(--fs-mega);
  line-height: 1;
  letter-spacing: 0.04em;
  color: currentColor;
}

/* Slogan — tracked-out caps, the brand's signature lockup line */
.goerg-slogan {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  color: currentColor;
}

/* Body */
.goerg-p, p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--color-fg);
  text-wrap: pretty;
  margin: 0;
}
.goerg-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--color-fg);
}
.goerg-meta {
  font-size: var(--fs-meta);
  color: var(--color-fg-muted);
  letter-spacing: 0.02em;
}

/* Quote — large light italic on cream */
.goerg-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 2rem;
  line-height: 1.35;
  color: var(--color-fg);
  letter-spacing: -0.005em;
}

/* Link */
.goerg-link, a {
  color: var(--color-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-quick) var(--ease-in-out),
              border-color var(--dur-quick) var(--ease-in-out);
}
.goerg-link:hover, a:hover {
  color: var(--color-link-hover);
  border-bottom-color: currentColor;
}

/* Hairline frame — the signature container shape from the logo */
.goerg-frame {
  border: 1px solid var(--color-border);
  padding: var(--space-7) var(--space-6);
  background: var(--color-bg);
}

/* Nav item — small caps tracked */
.goerg-nav {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
