/* Boater Ventures International - shared design system.
   Extracted verbatim from index.php so every page matches.
   Interior-page components (dossier + article) are appended at the end. */

  :root{
    --navy: #0a1f3c;
    --navy-panel: #142d52;
    --steel: #1a3a5c;
    --gold: #d4a843;
    --gold-bright: #e8c468;
    --cream: #f5f1e8;
    --ink: #0c0c0c;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', system-ui, sans-serif;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  html{scroll-behavior:smooth;}

  body{
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
  }

  a{color:inherit;text-decoration:none;}

  img{max-width:100%;display:block;}

  /* ===== Compass rule divider (signature element) ===== */
  .compass-rule{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding: 0;
    width:100%;
  }
  .compass-rule .line{
    flex:1;
    height:1px;
    background: linear-gradient(to right, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  }
  .compass-rule .tick{
    width:0;height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-bottom:8px solid var(--gold);
    flex-shrink:0;
  }
  .compass-rule.light .line{
    background: linear-gradient(to right, transparent, var(--navy) 15%, var(--navy) 85%, transparent);
  }
  .compass-rule.light .tick{ border-bottom-color: var(--navy); }

  .section-divider{
    max-width:1100px;
    margin: 0 auto;
    padding: 0 5%;
  }

  /* ===== Header / Nav ===== */
  header{
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top:0;
    z-index: 100;
  }
  .nav-wrap{
    max-width:1300px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 5%;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:14px;
  }
  .brand img{
    height:54px;
    width:auto;
  }
  .brand-text .name{
    font-family: var(--serif);
    color: var(--gold-bright);
    font-size: 1.35rem;
    font-weight:700;
    letter-spacing:0.5px;
    line-height:1.1;
  }
  .brand-text .tagline{
    color: rgba(245,241,232,0.65);
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top:3px;
    max-width: 320px;
    line-height: 1.4;
  }
  nav ul{
    display:flex;
    gap: 36px;
    list-style:none;
  }
  nav a{
    color: var(--cream);
    font-size: 0.85rem;
    font-weight:500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position:relative;
    padding-bottom: 4px;
  }
  nav a::after{
    content:'';
    position:absolute;
    left:0; bottom:0;
    width:0; height:1px;
    background: var(--gold);
    transition: width 0.25s ease;
  }
  nav a:hover{ color: var(--gold-bright); }
  nav a:hover::after{ width:100%; }

  .nav-toggle{ display:none; }

  /* ===== Hero ===== */
  .hero{
    background: radial-gradient(ellipse at 75% 30%, rgba(212,168,67,0.10), transparent 55%), var(--navy);
    color: var(--cream);
    position: relative;
    overflow:hidden;
    padding: 90px 5% 110px;
  }
  .hero::before{
    content:'';
    position:absolute;
    inset:0;
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(212,168,67,0.035) 39px),
      repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(212,168,67,0.035) 39px);
    pointer-events:none;
  }
  .hero-inner{
    max-width:1300px;
    margin:0 auto;
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items:center;
    gap: 60px;
    position:relative;
  }
  .hero-eyebrow{
    font-size:0.75rem;
    letter-spacing:3px;
    text-transform:uppercase;
    color: var(--gold-bright);
    font-weight:600;
    margin-bottom: 22px;
    display:flex;
    align-items:center;
    gap:14px;
  }
  .hero-eyebrow .stub{
    width:38px; height:1px;
    background: var(--gold);
  }
  .hero h1{
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    line-height: 1.12;
    font-weight: 600;
    margin-bottom: 26px;
    color: var(--cream);
  }
  .hero h1 em{
    font-style: italic;
    color: var(--gold-bright);
  }
  .hero p.lead{
    font-size: 1.08rem;
    color: rgba(245,241,232,0.78);
    max-width: 540px;
    margin-bottom: 38px;
  }
  .hero-cta{
    display:flex;
    gap: 18px;
    flex-wrap:wrap;
  }
  .btn{
    display:inline-block;
    padding: 15px 34px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--gold);
    transition: all 0.25s ease;
  }
  .btn-primary{
    background: var(--gold);
    color: var(--navy);
  }
  .btn-primary:hover{
    background: var(--gold-bright);
    transform: translateY(-2px);
  }
  .btn-ghost{
    background: transparent;
    color: var(--cream);
    border-color: rgba(245,241,232,0.35);
  }
  .btn-ghost:hover{
    border-color: var(--gold);
    color: var(--gold-bright);
  }

  .hero-emblem{
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .hero-emblem img{
    width: 62%;
    filter: drop-shadow(0 18px 50px rgba(0,0,0,0.45));
  }

  .hero-meta-row{
    max-width:1300px;
    margin: 70px auto 0;
    position:relative;
    display:grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid rgba(212,168,67,0.2);
    padding-top: 28px;
  }
  .hero-meta-row .stat{
    text-align:center;
    border-right: 1px solid rgba(212,168,67,0.15);
  }
  .hero-meta-row .stat:last-child{ border-right:none; }
  .hero-meta-row .stat .num{
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold-bright);
    font-weight:600;
  }
  .hero-meta-row .stat .lbl{
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245,241,232,0.6);
    margin-top: 6px;
  }

  /* ===== Section base ===== */
  .section{
    padding: 90px 5%;
  }
  .section-inner{
    max-width: 1100px;
    margin: 0 auto;
  }
  .section.dark{
    background: var(--navy);
    color: var(--cream);
  }
  .section-head{
    margin-bottom: 56px;
    max-width: 680px;
  }
  .section-head .eyebrow{
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--steel);
    font-weight: 700;
    margin-bottom: 14px;
  }
  .section.dark .section-head .eyebrow{ color: var(--gold-bright); }
  .section-head h2{
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height:1.2;
  }
  .section-head p{
    margin-top: 18px;
    font-size: 1.02rem;
    color: #4a4a4a;
  }
  .section.dark .section-head p{ color: rgba(245,241,232,0.72); }

  /* ===== Overview ===== */
  .overview-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items:start;
  }
  .overview-grid p{
    color:#3a3a3a;
    margin-bottom: 18px;
    font-size: 1.02rem;
  }
  .overview-grid .pull{
    border-left: 3px solid var(--gold);
    padding: 4px 0 4px 24px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--navy);
    line-height:1.5;
  }

  /* ===== Competencies — ledger grid ===== */
  .ledger{
    border: 1px solid rgba(212,168,67,0.25);
    border-radius: 2px;
    overflow:hidden;
  }
  .ledger-row{
    display:grid;
    grid-template-columns: 90px 1fr;
    border-bottom: 1px solid rgba(212,168,67,0.15);
  }
  .ledger-row:last-child{ border-bottom:none; }
  .ledger-row:nth-child(even){
    background: rgba(212,168,67,0.04);
  }
  .ledger-mark{
    display:flex;
    align-items:center;
    justify-content:center;
    border-right: 1px solid rgba(212,168,67,0.15);
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-bright);
    font-size: 0.95rem;
    padding: 28px 10px;
    text-align:center;
    letter-spacing:1px;
  }
  .ledger-body{
    padding: 28px 32px;
  }
  .ledger-body h3{
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight:600;
    margin-bottom: 8px;
    color: var(--gold-bright);
  }
  .ledger-body p{
    color: rgba(245,241,232,0.72);
    font-size: 0.98rem;
    max-width: 640px;
  }

  /* ===== Executive bio ===== */
  .bio-grid{
    display:grid;
    grid-template-columns: 320px 1fr;
    gap: 56px;
    align-items:start;
  }
  .bio-card{
    background: var(--navy);
    color: var(--cream);
    padding: 40px 32px;
    border: 1px solid var(--gold);
    position:relative;
  }
  .bio-card::before{
    content:'';
    position:absolute;
    top:10px; left:10px; right:10px; bottom:10px;
    border: 1px solid rgba(212,168,67,0.3);
    pointer-events:none;
  }
  .bio-card .rank{
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform:uppercase;
    color: var(--gold-bright);
    margin-bottom: 14px;
  }
  .bio-card h3{
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight:700;
    margin-bottom: 6px;
  }
  .bio-card .role{
    font-size: 0.85rem;
    color: rgba(245,241,232,0.65);
    margin-bottom: 22px;
  }
  .bio-card .based{
    font-size: 0.78rem;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color: var(--gold-bright);
    border-top: 1px solid rgba(212,168,67,0.25);
    padding-top: 18px;
    margin-top: 6px;
  }
  .bio-card .photo{
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(212,168,67,0.35);
    margin-bottom: 22px;
    filter: grayscale(0.15) contrast(1.05);
  }
  .bio-card .photo img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center 30%;
  }

  .bio-content p{
    color: #3a3a3a;
    margin-bottom: 18px;
    font-size: 1.02rem;
  }
  .bio-list{
    list-style:none;
    margin-top: 28px;
    border-top: 1px solid rgba(10,31,60,0.1);
  }
  .bio-list li{
    padding: 20px 0;
    border-bottom: 1px solid rgba(10,31,60,0.1);
    display:grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
  .bio-list .role-label{
    font-family: var(--serif);
    font-style:italic;
    font-weight:600;
    color: var(--navy);
    font-size: 1rem;
  }
  .bio-list .role-desc{
    color: #4a4a4a;
    font-size: 0.96rem;
  }

  /* ===== Contact ===== */
  .contact-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .contact-info .item{
    display:flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items:flex-start;
  }
  .contact-info .icon{
    width: 42px; height:42px;
    border: 1px solid var(--gold);
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--gold-bright);
    font-size: 1.1rem;
  }
  .contact-info .item h4{
    font-family: var(--serif);
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--gold-bright);
  }
  .contact-info .item p, .contact-info .item a{
    color: rgba(245,241,232,0.75);
    font-size: 0.95rem;
  }

  form{
    display:flex;
    flex-direction:column;
    gap: 18px;
  }
  .field-row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  label{
    display:block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform:uppercase;
    color: var(--gold-bright);
    margin-bottom: 8px;
  }
  input, textarea{
    width:100%;
    background: rgba(245,241,232,0.04);
    border: 1px solid rgba(212,168,67,0.3);
    color: var(--cream);
    padding: 13px 14px;
    font-family: var(--sans);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
  }
  input:focus, textarea:focus{
    outline:none;
    border-color: var(--gold);
  }
  textarea{ min-height: 120px; resize: vertical; }
  ::placeholder{ color: rgba(245,241,232,0.3); }

  /* ===== Footer ===== */
  footer{
    background: var(--navy);
    color: rgba(245,241,232,0.55);
    padding: 36px 5% 30px;
    border-top: 3px solid var(--gold);
    text-align:center;
  }
  footer .foot-brand{
    font-family: var(--serif);
    color: var(--gold-bright);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform:uppercase;
    margin-bottom:14px;
  }
  footer .foot-links{
    font-size: 0.82rem;
    margin-top: 14px;
  }
  footer .foot-links a{
    color: rgba(245,241,232,0.6);
    margin: 0 10px;
  }
  footer .foot-links a:hover{ color: var(--gold-bright); }

  /* ===== Responsive ===== */
  @media (max-width: 900px){
    .hero-inner{
      grid-template-columns: 1fr;
      text-align:center;
    }
    .hero-eyebrow{ justify-content:center; }
    .hero p.lead{ margin-left:auto; margin-right:auto; }
    .hero-cta{ justify-content:center; }
    .hero-emblem{ order:-1; max-width:320px; margin:0 auto 20px; }
    .hero-meta-row{ grid-template-columns: 1fr; gap: 24px; }
    .hero-meta-row .stat{ border-right:none; border-bottom: 1px solid rgba(212,168,67,0.15); padding-bottom:18px; }
    .hero-meta-row .stat:last-child{ border-bottom:none; padding-bottom:0; }

    .overview-grid, .bio-grid, .contact-grid{
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .ledger-row{ grid-template-columns: 1fr; }
    .ledger-mark{ border-right:none; border-bottom: 1px solid rgba(212,168,67,0.15); padding: 14px; }
    .bio-list li{ grid-template-columns: 1fr; gap: 6px; }
    .field-row{ grid-template-columns: 1fr; }

    nav ul{ display:none; }
  }

  @media (max-width: 560px){
    .brand-text .name{ font-size: 1.05rem; }
    .brand img{ height:42px; }
    .hero{ padding: 60px 5% 70px; }
  }

  /* Focus visibility */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
  }

  /* ===== Anti-bot honeypot =====
     Must stay visually hidden WITHOUT display:none — some bots skip
     display:none fields. Humans never see or tab into it; bots fill it. */
  .hp-wrap{
    position:absolute !important;
    left:-9999px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
  }

  /* ===== Form status banner ===== */
  .form-status{
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .form-status.ok{
    background: rgba(212,168,67,0.12);
    border: 1px solid var(--gold);
    color: var(--cream);
  }
  .form-status.err{
    background: rgba(190,60,60,0.12);
    border: 1px solid #c25b5b;
    color: var(--cream);
  }
  .form-status strong{ display:block; margin-bottom:4px; font-weight:600; }

/* ==========================================================================
   INTERIOR PAGES — dossier & article components
   ========================================================================== */

/* ----- Compact hero for interior pages ----- */
.page-hero{
  background: radial-gradient(ellipse at 70% 20%, rgba(212,168,67,0.10), transparent 55%), var(--navy);
  color: var(--cream);
  padding: 70px 6% 60px;
  border-bottom: 1px solid rgba(212,168,67,0.25);
}
.page-hero .inner{ max-width: 1300px; margin: 0 auto; }
.page-hero h1{
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 10px 0 16px;
}
.page-hero h1 em{ font-style: italic; color: var(--gold-bright); }
.page-hero .lead{
  font-size: 1.1rem;
  color: rgba(245,241,232,0.78);
  max-width: 760px;
}
.page-hero .kicker{
  display:flex; align-items:center; gap:12px;
  font-size:0.72rem; letter-spacing:0.22em; text-transform:uppercase;
  color: var(--gold-bright);
}
.page-hero .kicker .stub{ width:36px; height:1px; background: var(--gold); }

/* ----- Design particulars ledger ----- */
.particulars{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(212,168,67,0.25);
  margin-top: 44px;
}
.particulars .spec{
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid rgba(212,168,67,0.15);
  border-right: 1px solid rgba(212,168,67,0.15);
}
.particulars .spec .k{
  font-size:0.66rem; letter-spacing:0.2em; text-transform:uppercase;
  color: var(--gold); margin-bottom:6px;
}
.particulars .spec .v{
  font-family: var(--serif); font-size:1.08rem; color: var(--cream);
}

/* ----- Drawing / photo plates ----- */
.plate-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 34px;
  margin-top: 34px;
}
.plate{ margin: 0; }
.plate img{
  width:100%;
  border: 1px solid rgba(10,31,60,0.15);
  background: #fff;
}
.section.dark .plate img{ border-color: rgba(212,168,67,0.22); }
.plate figcaption{ margin-top: 12px; }
.plate .cap-title{
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.section.dark .plate .cap-title{ color: var(--gold-bright); }
.plate .cap-body{ font-size:0.92rem; line-height:1.55; }
.section.dark .plate .cap-body{ color: rgba(245,241,232,0.72); }
.plate .dwg{
  display:inline-block;
  margin-top: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,168,67,0.4);
  padding: 3px 8px;
}
.plate.wide{ grid-column: 1 / -1; }

