@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('fonts/Lexend.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root{
  --navy:#1b2b47;
  --teal:#05757a;
  --sand:#e5d4c2;
  --cream:#fdfbf8;
  --slate:#5b6270;
  --hair:#e3ded6;
  --lightteal:#e8f1f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin:0;
  font-family:'Lexend', system-ui, sans-serif;
  color:var(--navy);
  background:var(--cream);
  line-height:1.5;
}

/* ---------- Skip link ---------- */
.skip-link {
  position:absolute; left:-999px; top:auto;
  background:var(--navy); color:var(--cream);
  padding:0.8rem 1.2rem; z-index:100;
  font-weight:600; text-decoration:none; border-radius:0 0 6px 0;
}
.skip-link:focus {
  left:0; top:0;
}

/* ---------- Focus visibility (keyboard users) ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Layout shell ---------- */
.site-header, .site-footer, main > section {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
main > section {
  border-bottom: 1px solid var(--hair);
}
main > section:last-of-type { border-bottom: none; }

.brand-row {
  display:flex; align-items:center; justify-content:space-between;
  max-width:760px; margin:0 auto; padding:1.25rem;
}
.brand-row img { height:34px; }
.brand-row .section-tag {
  font-size:0.72rem; letter-spacing:1.5px; color:#9a9a95; font-weight:500; text-transform:uppercase;
}

/* ---------- Cover / hero ---------- */
.hero {
  background:var(--navy); color:var(--cream);
  padding: 0;
  display:flex;
  flex-direction:column;
}
.hero-inner { width:100%; box-sizing:border-box; max-width:760px; margin:0 auto; padding:2.4rem 1.25rem 1.8rem; }
.hero .cover-logo img { height:44px; margin-bottom:1.4rem; }
.hero .cover-label { font-size:0.75rem; letter-spacing:1.5px; color:#b9c2d4; font-weight:500; margin-bottom:0.8rem; }
.hero h1 { font-family:'Playfair Display'; font-weight:400; font-size:clamp(1.7rem,4.4vw,2.3rem); line-height:1.18; margin:0 0 1rem 0; }
.hero h1 em { font-style:italic; }
.cover-rule { width:44px; height:3px; background:var(--teal); margin:0 0 1rem 0; border:0; }
.hero .cover-sub { font-size:0.96rem; color:#c9cedb; line-height:1.55; max-width:520px; }
.hero-photo { width:100%; }
.hero-photo img { width:100%; height:auto; display:block; max-height:480px; object-fit:cover; object-position:center 78%; }

/* Side-by-side full-bleed cover on wider screens, matching the print cover.
   Fills most of the first viewport (like a print cover fills the first page)
   so it reads as a deliberate opening, not just another content block —
   capped so it never gets absurd on very tall screens. */
@media (min-width:800px) {
  .hero { flex-direction:row; align-items:stretch; height:min(90vh, 760px); }
  .hero-inner {
    width:42%; max-width:none; margin:0; box-sizing:border-box;
    padding:3rem 2.4rem; display:flex; flex-direction:column; justify-content:space-between;
  }
  .hero .cover-logo img { height:46px; margin-bottom:1.4rem; }
  .hero h1 { font-size:clamp(1.7rem,2.8vw,2.3rem); }
  .hero-photo { width:58%; height:100%; }
  .hero-photo img { width:100%; height:100%; max-height:none; object-position:center 78%; }
}
.hero-footer {
  border-top:1px solid #33415c; margin-top:2rem; padding-top:1rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.5rem;
  font-size:0.8rem; color:#9aa3b5;
}
.hero-footer .tag { font-family:'Playfair Display'; font-style:italic; color:#c9cedb; }

/* ---------- Section chrome ---------- */
.page-kicker { font-family:'Lexend'; font-size:0.72rem; letter-spacing:1.5px; color:var(--slate); font-weight:500; text-transform:uppercase; margin:0 0 0.6rem 0; }
.overline { font-size:1rem; letter-spacing:0.5px; font-weight:600; color:var(--teal); margin:0 0 0.5rem 0; }
h2.headline { font-family:'Playfair Display'; font-weight:400; font-size:clamp(1.5rem,4vw,2rem); line-height:1.2; color:var(--navy); margin:0 0 0.8rem 0; }
h2.headline em { color:var(--teal); font-style:italic; }
p.lead { font-size:1.08rem; line-height:1.6; color:var(--slate); margin:0 0 1.2rem 0; }
.teal-rule { width:32px; height:3px; background:var(--teal); margin:0 0 1rem 0; }

h3.sub { font-family:'Lexend'; font-size:1.02rem; font-weight:700; letter-spacing:0.2px; color:var(--navy); margin:1.8rem 0 0.6rem 0; }
p.body { font-size:1rem; line-height:1.6; color:var(--slate); margin:0 0 0.9rem 0; }
p.body strong { color:var(--navy); font-weight:600; }

/* ---------- Two columns (Qué es / Qué no es) ---------- */
.cols2 { display:flex; flex-wrap:wrap; gap:2rem; margin-bottom:1.2rem; }
.cols2 .col { flex:1; min-width:240px; }
.cols2 h4 { font-family:'Lexend'; font-size:1.02rem; font-weight:600; color:var(--navy); margin:0 0 0.6rem 0; }
.cols2 ul { list-style:none; margin:0; padding:0; }
.cols2 li { font-size:0.97rem; color:var(--slate); line-height:1.5; padding:0.7rem 0; border-top:1px solid var(--hair); position:relative; padding-left:1.1rem; }
.cols2 li:before { content:"•"; color:var(--teal); position:absolute; left:0; }

/* ---------- Callout ---------- */
.callout { background:var(--navy); border-radius:8px; padding:1.4rem 1.6rem; margin:1rem 0; }
.callout .label { font-size:0.98rem; letter-spacing:0.4px; font-weight:600; color:var(--sand); margin:0 0 0.6rem 0; text-transform:uppercase; }
.callout p { font-family:'Playfair Display'; font-size:1.15rem; line-height:1.45; color:var(--cream); margin:0 0 0.6rem 0; }
.callout p:last-child { margin-bottom:0; }
.callout p em { color:var(--sand); font-style:italic; }
.callout p.small { font-family:'Lexend'; font-size:0.92rem; line-height:1.55; color:#dfe3ea; }

/* ---------- Stat / mini cards ---------- */
.statrow, .cardgrid, .subgrid, .rotationrow, .fractionrow, .weeksrow {
  display:flex; flex-wrap:wrap; gap:0.8rem; margin-bottom:1.2rem;
}
.cardgrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.statcard, .minicard, .subgrid .box, .rotationrow .yr, .fractionrow .f, .weeksrow .w {
  flex:1; min-width:150px; border-radius:8px; padding:1.1rem 1.2rem;
}
.statcard.navy { background:var(--navy); color:var(--cream); }
.statcard .big { font-family:'Playfair Display'; font-size:1.5rem; margin:0 0 0.3rem 0; }
.statcard .lbl { font-size:0.95rem; letter-spacing:0.2px; font-weight:600; margin:0 0 0.5rem 0; }
.statcard .desc { font-size:0.87rem; line-height:1.5; margin:0; color:#c9cedb; }

.minicard, .subgrid .box, .rotationrow .yr, .fractionrow .f { background:#f1ebe3; }
.minicard .lbl { font-size:0.95rem; font-weight:600; color:var(--teal); margin:0 0 0.4rem 0; text-transform:uppercase; }
.minicard .big { font-family:'Playfair Display'; font-size:1.15rem; color:var(--navy); margin:0 0 0.4rem 0; }
.minicard .desc { font-size:0.86rem; line-height:1.45; color:var(--slate); margin:0; }

.subgrid .box .lbl { font-size:0.95rem; letter-spacing:0.3px; font-weight:700; color:var(--teal); text-transform:uppercase; margin:0 0 0.4rem 0; }
.subgrid .box p { font-size:0.92rem; color:var(--slate); line-height:1.5; margin:0; }

.rotationrow .yr { text-align:center; }
.rotationrow .yr .y { font-size:0.78rem; letter-spacing:0.5px; color:var(--teal); font-weight:700; margin-bottom:0.3rem; }
.rotationrow .yr .seq { font-family:'Playfair Display'; font-size:1.15rem; color:var(--navy); }

.fractionrow .f { text-align:center; }
.fractionrow .f.me { background:var(--teal); }
.fractionrow .f .t { font-size:0.85rem; font-weight:600; color:var(--navy); }
.fractionrow .f.me .t { color:#fff; }
.fractionrow .f .p { font-size:0.78rem; color:var(--slate); }
.fractionrow .f.me .p { color:#dff0ef; }

.weeksrow .w { text-align:center; }
.weeksrow .w .n { font-family:'Playfair Display'; font-size:1.5rem; color:var(--teal); }
.weeksrow .w .t { font-size:0.78rem; color:var(--navy); font-weight:600; }

/* ---------- Fund blocks ---------- */
.fundblock { border-left:3px solid var(--teal); background:var(--lightteal); padding:0.9rem 1.1rem; margin-bottom:0.6rem; border-radius:0 6px 6px 0; }
.fundblock h4 { font-size:1rem; font-weight:600; color:var(--navy); margin:0 0 0.3rem 0; }
.fundblock p { font-size:0.94rem; line-height:1.55; color:var(--slate); margin:0; }

/* ---------- Numbered steps ---------- */
ol.steps { list-style:none; margin:0; padding:0; counter-reset: stepnum; }
ol.steps li { counter-increment: stepnum; position:relative; padding:0.7rem 0 0.7rem 3rem; border-top:1px solid var(--hair); }
ol.steps li::before {
  content: counter(stepnum);
  position:absolute; left:0; top:0.65rem;
  width:1.7rem; height:1.7rem; border-radius:50%;
  background:var(--teal); color:white;
  font-family:'Lexend'; font-size:0.8rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
ol.steps li b { font-size:1.02rem; color:var(--navy); display:block; margin-bottom:0.2rem; }
ol.steps li span { font-size:0.94rem; color:var(--slate); line-height:1.5; }

ol.inline-steps { margin:0 0 1rem 0; padding-left:1.2rem; }
ol.inline-steps li { font-size:0.96rem; color:var(--slate); line-height:1.55; margin-bottom:0.4rem; }
ol.inline-steps li b { color:var(--navy); }

/* ---------- Teal divider (standalone section) ---------- */
.divider-teal {
  background:var(--teal); color:var(--cream);
  padding: 3.5rem 1.25rem;
}
.divider-teal .accentwrap {
  max-width:760px; margin:0 auto;
  border-left:3px solid var(--sand); padding-left:1.2rem;
}
.divider-teal h2 { font-family:'Playfair Display'; font-style:italic; font-weight:400; font-size:clamp(1.6rem,4vw,2.1rem); color:var(--cream); line-height:1.25; margin:0 0 0.8rem 0; }
.divider-teal h2 em { color:var(--sand); }
.divider-teal p { font-family:'Lexend'; font-size:0.98rem; color:#d9efee; line-height:1.6; max-width:520px; margin:0; }

/* ---------- Full-bleed photo dividers ---------- */
.photo-divider { width:100%; max-width:1100px; margin:0 auto; }
.photo-divider img { width:100%; height:auto; max-height:520px; object-fit:cover; display:block; object-position:center; }
.photo-divider-arrival img { object-position:center 30%; }

/* ---------- Back cover / footer ---------- */
.site-footer { background:var(--cream); text-align:center; padding:4rem 1.25rem; }
.site-footer .bclogo img { height:60px; margin-bottom:1.5rem; }
.bcrule { width:36px; height:2px; background:var(--teal); margin:0 auto 1.5rem auto; border:0; }
.site-footer h2 { font-family:'Playfair Display'; font-weight:400; font-size:clamp(1.6rem,4vw,2.3rem); color:var(--navy); margin:0 0 1rem 0; line-height:1.2; }
.site-footer h2 em { color:var(--teal); font-style:italic; }
.site-footer p.bcsub { font-size:1rem; color:var(--slate); margin:0 auto 1.5rem auto; max-width:420px; line-height:1.55; }
.btn-primary { display:inline-block; background:var(--teal); color:white; font-weight:600; font-size:0.95rem; letter-spacing:0.3px; text-decoration:none; padding:0.85rem 1.8rem; border-radius:40px; margin:0 0 1rem 0; }
.btn-primary:hover, .btn-primary:focus-visible { background:#046267; }
.btn-outline { display:inline-block; border:1.5px solid var(--teal); color:var(--teal); font-weight:600; font-size:0.95rem; text-decoration:none; padding:0.75rem 1.6rem; border-radius:40px; margin:0 0 1.5rem 0; }
.btn-outline:hover, .btn-outline:focus-visible { background:var(--lightteal); }
.contact-list { list-style:none; margin:0 0 1rem 0; padding:0; }
.contact-list li { margin:0.3rem 0; }
.contact-list a { color:var(--slate); font-size:0.92rem; text-decoration:none; }
.contact-list a:hover, .contact-list a:focus-visible { color:var(--teal); text-decoration:underline; }
.bctagline { font-family:'Playfair Display'; font-style:italic; font-size:0.95rem; color:var(--teal); margin-top:1rem; }

/* ---------- Small print note ---------- */
.finenote { font-size:0.78rem; font-style:italic; color:var(--slate); margin-top:1rem; }

/* ---------- Print ---------- */
@media print {
  @page { size: letter; margin: 15mm; }
  .skip-link, .print-hint { display:none !important; }
  body { background:#fff; }
  a { color:inherit; text-decoration:none; }
  a[href]:after { content:""; }

  /* Cap photos so a single image never spans more than one printed page */
  .hero-photo img, .photo-divider img { max-height: 110mm; }

  /* Start each major section on its own page, but let its content flow
     naturally onto a second page if it runs long — never forced per block */
  main > section { break-before: page; }
  main > section:first-of-type { break-before: auto; }
  .divider-teal, .photo-divider { break-before: page; }

  /* Keep small self-contained components from splitting mid-block */
  h2, h3, h4, .page-kicker, .overline { break-after: avoid; }
  .callout, .fundblock, .statcard, .minicard, .subgrid .box,
  .rotationrow .yr, .fractionrow .f, .weeksrow .w,
  ol.steps li, .cols2 .col, .divider-teal .accentwrap {
    break-inside: avoid;
  }
}

/* ---------- Small screens ---------- */
@media (max-width:600px) {
  .cols2, .statrow, .cardgrid, .subgrid, .rotationrow, .fractionrow, .weeksrow { flex-direction:column; }
}
