/* ==========================================================================
   Falcon Capital — part of the Falcon Family Office group
   ========================================================================== */

:root {
  --ink: #081830;        /* logo navy */
  --ink-2: #0f2544;
  --night: #050f1f;
  --gold: #c8a048;       /* logo gold */
  --gold-soft: #e6d3a3;
  --ivory: #f6f2ea;
  --paper: #ffffff;
  --line: #e3dccd;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #3a4256;
  --muted: #6c7180;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 88px;
  --pad: 7vw;
  --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(--ivory);
  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; }
h1 em, h2 em { font-style: italic; color: var(--gold-soft); }
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(--gold); color: var(--ink); padding: 10px 16px; font-size: 13px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Shared small caps ------------------------------------------------------ */
.eyebrow, .section-label, .nav, .header-cta, .button, .text-link,
.contact-facts span, .contact-form label, .lane span, .about-media figcaption span,
.footer-nav, .principle-rows span, .service-list b {
  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; gap: 14px; line-height: 1.4; }
.eyebrow::before, .section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.section-label.light, .eyebrow { color: var(--gold-soft); }

/* Header: transparent over the hero, solid navy once scrolled ----------- */
.site-header {
  height: var(--header-h);
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 20;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, height .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 24, 48, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: rgba(200, 160, 72, .22);
}
.wordmark { display: flex; align-items: center; justify-self: start; }
.wordmark img { display: block; height: 50px; 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: rgba(255, 255, 255, .86); 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, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-cta { justify-self: end; border: 1px solid rgba(200, 160, 72, .7); padding: 11px 18px; transition: background .25s, color .25s; }
.header-cta:hover { background: var(--gold); color: var(--ink); }

.menu-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; }

/* 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;
}
.button span { transition: transform .3s var(--ease); }
.button:hover span { transform: translateX(5px); }
.gold { background: var(--gold); color: var(--ink); }
.gold:hover { background: var(--gold-soft); }
.dark { background: var(--ink); color: #fff; }
.dark:hover { background: var(--ink-2); }
.text-link { border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: color .25s; }
.text-link:hover { color: var(--gold); }
.text-link.light { color: #fff; }
.text-link.light:hover { color: var(--gold-soft); }

/* Hero: full-bleed night skyline ---------------------------------------- */
.hero {
  min-height: max(640px, min(100svh, 980px));
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  background-color: var(--night); background-position: 60% center; background-size: cover; background-repeat: no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 15, 31, .72) 0%, rgba(5, 15, 31, 0) 22%),
    linear-gradient(90deg, rgba(5, 15, 31, .92) 0%, rgba(5, 15, 31, .7) 38%, rgba(5, 15, 31, .1) 72%),
    linear-gradient(0deg, rgba(5, 15, 31, .75) 0%, rgba(5, 15, 31, 0) 45%);
}
.hero-copy { position: relative; padding: calc(var(--header-h) + 80px) var(--pad) 112px; max-width: 900px; }
.hero h1 { font-size: clamp(48px, 5.4vw, 92px); line-height: 1; }
.hero-copy > p { max-width: 560px; margin: 32px 0 40px; color: #d5dbe6; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; right: var(--pad); bottom: 48px; width: 1px; height: 72px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -30px; width: 1px; height: 30px; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Corridor band ---------------------------------------------------------- */
.corridor {
  position: relative; color: #fff; padding: 64px var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw;
  background-color: var(--ink); background-position: center 62%; background-size: cover; background-repeat: no-repeat;
}
.corridor::before { content: ""; position: absolute; inset: 0; background: rgba(8, 24, 48, .9); }
.lane { position: relative; display: flex; align-items: center; gap: 22px; letter-spacing: .26em; }
.lane i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(200, 160, 72, .25), var(--gold)); position: relative; min-width: 40px; }
.lane i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.lane .to { color: var(--gold-soft); }

