/* ============================================================
   The Sendup — css/bp.css
   HOUSE RULES: ALL CSS lives in this file. No inline CSS ever.
   No gradients anywhere.
   Palette (from wordmark):
     blue   #0658B9   red    #F7482A   gold  #FABB1A
     teal   #12B2AB   purple #6E228D   lime  #A6C82B
     azure  #1D7EFB   ink    #1C1F27
   Type: Poppins (display) / Hanken Grotesk (body)
   ============================================================ */

:root{
  --c-blue:#0658B9; --c-red:#F7482A; --c-gold:#FABB1A; --c-teal:#12B2AB;
  --c-purple:#6E228D; --c-lime:#A6C82B; --c-azure:#1D7EFB; --c-orange:#F7841F;
  --ink:#1C1F27; --paper:#FFFFFF; --muted:#5A5F6B; --line:#E6E8EC;
  --font-display:'Poppins',sans-serif;
  --font-body:'Hanken Grotesk',sans-serif;
  --header-h:76px;
  --max:1080px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);color:var(--ink);background:var(--paper);
  font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--c-blue);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid var(--c-azure);outline-offset:2px;border-radius:4px;
}

/* ---------- header ---------- */
.bp-header{
  position:fixed;inset:0 0 auto 0;height:var(--header-h);
  background:var(--paper);border-bottom:1px solid var(--line);
  overflow:hidden;z-index:100;
}
.bp-header-inner{
  position:relative;z-index:1;height:100%;
  max-width:var(--max);margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;
}

/* logo lockup on protective white plate */
.bp-logo{
  display:inline-flex;align-items:baseline;
  background:var(--paper);
  padding:8px 16px;border-radius:12px;
  box-shadow:0 0 0 1px var(--line),0 4px 14px rgba(28,31,39,.08);
  margin-left:-16px;
  font-family:var(--font-display);font-weight:800;
  font-size:27px;line-height:1;letter-spacing:-0.045em;
  white-space:nowrap;
}
.bp-logo:hover{text-decoration:none}
.bp-logo .lt{display:inline-block}
/* per-letter palette cycle: blue red gold teal purple lime azure */
.lt-1{color:var(--c-blue)}   .lt-2{color:var(--c-red)}
.lt-3{color:var(--c-gold)}   .lt-4{color:var(--c-teal)}
.lt-5{color:var(--c-purple)} .lt-6{color:var(--c-lime)}
.lt-7{color:var(--c-azure)}

/* nav */
.bp-nav{display:flex;align-items:center;gap:28px}
.bp-nav a{
  font-family:var(--font-display);font-weight:700;font-size:15px;
  color:var(--ink);letter-spacing:.01em;
}
.bp-nav a:hover{color:var(--c-blue);text-decoration:none}
.bp-nav a[aria-current="page"]{
  color:var(--c-blue);border-bottom:3px solid var(--c-gold);padding-bottom:2px;
}

/* burger (mobile) */
.bp-burger{
  display:none;background:none;border:0;cursor:pointer;
  width:44px;height:44px;border-radius:10px;
  position:relative;z-index:2;
}
.bp-burger span{
  display:block;width:22px;height:3px;background:var(--ink);
  border-radius:2px;margin:4px auto;transition:transform .2s,opacity .2s;
}
.bp-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.bp-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.bp-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.bp-nav-panel{display:contents}

@media (max-width:639px){
  .bp-logo{padding:6px 12px;margin-left:-12px;font-size:22px}
  .bp-burger{display:block}
  .bp-nav-panel{
    display:none;position:fixed;top:var(--header-h);left:0;right:0;
    background:var(--paper);border-bottom:1px solid var(--line);
    box-shadow:0 12px 24px rgba(28,31,39,.10);
    padding:10px 24px 18px;z-index:99;
  }
  .bp-nav-panel.open{display:block}
  .bp-nav{flex-direction:column;align-items:flex-start;gap:0}
  .bp-nav a{display:block;width:100%;padding:12px 0;font-size:17px;
    border-bottom:1px solid var(--line)}
  .bp-nav a:last-child{border-bottom:0}
  .bp-nav a[aria-current="page"]{border-bottom:1px solid var(--line);color:var(--c-blue)}
}

/* ---------- tagline lockup ----------
   Wordmark with "ordinary isn't invited." hugging the baseline beneath
   it, flush left and ending short of the p's descender — the tagline
   never runs the full width of the mark. */
