:root {
  --bg: #12091f;
  --bg-deep: #0e0718;
  --panel: rgba(37, 22, 54, 0.68);
  --text: #e8cb76;
  --muted: #d4ab42;
  --line: rgba(255, 214, 112, 0.34);
  --card-border: rgba(255, 214, 112, 0.24);
  --button-top: #f1c74f;
  --button-bottom: #b9861d;
  --button-border: #ffdf8e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgba(109, 68, 145, 0.28), transparent 35%),
    radial-gradient(circle at 18% 72%, rgba(62, 26, 97, 0.3), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section-block {
  padding: 3.2rem 0;
}

.site-header,
.site-footer {
  padding: 1.2rem 0;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  background: linear-gradient(
    180deg,
    rgba(16, 10, 28, 0.95) 0%,
    rgba(16, 10, 28, 0.78) 100%
  );
  backdrop-filter: blur(2px);
}

.sticky-nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sticky-nav a {
  color: #f1cf73;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
}

.sticky-nav a:hover,
.sticky-nav a:focus-visible {
  color: #ffedb5;
}

.sticky-nav span {
  color: rgba(255, 214, 112, 0.72);
  transform: translateY(-1px);
}

.nav-cta {
  position: absolute;
  right: 5px;
  justify-self: end;
  border: 1px solid var(--button-border);
  background: linear-gradient(180deg, rgba(241, 199, 79, 0.98), rgba(185, 134, 29, 0.96));
  color: #140b02 !important;
  padding: 0.42rem 0.78rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #0f0802 !important;
  font-weight: 800 !important;
}

#firm,
#engagement,
#principles,
#request-consideration {
  scroll-margin-top: 5rem;
}

.firm-name {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  text-align: center; 
}

h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  text-align: center;
}

h3 {
  font-size: 1.35rem;
  margin: 0;
  text-align: center;
}

p {
  margin: 0 0 1rem;
}

.hero {
  text-align: center;
}

.hero h1,
.hero p {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 1.3rem;
}

.lead {
  font-style: italic;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.35rem;
  color: #f3dd9f;
}

.theme-line {
  font-size: 0.93rem;
  color: #e8cb76;
  opacity: 0.88;
}

.button {
  display: inline-block;
  margin-top: 0.6rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  color: #24150a;
  border: 1px solid var(--button-border);
  background: linear-gradient(180deg, var(--button-top), var(--button-bottom));
  padding: 0.65rem 1.25rem;
  font-size: 0.76rem;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.35);
}

.overview p,
.audience p,
.engagement p,
.philosophy p,
.request p {
  color: #f0d894;
  text-align: center;
}

.audience ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.audience li {
  margin-bottom: 0.55rem;
  color: #efdba6;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.audience-card {
  background: var(--panel);
  border: 1px solid var(--card-border);
  padding: 1.2rem 1rem;
  min-height: 7.6rem;
  display: flex;
  align-items: center;
}

.audience-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.principle-card {
  background: var(--panel);
  border: 1px solid var(--card-border);
  padding: 1.2rem 1rem;
  min-height: 7.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.principle-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  text-align: center;
  width: 100%;
}

.engagement-gate {
  text-transform: none;
  letter-spacing: 0.01em;
  color: #f3deab;
  font-style: italic;
}

.philosophy p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.25;
  margin: 0.2rem 0;
}

.request {
  text-align: center;
}

.site-footer p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  color: rgba(241, 205, 109, 0.88);
  font-size: 0.7rem;
}

@media (max-width: 860px) {
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .section-block {
    padding: 2.35rem 0;
  }

  .sticky-nav {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.65rem 0;
  }

  .sticky-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.75rem;
    width: 100%;
    padding: 0 0.25rem;
  }

  .sticky-nav-links span {
    display: none;
  }

  .sticky-nav a {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .nav-cta {
    position: static;
    right: auto;
    justify-self: center;
    margin-top: 0.1rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: min(100%, 22rem);
  }
}
