/*
Theme Name: 1795 Capital
Theme URI: https://1795capital.com
Author: 1795 Capital
Author URI: https://1795capital.com
Description: Custom single-page brochure theme for 1795 Capital, the industrial real estate investment platform of Miami Nation Enterprises (the investment arm of the Miami Tribe of Oklahoma). Permanent capital. Real assets.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://1795capital.com
Text Domain: 1795-capital
Tags: one-column, custom-colors, full-width-template
*/

:root {
    --miami-red: #8B1E2D;
    --miami-red-deep: #6F1824;
    --charcoal: #1F1F20;
    --charcoal-soft: #2A2A2B;
    --bone: #F2EFE9;
    --bone-deep: #E8E4DC;
    --sand: #C6B89D;
    --sand-light: #D8CEB8;
    --white: #FFFFFF;
    --text-primary: #1F1F20;
    --text-secondary: #5A5A5C;
    --text-muted: #8A8A8C;
    --text-on-dark: #F2EFE9;
    --text-on-dark-muted: rgba(242, 239, 233, 0.65);
    --rule-light: rgba(242, 239, 233, 0.15);
    --rule-dark: #D8D3CA;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
  }

  /* ===== NAVIGATION ===== */
  nav {
    position: fixed;
    top: 0; width: 100%; z-index: 100;
    padding: 1.25rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(31, 31, 32, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(242, 239, 233, 0.08);
  }

  .logo {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    text-decoration: none;
  }

  .logo-year {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
  }

  .logo-name {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-on-dark);
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s;
  }

  .nav-links a:hover { color: var(--text-on-dark); }

  .nav-cta {
    padding: 0.55rem 1.25rem;
    border: 1px solid var(--miami-red);
    background: var(--miami-red);
    color: var(--text-on-dark);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
  }

  .nav-cta:hover { background: var(--miami-red-deep); border-color: var(--miami-red-deep); }

  /* Mobile menu toggle (hidden on desktop) */
  .nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-on-dark);
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Accessibility helper: visually hide form labels but keep them for screen readers */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3.5rem 6rem;
    position: relative;
    background: var(--charcoal);
    color: var(--text-on-dark);
    overflow: hidden;

    /* HERO BACKGROUND IMAGE: place your image (e.g. hero.jpg) in the same folder
       as this HTML file, then uncomment the three lines below. */
    /* background-image: url('hero.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(31, 31, 32, 0.88) 0%, rgba(31, 31, 32, 0.92) 60%, rgba(31, 31, 32, 1) 100%),
      linear-gradient(135deg, rgba(139, 30, 45, 0.08) 0%, transparent 50%);
  }

  /* Subtle architectural placeholder pattern */
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(90deg, rgba(242, 239, 233, 0.025) 1px, transparent 1px),
      linear-gradient(rgba(242, 239, 233, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.7;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeUp 0.9s ease 0.15s both;
  }

  .hero-wordmark {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .hero-wordmark .year {
    font-family: 'Fraunces', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    letter-spacing: -0.02em;
    line-height: 1;
  }

  .hero-wordmark .name {
    font-family: 'Fraunces', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-on-dark);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
  }

  .hero-accent {
    display: block;
    width: 120px;
    height: 3px;
    background: var(--miami-red);
    margin-bottom: 2.5rem;
  }

  .hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--miami-red);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.015em;
    max-width: 820px;
  }

  .hero-sub {
    font-size: 1.1rem;
    color: var(--text-on-dark-muted);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 300;
  }

  .hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .btn-primary {
    display: inline-block;
    padding: 0.95rem 2.2rem;
    background: var(--miami-red);
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
  }

  .btn-primary:hover { background: var(--miami-red-deep); }

  .btn-secondary {
    display: inline-block;
    padding: 0.95rem 2.2rem;
    border: 1px solid rgba(242, 239, 233, 0.3);
    color: var(--text-on-dark);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s;
  }

  .btn-secondary:hover {
    border-color: var(--text-on-dark);
    background: rgba(242, 239, 233, 0.05);
  }

  /* ===== SECTION SHARED ===== */
  section { padding: 7rem 3.5rem; }
  .section-inner { max-width: 1180px; margin: 0 auto; }

  .section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--miami-red);
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--miami-red);
  }

  .section-heading {
    font-family: 'Fraunces', serif;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    color: var(--charcoal);
  }

  .section-intro {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.75;
    font-weight: 300;
  }

  /* ===== PLATFORM ===== */
  #platform {
    background: var(--bone);
    border-bottom: 1px solid var(--rule-dark);
  }

  .platform-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }

  .platform-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
  }

  .platform-text p:last-child { margin-bottom: 0; }

  .platform-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--rule-dark);
  }

  .platform-stat h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
  }

  .platform-stat p {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
  }

  /* ===== STRATEGY ===== */
  #strategy {
    background: var(--white);
  }

  .strategy-header {
    margin-bottom: 4rem;
    max-width: 720px;
  }

  .strategy-tables {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .strategy-block h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.005em;
  }

  .criteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule-dark);
  }

  .criteria-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--rule-dark);
  }

  .criteria-row.full-width {
    grid-column: 1 / -1;
  }

  .criteria-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.04em;
  }

  .criteria-value {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
  }

  .markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .market-tier {
    padding: 1.75rem 1.5rem;
    background: var(--bone);
    border-left: 3px solid var(--miami-red);
  }

  .market-tier:nth-child(2) { border-left-color: var(--sand); }
  .market-tier:nth-child(3) { border-left-color: var(--charcoal); }

  .market-tier-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.75rem;
  }

  .market-tier-value {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.4;
  }

  .interest-list {
    background: var(--bone);
    padding: 2.5rem 2.75rem;
    border-top: 2px solid var(--miami-red);
  }

  .interest-list h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
  }

  .interest-list ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
  }

  .interest-list li {
    font-size: 0.98rem;
    color: var(--text-secondary);
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
    font-weight: 400;
  }

  .interest-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.6em;
    width: 10px; height: 2px;
    background: var(--miami-red);
  }

  /* ===== APPROACH ===== */
  #approach {
    background: var(--charcoal);
    color: var(--text-on-dark);
  }

  #approach .section-heading { color: var(--text-on-dark); }
  #approach .section-intro { color: var(--text-on-dark-muted); }

  .approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
  }

  .approach-pillar {
    padding: 2.25rem 2rem;
    border-top: 2px solid var(--miami-red);
    background: var(--charcoal-soft);
  }

  .approach-pillar h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.005em;
  }

  .approach-pillar p {
    font-size: 0.98rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    font-weight: 300;
  }

  /* ===== CONTACT ===== */
  #contact {
    background: var(--bone);
    padding: 7rem 3.5rem;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-weight: 300;
  }

  .contact-direct {
    padding-top: 2rem;
    border-top: 1px solid var(--rule-dark);
  }

  .contact-direct-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .contact-email {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
  }

  .contact-phone {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--rule-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: border-color 0.25s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--miami-red);
  }

  .contact-form textarea {
    min-height: 140px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
  }

  .contact-form button {
    align-self: flex-start;
    margin-top: 0.75rem;
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--charcoal);
    color: var(--text-on-dark-muted);
    padding: 3.5rem 3.5rem 2.5rem;
  }

  .footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--rule-light);
  }

  .footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
  }

  .footer-logo .year {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-on-dark);
  }

  .footer-logo .name {
    font-family: 'Fraunces', serif;
    font-size: 0.95rem;
    color: var(--text-on-dark);
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .footer-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    font-weight: 500;
  }

  .footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(242, 239, 233, 0.5);
  }

  /* ===== ANIMATION ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 960px) {
    nav { padding: 1rem 1.5rem; }

    /* Hamburger replaces inline links on mobile */
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: rgba(31, 31, 32, 0.98);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(242, 239, 233, 0.08);
      padding: 0.5rem 1.5rem 1.5rem;
      transform: translateY(-10px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s, transform 0.2s;
    }

    .nav-links.is-open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .nav-links li { width: 100%; }

    .nav-links a {
      display: block;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(242, 239, 233, 0.08);
      font-size: 0.85rem;
    }

    .hero { padding: 7rem 1.5rem 4rem; }
    .hero-wordmark { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .hero-wordmark .year { font-size: 3.2rem; }
    .hero-wordmark .name { font-size: 1.8rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { text-align: center; }
    section { padding: 4.5rem 1.5rem; }
    .section-heading { font-size: 1.9rem; }
    .platform-grid, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .platform-stats { grid-template-columns: 1fr; gap: 1.5rem; }
    .approach-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .markets-grid { grid-template-columns: 1fr; }
    .criteria-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: left; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
  }
