/* ==========================================================================
   Falcon Family Office
   ========================================================================== */

:root {
  --ink: #0b1c36;
  --secondary: #142a4d;
  --gold: #c9a24a;
  --gold-soft: #e3cf9c;
  --paper: #ffffff;
  --mist: #f5f6f8;
  --line: #dde0e6;
  --muted: #5d6779;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Shared small caps label style ---------------------------------------- */
.eyebrow, .section-label, .nav, .header-cta, .button, .text-link,
.metrics span, .contact-facts span, .contact-form label, .hero-vertical,
.principle-card p, .principle-card small {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 500;
}
.eyebrow, .section-label { color: var(--gold); letter-spacing: .28em; margin-bottom: 32px; display: flex; align-items: center; align-self: start; gap: 14px; line-height: 1.4; }
.eyebrow::before, .section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.section-label.light { color: var(--gold-soft); }

/* Header ----------------------------------------------------------------- */
.site-header {
  height: var(--header-h);
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(11, 28, 54, .08);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 28, 54, .25); background: rgba(255, 255, 255, .98); }

.wordmark { display: flex; align-items: center; justify-self: start; }
.wordmark img { display: block; height: 56px; width: auto; transition: transform .4s var(--ease); }
.wordmark:hover img { transform: translateY(-2px); }

.nav { display: flex; gap: 40px; }
.nav a { position: relative; padding: 6px 0; color: var(--ink); transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--secondary); }

.header-cta { justify-self: end; border-bottom: 1px solid var(--gold); padding-bottom: 5px; transition: color .25s; }
.header-cta:hover { color: var(--gold); }

.menu-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }

