/* ── CSS Custom Properties (OM Theme) ──────────────────────────────────── */
:root {
  --background: 220 20% 97%;
  --foreground: 220 40% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 40% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 40% 10%;
  --primary: 214 65% 28%;
  --primary-foreground: 0 0% 100%;
  --secondary: 214 30% 90%;
  --secondary-foreground: 214 65% 28%;
  --muted: 220 15% 92%;
  --muted-foreground: 220 10% 45%;
  --accent: 42 80% 55%;
  --accent-foreground: 220 40% 10%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 220 15% 88%;
  --input: 220 15% 88%;
  --ring: 214 65% 28%;
  --radius: 0.375rem;
  --om-blue: 214 65% 28%;
  --om-blue-light: 214 50% 45%;
  --om-blue-dark: 214 70% 18%;
  --om-gold: 42 80% 55%;
  --om-gold-light: 42 70% 70%;
  --om-cream: 40 30% 96%;
  --om-navy: 220 50% 12%;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  border-color: hsl(var(--border));
}

/* ── Font utilities ───────────────────────────────────────────────────── */
.font-display {
  font-family: 'Playfair Display', serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}


/* ── Gradient utilities ───────────────────────────────────────────────── */
.text-gradient-gold {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, hsl(var(--om-gold)), hsl(var(--om-gold-light)));
}

.bg-gradient-hero {
  background: linear-gradient(180deg, hsl(var(--om-navy)) 0%, hsl(var(--om-blue-dark)) 50%, hsl(var(--om-blue)) 100%);
}

.bg-gradient-section {
  background: linear-gradient(180deg, hsl(var(--om-cream)) 0%, hsl(var(--background)) 100%);
}

/* ── Form input styles ────────────────────────────────────────────────── */
.input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--input));
  background-color: transparent;
  padding: 0.5rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

textarea.input {
  height: auto;
  min-height: 5rem;
  resize: vertical;
}

/* ── Label ────────────────────────────────────────────────────────────── */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  line-height: 1;
}

/* ── Container ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

/* ── Masonry layout ──────────────────────────────────────────────────── */
.masonry {
  column-gap: 1.5rem;
}

@media (min-width: 768px) {
  .masonry {
    column-count: 2;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}
