/* ============================================================================
   Nocturne Coffee Roasters — demo site stylesheet (dark theme).
   Extracted from the imported claude.ai/design prototype (inline styles + the
   design-runtime-only `style-hover` attribute) and converted to a real
   stylesheet: base + shared chrome (header/footer) + grid helpers + hover
   utility classes (replacing style-hover) + the language switcher + overrides
   that restyle the search & contact plugin widgets (rw-* classes) to match this
   site. This is a fictional DEMO site.
   ============================================================================ */

/* ---- base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0e0d12; color: #cbc3b5;
  font-family: 'Jost', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.7;
  font-weight: 300; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600;
  line-height: 1.08; margin: 0; color: #f2ece1; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: #c9a24a; text-decoration: none; }
a:hover { color: #dcb96a; text-decoration: underline; }
ul, ol { margin: 0; padding-left: 1.2em; }
input, button, textarea, select { font-family: inherit; }
::selection { background: #c9a24a; color: #0e0d12; }

/* the flex wrapper each page body uses so the footer sits at the bottom */
.nb2-app { min-height: 100vh; display: flex; flex-direction: column; background: #0e0d12; }
.nb2-app > main { flex: 1; }

/* ---- header / chrome ----------------------------------------------------- */
.nb2-siteheader { position: sticky; top: 0; z-index: 50; background: rgba(14,13,18,0.82);
  backdrop-filter: blur(12px); border-bottom: 1px solid #2b2831; }
.nb2-head { max-width: 1180px; margin: 0 auto; padding: 0 26px; display: flex;
  align-items: center; gap: 26px; height: 72px; }
.nb2-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.nb2-logo:hover { text-decoration: none; }
.nb2-logo-badge { width: 30px; height: 30px; border: 1px solid #c9a24a; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #c9a24a;
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 17px; }
.nb2-logo-word { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 23px;
  letter-spacing: 0.02em; color: #f2ece1; }
.nb2-nav { display: flex; gap: 28px; align-items: center; margin-left: 8px; flex: 1; }
.nb2-navlink { font-family: 'Jost', sans-serif; font-weight: 400; font-size: 14px;
  letter-spacing: 0.03em; text-decoration: none; color: #cbc3b5; padding: 2px 0;
  border-bottom: 1px solid transparent; white-space: nowrap; }
.nb2-navlink:hover { color: #f2ece1; text-decoration: none; }
.nb2-navlink.is-active { color: #f2ece1; border-bottom-color: #c9a24a; }
.nb2-cta { background: #c9a24a; color: #0e0d12; padding: 0 18px; height: 40px; display: inline-flex;
  align-items: center; border-radius: 8px; font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: 13.5px; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; flex: none; }
.nb2-cta:hover { background: #dcb96a; text-decoration: none; }

/* language switcher — compact, gold-on-dark, header-matched */
.nb2-lang { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.nb2-lang a { color: #8a8276; font-family: 'Jost', sans-serif; font-weight: 500; font-size: 12px;
  letter-spacing: 0.06em; text-decoration: none; padding: 5px 7px; border-radius: 6px; text-transform: uppercase; }
.nb2-lang a:hover { color: #dcb96a; background: #17151c; text-decoration: none; }
.nb2-lang a.is-current { color: #c9a24a; background: #17151c; cursor: default; }

/* ---- footer -------------------------------------------------------------- */
.nb2-sitefooter { background: #0a090d; border-top: 1px solid #2b2831; margin-top: auto; }
.nb2-sitefooter .nb2-wrap { max-width: 1180px; margin: 0 auto; padding: 66px 26px 34px; }
.nb2-foot { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; align-items: start; }
.nb2-foot-brand-col { max-width: 320px; }
.nb2-foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.nb2-foot-brand-word { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 23px; color: #f2ece1; }
.nb2-foot-tagline { color: #9a9182; font-size: 14px; line-height: 1.7; }
.nb2-foot-col-h { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #c9a24a; margin-bottom: 16px; }
.nb2-foot-links { margin: 0; padding: 0; }
.nb2-foot-links li { margin: 0 0 11px; list-style: none; }
.nb2-footlink { color: #9a9182; font-size: 14px; text-decoration: none; }
.nb2-footlink:hover { color: #f2ece1; text-decoration: none; }
.nb2-demo { margin-top: 46px; padding: 18px 20px; background: #100e15; border: 1px solid #2b2831;
  border-radius: 12px; display: flex; gap: 14px; align-items: flex-start; }
.nb2-demo-badge { flex: none; background: #c9a24a; color: #0e0d12; font-family: 'Jost', sans-serif;
  font-weight: 600; font-size: 11px; letter-spacing: 0.12em; padding: 5px 9px; border-radius: 5px; margin-top: 2px; }
.nb2-demo-text { font-size: 13.5px; color: #9a9182; line-height: 1.7; margin: 0; }
.nb2-demo-text strong { color: #cbc3b5; }
.nb2-foot-bottom { margin-top: 22px; padding-top: 22px; border-top: 1px solid #2b2831;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #6f685c; font-size: 13px; }

/* ---- grid helpers (used inline in page bodies) --------------------------- */
.nb2-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.nb2-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.nb2-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nb2-wrap-1180 { max-width: 1180px; margin: 0 auto; padding: 0 26px; }

/* ---- hover utilities (replace the prototype's style-hover on page bodies) - */
.nb2-h-gold:hover { background: #dcb96a !important; text-decoration: none; }
.nb2-h-goldtext:hover { color: #dcb96a !important; text-decoration: none; }
.nb2-h-light:hover { color: #f2ece1 !important; text-decoration: none; }
.nb2-h-outline:hover { border-color: #c9a24a !important; text-decoration: none; }
.nb2-h-card:hover { border-color: #5a4a2a !important; transform: translateY(-4px); text-decoration: none; }
.nb2-h-cream:hover { background: #f2ece1 !important; text-decoration: none; }

/* ---- search plugin widget (rw-search-*) restyled to match Nocturne ------- */
/* header instance: the dark pill; its inline results are suppressed (results belong on /search) */
#site-search .rw-search-box { display: flex; align-items: center; gap: 6px; background: #17151c;
  border: 1px solid #2b2831; border-radius: 8px; padding: 0 5px 0 12px; height: 40px; margin: 0; }
#site-search .rw-search-box-input { border: 0; background: transparent; outline: none;
  font-size: 13.5px; width: 120px; color: #cbc3b5; }
#site-search .rw-search-box-input::placeholder { color: #6f685c; }
#site-search .rw-search-box-submit { border: 0; background: transparent; color: #c9a24a;
  font-size: 13px; font-weight: 500; cursor: pointer; padding: 0 6px; }
#site-search .rw-search-box-submit:hover { color: #dcb96a; }
#site-search .rw-search-count, #site-search .rw-search-empty, #site-search .rw-search-hits { display: none; }

/* results-page instance: a full-width box + a clean result list */
#search-box .rw-search-box { display: flex; align-items: center; gap: 8px; background: #141118;
  border: 1px solid #2b2831; border-radius: 10px; padding: 4px 4px 4px 16px; max-width: 640px; }
#search-box .rw-search-box-input { border: 0; background: transparent; outline: none; flex: 1;
  font-size: 17px; color: #f2ece1; height: 48px; }
#search-box .rw-search-box-input::placeholder { color: #6f685c; }
#search-box .rw-search-box-submit { border: 0; background: #c9a24a; color: #0e0d12; border-radius: 8px;
  height: 42px; padding: 0 22px; font-weight: 500; font-size: 15px; cursor: pointer; }
#search-box .rw-search-box-submit:hover { background: #dcb96a; }
#search-box .rw-search-count { color: #9a9182; font-size: 15px; margin: 26px 0 4px; }
#search-box .rw-search-empty { color: #b5ac9d; font-size: 17px; margin: 26px 0; }
#search-box .rw-search-hits { list-style: none; padding: 0; margin: 12px 0 0; }
#search-box .rw-search-hit { padding: 20px 0; border-bottom: 1px solid #2b2831; }
#search-box .rw-search-hit-link { font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 22px; color: #f2ece1; text-decoration: none; }
#search-box .rw-search-hit-link:hover { color: #dcb96a; text-decoration: none; }
#search-box .rw-search-hit-snippet { color: #9a9182; font-size: 15px; margin: 6px 0 0; }
#search-box .rw-search-hit-snippet mark { background: #3a2f16; color: #dcb96a; padding: 0 2px; border-radius: 3px; }

/* ---- contact plugin widget (rw-contact-*) restyled to match Nocturne ----- */
#contact-form .rw-contact { display: flex; flex-direction: column; gap: 16px; }
#contact-form .rw-contact-label { display: flex; flex-direction: column; gap: 6px;
  font-family: 'Jost', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; color: #9a9182; }
#contact-form .rw-contact-input { border: 1px solid #2b2831; border-radius: 9px; padding: 12px 14px;
  font-size: 15px; color: #f2ece1; background: #141118; font-weight: 300; }
#contact-form .rw-contact-input:focus { outline: none; border-color: #c9a24a; }
#contact-form .rw-contact-submit { align-self: flex-start; background: #c9a24a; color: #0e0d12; border: 0;
  border-radius: 9px; padding: 14px 30px; font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: 15px; cursor: pointer; }
#contact-form .rw-contact-submit:hover { background: #dcb96a; }
#contact-form .rw-contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-form .rw-contact-error { background: #2a1416; border: 1px solid #5a2a2a; color: #f0a0a0;
  border-radius: 9px; padding: 12px 14px; font-size: 14.5px; margin: 0; }
#contact-form .rw-contact-success { background: #14201a; border: 1px solid #2a4a38; color: #8fd0a8;
  border-radius: 10px; padding: 18px 20px; font-size: 16px; margin: 0; }

/* ---- responsive (mirrors the prototype breakpoints) ---------------------- */
@media (max-width: 900px) {
  .nb2-grid2 { grid-template-columns: 1fr !important; }
  .nb2-grid3 { grid-template-columns: 1fr !important; }
  .nb2-grid4 { grid-template-columns: 1fr 1fr !important; }
  .nb2-foot { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 1080px) {
  .nb2-head { flex-wrap: wrap; height: auto; min-height: 68px; padding-top: 12px; padding-bottom: 12px; row-gap: 12px; }
  .nb2-nav { order: 4; flex: 0 0 100% !important; margin-left: 0; justify-content: flex-start; padding-top: 2px; }
}
@media (max-width: 560px) {
  #site-search { display: none; }
}
