/* ==========================================================================
   Shabd Brahm — shared stylesheet
   Recreated from the Claude Design handoff prototypes (pixel-for-pixel).
   Fonts: Bricolage Grotesque (headings), Manrope (body/UI)
   ========================================================================== */

:root {
  --bg:          #FBF9F4;   /* page background */
  --bg-alt:      #F4F1EA;   /* alternating section band */
  --surface:     #FFFFFF;   /* cards, form */
  --accent:      #E9A23C;   /* brand gold */
  --accent-hi:   #F2B457;   /* gold hover */
  --ink:         #1A1A17;   /* primary text */
  --ink-2:       #2A2A25;
  --ink-strong:  #0C0D0F;   /* text on gold */
  --muted:       #55524B;
  --muted-2:     #6E6B63;
  --muted-3:     #8A8880;
  --hair:        rgba(0,0,0,0.07);   /* hairline borders */
  --hair-2:      rgba(0,0,0,0.10);
  --hair-3:      rgba(0,0,0,0.14);
  /* System-font fallbacks: if Google Fonts is slow/blocked, these render
     immediately (font-display:swap) and the web fonts swap in when loaded. */
  --serif: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ink-strong); }

img { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ------------------------------------------------------------------ Header */
.sb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.sb-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__logo { height: 42px; width: auto; }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav__link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--muted);
  transition: color .15s ease;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--accent); }

/* Pill CTA button (nav + inline) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-strong);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-hi); }
.btn--nav { font-size: 14.5px; padding: 11px 20px; }
.btn--lg  { font-size: 15.5px; padding: 15px 28px; }
.btn--cta { font-size: 15.5px; padding: 16px 32px; }

/* Ghost / text link with arrow */
.link-arrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  color: var(--ink);
  padding: 15px 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .15s ease;
}
.link-arrow:hover { color: var(--accent); }

/* ------------------------------------------------------------- Typography */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}
.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ------------------------------------------------------------------ Bands */
.band { border-top: 1px solid var(--hair); background: var(--bg-alt); }
.band__inner { max-width: 1200px; margin: 0 auto; padding: 92px 40px; }

/* --------------------------------------------------------------- Home hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 40px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(233,162,60,0.35);
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero__badge-text {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.hero__title { font-size: 78px; line-height: 0.98; margin: 0 0 24px; }
.hero__lede {
  font-size: 19px; line-height: 1.6; color: var(--muted);
  max-width: 480px; margin: 0 0 36px;
}
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__media {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* --------------------------------------------------- Generic page hero */
.page-hero { max-width: 1000px; margin: 0 auto; padding: 96px 40px 72px; text-align: center; }
.page-hero--tight { padding-bottom: 64px; }
.page-hero__title { font-size: 62px; line-height: 1.03; margin: 0 0 24px; }
.page-hero__lede {
  font-size: 19px; line-height: 1.6; color: var(--muted);
  max-width: 620px; margin: 0 auto;
}

/* Section heading row (title left, blurb right) */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.section-head__blurb { font-size: 16px; line-height: 1.6; color: var(--muted-2); max-width: 340px; margin: 0; }
.section-head--stack { display: block; }
.section-head--center { text-align: center; }

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

/* Service card (home) */
.card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 30px 28px;
  transition: border-color .15s ease;
}
.card:hover { border-color: rgba(233,162,60,0.4); }
.card__num {
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  color: var(--accent); margin-bottom: 18px;
}
.card__title {
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  letter-spacing: -0.01em; margin: 0 0 10px;
}
.card__desc { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 0; }

