@import "tailwindcss" source(none);
@source "../src";
@import "tw-animate-css";

@custom-variant dark (&:is(.dark *));

/*
 * Design system definition.
 *
 * The @theme inline block maps CSS custom properties to Tailwind utility
 * classes (e.g. --color-primary -> bg-primary, text-primary).
 *
 * The :root and .dark blocks define the actual color values using oklch.
 * All colors MUST use oklch format.
 *
 * To add a new semantic color:
 * 1. Add the variable to :root (light value) and .dark (dark value)
 * 2. Register it in @theme inline as --color-<name>: var(--<name>)
 */

@theme inline {
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);
  --radius-4xl: calc(var(--radius) + 16px);
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-ring-offset-background: var(--background);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
  --color-cream: var(--cream);
  --color-blush: var(--blush);
  --color-ink: var(--ink);
  --color-wine-dark: var(--wine-dark);
  --color-rose: var(--rose);
  --font-display: "Playfair Display", serif;
  --font-body: "Barlow", sans-serif;
  --font-cond: "Barlow Condensed", sans-serif;
  --font-nav: "Nunito", sans-serif;
  --font-mont: "Montserrat", sans-serif;
  --font-anek: "Anek Telugu", sans-serif;
}

:root {
  --radius: 0.625rem;
  --background: #ffffff;
  --foreground: #1C0A0C;
  --card: #ffffff;
  --card-foreground: #1C0A0C;
  --popover: #ffffff;
  --popover-foreground: #1C0A0C;
  --primary: #7D212A;
  --primary-foreground: #ffffff;
  --secondary: #2E1517;
  --secondary-foreground: #ffffff;
  --muted: #F9F4EF;
  --muted-foreground: #6D5255;
  --accent: #FCC0C6;
  --accent-foreground: #1C0A0C;
  --destructive: #b91c1c;
  --destructive-foreground: #ffffff;
  --border: #EADBD5;
  --input: #EADBD5;
  --ring: #7D212A;
  --cream: #FBFAE6;
  --blush: #FFF9F9;
  --ink: #1C0A0C;
  --wine-dark: #2E1517;
  --rose: #D27D85;
  --chart-1: #7D212A; --chart-2: #2E1517; --chart-3: #FCC0C6; --chart-4: #D27D85; --chart-5: #6D5255;
  --sidebar: #ffffff; --sidebar-foreground: #1C0A0C; --sidebar-primary: #7D212A; --sidebar-primary-foreground: #fff;
  --sidebar-accent: #F9F4EF; --sidebar-accent-foreground: #1C0A0C; --sidebar-border: #EADBD5; --sidebar-ring: #7D212A;
}

.dark {}

@layer base {
  * {
    border-color: var(--color-border);
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-body);
  }
  html { scroll-behavior: smooth; }
  section[id] { scroll-margin-top: 55px; }
}

@utility eyebrow {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.post-content p { margin: 0 0 14px; line-height: 1.6; color: var(--muted-foreground); font-size: 16px; }
.post-content h2 { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1.1; color: var(--ink); margin: 20px 0 22px; }
.post-content h3 { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1.15; color: var(--ink); margin: 18px 0 20px; }
.post-content ul { list-style: disc; padding-left: 40px; margin: 0 0 4px; color: var(--muted-foreground); }
.post-content li { line-height: 1.5; }
.dummy {
}
