/* Raíces y Sabiduría / Sibundoy 2027
   Original Big Picture CSS/JS retained unmodified; brand overrides only.
   Private prototype; 2026-11-16. */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap");
body{background:#F5F4F3;color:#29201B;font-family:"EB Garamond",Georgia,serif}
h1,h2,h3{font-family:"Cinzel",Georgia,serif;font-weight:500}
a{transition:color .25s ease}
#header{background:rgba(247,240,228,.97);color:#3B2418;box-shadow:0 1px 0 #d2c4b0}
#header h1{height:100%;display:flex;align-items:center}
#header .brand-header{display:block;object-fit:contain;object-position:left center;max-height:2.6em;width:clamp(160px,19vw,235px)}
#header nav a{font-family:"Cinzel",Georgia,serif;font-size:.75em;letter-spacing:.02em}
#intro{background:url("images/overlay.png"),url("../../images/intro.png");background-size:256px 256px,cover;background-attachment:fixed,fixed;background-position:center center}
#one{background:url("images/overlay.png"),url("../../images/one.jpg");background-size:256px 256px,cover;background-attachment:fixed,fixed;background-position:center center}
#two{background:url("images/overlay.png"),url("../../images/two.jpg");background-size:256px 256px,cover;background-attachment:fixed,fixed;background-position:center center}
#intro .content{background:rgba(44,27,19,.42);padding:2em 2.1em;border-radius:2px;max-width:820px}
#intro h2{font-size:clamp(3em,8vw,6.3em);line-height:1.12;letter-spacing:.065em;color:#EAD8B8}
#intro .dates-hero{font-family:"Cinzel",Georgia,serif;letter-spacing:.18em;color:#F3DAB0;font-size:1.15em;margin:.4em 0 1.1em}
#intro p{max-width:700px;margin-left:auto;margin-right:auto}
.main.style2 .content.box{background:rgba(234,216,184,.94);color:#3B2418;box-shadow:0 4px 50px rgba(22,14,10,.10)}
.main.style2 h2{font-size:clamp(1.7em,3.4vw,2.65em);line-height:1.24;letter-spacing:0}
.main.style2 p{color:#433428}
.main.style2 .small-context,.small-context{font-size:.70em;line-height:1.38;opacity:.78;letter-spacing:.02em}
.eyebrow-light,.eyebrow-dark{font-family:"Cinzel",Georgia,serif;font-weight:600;font-size:.68em;letter-spacing:.15em;line-height:1.5;margin:0 0 .7em}
.eyebrow-light{color:#EAD8B8}.eyebrow-dark{color:#485744}
.main.style3.primary{background:#F5F4F3;color:#3B2418}
.main.style3.secondary{background:#485744;color:#EAD8B8}
.main.style3.secondary h2{color:#F2DEBD}
#work .gallery{margin-top:2.2em}
#work h2,#contact h2{font-size:clamp(1.7em,4vw,2.8em)}
#work p{color:#514439}
.gallery-context{margin-top:2em}
#contact .box{background:rgba(245,239,229,.98);color:#3B2418;text-align:center}
#contact .contact-summary{font-size:1em;margin-bottom:1.15em;line-height:1.45;color:#433428}
#contact .contact-restricted{font-size:.75em;color:#866f59}
#footer{background:#29201B;color:#EAD8B8}
#footer .icons{font-size:.70em;letter-spacing:.1em}
#footer .menu a{color:#EAD8B8}
@media(max-width:736px){
 #header h1 .brand-header{width:150px;max-height:2em}
 #header nav a{font-size:.62em}
 #intro .content{padding:1.8em 1em}
 #intro h2{font-size:clamp(2.45em,11vw,4.3em)}
 .main.style2 .content.box{background:rgba(234,216,184,.96)}
 #intro,#one,#two{background-attachment:scroll,scroll}
 .main.style2 .small-context,.small-context{font-size:.72em}
 #contact .box{padding:1.7em 1.1em}
}

/* Ajustes verificables para pantallas pequeñas */
@media (max-width:736px) {
 #intro .content {width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;padding:1.4em .75em!important}
 #intro h2 {font-size:clamp(2rem,8.5vw,3rem)!important;letter-spacing:.012em!important;overflow-wrap:normal}
 #intro .eyebrow-light {font-size:.6em;letter-spacing:.045em;line-height:1.45}
 #intro .dates-hero {font-size:.82em;letter-spacing:.08em}
 #intro .content>p:not(.dates-hero) {font-size:.92em;line-height:1.38}
 #header .brand-header {width:140px}
}

@media(max-width:736px){#intro .content .intro-copy{font-size:.82em!important;white-space:normal!important;max-width:calc(100vw - 60px)!important;overflow-wrap:anywhere}}


/* ===========================================================
 V07 · Correcciones editoriales de proporciones · ESCRITORIO
 Conservar Big Picture: fondos a pantalla, paneles laterales.
 =========================================================== */
@media (min-width: 1101px) {
  #header { height:4.1em; padding:0 clamp(24px,3.8vw,66px); }
  #header .brand-header { width:clamp(175px,14vw,216px); max-height:2.55em; }
  #header nav a { font-size:.71em; letter-spacing:.045em; }
  #intro .content {
    max-width:720px;
    padding:1.55em 2.2em 1.65em;
    background:rgba(44,27,19,.36);
  }
  #intro h2 {
    font-size:clamp(3.45em,5.55vw,5.55em);
    line-height:1.05; letter-spacing:.055em; margin:.14em 0;
  }
  #intro .dates-hero { font-size:1.04em; letter-spacing:.14em; margin:.38em 0 .8em; }
  #intro .intro-copy { font-size:1.08em; line-height:1.48; margin-bottom:.2em; }

  #one.main.style2, #two.main.style2 { padding-top:2.8em; padding-bottom:2.8em; }
  #one.main.style2 > .content, #two.main.style2 > .content {
    box-sizing:border-box;
    flex:0 0 auto;
    width:min(35.5vw,570px);
    min-width:0; max-width:570px; margin:0;
    padding:clamp(29px,2.65vw,46px) clamp(31px,2.8vw,48px);
    background:rgba(234,216,184,.955);
    box-shadow:0 8px 34px rgba(34,22,14,.15);
  }
  #one.main.style2 h2, #two.main.style2 h2 {
    font-size:clamp(1.5em,2vw,2.18em);
    line-height:1.25; letter-spacing:-.018em;
    margin:.23em 0 .64em;
  }
  #one.main.style2 p:not(.eyebrow-dark), #two.main.style2 p:not(.eyebrow-dark) {
    font-size:.98em; line-height:1.54; margin-bottom:.75em;
  }
  #one.main.style2 .eyebrow-dark, #two.main.style2 .eyebrow-dark {
    font-size:.65em; letter-spacing:.15em; color:#485744;
  }
  #one.main.style2 p.small-context, #two.main.style2 p.small-context {
    font-size:.70em; line-height:1.42; margin-top:1.4em;
    margin-bottom:0; color:#5e4d3b; opacity:.9;
  }
  #one { background-position:top left,43% center; }
  #two { background-position:top left,54% center; }

  #work.main.style3 { padding-top:4.5em; padding-bottom:4.7em; }
  #work .content { max-width:1090px; }
  #work .content > header { max-width:840px; margin:0 auto 2.1em; }
  #work h2, #contact h2 {
    font-size:clamp(1.95em,2.85vw,2.65em); line-height:1.28;
  }
  #work .gallery { max-width:1010px; margin:0 auto; }
  #work .gallery article { overflow:hidden; }
  #work .gallery article .image img {
    aspect-ratio:1.54; object-fit:cover; display:block;
    height:auto; width:100%;
  }
  #work p.gallery-context { max-width:890px; margin:2em auto 0; line-height:1.55; }
  #contact .content { max-width:900px; }
  #contact .box { max-width:760px; margin-left:auto; margin-right:auto; padding:2.2em 2.5em; }
  #contact .contact-summary { font-size:1.04em; line-height:1.57; }
}
@media (min-width:1101px) and (max-height:740px) {
  #one.main.style2 > .content, #two.main.style2 > .content {
    padding-top:1.45em; padding-bottom:1.45em;
  }
  #one.main.style2 h2, #two.main.style2 h2 { font-size:1.55em; }
}