/* Industry card */
.industry {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.industry__media {
  width: 100%;
  height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.industry__body { padding: 30px 32px; background: var(--surface); }
.industry__title {
  font-family: var(--serif); font-weight: 700; font-size: 26px;
  letter-spacing: -0.01em; margin: 0 0 10px;
}
.industry__desc { font-size: 15.5px; line-height: 1.62; color: var(--muted-2); margin: 0; }

/* Testimonial card */
.quote {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote__text { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin: 0; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 13px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; color: var(--ink-strong); font-size: 16px;
}
.quote__name { font-weight: 700; font-size: 15px; margin: 0; color: var(--ink); }
.quote__role { font-size: 13.5px; margin: 2px 0 0; color: var(--muted-3); }

/* CTA panel (home) */
.cta-panel {
  background: linear-gradient(135deg, #FFF6E8 0%, #F4F1EA 60%);
  border: 1px solid rgba(233,162,60,0.22);
  border-radius: 24px;
  padding: 72px 56px;
  text-align: center;
}
.cta-panel__lede {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  margin: 18px auto 34px; max-width: 480px;
}

/* Simple centered CTA section */
.cta-center { max-width: 1200px; margin: 0 auto; padding: 96px 40px; text-align: center; }
.cta-center__lede { font-size: 18px; color: var(--muted); margin: 22px auto 30px; max-width: 460px; line-height: 1.6; }

/* ----------------------------------------------------- About: story/values */
.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.story__title { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.story__body { display: flex; flex-direction: column; gap: 22px; }
.story__body p { font-size: 17px; line-height: 1.7; margin: 0; }
.story__body p:first-child { color: #3A3A34; }
.story__body p:not(:first-child) { color: var(--muted-2); }

.value {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 32px 28px;
}
.value__title { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 12px; }
.value__desc { font-size: 15px; line-height: 1.62; color: var(--muted-2); margin: 0; }

.about-band { max-width: 1200px; margin: 0 auto; padding: 0 40px 92px; }
.about-band__media {
  width: 100%;
  height: 420px;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ----------------------------------------------------- Services list rows */
.svc-list { max-width: 1120px; margin: 0 auto; padding: 40px 40px; }
.svc-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid var(--hair-2);
}
.svc-row__num { font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--accent); line-height: 1; }
.svc-row__title { font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
.svc-row__desc { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--hair-2);
  padding: 7px 13px; border-radius: 999px;
}

.process-wrap { max-width: 1120px; margin: 0 auto; padding: 92px 40px; }
.step {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 30px 26px;
}
.step__num { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--accent); margin-bottom: 16px; }
.step__title { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 9px; }
.step__desc { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 0; }

/* ------------------------------------------------------------ Contact page */
.contact-hero { max-width: 1100px; margin: 0 auto; padding: 96px 40px 40px; text-align: center; }
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 96px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.detail__label { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-3); margin: 0 0 8px; }
.detail__value { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.5; }

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field {
  background: var(--bg);
  border: 1px solid var(--hair-3);
  border-radius: 11px;
  padding: 15px 17px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.field:focus { border-color: var(--accent); }
textarea.field { resize: vertical; }
.contact-form .btn { justify-content: center; margin-top: 4px; border-radius: 11px; padding: 16px; font-size: 15.5px; }

/* ----------------------------------------------------------------- Footer */
.sb-footer { background: var(--bg-alt); border-top: 1px solid var(--hair); font-family: var(--sans); }
.sb-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.sb-footer .brand__logo { height: 34px; }
.sb-footer .brand__name { font-size: 16px; }
.footer-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-nav a {
  font-weight: 600; font-size: 14px; text-decoration: none; color: var(--muted);
  transition: color .15s ease;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy { margin: 0; font-size: 13.5px; color: var(--muted-3); }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 40px 64px; }
  .hero__title { font-size: 56px; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero__title, .contact-hero .page-hero__title { font-size: 48px; }
}
@media (max-width: 640px) {
  .wrap, .sb-header__inner, .sb-footer__inner,
  .hero, .band__inner, .page-hero, .svc-list, .process-wrap,
  .cta-center, .contact-hero, .contact-grid, .about-band {
    padding-left: 22px; padding-right: 22px;
  }
  .site-nav { display: none; }        /* collapse primary nav on very small screens */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__title { font-size: 44px; }
  .h2 { font-size: 34px; }
  .page-hero__title { font-size: 38px; }
  .cta-panel { padding: 48px 28px; }
  .contact-form__row { grid-template-columns: 1fr; }
}
