/* ═══════════════════════════════════════════════════════
   TGC Capital Partners — Legal Pages Stylesheet
   Extracted from main styles.css for static HTML pages
   ═══════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ────────────────────────────────── */
:root {
  --gold:        #f37021;
  --gold-light:  #f59a56;
  --gold-pale:   #FFF8F2;
  --maroon:      #042a3e;
  --maroon-mid:  #1a4f6e;
  --maroon-pale: #EEF4F8;
  --ink:         #252525;
  --ink-mid:     #3a3a3a;
  --ink-light:   #5A5A5A;
  --cream:       #FAFAFA;
  --white:       #FFFFFF;
  --accent:      #f37021;
  --accent-light:#f59a56;
  --accent-gold: #ffd100;
  --rule:         rgba(232, 115, 74, 0.15);
  --rule-dark:    rgba(232, 115, 74, 0.35);
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Instrument Sans', sans-serif;
  --text-xs:   clamp(0.625rem, 0.6rem + 0.15vw, 0.75rem);
  --text-sm:   clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height: 72px;
}

/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }
ul { list-style: none; }

/* ─── SKIP NAV ─────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  background: var(--maroon);
  color: var(--white);
  padding: 12px 24px;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top var(--duration-fast);
}
.skip-nav:focus { top: 8px; }

/* ─── UTILITY ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.container--wide { max-width: 1340px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }
@media (max-width: 400px) { .container { padding: 0 16px; } }

/* ─── FOCUS STYLES ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

/* ─── NAV ──────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--duration-base), background var(--duration-base);
}
@supports not (backdrop-filter: blur(12px)) {
  #nav { background: rgba(255, 255, 255, 0.98); }
}
#nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  max-width: 1340px;
  margin: 0 auto;
  transition: padding var(--duration-base);
}
#nav.scrolled .nav-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-logo-link {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--duration-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-base) var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--maroon); }
.nav-cta {
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
}
.nav-cta:hover {
  background: #d4633c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 115, 74, 0.3);
}

/* ─── MOBILE NAV TOGGLE ────────────────────────────── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 22px;
  position: relative;
}
.nav-mobile-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-fast);
  position: absolute;
  left: 3px;
}
.nav-mobile-toggle span:nth-child(1) { top: 2px; }
.nav-mobile-toggle span:nth-child(2) { top: 10px; }
.nav-mobile-toggle span:nth-child(3) { top: 18px; }
body.nav-open .nav-mobile-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-mobile-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-mobile-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-inner { padding: 16px 24px; }
}

/* ─── MOBILE NAV DRAWER ────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base);
}
body.nav-open .mobile-overlay { opacity: 1; pointer-events: auto; }
#mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  z-index: 99;
  padding: 88px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform var(--duration-base) var(--ease-out);
  overflow-y: auto;
}
body.nav-open #mobile-nav { transform: translateX(0); }
#mobile-nav a {
  font-size: 20px;
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--ink);
  border-bottom: 0.5px solid var(--rule);
  padding: 18px 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--duration-base), transform var(--duration-base), color var(--duration-fast);
}
body.nav-open #mobile-nav a { opacity: 1; transform: translateX(0); }
body.nav-open #mobile-nav a:nth-child(1) { transition-delay: 100ms, 100ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(2) { transition-delay: 150ms, 150ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(3) { transition-delay: 200ms, 200ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(4) { transition-delay: 250ms, 250ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(5) { transition-delay: 300ms, 300ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(6) { transition-delay: 350ms, 350ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(7) { transition-delay: 400ms, 400ms, 0ms; }
body.nav-open #mobile-nav a:nth-child(8) { transition-delay: 450ms, 450ms, 0ms; }
#mobile-nav a:hover { color: var(--accent); }
.mob-cta {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  text-align: center;
  margin-top: 16px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--duration-base), transform var(--duration-base), background var(--duration-fast);
}
body.nav-open .mob-cta { opacity: 1; transform: translateX(0); transition-delay: 400ms, 400ms, 0ms; }
.mob-cta:hover { background: #d4633c; }
body.nav-open { overflow: hidden; }

/* ─── LEGAL PAGES ─────────────────────────────────── */
.legal-hero {
  background: #042a3e;
  padding: 120px 0 48px;
}
.legal-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--white);
}
.legal-hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}
.legal-content {
  padding: 56px 0 72px;
  background: var(--white);
}
.legal-content .container { max-width: 820px; }
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-content p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.8;
  margin: 0 0 14px 24px;
  list-style: disc;
}
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--maroon); }
.legal-content strong { color: var(--ink); }
.legal-content .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13px;
}
.legal-content .legal-table th,
.legal-content .legal-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--ink-mid);
}
.legal-content .legal-table th {
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 768px) {
  .legal-hero { padding: 100px 0 36px; }
  .legal-content { padding: 40px 0 56px; }
  .nav-inner { padding: 16px 20px; }
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
  background: #032234;
  padding-top: 0;
}
.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--accent), var(--accent-gold));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 56px 0 52px;
}
.footer-section-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 28px;
}
.footer-hq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-hq-country {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-hq-country strong { font-weight: 600; }
.footer-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 4px;
}
.footer-hq-addr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}
.footer-contact-row {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-top: 28px;
}
.footer-email-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}
.footer-email-line a {
  color: var(--white);
  font-weight: 500;
  transition: color var(--duration-fast);
}
.footer-email-line a:hover { color: var(--gold-light); }
.footer-contact-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  white-space: nowrap;
}
.footer-contact-btn:hover {
  background: #d4633c;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.3);
}
.footer-countries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 40px;
}
.footer-country {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-hq-grid { grid-template-columns: 1fr; }
  .footer-contact-row { flex-direction: column; align-items: flex-start; }
  .footer-countries { grid-template-columns: 1fr 1fr; }
}

/* ─── FOOTER BOTTOM BAR ──────────────────────────── */
.footer-bottom {
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.footer-legal-links {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal-links a:hover { color: var(--accent); }
.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-bottom-logo img { height: 32px; width: auto; }
.footer-bottom-logo span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.footer-bottom-logo:hover span { color: var(--accent); }
@media (max-width: 768px) {
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copyright, .footer-legal-links { font-size: 10px; }
}
