/* ==========================================================================
  BLOOMNEST — shared design system
   Palette:  #14263F navy · #A0781C gold · #F2E6C9 light gold
   Type:     Montserrat (headers/titles) · Mulish (body text) · Montserrat (utility)

   NOTE: variable names below (--plum, --magenta, --blush) are kept as-is on
   purpose — every page in this site references these names, so retheming
   only requires editing the values in this one file. Think of --plum as
   "brand dark / navy" and --magenta as "brand accent / gold" going forward.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Mulish:wght@400;500;600;700&family=Montserrat:wght@400;500&display=swap');

:root{
  /* brand */
  --plum: #0497ff;       /* navy (was plum) */
  --plum-soft: #ffbc42f;  /* lighter navy */
  --magenta: #373535;    /* gold (was magenta) */
  --blush: 0497ff ;      /* light gold tint (was blush) */

  /* neutrals — cool/neutral grays to sit quietly with navy instead of the old purple cast */
  --ink: #141B24;
  --ink-70: #4B5563;
  --paper: #FDFCFB;
  --mist: #F4F6F8;
  --line: #C0C0C0;
  --line-strong: #C7D0DA;

  /* type */
  --display: 'Montserrat', sans-serif;
  --body: 'Mulish', sans-serif;
  --mono: 'Montserrat', monospace;

  /* rhythm */
  --gutter: clamp(24px, 5vw, 64px);
  --radius: 14px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 700;
  color: var(--plum);
  margin: 0;
  letter-spacing: -0.01em;
}

a{ color: inherit; text-decoration: none; }
img{ display:block; max-width:100%; }
button{ font-family: var(--body); cursor: pointer; }

.container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- utility / mono labels ---------- */
.eyebrow, .code, .meta, .tag{
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow{
  font-size: 12px;
  color: var(--magenta);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 14px; height: 1px;
  background: var(--magenta);
  display: inline-block;
}
.code{
  font-size: 12px;
  color: var(--ink-70);
}

/* ---------- top navigation ---------- */
.site-nav{
  position: sticky; top: 0; z-index: 40;
  background: rgba(253,252,251,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container{
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand{
  display: flex; align-items: center; gap: 10px;
}
.brand img{ height:45px; width: auto; display:block; }
.brand-text{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
}
.nav-links{
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a{
  font-size: 14px; font-weight: 600;
  color: var(--ink-70);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover{ color: var(--plum); }
.nav-links a.active{
  color: var(--plum);
  border-bottom-color: var(--magenta);
}
.nav-right{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--plum);
  padding: 8px 10px; border-radius: var(--radius);
}
.nav-toggle:hover{ background: var(--mist); }
.nav-avatar{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--plum);
  font-family: var(--mono);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 14px; font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .15s ease;
}
.btn-primary{
  background: var(--magenta);
  color: var(--paper);
}
.btn-primary:hover{ background: #7C5D15; }
.btn-ghost{
  background: transparent;
  border-color: var(--line-strong);
  color: var(--plum);
}
.btn-ghost:hover{ border-color: var(--plum); }
.btn-arrow::after{
  content: '→';
  transition: transform .15s ease;
}
.btn-arrow:hover::after{ transform: translateX(3px); }
.btn:disabled{ opacity: 0.6; cursor: default; }

/* ---------- page hero ---------- */
.page-hero{
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1{
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 14px;
  max-width: 20ch;
}
.page-hero p{
  max-width: 52ch;
  color: var(--ink-70);
  font-size: 16px;
  margin-top: 14px;
}

/* ---------- section label row ---------- */
.section-head{
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap; gap: 12px;
}
.section-head h2{ font-size: 22px; }

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  margin-top: 96px;
  padding: 40px 0;
}
.site-footer .container{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.site-footer .code{ color: var(--ink-70); }

/* ---------- tags ---------- */
.tag{
  font-size: 10.5px;
  padding: 5px 9px;
  background: var(--blush);
  color: var(--plum);
  border-radius: 999px;
  display: inline-block;
}
.tag-outline{
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-70);
}

/* ---------- generic hairline card ---------- */
.hairline{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

/* ---------- form message ---------- */
.form-msg{
  font-size:12.5px; padding:12px 14px; border-radius:var(--radius);
  display:none; margin-bottom: 4px;
}
.form-msg.error{ display:block; background: #FCEAEF; color: #B3134E; border:1px solid #F3B6C6; }
.form-msg.success{ display:block; background: var(--mist); color: var(--plum); border:1px solid var(--line); }

/* ---------- empty / loading state ---------- */
.empty-note{ font-size:13.5px; color: var(--ink-70); padding: 24px 0; }

/* ---------- responsive helpers ---------- */
@media (max-width: 860px){
  .nav-toggle{ display: block; }
  .site-nav .container{ position: relative; }
  .nav-links{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(20,38,63,0.14);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gutter) 16px;
  }
  .nav-links.mobile-open{ display: flex; }
  .nav-links a{
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child a{ border-bottom: none; }
}
