@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --forest-900: #1d2b26;
  --forest-800: #2a3d36;
  --forest-700: #3d544a;
  --forest-500: #557266;
  --paper: #F5F3EF;
  --paper-deep: #D2C4B0;
  --paper-soft: #FAFAF7;
  --ink: #2D362D;
  --ink-soft: #5D665D;
  --line: rgba(45, 54, 45, 0.12);
  --line-strong: rgba(45, 54, 45, 0.25);
  --gold: #B8A589;
  --gold-deep: #A69275;
  --white: #ffffff;
  --shadow-soft: none;
  --shadow-card: none;
  --max-width: 1260px;
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;
  --section-gap: 0px;
  --body-font: 'Inter', sans-serif;
  --display-font: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p {
  color: var(--ink-soft);
}

.site-frame {
  width: 100%;
  margin: 0;
}

.page-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Backgrounds & Textures */
.textured {
  color: var(--white);
  background-color: var(--forest-900);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
}

.inner-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: min(calc(100% - 64px), var(--max-width));
}

.card-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 0;
}

.card-topbar.inner-container {
  width: min(calc(100% - 64px), var(--max-width));
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
}

.brand-rrf {
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-advisory {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.92;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-links a.active,
.nav-links a:hover {
  opacity: 1;
}

.nav-links .nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 250, 0.72);
  opacity: 1;
  font-weight: 600;
}

.nav-links .nav-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.intro-card .nav-links .nav-cta,
.light-topbar .nav-links .nav-cta {
  border-color: var(--line-strong);
}

.hero-card {
  min-height: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 140px;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  font-size: clamp(3.7rem, 6vw, 5.2rem);
  margin-bottom: 30px;
  line-height: 1.05;
}

.hero-copy p {
  max-width: 580px;
  margin-bottom: 38px;
  color: rgba(255, 253, 250, 0.86);
  font-size: 1.1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: var(--gold);
  color: #1e261f;
}

.button-secondary {
  border-color: rgba(255, 253, 250, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.services-card,
.content-card,
.practice-card,
.footer-card {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.service-tile {
  padding: 0;
  border: none;
  min-height: auto;
  text-align: center;
}

.service-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--forest-900);
}

.service-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.service-tile h3 {
  margin-bottom: 16px;
  font-size: 1.8rem;
  color: var(--ink);
}

.service-tile p {
  font-size: 1rem;
}

.fees-banner {
  background-color: var(--paper-deep);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-align: center;
  max-width: max-content;
  margin: 60px auto 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: var(--section-gap);
  margin-bottom: 0;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  color: var(--ink);
}

.section-lead {
  max-width: 780px;
  font-size: 1.1rem;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.column-block {
  padding: 26px 20px 10px 0;
  border-top: 1px solid var(--line);
}

.column-block h3 {
  margin-bottom: 16px;
  font-size: 2.2rem;
}

.column-block p {
  font-size: 1rem;
  margin-bottom: 16px;
}

.values-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding: 24px 32px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.values-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.values-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(205, 185, 142, 0.35);
  color: var(--forest-900);
}

.values-label {
  font-family: var(--display-font);
  font-size: 2.2rem;
  color: var(--ink);
}

.approach-list {
  margin-top: 40px;
}

.approach-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.approach-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.approach-badge {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
}

.approach-badge svg {
  width: 14px;
  height: 14px;
}

.approach-item h4 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: var(--ink);
}

.approach-item p {
  font-size: 1rem;
}

.card-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.practice-card.textured {
  background-color: var(--forest-900);
}

.practice-intro {
  padding-bottom: 40px;
}

.practice-detail {
  padding-top: 20px;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.detail-panel {
  color: var(--ink);
}

.detail-panel h3 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.detail-panel ul {
  list-style: none;
}

.detail-panel li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* On dark backgrounds, restore white text */
.textured .detail-panel {
  color: var(--white);
}

.textured .detail-panel li {
  color: rgba(255, 255, 255, 0.8);
}

.detail-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.footer-card {
  padding: 80px 0 60px;
  background-color: var(--forest-900);
  border: none;
}

.footer-card::after {
  display: none;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 253, 250, 0.18);
  display: block;
}

.footer-top h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-top p {
  color: rgba(255, 253, 250, 0.8);
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 40px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 16px;
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 253, 250, 0.82);
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 253, 250, 0.8);
}

.footer-contact-line {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 253, 250, 0.8);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.light-topbar {
  color: var(--ink);
}

.light-topbar .brand-advisory,
.light-topbar .nav-links a {
  color: var(--ink-soft);
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.8s ease forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Logo ── */
.brand-logo {
  border-radius: 4px;
}

/* ── Inner page: intro-card ── */
.intro-card {
  background: var(--paper);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.page-intro {
  max-width: var(--max-width);
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 60px 0 20px;
}

.page-intro h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--ink);
  margin-bottom: 20px;
}

.page-intro .section-lead {
  max-width: 680px;
  color: var(--ink-soft);
}

/* ── intro-card on dark (textured) hero ── */
.textured .page-intro h1 {
  color: var(--white);
}
.textured .section-kicker {
  color: var(--gold);
}
.textured .page-intro .section-lead,
.textured .intro-tagline {
  color: rgba(255, 253, 250, 0.82);
}

/* ── Advisory / Divisions page ── */
.advisory-card {
  padding: 80px 0;
  max-width: var(--max-width);
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.division-heading {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.division-heading h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--ink);
  letter-spacing: 0;
}

.stacked-detail {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 60px;
}

.detail-group {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

/* ── Governance page ── */
.governance-card {
  padding: 80px 0;
  max-width: var(--max-width);
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.governance-block {
  padding: 28px 0 10px;
  border-top: 2px solid var(--gold);
}

.governance-block h3 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.governance-block p {
  font-size: 0.97rem;
}

/* ── Contact & Consultation pages ── */
.consult-card {
  padding: 80px 0;
  max-width: var(--max-width);
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 60px;
  align-items: start;
}

.info-card {
  background: var(--paper);
  padding: 36px;
  border: 1px solid var(--line);
}

.info-card h2 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.support-list {
  list-style: none;
  margin: 20px 0;
}

.support-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.info-panel {
  margin-top: 24px;
  padding: 20px;
  background: var(--paper-deep);
  border-radius: 2px;
}

/* ── Form styling ── */
.form-card {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--line);
}

.form-card h2 {
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 0.97rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-deep);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  padding: 0;
}

.checkbox-group label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.file-upload-wrapper {
  position: relative;
}

.file-btn {
  padding: 12px 14px;
  border: 1px dashed rgba(48, 86, 77, 0.32);
  color: var(--ink-soft);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.file-btn:hover {
  border-color: var(--gold-deep);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.success-msg {
  display: none;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.success-msg h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--ink);
}

/* ── Footer subnav ── */
.footer-subnav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.footer-subnav a {
  font-size: 0.85rem;
  color: rgba(255, 253, 250, 0.75);
  letter-spacing: 0.04em;
}

.footer-subnav a:hover {
  color: var(--white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 253, 250, 0.18);
}

@media (max-width: 1040px) {

  .split-grid,
  .consult-layout,
  .detail-columns,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .governance-grid,
  .column-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {

  .hero-content,
  .services-card,
  .content-card,
  .practice-card,
  .footer-card {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .card-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 20px;
  }

  .nav-links {
    gap: 14px;
    justify-content: flex-start;
  }
}