/* Sections --------------------------------------------------------------- */
.section { padding: 128px var(--pad); }
.about h2, .services-head h2, .contact h2 { font-size: clamp(40px, 4.2vw, 66px); }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: center; }
.lead { font: 500 25px/1.45 var(--serif); color: var(--ink); margin: 34px 0 26px; }
.about-copy p:not(.lead) { color: var(--text); max-width: 620px; }
.about-media { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.about-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 31% center; display: block; transition: transform 1.4s var(--ease); }
.about-media:hover > img { transform: scale(1.03); }
.about-media::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(230, 211, 163, .35); pointer-events: none; }
.about-media figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 26px 28px;
  display: flex; align-items: center; gap: 18px; color: #fff;
  background: linear-gradient(0deg, rgba(5, 15, 31, .9), rgba(5, 15, 31, 0));
}
.about-media figcaption img { width: 30px; height: auto; }
.about-media figcaption span { line-height: 1.8; letter-spacing: .24em; font-size: 10px; }

/* Services: sticky image + list ----------------------------------------- */
.services { background: var(--paper); }
.services-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 8vw; align-items: end; }
.services-head .section-label { grid-column: 1 / -1; }
.services-head > p { color: var(--text); margin: 0; max-width: 460px; }
.services-body { display: grid; grid-template-columns: 38% 1fr; gap: 6vw; margin-top: 80px; align-items: start; }
.services-media { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.services-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; display: block; }
.services-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 24, 48, .35), transparent 50%); }
.service-list article { display: grid; grid-template-columns: 64px 1fr; padding: 40px 0; border-top: 1px solid var(--line); position: relative; }
.service-list article:first-child { padding-top: 0; border-top: 0; }
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list article::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .6s var(--ease); }
.service-list article:first-child::before { display: none; }
.service-list article:hover::before { width: 100%; }
.service-list b { color: var(--gold); line-height: 2.8; }
.service-list h3 { font-size: clamp(30px, 2.6vw, 40px); }
.tagline { font: italic 500 21px/1.4 var(--serif); color: #8a6a26; margin: 10px 0 18px; }
.service-list p:not(.tagline) { color: var(--text); margin: 0 0 14px; max-width: 620px; }
.service-list p:last-child { margin-bottom: 0; }
.service-list ul { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.service-list li { border: 1px solid var(--line); background: var(--ivory); padding: 6px 14px; font-size: 14px; color: var(--ink); }

/* Principles ------------------------------------------------------------- */
.principles { background: var(--ink); color: #fff; padding: 128px var(--pad); }
.principles-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6vw; align-items: end; }
.principles h2 { font-size: clamp(48px, 5.6vw, 88px); }
.principles-media { aspect-ratio: 16 / 8; overflow: hidden; position: relative; }
.principles-media img { width: 100%; height: 100%; object-fit: cover; object-position: 24% center; display: block; }
.principle-rows { list-style: none; margin: 88px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.principle-rows li {
  display: grid; grid-template-columns: 80px 1fr 1fr; gap: 0 4vw; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--line-dark); transition: background .4s, padding .4s var(--ease);
}
.principle-rows li:hover { background: rgba(255, 255, 255, .03); padding-left: 20px; padding-right: 20px; }
.principle-rows span { color: var(--gold); }
.principle-rows h3 { font-size: clamp(26px, 2.3vw, 34px); }
.principle-rows p { color: #c3ccdb; margin: 0; max-width: 520px; }

/* Let's talk ------------------------------------------------------------- */
.talk {
  position: relative; color: #fff; text-align: center;
  padding: 160px var(--pad);
  background-color: var(--night); background-position: center 40%; background-size: cover; background-repeat: no-repeat;
}
.talk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5, 15, 31, .72), rgba(5, 15, 31, .88)); }
.talk-inner { position: relative; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.talk .section-label::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.talk h2 { font-size: clamp(42px, 4.8vw, 76px); }
.talk p { color: #dbe1ea; margin: 28px 0 40px; max-width: 600px; }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8vw; align-items: start; }
.contact-facts { margin-top: 56px; }
.contact-facts p { border-top: 1px solid var(--line); padding: 18px 0; margin: 0; color: var(--ink); }
.contact-facts p:last-child { border-bottom: 1px solid var(--line); }
.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: #8a6a26; }
.contact-form { background: var(--paper); padding: 56px; border-top: 2px solid var(--gold); box-shadow: 0 30px 60px -40px rgba(8, 24, 48, .35); }
.contact-form h3 { font-size: 34px; margin-bottom: 36px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-form label { display: block; margin-bottom: 28px; color: var(--ink); }
.contact-form label i { color: var(--gold); font-style: normal; }
input, textarea {
  display: block; width: 100%; border: 0; border-bottom: 1px solid #b9b4a8; 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: 28px; font-size: 14px; border-left: 2px solid; }
.success { background: #f3eee2; border-color: var(--gold); }
.error { background: #fff1ee; border-color: #b4472e; }

/* Footer ----------------------------------------------------------------- */
footer { background: var(--night); color: #c3ccdb; padding: 80px var(--pad) 48px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: auto 1fr auto; gap: 6vw; align-items: center; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-mark img { display: block; height: 130px; width: auto; }
.entity { max-width: 460px; margin: 0; color: #9aa6ba; line-height: 1.8; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-bottom { display: grid; grid-template-columns: auto 1fr; gap: 6vw; padding-top: 28px; font-size: 12px; }
.footer-bottom p { margin: 0; color: #7f8ba0; text-align: right; }

/* 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; }
  .scroll-cue { display: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav { gap: 26px; }
  .principle-rows li { grid-template-columns: 60px 1fr; row-gap: 10px; }
  .principle-rows p { grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-open .site-header { background: var(--ink); }
  .wordmark img { height: 44px; }
  .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); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--ink);
    padding: 36px var(--pad); 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-dark); }
  .nav a::after { display: none; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }

  .hero { min-height: 640px; background-position: 70% center; }
  .hero::before { background: linear-gradient(0deg, rgba(5, 15, 31, .95) 0%, rgba(5, 15, 31, .55) 60%, rgba(5, 15, 31, .6) 100%); }
  .hero-copy { padding-bottom: 88px; }
  .scroll-cue { display: none; }
  .corridor { grid-template-columns: 1fr; gap: 26px; padding: 44px var(--pad); }
  .section, .principles { padding: 96px var(--pad); }
  .about, .contact { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; }
  .services-head { grid-template-columns: 1fr; gap: 28px; }
  .services-body { grid-template-columns: 1fr; margin-top: 56px; gap: 56px; }
  .services-media { position: relative; top: 0; aspect-ratio: 16 / 9; }
  .principles-head { grid-template-columns: 1fr; gap: 48px; }
  .principle-rows { margin-top: 56px; }
  .principle-rows li:hover { padding-left: 0; padding-right: 0; background: none; }
  .talk { padding: 120px var(--pad); }
  .contact { gap: 56px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 24px; text-align: left; }
  .footer-bottom { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom p { text-align: left; }
  .footer-mark img { height: 110px; }
}

@media (max-width: 560px) {
  :root { --pad: 6vw; }
  .hero h1 { font-size: 44px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .eyebrow { letter-spacing: .18em; font-size: 10px; }
  .section, .principles { padding: 80px var(--pad); }
  .lane { gap: 14px; letter-spacing: .18em; font-size: 10px; }
  .about-media { aspect-ratio: 4 / 5; }
  .service-list article { grid-template-columns: 1fr; }
  .service-list b { line-height: 1; margin-bottom: 14px; }
  .principle-rows li { grid-template-columns: 1fr; }
  .principle-rows p { grid-column: auto; }
  .principle-rows span { margin-bottom: 12px; }
  .talk { padding: 96px var(--pad); }
  .contact-form { padding: 36px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .button { width: 100%; }
  .hero-actions .button { width: auto; }
}
