/* ===================================================================
   Taruma Space — Master Stylesheet
   Proprietary design system. Do not redistribute.
   Build: 2026.04 / v3.2.1
   =================================================================== */

:root {
  --bp-ink: #0f2942;
  --bp-ink-2: #1b3a58;
  --bp-steel: #28536b;
  --bp-gold: #c89b2a;
  --bp-gold-hover: #a47f1f;
  --bp-cream: #f6f4ef;
  --bp-paper: #ffffff;
  --bp-line: #e6e2d8;
  --bp-text: #2b2b2b;
  --bp-muted: #6c6a66;
  --bp-radius-sm: 6px;
  --bp-radius-md: 10px;
  --bp-radius-lg: 16px;
  --bp-shadow-1: 0 2px 8px rgba(15, 41, 66, 0.06);
  --bp-shadow-2: 0 10px 30px rgba(15, 41, 66, 0.08);
  --bp-shadow-3: 0 18px 40px rgba(15, 41, 66, 0.12);
  --bp-font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bp-font-head: 'Playfair Display', Georgia, "Times New Roman", serif;
  --bp-tx-fast: 180ms ease;
  --bp-tx-med: 280ms ease;
}

/* -------- reset-ish -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--bp-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bp-text);
  background: var(--bp-paper);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6, .bp-brand, .navbar-brand {
  font-family: var(--bp-font-head);
  color: var(--bp-ink);
  letter-spacing: -0.01em;
}
a { color: var(--bp-steel); }
a:hover { color: var(--bp-ink); }

/* -------- topbar (micro strip) -------- */
.bp-topbar {
  background: var(--bp-ink);
  color: #e9e4d2;
  font-size: 0.82rem;
  padding: 6px 0;
}
.bp-topbar a { color: var(--bp-gold); text-decoration: none; }
.bp-topbar a:hover { color: #fff; }

/* -------- navbar -------- */
.bp-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--bp-line);
  box-shadow: var(--bp-shadow-1);
}
.bp-nav .navbar-brand {
  color: var(--bp-ink) !important;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.bp-nav .navbar-brand span.bp-brand-dot { color: var(--bp-gold); }
.bp-nav .nav-link {
  color: var(--bp-ink) !important;
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  position: relative;
  transition: color var(--bp-tx-fast);
}
.bp-nav .nav-link:hover,
.bp-nav .nav-link.active { color: var(--bp-gold) !important; }
.bp-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: -2px;
  height: 2px;
  background: var(--bp-gold);
}
.bp-nav .navbar-toggler {
  border: 1px solid var(--bp-line);
}

/* -------- buttons -------- */
.bp-btn {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--bp-radius-sm);
  padding: 0.85rem 1.8rem;
  border: 2px solid transparent;
  transition: all var(--bp-tx-med);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.2;
}
.bp-btn-gold {
  background: var(--bp-gold);
  color: #fff;
  border-color: var(--bp-gold);
}
.bp-btn-gold:hover {
  background: var(--bp-gold-hover);
  border-color: var(--bp-gold-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--bp-shadow-2);
}
.bp-btn-ink {
  background: var(--bp-ink);
  color: #fff;
  border-color: var(--bp-ink);
}
.bp-btn-ink:hover {
  background: var(--bp-ink-2);
  color: #fff;
  transform: translateY(-1px);
}
.bp-btn-outline {
  background: transparent;
  color: var(--bp-ink);
  border-color: var(--bp-ink);
}
.bp-btn-outline:hover {
  background: var(--bp-ink);
  color: #fff;
}
.bp-btn-ghost {
  background: transparent;
  color: var(--bp-gold);
  border-color: var(--bp-gold);
}
.bp-btn-ghost:hover {
  background: var(--bp-gold);
  color: #fff;
}
.bp-btn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.bp-btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* -------- hero -------- */
.bp-hero {
  position: relative;
  background: linear-gradient(130deg, var(--bp-ink) 0%, var(--bp-ink-2) 70%, var(--bp-steel) 100%);
  color: #fff;
  padding: 110px 0 90px;
  overflow: hidden;
}
.bp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(200, 155, 42, 0.18) 0, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(40, 83, 107, 0.35) 0, transparent 50%);
  pointer-events: none;
}
.bp-hero h1 { color: #fff; font-weight: 700; }
.bp-hero .bp-hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  max-width: 560px;
}
.bp-hero .bp-hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(200, 155, 42, 0.5);
  color: var(--bp-gold);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.bp-hero-soft {
  background: var(--bp-cream);
  color: var(--bp-text);
  padding: 90px 0;
}
.bp-hero-soft h1 { color: var(--bp-ink); }