/* Buttons ---------------------------------------------------------------- */
.button {
  display: inline-flex; gap: 28px; align-items: center; justify-content: space-between;
  padding: 18px 24px; border: 0; cursor: pointer; letter-spacing: .22em;
  font-family: var(--sans); transition: background .3s, color .3s, transform .3s var(--ease);
}
.button span { transition: transform .3s var(--ease); }
.button:hover span { transform: translateX(5px); }
.dark { background: var(--ink); color: #fff; }
.button.dark:hover { background: var(--secondary); }
.light-button { background: #fff; color: var(--ink); }
.light-button:hover { background: var(--gold-soft); }
.text-link { border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: color .25s; }
.text-link:hover { color: var(--gold); }

/* Hero ------------------------------------------------------------------- */
.hero { min-height: min(820px, calc(100vh - var(--header-h))); display: grid; grid-template-columns: 46% 54%; }
.hero-copy { padding: 96px 4vw 80px 7vw; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(46px, 4.4vw, 74px); }
.hero-copy > p { max-width: 520px; margin: 30px 0 38px; color: #44516a; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-image {
  background: var(--secondary) 72% center/cover no-repeat;
  position: relative; overflow: hidden;
}
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(11, 28, 54, .7)); }
.hero-vertical { position: absolute; z-index: 2; right: 36px; bottom: 48px; color: #fff; display: flex; flex-direction: column; gap: 12px; letter-spacing: .3em; }
.hero-vertical span { display: flex; align-items: center; gap: 12px; }
.hero-vertical span::before { content: ""; width: 14px; height: 1px; background: var(--gold); }

/* Metrics ---------------------------------------------------------------- */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: #fff; padding: 44px 7vw; }
.metrics div { display: flex; align-items: baseline; gap: 18px; border-right: 1px solid rgba(255, 255, 255, .16); padding: 0 6%; }
.metrics div:first-child { padding-left: 0; }
.metrics div:last-child { border: 0; }
.metrics strong { font: 500 44px/1 var(--serif); color: var(--gold-soft); }
.metrics span { color: #cfd6e2; }

/* Sections --------------------------------------------------------------- */
.section { padding: 120px 7vw; }
.intro { display: grid; grid-template-columns: 18% 54% 28%; }
.intro-main { padding-right: 7vw; }
.intro h2, .section-heading h2, .contact h2 { font-size: clamp(40px, 4.2vw, 66px); max-width: 800px; }
.lead { font: 500 25px/1.45 var(--serif); margin-top: 32px; }
.intro-main p:not(.lead) { color: #3c4960; }

.principle-card {
  background: var(--ink); color: #fff; padding: 50px 42px; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.principle-card::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 162, 74, .28); pointer-events: none; }
.monogram { border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 26px; }
.monogram img { display: block; width: 72px; height: auto; }
.principle-card p { line-height: 2.4; letter-spacing: .3em; margin: 28px 0; }
.principle-card small { color: var(--gold-soft); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; padding: 0 7vw 120px; }
.pillars article { border-top: 1px solid var(--line); padding: 26px 8px 0 0; position: relative; }
.pillars article::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .5s var(--ease); }
.pillars article:hover::before { width: 100%; }
.pillars span, .service-list b, .steps b { font-size: 11px; font-weight: 500; letter-spacing: .18em; color: var(--gold); }
.pillars h3 { font-size: 26px; margin: 32px 0 8px; }
.pillars p { color: var(--muted); font-size: 14px; margin: 0; }

.services { background: var(--mist); }
.section-heading { display: grid; grid-template-columns: 2fr 1fr; gap: 8vw; margin-left: 18%; align-items: end; }
.section-heading > p { max-width: 460px; color: #3c4960; margin: 0; }
.service-list { margin: 72px 0 0 18%; }
.service-list article {
  display: grid; grid-template-columns: 8% 34% 1fr; gap: 3%; padding: 32px 0;
  border-top: 1px solid var(--line); align-items: baseline; transition: background .3s, padding .4s var(--ease);
}
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list article:hover { background: #fff; padding-left: 20px; padding-right: 20px; }
.service-list h3 { font-size: 30px; }
.service-list p { margin: 0; max-width: 600px; color: #3c4960; }

.approach { background: var(--ink); color: #fff; padding: 120px 7vw; }
.approach-top { display: grid; grid-template-columns: 18% 1fr; }
.approach h2 { font-size: clamp(44px, 5vw, 78px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin: 85px 0 0 18%; }
.steps article { border-top: 1px solid rgba(255, 255, 255, .22); padding: 24px 8px 0 0; }
.steps h3 { font-size: 30px; margin: 32px 0 14px; }
.steps p { color: #c9d2e0; margin: 0; }

.model-grid { margin: 72px 0 0 18%; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.model-grid article { background: var(--paper); padding: 56px; transition: background .3s; }
.model-grid article:hover { background: #fcfbf8; }
.model-number { font: 500 48px/1 var(--serif); color: var(--gold); }
.model-grid h3 { font-size: 38px; margin: 36px 0 22px; }
.muted { color: var(--muted); }

.principles { padding-top: 0; }
.principles-grid { margin: 64px 0 0 18%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); }
.principles-grid article { display: grid; grid-template-columns: 40px 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles-grid article > span { color: var(--gold); font-size: 15px; line-height: 1.7; }
.principles-grid p { margin: 0; color: #3c4960; }
.principles-grid strong { color: var(--ink); font-weight: 600; }

.private-cta { background: var(--secondary); color: #fff; padding: 110px 7vw; display: grid; grid-template-columns: 1.5fr 1fr; gap: 10vw; align-items: end; position: relative; overflow: hidden; }
.cta-mark { position: absolute; right: -60px; top: -40px; width: 380px; height: 480px; object-fit: contain; opacity: .05; pointer-events: none; }
.private-cta > :not(.cta-mark) { position: relative; }
.private-cta h2 { font-size: clamp(42px, 4.6vw, 72px); }
.private-cta p { color: #dbe1ea; margin: 0 0 32px; }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.contact-facts { margin-top: 56px; }
.contact-facts p { border-top: 1px solid var(--line); padding: 18px 0; margin: 0; }
.contact-facts span { display: block; color: var(--muted); margin-bottom: 2px; }
.contact-facts a { border-bottom: 1px solid var(--gold); }
.contact-facts a:hover { color: var(--secondary); }
.contact-form { padding-top: 48px; }
.contact-form label { display: block; margin-bottom: 28px; color: var(--ink); }
.contact-form label span { color: var(--muted); }
input, textarea {
  display: block; width: 100%; border: 0; border-bottom: 1px solid #aab2c0; background: transparent;
  padding: 12px 0; font: 500 20px var(--serif); color: var(--ink); outline: none; border-radius: 0;
  text-transform: none; letter-spacing: 0; transition: border-color .25s;
}
input:focus, textarea:focus { border-bottom-color: var(--gold); }
input:focus-visible, textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--gold); }
textarea { resize: vertical; min-height: 110px; }
.contact-form .button { margin-top: 6px; }
.contact-form small { display: block; color: var(--muted); margin-top: 18px; font-size: 13px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; margin-bottom: 24px; font-size: 14px; border-left: 2px solid; }
.success { background: #eef3fa; border-color: var(--secondary); }
.error { background: #fff1ee; border-color: #b4472e; }

/* Footer ----------------------------------------------------------------- */
footer { background: var(--ink); color: #c9d1de; padding: 64px 7vw 48px; display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; font-size: 12px; }
.footer-mark { justify-self: start; margin: 0; padding: 0; }
.footer-mark img { display: block; height: 150px; width: auto; margin: 0; }
footer p { grid-column: 1 / -1; color: #8f9cb1; margin: 0; max-width: none; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); line-height: 1.7; }

/* Reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav { gap: 26px; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header { grid-template-columns: 1fr auto; -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .site-header.scrolled { background: #fff; }
  .wordmark img { height: 48px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; position: relative; }
  .menu-toggle span { position: absolute; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-toggle span:first-child { top: 17px; }
  .menu-toggle span:last-child { top: 25px; }
  .menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
  .footer-mark img { height: 120px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    padding: 36px 7vw; flex-direction: column; gap: 0; font-size: 13px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav a { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 72px 7vw 64px; }
  .hero-image { height: 420px; }
  .metrics { grid-template-columns: 1fr; padding: 28px 7vw; }
  .metrics div { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .section { padding: 96px 7vw; }
  .intro, .contact { grid-template-columns: 1fr; }
  .intro-main { padding: 0; }
  .principle-card { margin-top: 56px; min-height: 340px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 44px 24px; padding-bottom: 96px; }
  .section-heading { grid-template-columns: 1fr; margin-left: 0; gap: 28px; }
  .service-list { margin-left: 0; }
  .service-list article { grid-template-columns: 50px 1fr; row-gap: 10px; }
  .service-list article p { grid-column: 2; }
  .service-list article:hover { padding-left: 0; padding-right: 0; background: none; }
  .approach { padding: 96px 7vw; }
  .approach-top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; margin-left: 0; gap: 44px 24px; }
  .model-grid, .principles-grid { margin-left: 0; }
  .principles-grid { column-gap: 32px; }
  .private-cta { grid-template-columns: 1fr; gap: 32px; }
  .contact { gap: 24px; }
  footer { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  .wordmark img { height: 44px; }
  .hero h1 { font-size: 44px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-image { height: 340px; }
  .hero-vertical { display: none; }
  .eyebrow { letter-spacing: .2em; font-size: 10px; }
  .section, .approach { padding: 80px 6vw; }
  .pillars { padding: 0 6vw 80px; }
  .pillars, .steps, .model-grid, .principles-grid { grid-template-columns: 1fr; }
  .service-list article { grid-template-columns: 38px 1fr; }
  .service-list h3 { font-size: 26px; }
  .model-grid article { padding: 40px 28px; }
  .private-cta { padding: 80px 6vw; }
  .metrics { padding: 24px 6vw; }
  .button { width: 100%; }
  .hero-actions .button { width: auto; }
}
