/* ===================================
   BACK TO BREATH — GLOBAL STYLES v2
   Premium editorial redesign
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  --purple: #7C81A4;
  --purple-dark: #5a5f82;
  --purple-light: #a8adc7;
  --purple-pale: #f0f0f7;
  --cream: #d1c3b6;
  --cream-dark: #b8a99a;
  --cream-light: #ece4de;
  --cream-pale: #faf8f5;
  --rose: #9d6e67;
  --rose-dark: #7d524c;
  --terra: #bb4d3b;
  --terra-dark: #943c2e;
  --amber: #f1b14e;
  --amber-dark: #d4922a;
  --olive: #697934;
  --black: #0d0d0d;
  --off-white: #faf8f5;
  --white: #ffffff;
  --text: #141414;
  --text-muted: #6a6a6a;
  --text-light: #999;
  --border: rgba(124,129,164,0.15);
  --border-dark: rgba(124,129,164,0.3);
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--black);
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,248,245,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow var(--transition-fast);
}
.nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.07); }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 42px; width: auto; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}
.nav__links a:hover { color: var(--purple); }
.nav__links a.active { color: var(--purple); border-bottom-color: var(--purple); }
.nav__cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  height: 38px !important;
  padding: 0 20px !important;
  border-radius: 2px !important;
  border-bottom: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  font-size: 0.68rem !important;
  margin-left: 8px;
  transition: background var(--transition-fast) !important;
}
.nav__cta:hover { background: var(--purple-dark) !important; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
}
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}
.nav__mobile a:hover { color: var(--purple); }
.nav__mobile__close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 32px;
  height: 50px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-dark); }
.btn--cream { background: var(--amber); color: var(--black); }
.btn--cream:hover { background: var(--amber-dark); }
.btn--outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--outline-white {
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.45) !important;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.7) !important; }
.btn--white { background: var(--white); color: var(--purple); }
.btn--white:hover { background: var(--cream-pale); }
.btn--text {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  height: auto;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.68rem;
}
.btn--text:hover { color: var(--purple); transform: none; }

/* ===================== LAYOUT ===================== */
.section { padding: 120px 0; }
.section--tight { padding: 72px 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 56px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 56px; }

/* ===================== LABELS ===================== */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.label--terra { color: var(--terra); }
.label--light { color: var(--purple-light); }
.label--amber { color: var(--amber-dark); }

/* ===================== DIVIDER ===================== */
.divider { width: 40px; height: 2px; background: var(--terra); margin: 16px 0 36px; }
.divider--center { margin: 16px auto 36px; }

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay1 { transition-delay: 0.1s; }
.reveal--delay2 { transition-delay: 0.22s; }
.reveal--delay3 { transition-delay: 0.34s; }
.reveal--delay4 { transition-delay: 0.46s; }
.reveal--left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal--left.visible { opacity: 1; transform: translateX(0); }
.reveal--right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal--right.visible { opacity: 1; transform: translateX(0); }

/* ===================== PHOTO PLACEHOLDER ===================== */
.photo-placeholder {
  background: var(--purple-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  border: 1px dashed var(--purple-light);
  height: 100%;
}
.photo-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  line-height: 1.6;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer__single-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.footer__brand img {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer__logos-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
.footer__logos-inline img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity var(--transition-fast);
  display: block;
}
.footer__logos-inline img:hover { opacity: 1; }
.footer__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-left: auto;
}
.footer__nav a {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.footer__nav a:hover { color: var(--purple); }
.footer__nav--audit { color: var(--terra) !important; }
.footer__nav--audit:hover { opacity: 0.75; }
.footer__nav--cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  border-radius: 2px;
  margin-left: 6px;
  padding: 7px 16px !important;
}
.footer__nav--cta:hover { background: var(--purple-dark) !important; }
.footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .container, .container--narrow { padding: 0 32px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .section { padding: 80px 0; }
  .section--tight { padding: 52px 0; }
  .footer__single-row { padding: 16px 24px; gap: 14px; }
  .footer__bottom { padding: 12px 24px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer__nav { margin-left: 0; }
  .footer__nav a { padding: 5px 8px; font-size: 0.58rem; }
}

