/* ==========================================================================
   NoblePath Export — shared stylesheet (parent-company site)
   Design language intentionally matches noblepathherbal.com so the group
   reads as one family; the parent uses a deeper teal primary to sit "above"
   the two operating brands.
   ========================================================================== */

:root {
  --color-primary: #1E5450;
  --color-primary-dark: #12332F;
  --color-primary-light: #2F6E68;
  --color-accent: #B08D33;
  --color-accent-light: #D9BE7A;
  --color-text: #22302D;
  --color-text-light: #586863;
  --color-bg: #FBFAF6;
  --color-bg-alt: #F2EFE5;
  --color-border: #DEDCD1;
  --color-white: #FFFFFF;

  /* Operating-brand accents */
  --brand-herbal: #2F5D50;
  --brand-herbal-soft: rgba(47, 93, 80, 0.10);
  --brand-shellac: #A2601F;
  --brand-shellac-soft: rgba(162, 96, 31, 0.10);

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(34, 48, 45, 0.08);
  --shadow-md: 0 8px 24px rgba(34, 48, 45, 0.10);
  --shadow-lg: 0 20px 48px rgba(34, 48, 45, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--color-text-light); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 780px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.9em;
}

.section { padding: 84px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-primary-dark);
  color: #E4EEEC;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #FFFFFF; }
.section--dark p { color: #C3D4D0; }
.section--dark .eyebrow { color: var(--color-accent-light); }

.section-head {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #2A2110;
}
.btn-primary:hover { background: var(--color-accent-light); transform: translateY(-1px); }

.btn-solid {
  background: var(--color-primary);
  color: #fff;
}
.btn-solid:hover { background: var(--color-primary-light); transform: translateY(-1px); }

/* For use on DARK backgrounds only */
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); }