/* V07 / segunda revisión: corregir la altura completa de sección,
   evitar franja vacía bajo fotografías y compactar la cabecera. */
@media (min-width: 1101px) {
  body { padding-top:3.2em; }
  #header { height:3.2em; line-height:3.2em; }
  #header h1 {
    left:clamp(20px,2.1vw,40px);
    top:0; height:3.2em; line-height:3.2em;
    display:flex; align-items:center;
  }
  #header nav {
    right:clamp(16px,1.5vw,29px);
    top:0; height:3.2em; line-height:3.2em;
  }
  #header nav ul li a { height:3.2em; line-height:3.2em; }
  #header .brand-header { width:clamp(176px,13vw,214px); max-height:2.48em; }
  #intro.main.fullscreen,
  #one.main.fullscreen,
  #two.main.fullscreen {
    height:100vh !important;
    min-height:100vh !important;
  }
  #contact.main.style3 {
    padding-top:4.2em;
    padding-bottom:3.0em;
  }
  #contact .box {
    margin-top:1.15em;
    margin-bottom:0;
    padding:1.6em 2.2em;
  }
}


/* V07 / Hero: la flecha ya no prolonga el recuadro del título. */
@media (min-width:1101px) {
  #intro .content {
    width:min(650px,calc(100% - 160px));
    max-width:650px;
    padding:1.55em 1.95em 1.70em;
    margin:0 auto;
  }
  #intro .hero-next {
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    margin:0;
    z-index:4;
  }
  #intro .hero-next a {
    position:relative;
    margin:0;
    color:#f6ebda;
  }
}

/* Vista inicial: descontar la altura fija del menú para que la flecha
   también quede completamente visible en el primer pantallazo. */
@media (min-width:1101px) {
  #intro.main.fullscreen {
    height:calc(100vh - 3.2em) !important;
    min-height:calc(100vh - 3.2em) !important;
  }
}
