/* ================================================================
 * theme.css — Devashish Brand Theme
 *
 * Light theme
 * Brand: Lime Green, Charcoal, White, Olive and Orange
 * Main font: Poppins
 * Display font: BeyondInfinity
 * ================================================================ */

/* ================================================================
 * DARK SCHEME
 * Keep disabled for now.
 * Activate later when dark mode is implemented.
 * ================================================================ */

/*
@import url("dark.css");
*/

/* ================================================================
 * BRAND THEME VARIABLES
 * ================================================================ */

/* ================================================================
 * BEYOND INFINITY FONT
 * ================================================================ */

/* @font-face {
   font-family: "BeyondInfinity";
   src: url("/assets/fonts/Beyond-Infinity.ttf") format("truetype");
   font-weight: 400;
   font-style: normal;
   font-display: swap;
} */

@font-face {
   font-family: "Priestacy";
   src: url("/assets/fonts/Priestacy.otf") format("opentype");
   font-weight: 400;
   font-style: normal;
   font-display: swap;
}

:root {
   --brand-lime: #AFCA0B;
   --brand-charcoal: #1D1D1B;
   --brand-olive: #9FA171;
   --brand-olive-deep: #74820B;
   --brand-grey: #878787;
   --brand-orange: #EA5B0C;
   --brand-soft-text: #575756;
   --brand-white: #FFFFFF;
   --brand-ivory: #F7F8F2;
   --brand-muted: #EFF1E5;
   --brand-divider: #DDE0D0;

   --color-primary-base: var(--brand-lime);
   --color-secondary-base: var(--brand-charcoal);
   --color-tertiary-base: var(--brand-olive);
   --color-quaternary-base: var(--brand-grey);
   --color-accent-base: var(--brand-orange);
   --color-primary: var(--color-primary-base);
   --color-primary-hover: #9BB309;
   --color-primary-ink: var(--brand-charcoal);
   --color-on-primary: var(--brand-charcoal);
   --color-accent: var(--brand-orange);
   --color-accent-ink: var(--brand-white);
   --color-on-accent: var(--brand-white);
   --color-accent-hover: #CF500B;
   --color-secondary: var(--brand-soft-text);
   --color-olive: var(--brand-olive);
   --color-orange: var(--brand-orange);
   --color-white: var(--brand-white);
   --color-charcoal: var(--brand-charcoal);
   --color-grey: var(--brand-grey);

   --color-text: var(--brand-charcoal);
   --color-text-soft: var(--brand-soft-text);
   --color-text-muted: var(--brand-grey);
   --color-bg-warm: var(--brand-ivory);
   --color-bg: var(--brand-white);
   --color-bg-soft: var(--brand-ivory);
   --color-bg-muted: var(--brand-muted);
   --color-surface: var(--brand-white);
   --color-surface-soft: var(--brand-ivory);
   --color-border: var(--brand-divider);
   --color-border-soft: color-mix(in srgb, var(--brand-divider) 65%, white);
   --color-dark: var(--brand-charcoal);

   --font-sans: var(--font-poppins), system-ui, sans-serif;
   --font-heading: var(--font-sans);
   --font-serif: Georgia, "Times New Roman", serif;
   /* --font-tertiary: "BeyondInfinity", var(--font-sans), cursive; */
   --font-tertiary: "Priestacy", var(--font-sans), cursive;
   --font-serif-src: "";
   --font-tertiary-src: "";
   --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
   --text-scale: 1;
   --heading-weight: 500;
   --heading-tracking: -0.025em;
   --btn-font-weight: 600;
   --btn-letter-spacing: 0;
   --btn-text-transform: none;

   --radius-scale: 1;
   --radius-xs: 4px;
   --radius-sm: 6px;
   --radius-md: 10px;
   --radius-lg: 14px;
   --radius-xl: 18px;
   --radius-2xl: 24px;
   --radius-pill: 9999px;
   --radius-full: 9999px;
   --btn-radius-override: 8px;

   --container-max: 80rem;
   --section-y-scale: 1;
   --section-space: clamp(3.5rem, 5vw, 5rem);
   --duration-fast: 180ms;
   --duration-base: 240ms;
   --duration-slow: 400ms;
   --duration-hover: 180ms;
   --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
   --shadow-soft: 0 8px 28px rgb(29 29 27 / 0.08);
   --shadow-popover: 0 15px 40px rgb(29 29 27 / 0.12);
}

/* ================================================================
 * GLOBAL LIGHT THEME
 * ================================================================ */

html {
   color-scheme: light;
}

body {
   font-family: var(--font-sans);
   color: var(--color-text);
   background-color: var(--color-bg);
   font-size: 1rem;
   line-height: 1.7;
}

/* Main headings */

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-heading);
   color: var(--color-text);
   font-weight: var(--heading-weight);
}

/* Decorative heading utility */

.font-beyond-infinity {
   font-family: var(--font-tertiary);
}

button,
.btn {
   border-radius: var(--btn-radius-override);
}

/* ================================================================
 * BRAND BUTTON COLORS
 * ================================================================ */

.btn-primary {
   background-color: var(--color-primary);
   border-color: var(--color-primary);
   color: var(--color-primary-ink);
}

.btn-primary:hover {
   background-color: var(--color-primary-hover);
   border-color: var(--color-primary-hover);
   color: var(--color-primary-ink);
}