/* For use on LIGHT backgrounds only */
.btn-outline-dark {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}
.logo img { flex-shrink: 0; }
.logo span.sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--color-primary); border-bottom-color: var(--color-accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(176, 141, 51, 0.16), transparent 44%),
    radial-gradient(circle at 88% 0%, rgba(30, 84, 80, 0.15), transparent 46%),
    linear-gradient(180deg, #F2EFE5 0%, #FBFAF6 65%);
  padding: 84px 0 90px;
  border-bottom: 1px solid var(--color-border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede {
  font-size: 1.12rem;
  max-width: 560px;
  color: var(--color-text-light);
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-sub-link {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.hero-sub-link a {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--color-accent-light);
}

/* Two-paths-merge motif */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: 24px;
  background:
    conic-gradient(from 200deg at 30% 30%, #2F6E68, #1E5450 30%, #12332F 60%, #B08D33 90%, #2F6E68);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.hero-visual-card {
  background: rgba(251, 250, 246, 0.96);
  border-radius: 16px;
  padding: 26px;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.hero-visual-card .cap {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.hero-visual-card ul { list-style: none; margin: 0; padding: 0; }
.hero-visual-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}
.hero-visual-card li:last-child { border-bottom: none; }
.hero-visual-card li svg { color: var(--color-primary); flex-shrink: 0; margin-top: 3px; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 26px 0; border-bottom: 1px solid var(--color-border); }
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}
.trust-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 84, 80, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.feature-card p { margin: 0; font-size: 0.93rem; }

/* Checklist */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.check-list li:last-child { border-bottom: none; }
.check-list svg { color: var(--color-primary); flex-shrink: 0; margin-top: 4px; }
.check-list strong { display: block; color: var(--color-text); font-size: 0.98rem; }
.check-list span { font-size: 0.88rem; color: var(--color-text-light); }

/* ---------- Pillar / commitment table ---------- */
.pillar-table {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pillar-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  padding: 24px 30px;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.pillar-row:last-child { border-bottom: none; }
.pillar-row .pillar-name {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--color-primary-dark);
}
.pillar-row .pillar-name svg { color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.pillar-row p { margin: 0; font-size: 0.94rem; }
.pillar-head {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  padding: 14px 30px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ---------- Brand cards (the core "parent site" section) ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.brand-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 0 0 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.brand-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.brand-card .brand-bar { height: 6px; }
.brand-card .brand-body { padding: 32px 34px 0; flex: 1; }
.brand-card .brand-foot { padding: 0 34px; }
.brand-card .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.brand-card h3 { font-size: 1.55rem; margin-bottom: 4px; }
.brand-card .tagline {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 18px;
}
.brand-card p { font-size: 0.94rem; }
.brand-card .brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}
.brand-card .brand-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
}

.brand-card--herbal .brand-bar { background: var(--brand-herbal); }
.brand-card--herbal .brand-mark { background: var(--brand-herbal-soft); color: var(--brand-herbal); }
.brand-card--herbal h3,
.brand-card--herbal .tagline { color: var(--brand-herbal); }
.brand-card--herbal .btn-solid { background: var(--brand-herbal); }
.brand-card--herbal .btn-solid:hover { background: #3F7566; }

.brand-card--shellac .brand-bar { background: var(--brand-shellac); }
.brand-card--shellac .brand-mark { background: var(--brand-shellac-soft); color: var(--brand-shellac); }
.brand-card--shellac h3,
.brand-card--shellac .tagline { color: var(--brand-shellac); }
.brand-card--shellac .btn-solid { background: var(--brand-shellac); }
.brand-card--shellac .btn-solid:hover { background: #BE7529; }

/* ---------- Mission quote ---------- */
.quote-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: #fff;
}
.quote-block .quote-mark {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

/* ---------- Reason list ---------- */
.reason-list { list-style: none; margin: 0; padding: 0; }
.reason-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.96rem;
  color: var(--color-text);
}
.reason-list li:last-child { border-bottom: none; }
.reason-list li svg { color: var(--color-accent); flex-shrink: 0; margin-top: 4px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-primary-dark);
  border-radius: 20px;
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #C3D4D0; margin: 0; max-width: 500px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Routing cards (contact section) ---------- */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.route-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.route-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.route-card p { font-size: 0.91rem; flex: 1; }
.route-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(30, 84, 80, 0.09);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.route-card .route-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-top: 6px;
}
.route-card .route-link:hover { color: var(--color-accent); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 42px;
  box-shadow: var(--shadow-sm);
}
/* min-width:0 overrides the browser's default `min-width: min-content` on
   fieldset, which otherwise refuses to shrink below its widest child */
fieldset { border: none; padding: 0; margin: 0 0 28px; min-width: 0; }
fieldset:last-of-type { margin-bottom: 20px; }
fieldset legend {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--color-primary-dark);
  padding: 0 0 6px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-bg-alt);
  width: 100%;
  font-weight: 600;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.field .hint { font-size: 0.76rem; color: var(--color-text-light); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  resize: vertical;
  /* Keep long <option> labels from forcing the form wider than the screen */
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 22px;
}
.checkbox-field input { margin-top: 3px; }

/* Honeypot — hidden from humans, catches bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact info cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.contact-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(30, 84, 80, 0.09);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { margin: 0 0 4px; font-size: 0.9rem; }
.contact-card a { color: var(--color-primary-dark); font-weight: 600; }
.contact-card a:hover { color: var(--color-primary); }
.placeholder-note {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  color: #7A5F1E;
  background: rgba(176, 141, 51, 0.16);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 64px 0 56px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-header p { max-width: 640px; margin: 12px auto 0; }
.breadcrumb { font-size: 0.82rem; color: var(--color-text-light); margin-bottom: 14px; }
.breadcrumb a { color: var(--color-primary); font-weight: 600; }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; color: var(--color-text-light); }
.prose li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #C3D4D0;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo span.sub { color: var(--color-accent-light); }
.footer-brand p { color: #A4B8B4; font-size: 0.88rem; max-width: 320px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { font-size: 0.88rem; color: #C3D4D0; }
.footer-grid a:hover { color: var(--color-accent-light); }
.footer-grid .addr { font-size: 0.86rem; color: #A4B8B4; font-style: normal; line-height: 1.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #8FA5A1;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #8FA5A1; }
.footer-bottom a:hover { color: var(--color-accent-light); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* Logo + full nav + CTA no longer fit on one row; the nav itself doesn't
     collapse to the hamburger until 720px, so drop the CTA button first */
  .header-actions .desktop-only { display: none; }
  .main-nav { gap: 22px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillar-row, .pillar-head { grid-template-columns: 240px 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .main-nav, .header-actions .desktop-only { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 4px;
  }
  .site-header.open .main-nav a { padding: 12px 0; width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; justify-content: center; padding: 40px 26px; }
  .form-card { padding: 26px; }
  .section { padding: 56px 0; }
  .pillar-head { display: none; }
  .pillar-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 24px; }
  .brand-card .brand-body, .brand-card .brand-foot { padding-left: 26px; padding-right: 26px; }
}
