/* ============================================================
   CLARENDON LEGACY PARTNERS — MAIN STYLESHEET v2.0
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #0a0a0a;
  color: #e8e0d0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

em { font-style: italic; color: #c9a96e; }
strong { color: #e8e0d0; font-weight: 500; }
p { line-height: 1.85; color: #999; margin-bottom: 1rem; }
a { color: #c9a96e; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e8c98a; }

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

/* ── Page Wrap ────────────────────────────────────────────── */
.cl-page-wrap { min-height: 100vh; }
.cl-main { display: block; }

/* ── Buttons ──────────────────────────────────────────────── */
.cl-btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-right: 16px;
  margin-top: 24px;
  transition: all 0.3s;
  cursor: pointer;
}
.cl-btn:hover { background: #c9a96e; color: #0a0a0a; }
.cl-btn-outline { background: transparent; border-color: #333; color: #888; }
.cl-btn-outline:hover { background: #1a1a1a; color: #e8e0d0; border-color: #555; }

/* ── HEADER ───────────────────────────────────────────────── */
.cl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid #1a1a1a;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.cl-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: #222;
}
.cl-header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.cl-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #e8e0d0;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}
.cl-logo em { color: #c9a96e; font-style: italic; }
.cl-logo:hover { color: #fff; }

/* Desktop Nav */
.cl-nav { flex: 1; display: flex; justify-content: center; }
.cl-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.cl-nav-list li a {
  display: block;
  padding: 26px 14px;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
}
.cl-nav-list li a:hover,
.cl-nav-list li.current-menu-item a,
.cl-nav-list li.current_page_item a {
  color: #c9a96e;
  border-bottom-color: #c9a96e;
}

/* Header CTA */
.cl-header-cta {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a96e;
  border: 1px solid #c9a96e;
  padding: 10px 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s;
}
.cl-header-cta:hover { background: #c9a96e; color: #0a0a0a; }

/* Mobile Toggle */
.cl-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.cl-mobile-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: #e8e0d0;
  transition: all 0.3s;
}
.cl-mobile-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.cl-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.cl-mobile-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile Nav */
.cl-mobile-nav {
  display: none;
  border-top: 1px solid #1a1a1a;
  background: #0a0a0a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.cl-mobile-nav.active { max-height: 500px; }
.cl-mobile-nav-list { list-style: none; padding: 20px 40px; margin: 0; }
.cl-mobile-nav-list li a {
  display: block;
  padding: 14px 0;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 1px solid #1a1a1a;
  transition: color 0.3s;
}
.cl-mobile-nav-list li:last-child a { border-bottom: none; }
.cl-mobile-nav-list li a:hover { color: #c9a96e; }

/* Page top padding to account for fixed header */
.cl-page-wrap { padding-top: 72px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.cl-footer {
  background: #050505;
  border-top: 1px solid #1a1a1a;
  margin-top: 0;
}
.cl-footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}
.cl-footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #e8e0d0;
  margin-bottom: 0.75rem;
}
.cl-footer-logo em { color: #c9a96e; font-style: italic; }
.cl-footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #444;
  margin-bottom: 1.5rem;
  color: #555;
}
.cl-footer-desc {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.cl-footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.cl-footer-badges span,
.cl-footer-bottom-badges span {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #444;
  border: 1px solid #222;
  padding: 4px 10px;
  text-transform: uppercase;
}
.cl-footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 1.5rem;
}
.cl-footer-col ul { list-style: none; }
.cl-footer-col ul li { margin-bottom: 0.75rem; }
.cl-footer-col ul li a {
  font-size: 0.8rem;
  color: #666;
  transition: color 0.3s;
}
.cl-footer-col ul li a:hover { color: #c9a96e; }
.cl-footer-col p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.cl-footer-col a { color: #666; font-size: 0.8rem; }
.cl-footer-col a:hover { color: #c9a96e; }

.cl-footer-bottom {
  border-top: 1px solid #111;
  padding: 24px 40px;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cl-footer-bottom p {
  font-size: 0.7rem;
  color: #333;
  margin: 0;
}
.cl-footer-bottom-badges { display: flex; gap: 8px; }

/* ── PAGE CONTENT SECTIONS ────────────────────────────────── */

/* Hero */
.cl-hero {
  padding: 100px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #141414;
}
.cl-hero h1 { max-width: 800px; }
.cl-hero > p { font-size: 1rem; max-width: 580px; margin-top: 1.5rem; color: #888; }
.cl-hero .cl-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 2.5rem;
}

/* Stats bar */
.cl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #141414;
}
.cl-stats > div {
  background: #0a0a0a;
  padding: 50px 40px;
  text-align: center;
}
.cl-stats strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: #c9a96e;
  line-height: 1;
}
.cl-stats span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-top: 10px;
  display: block;
}

/* Principles */
.cl-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #141414;
}
.cl-principles > div {
  background: #0a0a0a;
  padding: 70px 50px;
}
.cl-principles h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: #c9a96e;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.cl-principles p { font-size: 0.875rem; line-height: 1.9; color: #777; }

/* Services preview */
.cl-services-preview {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Quote */
.cl-quote {
  padding: 90px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid #141414;
  border-bottom: 1px solid #141414;
}
.cl-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: #e8e0d0;
}
.cl-quote cite {
  display: block;
  margin-top: 28px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  font-style: normal;
}

/* Process preview */
.cl-process-preview {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Page Hero */
.cl-page-hero {
  padding: 100px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #141414;
}
.cl-page-hero > p { font-size: 1rem; max-width: 580px; margin-top: 1.5rem; color: #888; }

/* About text */
.cl-about-text {
  padding: 80px 40px;
  max-width: 800px;
  margin: 0 auto;
}

/* Values */
.cl-values { padding: 60px 40px 80px; max-width: 1200px; margin: 0 auto; }
.cl-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #141414;
  margin-top: 3rem;
}
.cl-values-grid > div { background: #0a0a0a; padding: 60px 50px; }
.cl-values-grid h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.cl-values-grid p { font-size: 0.875rem; color: #777; }

/* Mission */
.cl-mission { padding: 60px 40px 80px; max-width: 1200px; margin: 0 auto; }
.cl-mission h2 { margin-bottom: 1rem; }
.cl-mission > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #e8e0d0;
  margin: 0 0 3rem;
  max-width: 700px;
}

/* Process Steps */
.cl-process { padding: 40px 40px 80px; max-width: 1200px; margin: 0 auto; }
.cl-process > h2 { padding: 40px 0 20px; }
.cl-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 50px;
  padding: 60px 0;
  border-bottom: 1px solid #141414;
  align-items: start;
}
.cl-step:last-child { border-bottom: none; }
.cl-step > span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: #c9a96e;
  font-weight: 300;
  line-height: 1;
  padding-top: 4px;
}
.cl-step .cl-step-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 1rem;
  display: block;
}
.cl-step h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.cl-step p { font-size: 0.875rem; color: #777; line-height: 1.9; }

/* Services Grid */
.cl-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #141414;
}
.cl-service-card { background: #0a0a0a; padding: 50px 45px; }
.cl-service-card > span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #c9a96e;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1;
}
.cl-service-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.cl-service-card p { font-size: 0.825rem; color: #666; line-height: 1.9; }
.cl-service-card em {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
  margin-top: 1.25rem;
  font-style: normal;
  color: #555;
}

/* Team Grid */
.cl-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #141414;
}
.cl-team-card { background: #0a0a0a; padding: 50px 35px; }
.cl-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: #c9a96e;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.cl-team-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.cl-team-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  font-weight: 400;
  margin-bottom: 1rem;
}
.cl-team-card p { font-size: 0.8rem; color: #666; line-height: 1.8; }
.cl-team-card a {
  font-size: 0.7rem;
  color: #555;
  display: block;
  margin-top: 1.5rem;
  word-break: break-all;
  line-height: 1.5;
}
.cl-team-card a:hover { color: #c9a96e; }

/* Bank services */
.cl-bank-services { padding: 40px 40px 80px; max-width: 1200px; margin: 0 auto; }
.cl-bank-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 50px;
  padding: 60px 0;
  border-bottom: 1px solid #141414;
  align-items: start;
}
.cl-bank-card:last-child { border-bottom: none; }
.cl-bank-card > span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: #c9a96e;
  font-weight: 300;
  line-height: 1;
}
.cl-bank-card em {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #444;
  margin-top: 0.75rem;
  font-style: normal;
}

/* Compliance */
.cl-compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #141414;
  max-width: 1200px;
  margin: 20px auto 0;
}
.cl-compliance-card {
  background: #0a0a0a;
  padding: 50px 45px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  align-items: start;
}
.cl-compliance-card > span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #c9a96e;
  line-height: 1.3;
}
.cl-compliance-card h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.cl-compliance-card p { font-size: 0.825rem; color: #666; line-height: 1.8; }

/* Offices */
.cl-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #141414;
  max-width: 1200px;
  margin: 0 auto;
}
.cl-office { background: #0a0a0a; padding: 60px 45px; }
.cl-office h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  font-weight: 400;
  margin-bottom: 2rem;
}
.cl-office p { font-size: 0.85rem; color: #666; line-height: 1.9; margin-bottom: 0.4rem; }
.cl-office a { font-size: 0.85rem; color: #666; }
.cl-office a:hover { color: #c9a96e; }

/* Enquiry form */
.cl-enquiry-form { padding: 60px 40px 80px; max-width: 700px; margin: 0 auto; }
.cl-enquiry-form h2 { margin-bottom: 2.5rem; }
.cl-form-group { margin-bottom: 24px; }
.cl-form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 10px;
}
.cl-enquiry-form input,
.cl-enquiry-form select,
.cl-enquiry-form textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  color: #e8e0d0;
  padding: 16px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  border-radius: 0;
}
.cl-enquiry-form input:focus,
.cl-enquiry-form select:focus,
.cl-enquiry-form textarea:focus { border-color: #c9a96e; }
.cl-enquiry-form textarea { min-height: 160px; resize: vertical; }
.cl-enquiry-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.cl-enquiry-form .cl-btn { margin-top: 8px; }
.cl-form-note { font-size: 0.7rem; color: #333; margin-top: 1.5rem; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cl-team-grid { grid-template-columns: repeat(2, 1fr); }
  .cl-services-grid { grid-template-columns: repeat(2, 1fr); }
  .cl-footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .cl-header-inner { padding: 0 24px; }
  .cl-nav, .cl-header-cta { display: none; }
  .cl-mobile-toggle { display: flex; }
  .cl-mobile-nav { display: block; }

  .cl-stats,
  .cl-principles,
  .cl-values-grid,
  .cl-services-grid,
  .cl-team-grid,
  .cl-compliance-grid,
  .cl-offices { grid-template-columns: 1fr; }

  .cl-step, .cl-bank-card { grid-template-columns: 1fr; gap: 16px; }
  .cl-step > span, .cl-bank-card > span { font-size: 2.5rem; }

  .cl-footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 40px; }
  .cl-footer-bottom { flex-direction: column; align-items: flex-start; padding: 24px; }

  .cl-hero, .cl-page-hero { padding: 80px 24px 60px; }
  .cl-services-preview, .cl-process-preview, .cl-values, .cl-mission,
  .cl-about-text, .cl-process, .cl-bank-services, .cl-enquiry-form { padding-left: 24px; padding-right: 24px; }
  .cl-quote { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .cl-stats > div { padding: 40px 24px; }
  .cl-principles > div,
  .cl-service-card,
  .cl-team-card,
  .cl-compliance-card,
  .cl-office { padding: 40px 24px; }
}