/* -------- section helpers -------- */
.bp-section { padding: 90px 0; }
.bp-section-tight { padding: 60px 0; }
.bp-section-cream { background: var(--bp-cream); }
.bp-section-ink { background: var(--bp-ink); color: #fff; }
.bp-section-ink h1, .bp-section-ink h2, .bp-section-ink h3 { color: #fff; }

.bp-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bp-gold);
  margin-bottom: 0.6rem;
}
.bp-section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.bp-section-sub {
  color: var(--bp-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* -------- cards -------- */
.bp-card {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-md);
  padding: 2rem;
  transition: transform var(--bp-tx-med), box-shadow var(--bp-tx-med);
  height: 100%;
}
.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bp-shadow-3);
  border-color: var(--bp-gold);
}
.bp-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 155, 42, 0.12);
  color: var(--bp-gold);
  border-radius: var(--bp-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.bp-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.bp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bp-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--bp-gold);
  padding-bottom: 2px;
}
.bp-card-link:hover { color: var(--bp-gold); }

/* -------- faq accordion -------- */
.bp-faq {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--bp-tx-med), box-shadow var(--bp-tx-med);
}
.bp-faq + .bp-faq { margin-top: 0.75rem; }
.bp-faq[open] { border-color: var(--bp-gold); box-shadow: var(--bp-shadow-1); }
.bp-faq > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--bp-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
}
.bp-faq > summary::-webkit-details-marker { display: none; }
.bp-faq > summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bp-gold);
  flex-shrink: 0;
  transition: transform var(--bp-tx-fast);
}
.bp-faq[open] > summary::after { content: "−"; }
.bp-faq > summary:hover { color: var(--bp-gold); }
.bp-faq > summary:focus-visible { outline: 2px solid var(--bp-gold); outline-offset: 4px; border-radius: 2px; }
.bp-faq > p { margin: 0.75rem 0 0.25rem; color: var(--bp-muted); }

/* -------- testimonial -------- */
.bp-quote {
  background: #fff;
  border-radius: var(--bp-radius-md);
  padding: 2rem;
  border-left: 4px solid var(--bp-gold);
  box-shadow: var(--bp-shadow-1);
  height: 100%;
}
.bp-quote p { font-style: italic; color: var(--bp-text); margin-bottom: 1.4rem; }
.bp-quote cite { font-style: normal; font-weight: 600; color: var(--bp-ink); display: block; }
.bp-quote small { color: var(--bp-muted); }

/* -------- forms -------- */
.bp-form {
  background: #fff;
  padding: 2.2rem;
  border-radius: var(--bp-radius-md);
  box-shadow: var(--bp-shadow-2);
  border: 1px solid var(--bp-line);
}
.bp-form h2 { margin-bottom: 0.4rem; }
.bp-form p.bp-form-note { color: var(--bp-muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.bp-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bp-ink);
  margin-bottom: 6px;
}
.bp-input,
.bp-form select,
.bp-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 16px; /* prevents iOS zoom */
  font-family: inherit;
  color: var(--bp-text);
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-sm);
  transition: border-color var(--bp-tx-fast), box-shadow var(--bp-tx-fast);
  min-height: 48px;
}
.bp-input:focus,
.bp-form select:focus,
.bp-form textarea:focus {
  outline: none;
  border-color: var(--bp-gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 42, 0.15);
}
.bp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 576px) {
  .bp-form-row { grid-template-columns: 1fr; }
  .bp-form { padding: 1.4rem; }
}
.bp-form .bp-field { margin-bottom: 1rem; }
.bp-form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--bp-radius-sm);
  font-size: 0.95rem;
  display: none;
}
.bp-form-status.bp-ok { display: block; background: #e6f4ea; color: #1e6e35; border: 1px solid #b5dfc1; }
.bp-form-status.bp-err { display: block; background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; }
.bp-consent-check {
  font-size: 0.85rem;
  color: var(--bp-muted);
  margin-top: 1rem;
}
.bp-consent-check a { color: var(--bp-steel); }

/* -------- footer -------- */
.bp-footer {
  margin-top: auto;
  background: var(--bp-ink);
  color: #d9d5c4;
  padding: 4rem 0 1.5rem;
}
.bp-footer h5 {
  color: var(--bp-gold);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.bp-footer a {
  color: #cfcbbc;
  text-decoration: none;
  transition: color var(--bp-tx-fast);
}
.bp-footer a:hover { color: var(--bp-gold); }
.bp-footer ul { list-style: none; padding: 0; margin: 0; }
.bp-footer li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.bp-footer address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #cfcbbc;
}
.bp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #a7a391;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bp-footer-bottom a { color: #a7a391; }
.bp-footer-bottom a:hover { color: var(--bp-gold); }

/* -------- cookie consent -------- */
.bp-consent {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 620px;
  background: #fff;
  border-radius: var(--bp-radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bp-line);
  z-index: 2000;
  padding: 1.4rem 1.6rem;
  display: none;
}
.bp-consent.is-open { display: block; }
.bp-consent h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--bp-font-head);
  color: var(--bp-ink);
}
.bp-consent p {
  font-size: 0.88rem;
  color: var(--bp-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.bp-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.bp-consent-actions .bp-btn { padding: 0.65rem 1.2rem; font-size: 0.88rem; }
.bp-consent-prefs {
  display: none;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--bp-cream);
  border-radius: var(--bp-radius-sm);
  border: 1px solid var(--bp-line);
}
.bp-consent-prefs.is-open { display: block; }
.bp-consent-prefs label {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--bp-ink);
}
.bp-consent-prefs input { margin-right: 8px; }
.bp-consent-prefs .bp-locked { color: var(--bp-muted); }
@media (max-width: 600px) {
  .bp-consent { left: 12px; right: 12px; bottom: 12px; padding: 1.1rem; }
  .bp-consent-actions .bp-btn { flex: 1 1 100%; }
}

