/* Tight Lines Investments — shared styles */
:root {
  --navy-900: #071726;
  --navy-800: #0b2238;
  --navy-700: #12304d;
  --brand: #1a5091;
  --brand-light: #3f7cc4;
  --gold: #d9a35b;
  --sand: #f6f2ea;
  --paper: #ffffff;
  --ink: #1b2430;
  --ink-soft: #55606e;
  --line: #e4ddd0;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 22px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 58px; width: auto; filter: brightness(0) invert(1); transition: height .35s, filter .35s; }
.site-header.solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); padding: 12px 0; backdrop-filter: blur(8px); }
.site-header.solid .brand img { height: 46px; filter: none; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  text-decoration: none; color: #fff; font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .3s; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.site-header.solid .nav a { color: var(--navy-800); }
.nav .btn-nav { border: 1px solid rgba(255,255,255,.6); padding: 9px 18px; }
.nav .btn-nav::after { display: none; }
.site-header.solid .nav .btn-nav { border-color: var(--navy-800); }
.nav .btn-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: #fff; }
.site-header.solid .menu-toggle { color: var(--navy-800); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: var(--navy-900) center 40% / cover no-repeat;
  padding: 160px 0 110px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,23,38,.92) 0%, rgba(7,23,38,.7) 45%, rgba(7,23,38,.25) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold); font-weight: 500; }
.hero p.lead { font-size: 1.15rem; max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 2em; }
.hero .scroll-cue {
  position: absolute; right: 24px; bottom: 0; writing-mode: vertical-rl;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 14px;
}
.hero .scroll-cue::after { content: ""; width: 1px; height: 60px; background: rgba(255,255,255,.5); }

.page-hero { min-height: 62vh; padding-bottom: 80px; }
.page-hero h1 { max-width: none; }

.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 18px 30px; border: 1px solid transparent; transition: all .25s;
}
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--brand); }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy-800); color: #fff; }
.bg-navy p { color: rgba(255,255,255,.78); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .media { position: relative; }
.split .media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split .media::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); z-index: -1;
}
.split .text p { color: var(--ink-soft); font-size: 1.05rem; }

.stats { display: flex; gap: 48px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--brand); line-height: 1; }
.stats span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* Quote band */
.quote-band {
  position: relative; color: #fff; text-align: center;
  background: var(--navy-900) center / cover no-repeat fixed;
  padding: 170px 0;
}
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(7,23,38,.62); }
.quote-band .wrap { position: relative; max-width: 900px; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.3; font-style: italic; }
.quote-band blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: 20px; }

/* Portfolio grid */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.section-head p { max-width: 460px; color: var(--ink-soft); margin: 0; }
.portfolio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.portfolio a {
  background: #fff; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; padding: 24px; gap: 14px; transition: background .3s;
}
.portfolio a img { width: 88%; height: 140px; max-width: none; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .35s; }
.portfolio a span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.portfolio a:hover { background: var(--sand); }
.portfolio a:hover img { filter: none; opacity: 1; transform: scale(1.04); }

/* Team cards */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.member { background: #fff; display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 34px; border: 1px solid var(--line); align-items: start; }
.member img { width: 200px; aspect-ratio: 1; object-fit: cover; }
.member h3 { margin-bottom: .15em; }
.member .role { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; display: block; }
.member p { color: var(--ink-soft); font-size: .98rem; }

.team-full { display: grid; gap: 70px; }
.bio { display: grid; grid-template-columns: 340px 1fr; gap: 70px; align-items: start; }
.bio:nth-child(even) { grid-template-columns: 1fr 340px; }
.bio:nth-child(even) .bio-photo { order: 2; }
.bio-photo { position: relative; }
.bio-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bio-photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.bio p { color: var(--ink-soft); }

/* Investments page */
.holding { display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.holding:last-child { border-bottom: 0; }
.holding-logo { background: var(--sand); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 50px; }
.holding-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.holding-logo.photo { padding: 0; position: relative; overflow: hidden; }
.holding-logo.photo > img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.holding-logo.photo .badge { position: absolute; left: 20px; bottom: 20px; background: #fff; padding: 14px 18px; }
.holding-logo.photo .badge img { height: 44px; }
.holding .num { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-style: italic; display: block; margin-bottom: 6px; }
.holding .tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); border: 1px solid #c9d6e8; padding: 5px 10px; margin-bottom: 18px; }
.holding p { color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-info p { color: var(--ink-soft); }
.form { display: grid; gap: 22px; }
.form label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; color: var(--navy-800); }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); padding: 15px 16px; border-radius: 0; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form textarea { min-height: 160px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-size: .9rem; color: var(--brand); min-height: 1.4em; margin: 0; }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto .5em; }
.cta p { max-width: 560px; margin: 0 auto 2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 80px 0 34px; font-size: .92rem; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer-top img { height: 62px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-top p { max-width: 340px; margin-top: 18px; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.footer-links a { display: block; text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 90px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: 1fr; }
  .bio, .bio:nth-child(even) { grid-template-columns: 1fr; gap: 40px; }
  .bio:nth-child(even) .bio-photo { order: 0; }
  .bio-photo { max-width: 340px; }
  .holding { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .quote-band { background-attachment: scroll; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-900); flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a, .site-header.solid .nav a { color: #fff; font-size: 1rem; }
  .nav .btn-nav, .site-header.solid .nav .btn-nav { border-color: rgba(255,255,255,.6); }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open .menu-toggle { color: #fff; position: relative; z-index: 60; }
  .brand img { height: 46px; }
  .member { grid-template-columns: 1fr; }
  .member img { width: 140px; }
  .split .media::after, .bio-photo::after { inset: 14px -10px -14px 14px; }
  .stats { gap: 28px; flex-wrap: wrap; }
  .form .row { grid-template-columns: 1fr; }
  .footer-links { gap: 40px; }
  .hero .scroll-cue { display: none; }
  .holding-logo { padding: 30px; }
}
.portfolio a[href$="#smoker"] img { width: 70%; }
.portfolio a[href$="#tackle-up"] img { width: 100%; }
.holding-logo { background: #fff; border: 1px solid var(--line); padding: 30px; }
.holding-logo:not(.photo) img { width: 85%; height: 85%; }
.holding-logo.photo { border: 0; }
@media (max-width: 760px) {
  .portfolio a { padding: 16px; }
  .portfolio a img { height: 90px; }
  .portfolio a span { font-size: .66rem; letter-spacing: .08em; }
  .split .media, .bio-photo { margin-right: 10px; }
}
@media (max-width: 760px) {
  .site-header.solid { backdrop-filter: none; }
  .nav { height: 100vh; height: 100dvh; }
}
