/* ==========================================================================
   Lobo Capital Partners — styles.css
   Navy / brass / paper. Serif headings, sans body. Photo-led, square corners,
   no decorative gradients. Mobile-first.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy:      #0E1B2A;
  --navy-2:    #13243A;
  --brass:     #B8975A;
  --brass-2:   #D2B77E;
  --paper:     #F4F1EA;
  --white:     #FFFFFF;
  --ink:       #0E1B2A;
  --ink-2:     #3A4550;
  --muted:     #6E7883;
  --line:      #E2DDD3;
  --line-dark: rgba(255,255,255,.14);

  --font-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-logo: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --fs-h1:   clamp(2.1rem, 4vw + .6rem, 3.6rem);
  --fs-h2:   clamp(1.7rem, 2.2vw + .8rem, 2.6rem);
  --fs-h3:   clamp(1.2rem, 1vw + .8rem, 1.45rem);
  --fs-lead: clamp(1.08rem, .4vw + .95rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .9rem;
  --fs-xs:   .78rem;

  --nav-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(.25,.6,.25,1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.18; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p  { margin: 0; max-width: 66ch; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--brass); color: var(--navy); padding: .75rem 1rem; font-weight: 600; z-index: 1000; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.76); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem;
}
.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: .9rem; }

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 720px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: 1fr 1fr; } }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem; font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--brass); color: var(--navy); }
.btn--primary:hover { background: var(--brass-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.textlink { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
.section--dark .textlink { color: #fff; }

/* 5. Navigation ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; color: #fff;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav.is-scrolled { background: rgba(14,27,42,.94); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; line-height: 1; }
.brand .mark { width: 26px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: .3rem; }
.brand__name { font-family: var(--font-logo); font-weight: 600; font-size: 1.25rem; letter-spacing: .1em; }
.brand__sub { font-family: var(--font-body); font-weight: 500; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-2); white-space: nowrap; }
@media (max-width: 480px) { .nav .brand__sub { display: none; } }
.nav__links { display: none; align-items: center; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: .5rem 0; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--brass-2); transition: right .3s var(--ease); }
.nav__links a:hover::after { right: 0; }
@media (min-width: 960px) { .nav__links { display: flex; } }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 960px) { .nav__toggle { display: none; } }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90; background: var(--navy); color: #fff; padding: 1.5rem 1.25rem 2rem;
  display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 1rem .25rem; font-family: var(--font-head); font-size: 1.4rem; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
body.menu-open { overflow: hidden; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; background: var(--navy); overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__tint { position: absolute; inset: 0; background: var(--navy); mix-blend-mode: multiply; opacity: .42; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,42,.35) 0%, rgba(14,27,42,0) 30%, rgba(14,27,42,0) 55%, rgba(14,27,42,.82) 100%); }
.hero__inner { position: relative; height: 100%; }
.hero__brand { position: absolute; left: 0; top: 30%; display: grid; gap: .9rem; padding-left: 1.6rem; border-left: 3px solid var(--brass); }
.hero__mark { width: clamp(44px, 5vw, 64px); height: auto; }
.hero__name { font-family: var(--font-logo); font-weight: 600; font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: .14em; line-height: .95; color: #fff; margin: 0; }
.hero__rule { display: flex; align-items: center; gap: .9rem; }
.hero__rule span { width: 44px; height: 2px; background: var(--brass); }
.hero__rule em { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: clamp(.8rem, 1.1vw, 1rem); letter-spacing: .4em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 4.5rem); display: grid; gap: 1.25rem; }
.hero__statement { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 2.15rem); line-height: 1.3; color: #fff; max-width: 30em; }
.hero__meta { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.28); display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); }
.hero__scroll { position: absolute; right: 0; bottom: clamp(2rem, 6vh, 4.5rem); display: none; align-items: center; gap: .75rem; writing-mode: vertical-rl; text-decoration: none; color: rgba(255,255,255,.7); font-size: var(--fs-xs); letter-spacing: .3em; text-transform: uppercase; }
.hero__scroll span { width: 1px; height: 56px; background: rgba(255,255,255,.5); }
@media (min-width: 960px) { .hero__scroll { display: flex; } .hero__foot { padding-right: 4rem; } }
@media (max-width: 600px) { .hero__brand { top: 22%; } .hero__meta li:nth-child(n+3) { display: none; } }

/* 7. Statement + figures --------------------------------------------------- */
.statement__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .statement__grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; } }
.statement p + p { margin-top: 1.1rem; }
.figures { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figures div { background: #fff; padding: 1.5rem 1.4rem; }
.figures strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1; color: var(--navy); }
.figures span { display: block; margin-top: .5rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.4; }
.figures__note { font-size: var(--fs-xs); color: var(--muted); margin-top: .75rem; }

/* 8. Business columns ------------------------------------------------------ */
.cols { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.col { padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .col { padding: 2.25rem 2rem 2.25rem 0; border-right: 1px solid var(--line); } .col:last-child { border-right: 0; } .col + .col { padding-left: 2rem; } }
.col h3 { margin-bottom: .8rem; }
.col p { color: var(--ink-2); font-size: .98rem; }
.col ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .95rem; display: grid; gap: .3rem; }

/* 9. Projects -------------------------------------------------------------- */
.projects { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 860px) { .projects { grid-template-columns: repeat(3, 1fr); } .projects > .project:first-child { grid-column: span 2; } }
.project--placeholder { background: var(--navy-2); border: 1px dashed rgba(255,255,255,.28); min-height: 300px; }
.project--placeholder h3, .project--placeholder .project__loc, .project--placeholder p, .project--placeholder .project__facts { color: rgba(255,255,255,.55); }
.project { position: relative; display: flex; flex-direction: column; background: var(--navy); color: #fff; min-height: 380px; overflow: hidden; }
.project__img { position: absolute; inset: 0; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__img img { transform: scale(1.03); }
.project__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,42,.1) 0%, rgba(14,27,42,.35) 45%, rgba(14,27,42,.9) 100%); }
.project__body { position: relative; margin-top: auto; padding: clamp(1.4rem, 2.5vw, 2rem); display: grid; gap: .3rem; }
.project__tag { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; margin-bottom: .4rem; }
.project h3 { color: #fff; font-size: 1.45rem; }
.project__loc { font-size: var(--fs-small); color: rgba(255,255,255,.72); }
.project__facts { list-style: none; margin: .9rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: .3rem; font-size: var(--fs-small); color: rgba(255,255,255,.85); }
.project__facts li span { color: rgba(255,255,255,.55); }
.project--text { background: var(--navy-2); }
.project--text .project__body { margin-top: 0; padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.project--text p { color: rgba(255,255,255,.78); font-size: .95rem; margin-top: .6rem; }
.project--text .project__facts { margin-top: auto; }
.projects__note { margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--muted); max-width: none; }

/* 10. Partners ------------------------------------------------------------- */
.team { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.person { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 720px) { .person { grid-template-columns: 240px 1fr; gap: 2.5rem; } }
@media (min-width: 1000px) { .person { grid-template-columns: 300px 1fr; gap: 3.5rem; } }
.person__photo { width: 100%; max-width: 300px; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.person__role { color: var(--brass); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: .4rem 0 1rem; }
.person p { color: var(--ink-2); font-size: .98rem; max-width: 70ch; }
.person p + p { margin-top: .9rem; }
.person__links { margin-top: 1.1rem; display: flex; gap: 1.5rem; font-size: var(--fs-small); }

/* 11. Investors ------------------------------------------------------------ */
.who { display: grid; gap: 2rem; }
@media (min-width: 900px) { .who { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.who h3 { color: #fff; margin-bottom: .6rem; }
.who p { color: rgba(255,255,255,.76); font-size: .98rem; }
.who p + p { margin-top: .75rem; }
.who__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .55rem; color: rgba(255,255,255,.86); font-size: .95rem; }
.who__list li { padding-left: 1.1rem; position: relative; }
.who__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--brass); }

/* 12. Contact -------------------------------------------------------------- */
.contact__meta { display: grid; gap: 1.4rem; margin-top: 2rem; }
.contact__meta div { display: grid; gap: .2rem; }
.contact__meta dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.contact__meta dd { margin: 0; color: var(--ink-2); }
.contact__meta a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--brass); }
.form { background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--fs-small); color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .8rem .95rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid #CFC9BD; border-radius: 2px; transition: border-color .2s; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.form__footer { display: grid; gap: .9rem; }
.form__note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; max-width: none; }
.form__status { font-size: var(--fs-small); min-height: 1.2em; }
.form__status.is-error { color: #A3261E; }
.form__status.is-ok { color: #1E6B3A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 13. Footer --------------------------------------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: var(--fs-small); }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 880px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: #fff; }
.footer p { max-width: 46ch; margin-top: 1rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: var(--brass-2); }
.footer__legal { max-width: none; font-size: var(--fs-xs); color: rgba(255,255,255,.5); margin-top: 1.5rem; line-height: 1.6; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding-top: 1.5rem; font-size: var(--fs-xs); color: rgba(255,255,255,.5); }

/* 14. Reveal --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 15. Thank-you ------------------------------------------------------------ */
.thanks { min-height: 100svh; display: grid; place-items: center; background: var(--navy); color: #fff; padding: calc(var(--nav-h) + 2rem) 0 4rem; text-align: center; }
.thanks h1 { color: #fff; }
.thanks .lead { color: rgba(255,255,255,.75); margin: 1.25rem auto 2rem; }

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