/* -------- misc utility -------- */
.bp-tick {
  width: 20px; height: 20px; flex: 0 0 20px;
  color: var(--bp-gold);
}
.bp-checklist { list-style: none; padding: 0; margin: 0; }
.bp-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0.55rem;
  color: inherit;
}
.bp-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(200, 155, 42, 0.15);
  color: var(--bp-gold);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bp-stat {
  text-align: center;
}
.bp-stat strong {
  display: block;
  font-family: var(--bp-font-head);
  font-size: 2.4rem;
  color: var(--bp-gold);
  line-height: 1;
}
.bp-stat span {
  display: block;
  font-size: 0.85rem;
  color: var(--bp-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}
.bp-divider-accent {
  width: 60px; height: 3px; background: var(--bp-gold); border: none; margin: 1rem 0 1.5rem;
}

/* -------- pricing -------- */
.bp-price {
  background: #fff;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius-md);
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: transform var(--bp-tx-med), box-shadow var(--bp-tx-med);
}
.bp-price:hover { transform: translateY(-4px); box-shadow: var(--bp-shadow-2); }
.bp-price.is-featured {
  border-color: var(--bp-gold);
  border-width: 2px;
  box-shadow: var(--bp-shadow-2);
}
.bp-price .bp-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
}
.bp-price h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.bp-price .bp-price-amount {
  font-family: var(--bp-font-head);
  font-size: 2.6rem;
  color: var(--bp-ink);
  margin: 0.6rem 0;
}
.bp-price .bp-price-amount small {
  font-size: 0.95rem;
  color: var(--bp-muted);
}
.bp-price ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.bp-price li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--bp-line);
  font-size: 0.93rem;
  color: var(--bp-text);
}
.bp-price li:last-child { border-bottom: none; }

/* -------- article -------- */
.bp-article h2 { font-size: 1.7rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.bp-article h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.8rem; }
.bp-article p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.2rem; color: #383838; }
.bp-article ul { padding-left: 1.2rem; }
.bp-article li { margin-bottom: 0.5rem; line-height: 1.65; }
.bp-article blockquote {
  border-left: 4px solid var(--bp-gold);
  padding: 0.6rem 0 0.6rem 1.4rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--bp-steel);
  font-size: 1.1rem;
}
.bp-article img { border-radius: var(--bp-radius-md); margin: 1.5rem 0; }
.bp-article .bp-cta-inline {
  background: var(--bp-cream);
  padding: 1.6rem;
  border-radius: var(--bp-radius-md);
  border-left: 4px solid var(--bp-gold);
  margin: 2rem 0;
}

/* -------- responsive tuning -------- */
@media (max-width: 991px) {
  .bp-hero { padding: 80px 0 60px; }
  .bp-section { padding: 60px 0; }
}
@media (max-width: 576px) {
  .bp-hero { padding: 60px 0 40px; }
  .bp-footer { padding: 3rem 0 1rem; }
}

/* -------- print fallback -------- */
@media print {
  .bp-nav, .bp-footer, .bp-consent { display: none !important; }
}