.bp-lockup{display:inline-block;text-align:left}
.bp-lockup .bp-lockup-mark{
  display:block;
  font-family:var(--font-display);font-weight:800;
  font-size:var(--mark-size,56px);line-height:1;letter-spacing:-0.045em;
  white-space:nowrap;
}
.bp-lockup .bp-lockup-tag{
  display:block;
  /* RIGHT edge is the anchor: the line ends at the descender stem of the p
     clearing the p's descender with a gap so nothing collides (~0.70em
     back from the word's right edge).
     The left end falls wherever the type naturally reaches — around the
     s — so the tagline does NOT run under the th. Em math tuned for
     Poppins 800 / -0.045em. */
  margin-top:calc(var(--mark-size,56px) * -0.125);
  margin-right:calc(var(--mark-size,56px) * 0.70);
  text-align:right;
  font-family:var(--font-display);font-weight:700;
  font-size:calc(var(--mark-size,56px) * .25);
  line-height:1;letter-spacing:0.05em;
  color:var(--muted);white-space:nowrap;
}
.bp-lockup-dark .bp-lockup-mark{color:#FFFFFF}
.bp-lockup-dark .bp-lockup-mark .the{color:var(--c-orange)}
.bp-lockup-dark .bp-lockup-tag{color:#9AA0AC}
.bp-lockup-mono .bp-lockup-mark{color:var(--ink)}
.bp-lockup-mono .bp-lockup-mark .the{color:var(--c-orange)}

/* floater stamps (populated by js/include.js) */
.bp-floaters{position:absolute;inset:0;z-index:0;pointer-events:none}
.bp-stamp{
  position:absolute;top:0;left:0;
  font-family:var(--font-display);font-weight:800;line-height:1;
  white-space:nowrap;will-change:auto;
}
.bp-stamp .lt{display:inline-block}

/* ---------- page scaffold ---------- */
main{max-width:var(--max);margin:0 auto;padding:calc(var(--header-h) + 40px) 24px 56px}

.bp-eyebrow{
  display:flex;align-items:center;gap:10px;
  font-family:var(--font-display);font-weight:700;font-size:13px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
  margin-bottom:14px;
}
.bp-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}
.dot-blue{background:var(--c-blue)} .dot-red{background:var(--c-red)}
.dot-gold{background:var(--c-gold)} .dot-teal{background:var(--c-teal)}
.dot-purple{background:var(--c-purple)} .dot-lime{background:var(--c-lime)}
.dot-azure{background:var(--c-azure)}

h1{
  font-family:var(--font-display);font-weight:800;letter-spacing:-0.02em;
  line-height:1.05;font-size:clamp(34px,6vw,56px);margin-bottom:18px;
}
h2{
  font-family:var(--font-display);font-weight:700;letter-spacing:-0.01em;
  font-size:clamp(22px,3.4vw,30px);margin:36px 0 12px;
}
p{margin-bottom:16px;max-width:64ch}
.bp-muted{color:var(--muted)}

/* ---------- home hero ---------- */
.bp-hero{padding-top:20px}
.bp-hero h1{
  font-size:clamp(44px,9vw,88px);line-height:1.0;
  letter-spacing:-0.025em;margin-bottom:20px;
}
.bp-hero .bp-sub{
  font-size:clamp(18px,2.4vw,22px);color:var(--muted);max-width:44ch;
}
.bp-def{
  margin-top:56px;padding-top:32px;border-top:1px solid var(--line);
  max-width:60ch;
}
.bp-def p{font-size:clamp(18px,2.2vw,21px)}
.bp-def strong{font-family:var(--font-display);font-weight:700}

/* ---------- buttons ---------- */
.bp-btn{
  display:inline-block;font-family:var(--font-display);font-weight:700;
  font-size:16px;color:var(--paper);background:var(--ink);
  padding:13px 26px;border-radius:12px;border:0;cursor:pointer;
}
.bp-btn:hover{background:var(--c-blue);text-decoration:none;color:var(--paper)}

/* ---------- forms (contact) ---------- */
.bp-form{max-width:560px;margin-top:8px}
.bp-field{margin-bottom:18px}
.bp-field label{
  display:block;font-family:var(--font-display);font-weight:700;
  font-size:14px;margin-bottom:6px;
}
.bp-field input,.bp-field textarea{
  width:100%;font-family:var(--font-body);font-size:16px;color:var(--ink);
  background:var(--paper);border:1px solid var(--line);border-radius:10px;
  padding:12px 14px;
}
.bp-field input:focus,.bp-field textarea:focus{border-color:var(--c-azure)}
.bp-hidden{display:none}

/* ---------- footer ---------- */
.bp-footer{background:var(--ink);color:#C9CDD6;margin-top:64px}
.bp-footer-inner{
  max-width:var(--max);margin:0 auto;padding:40px 24px 44px;
  display:flex;flex-wrap:wrap;align-items:flex-end;
  justify-content:space-between;gap:24px;
}
.bp-footer-logo{
  display:inline-block;
  font-family:var(--font-display);font-weight:800;font-size:26px;
  letter-spacing:-0.045em;color:#FFFFFF;white-space:nowrap;
}
/* v3 treatment inverted: white wordmark, orange "the" */
.bp-footer-logo .the{color:var(--c-orange)}
.bp-footer-logo:hover{text-decoration:none}
.bp-footer-nav{display:flex;gap:22px}
.bp-footer a{color:#C9CDD6;font-size:14px}
.bp-footer a:hover{color:#FFFFFF}
.bp-footer-small{width:100%;font-size:13px;color:#8B909C;line-height:1.9}
.bp-footer-small a{font-size:13px}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .bp-burger span{transition:none}
}

/* ---------- logo sheet plates ---------- */
.bp-logo-plate{
  padding:36px 32px;border:1px solid var(--line);border-radius:14px;
  margin-bottom:8px;background:var(--paper);
}
.bp-logo-plate-dark{background:var(--ink);border-color:var(--ink)}
.bp-lockup-color .bp-lockup-mark .lt-1{color:var(--c-blue)}

/* ---------- dictionary entry (home) ---------- */
.bp-dict{
  border-left:4px solid var(--c-orange);
  padding:2px 0 2px 20px;margin:0 0 34px;max-width:62ch;
}
.bp-dict-head{
  font-family:var(--font-display);font-weight:800;
  font-size:clamp(21px,2.8vw,26px);letter-spacing:-0.02em;line-height:1.2;
  margin-bottom:6px;
}
.bp-dict-meta{
  font-family:var(--font-body);font-size:15px;color:var(--muted);
  margin:4px 0 14px;
}
.bp-dict-meta em{font-style:italic}
.bp-dict p:last-child{margin-bottom:0}
.bp-dict-meta-inline{
  font-family:var(--font-body);font-weight:400;font-size:15px;
  color:var(--muted);letter-spacing:0;white-space:nowrap;
}
.bp-dict-meta-inline em{font-style:italic}
