/* ─────────────────────────────────────────────────────────
   COLOR SYSTEM (all values below must trace to this table)
   Graphite  #363635   Slate     #5C5B59   Ash       #9C9A96
   Linen     #E8E4DA   Parchment #F5F2EC   Bronze    #8B7355
   Gilt      #C4A97D   Vellum    #E8D9C0   Verdant   #2A3B2E
   Carmine   #3B2020
   ───────────────────────────────────────────────────────── */

/* ── Bootstrap overrides ─────────────────────────────────*/

@keyframes page-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

html, body {
  overflow-x: hidden;
  background-color: #363635;    /* Graphite */
  color: #9C9A96;               /* Ash */
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  animation: page-fadein 0.5s ease both;
}

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

a:hover {
  text-decoration: none;
}

/* ── Grain ───────────────────────────────────────────────*/

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Nav ─────────────────────────────────────────────────
   Lives inside .hero — scrolls off with it naturally.     */

.navbar {
  padding-top: 28px;
  padding-bottom: 18px;
  background: transparent;
  z-index: 10;
}

.navbar-brand {
  padding: 0;
  line-height: 1;
}

.navbar-brand img {
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 1)) drop-shadow(0 0 72px rgba(0, 0, 0, 0.85));
}

.navbar .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #E8E4DA;               /* Linen */
  padding: 10px 8px;
  transition: color 0.5s ease;
}

.navbar .nav-link:hover {
  color: #C4A97D !important;    /* Gilt */
  opacity: 1;
}

.ghost-btn {
  border: 0.5px solid #5C5B59; /* Slate */
  border-radius: 2px;
  padding: 6px 14px !important;
  transition: color 0.5s ease, border-color 0.5s ease, opacity 0.5s ease !important;
}

.ghost-btn:hover {
  border-color: #C4A97D;       /* Gilt */
  opacity: 1 !important;
}

/* ── Hero ────────────────────────────────────────────────*/

.hero {
  width: 100vw;
  height: 100vh;
}

.hero-type {
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  width: 62%;
  z-index: 10;
}

.hero-wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #C4A97D;               /* Ash */
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 1;
  text-shadow: 0 0 18px rgba(0, 0, 0, 1), 0 0 120px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 62px;
  line-height: 1.1;
  color: #E8E4DA;               /* Linen */
  letter-spacing: 0.01em;
  margin-bottom: 0;
  text-shadow: 0 0 18px rgba(0, 0, 0, 1), 0 0 120px rgba(0, 0, 0, 0.85);
}

.hero-rule {
  width: 32px;
  border-top: 0.5px solid #9C9A96;  /* Ash */
  opacity: 1;
  margin: 28px 0;
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 1)) drop-shadow(0 0 120px rgba(0, 0, 0, 0.85));
}

/* ── btn-primary: Gilt fill, Graphite text ───────────────*/

.btn-primary {
  background-color: #C4A97D;   /* Gilt */
  border: none;
  border-radius: 3px;
  color: #363635;               /* Graphite */
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.38);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 22px;
  transition: background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible {
  background-color: #E8D9C0;   /* Vellum */
  color: #363635;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.38);
  outline: none;
}

/* ── Principles ──────────────────────────────────────────*/

.principles {
  background:
    linear-gradient(180deg, #363635 0%, rgba(54, 54, 53, 0) 45%),
    linear-gradient(192deg, #363635 0%, rgba(54, 54, 53, 0) 45%),
    #5C5B59;
  /* Grain is supplied globally by body::before — no need to duplicate here */
  border-top: 0.5px solid rgba(10, 10, 9, 0.35);  /* near-black, faint */
  min-height: 90vh;
  padding-top: 80px;
  padding-bottom: 140px;
}

.principles .container-fluid {
  max-width: 1080px;
}

/* ── Section ghost button ────────────────────────────────*/

.btn-ghost {
  display: inline-block;
  border: 0.5px solid #9C9A96;  /* Ash — one step lighter than nav ghost (Slate) */
  border-radius: 2px;
  padding: 10px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F5F2EC;               /* Parchment — one step lighter than nav ghost (Linen) */
  text-decoration: none;
  transition: color 0.5s ease, border-color 0.5s ease;
}

.btn-ghost:hover {
  color: #C4A97D;               /* Gilt */
  border-color: #C4A97D;
}

/* ── Pull quote ──────────────────────────────────────────*/

.pull-quote {
  position: relative;
  padding: 48px 9% 56px;
  margin-bottom: 64px;
  border-bottom: 0.5px solid rgba(92, 91, 89, 0.35);
}

.pull-quote__mark {
  position: absolute;
  top: 16px;
  left: 7%;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 220px;
  line-height: 0.85;
  color: #9C9A96;               /* Ash */
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.pull-quote__text {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 28px;
  line-height: 1.55;
  color: #C4A97D;               /* Gilt */
  border: none;
  margin: 0;
  padding: 0;
}

.pull-quote__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 3%;
}

.pull-quote__rule {
  width: 32px;
  border: none;
  border-top: 0.5px solid #9C9A96;  /* Ash — matches hero rule */
  opacity: 1;
  margin: 28px 0 10px;
}

.pull-quote__citation {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9C9A96;               /* Ash */
  font-style: normal;
}

.principle-num {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9C9A96;               /* Ash */
  margin-bottom: 14px;
}

.principle-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8E4DA;               /* Linen */
  margin-bottom: 16px;
}

.principle-body {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #F5F2EC;               /* Parchment */
}

/* ── Footer ──────────────────────────────────────────────*/

footer {
  background: #363635;          /* Graphite */
  border-top: 0.5px solid #1e1e2e;
  position: relative;
}

/* Noise dither — breaks up banding from shadow gradients on solid dark surfaces */
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

footer .footer-inner {
  position: relative;
  z-index: 1;
}

/* Same max-width and side padding as .principles .container-fluid */
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 3rem;           /* spacious top/bottom, matching px-5 sides */
}

/* Footer nav links — exact same spec as .navbar .nav-link */
.footer-inner .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #E8E4DA;               /* Linen */
  padding: 10px 8px;
  transition: color 0.5s ease;
}

.footer-inner .nav-link:hover {
  color: #C4A97D !important;    /* Gilt */
  opacity: 1;
}

.footer-mark-wrap {
  position: relative;
  display: inline-block;  /* shrink-wraps to image width so it can be centered */
}

.footer-mark {
  display: block;
  height: 46px;
  width: auto;
  transition: opacity 0.5s ease;
}
.footer-disclaimer {
  /* Rule is a pseudo-element so the disclaimer text remains full width */
}

.footer-disclaimer::before {
  content: '';
  display: block;
  width: 70.7%;
  margin: 0 auto 1.5rem;
  border-top: 0.5px solid #5C5B59;  /* Slate */
}

.footer-legal {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: #9C9A96;               /* Ash */
  text-align: center;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}
