/* Greenflower Capital — Southeast Florida private investment office */

:root {
  --paper: #faf9f6;
  --paper-2: #f3f1ea;
  --ink: #161b18;
  --ink-soft: #353c37;
  --muted: #565d56;
  --faint: #7e847d;
  --line: #e3e1d8;
  --line-2: #d6d3c8;
  --green: #1f3d2f;
  --green-soft: #2c5340;
  --sand: #8a7752;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.86);
  --on-dark-line: rgba(255, 255, 255, 0.22);
  --max: 1120px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
p { margin: 0; }
img { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 460;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
}
h2 {
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.16;
}
h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
}

.lede {
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
}

.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.on-dark {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid var(--on-dark-line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--green);
}
.on-dark .brand-mark { color: var(--on-dark); }
.brand-text { line-height: 1.05; }
.brand-text b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
}
.brand-text span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-dark .brand-text { color: var(--on-dark); }
.on-dark .brand-text span { color: var(--on-dark-soft); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.on-dark .nav { color: var(--on-dark-soft); }
.nav a {
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: var(--green); border-bottom-color: var(--line-2); }
.on-dark .nav a:hover { color: var(--on-dark); border-bottom-color: var(--on-dark-line); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.button.primary { background: var(--green); color: var(--on-dark); }
.button.primary:hover { background: var(--green-soft); }
.button.ghost { border-color: var(--line-2); color: var(--ink); }
.button.ghost:hover { border-color: var(--ink); }
.button.on-dark { border: 1px solid var(--on-dark-line); color: var(--on-dark); }
.button.on-dark:hover { border-color: var(--on-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}
.text-link::after { content: "\2192"; transition: transform 0.15s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(8, 14, 11, 0.55) 0%, rgba(8, 14, 11, 0.50) 30%, rgba(6, 11, 8, 0.93) 100%),
    url("/assets/miami-capital-hero.png") center 32% / cover no-repeat;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 72px;
  width: 100%;
}
.hero .eyebrow { color: #ffffff; opacity: 0.92; }
.hero h1 {
  max-width: 16ch;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}
.hero p {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Stat row ---------- */
.stat-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stat-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 480;
  font-size: 30px;
  line-height: 1;
  color: var(--green);
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.section-head h2 { max-width: 18ch; }
.section-head .lede { margin-top: 0; }

/* Editorial feature list (numbered, hairline-separated) */
.feature-list { display: grid; gap: 0; }
.feature {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .idx {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  color: var(--sand);
  padding-top: 0;
}
.feature .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  padding-top: 3px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 64ch; }

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.split-side h2 { margin-bottom: 18px; }
.split-side .text-link { margin-top: 22px; }

/* Plain card grid (whitespace, hairline top) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  padding: 30px 28px;
}
.card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card .logo {
  width: 84px;
  margin-bottom: 16px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.card .logo.wide { width: 172px; }
.card .logo img { width: 100%; }

/* Quiet definition list / credentials */
.def-list { border-top: 1px solid var(--line); }
.def-list .row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}
.def-list .row b {
  display: block;
  font-family: var(--serif);
  font-weight: 480;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 4px;
}
.def-list .row span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Italic serif accent for headlines */
.accent { font-style: italic; font-weight: 460; color: var(--green); }
.hero .accent, .photo-hero .accent, .image-band .accent { color: #fff; }

/* Full-width image band with large serif statement */
.image-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 14, 11, 0.52) 0%, rgba(6, 11, 8, 0.84) 100%),
    var(--photo) center / cover no-repeat;
}
.image-band .wrap { width: 100%; }
.image-band .eyebrow { color: #fff; opacity: 0.9; }
.image-band .statement { color: #fff; text-shadow: 0 1px 28px rgba(0, 0, 0, 0.45); }
.image-band p {
  margin-top: 20px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}
.image-band .button { margin-top: 28px; }

.statement {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(27px, 3.7vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 19ch;
}

/* ---------- Page hero (interior, light) ---------- */
.page-hero {
  padding: 92px 0 68px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 20ch; font-size: clamp(34px, 5vw, 54px); }
.page-hero p { margin-top: 24px; }
.page-hero.founder-page h1 { font-size: clamp(25px, 3vw, 34px); letter-spacing: -0.005em; }

/* Interior dark/photo hero (real estate) */
.photo-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(8, 14, 11, 0.45) 0%, rgba(6, 11, 8, 0.88) 100%),
    var(--photo) center / cover no-repeat;
}
.photo-hero .wrap { padding-bottom: 56px; padding-top: 120px; }
.photo-hero .eyebrow { color: #ffffff; opacity: 0.92; }
.photo-hero h1 { color: #ffffff; max-width: 18ch; font-size: clamp(34px, 5vw, 54px); font-weight: 500; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45); }
.photo-hero p { margin-top: 18px; max-width: 56ch; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4); }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: start;
}
.founder-body h2 { margin-bottom: 22px; max-width: 24ch; }
.founder-body .lede { margin-bottom: 22px; }
.founder-body p + p { margin-top: 16px; }
.founder-body p { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}
.contact .button { margin-top: 28px; }
.contact-aside h3 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 480;
  font-size: 18px;
}
.contact-aside .row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green);
  color: var(--on-dark-soft);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.footer .brand-mark { color: var(--on-dark); }
.footer .brand-text b { color: var(--on-dark); }
.footer .brand-text span { color: var(--on-dark-soft); }
.footer .fine {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--on-dark-soft);
}
.footer .fine a { color: var(--on-dark); }
.footer-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 12px;
  color: rgba(244, 241, 233, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { gap: 18px; font-size: 12.5px; }
  .section-head, .split, .founder, .contact { grid-template-columns: 1fr; gap: 32px; }
  .cards, .cards.two { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .header-inner { flex-wrap: wrap; gap: 14px 0; padding-top: 14px; padding-bottom: 14px; }
  .nav {
    order: 2;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }
  .on-dark .nav { border-top-color: var(--on-dark-line); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap, .header-inner, .hero-inner, .stat-grid, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 14px 18px; font-size: 12px; }
  .hero { min-height: 560px; }
  .hero-inner { padding-bottom: 52px; }
  .section { padding: 60px 0; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 8px; }
  .feature .idx { display: none; }
  .photo-hero .wrap { padding-top: 110px; }
  .button { width: 100%; justify-content: center; }
  .hero-actions .button { width: auto; }
}