/* ----- Provenance / caveat note ----- */
.note{
  border-left: 2px solid var(--gold);
  padding: 14px 0 14px 18px;
  margin-top: 34px;
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
}
.section.dark .note{ color: rgba(245,241,232,0.7); }

/* ----- Status strip ----- */
.status-strip{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(212,168,67,0.2);
  border: 1px solid rgba(212,168,67,0.2);
  margin-top: 40px;
}
.status-strip .cell{ background: var(--navy); padding: 22px 20px; }
.section:not(.dark) .status-strip .cell{ background: var(--cream); }
.status-strip .k{
  font-size:0.64rem; letter-spacing:0.2em; text-transform:uppercase;
  color: var(--gold); margin-bottom:8px;
}
.status-strip .v{ font-family: var(--serif); font-size:1.15rem; }

/* ==========================================================================
   ARTICLES
   ========================================================================== */
.article-list{ display:flex; flex-direction:column; gap: 0; }
.article-card{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(10,31,60,0.12);
  align-items:start;
}
.article-card:first-child{ padding-top: 0; }
.article-card img{ width:100%; border:1px solid rgba(10,31,60,0.15); }
.article-card .meta{
  font-size:0.68rem; letter-spacing:0.2em; text-transform:uppercase;
  color: var(--steel); margin-bottom:10px;
}
.article-card h3{
  font-family: var(--serif); font-size:1.7rem; font-weight:600;
  line-height:1.2; margin-bottom:12px;
}
.article-card .standfirst{
  font-family: var(--serif); font-style:italic;
  font-size:1.05rem; color: var(--steel); margin-bottom:14px;
}

/* ----- Long-form article body ----- */
.article-body{ max-width: 760px; margin: 0 auto; }
.article-body > p{ margin-bottom: 20px; font-size:1.03rem; line-height:1.75; }
.article-body h3{
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 44px 0 6px;
}
.article-body h4{
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  margin: 30px 0 8px;
  color: var(--steel);
}
.article-body .byline{
  font-size:0.8rem; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--steel);
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(10,31,60,0.15);
}
.article-body .standfirst{
  font-family: var(--serif); font-style:italic;
  font-size:1.25rem; line-height:1.5; color: var(--steel);
  margin-bottom: 30px;
}
.article-body .kicker-quote{
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 34px 0;
}
.article-body .endnote{
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(10,31,60,0.15);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--steel);
}
.article-hero img{ width:100%; border:1px solid rgba(10,31,60,0.15); margin-bottom: 40px; }

@media (max-width: 900px){
  .article-card{ grid-template-columns: 1fr; gap: 22px; }
  .particulars .spec{ border-right:none; }
}